AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

This operation is not supported by directory buckets.

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:

The following operations are related to GetBucketTagging:

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to GetBucketTaggingAsync.

Namespace: Amazon.S3
Assembly: AWSSDK.S3.dll
Version: 3.x.y.z

Syntax

C#
public abstract GetBucketTaggingResponse GetBucketTagging(
         GetBucketTaggingRequest request
)

Parameters

request
Type: Amazon.S3.Model.GetBucketTaggingRequest

Container for the necessary parameters to execute the GetBucketTagging service method.

Return Value


The response from the GetBucketTagging service method, as returned by S3.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

See Also