Returns a list of Batch jobs that require a specific consumable resource
Source:R/batch_operations.R
batch_list_jobs_by_consumable_resource.RdReturns a list of Batch jobs that require a specific consumable resource.
See https://www.paws-r-sdk.com/docs/batch_list_jobs_by_consumable_resource/ for full documentation.
Usage
batch_list_jobs_by_consumable_resource(
consumableResource,
filters = NULL,
maxResults = NULL,
nextToken = NULL
)Arguments
- consumableResource
[required] The name or ARN of the consumable resource.
- filters
The filters to apply to the job list query. If used, only those jobs requiring the specified consumable resource (
consumableResource) and that match the value of the filters are listed. The filter names and values can be:name:
JOB_STATUSvalues:
SUBMITTED | PENDING | RUNNABLE | STARTING | RUNNING | SUCCEEDED | FAILEDname:
JOB_NAMEThe values are case-insensitive matches for the job name. If a filter value ends with an asterisk (), it matches any job name that begins with the string before the ''.
- maxResults
The maximum number of results returned by
list_jobs_by_consumable_resourcein paginated output. When this parameter is used,list_jobs_by_consumable_resourceonly returnsmaxResultsresults in a single page and anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherlist_jobs_by_consumable_resourcerequest with the returnednextTokenvalue. This value can be between 1 and 100. If this parameter isn't used, thenlist_jobs_by_consumable_resourcereturns up to 100 results and anextTokenvalue if applicable.- nextToken
The
nextTokenvalue returned from a previous paginatedlist_jobs_by_consumable_resourcerequest 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.