To use this operation, you must have permission to perform the
s3:GetBucketTagging action. By default, the bucket owner has this
permission and can grant this permission to others.
GetBucketTagging has the following special error:
Error code: NoSuchTagSet
Description: There is no tag set associated with the bucket.
The following operations are related to GetBucketTagging:
Returns the tag set associated with the bucket.
To use this operation, you must have permission to perform the
s3:GetBucketTagging
action. By default, the bucket owner has this permission and can grant this permission to others.GetBucketTagging
has the following special error:Error code:
NoSuchTagSet
Description: There is no tag set associated with the bucket.
The following operations are related to
GetBucketTagging
:PutBucketTagging
DeleteBucketTagging
Example
Use a bare-bones client and the command you need to make an API call.
Param
GetBucketTaggingCommandInput
Returns
GetBucketTaggingCommandOutput
See
input
shape.response
shape.config
shape.Throws
S3ServiceException
Base exception class for all service exceptions from S3 service.
Example
To get tag set associated with a bucket