Struct aws_sdk_cloudformation::client::fluent_builders::ExecuteChangeSet [−][src]
pub struct ExecuteChangeSet<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to ExecuteChangeSet
.
Updates a stack using the input information that was provided when the specified change set was created. After the call successfully completes, CloudFormation starts updating the stack. Use the DescribeStacks action to view the status of the update.
When you execute a change set, CloudFormation deletes all other change sets associated with the stack because they aren't valid for the updated stack.
If a stack policy is associated with the stack, CloudFormation enforces the policy during the update. You can't specify a temporary stack policy that overrides the current policy.
To create a change set for the entire stack hierachy, IncludeNestedStacks
must have been set to True
.
Implementations
impl<C, M, R> ExecuteChangeSet<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ExecuteChangeSet<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<ExecuteChangeSetOutput, SdkError<ExecuteChangeSetError>> where
R::Policy: SmithyRetryPolicy<ExecuteChangeSetInputOperationOutputAlias, ExecuteChangeSetOutput, ExecuteChangeSetError, ExecuteChangeSetInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<ExecuteChangeSetOutput, SdkError<ExecuteChangeSetError>> where
R::Policy: SmithyRetryPolicy<ExecuteChangeSetInputOperationOutputAlias, ExecuteChangeSetOutput, ExecuteChangeSetError, ExecuteChangeSetInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The name or ARN of the change set that you want use to update the specified stack.
The name or ARN of the change set that you want use to update the specified stack.
If you specified the name of a change set, specify the stack name or ID (ARN) that is associated with the change set you want to execute.
If you specified the name of a change set, specify the stack name or ID (ARN) that is associated with the change set you want to execute.
A unique identifier for this ExecuteChangeSet
request. Specify this
token if you plan to retry requests so that CloudFormation knows that you're not
attempting to execute a change set to update a stack with the same name. You might retry
ExecuteChangeSet
requests to ensure that CloudFormation successfully
received them.
A unique identifier for this ExecuteChangeSet
request. Specify this
token if you plan to retry requests so that CloudFormation knows that you're not
attempting to execute a change set to update a stack with the same name. You might retry
ExecuteChangeSet
requests to ensure that CloudFormation successfully
received them.
Preserves the state of previously provisioned resources when an operation fails.
Default: True
Preserves the state of previously provisioned resources when an operation fails.
Default: True
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for ExecuteChangeSet<C, M, R>
impl<C, M, R> Send for ExecuteChangeSet<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for ExecuteChangeSet<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for ExecuteChangeSet<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for ExecuteChangeSet<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more