public class AbstractAmazonCloudFormationAsync extends AbstractAmazonCloudFormation implements AmazonCloudFormationAsync
AmazonCloudFormationAsync
. Convenient
method forms pass through to the corresponding overload that takes a request
object and an AsyncHandler
, which throws an
UnsupportedOperationException
.cancelUpdateStack, createStack, deleteStack, describeAccountLimits, describeStackEvents, describeStackResource, describeStackResources, describeStacks, describeStacks, estimateTemplateCost, estimateTemplateCost, getCachedResponseMetadata, getStackPolicy, getTemplate, getTemplateSummary, getTemplateSummary, listStackResources, listStacks, listStacks, setEndpoint, setRegion, setStackPolicy, shutdown, signalResource, updateStack, validateTemplate
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cancelUpdateStack, createStack, deleteStack, describeAccountLimits, describeStackEvents, describeStackResource, describeStackResources, describeStacks, describeStacks, estimateTemplateCost, estimateTemplateCost, getCachedResponseMetadata, getStackPolicy, getTemplate, getTemplateSummary, getTemplateSummary, listStackResources, listStacks, listStacks, setEndpoint, setRegion, setStackPolicy, shutdown, signalResource, updateStack, validateTemplate
public Future<Void> cancelUpdateStackAsync(CancelUpdateStackRequest request)
AmazonCloudFormationAsync
Cancels an update on the specified stack. If the call completes successfully, the stack rolls back the update and reverts to the previous stack configuration.
cancelUpdateStackAsync
in interface AmazonCloudFormationAsync
request
- The input for the CancelUpdateStack action.public Future<Void> cancelUpdateStackAsync(CancelUpdateStackRequest request, AsyncHandler<CancelUpdateStackRequest,Void> asyncHandler)
AmazonCloudFormationAsync
Cancels an update on the specified stack. If the call completes successfully, the stack rolls back the update and reverts to the previous stack configuration.
cancelUpdateStackAsync
in interface AmazonCloudFormationAsync
request
- The input for the CancelUpdateStack action.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.public Future<CreateStackResult> createStackAsync(CreateStackRequest request)
AmazonCloudFormationAsync
Creates a stack as specified in the template. After the call completes successfully, the stack creation starts. You can check the status of the stack via the DescribeStacks API.
createStackAsync
in interface AmazonCloudFormationAsync
request
- The input for CreateStack action.public Future<CreateStackResult> createStackAsync(CreateStackRequest request, AsyncHandler<CreateStackRequest,CreateStackResult> asyncHandler)
AmazonCloudFormationAsync
Creates a stack as specified in the template. After the call completes successfully, the stack creation starts. You can check the status of the stack via the DescribeStacks API.
createStackAsync
in interface AmazonCloudFormationAsync
request
- The input for CreateStack action.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.public Future<Void> deleteStackAsync(DeleteStackRequest request)
AmazonCloudFormationAsync
Deletes a specified stack. Once the call completes successfully, stack deletion starts. Deleted stacks do not show up in the DescribeStacks API if the deletion has been completed successfully.
deleteStackAsync
in interface AmazonCloudFormationAsync
request
- The input for DeleteStack action.public Future<Void> deleteStackAsync(DeleteStackRequest request, AsyncHandler<DeleteStackRequest,Void> asyncHandler)
AmazonCloudFormationAsync
Deletes a specified stack. Once the call completes successfully, stack deletion starts. Deleted stacks do not show up in the DescribeStacks API if the deletion has been completed successfully.
deleteStackAsync
in interface AmazonCloudFormationAsync
request
- The input for DeleteStack action.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.public Future<DescribeAccountLimitsResult> describeAccountLimitsAsync(DescribeAccountLimitsRequest request)
AmazonCloudFormationAsync
Retrieves your account's AWS CloudFormation limits, such as the maximum number of stacks that you can create in your account.
describeAccountLimitsAsync
in interface AmazonCloudFormationAsync
request
- The input for the DescribeAccountLimits action.public Future<DescribeAccountLimitsResult> describeAccountLimitsAsync(DescribeAccountLimitsRequest request, AsyncHandler<DescribeAccountLimitsRequest,DescribeAccountLimitsResult> asyncHandler)
AmazonCloudFormationAsync
Retrieves your account's AWS CloudFormation limits, such as the maximum number of stacks that you can create in your account.
describeAccountLimitsAsync
in interface AmazonCloudFormationAsync
request
- The input for the DescribeAccountLimits action.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.public Future<DescribeStackEventsResult> describeStackEventsAsync(DescribeStackEventsRequest request)
AmazonCloudFormationAsync
Returns all stack related events for a specified stack. For more information about a stack's event history, go to Stacks in the AWS CloudFormation User Guide.
describeStackEventsAsync
in interface AmazonCloudFormationAsync
request
- The input for DescribeStackEvents action.public Future<DescribeStackEventsResult> describeStackEventsAsync(DescribeStackEventsRequest request, AsyncHandler<DescribeStackEventsRequest,DescribeStackEventsResult> asyncHandler)
AmazonCloudFormationAsync
Returns all stack related events for a specified stack. For more information about a stack's event history, go to Stacks in the AWS CloudFormation User Guide.
describeStackEventsAsync
in interface AmazonCloudFormationAsync
request
- The input for DescribeStackEvents action.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.public Future<DescribeStackResourceResult> describeStackResourceAsync(DescribeStackResourceRequest request)
AmazonCloudFormationAsync
Returns a description of the specified resource in the specified stack.
For deleted stacks, DescribeStackResource returns resource information for up to 90 days after the stack has been deleted.
describeStackResourceAsync
in interface AmazonCloudFormationAsync
request
- The input for DescribeStackResource action.public Future<DescribeStackResourceResult> describeStackResourceAsync(DescribeStackResourceRequest request, AsyncHandler<DescribeStackResourceRequest,DescribeStackResourceResult> asyncHandler)
AmazonCloudFormationAsync
Returns a description of the specified resource in the specified stack.
For deleted stacks, DescribeStackResource returns resource information for up to 90 days after the stack has been deleted.
describeStackResourceAsync
in interface AmazonCloudFormationAsync
request
- The input for DescribeStackResource action.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.public Future<DescribeStackResourcesResult> describeStackResourcesAsync(DescribeStackResourcesRequest request)
AmazonCloudFormationAsync
Returns AWS resource descriptions for running and deleted stacks. If
StackName
is specified, all the associated resources that
are part of the stack are returned. If PhysicalResourceId
is
specified, the associated resources of the stack that the resource
belongs to are returned.
ListStackResources
instead.
For deleted stacks, DescribeStackResources
returns resource
information for up to 90 days after the stack has been deleted.
You must specify either StackName
or
PhysicalResourceId
, but not both. In addition, you can
specify LogicalResourceId
to filter the returned result. For
more information about resources, the LogicalResourceId
and
PhysicalResourceId
, go to the AWS
CloudFormation User Guide.
ValidationError
is returned if you specify both
StackName
and PhysicalResourceId
in the same
request.describeStackResourcesAsync
in interface AmazonCloudFormationAsync
request
- The input for DescribeStackResources action.public Future<DescribeStackResourcesResult> describeStackResourcesAsync(DescribeStackResourcesRequest request, AsyncHandler<DescribeStackResourcesRequest,DescribeStackResourcesResult> asyncHandler)
AmazonCloudFormationAsync
Returns AWS resource descriptions for running and deleted stacks. If
StackName
is specified, all the associated resources that
are part of the stack are returned. If PhysicalResourceId
is
specified, the associated resources of the stack that the resource
belongs to are returned.
ListStackResources
instead.
For deleted stacks, DescribeStackResources
returns resource
information for up to 90 days after the stack has been deleted.
You must specify either StackName
or
PhysicalResourceId
, but not both. In addition, you can
specify LogicalResourceId
to filter the returned result. For
more information about resources, the LogicalResourceId
and
PhysicalResourceId
, go to the AWS
CloudFormation User Guide.
ValidationError
is returned if you specify both
StackName
and PhysicalResourceId
in the same
request.describeStackResourcesAsync
in interface AmazonCloudFormationAsync
request
- The input for DescribeStackResources action.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.public Future<DescribeStacksResult> describeStacksAsync(DescribeStacksRequest request)
AmazonCloudFormationAsync
Returns the description for the specified stack; if no stack name was specified, then it returns the description for all the stacks created.
describeStacksAsync
in interface AmazonCloudFormationAsync
request
- The input for DescribeStacks action.public Future<DescribeStacksResult> describeStacksAsync(DescribeStacksRequest request, AsyncHandler<DescribeStacksRequest,DescribeStacksResult> asyncHandler)
AmazonCloudFormationAsync
Returns the description for the specified stack; if no stack name was specified, then it returns the description for all the stacks created.
describeStacksAsync
in interface AmazonCloudFormationAsync
request
- The input for DescribeStacks action.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.public Future<DescribeStacksResult> describeStacksAsync()
describeStacksAsync
in interface AmazonCloudFormationAsync
describeStacksAsync(DescribeStacksRequest)
public Future<DescribeStacksResult> describeStacksAsync(AsyncHandler<DescribeStacksRequest,DescribeStacksResult> asyncHandler)
describeStacksAsync
in interface AmazonCloudFormationAsync
describeStacksAsync(DescribeStacksRequest,
com.amazonaws.handlers.AsyncHandler)
public Future<EstimateTemplateCostResult> estimateTemplateCostAsync(EstimateTemplateCostRequest request)
AmazonCloudFormationAsync
Returns the estimated monthly cost of a template. The return value is an AWS Simple Monthly Calculator URL with a query string that describes the resources required to run the template.
estimateTemplateCostAsync
in interface AmazonCloudFormationAsync
public Future<EstimateTemplateCostResult> estimateTemplateCostAsync(EstimateTemplateCostRequest request, AsyncHandler<EstimateTemplateCostRequest,EstimateTemplateCostResult> asyncHandler)
AmazonCloudFormationAsync
Returns the estimated monthly cost of a template. The return value is an AWS Simple Monthly Calculator URL with a query string that describes the resources required to run the template.
estimateTemplateCostAsync
in interface AmazonCloudFormationAsync
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.public Future<EstimateTemplateCostResult> estimateTemplateCostAsync()
estimateTemplateCostAsync
in interface AmazonCloudFormationAsync
estimateTemplateCostAsync(EstimateTemplateCostRequest)
public Future<EstimateTemplateCostResult> estimateTemplateCostAsync(AsyncHandler<EstimateTemplateCostRequest,EstimateTemplateCostResult> asyncHandler)
estimateTemplateCostAsync
in interface AmazonCloudFormationAsync
estimateTemplateCostAsync(EstimateTemplateCostRequest,
com.amazonaws.handlers.AsyncHandler)
public Future<GetStackPolicyResult> getStackPolicyAsync(GetStackPolicyRequest request)
AmazonCloudFormationAsync
Returns the stack policy for a specified stack. If a stack doesn't have a policy, a null value is returned.
getStackPolicyAsync
in interface AmazonCloudFormationAsync
request
- The input for the GetStackPolicy action.public Future<GetStackPolicyResult> getStackPolicyAsync(GetStackPolicyRequest request, AsyncHandler<GetStackPolicyRequest,GetStackPolicyResult> asyncHandler)
AmazonCloudFormationAsync
Returns the stack policy for a specified stack. If a stack doesn't have a policy, a null value is returned.
getStackPolicyAsync
in interface AmazonCloudFormationAsync
request
- The input for the GetStackPolicy action.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.public Future<GetTemplateResult> getTemplateAsync(GetTemplateRequest request)
AmazonCloudFormationAsync
Returns the template body for a specified stack. You can get the template for running or deleted stacks.
For deleted stacks, GetTemplate returns the template for up to 90 days after the stack has been deleted.
ValidationError
is
returned. getTemplateAsync
in interface AmazonCloudFormationAsync
request
- The input for a GetTemplate action.public Future<GetTemplateResult> getTemplateAsync(GetTemplateRequest request, AsyncHandler<GetTemplateRequest,GetTemplateResult> asyncHandler)
AmazonCloudFormationAsync
Returns the template body for a specified stack. You can get the template for running or deleted stacks.
For deleted stacks, GetTemplate returns the template for up to 90 days after the stack has been deleted.
ValidationError
is
returned. getTemplateAsync
in interface AmazonCloudFormationAsync
request
- The input for a GetTemplate action.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.public Future<GetTemplateSummaryResult> getTemplateSummaryAsync(GetTemplateSummaryRequest request)
AmazonCloudFormationAsync
Returns information about a new or existing template. The
GetTemplateSummary
action is useful for viewing parameter
information, such as default parameter values and parameter types, before
you create or update a stack.
You can use the GetTemplateSummary
action when you submit a
template, or you can get template information for a running or deleted
stack.
For deleted stacks, GetTemplateSummary
returns the template
information for up to 90 days after the stack has been deleted. If the
template does not exist, a ValidationError
is returned.
getTemplateSummaryAsync
in interface AmazonCloudFormationAsync
request
- The input for the GetTemplateSummary action.public Future<GetTemplateSummaryResult> getTemplateSummaryAsync(GetTemplateSummaryRequest request, AsyncHandler<GetTemplateSummaryRequest,GetTemplateSummaryResult> asyncHandler)
AmazonCloudFormationAsync
Returns information about a new or existing template. The
GetTemplateSummary
action is useful for viewing parameter
information, such as default parameter values and parameter types, before
you create or update a stack.
You can use the GetTemplateSummary
action when you submit a
template, or you can get template information for a running or deleted
stack.
For deleted stacks, GetTemplateSummary
returns the template
information for up to 90 days after the stack has been deleted. If the
template does not exist, a ValidationError
is returned.
getTemplateSummaryAsync
in interface AmazonCloudFormationAsync
request
- The input for the GetTemplateSummary action.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.public Future<GetTemplateSummaryResult> getTemplateSummaryAsync()
getTemplateSummaryAsync
in interface AmazonCloudFormationAsync
getTemplateSummaryAsync(GetTemplateSummaryRequest)
public Future<GetTemplateSummaryResult> getTemplateSummaryAsync(AsyncHandler<GetTemplateSummaryRequest,GetTemplateSummaryResult> asyncHandler)
getTemplateSummaryAsync
in interface AmazonCloudFormationAsync
getTemplateSummaryAsync(GetTemplateSummaryRequest,
com.amazonaws.handlers.AsyncHandler)
public Future<ListStackResourcesResult> listStackResourcesAsync(ListStackResourcesRequest request)
AmazonCloudFormationAsync
Returns descriptions of all resources of the specified stack.
For deleted stacks, ListStackResources returns resource information for up to 90 days after the stack has been deleted.
listStackResourcesAsync
in interface AmazonCloudFormationAsync
request
- The input for the ListStackResource action.public Future<ListStackResourcesResult> listStackResourcesAsync(ListStackResourcesRequest request, AsyncHandler<ListStackResourcesRequest,ListStackResourcesResult> asyncHandler)
AmazonCloudFormationAsync
Returns descriptions of all resources of the specified stack.
For deleted stacks, ListStackResources returns resource information for up to 90 days after the stack has been deleted.
listStackResourcesAsync
in interface AmazonCloudFormationAsync
request
- The input for the ListStackResource action.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.public Future<ListStacksResult> listStacksAsync(ListStacksRequest request)
AmazonCloudFormationAsync
Returns the summary information for stacks whose status matches the specified StackStatusFilter. Summary information for stacks that have been deleted is kept for 90 days after the stack is deleted. If no StackStatusFilter is specified, summary information for all stacks is returned (including existing stacks and stacks that have been deleted).
listStacksAsync
in interface AmazonCloudFormationAsync
request
- The input for ListStacks action.public Future<ListStacksResult> listStacksAsync(ListStacksRequest request, AsyncHandler<ListStacksRequest,ListStacksResult> asyncHandler)
AmazonCloudFormationAsync
Returns the summary information for stacks whose status matches the specified StackStatusFilter. Summary information for stacks that have been deleted is kept for 90 days after the stack is deleted. If no StackStatusFilter is specified, summary information for all stacks is returned (including existing stacks and stacks that have been deleted).
listStacksAsync
in interface AmazonCloudFormationAsync
request
- The input for ListStacks action.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.public Future<ListStacksResult> listStacksAsync()
listStacksAsync
in interface AmazonCloudFormationAsync
listStacksAsync(ListStacksRequest)
public Future<ListStacksResult> listStacksAsync(AsyncHandler<ListStacksRequest,ListStacksResult> asyncHandler)
listStacksAsync
in interface AmazonCloudFormationAsync
listStacksAsync(ListStacksRequest,
com.amazonaws.handlers.AsyncHandler)
public Future<Void> setStackPolicyAsync(SetStackPolicyRequest request)
AmazonCloudFormationAsync
Sets a stack policy for a specified stack.
setStackPolicyAsync
in interface AmazonCloudFormationAsync
request
- The input for the SetStackPolicy action.public Future<Void> setStackPolicyAsync(SetStackPolicyRequest request, AsyncHandler<SetStackPolicyRequest,Void> asyncHandler)
AmazonCloudFormationAsync
Sets a stack policy for a specified stack.
setStackPolicyAsync
in interface AmazonCloudFormationAsync
request
- The input for the SetStackPolicy action.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.public Future<Void> signalResourceAsync(SignalResourceRequest request)
AmazonCloudFormationAsync
Sends a signal to the specified resource with a success or failure status. You can use the SignalResource API in conjunction with a creation policy or update policy. AWS CloudFormation doesn't proceed with a stack creation or update until resources receive the required number of signals or the timeout period is exceeded. The SignalResource API is useful in cases where you want to send signals from anywhere other than an Amazon EC2 instance.
signalResourceAsync
in interface AmazonCloudFormationAsync
request
- The input for the SignalResource action.public Future<Void> signalResourceAsync(SignalResourceRequest request, AsyncHandler<SignalResourceRequest,Void> asyncHandler)
AmazonCloudFormationAsync
Sends a signal to the specified resource with a success or failure status. You can use the SignalResource API in conjunction with a creation policy or update policy. AWS CloudFormation doesn't proceed with a stack creation or update until resources receive the required number of signals or the timeout period is exceeded. The SignalResource API is useful in cases where you want to send signals from anywhere other than an Amazon EC2 instance.
signalResourceAsync
in interface AmazonCloudFormationAsync
request
- The input for the SignalResource action.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.public Future<UpdateStackResult> updateStackAsync(UpdateStackRequest request)
AmazonCloudFormationAsync
Updates a stack as specified in the template. After the call completes successfully, the stack update starts. You can check the status of the stack via the DescribeStacks action.
To get a copy of the template for an existing stack, you can use the GetTemplate action.
Tags that were associated with this stack during creation time will still
be associated with the stack after an UpdateStack
operation.
For more information about creating an update template, updating a stack, and monitoring the progress of the update, see Updating a Stack.
updateStackAsync
in interface AmazonCloudFormationAsync
request
- The input for UpdateStack action.public Future<UpdateStackResult> updateStackAsync(UpdateStackRequest request, AsyncHandler<UpdateStackRequest,UpdateStackResult> asyncHandler)
AmazonCloudFormationAsync
Updates a stack as specified in the template. After the call completes successfully, the stack update starts. You can check the status of the stack via the DescribeStacks action.
To get a copy of the template for an existing stack, you can use the GetTemplate action.
Tags that were associated with this stack during creation time will still
be associated with the stack after an UpdateStack
operation.
For more information about creating an update template, updating a stack, and monitoring the progress of the update, see Updating a Stack.
updateStackAsync
in interface AmazonCloudFormationAsync
request
- The input for UpdateStack action.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.public Future<ValidateTemplateResult> validateTemplateAsync(ValidateTemplateRequest request)
AmazonCloudFormationAsync
Validates a specified template.
validateTemplateAsync
in interface AmazonCloudFormationAsync
request
- The input for ValidateTemplate action.public Future<ValidateTemplateResult> validateTemplateAsync(ValidateTemplateRequest request, AsyncHandler<ValidateTemplateRequest,ValidateTemplateResult> asyncHandler)
AmazonCloudFormationAsync
Validates a specified template.
validateTemplateAsync
in interface AmazonCloudFormationAsync
request
- The input for ValidateTemplate action.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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.