describeBulkImportJob method
Retrieves information about a bulk import job request. For more information, see Describe a bulk import job (CLI) in the Amazon Simple Storage Service User Guide.
May throw InternalFailureException.
May throw InvalidRequestException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
Parameter jobId :
The ID of the job.
Parameter workspaceName :
The name of the workspace.
Implementation
Future<DescribeBulkImportJobResponse> describeBulkImportJob({
required String jobId,
String? workspaceName,
}) async {
final $query = <String, List<String>>{
if (workspaceName != null) 'workspaceName': [workspaceName],
};
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/jobs/${Uri.encodeComponent(jobId)}',
queryParams: $query,
hostPrefix: 'data.',
exceptionFnMap: _exceptionFns,
);
return DescribeBulkImportJobResponse.fromJson(response);
}