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 |
Amazonka.Chime.DeleteAccount
Description
Deletes the specified Amazon Chime account. You must suspend all users
before deleting Team
account. You can use the BatchSuspendUser action
to dodo.
For EnterpriseLWA
and EnterpriseAD
accounts, you must release the
claimed domains for your Amazon Chime account before deletion. As soon
as you release the domain, all users under that account are suspended.
Deleted accounts appear in your Disabled
accounts list for 90 days. To
restore deleted account from your Disabled
accounts list, you must
contact AWS Support.
After 90 days, deleted accounts are permanently removed from your
Disabled
accounts list.
Synopsis
- data DeleteAccount = DeleteAccount' {}
- newDeleteAccount :: Text -> DeleteAccount
- deleteAccount_accountId :: Lens' DeleteAccount Text
- data DeleteAccountResponse = DeleteAccountResponse' {
- httpStatus :: Int
- newDeleteAccountResponse :: Int -> DeleteAccountResponse
- deleteAccountResponse_httpStatus :: Lens' DeleteAccountResponse Int
Creating a Request
data DeleteAccount Source #
See: newDeleteAccount
smart constructor.
Constructors
DeleteAccount' | |
Instances
Arguments
:: Text | |
-> DeleteAccount |
Create a value of DeleteAccount
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:DeleteAccount'
, deleteAccount_accountId
- The Amazon Chime account ID.
Request Lenses
deleteAccount_accountId :: Lens' DeleteAccount Text Source #
The Amazon Chime account ID.
Destructuring the Response
data DeleteAccountResponse Source #
See: newDeleteAccountResponse
smart constructor.
Constructors
DeleteAccountResponse' | |
Fields
|
Instances
newDeleteAccountResponse Source #
Create a value of DeleteAccountResponse
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:httpStatus:DeleteAccountResponse'
, deleteAccountResponse_httpStatus
- The response's http status code.
Response Lenses
deleteAccountResponse_httpStatus :: Lens' DeleteAccountResponse Int Source #
The response's http status code.