aws_sdk_iam/client/
delete_account_alias.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`DeleteAccountAlias`](crate::operation::delete_account_alias::builders::DeleteAccountAliasFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`account_alias(impl Into<String>)`](crate::operation::delete_account_alias::builders::DeleteAccountAliasFluentBuilder::account_alias) / [`set_account_alias(Option<String>)`](crate::operation::delete_account_alias::builders::DeleteAccountAliasFluentBuilder::set_account_alias):<br>required: **true**<br><p>The name of the account alias to delete.</p> <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of lowercase letters, digits, and dashes. You cannot start or finish with a dash, nor can you have two dashes in a row.</p><br>
7    /// - On success, responds with [`DeleteAccountAliasOutput`](crate::operation::delete_account_alias::DeleteAccountAliasOutput)
8    /// - On failure, responds with [`SdkError<DeleteAccountAliasError>`](crate::operation::delete_account_alias::DeleteAccountAliasError)
9    pub fn delete_account_alias(&self) -> crate::operation::delete_account_alias::builders::DeleteAccountAliasFluentBuilder {
10        crate::operation::delete_account_alias::builders::DeleteAccountAliasFluentBuilder::new(self.handle.clone())
11    }
12}