Returns a list of service jobs for a specified job queue
Source:R/batch_operations.R
batch_list_service_jobs.RdReturns a list of service jobs for a specified job queue.
See https://www.paws-r-sdk.com/docs/batch_list_service_jobs/ for full documentation.
Usage
batch_list_service_jobs(
jobQueue = NULL,
jobStatus = NULL,
maxResults = NULL,
nextToken = NULL,
filters = NULL
)Arguments
- jobQueue
The name or ARN of the job queue with which to list service jobs.
- jobStatus
The job status used to filter service jobs in the specified queue. If the
filtersparameter is specified, thejobStatusparameter is ignored and jobs with any status are returned. The exceptions are theSHARE_IDENTIFIERfilter andQUOTA_SHARE_NAMEfilter, which can be used withjobStatus. If you don't specify a status, onlyRUNNINGjobs are returned.The
SHARE_IDENTIFIERfilter orQUOTA_SHARE_NAMEfilter can be used with thejobStatusfield to filter results.- maxResults
The maximum number of results returned by
list_service_jobsin paginated output. When this parameter is used,list_service_jobsonly returnsmaxResultsresults in a single page and anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherlist_service_jobsrequest with the returnednextTokenvalue. This value can be between 1 and 100. If this parameter isn't used, thenlist_service_jobsreturns up to 100 results and anextTokenvalue if applicable.- nextToken
The
nextTokenvalue returned from a previous paginatedlist_service_jobsrequest wheremaxResultswas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue. This value isnullwhen there are no more results to return.Treat this token as an opaque identifier that's only used to retrieve the next items in a list and not for other programmatic purposes.
- filters
The filter to apply to the query. Only one filter can be used at a time. When the filter is used,
jobStatusis ignored with the exception thatSHARE_IDENTIFIERorQUOTA_SHARE_NAMEandjobStatuscan be used together. The results are sorted by thecreatedAtfield, with the most recent jobs being first.The
SHARE_IDENTIFIERorQUOTA_SHARE_NAMEfilter and thejobStatusfield can be used together to filter results.JOB_NAME
The value of the filter is a case-insensitive match for the job name. If the value ends with an asterisk (), the filter matches any job name that begins with the string before the ''. This corresponds to the
jobNamevalue. For example,test1matches bothTest1andtest1, andtest1*matches bothtest1andTest10. When theJOB_NAMEfilter is used, the results are grouped by the job name and version.BEFORE_CREATED_AT
The value for the filter is the time that's before the job was created. This corresponds to the
createdAtvalue. The value is a string representation of the number of milliseconds since 00:00:00 UTC (midnight) on January 1, 1970.AFTER_CREATED_AT
The value for the filter is the time that's after the job was created. This corresponds to the
createdAtvalue. The value is a string representation of the number of milliseconds since 00:00:00 UTC (midnight) on January 1, 1970.SHARE_IDENTIFIER
The value for the filter is the fairshare scheduling share identifier.
QUOTA_SHARE_NAME
The value for the filter is the quota management share name.