List Jobs
| s3control_list_jobs | R Documentation |
Lists current S3 Batch Operations jobs as well as the jobs that have ended within the last 90 days for the Amazon Web Services account making the request¶
Description¶
Lists current S3 Batch Operations jobs as well as the jobs that have ended within the last 90 days for the Amazon Web Services account making the request. For more information, see S3 Batch Operations in the Amazon S3 User Guide.
Permissions¶
To use the list_jobs operation, you must have permission to perform
the s3:ListJobs action.
Related actions include:
-
create_job -
describe_job -
update_job_priority -
update_job_status
Usage¶
Arguments¶
AccountId[required] The Amazon Web Services account ID associated with the S3 Batch Operations job.
JobStatusesThe
List Jobsrequest returns jobs that match the statuses listed in this element.NextTokenA pagination token to request the next page of results. Use the token that Amazon S3 returned in the
NextTokenelement of theListJobsResultfrom the previousList Jobsrequest.MaxResultsThe maximum number of jobs that Amazon S3 will include in the
List Jobsresponse. If there are more jobs than this number, the response will include a pagination token in theNextTokenfield to enable you to retrieve the next page of results.
Value¶
A list with the following syntax:
list(
NextToken = "string",
Jobs = list(
list(
JobId = "string",
Description = "string",
Operation = "LambdaInvoke"|"S3PutObjectCopy"|"S3PutObjectAcl"|"S3PutObjectTagging"|"S3DeleteObjectTagging"|"S3InitiateRestoreObject"|"S3PutObjectLegalHold"|"S3PutObjectRetention"|"S3ReplicateObject",
Priority = 123,
Status = "Active"|"Cancelled"|"Cancelling"|"Complete"|"Completing"|"Failed"|"Failing"|"New"|"Paused"|"Pausing"|"Preparing"|"Ready"|"Suspended",
CreationTime = as.POSIXct(
"2015-01-01"
),
TerminationDate = as.POSIXct(
"2015-01-01"
),
ProgressSummary = list(
TotalNumberOfTasks = 123,
NumberOfTasksSucceeded = 123,
NumberOfTasksFailed = 123,
Timers = list(
ElapsedTimeInActiveSeconds = 123
)
)
)
)
)