l.s.d.s.S3Connection(ConnectionUserAndKey) : class documentation

Part of libcloud.storage.drivers.s3 View Source View In Hierarchy

Known subclasses: libcloud.storage.drivers.s3.S3APNEConnection, libcloud.storage.drivers.s3.S3APSEConnection, libcloud.storage.drivers.s3.S3EUWestConnection, libcloud.storage.drivers.s3.S3USWestConnection, libcloud.storage.drivers.s3.S3USWestOregonConnection

Repersents a single connection to the EC2 Endpoint
Method add_default_params Undocumented
Method pre_connect_hook Undocumented
Method _get_aws_auth_param Signature = URL-Encode( Base64( HMAC-SHA1( YourSecretAccessKeyID, UTF-8-Encoding-Of( StringToSign ) ) ) );
def add_default_params(self, params): (source)
Undocumented
def pre_connect_hook(self, params, headers): (source)
Undocumented
def _get_aws_auth_param(self, method, headers, params, expires, secret_key, path='/'): (source)
        Signature = URL-Encode( Base64( HMAC-SHA1( YourSecretAccessKeyID,
                                    UTF-8-Encoding-Of( StringToSign ) ) ) );

        StringToSign = HTTP-VERB + "
" +
            Content-MD5 + "
" +
            Content-Type + "
" +
            Expires + "
" +
            CanonicalizedAmzHeaders +
            CanonicalizedResource;
        
API Documentation for libcloud, generated by pydoctor at 2013-03-28 10:45:49.