Struct aws_sdk_cloudformation::client::fluent_builders::RollbackStack [−][src]
pub struct RollbackStack<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to RollbackStack
.
When specifying RollbackStack
, you preserve the state of previously provisioned resources when an operation fails. You can check the status of the stack through the DescribeStacks API.
Rolls back the specified stack to the last known stable state from CREATE_FAILED
or UPDATE_FAILED
stack statuses.
This operation will delete a stack if it doesn't contain a last known stable state. A last known stable state includes any status in a *_COMPLETE
. This includes the following stack statuses.
-
CREATE_COMPLETE
-
UPDATE_COMPLETE
-
UPDATE_ROLLBACK_COMPLETE
-
IMPORT_COMPLETE
-
IMPORT_ROLLBACK_COMPLETE
Implementations
impl<C, M, R> RollbackStack<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> RollbackStack<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<RollbackStackOutput, SdkError<RollbackStackError>> where
R::Policy: SmithyRetryPolicy<RollbackStackInputOperationOutputAlias, RollbackStackOutput, RollbackStackError, RollbackStackInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<RollbackStackOutput, SdkError<RollbackStackError>> where
R::Policy: SmithyRetryPolicy<RollbackStackInputOperationOutputAlias, RollbackStackOutput, RollbackStackError, RollbackStackInputOperationRetryAlias>,
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 that is associated with the stack.
The name that is associated with the stack.
The Amazon Resource Name (ARN) of an Identity and Access Management role that CloudFormation assumes to rollback the stack.
The Amazon Resource Name (ARN) of an Identity and Access Management role that CloudFormation assumes to rollback the stack.
A unique identifier for this RollbackStack
request.
A unique identifier for this RollbackStack
request.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for RollbackStack<C, M, R>
impl<C, M, R> Unpin for RollbackStack<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for RollbackStack<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