Home | Trees | Index | Help |
---|
Module zes3t :: Class S3Client |
|
See Also: http://docs.amazonwebservices.com/AmazonS3/2006-03-01/SOAPAPI.html
Method Summary | |
---|---|
S3Client
|
|
CopyObjectResult
|
Create a copy of an object. |
CreateBucketResult
|
Create a bucket. |
Status
|
Delete a bucket. |
Status
|
Delete an object. |
GetObjectResult
|
Basic operation for retrieving an object stored in Amazon S3. |
file |
Retrieve an object stored in Amazon S3 and save it to a local file. |
[Bucket ]
|
Get list of all buckets owned by the sender of the request. |
[Content ]
|
Get information about some of the items in the bucket. |
PutObjectInlineResult |
Add an object to a bucket. |
PubObjectInlineResult |
Add an object to a bucket from a local file. |
boolean |
(Static method) |
boolean |
(Static method) |
object |
Retry a failed SOAP call. |
str |
Compute the HMAC signature string required for every SOAP request |
object |
Encapsulates a direct SOAP call. |
str |
Format current time in required ISO UTC format |
str |
Coerce an S3 SOAP result object to a string. (Static method) |
Class Variable Summary | |
---|---|
str |
AWS_WSDL_URL = 'http://doc.s3.amazonaws.com/2006-03-01/A...
|
Instance Method Details |
---|
__init__(self,
aws_access_key_id=None,
aws_secret_access_key=None,
url='http://doc.s3.amazonaws.com/2006-03-01/AmazonS3.wsdl')
|
CopyObject(self, SourceBucket, SourceKey, DestinationBucket, DestinationKey, **kwargs)Create a copy of an object.
|
CreateBucket(self, Bucket, **kwargs)Create a bucket.
|
DeleteBucket(self, Bucket, **kwargs)Delete a bucket.
|
DeleteObject(self, Bucket, Key)Delete an object.
|
GetObject(self, Bucket, Key, GetMetadata=True, GetData=True, **kwargs)Basic operation for retrieving an object stored in Amazon S3. Currently only supports files 1 MiB or smaller!
|
GetObjectAsFile(self, Bucket, Key, File=None, GetMetadata=True, GetData=True, **kwargs)Retrieve an object stored in Amazon S3 and save it to a local file. Note that if the specified local file already exists, it will be clobbered. Currently only supports files 1 MiB or smaller!
|
ListAllMyBuckets(self)Get list of all buckets owned by the sender of the request.
|
ListBucket(self, Bucket, **kwargs)Get information about some of the items in the bucket.
|
PutObject(self, Bucket, Key, Data, **kwargs)Add an object to a bucket. Currently only supports files 1 MiB or smaller!
|
PutObjectAsFile(self, File, Bucket, Key=None, **kwargs)Add an object to a bucket from a local file. Currently only supports files 1 MiB or smaller!
|
_retry_soap(method, delay, timestamp, signature, **kwargs)Retry a failed SOAP call.
|
_signature(self, operation, timestamp)Compute the HMAC signature string required for every SOAP request
|
_soap(self, method_name, retry_faults=True, retry_delay=0.5, **kwargs)Encapsulates a direct SOAP call. All parameters should be passed in as kwargs. The AWS boilerplate params will be calculated and added automatically. Can optionally retry calls that fail due to server error.
|
_timestamp(self)Format current time in required ISO UTC format
|
Static Method Details |
---|
_is_client_error(wf)
|
_is_server_error(wf)
|
_to_str(o)Coerce an S3 SOAP result object to a string.
|
Class Variable Details |
---|
AWS_WSDL_URL
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Tue Dec 9 18:32:17 2008 | http://epydoc.sf.net |