**To create an Amazon S3 batch operations job** The following ``create-job`` example creates an Amazon S3 batch operations job to tag objects as ``confidential` in the bucket ``employee-records``. :: aws s3control create-job \ --account-id 123456789012 \ --operation '{"S3PutObjectTagging": { "TagSet": [{"Key":"confidential", "Value":"true"}] }}' \ --report '{"Bucket":"arn:aws:s3:::employee-records-logs","Prefix":"batch-op-create-job", "Format":"Report_CSV_20180820","Enabled":true,"ReportScope":"AllTasks"}' \ --manifest '{"Spec":{"Format":"S3BatchOperations_CSV_20180820","Fields":["Bucket","Key"]},"Location":{"ObjectArn":"arn:aws:s3:::employee-records-logs/inv-report/7a6a9be4-072c-407e-85a2-ec3e982f773e.csv","ETag":"69f52a4e9f797e987155d9c8f5880897"}}' \ --priority 42 \ --role-arn arn:aws:iam::123456789012:role/S3BatchJobRole Output:: { "JobId": "93735294-df46-44d5-8638-6356f335324e" }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
create-access-point.rst | File | 694 B | 0644 |
|
create-job.rst | File | 970 B | 0644 |
|
delete-access-point-policy.rst | File | 676 B | 0644 |
|
delete-access-point.rst | File | 625 B | 0644 |
|
delete-public-access-block.rst | File | 295 B | 0644 |
|
describe-job.rst | File | 1.99 KB | 0644 |
|
get-access-point-policy-status.rst | File | 959 B | 0644 |
|
get-access-point-policy.rst | File | 939 B | 0644 |
|
get-access-point.rst | File | 1.02 KB | 0644 |
|
get-multi-region-access-point-routes.rst | File | 867 B | 0644 |
|
get-public-access-block.rst | File | 481 B | 0644 |
|
list-access-points.rst | File | 2.15 KB | 0644 |
|
list-jobs.rst | File | 1.19 KB | 0644 |
|
put-access-point-policy.rst | File | 1.29 KB | 0644 |
|
put-public-access-block.rst | File | 461 B | 0644 |
|
submit-multi-region-access-point-routes.rst | File | 640 B | 0644 |
|
update-job-priority.rst | File | 421 B | 0644 |
|
update-job-status.rst | File | 1.19 KB | 0644 |
|