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 |
Returns information about an ActiveMQ user.
Synopsis
- data DescribeUser = DescribeUser' {}
- newDescribeUser :: Text -> Text -> DescribeUser
- describeUser_username :: Lens' DescribeUser Text
- describeUser_brokerId :: Lens' DescribeUser Text
- data DescribeUserResponse = DescribeUserResponse' {}
- newDescribeUserResponse :: Int -> DescribeUserResponse
- describeUserResponse_groups :: Lens' DescribeUserResponse (Maybe [Text])
- describeUserResponse_pending :: Lens' DescribeUserResponse (Maybe UserPendingChanges)
- describeUserResponse_consoleAccess :: Lens' DescribeUserResponse (Maybe Bool)
- describeUserResponse_username :: Lens' DescribeUserResponse (Maybe Text)
- describeUserResponse_brokerId :: Lens' DescribeUserResponse (Maybe Text)
- describeUserResponse_httpStatus :: Lens' DescribeUserResponse Int
Creating a Request
data DescribeUser Source #
See: newDescribeUser
smart constructor.
Instances
Create a value of DescribeUser
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:username:DescribeUser'
, describeUser_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:DescribeUser'
, describeUser_brokerId
- The unique ID that Amazon MQ generates for the broker.
Request Lenses
describeUser_username :: Lens' DescribeUser 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.
describeUser_brokerId :: Lens' DescribeUser Text Source #
The unique ID that Amazon MQ generates for the broker.
Destructuring the Response
data DescribeUserResponse Source #
See: newDescribeUserResponse
smart constructor.
DescribeUserResponse' | |
|
Instances
newDescribeUserResponse Source #
Create a value of DescribeUserResponse
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:DescribeUserResponse'
, describeUserResponse_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:pending:DescribeUserResponse'
, describeUserResponse_pending
- The status of the changes pending for the ActiveMQ user.
$sel:consoleAccess:DescribeUserResponse'
, describeUserResponse_consoleAccess
- Enables access to the the ActiveMQ Web Console for the ActiveMQ user.
$sel:username:DescribeUser'
, describeUserResponse_username
- 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.
$sel:brokerId:DescribeUser'
, describeUserResponse_brokerId
- Required. The unique ID that Amazon MQ generates for the broker.
$sel:httpStatus:DescribeUserResponse'
, describeUserResponse_httpStatus
- The response's http status code.
Response Lenses
describeUserResponse_groups :: Lens' DescribeUserResponse (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.
describeUserResponse_pending :: Lens' DescribeUserResponse (Maybe UserPendingChanges) Source #
The status of the changes pending for the ActiveMQ user.
describeUserResponse_consoleAccess :: Lens' DescribeUserResponse (Maybe Bool) Source #
Enables access to the the ActiveMQ Web Console for the ActiveMQ user.
describeUserResponse_username :: Lens' DescribeUserResponse (Maybe 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.
describeUserResponse_brokerId :: Lens' DescribeUserResponse (Maybe Text) Source #
Required. The unique ID that Amazon MQ generates for the broker.
describeUserResponse_httpStatus :: Lens' DescribeUserResponse Int Source #
The response's http status code.