getJobRun method

Future<GetJobRunOutput> getJobRun({
  1. required String domainIdentifier,
  2. required String identifier,
})

The details of the job run.

May throw AccessDeniedException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter domainIdentifier : The ID of the domain.

Parameter identifier : The ID of the job run.

Implementation

Future<GetJobRunOutput> getJobRun({
  required String domainIdentifier,
  required String identifier,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/v2/domains/${Uri.encodeComponent(domainIdentifier)}/jobRuns/${Uri.encodeComponent(identifier)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetJobRunOutput.fromJson(response);
}