libZSservicesZSamazonka-mqZSamazonka-mq
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.MQ.ListUsers

Description

Returns a list of all ActiveMQ users.

Synopsis

Creating a Request

data ListUsers Source #

See: newListUsers smart constructor.

Constructors

ListUsers' 

Fields

  • nextToken :: Maybe Text

    The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.

  • maxResults :: Maybe Natural

    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.

  • brokerId :: Text

    The unique ID that Amazon MQ generates for the broker.

Instances

Instances details
Eq ListUsers Source # 
Instance details

Defined in Amazonka.MQ.ListUsers

Read ListUsers Source # 
Instance details

Defined in Amazonka.MQ.ListUsers

Show ListUsers Source # 
Instance details

Defined in Amazonka.MQ.ListUsers

Generic ListUsers Source # 
Instance details

Defined in Amazonka.MQ.ListUsers

Associated Types

type Rep ListUsers :: Type -> Type #

NFData ListUsers Source # 
Instance details

Defined in Amazonka.MQ.ListUsers

Methods

rnf :: ListUsers -> () #

Hashable ListUsers Source # 
Instance details

Defined in Amazonka.MQ.ListUsers

AWSRequest ListUsers Source # 
Instance details

Defined in Amazonka.MQ.ListUsers

Associated Types

type AWSResponse ListUsers #

ToHeaders ListUsers Source # 
Instance details

Defined in Amazonka.MQ.ListUsers

Methods

toHeaders :: ListUsers -> [Header] #

ToPath ListUsers Source # 
Instance details

Defined in Amazonka.MQ.ListUsers

ToQuery ListUsers Source # 
Instance details

Defined in Amazonka.MQ.ListUsers

type Rep ListUsers Source # 
Instance details

Defined in Amazonka.MQ.ListUsers

type Rep ListUsers = D1 ('MetaData "ListUsers" "Amazonka.MQ.ListUsers" "libZSservicesZSamazonka-mqZSamazonka-mq" 'False) (C1 ('MetaCons "ListUsers'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "brokerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListUsers Source # 
Instance details

Defined in Amazonka.MQ.ListUsers

newListUsers Source #

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.

Constructors

ListUsersResponse' 

Fields

  • users :: Maybe [UserSummary]

    Required. The list of all ActiveMQ usernames for the specified broker. Does not apply to RabbitMQ brokers.

  • nextToken :: Maybe Text

    The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.

  • brokerId :: Maybe Text

    Required. The unique ID that Amazon MQ generates for the broker.

  • maxResults :: Maybe Natural

    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.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListUsersResponse Source # 
Instance details

Defined in Amazonka.MQ.ListUsers

Read ListUsersResponse Source # 
Instance details

Defined in Amazonka.MQ.ListUsers

Show ListUsersResponse Source # 
Instance details

Defined in Amazonka.MQ.ListUsers

Generic ListUsersResponse Source # 
Instance details

Defined in Amazonka.MQ.ListUsers

Associated Types

type Rep ListUsersResponse :: Type -> Type #

NFData ListUsersResponse Source # 
Instance details

Defined in Amazonka.MQ.ListUsers

Methods

rnf :: ListUsersResponse -> () #

type Rep ListUsersResponse Source # 
Instance details

Defined in Amazonka.MQ.ListUsers

type Rep ListUsersResponse = D1 ('MetaData "ListUsersResponse" "Amazonka.MQ.ListUsers" "libZSservicesZSamazonka-mqZSamazonka-mq" 'False) (C1 ('MetaCons "ListUsersResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "users") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [UserSummary])) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "brokerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newListUsersResponse Source #

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.