getJobsQueryResults method

Future<GetJobsQueryResultsResponse> getJobsQueryResults({
  1. required String id,
})

Retrieve a JSON array of up to twenty of your most recent jobs matched by a jobs query.

May throw BadRequestException. May throw ConflictException. May throw ForbiddenException. May throw InternalServerErrorException. May throw NotFoundException. May throw ServiceQuotaExceededException. May throw TooManyRequestsException.

Parameter id : The ID of the jobs query.

Implementation

Future<GetJobsQueryResultsResponse> getJobsQueryResults({
  required String id,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/2017-08-29/jobsQueries/${Uri.encodeComponent(id)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetJobsQueryResultsResponse.fromJson(response);
}