Interface CloudFormationWaiter
-
- All Superinterfaces:
AutoCloseable,SdkAutoCloseable
@Generated("software.amazon.awssdk:codegen") @ThreadSafe @Immutable public interface CloudFormationWaiter extends SdkAutoCloseable
Waiter utility class that polls a resource until a desired state is reached or until it is determined that the resource will never enter into the desired state. This can be created using the staticbuilder()method
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceCloudFormationWaiter.Builder
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
-
-
-
Method Detail
-
waitUntilChangeSetCreateComplete
default WaiterResponse<DescribeChangeSetResponse> waitUntilChangeSetCreateComplete(DescribeChangeSetRequest describeChangeSetRequest)
PollsCloudFormationClient.describeChangeSet(software.amazon.awssdk.services.cloudformation.model.DescribeChangeSetRequest)API until the desired conditionChangeSetCreateCompleteis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeChangeSetRequest- the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilChangeSetCreateComplete
default WaiterResponse<DescribeChangeSetResponse> waitUntilChangeSetCreateComplete(Consumer<DescribeChangeSetRequest.Builder> describeChangeSetRequest)
PollsCloudFormationClient.describeChangeSet(software.amazon.awssdk.services.cloudformation.model.DescribeChangeSetRequest)API until the desired conditionChangeSetCreateCompleteis met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeChangeSetRequest.builder()- Parameters:
describeChangeSetRequest- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilChangeSetCreateComplete
default WaiterResponse<DescribeChangeSetResponse> waitUntilChangeSetCreateComplete(DescribeChangeSetRequest describeChangeSetRequest, WaiterOverrideConfiguration overrideConfig)
PollsCloudFormationClient.describeChangeSet(software.amazon.awssdk.services.cloudformation.model.DescribeChangeSetRequest)API until the desired conditionChangeSetCreateCompleteis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeChangeSetRequest- The request to be used for pollingoverrideConfig- Per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilChangeSetCreateComplete
default WaiterResponse<DescribeChangeSetResponse> waitUntilChangeSetCreateComplete(Consumer<DescribeChangeSetRequest.Builder> describeChangeSetRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsCloudFormationClient.describeChangeSet(software.amazon.awssdk.services.cloudformation.model.DescribeChangeSetRequest)API until the desired conditionChangeSetCreateCompleteis met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
describeChangeSetRequest- The consumer that will configure the request to be used for pollingoverrideConfig- The consumer that will configure the per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStackCreateComplete
default WaiterResponse<DescribeStacksResponse> waitUntilStackCreateComplete(DescribeStacksRequest describeStacksRequest)
PollsCloudFormationClient.describeStacks(software.amazon.awssdk.services.cloudformation.model.DescribeStacksRequest)API until the desired conditionStackCreateCompleteis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeStacksRequest- the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStackCreateComplete
default WaiterResponse<DescribeStacksResponse> waitUntilStackCreateComplete(Consumer<DescribeStacksRequest.Builder> describeStacksRequest)
PollsCloudFormationClient.describeStacks(software.amazon.awssdk.services.cloudformation.model.DescribeStacksRequest)API until the desired conditionStackCreateCompleteis met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeStacksRequest.builder()- Parameters:
describeStacksRequest- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStackCreateComplete
default WaiterResponse<DescribeStacksResponse> waitUntilStackCreateComplete(DescribeStacksRequest describeStacksRequest, WaiterOverrideConfiguration overrideConfig)
PollsCloudFormationClient.describeStacks(software.amazon.awssdk.services.cloudformation.model.DescribeStacksRequest)API until the desired conditionStackCreateCompleteis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeStacksRequest- The request to be used for pollingoverrideConfig- Per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStackCreateComplete
default WaiterResponse<DescribeStacksResponse> waitUntilStackCreateComplete(Consumer<DescribeStacksRequest.Builder> describeStacksRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsCloudFormationClient.describeStacks(software.amazon.awssdk.services.cloudformation.model.DescribeStacksRequest)API until the desired conditionStackCreateCompleteis met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
describeStacksRequest- The consumer that will configure the request to be used for pollingoverrideConfig- The consumer that will configure the per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStackDeleteComplete
default WaiterResponse<DescribeStacksResponse> waitUntilStackDeleteComplete(DescribeStacksRequest describeStacksRequest)
PollsCloudFormationClient.describeStacks(software.amazon.awssdk.services.cloudformation.model.DescribeStacksRequest)API until the desired conditionStackDeleteCompleteis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeStacksRequest- the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStackDeleteComplete
default WaiterResponse<DescribeStacksResponse> waitUntilStackDeleteComplete(Consumer<DescribeStacksRequest.Builder> describeStacksRequest)
PollsCloudFormationClient.describeStacks(software.amazon.awssdk.services.cloudformation.model.DescribeStacksRequest)API until the desired conditionStackDeleteCompleteis met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeStacksRequest.builder()- Parameters:
describeStacksRequest- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStackDeleteComplete
default WaiterResponse<DescribeStacksResponse> waitUntilStackDeleteComplete(DescribeStacksRequest describeStacksRequest, WaiterOverrideConfiguration overrideConfig)
PollsCloudFormationClient.describeStacks(software.amazon.awssdk.services.cloudformation.model.DescribeStacksRequest)API until the desired conditionStackDeleteCompleteis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeStacksRequest- The request to be used for pollingoverrideConfig- Per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStackDeleteComplete
default WaiterResponse<DescribeStacksResponse> waitUntilStackDeleteComplete(Consumer<DescribeStacksRequest.Builder> describeStacksRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsCloudFormationClient.describeStacks(software.amazon.awssdk.services.cloudformation.model.DescribeStacksRequest)API until the desired conditionStackDeleteCompleteis met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
describeStacksRequest- The consumer that will configure the request to be used for pollingoverrideConfig- The consumer that will configure the per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStackExists
default WaiterResponse<DescribeStacksResponse> waitUntilStackExists(DescribeStacksRequest describeStacksRequest)
PollsCloudFormationClient.describeStacks(software.amazon.awssdk.services.cloudformation.model.DescribeStacksRequest)API until the desired conditionStackExistsis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeStacksRequest- the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStackExists
default WaiterResponse<DescribeStacksResponse> waitUntilStackExists(Consumer<DescribeStacksRequest.Builder> describeStacksRequest)
PollsCloudFormationClient.describeStacks(software.amazon.awssdk.services.cloudformation.model.DescribeStacksRequest)API until the desired conditionStackExistsis met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeStacksRequest.builder()- Parameters:
describeStacksRequest- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStackExists
default WaiterResponse<DescribeStacksResponse> waitUntilStackExists(DescribeStacksRequest describeStacksRequest, WaiterOverrideConfiguration overrideConfig)
PollsCloudFormationClient.describeStacks(software.amazon.awssdk.services.cloudformation.model.DescribeStacksRequest)API until the desired conditionStackExistsis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeStacksRequest- The request to be used for pollingoverrideConfig- Per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStackExists
default WaiterResponse<DescribeStacksResponse> waitUntilStackExists(Consumer<DescribeStacksRequest.Builder> describeStacksRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsCloudFormationClient.describeStacks(software.amazon.awssdk.services.cloudformation.model.DescribeStacksRequest)API until the desired conditionStackExistsis met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
describeStacksRequest- The consumer that will configure the request to be used for pollingoverrideConfig- The consumer that will configure the per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStackImportComplete
default WaiterResponse<DescribeStacksResponse> waitUntilStackImportComplete(DescribeStacksRequest describeStacksRequest)
PollsCloudFormationClient.describeStacks(software.amazon.awssdk.services.cloudformation.model.DescribeStacksRequest)API until the desired conditionStackImportCompleteis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeStacksRequest- the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStackImportComplete
default WaiterResponse<DescribeStacksResponse> waitUntilStackImportComplete(Consumer<DescribeStacksRequest.Builder> describeStacksRequest)
PollsCloudFormationClient.describeStacks(software.amazon.awssdk.services.cloudformation.model.DescribeStacksRequest)API until the desired conditionStackImportCompleteis met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeStacksRequest.builder()- Parameters:
describeStacksRequest- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStackImportComplete
default WaiterResponse<DescribeStacksResponse> waitUntilStackImportComplete(DescribeStacksRequest describeStacksRequest, WaiterOverrideConfiguration overrideConfig)
PollsCloudFormationClient.describeStacks(software.amazon.awssdk.services.cloudformation.model.DescribeStacksRequest)API until the desired conditionStackImportCompleteis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeStacksRequest- The request to be used for pollingoverrideConfig- Per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStackImportComplete
default WaiterResponse<DescribeStacksResponse> waitUntilStackImportComplete(Consumer<DescribeStacksRequest.Builder> describeStacksRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsCloudFormationClient.describeStacks(software.amazon.awssdk.services.cloudformation.model.DescribeStacksRequest)API until the desired conditionStackImportCompleteis met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
describeStacksRequest- The consumer that will configure the request to be used for pollingoverrideConfig- The consumer that will configure the per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStackRollbackComplete
default WaiterResponse<DescribeStacksResponse> waitUntilStackRollbackComplete(DescribeStacksRequest describeStacksRequest)
PollsCloudFormationClient.describeStacks(software.amazon.awssdk.services.cloudformation.model.DescribeStacksRequest)API until the desired conditionStackRollbackCompleteis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeStacksRequest- the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStackRollbackComplete
default WaiterResponse<DescribeStacksResponse> waitUntilStackRollbackComplete(Consumer<DescribeStacksRequest.Builder> describeStacksRequest)
PollsCloudFormationClient.describeStacks(software.amazon.awssdk.services.cloudformation.model.DescribeStacksRequest)API until the desired conditionStackRollbackCompleteis met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeStacksRequest.builder()- Parameters:
describeStacksRequest- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStackRollbackComplete
default WaiterResponse<DescribeStacksResponse> waitUntilStackRollbackComplete(DescribeStacksRequest describeStacksRequest, WaiterOverrideConfiguration overrideConfig)
PollsCloudFormationClient.describeStacks(software.amazon.awssdk.services.cloudformation.model.DescribeStacksRequest)API until the desired conditionStackRollbackCompleteis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeStacksRequest- The request to be used for pollingoverrideConfig- Per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStackRollbackComplete
default WaiterResponse<DescribeStacksResponse> waitUntilStackRollbackComplete(Consumer<DescribeStacksRequest.Builder> describeStacksRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsCloudFormationClient.describeStacks(software.amazon.awssdk.services.cloudformation.model.DescribeStacksRequest)API until the desired conditionStackRollbackCompleteis met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
describeStacksRequest- The consumer that will configure the request to be used for pollingoverrideConfig- The consumer that will configure the per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStackUpdateComplete
default WaiterResponse<DescribeStacksResponse> waitUntilStackUpdateComplete(DescribeStacksRequest describeStacksRequest)
PollsCloudFormationClient.describeStacks(software.amazon.awssdk.services.cloudformation.model.DescribeStacksRequest)API until the desired conditionStackUpdateCompleteis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeStacksRequest- the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStackUpdateComplete
default WaiterResponse<DescribeStacksResponse> waitUntilStackUpdateComplete(Consumer<DescribeStacksRequest.Builder> describeStacksRequest)
PollsCloudFormationClient.describeStacks(software.amazon.awssdk.services.cloudformation.model.DescribeStacksRequest)API until the desired conditionStackUpdateCompleteis met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeStacksRequest.builder()- Parameters:
describeStacksRequest- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStackUpdateComplete
default WaiterResponse<DescribeStacksResponse> waitUntilStackUpdateComplete(DescribeStacksRequest describeStacksRequest, WaiterOverrideConfiguration overrideConfig)
PollsCloudFormationClient.describeStacks(software.amazon.awssdk.services.cloudformation.model.DescribeStacksRequest)API until the desired conditionStackUpdateCompleteis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeStacksRequest- The request to be used for pollingoverrideConfig- Per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStackUpdateComplete
default WaiterResponse<DescribeStacksResponse> waitUntilStackUpdateComplete(Consumer<DescribeStacksRequest.Builder> describeStacksRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsCloudFormationClient.describeStacks(software.amazon.awssdk.services.cloudformation.model.DescribeStacksRequest)API until the desired conditionStackUpdateCompleteis met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
describeStacksRequest- The consumer that will configure the request to be used for pollingoverrideConfig- The consumer that will configure the per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilTypeRegistrationComplete
default WaiterResponse<DescribeTypeRegistrationResponse> waitUntilTypeRegistrationComplete(DescribeTypeRegistrationRequest describeTypeRegistrationRequest)
PollsCloudFormationClient.describeTypeRegistration(software.amazon.awssdk.services.cloudformation.model.DescribeTypeRegistrationRequest)API until the desired conditionTypeRegistrationCompleteis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeTypeRegistrationRequest- the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilTypeRegistrationComplete
default WaiterResponse<DescribeTypeRegistrationResponse> waitUntilTypeRegistrationComplete(Consumer<DescribeTypeRegistrationRequest.Builder> describeTypeRegistrationRequest)
PollsCloudFormationClient.describeTypeRegistration(software.amazon.awssdk.services.cloudformation.model.DescribeTypeRegistrationRequest)API until the desired conditionTypeRegistrationCompleteis met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
DescribeTypeRegistrationRequest.builder()- Parameters:
describeTypeRegistrationRequest- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilTypeRegistrationComplete
default WaiterResponse<DescribeTypeRegistrationResponse> waitUntilTypeRegistrationComplete(DescribeTypeRegistrationRequest describeTypeRegistrationRequest, WaiterOverrideConfiguration overrideConfig)
PollsCloudFormationClient.describeTypeRegistration(software.amazon.awssdk.services.cloudformation.model.DescribeTypeRegistrationRequest)API until the desired conditionTypeRegistrationCompleteis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeTypeRegistrationRequest- The request to be used for pollingoverrideConfig- Per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilTypeRegistrationComplete
default WaiterResponse<DescribeTypeRegistrationResponse> waitUntilTypeRegistrationComplete(Consumer<DescribeTypeRegistrationRequest.Builder> describeTypeRegistrationRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsCloudFormationClient.describeTypeRegistration(software.amazon.awssdk.services.cloudformation.model.DescribeTypeRegistrationRequest)API until the desired conditionTypeRegistrationCompleteis met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
describeTypeRegistrationRequest- The consumer that will configure the request to be used for pollingoverrideConfig- The consumer that will configure the per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
builder
static CloudFormationWaiter.Builder builder()
Create a builder that can be used to configure and create aCloudFormationWaiter.- Returns:
- a builder
-
create
static CloudFormationWaiter create()
Create an instance ofCloudFormationWaiterwith the default configuration.A default
CloudFormationClientwill be created to poll resources. It is recommended to share a single instance of the waiter created via this method. If it is not desirable to share a waiter instance, invokeSdkAutoCloseable.close()to release the resources once the waiter is not needed.- Returns:
- an instance of
CloudFormationWaiter
-
-