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 |
Creates an alias for your Amazon Web Services account. 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 CreateAccountAlias = CreateAccountAlias' {
- accountAlias :: Text
- newCreateAccountAlias :: Text -> CreateAccountAlias
- createAccountAlias_accountAlias :: Lens' CreateAccountAlias Text
- data CreateAccountAliasResponse = CreateAccountAliasResponse' {
- newCreateAccountAliasResponse :: CreateAccountAliasResponse
Creating a Request
data CreateAccountAlias Source #
See: newCreateAccountAlias
smart constructor.
CreateAccountAlias' | |
|
Instances
newCreateAccountAlias Source #
Create a value of CreateAccountAlias
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:CreateAccountAlias'
, createAccountAlias_accountAlias
- The account alias to create.
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
createAccountAlias_accountAlias :: Lens' CreateAccountAlias Text Source #
The account alias to create.
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 CreateAccountAliasResponse Source #
See: newCreateAccountAliasResponse
smart constructor.
Instances
newCreateAccountAliasResponse :: CreateAccountAliasResponse Source #
Create a value of CreateAccountAliasResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.