list_configuration_revisions

list_configuration_revisions(**kwargs)

Returns a list of all the MSK configurations in this Region.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The Amazon Resource Name (ARN) that uniquely identifies an MSK configuration and all of its revisions.

  • MaxResults (integer) -- The maximum number of results to return in the response. If there are more results, the response includes a NextToken parameter.
  • NextToken (string) -- The paginated results marker. When the result of the operation is truncated, the call returns NextToken in the response. To get the next batch, provide this token in your next request.
Return type

dict

Returns

Response Syntax

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

Response Structure

  • (dict) --

    200 response

    • NextToken (string) --

      Paginated results marker.

    • Revisions (list) --

      List of ConfigurationRevision objects.

      • (dict) --

        Describes a configuration revision.

        • CreationTime (datetime) --

          The time when the configuration revision was created.

        • Description (string) --

          The description of the configuration revision.

        • Revision (integer) --

          The revision number.

Exceptions

  • Kafka.Client.exceptions.BadRequestException
  • Kafka.Client.exceptions.UnauthorizedException
  • Kafka.Client.exceptions.InternalServerErrorException
  • Kafka.Client.exceptions.ForbiddenException
  • Kafka.Client.exceptions.NotFoundException
  • Kafka.Client.exceptions.ServiceUnavailableException