| 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.UpdateAccount
Description
Updates account details for the specified Amazon Chime account. Currently, only account name and default license updates are supported for this action.
Synopsis
- data UpdateAccount = UpdateAccount' {}
- newUpdateAccount :: Text -> UpdateAccount
- updateAccount_defaultLicense :: Lens' UpdateAccount (Maybe License)
- updateAccount_name :: Lens' UpdateAccount (Maybe Text)
- updateAccount_accountId :: Lens' UpdateAccount Text
- data UpdateAccountResponse = UpdateAccountResponse' {
- account :: Maybe Account
- httpStatus :: Int
- newUpdateAccountResponse :: Int -> UpdateAccountResponse
- updateAccountResponse_account :: Lens' UpdateAccountResponse (Maybe Account)
- updateAccountResponse_httpStatus :: Lens' UpdateAccountResponse Int
Creating a Request
data UpdateAccount Source #
See: newUpdateAccount smart constructor.
Constructors
| UpdateAccount' | |
Instances
Arguments
| :: Text | |
| -> UpdateAccount |
Create a value of UpdateAccount 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:
UpdateAccount, updateAccount_defaultLicense - The default license applied when you add users to an Amazon Chime
account.
UpdateAccount, updateAccount_name - The new name for the specified Amazon Chime account.
UpdateAccount, updateAccount_accountId - The Amazon Chime account ID.
Request Lenses
updateAccount_defaultLicense :: Lens' UpdateAccount (Maybe License) Source #
The default license applied when you add users to an Amazon Chime account.
updateAccount_name :: Lens' UpdateAccount (Maybe Text) Source #
The new name for the specified Amazon Chime account.
updateAccount_accountId :: Lens' UpdateAccount Text Source #
The Amazon Chime account ID.
Destructuring the Response
data UpdateAccountResponse Source #
See: newUpdateAccountResponse smart constructor.
Constructors
| UpdateAccountResponse' | |
Fields
| |
Instances
newUpdateAccountResponse Source #
Create a value of UpdateAccountResponse 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:UpdateAccountResponse', updateAccountResponse_account - The updated Amazon Chime account details.
$sel:httpStatus:UpdateAccountResponse', updateAccountResponse_httpStatus - The response's http status code.
Response Lenses
updateAccountResponse_account :: Lens' UpdateAccountResponse (Maybe Account) Source #
The updated Amazon Chime account details.
updateAccountResponse_httpStatus :: Lens' UpdateAccountResponse Int Source #
The response's http status code.