amazonka-mq-2.0: Amazon MQ SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.MQ.ListConfigurationRevisions

Description

Returns a list of all revisions for the specified configuration.

Synopsis

Creating a Request

data ListConfigurationRevisions Source #

See: newListConfigurationRevisions smart constructor.

Constructors

ListConfigurationRevisions' 

Fields

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

  • nextToken :: Maybe Text

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

  • configurationId :: Text

    The unique ID that Amazon MQ generates for the configuration.

Instances

Instances details
ToHeaders ListConfigurationRevisions Source # 
Instance details

Defined in Amazonka.MQ.ListConfigurationRevisions

ToPath ListConfigurationRevisions Source # 
Instance details

Defined in Amazonka.MQ.ListConfigurationRevisions

ToQuery ListConfigurationRevisions Source # 
Instance details

Defined in Amazonka.MQ.ListConfigurationRevisions

AWSRequest ListConfigurationRevisions Source # 
Instance details

Defined in Amazonka.MQ.ListConfigurationRevisions

Generic ListConfigurationRevisions Source # 
Instance details

Defined in Amazonka.MQ.ListConfigurationRevisions

Associated Types

type Rep ListConfigurationRevisions :: Type -> Type #

Read ListConfigurationRevisions Source # 
Instance details

Defined in Amazonka.MQ.ListConfigurationRevisions

Show ListConfigurationRevisions Source # 
Instance details

Defined in Amazonka.MQ.ListConfigurationRevisions

NFData ListConfigurationRevisions Source # 
Instance details

Defined in Amazonka.MQ.ListConfigurationRevisions

Eq ListConfigurationRevisions Source # 
Instance details

Defined in Amazonka.MQ.ListConfigurationRevisions

Hashable ListConfigurationRevisions Source # 
Instance details

Defined in Amazonka.MQ.ListConfigurationRevisions

type AWSResponse ListConfigurationRevisions Source # 
Instance details

Defined in Amazonka.MQ.ListConfigurationRevisions

type Rep ListConfigurationRevisions Source # 
Instance details

Defined in Amazonka.MQ.ListConfigurationRevisions

type Rep ListConfigurationRevisions = D1 ('MetaData "ListConfigurationRevisions" "Amazonka.MQ.ListConfigurationRevisions" "amazonka-mq-2.0-3ebKNoK022m255Abw9OF0s" 'False) (C1 ('MetaCons "ListConfigurationRevisions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "configurationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newListConfigurationRevisions Source #

Create a value of ListConfigurationRevisions 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:

ListConfigurationRevisions, listConfigurationRevisions_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.

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

ListConfigurationRevisions, listConfigurationRevisions_configurationId - The unique ID that Amazon MQ generates for the configuration.

Request Lenses

listConfigurationRevisions_maxResults :: Lens' ListConfigurationRevisions (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.

listConfigurationRevisions_nextToken :: Lens' ListConfigurationRevisions (Maybe Text) Source #

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

listConfigurationRevisions_configurationId :: Lens' ListConfigurationRevisions Text Source #

The unique ID that Amazon MQ generates for the configuration.

Destructuring the Response

data ListConfigurationRevisionsResponse Source #

Constructors

ListConfigurationRevisionsResponse' 

Fields

  • configurationId :: Maybe Text

    The unique ID that Amazon MQ generates for the configuration.

  • maxResults :: Maybe Int

    The maximum number of configuration revisions that can be returned per page (20 by default). This value must be an integer from 5 to 100.

  • nextToken :: Maybe Text

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

  • revisions :: Maybe [ConfigurationRevision]

    The list of all revisions for the specified configuration.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListConfigurationRevisionsResponse Source # 
Instance details

Defined in Amazonka.MQ.ListConfigurationRevisions

Associated Types

type Rep ListConfigurationRevisionsResponse :: Type -> Type #

Read ListConfigurationRevisionsResponse Source # 
Instance details

Defined in Amazonka.MQ.ListConfigurationRevisions

Show ListConfigurationRevisionsResponse Source # 
Instance details

Defined in Amazonka.MQ.ListConfigurationRevisions

NFData ListConfigurationRevisionsResponse Source # 
Instance details

Defined in Amazonka.MQ.ListConfigurationRevisions

Eq ListConfigurationRevisionsResponse Source # 
Instance details

Defined in Amazonka.MQ.ListConfigurationRevisions

type Rep ListConfigurationRevisionsResponse Source # 
Instance details

Defined in Amazonka.MQ.ListConfigurationRevisions

type Rep ListConfigurationRevisionsResponse = D1 ('MetaData "ListConfigurationRevisionsResponse" "Amazonka.MQ.ListConfigurationRevisions" "amazonka-mq-2.0-3ebKNoK022m255Abw9OF0s" 'False) (C1 ('MetaCons "ListConfigurationRevisionsResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "configurationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "revisions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ConfigurationRevision])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newListConfigurationRevisionsResponse Source #

Create a value of ListConfigurationRevisionsResponse 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:

ListConfigurationRevisions, listConfigurationRevisionsResponse_configurationId - The unique ID that Amazon MQ generates for the configuration.

ListConfigurationRevisions, listConfigurationRevisionsResponse_maxResults - The maximum number of configuration revisions that can be returned per page (20 by default). This value must be an integer from 5 to 100.

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

$sel:revisions:ListConfigurationRevisionsResponse', listConfigurationRevisionsResponse_revisions - The list of all revisions for the specified configuration.

$sel:httpStatus:ListConfigurationRevisionsResponse', listConfigurationRevisionsResponse_httpStatus - The response's http status code.

Response Lenses

listConfigurationRevisionsResponse_configurationId :: Lens' ListConfigurationRevisionsResponse (Maybe Text) Source #

The unique ID that Amazon MQ generates for the configuration.

listConfigurationRevisionsResponse_maxResults :: Lens' ListConfigurationRevisionsResponse (Maybe Int) Source #

The maximum number of configuration revisions that can be returned per page (20 by default). This value must be an integer from 5 to 100.

listConfigurationRevisionsResponse_nextToken :: Lens' ListConfigurationRevisionsResponse (Maybe Text) Source #

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