l.c.a.SignedAWSConnection(ConnectionUserAndKey) : class documentation

Part of libcloud.common.aws View Source View In Hierarchy

Known subclasses: libcloud.compute.drivers.ec2.EC2Connection, libcloud.loadbalancer.drivers.elb.ELBConnection

No class docstring
Method add_default_params Adds default parameters (such as API key, version, etc.) to the passed `params`
Method _get_aws_auth_param Creates the signature required for AWS, per http://bit.ly/aR7GaQ [docs.amazonwebservices.com]:

Inherited from ConnectionUserAndKey:

Method __init__ Initialize `user_id` and `key`; set `secure` to an C{int} based on passed value.

Inherited from Connection (via ConnectionUserAndKey, ConnectionKey):

Method set_context Undocumented
Method connect Establish a connection with the API server.
Method user_agent_append Append a token to a user agent string.
Method request Request a given `action`.
Method morph_action_hook Undocumented
Method add_default_headers Adds default headers (such as Authorization, X-Foo-Bar) to the passed `headers`
Method pre_connect_hook A hook which is called before connecting to the remote server. This hook can perform a final manipulation on the params, headers and url parameters.
Method encode_data Encode body data.
Method _tuple_from_url Undocumented
Method _user_agent Undocumented
def add_default_params(self, params): (source)
Adds default parameters (such as API key, version, etc.)
to the passed `params`

Should return a dictionary.
def _get_aws_auth_param(self, params, secret_key, path='/'): (source)
        Creates the signature required for AWS, per
        http://bit.ly/aR7GaQ [docs.amazonwebservices.com]:

        StringToSign = HTTPVerb + "
" +
                       ValueOfHostHeaderInLowercase + "
" +
                       HTTPRequestURI + "
" +
                       CanonicalizedQueryString <from the preceding step>
        
API Documentation for libcloud, generated by pydoctor at 2013-09-04 21:31:29.