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 a list of all ActiveMQ users.
Synopsis
- data ListUsers = ListUsers' {}
- newListUsers :: Text -> ListUsers
- listUsers_nextToken :: Lens' ListUsers (Maybe Text)
- listUsers_maxResults :: Lens' ListUsers (Maybe Natural)
- listUsers_brokerId :: Lens' ListUsers Text
- data ListUsersResponse = ListUsersResponse' {
- users :: Maybe [UserSummary]
- nextToken :: Maybe Text
- brokerId :: Maybe Text
- maxResults :: Maybe Natural
- httpStatus :: Int
- newListUsersResponse :: Int -> ListUsersResponse
- listUsersResponse_users :: Lens' ListUsersResponse (Maybe [UserSummary])
- listUsersResponse_nextToken :: Lens' ListUsersResponse (Maybe Text)
- listUsersResponse_brokerId :: Lens' ListUsersResponse (Maybe Text)
- listUsersResponse_maxResults :: Lens' ListUsersResponse (Maybe Natural)
- listUsersResponse_httpStatus :: Lens' ListUsersResponse Int
Creating a Request
See: newListUsers
smart constructor.
ListUsers' | |
|
Instances
Create a value of ListUsers
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:nextToken:ListUsers'
, listUsers_nextToken
- The token that specifies the next page of results Amazon MQ should
return. To request the first page, leave nextToken empty.
$sel:maxResults:ListUsers'
, listUsers_maxResults
- The maximum number of brokers that Amazon MQ can return per page (20 by
default). This value must be an integer from 5 to 100.
$sel:brokerId:ListUsers'
, listUsers_brokerId
- The unique ID that Amazon MQ generates for the broker.
Request Lenses
listUsers_nextToken :: 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.
listUsers_maxResults :: Lens' ListUsers (Maybe Natural) Source #
The maximum number of brokers that Amazon MQ can return per page (20 by default). This value must be an integer from 5 to 100.
listUsers_brokerId :: Lens' ListUsers Text Source #
The unique ID that Amazon MQ generates for the broker.
Destructuring the Response
data ListUsersResponse Source #
See: newListUsersResponse
smart constructor.
ListUsersResponse' | |
|
Instances
Create a value of ListUsersResponse
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:users:ListUsersResponse'
, listUsersResponse_users
- Required. The list of all ActiveMQ usernames for the specified broker.
Does not apply to RabbitMQ brokers.
$sel:nextToken:ListUsers'
, listUsersResponse_nextToken
- The token that specifies the next page of results Amazon MQ should
return. To request the first page, leave nextToken empty.
$sel:brokerId:ListUsers'
, listUsersResponse_brokerId
- Required. The unique ID that Amazon MQ generates for the broker.
$sel:maxResults:ListUsers'
, listUsersResponse_maxResults
- 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.
$sel:httpStatus:ListUsersResponse'
, listUsersResponse_httpStatus
- The response's http status code.
Response Lenses
listUsersResponse_users :: Lens' ListUsersResponse (Maybe [UserSummary]) Source #
Required. The list of all ActiveMQ usernames for the specified broker. Does not apply to RabbitMQ brokers.
listUsersResponse_nextToken :: 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.
listUsersResponse_brokerId :: Lens' ListUsersResponse (Maybe Text) Source #
Required. The unique ID that Amazon MQ generates for the broker.
listUsersResponse_maxResults :: Lens' ListUsersResponse (Maybe Natural) 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.
listUsersResponse_httpStatus :: Lens' ListUsersResponse Int Source #
The response's http status code.