Deleting the tags from an S3 Batch Operations job - Amazon Simple Storage Service
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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-id Example-e25a-4ed2-8bee-7f8ed7fc2f1c \ --region us-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); }