pub struct DeleteAPIKeyFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteAPIKey
.
Deletes the specified API key.
After you delete a key, it can take up to 24 hours for WAF to disallow use of the key in all regions.
Implementations§
source§impl DeleteAPIKeyFluentBuilder
impl DeleteAPIKeyFluentBuilder
sourcepub fn as_input(&self) -> &DeleteApiKeyInputBuilder
pub fn as_input(&self) -> &DeleteApiKeyInputBuilder
Access the DeleteAPIKey as a reference.
sourcepub async fn send(
self
) -> Result<DeleteApiKeyOutput, SdkError<DeleteAPIKeyError, HttpResponse>>
pub async fn send( self ) -> Result<DeleteApiKeyOutput, SdkError<DeleteAPIKeyError, HttpResponse>>
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.
sourcepub fn customize(
self
) -> CustomizableOperation<DeleteApiKeyOutput, DeleteAPIKeyError, Self>
pub fn customize( self ) -> CustomizableOperation<DeleteApiKeyOutput, DeleteAPIKeyError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn scope(self, input: Scope) -> Self
pub fn scope(self, input: Scope) -> Self
Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
-
CLI - Specify the Region when you use the CloudFront scope:
--scope=CLOUDFRONT --region=us-east-1
. -
API and SDKs - For all calls, use the Region endpoint us-east-1.
sourcepub fn set_scope(self, input: Option<Scope>) -> Self
pub fn set_scope(self, input: Option<Scope>) -> Self
Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
-
CLI - Specify the Region when you use the CloudFront scope:
--scope=CLOUDFRONT --region=us-east-1
. -
API and SDKs - For all calls, use the Region endpoint us-east-1.
sourcepub fn get_scope(&self) -> &Option<Scope>
pub fn get_scope(&self) -> &Option<Scope>
Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
-
CLI - Specify the Region when you use the CloudFront scope:
--scope=CLOUDFRONT --region=us-east-1
. -
API and SDKs - For all calls, use the Region endpoint us-east-1.
sourcepub fn api_key(self, input: impl Into<String>) -> Self
pub fn api_key(self, input: impl Into<String>) -> Self
The encrypted API key that you want to delete.
sourcepub fn set_api_key(self, input: Option<String>) -> Self
pub fn set_api_key(self, input: Option<String>) -> Self
The encrypted API key that you want to delete.
sourcepub fn get_api_key(&self) -> &Option<String>
pub fn get_api_key(&self) -> &Option<String>
The encrypted API key that you want to delete.
Trait Implementations§
source§impl Clone for DeleteAPIKeyFluentBuilder
impl Clone for DeleteAPIKeyFluentBuilder
source§fn clone(&self) -> DeleteAPIKeyFluentBuilder
fn clone(&self) -> DeleteAPIKeyFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more