|
|
|
|
|
Description |
Bucket interface for Amazon S3
API Version 2006-03-01
http://docs.amazonwebservices.com/AmazonS3/2006-03-01/
|
|
Synopsis |
|
|
|
|
Function Types
|
|
|
|
|
|
|
|
createBucketWithPrefixIn | Source |
|
:: AWSConnection | AWS connection information
| -> String | Bucket name prefix
| -> String | Location (US, EU, us-west-1, ap-southeast-1)
| -> IO (AWSResult String) | Server response, if
successful, the bucket
name is returned.
| Create a new bucket on S3 with the given prefix, and a random
suffix. This can be used to programatically create buckets
without of naming conflicts.
|
|
|
|
:: AWSConnection | AWS connection information
| -> String | Bucket name prefix
| -> IO (AWSResult String) | Server response, with bucket name
| see createBucketWithPrefixIn, but hardcoded for the US
|
|
|
|
:: AWSConnection | AWS connection information
| -> String | Bucket name to delete
| -> IO (AWSResult ()) | Server response
| Delete a bucket with the given name on S3. The bucket must be
empty for deletion to succeed.
|
|
|
|
|
|
|
:: AWSConnection | AWS connection information
| -> String | Bucket name to empty
| -> IO (AWSResult ()) | Server response
| Empty a bucket of all objects. Iterates through all objects
issuing delete commands, so time is proportional to number of
objects in the bucket. At this time, delete requests are free
from Amazon.
|
|
|
|
:: AWSConnection | AWS connection information
| -> IO (AWSResult [S3Bucket]) | Server response
| Return a list of all bucket names and creation dates. S3
allows a maximum of 100 buckets per user.
|
|
|
|
|
|
|
|
|
|
Check Amazon guidelines on bucket naming. (missing test for IP-like names)
|
|
|
Retrieve the storage class of an object from S3.
For checking more than one object's storage class efficiently,
use listObjects.
|
|
Data Types
|
|
|
Constructors | | Instances | |
|
|
|
List request parameters
| Constructors | | Instances | |
|
|
|
Result from listing objects.
| Constructors | | Instances | |
|
|
|
Is a result set response truncated?
|
|
Produced by Haddock version 2.6.1 |