#[non_exhaustive]pub struct DeleteApiKeyInputBuilder { /* private fields */ }
Expand description
A builder for DeleteApiKeyInput
.
Implementations§
source§impl DeleteApiKeyInputBuilder
impl DeleteApiKeyInputBuilder
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.
This field is required.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.
sourcepub fn build(self) -> Result<DeleteApiKeyInput, BuildError>
pub fn build(self) -> Result<DeleteApiKeyInput, BuildError>
Consumes the builder and constructs a DeleteApiKeyInput
.
source§impl DeleteApiKeyInputBuilder
impl DeleteApiKeyInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeleteApiKeyOutput, SdkError<DeleteAPIKeyError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeleteApiKeyOutput, SdkError<DeleteAPIKeyError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteApiKeyInputBuilder
impl Clone for DeleteApiKeyInputBuilder
source§fn clone(&self) -> DeleteApiKeyInputBuilder
fn clone(&self) -> DeleteApiKeyInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeleteApiKeyInputBuilder
impl Debug for DeleteApiKeyInputBuilder
source§impl Default for DeleteApiKeyInputBuilder
impl Default for DeleteApiKeyInputBuilder
source§fn default() -> DeleteApiKeyInputBuilder
fn default() -> DeleteApiKeyInputBuilder
source§impl PartialEq for DeleteApiKeyInputBuilder
impl PartialEq for DeleteApiKeyInputBuilder
source§fn eq(&self, other: &DeleteApiKeyInputBuilder) -> bool
fn eq(&self, other: &DeleteApiKeyInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.