getBatchJobExecution method

Future<GetBatchJobExecutionResponse> getBatchJobExecution({
  1. required String applicationId,
  2. required String executionId,
})

Gets the details of a specific batch job execution for a specific application.

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

Parameter applicationId : The identifier of the application.

Parameter executionId : The unique identifier of the batch job execution.

Implementation

Future<GetBatchJobExecutionResponse> getBatchJobExecution({
  required String applicationId,
  required String executionId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/applications/${Uri.encodeComponent(applicationId)}/batch-job-executions/${Uri.encodeComponent(executionId)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetBatchJobExecutionResponse.fromJson(response);
}