Inheritance Hierarchy
Amazon.Runtime.AbstractWebServiceClient
Amazon.Runtime.AmazonWebServiceClient
Amazon.S3.AmazonS3Client
Namespace: Amazon.S3
Assembly: AWSSDK.dll
Version: 2.0.0.3
Syntax
public class AmazonS3Client : AmazonWebServiceClient IAmazonS3, IDisposable
The AmazonS3Client type exposes the following members
Constructors
Name | Description | |
---|---|---|
![]() |
AmazonS3Client() |
Constructs AmazonS3Client with the 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="AWSAccessKey" value="********************"/> <add key="AWSSecretKey" value="****************************************"/> </appSettings> </configuration> |
![]() |
AmazonS3Client(RegionEndpoint) |
Constructs AmazonS3Client with the 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="AWSAccessKey" value="********************"/> <add key="AWSSecretKey" value="****************************************"/> </appSettings> </configuration> |
![]() |
AmazonS3Client(AmazonS3Config) |
Constructs AmazonS3Client with the 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="AWSAccessKey" value="********************"/> <add key="AWSSecretKey" value="****************************************"/> </appSettings> </configuration> |
![]() |
AmazonS3Client(AWSCredentials) | Constructs AmazonS3Client with AWS Credentials |
![]() |
AmazonS3Client(AWSCredentials, RegionEndpoint) | Constructs AmazonS3Client with AWS Credentials |
![]() |
AmazonS3Client(AWSCredentials, AmazonS3Config) | Constructs AmazonS3Client with AWS Credentials and an AmazonS3Client Configuration object. |
![]() |
AmazonS3Client(string, string) | Constructs AmazonS3Client with AWS Access Key ID and AWS Secret Key |
![]() |
AmazonS3Client(string, string, RegionEndpoint) | Constructs AmazonS3Client with AWS Access Key ID and AWS Secret Key |
![]() |
AmazonS3Client(string, string, AmazonS3Config) | Constructs AmazonS3Client with AWS Access Key ID, AWS Secret Key and an AmazonS3Client Configuration object. |
![]() |
AmazonS3Client(string, string, string) | Constructs AmazonS3Client with AWS Access Key ID and AWS Secret Key |
![]() |
AmazonS3Client(string, string, string, RegionEndpoint) | Constructs AmazonS3Client with AWS Access Key ID and AWS Secret Key |
![]() |
AmazonS3Client(string, string, string, AmazonS3Config) | Constructs AmazonS3Client with AWS Access Key ID, AWS Secret Key and an AmazonS3Client Configuration object. |
Methods
Name | Description | |
---|---|---|
![]() |
AbortMultipartUpload(AbortMultipartUploadRequest) |
Aborts a multipart upload. |
![]() |
BeginAbortMultipartUpload(AbortMultipartUploadRequest, AsyncCallback, object) |
Initiates the asynchronous execution of the AbortMultipartUpload operation.
|
![]() |
BeginCompleteMultipartUpload(CompleteMultipartUploadRequest, AsyncCallback, object) |
Initiates the asynchronous execution of the CompleteMultipartUpload operation.
|
![]() |
BeginCopyObject(CopyObjectRequest, AsyncCallback, object) |
Initiates the asynchronous execution of the CopyObject operation.
|
![]() |
BeginCopyPart(CopyPartRequest, AsyncCallback, object) |
Initiates the asynchronous execution of the CopyPart operation.
|
![]() |
BeginDeleteBucket(DeleteBucketRequest, AsyncCallback, object) |
Initiates the asynchronous execution of the DeleteBucket operation.
|
![]() |
BeginDeleteBucketPolicy(DeleteBucketPolicyRequest, AsyncCallback, object) |
Initiates the asynchronous execution of the DeleteBucketPolicy operation.
|
![]() |
BeginDeleteBucketTagging(DeleteBucketTaggingRequest, AsyncCallback, object) |
Initiates the asynchronous execution of the DeleteBucketTagging operation.
|
![]() |
BeginDeleteBucketWebsite(DeleteBucketWebsiteRequest, AsyncCallback, object) |
Initiates the asynchronous execution of the DeleteBucketWebsite operation.
|
![]() |
BeginDeleteCORSConfiguration(DeleteCORSConfigurationRequest, AsyncCallback, object) |
Initiates the asynchronous execution of the DeleteCORSConfiguration operation.
|
![]() |
BeginDeleteLifecycleConfiguration(DeleteLifecycleConfigurationRequest, AsyncCallback, object) |
Initiates the asynchronous execution of the DeleteLifecycleConfiguration operation.
|
![]() |
BeginDeleteObject(DeleteObjectRequest, AsyncCallback, object) |
Initiates the asynchronous execution of the DeleteObject operation.
|
![]() |
BeginDeleteObjects(DeleteObjectsRequest, AsyncCallback, object) |
Initiates the asynchronous execution of the DeleteObjects operation.
|
![]() |
BeginGetACL(GetACLRequest, AsyncCallback, object) |
Initiates the asynchronous execution of the GetACL operation.
|
![]() |
BeginGetBucketLocation(GetBucketLocationRequest, AsyncCallback, object) |
Initiates the asynchronous execution of the GetBucketLocation operation.
|
![]() |
BeginGetBucketLogging(GetBucketLoggingRequest, AsyncCallback, object) |
Initiates the asynchronous execution of the GetBucketLogging operation.
|
![]() |
BeginGetBucketNotification(GetBucketNotificationRequest, AsyncCallback, object) |
Initiates the asynchronous execution of the GetBucketNotification operation.
|
![]() |
BeginGetBucketPolicy(GetBucketPolicyRequest, AsyncCallback, object) |
Initiates the asynchronous execution of the GetBucketPolicy operation.
|
![]() |
BeginGetBucketRequestPayment(GetBucketRequestPaymentRequest, AsyncCallback, object) |
Initiates the asynchronous execution of the GetBucketRequestPayment operation.
|
![]() |
BeginGetBucketTagging(GetBucketTaggingRequest, AsyncCallback, object) |
Initiates the asynchronous execution of the GetBucketTagging operation.
|
![]() |
BeginGetBucketVersioning(GetBucketVersioningRequest, AsyncCallback, object) |
Initiates the asynchronous execution of the GetBucketVersioning operation.
|
![]() |
BeginGetBucketWebsite(GetBucketWebsiteRequest, AsyncCallback, object) |
Initiates the asynchronous execution of the GetBucketWebsite operation.
|
![]() |
BeginGetCORSConfiguration(GetCORSConfigurationRequest, AsyncCallback, object) |
Initiates the asynchronous execution of the GetCORSConfiguration operation.
|
![]() |
BeginGetLifecycleConfiguration(GetLifecycleConfigurationRequest, AsyncCallback, object) |
Initiates the asynchronous execution of the GetLifecycleConfiguration operation.
|
![]() |
BeginGetObject(GetObjectRequest, AsyncCallback, object) |
Initiates the asynchronous execution of the GetObject operation.
|
![]() |
BeginGetObjectMetadata(GetObjectMetadataRequest, AsyncCallback, object) |
Initiates the asynchronous execution of the GetObjectMetadata operation.
|
![]() |
BeginGetObjectTorrent(GetObjectTorrentRequest, AsyncCallback, object) |
Initiates the asynchronous execution of the GetObjectTorrent operation.
|
![]() |
BeginInitiateMultipartUpload(InitiateMultipartUploadRequest, AsyncCallback, object) |
Initiates the asynchronous execution of the InitiateMultipartUpload operation.
|
![]() |
BeginListBuckets(ListBucketsRequest, AsyncCallback, object) |
Initiates the asynchronous execution of the ListBuckets operation.
|
![]() |
BeginListMultipartUploads(ListMultipartUploadsRequest, AsyncCallback, object) |
Initiates the asynchronous execution of the ListMultipartUploads operation.
|
![]() |
BeginListObjects(ListObjectsRequest, AsyncCallback, object) |
Initiates the asynchronous execution of the ListObjects operation.
|
![]() |
BeginListParts(ListPartsRequest, AsyncCallback, object) |
Initiates the asynchronous execution of the ListParts operation.
|
![]() |
BeginListVersions(ListVersionsRequest, AsyncCallback, object) |
Initiates the asynchronous execution of the ListVersions operation.
|
![]() |
BeginPutACL(PutACLRequest, AsyncCallback, object) |
Initiates the asynchronous execution of the PutACL operation.
|
![]() |
BeginPutBucket(PutBucketRequest, AsyncCallback, object) |
Initiates the asynchronous execution of the PutBucket operation.
|
![]() |
BeginPutBucketLogging(PutBucketLoggingRequest, AsyncCallback, object) |
Initiates the asynchronous execution of the PutBucketLogging operation.
|
![]() |
BeginPutBucketNotification(PutBucketNotificationRequest, AsyncCallback, object) |
Initiates the asynchronous execution of the PutBucketNotification operation.
|
![]() |
BeginPutBucketPolicy(PutBucketPolicyRequest, AsyncCallback, object) |
Initiates the asynchronous execution of the PutBucketPolicy operation.
|
![]() |
BeginPutBucketRequestPayment(PutBucketRequestPaymentRequest, AsyncCallback, object) |
Initiates the asynchronous execution of the PutBucketRequestPayment operation.
|
![]() |
BeginPutBucketTagging(PutBucketTaggingRequest, AsyncCallback, object) |
Initiates the asynchronous execution of the PutBucketTagging operation.
|
![]() |
BeginPutBucketVersioning(PutBucketVersioningRequest, AsyncCallback, object) |
Initiates the asynchronous execution of the PutBucketVersioning operation.
|
![]() |
BeginPutBucketWebsite(PutBucketWebsiteRequest, AsyncCallback, object) |
Initiates the asynchronous execution of the PutBucketWebsite operation.
|
![]() |
BeginPutCORSConfiguration(PutCORSConfigurationRequest, AsyncCallback, object) |
Initiates the asynchronous execution of the PutCORSConfiguration operation.
|
![]() |
BeginPutLifecycleConfiguration(PutLifecycleConfigurationRequest, AsyncCallback, object) |
Initiates the asynchronous execution of the PutLifecycleConfiguration operation.
|
![]() |
BeginPutObject(PutObjectRequest, AsyncCallback, object) |
Initiates the asynchronous execution of the PutObject operation.
|
![]() |
BeginRestoreObject(RestoreObjectRequest, AsyncCallback, object) |
Initiates the asynchronous execution of the RestoreObject operation.
|
![]() |
BeginUploadPart(UploadPartRequest, AsyncCallback, object) |
Initiates the asynchronous execution of the UploadPart operation.
|
![]() |
CompleteMultipartUpload(CompleteMultipartUploadRequest) |
Completes a multipart upload by assembling previously uploaded parts. |
![]() |
CopyObject(CopyObjectRequest) |
Creates a copy of an object that is already stored in Amazon S3. |
![]() |
CopyPart(CopyPartRequest) |
Uploads a part by copying data from an existing object as data source. |
![]() |
DeleteBucket(DeleteBucketRequest) |
Deletes the bucket. All objects (including all object versions and Delete Markers) in the bucket must be deleted before the bucket itself can be deleted. |
![]() |
DeleteBucketPolicy(DeleteBucketPolicyRequest) |
Deletes the policy from the bucket. |
![]() |
DeleteBucketTagging(DeleteBucketTaggingRequest) |
Deletes the tags from the bucket. |
![]() |
DeleteBucketWebsite(DeleteBucketWebsiteRequest) |
This operation removes the website configuration from the bucket. |
![]() |
DeleteCORSConfiguration(DeleteCORSConfigurationRequest) |
Deletes the cors configuration information set for the bucket. |
![]() |
DeleteLifecycleConfiguration(DeleteLifecycleConfigurationRequest) |
Deletes the lifecycle configuration from the bucket. |
![]() |
DeleteObject(DeleteObjectRequest) |
Removes the null version (if there is one) of an object and inserts a delete marker, which becomes the latest version of the object. If there isn''t a null version, Amazon S3 does not remove any objects. |
![]() |
DeleteObjects(DeleteObjectsRequest) |
This operation enables you to delete multiple objects from a bucket using a single HTTP request. You may specify up to 1000 keys. |
![]() |
Dispose() | Disposes of all managed and unmanaged resources. |
![]() |
EndAbortMultipartUpload(IAsyncResult) |
Finishes the asynchronous execution of the AbortMultipartUpload operation.
|
![]() |
EndCompleteMultipartUpload(IAsyncResult) |
Finishes the asynchronous execution of the CompleteMultipartUpload operation.
|
![]() |
EndCopyObject(IAsyncResult) |
Finishes the asynchronous execution of the CopyObject operation.
|
![]() |
EndCopyPart(IAsyncResult) |
Finishes the asynchronous execution of the CopyPart operation.
|
![]() |
EndDeleteBucket(IAsyncResult) |
Finishes the asynchronous execution of the DeleteBucket operation.
|
![]() |
EndDeleteBucketPolicy(IAsyncResult) |
Finishes the asynchronous execution of the DeleteBucketPolicy operation.
|
![]() |
EndDeleteBucketTagging(IAsyncResult) |
Finishes the asynchronous execution of the DeleteBucketTagging operation.
|
![]() |
EndDeleteBucketWebsite(IAsyncResult) |
Finishes the asynchronous execution of the DeleteBucketWebsite operation.
|
![]() |
EndDeleteCORSConfiguration(IAsyncResult) |
Finishes the asynchronous execution of the DeleteCORSConfiguration operation.
|
![]() |
EndDeleteLifecycleConfiguration(IAsyncResult) |
Finishes the asynchronous execution of the DeleteLifecycleConfiguration operation.
|
![]() |
EndDeleteObject(IAsyncResult) |
Finishes the asynchronous execution of the DeleteObject operation.
|
![]() |
EndDeleteObjects(IAsyncResult) |
Finishes the asynchronous execution of the DeleteObjects operation.
|
![]() |
EndGetACL(IAsyncResult) |
Finishes the asynchronous execution of the GetACL operation.
|
![]() |
EndGetBucketLocation(IAsyncResult) |
Finishes the asynchronous execution of the GetBucketLocation operation.
|
![]() |
EndGetBucketLogging(IAsyncResult) |
Finishes the asynchronous execution of the GetBucketLogging operation.
|
![]() |
EndGetBucketNotification(IAsyncResult) |
Finishes the asynchronous execution of the GetBucketNotification operation.
|
![]() |
EndGetBucketPolicy(IAsyncResult) |
Finishes the asynchronous execution of the GetBucketPolicy operation.
|
![]() |
EndGetBucketRequestPayment(IAsyncResult) |
Finishes the asynchronous execution of the GetBucketRequestPayment operation.
|
![]() |
EndGetBucketTagging(IAsyncResult) |
Finishes the asynchronous execution of the GetBucketTagging operation.
|
![]() |
EndGetBucketVersioning(IAsyncResult) |
Finishes the asynchronous execution of the GetBucketVersioning operation.
|
![]() |
EndGetBucketWebsite(IAsyncResult) |
Finishes the asynchronous execution of the GetBucketWebsite operation.
|
![]() |
EndGetCORSConfiguration(IAsyncResult) |
Finishes the asynchronous execution of the GetCORSConfiguration operation.
|
![]() |
EndGetLifecycleConfiguration(IAsyncResult) |
Finishes the asynchronous execution of the GetLifecycleConfiguration operation.
|
![]() |
EndGetObject(IAsyncResult) |
Finishes the asynchronous execution of the GetObject operation.
|
![]() |
EndGetObjectMetadata(IAsyncResult) |
Finishes the asynchronous execution of the GetObjectMetadata operation.
|
![]() |
EndGetObjectTorrent(IAsyncResult) |
Finishes the asynchronous execution of the GetObjectTorrent operation.
|
![]() |
EndInitiateMultipartUpload(IAsyncResult) |
Finishes the asynchronous execution of the InitiateMultipartUpload operation.
|
![]() |
EndListBuckets(IAsyncResult) |
Finishes the asynchronous execution of the ListBuckets operation.
|
![]() |
EndListMultipartUploads(IAsyncResult) |
Finishes the asynchronous execution of the ListMultipartUploads operation.
|
![]() |
EndListObjects(IAsyncResult) |
Finishes the asynchronous execution of the ListObjects operation.
|
![]() |
EndListParts(IAsyncResult) |
Finishes the asynchronous execution of the ListParts operation.
|
![]() |
EndListVersions(IAsyncResult) |
Finishes the asynchronous execution of the ListVersions operation.
|
![]() |
EndPutACL(IAsyncResult) |
Finishes the asynchronous execution of the PutACL operation.
|
![]() |
EndPutBucket(IAsyncResult) |
Finishes the asynchronous execution of the PutBucket operation.
|
![]() |
EndPutBucketLogging(IAsyncResult) |
Finishes the asynchronous execution of the PutBucketLogging operation.
|
![]() |
EndPutBucketNotification(IAsyncResult) |
Finishes the asynchronous execution of the PutBucketNotification operation.
|
![]() |
EndPutBucketPolicy(IAsyncResult) |
Finishes the asynchronous execution of the PutBucketPolicy operation.
|
![]() |
EndPutBucketRequestPayment(IAsyncResult) |
Finishes the asynchronous execution of the PutBucketRequestPayment operation.
|
![]() |
EndPutBucketTagging(IAsyncResult) |
Finishes the asynchronous execution of the PutBucketTagging operation.
|
![]() |
EndPutBucketVersioning(IAsyncResult) |
Finishes the asynchronous execution of the PutBucketVersioning operation.
|
![]() |
EndPutBucketWebsite(IAsyncResult) |
Finishes the asynchronous execution of the PutBucketWebsite operation.
|
![]() |
EndPutCORSConfiguration(IAsyncResult) |
Finishes the asynchronous execution of the PutCORSConfiguration operation.
|
![]() |
EndPutLifecycleConfiguration(IAsyncResult) |
Finishes the asynchronous execution of the PutLifecycleConfiguration operation.
|
![]() |
EndPutObject(IAsyncResult) |
Finishes the asynchronous execution of the PutObject operation.
|
![]() |
EndRestoreObject(IAsyncResult) |
Finishes the asynchronous execution of the RestoreObject operation.
|
![]() |
EndUploadPart(IAsyncResult) |
Finishes the asynchronous execution of the UploadPart operation.
|
![]() |
GetACL(GetACLRequest) |
Returns the access control list (ACL) of an object. |
![]() |
GetBucketLocation(GetBucketLocationRequest) |
Returns the region the bucket resides in. |
![]() |
GetBucketLogging(GetBucketLoggingRequest) |
Returns the logging status of a bucket and the permissions users have to view and modify that status. To use GET, you must be the bucket owner. |
![]() |
GetBucketNotification(GetBucketNotificationRequest) |
Return the notification configuration of a bucket. |
![]() |
GetBucketPolicy(GetBucketPolicyRequest) |
Returns the policy of a specified bucket. |
![]() |
GetBucketRequestPayment(GetBucketRequestPaymentRequest) |
Returns the request payment configuration of a bucket. |
![]() |
GetBucketTagging(GetBucketTaggingRequest) |
Returns the tag set associated with the bucket. |
![]() |
GetBucketVersioning(GetBucketVersioningRequest) |
Returns the versioning state of a bucket. |
![]() |
GetBucketWebsite(GetBucketWebsiteRequest) |
Returns the website configuration for a bucket. |
![]() |
GetCORSConfiguration(GetCORSConfigurationRequest) |
Returns the cors configuration for the bucket. |
![]() |
GetLifecycleConfiguration(GetLifecycleConfigurationRequest) |
Returns the lifecycle configuration information set on the bucket. |
![]() |
GetObject(GetObjectRequest) |
Retrieves objects from Amazon S3. |
![]() |
GetObjectMetadata(GetObjectMetadataRequest) | Returns information about a specified object. |
![]() |
GetObjectTorrent(GetObjectTorrentRequest) |
Return torrent files from a bucket. |
![]() |
GetPreSignedURL(GetPreSignedUrlRequest) | Create a signed URL allowing access to a resource that would usually require authentication. |
![]() |
InitiateMultipartUpload(InitiateMultipartUploadRequest) |
Initiates a multipart upload and returns an upload ID. |
![]() |
ListBuckets(ListBucketsRequest) |
Returns a list of all buckets owned by the authenticated sender of the request. |
![]() |
ListBuckets() |
Returns a list of all buckets owned by the authenticated sender of the request. |
![]() |
ListMultipartUploads(ListMultipartUploadsRequest) |
This operation lists in-progress multipart uploads. |
![]() |
ListObjects(ListObjectsRequest) |
Returns some or all (up to 1000) of the objects in a bucket. You can use the request parameters as selection criteria to return a subset of the objects in a bucket. |
![]() |
ListParts(ListPartsRequest) |
Lists the parts that have been uploaded for a specific multipart upload. |
![]() |
ListVersions(ListVersionsRequest) |
Returns metadata about all of the versions of objects in a bucket. |
![]() |
PutACL(PutACLRequest) |
uses the acl subresource to set the access control list (ACL) permissions for an object that already exists in a bucket |
![]() |
PutBucket(PutBucketRequest) |
Creates a new bucket. |
![]() |
PutBucketLogging(PutBucketLoggingRequest) |
Set the logging parameters for a bucket and to specify permissions for who can view and modify the logging parameters. To set the logging status of a bucket, you must be the bucket owner. |
![]() |
PutBucketNotification(PutBucketNotificationRequest) |
Enables notifications of specified events for a bucket. |
![]() |
PutBucketPolicy(PutBucketPolicyRequest) |
Replaces a policy on a bucket. If the bucket already has a policy, the one in this request completely replaces it. |
![]() |
PutBucketRequestPayment(PutBucketRequestPaymentRequest) |
Sets the request payment configuration for a bucket. By default, the bucket owner pays for downloads from the bucket. This configuration parameter enables the bucket owner (only) to specify that the person requesting the download will be charged for the download. |
![]() |
PutBucketTagging(PutBucketTaggingRequest) |
Sets the tags for a bucket. |
![]() |
PutBucketVersioning(PutBucketVersioningRequest) |
Puts the versioning state of an existing bucket. To set the versioning state, you must be the bucket owner. |
![]() |
PutBucketWebsite(PutBucketWebsiteRequest) |
Set the website configuration for a bucket. |
![]() |
PutCORSConfiguration(PutCORSConfigurationRequest) |
Sets the cors configuration for a bucket. |
![]() |
PutLifecycleConfiguration(PutLifecycleConfigurationRequest) |
Sets lifecycle configuration for your bucket. If a lifecycle configuration exists, it replaces it. |
![]() |
PutObject(PutObjectRequest) |
Adds an object to a bucket. |
![]() |
RestoreObject(RestoreObjectRequest) |
Restores an archived copy of an object back into Amazon S3 |
![]() |
UploadPart(UploadPartRequest) |
Uploads a part in a multipart upload. |
Version Information
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8
.NET for Windows Phone:
Supported in: Window Phone 8