Struct aws_sdk_paymentcryptography::operation::delete_alias::builders::DeleteAliasFluentBuilder
source · pub struct DeleteAliasFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteAlias
.
Deletes the alias, but doesn't affect the underlying key.
Each key can have multiple aliases. To get the aliases of all keys, use the ListAliases
operation. To change the alias of a key, first use DeleteAlias
to delete the current alias and then use CreateAlias
to create a new alias. To associate an existing alias with a different key, call UpdateAlias
.
Cross-account use: This operation can't be used across different Amazon Web Services accounts.
Related operations:
-
CreateAlias
-
GetAlias
-
ListAliases
-
UpdateAlias
Implementations§
source§impl DeleteAliasFluentBuilder
impl DeleteAliasFluentBuilder
sourcepub fn as_input(&self) -> &DeleteAliasInputBuilder
pub fn as_input(&self) -> &DeleteAliasInputBuilder
Access the DeleteAlias as a reference.
sourcepub async fn send(
self
) -> Result<DeleteAliasOutput, SdkError<DeleteAliasError, HttpResponse>>
pub async fn send( self ) -> Result<DeleteAliasOutput, SdkError<DeleteAliasError, 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 async fn customize(
self
) -> Result<CustomizableOperation<DeleteAliasOutput, DeleteAliasError, Self>, SdkError<DeleteAliasError>>
pub async fn customize( self ) -> Result<CustomizableOperation<DeleteAliasOutput, DeleteAliasError, Self>, SdkError<DeleteAliasError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn alias_name(self, input: impl Into<String>) -> Self
pub fn alias_name(self, input: impl Into<String>) -> Self
A friendly name that you can use to refer Amazon Web Services Payment Cryptography key. This value must begin with alias/
followed by a name, such as alias/ExampleAlias
.
sourcepub fn set_alias_name(self, input: Option<String>) -> Self
pub fn set_alias_name(self, input: Option<String>) -> Self
A friendly name that you can use to refer Amazon Web Services Payment Cryptography key. This value must begin with alias/
followed by a name, such as alias/ExampleAlias
.
sourcepub fn get_alias_name(&self) -> &Option<String>
pub fn get_alias_name(&self) -> &Option<String>
A friendly name that you can use to refer Amazon Web Services Payment Cryptography key. This value must begin with alias/
followed by a name, such as alias/ExampleAlias
.
Trait Implementations§
source§impl Clone for DeleteAliasFluentBuilder
impl Clone for DeleteAliasFluentBuilder
source§fn clone(&self) -> DeleteAliasFluentBuilder
fn clone(&self) -> DeleteAliasFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more