aws-sdk 1.30.1 → 1.31.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (126) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -3
  3. data/lib/aws/api_config/CloudFront-2013-11-11.yml +2886 -0
  4. data/lib/aws/api_config/CloudTrail-2013-11-01.yml +36 -0
  5. data/lib/aws/api_config/ElasticTranscoder-2012-09-25.yml +67 -446
  6. data/lib/aws/auto_scaling.rb +0 -1
  7. data/lib/aws/auto_scaling/client.rb +2 -0
  8. data/lib/aws/cloud_formation.rb +0 -1
  9. data/lib/aws/cloud_formation/client.rb +2 -0
  10. data/lib/aws/cloud_front.rb +0 -1
  11. data/lib/aws/cloud_front/client.rb +6 -6
  12. data/lib/aws/cloud_search.rb +0 -1
  13. data/lib/aws/cloud_search/client.rb +3 -0
  14. data/lib/aws/cloud_trail.rb +0 -1
  15. data/lib/aws/cloud_trail/client.rb +2 -0
  16. data/lib/aws/cloud_watch.rb +0 -1
  17. data/lib/aws/cloud_watch/client.rb +2 -0
  18. data/lib/aws/core.rb +8 -6
  19. data/lib/aws/core/client.rb +30 -4
  20. data/lib/aws/core/configuration.rb +1 -1
  21. data/lib/aws/core/http/request.rb +2 -1
  22. data/lib/aws/core/signers/base.rb +46 -0
  23. data/lib/aws/core/signers/cloud_front.rb +56 -0
  24. data/lib/aws/core/signers/s3.rb +159 -0
  25. data/lib/aws/core/signers/version_2.rb +72 -0
  26. data/lib/aws/core/signers/version_3.rb +86 -0
  27. data/lib/aws/core/signers/version_3_https.rb +61 -0
  28. data/lib/aws/core/signers/version_4.rb +228 -0
  29. data/lib/aws/core/signers/version_4/chunk_signed_stream.rb +191 -0
  30. data/lib/aws/data_pipeline.rb +0 -1
  31. data/lib/aws/data_pipeline/client.rb +3 -0
  32. data/lib/aws/direct_connect.rb +0 -1
  33. data/lib/aws/direct_connect/client.rb +3 -0
  34. data/lib/aws/dynamo_db.rb +0 -1
  35. data/lib/aws/dynamo_db/client.rb +2 -0
  36. data/lib/aws/ec2.rb +0 -1
  37. data/lib/aws/ec2/client.rb +21 -0
  38. data/lib/aws/elastic_beanstalk.rb +0 -1
  39. data/lib/aws/elastic_beanstalk/client.rb +3 -0
  40. data/lib/aws/elastic_transcoder.rb +0 -1
  41. data/lib/aws/elastic_transcoder/client.rb +2 -0
  42. data/lib/aws/elasticache.rb +0 -1
  43. data/lib/aws/elasticache/client.rb +2 -0
  44. data/lib/aws/elb.rb +0 -1
  45. data/lib/aws/elb/client.rb +2 -0
  46. data/lib/aws/emr.rb +0 -1
  47. data/lib/aws/emr/client.rb +2 -0
  48. data/lib/aws/glacier.rb +0 -1
  49. data/lib/aws/glacier/client.rb +2 -0
  50. data/lib/aws/iam.rb +0 -1
  51. data/lib/aws/iam/client.rb +2 -0
  52. data/lib/aws/import_export.rb +0 -1
  53. data/lib/aws/import_export/client.rb +2 -0
  54. data/lib/aws/kinesis.rb +0 -1
  55. data/lib/aws/kinesis/client.rb +2 -0
  56. data/lib/aws/ops_works.rb +0 -1
  57. data/lib/aws/ops_works/client.rb +2 -0
  58. data/lib/aws/rds.rb +0 -1
  59. data/lib/aws/rds/client.rb +2 -0
  60. data/lib/aws/redshift.rb +0 -1
  61. data/lib/aws/redshift/client.rb +2 -0
  62. data/lib/aws/route_53.rb +0 -1
  63. data/lib/aws/route_53/client.rb +2 -0
  64. data/lib/aws/s3.rb +1 -0
  65. data/lib/aws/s3/bucket_collection.rb +9 -7
  66. data/lib/aws/s3/client.rb +70 -9
  67. data/lib/aws/s3/config.rb +12 -0
  68. data/lib/aws/s3/object_collection.rb +4 -9
  69. data/lib/aws/s3/presign_v4.rb +127 -0
  70. data/lib/aws/s3/presigned_post.rb +1 -1
  71. data/lib/aws/s3/request.rb +0 -136
  72. data/lib/aws/s3/s3_object.rb +40 -19
  73. data/lib/aws/simple_db.rb +0 -1
  74. data/lib/aws/simple_db/client.rb +2 -0
  75. data/lib/aws/simple_email_service.rb +0 -1
  76. data/lib/aws/simple_email_service/client.rb +2 -0
  77. data/lib/aws/simple_workflow.rb +0 -1
  78. data/lib/aws/simple_workflow/client.rb +2 -0
  79. data/lib/aws/sns.rb +0 -1
  80. data/lib/aws/sns/client.rb +2 -0
  81. data/lib/aws/sqs.rb +0 -1
  82. data/lib/aws/sqs/client.rb +2 -0
  83. data/lib/aws/storage_gateway.rb +0 -1
  84. data/lib/aws/storage_gateway/client.rb +2 -0
  85. data/lib/aws/sts.rb +0 -1
  86. data/lib/aws/sts/client.rb +2 -0
  87. data/lib/aws/support.rb +0 -1
  88. data/lib/aws/support/client.rb +2 -0
  89. data/lib/aws/version.rb +1 -1
  90. metadata +12 -38
  91. data/lib/aws/auto_scaling/request.rb +0 -29
  92. data/lib/aws/cloud_formation/request.rb +0 -29
  93. data/lib/aws/cloud_front/request.rb +0 -30
  94. data/lib/aws/cloud_search/request.rb +0 -23
  95. data/lib/aws/cloud_trail/request.rb +0 -30
  96. data/lib/aws/cloud_watch/request.rb +0 -29
  97. data/lib/aws/core/signature/version_2.rb +0 -56
  98. data/lib/aws/core/signature/version_3.rb +0 -77
  99. data/lib/aws/core/signature/version_3_https.rb +0 -54
  100. data/lib/aws/core/signature/version_4.rb +0 -135
  101. data/lib/aws/core/signer.rb +0 -46
  102. data/lib/aws/data_pipeline/request.rb +0 -26
  103. data/lib/aws/direct_connect/request.rb +0 -27
  104. data/lib/aws/dynamo_db/request.rb +0 -26
  105. data/lib/aws/ec2/request.rb +0 -21
  106. data/lib/aws/elastic_beanstalk/request.rb +0 -29
  107. data/lib/aws/elastic_transcoder/request.rb +0 -30
  108. data/lib/aws/elasticache/request.rb +0 -23
  109. data/lib/aws/elb/request.rb +0 -29
  110. data/lib/aws/emr/request.rb +0 -28
  111. data/lib/aws/glacier/request.rb +0 -29
  112. data/lib/aws/iam/request.rb +0 -29
  113. data/lib/aws/import_export/request.rb +0 -23
  114. data/lib/aws/kinesis/request.rb +0 -26
  115. data/lib/aws/ops_works/request.rb +0 -27
  116. data/lib/aws/rds/request.rb +0 -29
  117. data/lib/aws/redshift/request.rb +0 -29
  118. data/lib/aws/route_53/request.rb +0 -23
  119. data/lib/aws/simple_db/request.rb +0 -23
  120. data/lib/aws/simple_email_service/request.rb +0 -27
  121. data/lib/aws/simple_workflow/request.rb +0 -28
  122. data/lib/aws/sns/request.rb +0 -29
  123. data/lib/aws/sqs/request.rb +0 -31
  124. data/lib/aws/storage_gateway/request.rb +0 -28
  125. data/lib/aws/sts/request.rb +0 -29
  126. data/lib/aws/support/request.rb +0 -27
@@ -31,28 +31,6 @@ module AWS
31
31
  # @api private
32
32
  attr_accessor :force_path_style
33
33
 
34
- def metadata= metadata
35
- Array(metadata).each do |name, value|
36
- headers["x-amz-meta-#{name}"] = value
37
- end
38
- end
39
-
40
- def storage_class= storage_class
41
- if storage_class.kind_of?(Symbol)
42
- headers["x-amz-storage-class"] = storage_class.to_s.upcase
43
- elsif storage_class
44
- headers["x-amz-storage-class"] = storage_class
45
- end
46
- end
47
-
48
- def server_side_encryption= sse
49
- if sse.is_a?(Symbol)
50
- headers['x-amz-server-side-encryption'] = sse.to_s.upcase
51
- elsif sse
52
- headers['x-amz-server-side-encryption'] = sse
53
- end
54
- end
55
-
56
34
  def host
57
35
  path_style? ? @host : "#{bucket}.#{@host}"
58
36
  end
@@ -66,7 +44,6 @@ module AWS
66
44
  end
67
45
 
68
46
  def uri
69
-
70
47
  parts = []
71
48
  parts << bucket if bucket and path_style?
72
49
  parts << escape_path(key) if key
@@ -78,119 +55,6 @@ module AWS
78
55
  uri << path
79
56
  uri << "?#{querystring}" if querystring
80
57
  uri
81
-
82
- end
83
-
84
- # From the S3 developer guide:
85
- #
86
- # StringToSign =
87
- # HTTP-Verb ` "\n" `
88
- # content-md5 ` "\n" `
89
- # content-type ` "\n" `
90
- # date ` "\n" `
91
- # CanonicalizedAmzHeaders + CanonicalizedResource;
92
- #
93
- def string_to_sign
94
- [
95
- http_method,
96
- headers.values_at('content-md5', 'content-type').join("\n"),
97
- signing_string_date,
98
- canonicalized_headers,
99
- canonicalized_resource,
100
- ].flatten.compact.join("\n")
101
- end
102
-
103
- def signing_string_date
104
- # if a date is provided via x-amz-date then we should omit the
105
- # Date header from the signing string (should appear as a blank line)
106
- if headers.detect{|k,v| k.to_s =~ /^x-amz-date$/i }
107
- ''
108
- else
109
- headers['date'] ||= Time.now.httpdate
110
- end
111
- end
112
-
113
- # From the S3 developer guide
114
- #
115
- # CanonicalizedResource =
116
- # [ "/" ` Bucket ] `
117
- # <HTTP-Request-URI, from the protocol name up to the querystring> +
118
- # [ sub-resource, if present. e.g. "?acl", "?location",
119
- # "?logging", or "?torrent"];
120
- #
121
- def canonicalized_resource
122
-
123
- parts = []
124
-
125
- # virtual hosted-style requests require the hostname to appear
126
- # in the canonicalized resource prefixed by a forward slash.
127
- if Client.dns_compatible_bucket_name?(bucket) and !path_style?
128
- parts << "/#{bucket}"
129
- end
130
-
131
- # all requests require the portion of the un-decoded uri up to
132
- # but not including the query string
133
- parts << path
134
-
135
- # lastly any sub resource querystring params need to be appened
136
- # in lexigraphical ordered joined by '&' and prefixed by '?'
137
- params = (sub_resource_params + query_parameters_for_signature)
138
- unless params.empty?
139
- parts << '?'
140
- parts << params.sort.collect{|p| p.to_s }.join('&')
141
- end
142
-
143
- parts.join
144
- end
145
-
146
- # CanonicalizedAmzHeaders
147
- #
148
- # See the developer guide for more information on how this element
149
- # is generated.
150
- #
151
- def canonicalized_headers
152
- x_amz = headers.select{|name, value| name.to_s =~ /^x-amz-/i }
153
- x_amz = x_amz.collect{|name, value| [name.downcase, value] }
154
- x_amz = x_amz.sort_by{|name, value| name }
155
- x_amz = x_amz.collect{|name, value| "#{name}:#{value.to_s.strip}" }.join("\n")
156
- x_amz == '' ? nil : x_amz
157
- end
158
-
159
- def sub_resource_params
160
- params.select{|p| self.class.sub_resources.include?(p.name) }
161
- end
162
-
163
- def query_parameters_for_signature
164
- params.select { |p| self.class.query_parameters.include?(p.name) }
165
- end
166
-
167
- def add_authorization! credentials
168
- if token = credentials.session_token
169
- headers["x-amz-security-token"] = token
170
- end
171
-
172
- secret = credentials.secret_access_key
173
- signature = Core::Signer.sign(secret, string_to_sign, 'sha1')
174
- signature = URI.escape(signature)
175
- headers["authorization"] = "AWS #{credentials.access_key_id}:#{signature}"
176
- end
177
-
178
- class << self
179
-
180
- def sub_resources
181
- %w(acl location logging notification partNumber policy
182
- requestPayment torrent uploadId uploads versionId
183
- versioning versions restore delete lifecycle tagging cors
184
- website
185
- )
186
- end
187
-
188
- def query_parameters
189
- %w(response-content-type response-content-language
190
- response-expires response-cache-control
191
- response-content-disposition response-content-encoding)
192
- end
193
-
194
58
  end
195
59
 
196
60
  end
@@ -1138,7 +1138,7 @@ module AWS
1138
1138
  end
1139
1139
 
1140
1140
  # @api private
1141
- REQUEST_PARAMETERS = Request.query_parameters.map do |p|
1141
+ REQUEST_PARAMETERS = Core::Signers::S3::QUERY_PARAMS.map do |p|
1142
1142
  p.tr("-","_").to_sym
1143
1143
  end
1144
1144
 
@@ -1229,28 +1229,25 @@ module AWS
1229
1229
  # @option options [String] :response_content_encoding Sets the
1230
1230
  # Content-Encoding header of the response when performing an
1231
1231
  # HTTP GET on the returned URL.
1232
+ #
1233
+ # @option options [:v3, :v4] :signature_version (:v3)
1234
+ #
1232
1235
  # @return [URI::HTTP, URI::HTTPS]
1233
1236
  def url_for(method, options = {})
1237
+
1234
1238
  options = options.dup
1235
- options[:secure] = config.use_ssl? unless options.key?(:secure)
1236
1239
  options[:expires] = expiration_timestamp(options[:expires])
1237
- options[:acl] = options[:acl].to_s.sub('_', '-') if options[:acl]
1240
+ options[:secure] = config.use_ssl? unless options.key?(:secure)
1241
+ options[:signature_version] ||= config.s3_signature_version
1238
1242
 
1239
- req = request_for_signing(options)
1240
- req.http_method = http_method(method)
1241
- req.add_param("AWSAccessKeyId", config.credential_provider.access_key_id)
1242
- req.add_param("versionId", options[:version_id]) if options[:version_id]
1243
- req.add_param("Signature", signature(req, options))
1244
- req.add_param("Expires", options[:expires])
1245
- req.add_param("x-amz-acl", options[:acl]) if options[:acl]
1246
- if config.credential_provider.session_token
1247
- req.add_param(
1248
- "x-amz-security-token",
1249
- config.credential_provider.session_token
1250
- )
1243
+ case options[:signature_version]
1244
+ when :v3 then presign_v3(method, options)
1245
+ when :v4 then presign_v4(method, options)
1246
+ else
1247
+ msg = "invalid signature version, expected :v3 or :v4, got "
1248
+ msg << options[:signature_version].inspect
1249
+ raise ArgumentError, msg
1251
1250
  end
1252
-
1253
- build_uri(req, options)
1254
1251
  end
1255
1252
 
1256
1253
  # Generates a public (not authenticated) URL for the object.
@@ -1297,6 +1294,30 @@ module AWS
1297
1294
 
1298
1295
  private
1299
1296
 
1297
+ def presign_v4(method, options)
1298
+ PresignV4.new(self).presign(method, options)
1299
+ end
1300
+
1301
+ def presign_v3(method, options)
1302
+ options[:acl] = options[:acl].to_s.sub('_', '-') if options[:acl]
1303
+
1304
+ req = request_for_signing(options)
1305
+ req.http_method = http_method(method)
1306
+ req.add_param("AWSAccessKeyId", config.credential_provider.access_key_id)
1307
+ req.add_param("versionId", options[:version_id]) if options[:version_id]
1308
+ req.add_param("Signature", signature(req, options))
1309
+ req.add_param("Expires", options[:expires])
1310
+ req.add_param("x-amz-acl", options[:acl]) if options[:acl]
1311
+ if config.credential_provider.session_token
1312
+ req.add_param(
1313
+ "x-amz-security-token",
1314
+ config.credential_provider.session_token
1315
+ )
1316
+ end
1317
+
1318
+ build_uri(req, options)
1319
+ end
1320
+
1300
1321
  # Used to determine if the data needs to be copied in parts
1301
1322
  def use_multipart_copy? options
1302
1323
  options[:use_multipart_copy]
@@ -1412,12 +1433,12 @@ module AWS
1412
1433
  if token = config.credential_provider.session_token
1413
1434
  parts << "x-amz-security-token:#{token}"
1414
1435
  end
1415
- parts << request.canonicalized_resource
1436
+ parts << Core::Signers::S3.canonicalized_resource(request)
1416
1437
 
1417
1438
  string_to_sign = parts.join("\n")
1418
1439
 
1419
1440
  secret = config.credential_provider.secret_access_key
1420
- Core::Signer.sign(secret, string_to_sign, 'sha1')
1441
+ Core::Signers::Base.sign(secret, string_to_sign, 'sha1')
1421
1442
  end
1422
1443
 
1423
1444
  def expiration_timestamp(input)
@@ -154,7 +154,6 @@ module AWS
154
154
  autoload :ItemCollection, 'aws/simple_db/item_collection'
155
155
  autoload :ItemData, 'aws/simple_db/item_data'
156
156
  autoload :PutAttributes, 'aws/simple_db/put_attributes'
157
- autoload :Request, 'aws/simple_db/request'
158
157
 
159
158
  include Core::ServiceInterface
160
159
 
@@ -19,6 +19,8 @@ module AWS
19
19
 
20
20
  API_VERSION = '2009-04-15'
21
21
 
22
+ signature_version :Version2
23
+
22
24
  # @api private
23
25
  REGION_US_E1 = 'sdb.amazonaws.com'
24
26
 
@@ -178,7 +178,6 @@ module AWS
178
178
  autoload :Identity, 'aws/simple_email_service/identity'
179
179
  autoload :IdentityCollection, 'aws/simple_email_service/identity_collection'
180
180
  autoload :Quotas, 'aws/simple_email_service/quotas'
181
- autoload :Request, 'aws/simple_email_service/request'
182
181
 
183
182
  include Core::ServiceInterface
184
183
 
@@ -19,6 +19,8 @@ module AWS
19
19
 
20
20
  API_VERSION = '2010-12-01'
21
21
 
22
+ signature_version :Version4, 'ses'
23
+
22
24
  REGION_US_E1 = 'email.us-east-1.amazonaws.com'
23
25
 
24
26
  # @api private
@@ -206,7 +206,6 @@ module AWS
206
206
  autoload :HistoryEvent, 'aws/simple_workflow/history_event'
207
207
  autoload :HistoryEventCollection, 'aws/simple_workflow/history_event_collection'
208
208
  autoload :OptionFormatters, 'aws/simple_workflow/option_formatters'
209
- autoload :Request, 'aws/simple_workflow/request'
210
209
  autoload :Resource, 'aws/simple_workflow/resource'
211
210
  autoload :Type, 'aws/simple_workflow/type'
212
211
  autoload :TypeCollection, 'aws/simple_workflow/type_collection'
@@ -19,6 +19,8 @@ module AWS
19
19
 
20
20
  API_VERSION = '2012-01-25'
21
21
 
22
+ signature_version :Version4, 'swf'
23
+
22
24
  # @api private
23
25
  CACHEABLE_REQUESTS = Set[
24
26
  :count_pending_activity_tasks,
@@ -50,7 +50,6 @@ module AWS
50
50
  autoload :Errors, 'aws/sns/errors'
51
51
  autoload :Policy, 'aws/sns/policy'
52
52
  autoload :HasDeliveryPolicy, 'aws/sns/has_delivery_policy'
53
- autoload :Request, 'aws/sns/request'
54
53
  autoload :Subscription, 'aws/sns/subscription'
55
54
  autoload :SubscriptionCollection, 'aws/sns/subscription_collection'
56
55
  autoload :Topic, 'aws/sns/topic'
@@ -19,6 +19,8 @@ module AWS
19
19
 
20
20
  API_VERSION = '2010-03-31'
21
21
 
22
+ signature_version :Version4, 'sns'
23
+
22
24
  # @api private
23
25
  CACHEABLE_REQUESTS = Set[]
24
26
 
@@ -64,7 +64,6 @@ module AWS
64
64
  autoload :Policy, 'aws/sqs/policy'
65
65
  autoload :ReceivedMessage, 'aws/sqs/received_message'
66
66
  autoload :ReceivedSNSMessage, 'aws/sqs/received_sns_message'
67
- autoload :Request, 'aws/sqs/request'
68
67
 
69
68
  include Core::ServiceInterface
70
69
 
@@ -19,6 +19,8 @@ module AWS
19
19
 
20
20
  API_VERSION = '2012-11-05'
21
21
 
22
+ signature_version :Version4, 'sqs'
23
+
22
24
  # @api private
23
25
  CACHEABLE_REQUESTS = Set[]
24
26
 
@@ -63,7 +63,6 @@ module AWS
63
63
 
64
64
  autoload :Client, 'aws/storage_gateway/client'
65
65
  autoload :Errors, 'aws/storage_gateway/errors'
66
- autoload :Request, 'aws/storage_gateway/request'
67
66
 
68
67
  include Core::ServiceInterface
69
68
 
@@ -19,6 +19,8 @@ module AWS
19
19
 
20
20
  API_VERSION = '2013-06-30'
21
21
 
22
+ signature_version :Version4, 'storagegateway'
23
+
22
24
  # @api private
23
25
  CACHEABLE_REQUESTS = Set[]
24
26
 
@@ -47,7 +47,6 @@ module AWS
47
47
  autoload :Errors, 'aws/sts/errors'
48
48
  autoload :FederatedSession, 'aws/sts/federated_session'
49
49
  autoload :Policy, 'aws/sts/policy'
50
- autoload :Request, 'aws/sts/request'
51
50
  autoload :Session, 'aws/sts/session'
52
51
 
53
52
  include Core::ServiceInterface
@@ -19,6 +19,8 @@ module AWS
19
19
 
20
20
  API_VERSION = '2011-06-15'
21
21
 
22
+ signature_version :Version4, 'sts'
23
+
22
24
  REGION_US_E1 = 'sts.amazonaws.com'
23
25
 
24
26
  # @api private
@@ -20,7 +20,6 @@ module AWS
20
20
 
21
21
  autoload :Client, 'aws/support/client'
22
22
  autoload :Errors, 'aws/support/errors'
23
- autoload :Request, 'aws/support/request'
24
23
 
25
24
  include Core::ServiceInterface
26
25
 
@@ -19,6 +19,8 @@ module AWS
19
19
 
20
20
  API_VERSION = '2013-04-15'
21
21
 
22
+ signature_version :Version4, 'support'
23
+
22
24
  # @api private
23
25
  CACHEABLE_REQUESTS = Set[]
24
26
 
@@ -13,5 +13,5 @@
13
13
 
14
14
  module AWS
15
15
  # Current version of the AWS SDK for Ruby
16
- VERSION = '1.30.1'
16
+ VERSION = '1.31.0'
17
17
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.30.1
4
+ version: 1.31.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-18 00:00:00.000000000 Z
11
+ date: 2013-12-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: uuidtools
@@ -78,7 +78,6 @@ files:
78
78
  - lib/aws/auto_scaling/launch_configuration_collection.rb
79
79
  - lib/aws/auto_scaling/notification_configuration.rb
80
80
  - lib/aws/auto_scaling/notification_configuration_collection.rb
81
- - lib/aws/auto_scaling/request.rb
82
81
  - lib/aws/auto_scaling/scaling_policy.rb
83
82
  - lib/aws/auto_scaling/scaling_policy_collection.rb
84
83
  - lib/aws/auto_scaling/scaling_policy_options.rb
@@ -90,7 +89,6 @@ files:
90
89
  - lib/aws/cloud_formation/client.rb
91
90
  - lib/aws/cloud_formation/config.rb
92
91
  - lib/aws/cloud_formation/errors.rb
93
- - lib/aws/cloud_formation/request.rb
94
92
  - lib/aws/cloud_formation/stack.rb
95
93
  - lib/aws/cloud_formation/stack_collection.rb
96
94
  - lib/aws/cloud_formation/stack_event.rb
@@ -105,17 +103,14 @@ files:
105
103
  - lib/aws/cloud_front/client.rb
106
104
  - lib/aws/cloud_front/config.rb
107
105
  - lib/aws/cloud_front/errors.rb
108
- - lib/aws/cloud_front/request.rb
109
106
  - lib/aws/cloud_front.rb
110
107
  - lib/aws/cloud_search/client.rb
111
108
  - lib/aws/cloud_search/config.rb
112
109
  - lib/aws/cloud_search/errors.rb
113
- - lib/aws/cloud_search/request.rb
114
110
  - lib/aws/cloud_search.rb
115
111
  - lib/aws/cloud_trail/client.rb
116
112
  - lib/aws/cloud_trail/config.rb
117
113
  - lib/aws/cloud_trail/errors.rb
118
- - lib/aws/cloud_trail/request.rb
119
114
  - lib/aws/cloud_trail.rb
120
115
  - lib/aws/cloud_watch/alarm.rb
121
116
  - lib/aws/cloud_watch/alarm_collection.rb
@@ -128,7 +123,6 @@ files:
128
123
  - lib/aws/cloud_watch/metric_alarm_collection.rb
129
124
  - lib/aws/cloud_watch/metric_collection.rb
130
125
  - lib/aws/cloud_watch/metric_statistics.rb
131
- - lib/aws/cloud_watch/request.rb
132
126
  - lib/aws/cloud_watch.rb
133
127
  - lib/aws/core/async_handle.rb
134
128
  - lib/aws/core/cacheable.rb
@@ -182,11 +176,14 @@ files:
182
176
  - lib/aws/core/rest_response_parser.rb
183
177
  - lib/aws/core/rest_xml_client.rb
184
178
  - lib/aws/core/service_interface.rb
185
- - lib/aws/core/signature/version_2.rb
186
- - lib/aws/core/signature/version_3.rb
187
- - lib/aws/core/signature/version_3_https.rb
188
- - lib/aws/core/signature/version_4.rb
189
- - lib/aws/core/signer.rb
179
+ - lib/aws/core/signers/base.rb
180
+ - lib/aws/core/signers/cloud_front.rb
181
+ - lib/aws/core/signers/s3.rb
182
+ - lib/aws/core/signers/version_2.rb
183
+ - lib/aws/core/signers/version_3.rb
184
+ - lib/aws/core/signers/version_3_https.rb
185
+ - lib/aws/core/signers/version_4/chunk_signed_stream.rb
186
+ - lib/aws/core/signers/version_4.rb
190
187
  - lib/aws/core/uri_escape.rb
191
188
  - lib/aws/core/xml/frame.rb
192
189
  - lib/aws/core/xml/frame_stack.rb
@@ -202,12 +199,10 @@ files:
202
199
  - lib/aws/data_pipeline/client.rb
203
200
  - lib/aws/data_pipeline/config.rb
204
201
  - lib/aws/data_pipeline/errors.rb
205
- - lib/aws/data_pipeline/request.rb
206
202
  - lib/aws/data_pipeline.rb
207
203
  - lib/aws/direct_connect/client.rb
208
204
  - lib/aws/direct_connect/config.rb
209
205
  - lib/aws/direct_connect/errors.rb
210
- - lib/aws/direct_connect/request.rb
211
206
  - lib/aws/direct_connect.rb
212
207
  - lib/aws/dynamo_db/attribute_collection.rb
213
208
  - lib/aws/dynamo_db/batch_get.rb
@@ -225,7 +220,6 @@ files:
225
220
  - lib/aws/dynamo_db/item_data.rb
226
221
  - lib/aws/dynamo_db/keys.rb
227
222
  - lib/aws/dynamo_db/primary_key_element.rb
228
- - lib/aws/dynamo_db/request.rb
229
223
  - lib/aws/dynamo_db/resource.rb
230
224
  - lib/aws/dynamo_db/table.rb
231
225
  - lib/aws/dynamo_db/table_collection.rb
@@ -270,7 +264,6 @@ files:
270
264
  - lib/aws/ec2/permission_collection.rb
271
265
  - lib/aws/ec2/region.rb
272
266
  - lib/aws/ec2/region_collection.rb
273
- - lib/aws/ec2/request.rb
274
267
  - lib/aws/ec2/reserved_instances.rb
275
268
  - lib/aws/ec2/reserved_instances_collection.rb
276
269
  - lib/aws/ec2/reserved_instances_offering.rb
@@ -307,17 +300,14 @@ files:
307
300
  - lib/aws/elastic_beanstalk/client.rb
308
301
  - lib/aws/elastic_beanstalk/config.rb
309
302
  - lib/aws/elastic_beanstalk/errors.rb
310
- - lib/aws/elastic_beanstalk/request.rb
311
303
  - lib/aws/elastic_beanstalk.rb
312
304
  - lib/aws/elastic_transcoder/client.rb
313
305
  - lib/aws/elastic_transcoder/config.rb
314
306
  - lib/aws/elastic_transcoder/errors.rb
315
- - lib/aws/elastic_transcoder/request.rb
316
307
  - lib/aws/elastic_transcoder.rb
317
308
  - lib/aws/elasticache/client.rb
318
309
  - lib/aws/elasticache/config.rb
319
310
  - lib/aws/elasticache/errors.rb
320
- - lib/aws/elasticache/request.rb
321
311
  - lib/aws/elasticache.rb
322
312
  - lib/aws/elb/availability_zone_collection.rb
323
313
  - lib/aws/elb/backend_server_policy_collection.rb
@@ -332,7 +322,6 @@ files:
332
322
  - lib/aws/elb/load_balancer_collection.rb
333
323
  - lib/aws/elb/load_balancer_policy.rb
334
324
  - lib/aws/elb/load_balancer_policy_collection.rb
335
- - lib/aws/elb/request.rb
336
325
  - lib/aws/elb.rb
337
326
  - lib/aws/emr/client.rb
338
327
  - lib/aws/emr/config.rb
@@ -341,7 +330,6 @@ files:
341
330
  - lib/aws/emr/instance_group_collection.rb
342
331
  - lib/aws/emr/job_flow.rb
343
332
  - lib/aws/emr/job_flow_collection.rb
344
- - lib/aws/emr/request.rb
345
333
  - lib/aws/emr.rb
346
334
  - lib/aws/errors.rb
347
335
  - lib/aws/glacier/archive.rb
@@ -349,7 +337,6 @@ files:
349
337
  - lib/aws/glacier/client.rb
350
338
  - lib/aws/glacier/config.rb
351
339
  - lib/aws/glacier/errors.rb
352
- - lib/aws/glacier/request.rb
353
340
  - lib/aws/glacier/resource.rb
354
341
  - lib/aws/glacier/vault.rb
355
342
  - lib/aws/glacier/vault_collection.rb
@@ -371,7 +358,6 @@ files:
371
358
  - lib/aws/iam/mfa_device_collection.rb
372
359
  - lib/aws/iam/policy.rb
373
360
  - lib/aws/iam/policy_collection.rb
374
- - lib/aws/iam/request.rb
375
361
  - lib/aws/iam/resource.rb
376
362
  - lib/aws/iam/server_certificate.rb
377
363
  - lib/aws/iam/server_certificate_collection.rb
@@ -388,17 +374,14 @@ files:
388
374
  - lib/aws/import_export/client.rb
389
375
  - lib/aws/import_export/config.rb
390
376
  - lib/aws/import_export/errors.rb
391
- - lib/aws/import_export/request.rb
392
377
  - lib/aws/import_export.rb
393
378
  - lib/aws/kinesis/client.rb
394
379
  - lib/aws/kinesis/config.rb
395
380
  - lib/aws/kinesis/errors.rb
396
- - lib/aws/kinesis/request.rb
397
381
  - lib/aws/kinesis.rb
398
382
  - lib/aws/ops_works/client.rb
399
383
  - lib/aws/ops_works/config.rb
400
384
  - lib/aws/ops_works/errors.rb
401
- - lib/aws/ops_works/request.rb
402
385
  - lib/aws/ops_works.rb
403
386
  - lib/aws/rails.rb
404
387
  - lib/aws/rds/client.rb
@@ -408,7 +391,6 @@ files:
408
391
  - lib/aws/rds/db_snapshot.rb
409
392
  - lib/aws/rds/db_snapshot_collection.rb
410
393
  - lib/aws/rds/errors.rb
411
- - lib/aws/rds/request.rb
412
394
  - lib/aws/rds.rb
413
395
  - lib/aws/record/abstract_base.rb
414
396
  - lib/aws/record/attributes.rb
@@ -443,7 +425,6 @@ files:
443
425
  - lib/aws/redshift/client.rb
444
426
  - lib/aws/redshift/config.rb
445
427
  - lib/aws/redshift/errors.rb
446
- - lib/aws/redshift/request.rb
447
428
  - lib/aws/redshift.rb
448
429
  - lib/aws/route_53/change_batch.rb
449
430
  - lib/aws/route_53/change_info.rb
@@ -452,7 +433,6 @@ files:
452
433
  - lib/aws/route_53/errors.rb
453
434
  - lib/aws/route_53/hosted_zone.rb
454
435
  - lib/aws/route_53/hosted_zone_collection.rb
455
- - lib/aws/route_53/request.rb
456
436
  - lib/aws/route_53/resource_record_set.rb
457
437
  - lib/aws/route_53/resource_record_set_collection.rb
458
438
  - lib/aws/route_53.rb
@@ -484,6 +464,7 @@ files:
484
464
  - lib/aws/s3/policy.rb
485
465
  - lib/aws/s3/prefix_and_delimiter_collection.rb
486
466
  - lib/aws/s3/prefixed_collection.rb
467
+ - lib/aws/s3/presign_v4.rb
487
468
  - lib/aws/s3/presigned_post.rb
488
469
  - lib/aws/s3/request.rb
489
470
  - lib/aws/s3/s3_object.rb
@@ -512,7 +493,6 @@ files:
512
493
  - lib/aws/simple_db/item_collection.rb
513
494
  - lib/aws/simple_db/item_data.rb
514
495
  - lib/aws/simple_db/put_attributes.rb
515
- - lib/aws/simple_db/request.rb
516
496
  - lib/aws/simple_db.rb
517
497
  - lib/aws/simple_email_service/client.rb
518
498
  - lib/aws/simple_email_service/config.rb
@@ -521,7 +501,6 @@ files:
521
501
  - lib/aws/simple_email_service/identity.rb
522
502
  - lib/aws/simple_email_service/identity_collection.rb
523
503
  - lib/aws/simple_email_service/quotas.rb
524
- - lib/aws/simple_email_service/request.rb
525
504
  - lib/aws/simple_email_service.rb
526
505
  - lib/aws/simple_workflow/activity_task.rb
527
506
  - lib/aws/simple_workflow/activity_task_collection.rb
@@ -538,7 +517,6 @@ files:
538
517
  - lib/aws/simple_workflow/history_event.rb
539
518
  - lib/aws/simple_workflow/history_event_collection.rb
540
519
  - lib/aws/simple_workflow/option_formatters.rb
541
- - lib/aws/simple_workflow/request.rb
542
520
  - lib/aws/simple_workflow/resource.rb
543
521
  - lib/aws/simple_workflow/type.rb
544
522
  - lib/aws/simple_workflow/type_collection.rb
@@ -554,7 +532,6 @@ files:
554
532
  - lib/aws/sns/message.rb
555
533
  - lib/aws/sns/originators/from_auto_scaling.rb
556
534
  - lib/aws/sns/policy.rb
557
- - lib/aws/sns/request.rb
558
535
  - lib/aws/sns/subscription.rb
559
536
  - lib/aws/sns/subscription_collection.rb
560
537
  - lib/aws/sns/topic.rb
@@ -569,25 +546,21 @@ files:
569
546
  - lib/aws/sqs/queue_collection.rb
570
547
  - lib/aws/sqs/received_message.rb
571
548
  - lib/aws/sqs/received_sns_message.rb
572
- - lib/aws/sqs/request.rb
573
549
  - lib/aws/sqs.rb
574
550
  - lib/aws/storage_gateway/client.rb
575
551
  - lib/aws/storage_gateway/config.rb
576
552
  - lib/aws/storage_gateway/errors.rb
577
- - lib/aws/storage_gateway/request.rb
578
553
  - lib/aws/storage_gateway.rb
579
554
  - lib/aws/sts/client.rb
580
555
  - lib/aws/sts/config.rb
581
556
  - lib/aws/sts/errors.rb
582
557
  - lib/aws/sts/federated_session.rb
583
558
  - lib/aws/sts/policy.rb
584
- - lib/aws/sts/request.rb
585
559
  - lib/aws/sts/session.rb
586
560
  - lib/aws/sts.rb
587
561
  - lib/aws/support/client.rb
588
562
  - lib/aws/support/config.rb
589
563
  - lib/aws/support/errors.rb
590
- - lib/aws/support/request.rb
591
564
  - lib/aws/support.rb
592
565
  - lib/aws/version.rb
593
566
  - lib/aws-sdk.rb
@@ -597,6 +570,7 @@ files:
597
570
  - lib/aws/api_config/CloudFront-2013-05-12.yml
598
571
  - lib/aws/api_config/CloudFront-2013-08-26.yml
599
572
  - lib/aws/api_config/CloudFront-2013-09-27.yml
573
+ - lib/aws/api_config/CloudFront-2013-11-11.yml
600
574
  - lib/aws/api_config/CloudSearch-2011-02-01.yml
601
575
  - lib/aws/api_config/CloudTrail-2013-11-01.yml
602
576
  - lib/aws/api_config/CloudWatch-2010-08-01.yml