aws_sdk_kms/client/delete_alias.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DeleteAlias`](crate::operation::delete_alias::builders::DeleteAliasFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`alias_name(impl Into<String>)`](crate::operation::delete_alias::builders::DeleteAliasFluentBuilder::alias_name) / [`set_alias_name(Option<String>)`](crate::operation::delete_alias::builders::DeleteAliasFluentBuilder::set_alias_name):<br>required: **true**<br><p>The alias to be deleted. The alias name must begin with <code>alias/</code> followed by the alias name, such as <code>alias/ExampleAlias</code>.</p><br>
/// - On success, responds with [`DeleteAliasOutput`](crate::operation::delete_alias::DeleteAliasOutput)
/// - On failure, responds with [`SdkError<DeleteAliasError>`](crate::operation::delete_alias::DeleteAliasError)
pub fn delete_alias(&self) -> crate::operation::delete_alias::builders::DeleteAliasFluentBuilder {
crate::operation::delete_alias::builders::DeleteAliasFluentBuilder::new(self.handle.clone())
}
}