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 |
Removes the suspension from up to 50 previously suspended users for the
specified Amazon Chime EnterpriseLWA
account. Only users on
EnterpriseLWA
accounts can be unsuspended using this action. For more
information about different account types, see
Managing Your Amazon Chime Accounts
in the account types, in the Amazon Chime Administration Guide.
Previously suspended users who are unsuspended using this action are
returned to Registered
status. Users who are not previously suspended
are ignored.
Synopsis
- data BatchUnsuspendUser = BatchUnsuspendUser' {
- accountId :: Text
- userIdList :: [Text]
- newBatchUnsuspendUser :: Text -> BatchUnsuspendUser
- batchUnsuspendUser_accountId :: Lens' BatchUnsuspendUser Text
- batchUnsuspendUser_userIdList :: Lens' BatchUnsuspendUser [Text]
- data BatchUnsuspendUserResponse = BatchUnsuspendUserResponse' {
- userErrors :: Maybe [UserError]
- httpStatus :: Int
- newBatchUnsuspendUserResponse :: Int -> BatchUnsuspendUserResponse
- batchUnsuspendUserResponse_userErrors :: Lens' BatchUnsuspendUserResponse (Maybe [UserError])
- batchUnsuspendUserResponse_httpStatus :: Lens' BatchUnsuspendUserResponse Int
Creating a Request
data BatchUnsuspendUser Source #
See: newBatchUnsuspendUser
smart constructor.
BatchUnsuspendUser' | |
|
Instances
newBatchUnsuspendUser Source #
Create a value of BatchUnsuspendUser
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:BatchUnsuspendUser'
, batchUnsuspendUser_accountId
- The Amazon Chime account ID.
$sel:userIdList:BatchUnsuspendUser'
, batchUnsuspendUser_userIdList
- The request containing the user IDs to unsuspend.
Request Lenses
batchUnsuspendUser_accountId :: Lens' BatchUnsuspendUser Text Source #
The Amazon Chime account ID.
batchUnsuspendUser_userIdList :: Lens' BatchUnsuspendUser [Text] Source #
The request containing the user IDs to unsuspend.
Destructuring the Response
data BatchUnsuspendUserResponse Source #
See: newBatchUnsuspendUserResponse
smart constructor.
BatchUnsuspendUserResponse' | |
|
Instances
newBatchUnsuspendUserResponse Source #
Create a value of BatchUnsuspendUserResponse
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:userErrors:BatchUnsuspendUserResponse'
, batchUnsuspendUserResponse_userErrors
- If the BatchUnsuspendUser action fails for one or more of the user IDs
in the request, a list of the user IDs is returned, along with error
codes and error messages.
$sel:httpStatus:BatchUnsuspendUserResponse'
, batchUnsuspendUserResponse_httpStatus
- The response's http status code.
Response Lenses
batchUnsuspendUserResponse_userErrors :: Lens' BatchUnsuspendUserResponse (Maybe [UserError]) Source #
If the BatchUnsuspendUser action fails for one or more of the user IDs in the request, a list of the user IDs is returned, along with error codes and error messages.
batchUnsuspendUserResponse_httpStatus :: Lens' BatchUnsuspendUserResponse Int Source #
The response's http status code.