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 for directory buckets.
            
Sets the supplied tag-set to an object that already exists in a bucket. A tag is a key-value pair. For more information, see Object Tagging.
You can associate tags with an object by sending a PUT request against the tagging subresource that is associated with the object. You can retrieve tags by sending a GET request. For more information, see GetObjectTagging.
For tagging-related restrictions related to characters and encodings, see Tag Restrictions. Note that Amazon S3 limits the maximum number of tags to 10 tags per object.
            To use this operation, you must have permission to perform the s3:PutObjectTagging
            action. By default, the bucket owner has this permission and can grant this permission
            to others.
            
            To put tags of any other version, use the versionId query parameter. You also
            need permission for the s3:PutObjectVersionTagging action.
            
PutObjectTagging has the following special errors. For more Amazon S3 errors
            see, Error
            Responses.
            
InvalidTag - The tag provided was not a valid tag. This error can occur if
            the tag did not pass input validation. For more information, see Object
            Tagging.
            
MalformedXML - The XML provided does not match the schema.
            
OperationAborted - A conflicting conditional action is currently in progress
            against this resource. Please try again.
            
InternalError - The service was unable to apply the provided tag to the object.
            
            The following operations are related to PutObjectTagging:
            
            You must URL encode any signed header values that contain spaces. For example, if
            your header value is my file.txt, containing two spaces after my, you
            must URL encode this value to my%20%20file.txt.
            
This is an asynchronous operation using the standard naming convention for .NET 4.5 or higher. For .NET 3.5 the operation is implemented as a pair of methods using the standard naming convention of BeginPutObjectTagging and EndPutObjectTagging.
Namespace: Amazon.S3
Assembly: AWSSDK.S3.dll
Version: 3.x.y.z
public abstract Task<PutObjectTaggingResponse> PutObjectTaggingAsync( PutObjectTaggingRequest request, CancellationToken cancellationToken )
Container for the necessary parameters to execute the PutObjectTagging service method.
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
.NET: 
Supported in: 8.0 and newer, Core 3.1
.NET Standard: 
Supported in: 2.0
.NET Framework: 
Supported in: 4.5 and newer