describePackageImportJob method

Future<DescribePackageImportJobResponse> describePackageImportJob({
  1. required String jobId,
})

Returns information about a package import job.

May throw AccessDeniedException. May throw ConflictException. May throw InternalServerException. May throw ValidationException.

Parameter jobId : The job's ID.

Implementation

Future<DescribePackageImportJobResponse> describePackageImportJob({
  required String jobId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/packages/import-jobs/${Uri.encodeComponent(jobId)}',
    exceptionFnMap: _exceptionFns,
  );
  return DescribePackageImportJobResponse.fromJson(response);
}