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 |
Returns information about an ActiveMQ user.
Synopsis
- describeUser :: Text -> Text -> DescribeUser
- data DescribeUser
- duUsername :: Lens' DescribeUser Text
- duBrokerId :: Lens' DescribeUser Text
- describeUserResponse :: Int -> DescribeUserResponse
- data DescribeUserResponse
- dursGroups :: Lens' DescribeUserResponse [Text]
- dursPending :: Lens' DescribeUserResponse (Maybe UserPendingChanges)
- dursConsoleAccess :: Lens' DescribeUserResponse (Maybe Bool)
- dursUsername :: Lens' DescribeUserResponse (Maybe Text)
- dursBrokerId :: Lens' DescribeUserResponse (Maybe Text)
- dursResponseStatus :: Lens' DescribeUserResponse Int
Creating a Request
Creates a value of DescribeUser
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
duUsername
- 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.duBrokerId
- The unique ID that Amazon MQ generates for the broker.
data DescribeUser Source #
See: describeUser
smart constructor.
Instances
Request Lenses
duUsername :: 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.
duBrokerId :: Lens' DescribeUser Text Source #
The unique ID that Amazon MQ generates for the broker.
Destructuring the Response
Creates a value of DescribeUserResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dursGroups
- 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.dursPending
- The status of the changes pending for the ActiveMQ user.dursConsoleAccess
- Enables access to the the ActiveMQ Web Console for the ActiveMQ user.dursUsername
- 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.dursBrokerId
- Required. The unique ID that Amazon MQ generates for the broker.dursResponseStatus
- -- | The response status code.
data DescribeUserResponse Source #
See: describeUserResponse
smart constructor.
Instances
Response Lenses
dursGroups :: Lens' DescribeUserResponse [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.
dursPending :: Lens' DescribeUserResponse (Maybe UserPendingChanges) Source #
The status of the changes pending for the ActiveMQ user.
dursConsoleAccess :: Lens' DescribeUserResponse (Maybe Bool) Source #
Enables access to the the ActiveMQ Web Console for the ActiveMQ user.
dursUsername :: 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.
dursBrokerId :: Lens' DescribeUserResponse (Maybe Text) Source #
Required. The unique ID that Amazon MQ generates for the broker.
dursResponseStatus :: Lens' DescribeUserResponse Int Source #
- - | The response status code.