| 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 |
Amazonka.SupportApp.GetAccountAlias
Description
Retrieves the alias from an 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 GetAccountAlias = GetAccountAlias' {
- newGetAccountAlias :: GetAccountAlias
- data GetAccountAliasResponse = GetAccountAliasResponse' {
- accountAlias :: Maybe Text
- httpStatus :: Int
- newGetAccountAliasResponse :: Int -> GetAccountAliasResponse
- getAccountAliasResponse_accountAlias :: Lens' GetAccountAliasResponse (Maybe Text)
- getAccountAliasResponse_httpStatus :: Lens' GetAccountAliasResponse Int
Creating a Request
data GetAccountAlias Source #
See: newGetAccountAlias smart constructor.
Constructors
| GetAccountAlias' | |
Instances
newGetAccountAlias :: GetAccountAlias Source #
Create a value of GetAccountAlias with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data GetAccountAliasResponse Source #
See: newGetAccountAliasResponse smart constructor.
Constructors
| GetAccountAliasResponse' | |
Fields
| |
Instances
newGetAccountAliasResponse Source #
Create a value of GetAccountAliasResponse 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:GetAccountAliasResponse', getAccountAliasResponse_accountAlias - An alias or short name for an Amazon Web Services account.
$sel:httpStatus:GetAccountAliasResponse', getAccountAliasResponse_httpStatus - The response's http status code.
Response Lenses
getAccountAliasResponse_accountAlias :: Lens' GetAccountAliasResponse (Maybe Text) Source #
An alias or short name for an Amazon Web Services account.
getAccountAliasResponse_httpStatus :: Lens' GetAccountAliasResponse Int Source #
The response's http status code.