JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
  • Detail:
  • Field |
  • Constr |
  • Method
com.amazonaws.services.cloudcontrolapi

Class AWSCloudControlApiClient

    • Method Detail

      • createResource

        public CreateResourceResult createResource(CreateResourceRequest request)

        Creates the specified resource. For more information, see Creating a resource in the Amazon Web Services Cloud Control API User Guide.

        After you have initiated a resource creation request, you can monitor the progress of your request by calling GetResourceRequestStatus using the RequestToken of the ProgressEvent type returned by CreateResource.

        Specified by:
        createResource in interface AWSCloudControlApi
        Parameters:
        createResourceRequest -
        Returns:
        Result of the CreateResource operation returned by the service.
        Throws:
        AlreadyExistsException - The resource with the name requested already exists.
        HandlerInternalFailureException - The resource handler has returned that an unexpected error occurred within the resource handler.
        GeneralServiceException - The resource handler has returned that the downstream service generated an error that doesn't map to any other handler error code.
        NotUpdatableException - One or more properties included in this resource operation are defined as create-only, and therefore can't be updated.
        TypeNotFoundException - The specified extension doesn't exist in the CloudFormation registry.
        ConcurrentOperationException - Another resource operation is currently being performed on this resource.
        InvalidRequestException - The resource handler has returned that invalid input from the user has generated a generic exception.
        PrivateTypeException - Cloud Control API hasn't received a valid response from the resource handler, due to a configuration error. This includes issues such as the resource handler returning an invalid response, or timing out.
        ResourceNotFoundException - A resource with the specified identifier can't be found.
        NetworkFailureException - The resource handler has returned that the request couldn't be completed due to networking issues, such as a failure to receive a response from the server.
        UnsupportedActionException - The specified resource doesn't support this resource operation.
        NotStabilizedException - The resource handler has returned that the downstream resource failed to complete all of its ready-state checks.
        ServiceInternalErrorException - The resource handler has returned that the downstream service returned an internal error, typically with a 5XX HTTP status code.
        HandlerFailureException - The resource handler has failed without a returning a more specific error code. This can include timeouts.
        ServiceLimitExceededException - The resource handler has returned that a non-transient resource limit was reached on the service side.
        InvalidCredentialsException - The resource handler has returned that the credentials provided by the user are invalid.
        ResourceConflictException - The resource is temporarily unavailable to be acted upon. For example, if the resource is currently undergoing an operation and can't be acted upon until that operation is finished.
        ClientTokenConflictException - The specified client token has already been used in another resource request.

        It's best practice for client tokens to be unique for each resource operation request. However, client token expire after 36 hours.

        ThrottlingException - The request was denied due to request throttling.
        See Also:
        AWS API Documentation
      • deleteResource

        public DeleteResourceResult deleteResource(DeleteResourceRequest request)

        Deletes the specified resource. For details, see Deleting a resource in the Amazon Web Services Cloud Control API User Guide.

        After you have initiated a resource deletion request, you can monitor the progress of your request by calling GetResourceRequestStatus using the RequestToken of the ProgressEvent returned by DeleteResource.

        Specified by:
        deleteResource in interface AWSCloudControlApi
        Parameters:
        deleteResourceRequest -
        Returns:
        Result of the DeleteResource operation returned by the service.
        Throws:
        AlreadyExistsException - The resource with the name requested already exists.
        HandlerInternalFailureException - The resource handler has returned that an unexpected error occurred within the resource handler.
        GeneralServiceException - The resource handler has returned that the downstream service generated an error that doesn't map to any other handler error code.
        NotUpdatableException - One or more properties included in this resource operation are defined as create-only, and therefore can't be updated.
        TypeNotFoundException - The specified extension doesn't exist in the CloudFormation registry.
        ConcurrentOperationException - Another resource operation is currently being performed on this resource.
        InvalidRequestException - The resource handler has returned that invalid input from the user has generated a generic exception.
        PrivateTypeException - Cloud Control API hasn't received a valid response from the resource handler, due to a configuration error. This includes issues such as the resource handler returning an invalid response, or timing out.
        ResourceNotFoundException - A resource with the specified identifier can't be found.
        NetworkFailureException - The resource handler has returned that the request couldn't be completed due to networking issues, such as a failure to receive a response from the server.
        UnsupportedActionException - The specified resource doesn't support this resource operation.
        NotStabilizedException - The resource handler has returned that the downstream resource failed to complete all of its ready-state checks.
        ServiceInternalErrorException - The resource handler has returned that the downstream service returned an internal error, typically with a 5XX HTTP status code.
        HandlerFailureException - The resource handler has failed without a returning a more specific error code. This can include timeouts.
        ServiceLimitExceededException - The resource handler has returned that a non-transient resource limit was reached on the service side.
        InvalidCredentialsException - The resource handler has returned that the credentials provided by the user are invalid.
        ResourceConflictException - The resource is temporarily unavailable to be acted upon. For example, if the resource is currently undergoing an operation and can't be acted upon until that operation is finished.
        ClientTokenConflictException - The specified client token has already been used in another resource request.

        It's best practice for client tokens to be unique for each resource operation request. However, client token expire after 36 hours.

        ThrottlingException - The request was denied due to request throttling.
        See Also:
        AWS API Documentation
      • getResource

        public GetResourceResult getResource(GetResourceRequest request)

        Returns information about the current state of the specified resource. For details, see Reading a resource's current state.

        You can use this action to return information about an existing resource in your account and Amazon Web Services Region, whether those resources were provisioned using Cloud Control API.

        Specified by:
        getResource in interface AWSCloudControlApi
        Parameters:
        getResourceRequest -
        Returns:
        Result of the GetResource operation returned by the service.
        Throws:
        AlreadyExistsException - The resource with the name requested already exists.
        HandlerInternalFailureException - The resource handler has returned that an unexpected error occurred within the resource handler.
        GeneralServiceException - The resource handler has returned that the downstream service generated an error that doesn't map to any other handler error code.
        NotUpdatableException - One or more properties included in this resource operation are defined as create-only, and therefore can't be updated.
        TypeNotFoundException - The specified extension doesn't exist in the CloudFormation registry.
        InvalidRequestException - The resource handler has returned that invalid input from the user has generated a generic exception.
        PrivateTypeException - Cloud Control API hasn't received a valid response from the resource handler, due to a configuration error. This includes issues such as the resource handler returning an invalid response, or timing out.
        ResourceNotFoundException - A resource with the specified identifier can't be found.
        NetworkFailureException - The resource handler has returned that the request couldn't be completed due to networking issues, such as a failure to receive a response from the server.
        UnsupportedActionException - The specified resource doesn't support this resource operation.
        NotStabilizedException - The resource handler has returned that the downstream resource failed to complete all of its ready-state checks.
        ServiceInternalErrorException - The resource handler has returned that the downstream service returned an internal error, typically with a 5XX HTTP status code.
        HandlerFailureException - The resource handler has failed without a returning a more specific error code. This can include timeouts.
        ServiceLimitExceededException - The resource handler has returned that a non-transient resource limit was reached on the service side.
        InvalidCredentialsException - The resource handler has returned that the credentials provided by the user are invalid.
        ResourceConflictException - The resource is temporarily unavailable to be acted upon. For example, if the resource is currently undergoing an operation and can't be acted upon until that operation is finished.
        ThrottlingException - The request was denied due to request throttling.
        See Also:
        AWS API Documentation
      • listResources

        public ListResourcesResult listResources(ListResourcesRequest request)

        Returns information about the specified resources. For more information, see Discovering resources in the Amazon Web Services Cloud Control API User Guide.

        You can use this action to return information about existing resources in your account and Amazon Web Services Region, whether those resources were provisioned using Cloud Control API.

        Specified by:
        listResources in interface AWSCloudControlApi
        Parameters:
        listResourcesRequest -
        Returns:
        Result of the ListResources operation returned by the service.
        Throws:
        AlreadyExistsException - The resource with the name requested already exists.
        HandlerInternalFailureException - The resource handler has returned that an unexpected error occurred within the resource handler.
        GeneralServiceException - The resource handler has returned that the downstream service generated an error that doesn't map to any other handler error code.
        NotUpdatableException - One or more properties included in this resource operation are defined as create-only, and therefore can't be updated.
        TypeNotFoundException - The specified extension doesn't exist in the CloudFormation registry.
        InvalidRequestException - The resource handler has returned that invalid input from the user has generated a generic exception.
        PrivateTypeException - Cloud Control API hasn't received a valid response from the resource handler, due to a configuration error. This includes issues such as the resource handler returning an invalid response, or timing out.
        ResourceNotFoundException - A resource with the specified identifier can't be found.
        NetworkFailureException - The resource handler has returned that the request couldn't be completed due to networking issues, such as a failure to receive a response from the server.
        UnsupportedActionException - The specified resource doesn't support this resource operation.
        NotStabilizedException - The resource handler has returned that the downstream resource failed to complete all of its ready-state checks.
        ServiceInternalErrorException - The resource handler has returned that the downstream service returned an internal error, typically with a 5XX HTTP status code.
        HandlerFailureException - The resource handler has failed without a returning a more specific error code. This can include timeouts.
        ServiceLimitExceededException - The resource handler has returned that a non-transient resource limit was reached on the service side.
        InvalidCredentialsException - The resource handler has returned that the credentials provided by the user are invalid.
        ResourceConflictException - The resource is temporarily unavailable to be acted upon. For example, if the resource is currently undergoing an operation and can't be acted upon until that operation is finished.
        ThrottlingException - The request was denied due to request throttling.
        See Also:
        AWS API Documentation
      • updateResource

        public UpdateResourceResult updateResource(UpdateResourceRequest request)

        Updates the specified property values in the resource.

        You specify your resource property updates as a list of patch operations contained in a JSON patch document that adheres to the RFC 6902 - JavaScript Object Notation (JSON) Patch standard.

        For details on how Cloud Control API performs resource update operations, see Updating a resource in the Amazon Web Services Cloud Control API User Guide.

        After you have initiated a resource update request, you can monitor the progress of your request by calling GetResourceRequestStatus using the RequestToken of the ProgressEvent returned by UpdateResource.

        For more information about the properties of a specific resource, refer to the related topic for the resource in the Resource and property types reference in the CloudFormation Users Guide.

        Specified by:
        updateResource in interface AWSCloudControlApi
        Parameters:
        updateResourceRequest -
        Returns:
        Result of the UpdateResource operation returned by the service.
        Throws:
        AlreadyExistsException - The resource with the name requested already exists.
        HandlerInternalFailureException - The resource handler has returned that an unexpected error occurred within the resource handler.
        GeneralServiceException - The resource handler has returned that the downstream service generated an error that doesn't map to any other handler error code.
        NotUpdatableException - One or more properties included in this resource operation are defined as create-only, and therefore can't be updated.
        TypeNotFoundException - The specified extension doesn't exist in the CloudFormation registry.
        ConcurrentOperationException - Another resource operation is currently being performed on this resource.
        InvalidRequestException - The resource handler has returned that invalid input from the user has generated a generic exception.
        PrivateTypeException - Cloud Control API hasn't received a valid response from the resource handler, due to a configuration error. This includes issues such as the resource handler returning an invalid response, or timing out.
        ResourceNotFoundException - A resource with the specified identifier can't be found.
        NetworkFailureException - The resource handler has returned that the request couldn't be completed due to networking issues, such as a failure to receive a response from the server.
        UnsupportedActionException - The specified resource doesn't support this resource operation.
        NotStabilizedException - The resource handler has returned that the downstream resource failed to complete all of its ready-state checks.
        ServiceInternalErrorException - The resource handler has returned that the downstream service returned an internal error, typically with a 5XX HTTP status code.
        HandlerFailureException - The resource handler has failed without a returning a more specific error code. This can include timeouts.
        ServiceLimitExceededException - The resource handler has returned that a non-transient resource limit was reached on the service side.
        InvalidCredentialsException - The resource handler has returned that the credentials provided by the user are invalid.
        ResourceConflictException - The resource is temporarily unavailable to be acted upon. For example, if the resource is currently undergoing an operation and can't be acted upon until that operation is finished.
        ClientTokenConflictException - The specified client token has already been used in another resource request.

        It's best practice for client tokens to be unique for each resource operation request. However, client token expire after 36 hours.

        ThrottlingException - The request was denied due to request throttling.
        See Also:
        AWS API Documentation
      • getCachedResponseMetadata

        public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
        Returns additional metadata for a previously executed successful, request, typically used for debugging issues where a service isn't acting as expected. This data isn't considered part of the result data returned by an operation, so it's available through this separate, diagnostic interface.

        Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.

        Specified by:
        getCachedResponseMetadata in interface AWSCloudControlApi
        Parameters:
        request - The originally executed request
        Returns:
        The response metadata for the specified request, or null if none is available.
      • shutdown

        public void shutdown()
        Description copied from class: AmazonWebServiceClient
        Shuts down this client object, releasing any resources that might be held open. If this method is not invoked, resources may be leaked. Once a client has been shutdown, it should not be used to make any more requests.
        Specified by:
        shutdown in interface AWSCloudControlApi
        Overrides:
        shutdown in class AmazonWebServiceClient
Skip navigation links
  • Detail:
  • Field |
  • Constr |
  • Method

AltStyle によって変換されたページ (->オリジナル) /