Struct aws_sdk_redshift::client::fluent_builders::RebootCluster
source · [−]pub struct RebootCluster<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to RebootCluster
.
Reboots a cluster. This action is taken as soon as possible. It results in a momentary outage to the cluster, during which the cluster status is set to rebooting
. A cluster event is created when the reboot is completed. Any pending cluster modifications (see ModifyCluster
) are applied at this reboot. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide.
Implementations
impl<C, M, R> RebootCluster<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> RebootCluster<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<RebootClusterOutput, SdkError<RebootClusterError>> where
R::Policy: SmithyRetryPolicy<RebootClusterInputOperationOutputAlias, RebootClusterOutput, RebootClusterError, RebootClusterInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<RebootClusterOutput, SdkError<RebootClusterError>> where
R::Policy: SmithyRetryPolicy<RebootClusterInputOperationOutputAlias, RebootClusterOutput, RebootClusterError, RebootClusterInputOperationRetryAlias>,
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 cluster identifier.
The cluster identifier.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for RebootCluster<C, M, R>
impl<C, M, R> Unpin for RebootCluster<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for RebootCluster<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