describeCopyJob method

Future<DescribeCopyJobOutput> describeCopyJob({
  1. required String copyJobId,
})

Returns metadata associated with creating a copy of a resource.

May throw ResourceNotFoundException. May throw InvalidParameterValueException. May throw MissingParameterValueException. May throw ServiceUnavailableException.

Parameter copyJobId : Uniquely identifies a copy job.

Implementation

Future<DescribeCopyJobOutput> describeCopyJob({
  required String copyJobId,
}) async {
  ArgumentError.checkNotNull(copyJobId, 'copyJobId');
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/copy-jobs/${Uri.encodeComponent(copyJobId)}',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeCopyJobOutput.fromJson(response);
}