Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Deletes the specified Amazon Web Services account alias. For information about using an Amazon Web Services account alias, see Using an alias for your Amazon Web Services account ID in the IAM User Guide.
Synopsis
- data DeleteAccountAlias = DeleteAccountAlias' {
- accountAlias :: Text
- newDeleteAccountAlias :: Text -> DeleteAccountAlias
- deleteAccountAlias_accountAlias :: Lens' DeleteAccountAlias Text
- data DeleteAccountAliasResponse = DeleteAccountAliasResponse' {
- newDeleteAccountAliasResponse :: DeleteAccountAliasResponse
Creating a Request
data DeleteAccountAlias Source #
See: newDeleteAccountAlias
smart constructor.
DeleteAccountAlias' | |
|
Instances
newDeleteAccountAlias Source #
Create a value of DeleteAccountAlias
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:accountAlias:DeleteAccountAlias'
, deleteAccountAlias_accountAlias
- The name of the account alias to delete.
This parameter allows (through its regex pattern) 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.
Request Lenses
deleteAccountAlias_accountAlias :: Lens' DeleteAccountAlias Text Source #
The name of the account alias to delete.
This parameter allows (through its regex pattern) 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.
Destructuring the Response
data DeleteAccountAliasResponse Source #
See: newDeleteAccountAliasResponse
smart constructor.
Instances
newDeleteAccountAliasResponse :: DeleteAccountAliasResponse Source #
Create a value of DeleteAccountAliasResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.