Package com.amazonaws.services.sns.model

Examples of com.amazonaws.services.sns.model.NotFoundException


        // marshaller understands.
        String errorCode = parseErrorCode(node);
        if (errorCode == null || !errorCode.equals("NotFound"))
            return null;

        NotFoundException e = (NotFoundException)super.unmarshall(node);
       
        return e;
    }
View Full Code Here


        // marshaller understands.
        String errorCode = parseErrorCode(node);
        if (errorCode == null || !errorCode.equals("NotFound"))
            return null;

        NotFoundException e = (NotFoundException)super.unmarshall(node);
       
        return e;
    }
View Full Code Here

        // marshaller understands.
        String errorCode = parseErrorCode(node);
        if (errorCode == null || !errorCode.equals("NotFound"))
            return null;

        NotFoundException e = (NotFoundException)super.unmarshall(node);
       
        return e;
    }
View Full Code Here

        .describeInstances(request);
    if (!result.getReservations().isEmpty()) {
      Reservation reservation = getOnlyElement(result.getReservations());
      return getOnlyElement(reservation.getInstances()).getState();
    } else {
      throw new NotFoundException(
          "No reservation received for describe instance call");
    }
  }
View Full Code Here

    DescribeInstanceStatusResult statusResult = this.ec2Client
        .describeInstanceStatus(new DescribeInstanceStatusRequest()
        .withInstanceIds(this.instanceId));

    if (statusResult.getInstanceStatuses().isEmpty()) {
      throw new NotFoundException(
          format("DescribeInstanceStatus did not return any health status for %s",
              this.instanceId));
    }

    return getOnlyElement(statusResult.getInstanceStatuses());
View Full Code Here

        // marshaller understands.
        String errorCode = parseErrorCode(node);
        if (errorCode == null || !errorCode.equals("NotFound"))
            return null;

        NotFoundException e = (NotFoundException)super.unmarshall(node);
       
        return e;
    }
View Full Code Here

        // marshaller understands.
        String errorCode = parseErrorCode(node);
        if (errorCode == null || !errorCode.equals("NotFound"))
            return null;

        NotFoundException e = (NotFoundException)super.unmarshall(node);
       
        return e;
    }
View Full Code Here

        // marshaller understands.
        String errorCode = parseErrorCode(node);
        if (errorCode == null || !errorCode.equals("NotFound"))
            return null;
       
        NotFoundException e = (NotFoundException)super.unmarshall(node);
              
        return e;
    }
View Full Code Here

TOP

Related Classes of com.amazonaws.services.sns.model.NotFoundException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.