AmazonS3Client is an implementation of AmazonS3.
More...
#import <AmazonS3Client.h>
List of all members.
Detailed Description
AmazonS3Client is an implementation of AmazonS3.
The client allows you to manage your AmazonS3 buckets and keys/objects.
Amazon S3 is storage for the Internet. It is designed to make web-scale computing easier for developers. Amazon S3 provides a simple web services interface that can be used to store and retrieve any amount of data, at any time, from anywhere on the web. It gives any developer access to the same highly scalable, reliable, fast, inexpensive data storage infrastructure that Amazon uses to run its own global network of web sites. The service aims to maximize benefits of scale and to pass those benefits on to developers.
Member Function Documentation
Create a copy of an object that is already stored in Amazon S3.
When copying an object, you can preserve all metadata (default) or specify new metadata. However, the ACL is not preserved and is set to private for the user making the request. To override the default ACL setting, specify a new ACL when generating a copy request.
Creates a bucket using the the specified request object.
- Parameters:
-
- Returns:
- An S3CreateBucketResponse from S3
Deletes a bucket with the specified name.
All objects in the bucket must be deleted before the bucket itself can be deleted.
- Parameters:
-
- Returns:
- An S3DeleteBucketResponse from S3
Removes the specified object from Amazon S3.
Once deleted, there is no method to restore or undelete an object.
- Parameters:
-
- Returns:
- An S3DeleteObjectResponse from S3.
Gets the access control list for a given bucket or object.
- Parameters:
-
| getACLRequest | The S3GetACLRequest that defines the parameters of the operation. |
- Returns:
- An S3GetACLResponse from S3.
- (S3Region * AmazonS3Client.)getBucketLocation: |
|
(NSString *) |
bucketName |
|
|
Takes in a bucket's name and lists the location of the bucket.
This information can be used to determine the bucket's geographical location. To determine the location of a bucket, you must be the bucket owner
- Parameters:
-
| bucketName | The name of the bucket. |
- Returns:
- The S3Region object that represents the region.
Fetch the most recent version of an S3 object from the specified S3 bucket.
You must have READ access to the object. If READ access is granted to an anonymous user, an object can be retrieved without an authorization header. Providing a version-id for the object will fetch the specific version from S3 instead of the most recent one.
- Parameters:
-
- Returns:
- An S3GetObjectResponse from S3.
Creates a signed http request.
Query string authentication is useful for giving HTTP or browser access to resources that would normally require authentication. When using query string authentication, you create a query, specify an expiration time for the query, sign it with your signature, place the data in an HTTP request, and distribute the request to a user or embed the request in a web page. A PreSigned URL can be generated for GET, PUT and HEAD operations on your bucket, and keys.
- Parameters:
-
- Returns:
- An signed NSURL for the resource.
+ (void AmazonS3Client.)initializeResponseObjects |
|
|
|
|
Ensure that all response classes have been loaded by the runtime.
Utility method that sends the raw S3 Request to be processed.
- Parameters:
-
| request | A request describing the parameters of an S3 request. |
- Returns:
- The response from S3.
- (NSArray * AmazonS3Client.)listBuckets |
|
|
|
|
Returns a list of all Amazon S3 buckets that the authenticated sender of the request owns.
- Returns:
- An NSArray of S3Bucket objects.
Returns a list of all Amazon S3 buckets that the authenticated sender of the request owns.
- Parameters:
-
- Returns:
- An S3ListBucketsResponse from S3. The
buckets
property of the S3ListBucketsResult has the list of buckets.
- (NSArray * AmazonS3Client.)listObjectsInBucket: |
|
(NSString *) |
bucketName |
|
|
List the objects in a bucket.
- Parameters:
-
| bucketName | The name of the bucket. |
- Returns:
- An NSArray of S3ObjectSummary objects.
The documentation for this class was generated from the following file: