Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(267)

Side by Side Diff: boto/ecs/__init__.py

Issue 8386013: Merging in latest boto. (Closed) Base URL: svn://svn.chromium.org/boto
Patch Set: Redoing vendor drop by deleting and then merging. Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « boto/ec2/volume.py ('k') | boto/emr/bootstrap_action.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2010 Chris Moyer http://coredumped.org/ 1 # Copyright (c) 2010 Chris Moyer http://coredumped.org/
2 # 2 #
3 # Permission is hereby granted, free of charge, to any person obtaining a 3 # Permission is hereby granted, free of charge, to any person obtaining a
4 # copy of this software and associated documentation files (the 4 # copy of this software and associated documentation files (the
5 # "Software"), to deal in the Software without restriction, including 5 # "Software"), to deal in the Software without restriction, including
6 # without limitation the rights to use, copy, modify, merge, publish, dis- 6 # without limitation the rights to use, copy, modify, merge, publish, dis-
7 # tribute, sublicense, and/or sell copies of the Software, and to permit 7 # tribute, sublicense, and/or sell copies of the Software, and to permit
8 # persons to whom the Software is furnished to do so, subject to the fol- 8 # persons to whom the Software is furnished to do so, subject to the fol-
9 # lowing conditions: 9 # lowing conditions:
10 # 10 #
(...skipping 10 matching lines...) Expand all
21 21
22 import boto 22 import boto
23 from boto.connection import AWSQueryConnection, AWSAuthConnection 23 from boto.connection import AWSQueryConnection, AWSAuthConnection
24 import time 24 import time
25 import urllib 25 import urllib
26 import xml.sax 26 import xml.sax
27 from boto.ecs.item import ItemSet 27 from boto.ecs.item import ItemSet
28 from boto import handler 28 from boto import handler
29 29
30 class ECSConnection(AWSQueryConnection): 30 class ECSConnection(AWSQueryConnection):
31 """ECommerse Connection""" 31 """
32 ECommerce Connection
33
34 For more information on how to use this module see:
35
36 http://blog.coredumped.org/2010/09/search-for-books-on-amazon-using-boto.htm l
37 """
32 38
33 APIVersion = '2010-11-01' 39 APIVersion = '2010-11-01'
34 40
35 def __init__(self, aws_access_key_id=None, aws_secret_access_key=None, 41 def __init__(self, aws_access_key_id=None, aws_secret_access_key=None,
36 is_secure=True, port=None, proxy=None, proxy_port=None, 42 is_secure=True, port=None, proxy=None, proxy_port=None,
37 proxy_user=None, proxy_pass=None, host='ecs.amazonaws.com', 43 proxy_user=None, proxy_pass=None, host='ecs.amazonaws.com',
38 debug=0, https_connection_factory=None, path='/'): 44 debug=0, https_connection_factory=None, path='/'):
39 AWSQueryConnection.__init__(self, aws_access_key_id, aws_secret_access_k ey, 45 AWSQueryConnection.__init__(self, aws_access_key_id, aws_secret_access_k ey,
40 is_secure, port, proxy, proxy_port, proxy_us er, proxy_pass, 46 is_secure, port, proxy, proxy_port, proxy_us er, proxy_pass,
41 host, debug, https_connection_factory, path) 47 host, debug, https_connection_factory, path)
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 def item_search(self, search_index, **params): 81 def item_search(self, search_index, **params):
76 """ 82 """
77 Returns items that satisfy the search criteria, including one or more se arch 83 Returns items that satisfy the search criteria, including one or more se arch
78 indices. 84 indices.
79 85
80 For a full list of search terms, 86 For a full list of search terms,
81 :see: http://docs.amazonwebservices.com/AWSECommerceService/2010-09-01/D G/index.html?ItemSearch.html 87 :see: http://docs.amazonwebservices.com/AWSECommerceService/2010-09-01/D G/index.html?ItemSearch.html
82 """ 88 """
83 params['SearchIndex'] = search_index 89 params['SearchIndex'] = search_index
84 return self.get_response('ItemSearch', params) 90 return self.get_response('ItemSearch', params)
OLDNEW
« no previous file with comments | « boto/ec2/volume.py ('k') | boto/emr/bootstrap_action.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698