aws s3api put-object-tagging
This operation is not supported for directory buckets. AWS CLI reference
8 options Its page in the AWS CLI reference
Options
--bucketThe bucket name containing the object.--checksum-algorithmIndicates the algorithm used to create the checksum for the object when you use the SDK.--content-md5The MD5 hash for the request body.--expected-bucket-ownerThe account ID of the expected bucket owner.--keyName of the object key.--request-payerConfirms that the requester knows that she or he will be charged for the tagging object request.--taggingContainer for the TagSet and Tag elements--version-idThe versionId of the object that the tag-set will be added to.