put_job_tagging
(**kwargs)¶Sets the supplied tag-set on an S3 Batch Operations job.
A tag is a key-value pair. You can associate S3 Batch Operations tags with any job by sending a PUT request against the tagging subresource that is associated with the job. To modify the existing tag set, you can either replace the existing tag set entirely, or make changes within the existing tag set by retrieving the existing tag set using GetJobTagging, modify that tag set, and use this action to replace the tag set with the one you modified. For more information, see Controlling access and labeling jobs using tags in the Amazon S3 User Guide .
Note
To use this action, you must have permission to perform the s3:PutJobTagging
action.
Related actions include:
See also: AWS API Documentation
Request Syntax
response = client.put_job_tagging(
AccountId='string',
JobId='string',
Tags=[
{
'Key': 'string',
'Value': 'string'
},
]
)
[REQUIRED]
The Amazon Web Services account ID associated with the S3 Batch Operations job.
[REQUIRED]
The ID for the S3 Batch Operations job whose tags you want to replace.
[REQUIRED]
The set of tags to associate with the S3 Batch Operations job.
A container for a key-value name pair.
Key of the tag
Value of the tag
dict
Response Syntax
{}
Response Structure
Exceptions
S3Control.Client.exceptions.InternalServiceException
S3Control.Client.exceptions.TooManyRequestsException
S3Control.Client.exceptions.NotFoundException
S3Control.Client.exceptions.TooManyTagsException