describeConfigurationRevision method

Future<DescribeConfigurationRevisionResponse> describeConfigurationRevision({
  1. required String arn,
  2. required int revision,
})

Returns a description of this revision of the configuration.

May throw BadRequestException. May throw UnauthorizedException. May throw InternalServerErrorException. May throw ForbiddenException. May throw NotFoundException. May throw ServiceUnavailableException.

Parameter arn :

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

Parameter revision :

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

Implementation

Future<DescribeConfigurationRevisionResponse> describeConfigurationRevision({
  required String arn,
  required int revision,
}) async {
  ArgumentError.checkNotNull(arn, 'arn');
  ArgumentError.checkNotNull(revision, 'revision');
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/v1/configurations/${Uri.encodeComponent(arn)}/revisions/${Uri.encodeComponent(revision.toString())}',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeConfigurationRevisionResponse.fromJson(response);
}