describeReportJob method

Future<DescribeReportJobOutput> describeReportJob({
  1. required String reportJobId,
})

Returns the details associated with creating a report as specified by its ReportJobId.

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

Parameter reportJobId : The identifier of the report job. A unique, randomly generated, Unicode, UTF-8 encoded string that is at most 1,024 bytes long. The report job ID cannot be edited.

Implementation

Future<DescribeReportJobOutput> describeReportJob({
  required String reportJobId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/audit/report-jobs/${Uri.encodeComponent(reportJobId)}',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeReportJobOutput.fromJson(response);
}