Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Creates or updates an individual alias for each Amazon Web Services account ID. The alias appears in the Amazon Web Services Support App page of the Amazon Web Services Support Center. The alias also appears in Slack messages from the Amazon Web Services Support App.
Synopsis
- data PutAccountAlias = PutAccountAlias' {
- accountAlias :: Text
- newPutAccountAlias :: Text -> PutAccountAlias
- putAccountAlias_accountAlias :: Lens' PutAccountAlias Text
- data PutAccountAliasResponse = PutAccountAliasResponse' {
- httpStatus :: Int
- newPutAccountAliasResponse :: Int -> PutAccountAliasResponse
- putAccountAliasResponse_httpStatus :: Lens' PutAccountAliasResponse Int
Creating a Request
data PutAccountAlias Source #
See: newPutAccountAlias
smart constructor.
PutAccountAlias' | |
|
Instances
Create a value of PutAccountAlias
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:PutAccountAlias'
, putAccountAlias_accountAlias
- An alias or short name for an Amazon Web Services account.
Request Lenses
putAccountAlias_accountAlias :: Lens' PutAccountAlias Text Source #
An alias or short name for an Amazon Web Services account.
Destructuring the Response
data PutAccountAliasResponse Source #
See: newPutAccountAliasResponse
smart constructor.
PutAccountAliasResponse' | |
|
Instances
newPutAccountAliasResponse Source #
Create a value of PutAccountAliasResponse
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:httpStatus:PutAccountAliasResponse'
, putAccountAliasResponse_httpStatus
- The response's http status code.
Response Lenses
putAccountAliasResponse_httpStatus :: Lens' PutAccountAliasResponse Int Source #
The response's http status code.