Struct aws_sdk_redshift::client::fluent_builders::ModifyUsageLimit
source · [−]pub struct ModifyUsageLimit<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to ModifyUsageLimit
.
Modifies a usage limit in a cluster. You can't modify the feature type or period of a usage limit.
Implementations
impl<C, M, R> ModifyUsageLimit<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ModifyUsageLimit<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<ModifyUsageLimitOutput, SdkError<ModifyUsageLimitError>> where
R::Policy: SmithyRetryPolicy<ModifyUsageLimitInputOperationOutputAlias, ModifyUsageLimitOutput, ModifyUsageLimitError, ModifyUsageLimitInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<ModifyUsageLimitOutput, SdkError<ModifyUsageLimitError>> where
R::Policy: SmithyRetryPolicy<ModifyUsageLimitInputOperationOutputAlias, ModifyUsageLimitOutput, ModifyUsageLimitError, ModifyUsageLimitInputOperationRetryAlias>,
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 identifier of the usage limit to modify.
The identifier of the usage limit to modify.
The new limit amount. For more information about this parameter, see UsageLimit
.
The new limit amount. For more information about this parameter, see UsageLimit
.
The new action that Amazon Redshift takes when the limit is reached. For more information about this parameter, see UsageLimit
.
The new action that Amazon Redshift takes when the limit is reached. For more information about this parameter, see UsageLimit
.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for ModifyUsageLimit<C, M, R>
impl<C, M, R> Send for ModifyUsageLimit<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for ModifyUsageLimit<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for ModifyUsageLimit<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for ModifyUsageLimit<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