describeDatasetExportJob method

Future<DescribeDatasetExportJobResponse> describeDatasetExportJob({
  1. required String jobId,
  2. required String workspaceName,
})

Retrieves information about a dataset export job.

May throw AccessDeniedException. May throw InternalFailureException. May throw InvalidRequestException. May throw ResourceNotFoundException. May throw ThrottlingException.

Parameter jobId : The unique identifier for the dataset export job.

Parameter workspaceName : The name of the workspace that contains the dataset export job.

Implementation

Future<DescribeDatasetExportJobResponse> describeDatasetExportJob({
  required String jobId,
  required String workspaceName,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/workspaces/${Uri.encodeComponent(workspaceName)}/dataset-export-jobs/${Uri.encodeComponent(jobId)}',
    hostPrefix: 'data.',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeDatasetExportJobResponse.fromJson(response);
}