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 |
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.
Instances
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:
$sel:accountId: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.
GetAccountResponse' | |
|
Instances
newGetAccountResponse Source #
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.