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.
Sets the storage class for the S3 Object's Version to the value specified.
Namespace: Amazon.S3.Util
Assembly: AWSSDK.S3.dll
Version: 3.x.y.z
public void SetObjectStorageClass(
IAmazonS3 s3Client,
String bucketName,
String key,
String version,
S3StorageClass sClass
)
The Amazon S3 Client to use for S3 specific operations.
The name of the bucket in which the key is stored
The key of the S3 Object whose storage class needs changing
The version of the S3 Object whose storage class needs changing
The new Storage Class for the object
.NET Framework:
Supported in: 4.5 and newer, 3.5