| 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.Chime.GetAccount
Description
Retrieves details for the specified Amazon Chime account, such as account type and supported licenses.
Synopsis
- data GetAccount = GetAccount' {}
- newGetAccount :: Text -> GetAccount
- getAccount_accountId :: Lens' GetAccount Text
- data GetAccountResponse = GetAccountResponse' {
- account :: Maybe Account
- httpStatus :: Int
- newGetAccountResponse :: Int -> GetAccountResponse
- getAccountResponse_account :: Lens' GetAccountResponse (Maybe Account)
- getAccountResponse_httpStatus :: Lens' GetAccountResponse Int
Creating a Request
data GetAccount Source #
See: newGetAccount smart constructor.
Constructors
| GetAccount' | |
Instances
Arguments
| :: Text | |
| -> GetAccount |
Create a value of GetAccount 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:
GetAccount, getAccount_accountId - The Amazon Chime account ID.
Request Lenses
getAccount_accountId :: Lens' GetAccount Text Source #
The Amazon Chime account ID.
Destructuring the Response
data GetAccountResponse Source #
See: newGetAccountResponse smart constructor.
Constructors
| GetAccountResponse' | |
Fields
| |
Instances
newGetAccountResponse Source #
Arguments
| :: Int | |
| -> GetAccountResponse |
Create a value of GetAccountResponse 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:account:GetAccountResponse', getAccountResponse_account - The Amazon Chime account details.
$sel:httpStatus:GetAccountResponse', getAccountResponse_httpStatus - The response's http status code.
Response Lenses
getAccountResponse_account :: Lens' GetAccountResponse (Maybe Account) Source #
The Amazon Chime account details.
getAccountResponse_httpStatus :: Lens' GetAccountResponse Int Source #
The response's http status code.