Struct aws_sdk_kinesisanalyticsv2::client::fluent_builders::RollbackApplication [−][src]
pub struct RollbackApplication<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to RollbackApplication
.
Reverts the application to the previous running version. You can roll back an application if you suspect it is stuck in a transient status.
You can roll back an application only if it is in the UPDATING
or AUTOSCALING
status.
When you rollback an application, it loads state data from the last successful snapshot. If the application has no snapshots, Kinesis Data Analytics rejects the rollback request.
This action is not supported for Kinesis Data Analytics for SQL applications.
Implementations
impl<C, M, R> RollbackApplication<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> RollbackApplication<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<RollbackApplicationOutput, SdkError<RollbackApplicationError>> where
R::Policy: SmithyRetryPolicy<RollbackApplicationInputOperationOutputAlias, RollbackApplicationOutput, RollbackApplicationError, RollbackApplicationInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<RollbackApplicationOutput, SdkError<RollbackApplicationError>> where
R::Policy: SmithyRetryPolicy<RollbackApplicationInputOperationOutputAlias, RollbackApplicationOutput, RollbackApplicationError, RollbackApplicationInputOperationRetryAlias>,
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 of the application.
The name of the application.
The current application version ID. You can retrieve the application version ID using DescribeApplication.
The current application version ID. You can retrieve the application version ID using DescribeApplication.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for RollbackApplication<C, M, R>
impl<C, M, R> Send for RollbackApplication<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for RollbackApplication<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for RollbackApplication<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for RollbackApplication<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