describeConfiguration method
Returns a description of this MSK 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.
Implementation
Future<DescribeConfigurationResponse> describeConfiguration({
required String arn,
}) async {
ArgumentError.checkNotNull(arn, 'arn');
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/v1/configurations/${Uri.encodeComponent(arn)}',
exceptionFnMap: _exceptionFns,
);
return DescribeConfigurationResponse.fromJson(response);
}