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 Amazon Chime account under the administrator's AWS account.
Only Team
account types are currently supported for this action. For
more information about different account types, see
Managing Your Amazon Chime Accounts
in the Amazon Chime Administration Guide.
Synopsis
- data CreateAccount = CreateAccount' {}
- newCreateAccount :: Text -> CreateAccount
- createAccount_name :: Lens' CreateAccount Text
- data CreateAccountResponse = CreateAccountResponse' {
- account :: Maybe Account
- httpStatus :: Int
- newCreateAccountResponse :: Int -> CreateAccountResponse
- createAccountResponse_account :: Lens' CreateAccountResponse (Maybe Account)
- createAccountResponse_httpStatus :: Lens' CreateAccountResponse Int
Creating a Request
data CreateAccount Source #
See: newCreateAccount
smart constructor.
Instances
Create a value of CreateAccount
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:name:CreateAccount'
, createAccount_name
- The name of the Amazon Chime account.
Request Lenses
createAccount_name :: Lens' CreateAccount Text Source #
The name of the Amazon Chime account.
Destructuring the Response
data CreateAccountResponse Source #
See: newCreateAccountResponse
smart constructor.
CreateAccountResponse' | |
|
Instances
newCreateAccountResponse Source #
Create a value of CreateAccountResponse
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:CreateAccountResponse'
, createAccountResponse_account
- The Amazon Chime account details.
$sel:httpStatus:CreateAccountResponse'
, createAccountResponse_httpStatus
- The response's http status code.
Response Lenses
createAccountResponse_account :: Lens' CreateAccountResponse (Maybe Account) Source #
The Amazon Chime account details.
createAccountResponse_httpStatus :: Lens' CreateAccountResponse Int Source #
The response's http status code.