Struct aws_sdk_apigateway::client::fluent_builders::UpdateUsage [−][src]
pub struct UpdateUsage<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to UpdateUsage
.
Grants a temporary extension to the remaining quota of a usage plan associated with a specified API key.
Implementations
impl<C, M, R> UpdateUsage<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpdateUsage<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(self) -> Result<UpdateUsageOutput, SdkError<UpdateUsageError>> where
R::Policy: SmithyRetryPolicy<UpdateUsageInputOperationOutputAlias, UpdateUsageOutput, UpdateUsageError, UpdateUsageInputOperationRetryAlias>,
pub async fn send(self) -> Result<UpdateUsageOutput, SdkError<UpdateUsageError>> where
R::Policy: SmithyRetryPolicy<UpdateUsageInputOperationOutputAlias, UpdateUsageOutput, UpdateUsageError, UpdateUsageInputOperationRetryAlias>,
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.
[Required] The Id of the usage plan associated with the usage data.
[Required] The Id of the usage plan associated with the usage data.
[Required] The identifier of the API key associated with the usage plan in which a temporary extension is granted to the remaining quota.
[Required] The identifier of the API key associated with the usage plan in which a temporary extension is granted to the remaining quota.
Appends an item to patchOperations
.
To override the contents of this collection use set_patch_operations
.
A list of update operations to be applied to the specified resource and in the order specified in this list.
A list of update operations to be applied to the specified resource and in the order specified in this list.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for UpdateUsage<C, M, R>
impl<C, M, R> Unpin for UpdateUsage<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for UpdateUsage<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