#[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
impl StructuralPartialEq for DeleteApiKeyInputBuilder
Auto Trait Implementations§
impl Freeze for DeleteApiKeyInputBuilder
impl RefUnwindSafe for DeleteApiKeyInputBuilder
impl Send for DeleteApiKeyInputBuilder
impl Sync for DeleteApiKeyInputBuilder
impl Unpin for DeleteApiKeyInputBuilder
impl UnwindSafe for DeleteApiKeyInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more