describeConfigurationRevision method

Future<DescribeConfigurationRevisionResponse> describeConfigurationRevision({
  1. required String configurationId,
  2. required String configurationRevision,
})

Returns the specified configuration revision for 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.

Parameter configurationRevision : The revision of the configuration.

Implementation

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