describeScanJob method

Future<DescribeScanJobOutput> describeScanJob({
  1. required String scanJobId,
})

Returns scan job details for the specified ScanJobID.

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

Parameter scanJobId : Uniquely identifies a request to Backup to scan a resource.

Implementation

Future<DescribeScanJobOutput> describeScanJob({
  required String scanJobId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/scan/jobs/${Uri.encodeComponent(scanJobId)}',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeScanJobOutput.fromJson(response);
}