Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Updates the information for an ActiveMQ user.
- updateUser :: Text -> Text -> UpdateUser
- data UpdateUser
- uuGroups :: Lens' UpdateUser [Text]
- uuConsoleAccess :: Lens' UpdateUser (Maybe Bool)
- uuPassword :: Lens' UpdateUser (Maybe Text)
- uuUsername :: Lens' UpdateUser Text
- uuBrokerId :: Lens' UpdateUser Text
- updateUserResponse :: Int -> UpdateUserResponse
- data UpdateUserResponse
- uursResponseStatus :: Lens' UpdateUserResponse Int
Creating a Request
Creates a value of UpdateUser
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uuGroups
- 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.uuConsoleAccess
- Enables access to the the ActiveMQ Web Console for the ActiveMQ user.uuPassword
- 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.uuUsername
- Required. 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.uuBrokerId
- The unique ID that Amazon MQ generates for the broker.
data UpdateUser Source #
Updates the information for an ActiveMQ user.
See: updateUser
smart constructor.
Request Lenses
uuGroups :: Lens' UpdateUser [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.
uuConsoleAccess :: Lens' UpdateUser (Maybe Bool) Source #
Enables access to the the ActiveMQ Web Console for the ActiveMQ user.
uuPassword :: 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.
uuUsername :: Lens' UpdateUser Text Source #
Required. 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.
uuBrokerId :: Lens' UpdateUser Text Source #
The unique ID that Amazon MQ generates for the broker.
Destructuring the Response
Creates a value of UpdateUserResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uursResponseStatus
- -- | The response status code.
data UpdateUserResponse Source #
See: updateUserResponse
smart constructor.
Response Lenses
uursResponseStatus :: Lens' UpdateUserResponse Int Source #
- - | The response status code.