getBackendJob method

Future<GetBackendJobResponse> getBackendJob({
  1. required String appId,
  2. required String backendEnvironmentName,
  3. required String jobId,
})

Returns information about a specific job.

May throw BadRequestException. May throw GatewayTimeoutException. May throw NotFoundException. May throw TooManyRequestsException.

Parameter appId : The app ID.

Parameter backendEnvironmentName : The name of the backend environment.

Parameter jobId : The ID for the job.

Implementation

Future<GetBackendJobResponse> getBackendJob({
  required String appId,
  required String backendEnvironmentName,
  required String jobId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/backend/${Uri.encodeComponent(appId)}/job/${Uri.encodeComponent(backendEnvironmentName)}/${Uri.encodeComponent(jobId)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetBackendJobResponse.fromJson(response);
}