Class e.p.a.r.AmazonResourceProvider(ResourceProvider):

Part of elisa.plugins.amazon.resource_provider View In Hierarchy

A resource provider that implements the GET method for use on the Amazon Web Services API (see http://aws.amazon.com/ for details).

The GET method allows to retrieve lists of items containing the results to a search query to the Amazon Web Services, or directly an image from the Amazon image server.

Line # Kind Name Docs
64 Method initialize Initialize the component.
70 Method clean Clean the component.
83 Method get GET request to the Amazon servers.

Inherited from ResourceProvider:

Line # Kind Name Docs
103 Method post Update the resource pointed by uri with parameters.
116 Method put Put one resource into another. Both resources are identified with URIs.
138 Method delete Delete a Resource represented by a URI.

Inherited from Component (via ResourceProvider):

Line # Kind Name Docs
85 Class PathDescriptor Undocumented
97 Class Method create Create and initialize the component.

Inherited from Loggable (via ResourceProvider, Component):

Line # Kind Name Docs
81 Method __init__ Undocumented
def initialize(self):
Initialize the component.

This method is called by Component.create to finish the initialization of a component.

Returnsa deferred called when a component is fully initialized (type: twisted.internet.defer.Deferred )
def clean(self):
Clean the component.

This method is called when a component is not needed anymore to clean its state.

Returnsa deferred called when the component has finished cleaning its state (type: twisted.internet.defer.Deferred )
def get(self, uri, context_model=None):
GET request to the Amazon servers.

It accepts the following types of URLs:

The contextual model is currently not used.

API Documentation for Elisa Media Center, generated by pydoctor at 2009-02-16 19:15:05.