Kafka / Client / describe_configuration_revision

describe_configuration_revision#

Kafka.Client.describe_configuration_revision(**kwargs)#

Returns a description of this revision of the configuration.

See also: AWS API Documentation

Request Syntax

response = client.describe_configuration_revision(
    Arn='string',
    Revision=123
)
Parameters:
  • Arn (string) –

    [REQUIRED]

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

  • Revision (integer) –

    [REQUIRED]

    A string that uniquely identifies a revision of an MSK configuration.

Return type:

dict

Returns:

Response Syntax

{
    'Arn': 'string',
    'CreationTime': datetime(2015, 1, 1),
    'Description': 'string',
    'Revision': 123,
    'ServerProperties': b'bytes'
}

Response Structure

  • (dict) –

    200 response

    • Arn (string) –

      The Amazon Resource Name (ARN) of the configuration.

    • CreationTime (datetime) –

      The time when the configuration was created.

    • Description (string) –

      The description of the configuration.

    • Revision (integer) –

      The revision number.

    • ServerProperties (bytes) –

      Contents of the server.properties file. When using the API, you must ensure that the contents of the file are base64 encoded. When using the AWS Management Console, the SDK, or the AWS CLI, the contents of server.properties can be in plaintext.

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