Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

list_configuration_revisions

list_configuration_revisions(**kwargs)

Returns a list of all revisions for the specified configuration.

See also: AWS API Documentation

Request Syntax

response = client.list_configuration_revisions(
    ConfigurationId='string',
    MaxResults=123,
    NextToken='string'
)
Parameters
  • ConfigurationId (string) --

    [REQUIRED]

    The unique ID that Amazon MQ generates for the configuration.

  • MaxResults (integer) -- 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 (string) -- The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.
Return type

dict

Returns

Response Syntax

{
    'ConfigurationId': 'string',
    'MaxResults': 123,
    'NextToken': 'string',
    'Revisions': [
        {
            'Created': datetime(2015, 1, 1),
            'Description': 'string',
            'Revision': 123
        },
    ]
}

Response Structure

  • (dict) --

    HTTP Status Code 200: OK.

    • ConfigurationId (string) --

      The unique ID that Amazon MQ generates for the configuration.

    • MaxResults (integer) --

      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 (string) --

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

    • Revisions (list) --

      The list of all revisions for the specified configuration.

      • (dict) --

        Returns information about the specified configuration revision.

        • Created (datetime) --

          Required. The date and time of the configuration revision.

        • Description (string) --

          The description of the configuration revision.

        • Revision (integer) --

          Required. The revision number of the configuration.

Exceptions

  • MQ.Client.exceptions.NotFoundException
  • MQ.Client.exceptions.BadRequestException
  • MQ.Client.exceptions.InternalServerErrorException
  • MQ.Client.exceptions.ForbiddenException