getExportJob method

Future<GetExportJobResponse> getExportJob({
  1. required String jobId,
})

Provides information about an export job.

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

Parameter jobId : The export job ID.

Implementation

Future<GetExportJobResponse> getExportJob({
  required String jobId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/v2/email/export-jobs/${Uri.encodeComponent(jobId)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetExportJobResponse.fromJson(response);
}