Deleting the tags from an S3 Batch Operations job
You can use these examples to delete the tags from an Amazon S3 Batch Operations job.
The following example deletes the tags from a Batch Operations job using the Amazon CLI.
aws \ s3control delete-job-tagging \ --account-id
123456789012
\ --job-idExample-e25a-4ed2-8bee-7f8ed7fc2f1c
\ --regionus-east-1
The following example deletes the tags of an S3 Batch Operations job using the Amazon SDK for Java.
public void deleteJobTagging(final AWSS3ControlClient awss3ControlClient, final String jobId) { final DeleteJobTaggingRequest deleteJobTaggingRequest = new DeleteJobTaggingRequest() .withJobId(jobId); final DeleteJobTaggingResult deleteJobTaggingResult = awss3ControlClient.deleteJobTagging(deleteJobTaggingRequest); }