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 the information for an ActiveMQ user.
Synopsis
- data UpdateUser = UpdateUser' {}
- newUpdateUser :: Text -> Text -> UpdateUser
- updateUser_groups :: Lens' UpdateUser (Maybe [Text])
- updateUser_consoleAccess :: Lens' UpdateUser (Maybe Bool)
- updateUser_password :: Lens' UpdateUser (Maybe Text)
- updateUser_username :: Lens' UpdateUser Text
- updateUser_brokerId :: Lens' UpdateUser Text
- data UpdateUserResponse = UpdateUserResponse' {
- httpStatus :: Int
- newUpdateUserResponse :: Int -> UpdateUserResponse
- updateUserResponse_httpStatus :: Lens' UpdateUserResponse Int
Creating a Request
data UpdateUser Source #
Updates the information for an ActiveMQ user.
See: newUpdateUser
smart constructor.
UpdateUser' | |
|
Instances
Create a value of UpdateUser
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:groups:UpdateUser'
, updateUser_groups
- The list of groups (20 maximum) to which the ActiveMQ user belongs. This
value can contain only alphanumeric characters, dashes, periods,
underscores, and tildes (- . _ ~). This value must be 2-100 characters
long.
$sel:consoleAccess:UpdateUser'
, updateUser_consoleAccess
- Enables access to the the ActiveMQ Web Console for the ActiveMQ user.
$sel:password:UpdateUser'
, updateUser_password
- The password of the user. This value must be at least 12 characters
long, must contain at least 4 unique characters, and must not contain
commas, colons, or equal signs (,:=).
$sel:username:UpdateUser'
, updateUser_username
- The username of the ActiveMQ user. This value can contain only
alphanumeric characters, dashes, periods, underscores, and tildes (- . _
~). This value must be 2-100 characters long.
$sel:brokerId:UpdateUser'
, updateUser_brokerId
- The unique ID that Amazon MQ generates for the broker.
Request Lenses
updateUser_groups :: Lens' UpdateUser (Maybe [Text]) Source #
The list of groups (20 maximum) to which the ActiveMQ user belongs. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.
updateUser_consoleAccess :: Lens' UpdateUser (Maybe Bool) Source #
Enables access to the the ActiveMQ Web Console for the ActiveMQ user.
updateUser_password :: Lens' UpdateUser (Maybe Text) Source #
The password of the user. This value must be at least 12 characters long, must contain at least 4 unique characters, and must not contain commas, colons, or equal signs (,:=).
updateUser_username :: Lens' UpdateUser Text Source #
The username of the ActiveMQ user. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.
updateUser_brokerId :: Lens' UpdateUser Text Source #
The unique ID that Amazon MQ generates for the broker.
Destructuring the Response
data UpdateUserResponse Source #
See: newUpdateUserResponse
smart constructor.
UpdateUserResponse' | |
|
Instances
newUpdateUserResponse Source #
Create a value of UpdateUserResponse
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:UpdateUserResponse'
, updateUserResponse_httpStatus
- The response's http status code.
Response Lenses
updateUserResponse_httpStatus :: Lens' UpdateUserResponse Int Source #
The response's http status code.