describeImport method

Future<DescribeImportResponse> describeImport({
  1. required String importId,
})

Gets information about a specific import.

May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter importId : The unique identifier of the import to describe.

Implementation

Future<DescribeImportResponse> describeImport({
  required String importId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/imports/${Uri.encodeComponent(importId)}',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeImportResponse.fromJson(response);
}