describeConfiguration method

Future<DescribeConfigurationResponse> describeConfiguration({
  1. required String configurationId,
})

Returns information about the specified configuration.

May throw NotFoundException. May throw BadRequestException. May throw InternalServerErrorException. May throw ForbiddenException.

Parameter configurationId : The unique ID that Amazon MQ generates for the configuration.

Implementation

Future<DescribeConfigurationResponse> describeConfiguration({
  required String configurationId,
}) async {
  ArgumentError.checkNotNull(configurationId, 'configurationId');
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/v1/configurations/${Uri.encodeComponent(configurationId)}',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeConfigurationResponse.fromJson(response);
}