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.ListBrokers

Description

Returns a list of all brokers.

This operation returns paginated results.

Synopsis

Creating a Request

data ListBrokers Source #

See: newListBrokers smart constructor.

Constructors

ListBrokers' 

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.

Instances

Instances details
Eq ListBrokers Source # 
Instance details

Defined in Amazonka.MQ.ListBrokers

Read ListBrokers Source # 
Instance details

Defined in Amazonka.MQ.ListBrokers

Show ListBrokers Source # 
Instance details

Defined in Amazonka.MQ.ListBrokers

Generic ListBrokers Source # 
Instance details

Defined in Amazonka.MQ.ListBrokers

Associated Types

type Rep ListBrokers :: Type -> Type #

NFData ListBrokers Source # 
Instance details

Defined in Amazonka.MQ.ListBrokers

Methods

rnf :: ListBrokers -> () #

Hashable ListBrokers Source # 
Instance details

Defined in Amazonka.MQ.ListBrokers

AWSPager ListBrokers Source # 
Instance details

Defined in Amazonka.MQ.ListBrokers

AWSRequest ListBrokers Source # 
Instance details

Defined in Amazonka.MQ.ListBrokers

Associated Types

type AWSResponse ListBrokers #

ToHeaders ListBrokers Source # 
Instance details

Defined in Amazonka.MQ.ListBrokers

Methods

toHeaders :: ListBrokers -> [Header] #

ToPath ListBrokers Source # 
Instance details

Defined in Amazonka.MQ.ListBrokers

ToQuery ListBrokers Source # 
Instance details

Defined in Amazonka.MQ.ListBrokers

type Rep ListBrokers Source # 
Instance details

Defined in Amazonka.MQ.ListBrokers

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

Defined in Amazonka.MQ.ListBrokers

newListBrokers :: ListBrokers Source #

Create a value of ListBrokers 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:ListBrokers', listBrokers_nextToken - The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.

$sel:maxResults:ListBrokers', listBrokers_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.

Request Lenses

listBrokers_nextToken :: Lens' ListBrokers (Maybe Text) Source #

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

listBrokers_maxResults :: Lens' ListBrokers (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.

Destructuring the Response

data ListBrokersResponse Source #

See: newListBrokersResponse smart constructor.

Constructors

ListBrokersResponse' 

Fields

Instances

Instances details
Eq ListBrokersResponse Source # 
Instance details

Defined in Amazonka.MQ.ListBrokers

Read ListBrokersResponse Source # 
Instance details

Defined in Amazonka.MQ.ListBrokers

Show ListBrokersResponse Source # 
Instance details

Defined in Amazonka.MQ.ListBrokers

Generic ListBrokersResponse Source # 
Instance details

Defined in Amazonka.MQ.ListBrokers

Associated Types

type Rep ListBrokersResponse :: Type -> Type #

NFData ListBrokersResponse Source # 
Instance details

Defined in Amazonka.MQ.ListBrokers

Methods

rnf :: ListBrokersResponse -> () #

type Rep ListBrokersResponse Source # 
Instance details

Defined in Amazonka.MQ.ListBrokers

type Rep ListBrokersResponse = D1 ('MetaData "ListBrokersResponse" "Amazonka.MQ.ListBrokers" "libZSservicesZSamazonka-mqZSamazonka-mq" 'False) (C1 ('MetaCons "ListBrokersResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "brokerSummaries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [BrokerSummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListBrokersResponse Source #

Create a value of ListBrokersResponse 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:ListBrokers', listBrokersResponse_nextToken - The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.

$sel:brokerSummaries:ListBrokersResponse', listBrokersResponse_brokerSummaries - A list of information about all brokers.

$sel:httpStatus:ListBrokersResponse', listBrokersResponse_httpStatus - The response's http status code.

Response Lenses

listBrokersResponse_nextToken :: Lens' ListBrokersResponse (Maybe Text) Source #

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