describeConversionConfiguration method

Future<DescribeConversionConfigurationResponse> describeConversionConfiguration({
  1. required String migrationProjectIdentifier,
})

Returns configuration parameters for a schema conversion project.

May throw ResourceNotFoundFault.

Parameter migrationProjectIdentifier : The name or Amazon Resource Name (ARN) for the schema conversion project to describe.

Implementation

Future<DescribeConversionConfigurationResponse>
    describeConversionConfiguration({
  required String migrationProjectIdentifier,
}) async {
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.1',
    'X-Amz-Target': 'AmazonDMSv20160101.DescribeConversionConfiguration'
  };
  final jsonResponse = await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
    payload: {
      'MigrationProjectIdentifier': migrationProjectIdentifier,
    },
  );

  return DescribeConversionConfigurationResponse.fromJson(jsonResponse.body);
}