Struct aws_sdk_appsync::client::fluent_builders::UpdateApiKey [−][src]
pub struct UpdateApiKey<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to UpdateApiKey
.
Updates an API key. The key can be updated while it is not deleted.
Implementations
impl<C, M, R> UpdateApiKey<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpdateApiKey<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<UpdateApiKeyOutput, SdkError<UpdateApiKeyError>> where
R::Policy: SmithyRetryPolicy<UpdateApiKeyInputOperationOutputAlias, UpdateApiKeyOutput, UpdateApiKeyError, UpdateApiKeyInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<UpdateApiKeyOutput, SdkError<UpdateApiKeyError>> where
R::Policy: SmithyRetryPolicy<UpdateApiKeyInputOperationOutputAlias, UpdateApiKeyOutput, UpdateApiKeyError, UpdateApiKeyInputOperationRetryAlias>,
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 ID for the GraphQL API.
A description of the purpose of the API key.
A description of the purpose of the API key.
The time from update time after which the API key expires. The date is represented as seconds since the epoch. For more information, see .
The time from update time after which the API key expires. The date is represented as seconds since the epoch. For more information, see .
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for UpdateApiKey<C, M, R>
impl<C, M, R> Unpin for UpdateApiKey<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for UpdateApiKey<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