Returns the tag-set of an object. You send the GET request against the tagging
subresource associated with the object.
To use this operation, you must have permission to perform the
s3:GetObjectTagging action. By default, the GET action returns
information about current version of an object. For a versioned bucket, you can have
multiple versions of an object in your bucket. To retrieve tags of any other version, use
the versionId query parameter. You also need permission for the
s3:GetObjectVersionTagging action.
By default, the bucket owner has this permission and can grant this permission to
others.
For information about the Amazon S3 object tagging feature, see Object Tagging.
The following actions are related to GetObjectTagging:
Returns the tag-set of an object. You send the GET request against the tagging subresource associated with the object.
To use this operation, you must have permission to perform the
s3:GetObjectTagging
action. By default, the GET action returns information about current version of an object. For a versioned bucket, you can have multiple versions of an object in your bucket. To retrieve tags of any other version, use the versionId query parameter. You also need permission for thes3:GetObjectVersionTagging
action.By default, the bucket owner has this permission and can grant this permission to others.
For information about the Amazon S3 object tagging feature, see Object Tagging.
The following actions are related to
GetObjectTagging
:DeleteObjectTagging
GetObjectAttributes
PutObjectTagging
Example
Use a bare-bones client and the command you need to make an API call.
Param
GetObjectTaggingCommandInput
Returns
GetObjectTaggingCommandOutput
See
input
shape.response
shape.config
shape.Example
To retrieve tag set of a specific object version
Example
To retrieve tag set of an object