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 |
Updates user details within the UpdateUserRequestItem object for up to
20 users for the specified Amazon Chime account. Currently, only
LicenseType
updates are supported for this action.
Synopsis
- data BatchUpdateUser = BatchUpdateUser' {}
- newBatchUpdateUser :: Text -> BatchUpdateUser
- batchUpdateUser_accountId :: Lens' BatchUpdateUser Text
- batchUpdateUser_updateUserRequestItems :: Lens' BatchUpdateUser [UpdateUserRequestItem]
- data BatchUpdateUserResponse = BatchUpdateUserResponse' {
- userErrors :: Maybe [UserError]
- httpStatus :: Int
- newBatchUpdateUserResponse :: Int -> BatchUpdateUserResponse
- batchUpdateUserResponse_userErrors :: Lens' BatchUpdateUserResponse (Maybe [UserError])
- batchUpdateUserResponse_httpStatus :: Lens' BatchUpdateUserResponse Int
Creating a Request
data BatchUpdateUser Source #
See: newBatchUpdateUser
smart constructor.
BatchUpdateUser' | |
|
Instances
Create a value of BatchUpdateUser
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:BatchUpdateUser'
, batchUpdateUser_accountId
- The Amazon Chime account ID.
$sel:updateUserRequestItems:BatchUpdateUser'
, batchUpdateUser_updateUserRequestItems
- The request containing the user IDs and details to update.
Request Lenses
batchUpdateUser_accountId :: Lens' BatchUpdateUser Text Source #
The Amazon Chime account ID.
batchUpdateUser_updateUserRequestItems :: Lens' BatchUpdateUser [UpdateUserRequestItem] Source #
The request containing the user IDs and details to update.
Destructuring the Response
data BatchUpdateUserResponse Source #
See: newBatchUpdateUserResponse
smart constructor.
BatchUpdateUserResponse' | |
|
Instances
newBatchUpdateUserResponse Source #
Create a value of BatchUpdateUserResponse
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:BatchUpdateUserResponse'
, batchUpdateUserResponse_userErrors
- If the BatchUpdateUser 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:BatchUpdateUserResponse'
, batchUpdateUserResponse_httpStatus
- The response's http status code.
Response Lenses
batchUpdateUserResponse_userErrors :: Lens' BatchUpdateUserResponse (Maybe [UserError]) Source #
If the BatchUpdateUser 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.
batchUpdateUserResponse_httpStatus :: Lens' BatchUpdateUserResponse Int Source #
The response's http status code.