|
|
|
|
|
Description |
Bucket interface for Amazon S3
API Version 2006-03-01
http://docs.amazonwebservices.com/AmazonS3/2006-03-01/
|
|
Synopsis |
|
|
|
|
Function Types
|
|
|
:: AWSConnection | AWS connection information
| -> String | Proposed bucket name
| -> IO (AWSResult ()) | Server response
| Create a new bucket on S3 with the given name.
|
|
|
|
:: AWSConnection | AWS connection information
| -> String | Bucket name prefix
| -> 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 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.
|
|
|
|
|
|
|
|
|
Data Types
|
|
|
Constructors | | Instances | |
|
|
|
List request parameters
| Constructors | | Instances | |
|
|
|
Result from listing objects.
| Constructors | ListResult | | key :: String | Name of object
| last_modified :: String | Last modification date
| etag :: String | MD5
| size :: Integer | Bytes of object data
|
|
| Instances | |
|
|
|
Is a result set response truncated?
|
|
Produced by Haddock version 2.3.0 |