/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.cloudcontrolapi; import javax.annotation.Generated; import com.amazonaws.services.cloudcontrolapi.model.*; /** * Interface for accessing CloudControlApi asynchronously. Each asynchronous method will return a Java Future object * representing the asynchronous operation; overloads which accept an {@code AsyncHandler} can be used to receive * notification when an asynchronous operation completes. *
* Note: Do not directly implement this interface, new methods are added to it regularly. Extend from * {@link com.amazonaws.services.cloudcontrolapi.AbstractAWSCloudControlApiAsync} instead. *
**
* For more information about Amazon Web Services Cloud Control API, see the Amazon Web Services * Cloud Control API User Guide. *
*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public interface AWSCloudControlApiAsync extends AWSCloudControlApi { /** ** Cancels the specified resource operation request. For more information, see Canceling resource operation requests in the Amazon Web Services Cloud Control API User Guide. *
*
* Only resource operations requests with a status of PENDING
or IN_PROGRESS
can be
* canceled.
*
* Cancels the specified resource operation request. For more information, see Canceling resource operation requests in the Amazon Web Services Cloud Control API User Guide. *
*
* Only resource operations requests with a status of PENDING
or IN_PROGRESS
can be
* canceled.
*
* 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
.
*
* 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
.
*
* 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
.
*
* 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
.
*
* 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. *
* * @param getResourceRequest * @return A Java Future containing the result of the GetResource operation returned by the service. * @sample AWSCloudControlApiAsync.GetResource * @see AWS API * Documentation */ java.util.concurrent.Future* 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. *
* * @param getResourceRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the GetResource operation returned by the service. * @sample AWSCloudControlApiAsyncHandler.GetResource * @see AWS API * Documentation */ java.util.concurrent.Future* Returns the current status of a resource operation request. For more information, see Tracking the progress of resource operation requests in the Amazon Web Services Cloud Control API User * Guide. *
* * @param getResourceRequestStatusRequest * @return A Java Future containing the result of the GetResourceRequestStatus operation returned by the service. * @sample AWSCloudControlApiAsync.GetResourceRequestStatus * @see AWS API Documentation */ java.util.concurrent.Future* Returns the current status of a resource operation request. For more information, see Tracking the progress of resource operation requests in the Amazon Web Services Cloud Control API User * Guide. *
* * @param getResourceRequestStatusRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the GetResourceRequestStatus operation returned by the service. * @sample AWSCloudControlApiAsyncHandler.GetResourceRequestStatus * @see AWS API Documentation */ java.util.concurrent.Future* Returns existing resource operation requests. This includes requests of all status types. For more information, * see Listing active resource operation requests in the Amazon Web Services Cloud Control API User Guide. *
** Resource operation requests expire after 7 days. *
** Returns existing resource operation requests. This includes requests of all status types. For more information, * see Listing active resource operation requests in the Amazon Web Services Cloud Control API User Guide. *
** Resource operation requests expire after 7 days. *
** 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. *
* * @param listResourcesRequest * @return A Java Future containing the result of the ListResources operation returned by the service. * @sample AWSCloudControlApiAsync.ListResources * @see AWS API * Documentation */ java.util.concurrent.Future* 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. *
* * @param listResourcesRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the ListResources operation returned by the service. * @sample AWSCloudControlApiAsyncHandler.ListResources * @see AWS API * Documentation */ java.util.concurrent.Future* 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. *
* * @param updateResourceRequest * @return A Java Future containing the result of the UpdateResource operation returned by the service. * @sample AWSCloudControlApiAsync.UpdateResource * @see AWS * API Documentation */ java.util.concurrent.Future* 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. *
* * @param updateResourceRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the UpdateResource operation returned by the service. * @sample AWSCloudControlApiAsyncHandler.UpdateResource * @see AWS * API Documentation */ java.util.concurrent.Future