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 a list of all ActiveMQ users.
Synopsis
- listUsers :: Text -> ListUsers
- data ListUsers
- luNextToken :: Lens' ListUsers (Maybe Text)
- luMaxResults :: Lens' ListUsers (Maybe Natural)
- luBrokerId :: Lens' ListUsers Text
- listUsersResponse :: Int -> ListUsersResponse
- data ListUsersResponse
- lursUsers :: Lens' ListUsersResponse [UserSummary]
- lursNextToken :: Lens' ListUsersResponse (Maybe Text)
- lursBrokerId :: Lens' ListUsersResponse (Maybe Text)
- lursMaxResults :: Lens' ListUsersResponse (Maybe Int)
- lursResponseStatus :: Lens' ListUsersResponse Int
Creating a Request
Creates a value of ListUsers
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
luNextToken
- The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.luMaxResults
- The maximum number of ActiveMQ users that can be returned per page (20 by default). This value must be an integer from 5 to 100.luBrokerId
- The unique ID that Amazon MQ generates for the broker.
See: listUsers
smart constructor.
Instances
Request Lenses
luNextToken :: Lens' ListUsers (Maybe Text) Source #
The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.
luMaxResults :: Lens' ListUsers (Maybe Natural) Source #
The maximum number of ActiveMQ users that can be returned per page (20 by default). This value must be an integer from 5 to 100.
Destructuring the Response
Creates a value of ListUsersResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lursUsers
- Required. The list of all ActiveMQ usernames for the specified broker.lursNextToken
- The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.lursBrokerId
- Required. The unique ID that Amazon MQ generates for the broker.lursMaxResults
- Required. The maximum number of ActiveMQ users that can be returned per page (20 by default). This value must be an integer from 5 to 100.lursResponseStatus
- -- | The response status code.
data ListUsersResponse Source #
See: listUsersResponse
smart constructor.
Instances
Response Lenses
lursUsers :: Lens' ListUsersResponse [UserSummary] Source #
Required. The list of all ActiveMQ usernames for the specified broker.
lursNextToken :: Lens' ListUsersResponse (Maybe Text) Source #
The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.
lursBrokerId :: Lens' ListUsersResponse (Maybe Text) Source #
Required. The unique ID that Amazon MQ generates for the broker.
lursMaxResults :: Lens' ListUsersResponse (Maybe Int) Source #
Required. The maximum number of ActiveMQ users that can be returned per page (20 by default). This value must be an integer from 5 to 100.
lursResponseStatus :: Lens' ListUsersResponse Int Source #
- - | The response status code.