AWS SDK Version 2 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.

.NET Framework 4.5
 

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonServiceClient
    Amazon.S3.AmazonS3Client
      Amazon.S3.Encryption.AmazonS3EncryptionClient

Namespace: Amazon.S3.Encryption
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class AmazonS3EncryptionClient : AmazonS3Client
         IAmazonS3, IDisposable

The AmazonS3EncryptionClient type exposes the following members

Constructors

NameDescription
Public Method AmazonS3EncryptionClient(EncryptionMaterials) Constructs AmazonS3EncryptionClient with the Encryption materials and credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <appSettings>
        <add key="AWSProfileName" value="AWS Default"/>
    </appSettings>
</configuration>
            
Public Method AmazonS3EncryptionClient(RegionEndpoint, EncryptionMaterials) Constructs AmazonS3EncryptionClient with the Encryption materials and credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <appSettings>
        <add key="AWSProfileName" value="AWS Default"/>
    </appSettings>
</configuration>
            
Public Method AmazonS3EncryptionClient(AmazonS3CryptoConfiguration, EncryptionMaterials) Constructs AmazonS3EncryptionClient with the Encryption materials, AmazonS3 CryptoConfiguration object and credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <appSettings>
        <add key="AWSProfileName" value="AWS Default"/>
    </appSettings>
</configuration>
            
Public Method AmazonS3EncryptionClient(AWSCredentials, EncryptionMaterials) Constructs AmazonS3EncryptionClient with AWS Credentials and Encryption materials.
Public Method AmazonS3EncryptionClient(AWSCredentials, RegionEndpoint, EncryptionMaterials) Constructs AmazonS3EncryptionClient with AWS Credentials, Region and Encryption materials
Public Method AmazonS3EncryptionClient(AWSCredentials, AmazonS3CryptoConfiguration, EncryptionMaterials) Constructs AmazonS3EncryptionClient with AWS Credentials, AmazonS3CryptoConfiguration Configuration object and Encryption materials
Public Method AmazonS3EncryptionClient(string, string, EncryptionMaterials) Constructs AmazonS3EncryptionClient with AWS Access Key ID, AWS Secret Key and Encryption materials
Public Method AmazonS3EncryptionClient(string, string, RegionEndpoint, EncryptionMaterials) Constructs AmazonS3EncryptionClient with AWS Access Key ID, AWS Secret Key, Region and Encryption materials
Public Method AmazonS3EncryptionClient(string, string, AmazonS3CryptoConfiguration, EncryptionMaterials) Constructs AmazonS3EncryptionClient with AWS Access Key ID, Secret Key, AmazonS3 CryptoConfiguration object and Encryption materials.
Public Method AmazonS3EncryptionClient(string, string, string, EncryptionMaterials) Constructs AmazonS3EncryptionClient with AWS Access Key ID, Secret Key, SessionToken and Encryption materials.
Public Method AmazonS3EncryptionClient(string, string, string, RegionEndpoint, EncryptionMaterials) Constructs AmazonS3EncryptionClient with AWS Access Key ID, Secret Key, SessionToken, Region and Encryption materials.
Public Method AmazonS3EncryptionClient(string, string, string, AmazonS3CryptoConfiguration, EncryptionMaterials) Constructs AmazonS3EncryptionClient with AWS Access Key ID, Secret Key, SessionToken AmazonS3EncryptionClient CryptoConfiguration object and Encryption materials.

Methods

NameDescription
Public Method AbortMultipartUpload(string, string, string) Inherited from Amazon.S3.AmazonS3Client.
Public Method AbortMultipartUpload(AbortMultipartUploadRequest) Inherited from Amazon.S3.AmazonS3Client.
Public Method AbortMultipartUploadAsync(AbortMultipartUploadRequest, CancellationToken) Inherited from Amazon.S3.AmazonS3Client.
Public Method CompleteMultipartUpload(CompleteMultipartUploadRequest) Inherited from Amazon.S3.AmazonS3Client.
Public Method CompleteMultipartUploadAsync(CompleteMultipartUploadRequest, CancellationToken) Inherited from Amazon.S3.AmazonS3Client.
Public Method CopyObject(string, string, string, string) Inherited from Amazon.S3.AmazonS3Client.
Public Method CopyObject(string, string, string, string, string) Inherited from Amazon.S3.AmazonS3Client.
Public Method CopyObject(CopyObjectRequest) Inherited from Amazon.S3.AmazonS3Client.
Public Method CopyObjectAsync(CopyObjectRequest, CancellationToken) Inherited from Amazon.S3.AmazonS3Client.
Public Method CopyPart(string, string, string, string, string) Inherited from Amazon.S3.AmazonS3Client.
Public Method CopyPart(string, string, string, string, string, string) Inherited from Amazon.S3.AmazonS3Client.
Public Method CopyPart(CopyPartRequest) Inherited from Amazon.S3.AmazonS3Client.
Public Method CopyPartAsync(CopyPartRequest, CancellationToken) Inherited from Amazon.S3.AmazonS3Client.
Public Method DeleteBucket(string) Inherited from Amazon.S3.AmazonS3Client.
Public Method DeleteBucket(DeleteBucketRequest) Inherited from Amazon.S3.AmazonS3Client.
Public Method DeleteBucketAsync(DeleteBucketRequest, CancellationToken) Inherited from Amazon.S3.AmazonS3Client.
Public Method DeleteBucketPolicy(string) Inherited from Amazon.S3.AmazonS3Client.
Public Method DeleteBucketPolicy(DeleteBucketPolicyRequest) Inherited from Amazon.S3.AmazonS3Client.
Public Method DeleteBucketPolicyAsync(DeleteBucketPolicyRequest, CancellationToken) Inherited from Amazon.S3.AmazonS3Client.
Public Method DeleteBucketReplication(DeleteBucketReplicationRequest) Inherited from Amazon.S3.AmazonS3Client.
Public Method DeleteBucketReplicationAsync(DeleteBucketReplicationRequest, CancellationToken) Inherited from Amazon.S3.AmazonS3Client.
Public Method DeleteBucketTagging(string) Inherited from Amazon.S3.AmazonS3Client.
Public Method DeleteBucketTagging(DeleteBucketTaggingRequest) Inherited from Amazon.S3.AmazonS3Client.
Public Method DeleteBucketTaggingAsync(DeleteBucketTaggingRequest, CancellationToken) Inherited from Amazon.S3.AmazonS3Client.
Public Method DeleteBucketWebsite(string) Inherited from Amazon.S3.AmazonS3Client.
Public Method DeleteBucketWebsite(DeleteBucketWebsiteRequest) Inherited from Amazon.S3.AmazonS3Client.
Public Method DeleteBucketWebsiteAsync(DeleteBucketWebsiteRequest, CancellationToken) Inherited from Amazon.S3.AmazonS3Client.
Public Method DeleteCORSConfiguration(string) Inherited from Amazon.S3.AmazonS3Client.
Public Method DeleteCORSConfiguration(DeleteCORSConfigurationRequest) Inherited from Amazon.S3.AmazonS3Client.
Public Method DeleteCORSConfigurationAsync(DeleteCORSConfigurationRequest, CancellationToken) Inherited from Amazon.S3.AmazonS3Client.
Public Method DeleteLifecycleConfiguration(string) Inherited from Amazon.S3.AmazonS3Client.
Public Method DeleteLifecycleConfiguration(DeleteLifecycleConfigurationRequest) Inherited from Amazon.S3.AmazonS3Client.
Public Method DeleteLifecycleConfigurationAsync(DeleteLifecycleConfigurationRequest, CancellationToken) Inherited from Amazon.S3.AmazonS3Client.
Public Method DeleteObject(string, string) Inherited from Amazon.S3.AmazonS3Client.
Public Method DeleteObject(string, string, string) Inherited from Amazon.S3.AmazonS3Client.
Public Method DeleteObject(DeleteObjectRequest) Inherited from Amazon.S3.AmazonS3Client.
Public Method DeleteObjectAsync(DeleteObjectRequest, CancellationToken) Inherited from Amazon.S3.AmazonS3Client.
Public Method DeleteObjects(DeleteObjectsRequest) Inherited from Amazon.S3.AmazonS3Client.
Public Method DeleteObjectsAsync(DeleteObjectsRequest, CancellationToken) Inherited from Amazon.S3.AmazonS3Client.
Public Method Dispose() Inherited from Amazon.Runtime.AmazonServiceClient.
Public Method GetACL(string) Inherited from Amazon.S3.AmazonS3Client.
Public Method GetACL(GetACLRequest) Inherited from Amazon.S3.AmazonS3Client.
Public Method GetACLAsync(GetACLRequest, CancellationToken) Inherited from Amazon.S3.AmazonS3Client.
Public Method GetBucketLocation(string) Inherited from Amazon.S3.AmazonS3Client.
Public Method GetBucketLocation(GetBucketLocationRequest) Inherited from Amazon.S3.AmazonS3Client.
Public Method GetBucketLocationAsync(GetBucketLocationRequest, CancellationToken) Inherited from Amazon.S3.AmazonS3Client.
Public Method GetBucketLogging(string) Inherited from Amazon.S3.AmazonS3Client.
Public Method GetBucketLogging(GetBucketLoggingRequest) Inherited from Amazon.S3.AmazonS3Client.
Public Method GetBucketLoggingAsync(GetBucketLoggingRequest, CancellationToken) Inherited from Amazon.S3.AmazonS3Client.
Public Method GetBucketNotification(string) Inherited from Amazon.S3.AmazonS3Client.
Public Method GetBucketNotification(GetBucketNotificationRequest) Inherited from Amazon.S3.AmazonS3Client.
Public Method GetBucketNotificationAsync(GetBucketNotificationRequest, CancellationToken) Inherited from Amazon.S3.AmazonS3Client.
Public Method GetBucketPolicy(string) Inherited from Amazon.S3.AmazonS3Client.
Public Method GetBucketPolicy(GetBucketPolicyRequest) Inherited from Amazon.S3.AmazonS3Client.
Public Method GetBucketPolicyAsync(GetBucketPolicyRequest, CancellationToken) Inherited from Amazon.S3.AmazonS3Client.
Public Method GetBucketReplication(GetBucketReplicationRequest) Inherited from Amazon.S3.AmazonS3Client.
Public Method GetBucketReplicationAsync(GetBucketReplicationRequest, CancellationToken) Inherited from Amazon.S3.AmazonS3Client.
Public Method GetBucketRequestPayment(string) Inherited from Amazon.S3.AmazonS3Client.
Public Method GetBucketRequestPayment(GetBucketRequestPaymentRequest) Inherited from Amazon.S3.AmazonS3Client.
Public Method GetBucketRequestPaymentAsync(GetBucketRequestPaymentRequest, CancellationToken) Inherited from Amazon.S3.AmazonS3Client.
Public Method GetBucketTagging(GetBucketTaggingRequest) Inherited from Amazon.S3.AmazonS3Client.
Public Method GetBucketTaggingAsync(GetBucketTaggingRequest, CancellationToken) Inherited from Amazon.S3.AmazonS3Client.
Public Method GetBucketVersioning(string) Inherited from Amazon.S3.AmazonS3Client.
Public Method GetBucketVersioning(GetBucketVersioningRequest) Inherited from Amazon.S3.AmazonS3Client.
Public Method GetBucketVersioningAsync(GetBucketVersioningRequest, CancellationToken) Inherited from Amazon.S3.AmazonS3Client.
Public Method GetBucketWebsite(string) Inherited from Amazon.S3.AmazonS3Client.
Public Method GetBucketWebsite(GetBucketWebsiteRequest) Inherited from Amazon.S3.AmazonS3Client.
Public Method GetBucketWebsiteAsync(GetBucketWebsiteRequest, CancellationToken) Inherited from Amazon.S3.AmazonS3Client.
Public Method GetCORSConfiguration(string) Inherited from Amazon.S3.AmazonS3Client.
Public Method GetCORSConfiguration(GetCORSConfigurationRequest) Inherited from Amazon.S3.AmazonS3Client.
Public Method GetCORSConfigurationAsync(GetCORSConfigurationRequest, CancellationToken) Inherited from Amazon.S3.AmazonS3Client.
Public Method GetLifecycleConfiguration(string) Inherited from Amazon.S3.AmazonS3Client.
Public Method GetLifecycleConfiguration(GetLifecycleConfigurationRequest) Inherited from Amazon.S3.AmazonS3Client.
Public Method GetLifecycleConfigurationAsync(GetLifecycleConfigurationRequest, CancellationToken) Inherited from Amazon.S3.AmazonS3Client.
Public Method GetObject(string, string) Inherited from Amazon.S3.AmazonS3Client.
Public Method GetObject(string, string, string) Inherited from Amazon.S3.AmazonS3Client.
Public Method GetObject(GetObjectRequest) Inherited from Amazon.S3.AmazonS3Client.
Public Method GetObjectAsync(GetObjectRequest, CancellationToken) Inherited from Amazon.S3.AmazonS3Client.
Public Method GetObjectMetadata(string, string) Inherited from Amazon.S3.AmazonS3Client.
Public Method GetObjectMetadata(string, string, string) Inherited from Amazon.S3.AmazonS3Client.
Public Method GetObjectMetadata(GetObjectMetadataRequest) Inherited from Amazon.S3.AmazonS3Client.
Public Method GetObjectMetadataAsync(GetObjectMetadataRequest, CancellationToken) Inherited from Amazon.S3.AmazonS3Client.
Public Method GetObjectTorrent(string, string) Inherited from Amazon.S3.AmazonS3Client.
Public Method GetObjectTorrent(GetObjectTorrentRequest) Inherited from Amazon.S3.AmazonS3Client.
Public Method GetObjectTorrentAsync(GetObjectTorrentRequest, CancellationToken) Inherited from Amazon.S3.AmazonS3Client.
Public Method GetPreSignedURL(GetPreSignedUrlRequest) Inherited from Amazon.S3.AmazonS3Client.
Public Method InitiateMultipartUpload(string, string) Inherited from Amazon.S3.AmazonS3Client.
Public Method InitiateMultipartUpload(InitiateMultipartUploadRequest) Inherited from Amazon.S3.AmazonS3Client.
Public Method InitiateMultipartUploadAsync(InitiateMultipartUploadRequest, CancellationToken) Inherited from Amazon.S3.AmazonS3Client.
Public Method ListBuckets() Inherited from Amazon.S3.AmazonS3Client.
Public Method ListBuckets(ListBucketsRequest) Inherited from Amazon.S3.AmazonS3Client.
Public Method ListBucketsAsync(ListBucketsRequest, CancellationToken) Inherited from Amazon.S3.AmazonS3Client.
Public Method ListMultipartUploads(string) Inherited from Amazon.S3.AmazonS3Client.
Public Method ListMultipartUploads(string, string) Inherited from Amazon.S3.AmazonS3Client.
Public Method ListMultipartUploads(ListMultipartUploadsRequest) Inherited from Amazon.S3.AmazonS3Client.
Public Method ListMultipartUploadsAsync(ListMultipartUploadsRequest, CancellationToken) Inherited from Amazon.S3.AmazonS3Client.
Public Method ListObjects(string) Inherited from Amazon.S3.AmazonS3Client.
Public Method ListObjects(string, string) Inherited from Amazon.S3.AmazonS3Client.
Public Method ListObjects(ListObjectsRequest) Inherited from Amazon.S3.AmazonS3Client.
Public Method ListObjectsAsync(ListObjectsRequest, CancellationToken) Inherited from Amazon.S3.AmazonS3Client.
Public Method ListParts(string, string, string) Inherited from Amazon.S3.AmazonS3Client.
Public Method ListParts(ListPartsRequest) Inherited from Amazon.S3.AmazonS3Client.
Public Method ListPartsAsync(ListPartsRequest, CancellationToken) Inherited from Amazon.S3.AmazonS3Client.
Public Method ListVersions(string) Inherited from Amazon.S3.AmazonS3Client.
Public Method ListVersions(string, string) Inherited from Amazon.S3.AmazonS3Client.
Public Method ListVersions(ListVersionsRequest) Inherited from Amazon.S3.AmazonS3Client.
Public Method ListVersionsAsync(ListVersionsRequest, CancellationToken) Inherited from Amazon.S3.AmazonS3Client.
Public Method PutACL(PutACLRequest) Inherited from Amazon.S3.AmazonS3Client.
Public Method PutACLAsync(PutACLRequest, CancellationToken) Inherited from Amazon.S3.AmazonS3Client.
Public Method PutBucket(string) Inherited from Amazon.S3.AmazonS3Client.
Public Method PutBucket(PutBucketRequest) Inherited from Amazon.S3.AmazonS3Client.
Public Method PutBucketAsync(PutBucketRequest, CancellationToken) Inherited from Amazon.S3.AmazonS3Client.
Public Method PutBucketLogging(PutBucketLoggingRequest) Inherited from Amazon.S3.AmazonS3Client.
Public Method PutBucketLoggingAsync(PutBucketLoggingRequest, CancellationToken) Inherited from Amazon.S3.AmazonS3Client.
Public Method PutBucketNotification(PutBucketNotificationRequest) Inherited from Amazon.S3.AmazonS3Client.
Public Method PutBucketNotificationAsync(PutBucketNotificationRequest, CancellationToken) Inherited from Amazon.S3.AmazonS3Client.
Public Method PutBucketPolicy(string, string) Inherited from Amazon.S3.AmazonS3Client.
Public Method PutBucketPolicy(string, string, string) Inherited from Amazon.S3.AmazonS3Client.
Public Method PutBucketPolicy(PutBucketPolicyRequest) Inherited from Amazon.S3.AmazonS3Client.
Public Method PutBucketPolicyAsync(PutBucketPolicyRequest, CancellationToken) Inherited from Amazon.S3.AmazonS3Client.
Public Method PutBucketReplication(PutBucketReplicationRequest) Inherited from Amazon.S3.AmazonS3Client.
Public Method PutBucketReplicationAsync(PutBucketReplicationRequest, CancellationToken) Inherited from Amazon.S3.AmazonS3Client.
Public Method PutBucketRequestPayment(string, RequestPaymentConfiguration) Inherited from Amazon.S3.AmazonS3Client.
Public Method PutBucketRequestPayment(PutBucketRequestPaymentRequest) Inherited from Amazon.S3.AmazonS3Client.
Public Method PutBucketRequestPaymentAsync(PutBucketRequestPaymentRequest, CancellationToken) Inherited from Amazon.S3.AmazonS3Client.
Public Method PutBucketTagging(string, List<Tag>) Inherited from Amazon.S3.AmazonS3Client.
Public Method PutBucketTagging(PutBucketTaggingRequest) Inherited from Amazon.S3.AmazonS3Client.
Public Method PutBucketTaggingAsync(PutBucketTaggingRequest, CancellationToken) Inherited from Amazon.S3.AmazonS3Client.
Public Method PutBucketVersioning(PutBucketVersioningRequest) Inherited from Amazon.S3.AmazonS3Client.
Public Method PutBucketVersioningAsync(PutBucketVersioningRequest, CancellationToken) Inherited from Amazon.S3.AmazonS3Client.
Public Method PutBucketWebsite(string, WebsiteConfiguration) Inherited from Amazon.S3.AmazonS3Client.
Public Method PutBucketWebsite(PutBucketWebsiteRequest) Inherited from Amazon.S3.AmazonS3Client.
Public Method PutBucketWebsiteAsync(PutBucketWebsiteRequest, CancellationToken) Inherited from Amazon.S3.AmazonS3Client.
Public Method PutCORSConfiguration(string, CORSConfiguration) Inherited from Amazon.S3.AmazonS3Client.
Public Method PutCORSConfiguration(PutCORSConfigurationRequest) Inherited from Amazon.S3.AmazonS3Client.
Public Method PutCORSConfigurationAsync(PutCORSConfigurationRequest, CancellationToken) Inherited from Amazon.S3.AmazonS3Client.
Public Method PutLifecycleConfiguration(string, LifecycleConfiguration) Inherited from Amazon.S3.AmazonS3Client.
Public Method PutLifecycleConfiguration(PutLifecycleConfigurationRequest) Inherited from Amazon.S3.AmazonS3Client.
Public Method PutLifecycleConfigurationAsync(PutLifecycleConfigurationRequest, CancellationToken) Inherited from Amazon.S3.AmazonS3Client.
Public Method PutObject(PutObjectRequest) Inherited from Amazon.S3.AmazonS3Client.
Public Method PutObjectAsync(PutObjectRequest, CancellationToken) Inherited from Amazon.S3.AmazonS3Client.
Public Method RestoreObject(string, string) Inherited from Amazon.S3.AmazonS3Client.
Public Method RestoreObject(string, string, int) Inherited from Amazon.S3.AmazonS3Client.
Public Method RestoreObject(string, string, string) Inherited from Amazon.S3.AmazonS3Client.
Public Method RestoreObject(string, string, string, int) Inherited from Amazon.S3.AmazonS3Client.
Public Method RestoreObject(RestoreObjectRequest) Inherited from Amazon.S3.AmazonS3Client.
Public Method RestoreObjectAsync(RestoreObjectRequest, CancellationToken) Inherited from Amazon.S3.AmazonS3Client.
Public Method UploadPart(UploadPartRequest) Inherited from Amazon.S3.AmazonS3Client.
Public Method UploadPartAsync(UploadPartRequest, CancellationToken) Inherited from Amazon.S3.AmazonS3Client.

Events

NameDescription
Event AfterResponseEvent Inherited from Amazon.Runtime.AmazonServiceClient.
Event BeforeRequestEvent Inherited from Amazon.Runtime.AmazonServiceClient.
Event ExceptionEvent Inherited from Amazon.Runtime.AmazonServiceClient.

Version Information

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