aws-sdk-v1 1.56.0 → 1.57.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws/s3.rb +4 -0
- data/lib/aws/s3/bucket_region_cache.rb +51 -0
- data/lib/aws/s3/client.rb +2 -0
- data/lib/aws/s3/region_detection.rb +72 -0
- data/lib/aws/version.rb +1 -1
- metadata +115 -113
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7f47b81bd6d387bbd77b3f412df939bc50a5684d
|
4
|
+
data.tar.gz: 7e72f9df1476c77fe8b6a4b4fa4bdd04199dab33
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b14ef580bf5c99e1d5b1b07f20f028f003fcbc65e2494cefbe2058586d0eb9e0b16cd2a91b1199602f19f02b38d32453a77d5c675aad0ac5141ca2a06025a40b
|
7
|
+
data.tar.gz: 5d5b1d2ffc2c0c39e82209b0e8b6f11b7006f37d98a8e72331a6a87039880c953289237dac716a711cb2f1ffa8ef48f0d270f247289fa934169ce33d7c01c4de
|
data/lib/aws/s3.rb
CHANGED
@@ -114,6 +114,7 @@ module AWS
|
|
114
114
|
autoload :BucketCollection, 'aws/s3/bucket_collection'
|
115
115
|
autoload :BucketTagCollection, 'aws/s3/bucket_tag_collection'
|
116
116
|
autoload :BucketLifecycleConfiguration, 'aws/s3/bucket_lifecycle_configuration'
|
117
|
+
autoload :BucketRegionCache, 'aws/s3/bucket_region_cache'
|
117
118
|
autoload :BucketVersionCollection, 'aws/s3/bucket_version_collection'
|
118
119
|
autoload :Client, 'aws/s3/client'
|
119
120
|
autoload :CORSRule, 'aws/s3/cors_rule'
|
@@ -136,6 +137,7 @@ module AWS
|
|
136
137
|
autoload :PresignedPost, 'aws/s3/presigned_post'
|
137
138
|
autoload :PresignV4, 'aws/s3/presign_v4'
|
138
139
|
autoload :Request, 'aws/s3/request'
|
140
|
+
autoload :RegionDetection, 'aws/s3/region_detection'
|
139
141
|
autoload :S3Object, 'aws/s3/s3_object'
|
140
142
|
autoload :Tree, 'aws/s3/tree'
|
141
143
|
autoload :UploadedPart, 'aws/s3/uploaded_part'
|
@@ -146,6 +148,8 @@ module AWS
|
|
146
148
|
|
147
149
|
endpoint_prefix 's3'
|
148
150
|
|
151
|
+
BUCKET_REGIONS = BucketRegionCache.new
|
152
|
+
|
149
153
|
# @return [BucketCollection] Returns a collection that represents all
|
150
154
|
# buckets in the account.
|
151
155
|
def buckets
|
@@ -0,0 +1,51 @@
|
|
1
|
+
require 'thread'
|
2
|
+
|
3
|
+
module AWS
|
4
|
+
class S3
|
5
|
+
class BucketRegionCache
|
6
|
+
|
7
|
+
def initialize
|
8
|
+
@regions = {}
|
9
|
+
@mutex = Mutex.new
|
10
|
+
end
|
11
|
+
|
12
|
+
def [](bucket_name)
|
13
|
+
@mutex.synchronize do
|
14
|
+
@regions[bucket_name]
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
def []=(bucket_name, region_name)
|
19
|
+
@mutex.synchronize do
|
20
|
+
@regions[bucket_name] = region_name
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
def delete(bucket_name)
|
25
|
+
@mutex.synchronize do
|
26
|
+
@regions[bucket_name] = region_name
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
def update!(bucket_regions)
|
31
|
+
@mutex.synchronize do
|
32
|
+
@regions.update!(bucket_regions)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
def clear
|
37
|
+
@mutex.synchronize do
|
38
|
+
@regions = {}
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
def to_hash
|
43
|
+
@mutex.synchronize do
|
44
|
+
@regions.dup
|
45
|
+
end
|
46
|
+
end
|
47
|
+
alias to_h to_hash
|
48
|
+
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
data/lib/aws/s3/client.rb
CHANGED
@@ -0,0 +1,72 @@
|
|
1
|
+
require 'cgi'
|
2
|
+
|
3
|
+
module AWS
|
4
|
+
class S3
|
5
|
+
# @api private
|
6
|
+
module RegionDetection
|
7
|
+
|
8
|
+
private
|
9
|
+
|
10
|
+
def retry_server_errors(&block)
|
11
|
+
response = super
|
12
|
+
if requires_sigv4?(response)
|
13
|
+
detect_region_and_retry(response, &block)
|
14
|
+
else
|
15
|
+
response
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
def requires_sigv4?(resp)
|
20
|
+
resp.http_response.status == 400 &&
|
21
|
+
resp.http_response.body &&
|
22
|
+
resp.http_response.body.include?('Please use AWS4-HMAC-SHA256')
|
23
|
+
end
|
24
|
+
|
25
|
+
def detect_region_and_retry(response, &retry_block)
|
26
|
+
updgrade_to_v4(response, 'us-east-1')
|
27
|
+
yield
|
28
|
+
actual_region = region_from_location_header(response)
|
29
|
+
updgrade_to_v4(response, actual_region)
|
30
|
+
log_region_warning(response, actual_region)
|
31
|
+
yield
|
32
|
+
end
|
33
|
+
|
34
|
+
def updgrade_to_v4(response, region)
|
35
|
+
bucket = response.request_options[:bucket_name]
|
36
|
+
response.http_request.body_stream.rewind
|
37
|
+
response.http_request.headers.delete('authorization')
|
38
|
+
response.http_request.headers.delete('x-amz-security-token')
|
39
|
+
response.http_request.host = new_hostname(response, region)
|
40
|
+
new_v4_signer(region).sign_request(response.http_request)
|
41
|
+
end
|
42
|
+
|
43
|
+
def region_from_location_header(response)
|
44
|
+
location = response.http_response.headers['location'].first
|
45
|
+
location.match(/s3\.(.+?)\.amazonaws\.com/)[1]
|
46
|
+
end
|
47
|
+
|
48
|
+
def new_v4_signer(region)
|
49
|
+
Core::Signers::Version4.new(credential_provider, 's3', region)
|
50
|
+
end
|
51
|
+
|
52
|
+
def new_hostname(response, region)
|
53
|
+
bucket = response.request_options[:bucket_name]
|
54
|
+
if region == 'us-east-1'
|
55
|
+
's3-external-1.amazonaws.com'
|
56
|
+
else
|
57
|
+
"s3.#{region}.amazonaws.com"
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
61
|
+
def log_region_warning(response, actual_region)
|
62
|
+
bucket_name = response.request_options[:bucket_name]
|
63
|
+
S3::BUCKET_REGIONS[bucket_name] = actual_region
|
64
|
+
log_warning("S3 client configured for #{@region.inspect} " +
|
65
|
+
"but the bucket #{bucket_name.inspect} is in" +
|
66
|
+
"#{actual_region.inspect}; Please configure the proper region " +
|
67
|
+
"to avoid multiple unecessary redirects and signing attempts\n")
|
68
|
+
end
|
69
|
+
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|
data/lib/aws/version.rb
CHANGED
metadata
CHANGED
@@ -1,41 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.57.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: 2014-10-
|
11
|
+
date: 2014-10-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 1.4.4
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 1.4.4
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: json
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ~>
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '1.4'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ~>
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '1.4'
|
41
41
|
description: |-
|
@@ -48,64 +48,12 @@ executables:
|
|
48
48
|
extensions: []
|
49
49
|
extra_rdoc_files: []
|
50
50
|
files:
|
51
|
-
- ".yardopts"
|
52
|
-
- LICENSE.txt
|
53
|
-
- README.md
|
54
|
-
- bin/aws-rb
|
55
51
|
- ca-bundle.crt
|
52
|
+
- rails/init.rb
|
56
53
|
- endpoints.json
|
57
|
-
-
|
58
|
-
-
|
59
|
-
-
|
60
|
-
- lib/aws/api_config/CloudFormation-2010-05-15.yml
|
61
|
-
- lib/aws/api_config/CloudFront-2013-05-12.yml
|
62
|
-
- lib/aws/api_config/CloudFront-2013-08-26.yml
|
63
|
-
- lib/aws/api_config/CloudFront-2013-09-27.yml
|
64
|
-
- lib/aws/api_config/CloudFront-2013-11-11.yml
|
65
|
-
- lib/aws/api_config/CloudFront-2013-11-22.yml
|
66
|
-
- lib/aws/api_config/CloudFront-2014-01-31.yml
|
67
|
-
- lib/aws/api_config/CloudFront-2014-05-31.yml
|
68
|
-
- lib/aws/api_config/CloudSearch-2011-02-01.yml
|
69
|
-
- lib/aws/api_config/CloudSearch-2013-01-01.yml
|
70
|
-
- lib/aws/api_config/CloudTrail-2013-11-01.yml
|
71
|
-
- lib/aws/api_config/CloudWatch-2010-08-01.yml
|
72
|
-
- lib/aws/api_config/DataPipeline-2012-10-29.yml
|
73
|
-
- lib/aws/api_config/DirectConnect-2012-10-25.yml
|
74
|
-
- lib/aws/api_config/DynamoDB-2011-12-05.yml
|
75
|
-
- lib/aws/api_config/DynamoDB-2012-08-10.yml
|
76
|
-
- lib/aws/api_config/EC2-2013-08-15.yml
|
77
|
-
- lib/aws/api_config/EC2-2013-10-01.yml
|
78
|
-
- lib/aws/api_config/EC2-2013-10-15.yml
|
79
|
-
- lib/aws/api_config/EC2-2014-02-01.yml
|
80
|
-
- lib/aws/api_config/EC2-2014-05-01.yml
|
81
|
-
- lib/aws/api_config/ELB-2012-06-01.yml
|
82
|
-
- lib/aws/api_config/EMR-2009-03-31.yml
|
83
|
-
- lib/aws/api_config/ElastiCache-2013-06-15.yml
|
84
|
-
- lib/aws/api_config/ElastiCache-2014-03-24.yml
|
85
|
-
- lib/aws/api_config/ElastiCache-2014-07-15.yml
|
86
|
-
- lib/aws/api_config/ElasticBeanstalk-2010-12-01.yml
|
87
|
-
- lib/aws/api_config/ElasticTranscoder-2012-09-25.yml
|
88
|
-
- lib/aws/api_config/Glacier-2012-06-01.yml
|
89
|
-
- lib/aws/api_config/IAM-2010-05-08.yml
|
90
|
-
- lib/aws/api_config/ImportExport-2010-06-01.yml
|
91
|
-
- lib/aws/api_config/Kinesis-2013-12-02.yml
|
92
|
-
- lib/aws/api_config/OpsWorks-2013-02-18.yml
|
93
|
-
- lib/aws/api_config/RDS-2013-05-15.yml
|
94
|
-
- lib/aws/api_config/RDS-2013-09-09.yml
|
95
|
-
- lib/aws/api_config/RDS-2014-09-01.yml
|
96
|
-
- lib/aws/api_config/Redshift-2012-12-01.yml
|
97
|
-
- lib/aws/api_config/Route53-2012-12-12.yml
|
98
|
-
- lib/aws/api_config/Route53-2013-04-01.yml
|
99
|
-
- lib/aws/api_config/SNS-2010-03-31.yml
|
100
|
-
- lib/aws/api_config/SQS-2012-11-05.yml
|
101
|
-
- lib/aws/api_config/STS-2011-06-15.yml
|
102
|
-
- lib/aws/api_config/SimpleDB-2009-04-15.yml
|
103
|
-
- lib/aws/api_config/SimpleEmailService-2010-12-01.yml
|
104
|
-
- lib/aws/api_config/SimpleWorkflow-2012-01-25.yml
|
105
|
-
- lib/aws/api_config/StorageGateway-2012-06-30.yml
|
106
|
-
- lib/aws/api_config/StorageGateway-2013-06-30.yml
|
107
|
-
- lib/aws/api_config/Support-2013-04-15.yml
|
108
|
-
- lib/aws/auto_scaling.rb
|
54
|
+
- .yardopts
|
55
|
+
- README.md
|
56
|
+
- LICENSE.txt
|
109
57
|
- lib/aws/auto_scaling/activity.rb
|
110
58
|
- lib/aws/auto_scaling/activity_collection.rb
|
111
59
|
- lib/aws/auto_scaling/client.rb
|
@@ -127,7 +75,7 @@ files:
|
|
127
75
|
- lib/aws/auto_scaling/scheduled_action_collection.rb
|
128
76
|
- lib/aws/auto_scaling/tag.rb
|
129
77
|
- lib/aws/auto_scaling/tag_collection.rb
|
130
|
-
- lib/aws/
|
78
|
+
- lib/aws/auto_scaling.rb
|
131
79
|
- lib/aws/cloud_formation/client.rb
|
132
80
|
- lib/aws/cloud_formation/config.rb
|
133
81
|
- lib/aws/cloud_formation/errors.rb
|
@@ -141,19 +89,19 @@ files:
|
|
141
89
|
- lib/aws/cloud_formation/stack_resource_collection.rb
|
142
90
|
- lib/aws/cloud_formation/stack_resource_summary_collection.rb
|
143
91
|
- lib/aws/cloud_formation/stack_summary_collection.rb
|
144
|
-
- lib/aws/
|
92
|
+
- lib/aws/cloud_formation.rb
|
145
93
|
- lib/aws/cloud_front/client.rb
|
146
94
|
- lib/aws/cloud_front/config.rb
|
147
95
|
- lib/aws/cloud_front/errors.rb
|
148
|
-
- lib/aws/
|
96
|
+
- lib/aws/cloud_front.rb
|
149
97
|
- lib/aws/cloud_search/client.rb
|
150
98
|
- lib/aws/cloud_search/config.rb
|
151
99
|
- lib/aws/cloud_search/errors.rb
|
152
|
-
- lib/aws/
|
100
|
+
- lib/aws/cloud_search.rb
|
153
101
|
- lib/aws/cloud_trail/client.rb
|
154
102
|
- lib/aws/cloud_trail/config.rb
|
155
103
|
- lib/aws/cloud_trail/errors.rb
|
156
|
-
- lib/aws/
|
104
|
+
- lib/aws/cloud_trail.rb
|
157
105
|
- lib/aws/cloud_watch/alarm.rb
|
158
106
|
- lib/aws/cloud_watch/alarm_collection.rb
|
159
107
|
- lib/aws/cloud_watch/alarm_history_item.rb
|
@@ -165,14 +113,14 @@ files:
|
|
165
113
|
- lib/aws/cloud_watch/metric_alarm_collection.rb
|
166
114
|
- lib/aws/cloud_watch/metric_collection.rb
|
167
115
|
- lib/aws/cloud_watch/metric_statistics.rb
|
168
|
-
- lib/aws/
|
116
|
+
- lib/aws/cloud_watch.rb
|
169
117
|
- lib/aws/core/async_handle.rb
|
170
118
|
- lib/aws/core/cacheable.rb
|
171
119
|
- lib/aws/core/client.rb
|
172
|
-
- lib/aws/core/collection.rb
|
173
120
|
- lib/aws/core/collection/simple.rb
|
174
121
|
- lib/aws/core/collection/with_limit_and_next_token.rb
|
175
122
|
- lib/aws/core/collection/with_next_token.rb
|
123
|
+
- lib/aws/core/collection.rb
|
176
124
|
- lib/aws/core/configuration.rb
|
177
125
|
- lib/aws/core/credential_providers.rb
|
178
126
|
- lib/aws/core/data.rb
|
@@ -226,8 +174,8 @@ files:
|
|
226
174
|
- lib/aws/core/signers/version_2.rb
|
227
175
|
- lib/aws/core/signers/version_3.rb
|
228
176
|
- lib/aws/core/signers/version_3_https.rb
|
229
|
-
- lib/aws/core/signers/version_4.rb
|
230
177
|
- lib/aws/core/signers/version_4/chunk_signed_stream.rb
|
178
|
+
- lib/aws/core/signers/version_4.rb
|
231
179
|
- lib/aws/core/uri_escape.rb
|
232
180
|
- lib/aws/core/xml/frame.rb
|
233
181
|
- lib/aws/core/xml/frame_stack.rb
|
@@ -239,22 +187,22 @@ files:
|
|
239
187
|
- lib/aws/core/xml/sax_handlers/ox.rb
|
240
188
|
- lib/aws/core/xml/sax_handlers/rexml.rb
|
241
189
|
- lib/aws/core/xml/stub.rb
|
242
|
-
- lib/aws/
|
190
|
+
- lib/aws/core.rb
|
243
191
|
- lib/aws/data_pipeline/client.rb
|
244
192
|
- lib/aws/data_pipeline/config.rb
|
245
193
|
- lib/aws/data_pipeline/errors.rb
|
246
|
-
- lib/aws/
|
194
|
+
- lib/aws/data_pipeline.rb
|
247
195
|
- lib/aws/direct_connect/client.rb
|
248
196
|
- lib/aws/direct_connect/config.rb
|
249
197
|
- lib/aws/direct_connect/errors.rb
|
250
|
-
- lib/aws/
|
198
|
+
- lib/aws/direct_connect.rb
|
251
199
|
- lib/aws/dynamo_db/attribute_collection.rb
|
252
200
|
- lib/aws/dynamo_db/batch_get.rb
|
253
201
|
- lib/aws/dynamo_db/batch_write.rb
|
254
202
|
- lib/aws/dynamo_db/binary.rb
|
255
|
-
- lib/aws/dynamo_db/client.rb
|
256
203
|
- lib/aws/dynamo_db/client/v20111205.rb
|
257
204
|
- lib/aws/dynamo_db/client/v20120810.rb
|
205
|
+
- lib/aws/dynamo_db/client.rb
|
258
206
|
- lib/aws/dynamo_db/client_v2.rb
|
259
207
|
- lib/aws/dynamo_db/config.rb
|
260
208
|
- lib/aws/dynamo_db/errors.rb
|
@@ -268,7 +216,7 @@ files:
|
|
268
216
|
- lib/aws/dynamo_db/table.rb
|
269
217
|
- lib/aws/dynamo_db/table_collection.rb
|
270
218
|
- lib/aws/dynamo_db/types.rb
|
271
|
-
- lib/aws/
|
219
|
+
- lib/aws/dynamo_db.rb
|
272
220
|
- lib/aws/ec2/attachment.rb
|
273
221
|
- lib/aws/ec2/attachment_collection.rb
|
274
222
|
- lib/aws/ec2/availability_zone.rb
|
@@ -292,17 +240,17 @@ files:
|
|
292
240
|
- lib/aws/ec2/image_collection.rb
|
293
241
|
- lib/aws/ec2/instance.rb
|
294
242
|
- lib/aws/ec2/instance_collection.rb
|
295
|
-
- lib/aws/ec2/internet_gateway.rb
|
296
243
|
- lib/aws/ec2/internet_gateway/attachment.rb
|
244
|
+
- lib/aws/ec2/internet_gateway.rb
|
297
245
|
- lib/aws/ec2/internet_gateway_collection.rb
|
298
246
|
- lib/aws/ec2/key_pair.rb
|
299
247
|
- lib/aws/ec2/key_pair_collection.rb
|
300
|
-
- lib/aws/ec2/network_acl.rb
|
301
248
|
- lib/aws/ec2/network_acl/association.rb
|
302
249
|
- lib/aws/ec2/network_acl/entry.rb
|
250
|
+
- lib/aws/ec2/network_acl.rb
|
303
251
|
- lib/aws/ec2/network_acl_collection.rb
|
304
|
-
- lib/aws/ec2/network_interface.rb
|
305
252
|
- lib/aws/ec2/network_interface/attachment.rb
|
253
|
+
- lib/aws/ec2/network_interface.rb
|
306
254
|
- lib/aws/ec2/network_interface_collection.rb
|
307
255
|
- lib/aws/ec2/permission_collection.rb
|
308
256
|
- lib/aws/ec2/region.rb
|
@@ -313,13 +261,13 @@ files:
|
|
313
261
|
- lib/aws/ec2/reserved_instances_offering_collection.rb
|
314
262
|
- lib/aws/ec2/resource.rb
|
315
263
|
- lib/aws/ec2/resource_tag_collection.rb
|
316
|
-
- lib/aws/ec2/route_table.rb
|
317
264
|
- lib/aws/ec2/route_table/association.rb
|
318
265
|
- lib/aws/ec2/route_table/route.rb
|
266
|
+
- lib/aws/ec2/route_table.rb
|
319
267
|
- lib/aws/ec2/route_table_collection.rb
|
320
|
-
- lib/aws/ec2/security_group.rb
|
321
268
|
- lib/aws/ec2/security_group/ip_permission.rb
|
322
269
|
- lib/aws/ec2/security_group/ip_permission_collection.rb
|
270
|
+
- lib/aws/ec2/security_group.rb
|
323
271
|
- lib/aws/ec2/security_group_collection.rb
|
324
272
|
- lib/aws/ec2/snapshot.rb
|
325
273
|
- lib/aws/ec2/snapshot_collection.rb
|
@@ -333,25 +281,25 @@ files:
|
|
333
281
|
- lib/aws/ec2/volume_collection.rb
|
334
282
|
- lib/aws/ec2/vpc.rb
|
335
283
|
- lib/aws/ec2/vpc_collection.rb
|
336
|
-
- lib/aws/ec2/vpn_connection.rb
|
337
284
|
- lib/aws/ec2/vpn_connection/telemetry.rb
|
285
|
+
- lib/aws/ec2/vpn_connection.rb
|
338
286
|
- lib/aws/ec2/vpn_connection_collection.rb
|
339
|
-
- lib/aws/ec2/vpn_gateway.rb
|
340
287
|
- lib/aws/ec2/vpn_gateway/attachment.rb
|
288
|
+
- lib/aws/ec2/vpn_gateway.rb
|
341
289
|
- lib/aws/ec2/vpn_gateway_collection.rb
|
342
|
-
- lib/aws/
|
290
|
+
- lib/aws/ec2.rb
|
343
291
|
- lib/aws/elastic_beanstalk/client.rb
|
344
292
|
- lib/aws/elastic_beanstalk/config.rb
|
345
293
|
- lib/aws/elastic_beanstalk/errors.rb
|
346
|
-
- lib/aws/
|
294
|
+
- lib/aws/elastic_beanstalk.rb
|
347
295
|
- lib/aws/elastic_transcoder/client.rb
|
348
296
|
- lib/aws/elastic_transcoder/config.rb
|
349
297
|
- lib/aws/elastic_transcoder/errors.rb
|
350
|
-
- lib/aws/
|
298
|
+
- lib/aws/elastic_transcoder.rb
|
351
299
|
- lib/aws/elasticache/client.rb
|
352
300
|
- lib/aws/elasticache/config.rb
|
353
301
|
- lib/aws/elasticache/errors.rb
|
354
|
-
- lib/aws/
|
302
|
+
- lib/aws/elasticache.rb
|
355
303
|
- lib/aws/elb/availability_zone_collection.rb
|
356
304
|
- lib/aws/elb/backend_server_policy_collection.rb
|
357
305
|
- lib/aws/elb/client.rb
|
@@ -365,7 +313,7 @@ files:
|
|
365
313
|
- lib/aws/elb/load_balancer_collection.rb
|
366
314
|
- lib/aws/elb/load_balancer_policy.rb
|
367
315
|
- lib/aws/elb/load_balancer_policy_collection.rb
|
368
|
-
- lib/aws/
|
316
|
+
- lib/aws/elb.rb
|
369
317
|
- lib/aws/emr/client.rb
|
370
318
|
- lib/aws/emr/config.rb
|
371
319
|
- lib/aws/emr/errors.rb
|
@@ -373,8 +321,8 @@ files:
|
|
373
321
|
- lib/aws/emr/instance_group_collection.rb
|
374
322
|
- lib/aws/emr/job_flow.rb
|
375
323
|
- lib/aws/emr/job_flow_collection.rb
|
324
|
+
- lib/aws/emr.rb
|
376
325
|
- lib/aws/errors.rb
|
377
|
-
- lib/aws/glacier.rb
|
378
326
|
- lib/aws/glacier/archive.rb
|
379
327
|
- lib/aws/glacier/archive_collection.rb
|
380
328
|
- lib/aws/glacier/client.rb
|
@@ -384,7 +332,7 @@ files:
|
|
384
332
|
- lib/aws/glacier/vault.rb
|
385
333
|
- lib/aws/glacier/vault_collection.rb
|
386
334
|
- lib/aws/glacier/vault_notification_configuration.rb
|
387
|
-
- lib/aws/
|
335
|
+
- lib/aws/glacier.rb
|
388
336
|
- lib/aws/iam/access_key.rb
|
389
337
|
- lib/aws/iam/access_key_collection.rb
|
390
338
|
- lib/aws/iam/account_alias_collection.rb
|
@@ -413,20 +361,20 @@ files:
|
|
413
361
|
- lib/aws/iam/user_policy_collection.rb
|
414
362
|
- lib/aws/iam/virtual_mfa_device.rb
|
415
363
|
- lib/aws/iam/virtual_mfa_device_collection.rb
|
416
|
-
- lib/aws/
|
364
|
+
- lib/aws/iam.rb
|
417
365
|
- lib/aws/import_export/client.rb
|
418
366
|
- lib/aws/import_export/config.rb
|
419
367
|
- lib/aws/import_export/errors.rb
|
420
|
-
- lib/aws/
|
368
|
+
- lib/aws/import_export.rb
|
421
369
|
- lib/aws/kinesis/client.rb
|
422
370
|
- lib/aws/kinesis/config.rb
|
423
371
|
- lib/aws/kinesis/errors.rb
|
424
|
-
- lib/aws/
|
372
|
+
- lib/aws/kinesis.rb
|
425
373
|
- lib/aws/ops_works/client.rb
|
426
374
|
- lib/aws/ops_works/config.rb
|
427
375
|
- lib/aws/ops_works/errors.rb
|
376
|
+
- lib/aws/ops_works.rb
|
428
377
|
- lib/aws/rails.rb
|
429
|
-
- lib/aws/rds.rb
|
430
378
|
- lib/aws/rds/client.rb
|
431
379
|
- lib/aws/rds/config.rb
|
432
380
|
- lib/aws/rds/db_instance.rb
|
@@ -434,21 +382,21 @@ files:
|
|
434
382
|
- lib/aws/rds/db_snapshot.rb
|
435
383
|
- lib/aws/rds/db_snapshot_collection.rb
|
436
384
|
- lib/aws/rds/errors.rb
|
437
|
-
- lib/aws/
|
385
|
+
- lib/aws/rds.rb
|
438
386
|
- lib/aws/record/abstract_base.rb
|
439
387
|
- lib/aws/record/attributes.rb
|
440
388
|
- lib/aws/record/conversion.rb
|
441
389
|
- lib/aws/record/dirty_tracking.rb
|
442
390
|
- lib/aws/record/errors.rb
|
443
391
|
- lib/aws/record/exceptions.rb
|
444
|
-
- lib/aws/record/hash_model.rb
|
445
392
|
- lib/aws/record/hash_model/attributes.rb
|
446
393
|
- lib/aws/record/hash_model/finder_methods.rb
|
447
394
|
- lib/aws/record/hash_model/scope.rb
|
448
|
-
- lib/aws/record/
|
395
|
+
- lib/aws/record/hash_model.rb
|
449
396
|
- lib/aws/record/model/attributes.rb
|
450
397
|
- lib/aws/record/model/finder_methods.rb
|
451
398
|
- lib/aws/record/model/scope.rb
|
399
|
+
- lib/aws/record/model.rb
|
452
400
|
- lib/aws/record/naming.rb
|
453
401
|
- lib/aws/record/scope.rb
|
454
402
|
- lib/aws/record/validations.rb
|
@@ -464,11 +412,11 @@ files:
|
|
464
412
|
- lib/aws/record/validators/method.rb
|
465
413
|
- lib/aws/record/validators/numericality.rb
|
466
414
|
- lib/aws/record/validators/presence.rb
|
467
|
-
- lib/aws/
|
415
|
+
- lib/aws/record.rb
|
468
416
|
- lib/aws/redshift/client.rb
|
469
417
|
- lib/aws/redshift/config.rb
|
470
418
|
- lib/aws/redshift/errors.rb
|
471
|
-
- lib/aws/
|
419
|
+
- lib/aws/redshift.rb
|
472
420
|
- lib/aws/route_53/change_batch.rb
|
473
421
|
- lib/aws/route_53/change_info.rb
|
474
422
|
- lib/aws/route_53/client.rb
|
@@ -478,18 +426,19 @@ files:
|
|
478
426
|
- lib/aws/route_53/hosted_zone_collection.rb
|
479
427
|
- lib/aws/route_53/resource_record_set.rb
|
480
428
|
- lib/aws/route_53/resource_record_set_collection.rb
|
481
|
-
- lib/aws/
|
429
|
+
- lib/aws/route_53.rb
|
482
430
|
- lib/aws/s3/access_control_list.rb
|
483
431
|
- lib/aws/s3/acl_object.rb
|
484
432
|
- lib/aws/s3/acl_options.rb
|
485
433
|
- lib/aws/s3/bucket.rb
|
486
434
|
- lib/aws/s3/bucket_collection.rb
|
487
435
|
- lib/aws/s3/bucket_lifecycle_configuration.rb
|
436
|
+
- lib/aws/s3/bucket_region_cache.rb
|
488
437
|
- lib/aws/s3/bucket_tag_collection.rb
|
489
438
|
- lib/aws/s3/bucket_version_collection.rb
|
490
439
|
- lib/aws/s3/cipher_io.rb
|
491
|
-
- lib/aws/s3/client.rb
|
492
440
|
- lib/aws/s3/client/xml.rb
|
441
|
+
- lib/aws/s3/client.rb
|
493
442
|
- lib/aws/s3/config.rb
|
494
443
|
- lib/aws/s3/cors_rule.rb
|
495
444
|
- lib/aws/s3/cors_rule_collection.rb
|
@@ -509,18 +458,19 @@ files:
|
|
509
458
|
- lib/aws/s3/prefixed_collection.rb
|
510
459
|
- lib/aws/s3/presign_v4.rb
|
511
460
|
- lib/aws/s3/presigned_post.rb
|
461
|
+
- lib/aws/s3/region_detection.rb
|
512
462
|
- lib/aws/s3/request.rb
|
513
463
|
- lib/aws/s3/s3_object.rb
|
514
|
-
- lib/aws/s3/tree.rb
|
515
464
|
- lib/aws/s3/tree/branch_node.rb
|
516
465
|
- lib/aws/s3/tree/child_collection.rb
|
517
466
|
- lib/aws/s3/tree/leaf_node.rb
|
518
467
|
- lib/aws/s3/tree/node.rb
|
519
468
|
- lib/aws/s3/tree/parent.rb
|
469
|
+
- lib/aws/s3/tree.rb
|
520
470
|
- lib/aws/s3/uploaded_part.rb
|
521
471
|
- lib/aws/s3/uploaded_part_collection.rb
|
522
472
|
- lib/aws/s3/website_configuration.rb
|
523
|
-
- lib/aws/
|
473
|
+
- lib/aws/s3.rb
|
524
474
|
- lib/aws/simple_db/attribute.rb
|
525
475
|
- lib/aws/simple_db/attribute_collection.rb
|
526
476
|
- lib/aws/simple_db/client.rb
|
@@ -536,7 +486,7 @@ files:
|
|
536
486
|
- lib/aws/simple_db/item_collection.rb
|
537
487
|
- lib/aws/simple_db/item_data.rb
|
538
488
|
- lib/aws/simple_db/put_attributes.rb
|
539
|
-
- lib/aws/
|
489
|
+
- lib/aws/simple_db.rb
|
540
490
|
- lib/aws/simple_email_service/client.rb
|
541
491
|
- lib/aws/simple_email_service/config.rb
|
542
492
|
- lib/aws/simple_email_service/email_address_collection.rb
|
@@ -544,7 +494,7 @@ files:
|
|
544
494
|
- lib/aws/simple_email_service/identity.rb
|
545
495
|
- lib/aws/simple_email_service/identity_collection.rb
|
546
496
|
- lib/aws/simple_email_service/quotas.rb
|
547
|
-
- lib/aws/
|
497
|
+
- lib/aws/simple_email_service.rb
|
548
498
|
- lib/aws/simple_workflow/activity_task.rb
|
549
499
|
- lib/aws/simple_workflow/activity_task_collection.rb
|
550
500
|
- lib/aws/simple_workflow/activity_type.rb
|
@@ -567,7 +517,7 @@ files:
|
|
567
517
|
- lib/aws/simple_workflow/workflow_execution_collection.rb
|
568
518
|
- lib/aws/simple_workflow/workflow_type.rb
|
569
519
|
- lib/aws/simple_workflow/workflow_type_collection.rb
|
570
|
-
- lib/aws/
|
520
|
+
- lib/aws/simple_workflow.rb
|
571
521
|
- lib/aws/sns/client.rb
|
572
522
|
- lib/aws/sns/config.rb
|
573
523
|
- lib/aws/sns/errors.rb
|
@@ -580,7 +530,7 @@ files:
|
|
580
530
|
- lib/aws/sns/topic.rb
|
581
531
|
- lib/aws/sns/topic_collection.rb
|
582
532
|
- lib/aws/sns/topic_subscription_collection.rb
|
583
|
-
- lib/aws/
|
533
|
+
- lib/aws/sns.rb
|
584
534
|
- lib/aws/sqs/client.rb
|
585
535
|
- lib/aws/sqs/config.rb
|
586
536
|
- lib/aws/sqs/errors.rb
|
@@ -589,23 +539,75 @@ files:
|
|
589
539
|
- lib/aws/sqs/queue_collection.rb
|
590
540
|
- lib/aws/sqs/received_message.rb
|
591
541
|
- lib/aws/sqs/received_sns_message.rb
|
592
|
-
- lib/aws/
|
542
|
+
- lib/aws/sqs.rb
|
593
543
|
- lib/aws/storage_gateway/client.rb
|
594
544
|
- lib/aws/storage_gateway/config.rb
|
595
545
|
- lib/aws/storage_gateway/errors.rb
|
596
|
-
- lib/aws/
|
546
|
+
- lib/aws/storage_gateway.rb
|
597
547
|
- lib/aws/sts/client.rb
|
598
548
|
- lib/aws/sts/config.rb
|
599
549
|
- lib/aws/sts/errors.rb
|
600
550
|
- lib/aws/sts/federated_session.rb
|
601
551
|
- lib/aws/sts/policy.rb
|
602
552
|
- lib/aws/sts/session.rb
|
603
|
-
- lib/aws/
|
553
|
+
- lib/aws/sts.rb
|
604
554
|
- lib/aws/support/client.rb
|
605
555
|
- lib/aws/support/config.rb
|
606
556
|
- lib/aws/support/errors.rb
|
557
|
+
- lib/aws/support.rb
|
607
558
|
- lib/aws/version.rb
|
608
|
-
-
|
559
|
+
- lib/aws-sdk-v1.rb
|
560
|
+
- lib/aws.rb
|
561
|
+
- lib/aws/api_config/AutoScaling-2011-01-01.yml
|
562
|
+
- lib/aws/api_config/CloudFormation-2010-05-15.yml
|
563
|
+
- lib/aws/api_config/CloudFront-2013-05-12.yml
|
564
|
+
- lib/aws/api_config/CloudFront-2013-08-26.yml
|
565
|
+
- lib/aws/api_config/CloudFront-2013-09-27.yml
|
566
|
+
- lib/aws/api_config/CloudFront-2013-11-11.yml
|
567
|
+
- lib/aws/api_config/CloudFront-2013-11-22.yml
|
568
|
+
- lib/aws/api_config/CloudFront-2014-01-31.yml
|
569
|
+
- lib/aws/api_config/CloudFront-2014-05-31.yml
|
570
|
+
- lib/aws/api_config/CloudSearch-2011-02-01.yml
|
571
|
+
- lib/aws/api_config/CloudSearch-2013-01-01.yml
|
572
|
+
- lib/aws/api_config/CloudTrail-2013-11-01.yml
|
573
|
+
- lib/aws/api_config/CloudWatch-2010-08-01.yml
|
574
|
+
- lib/aws/api_config/DataPipeline-2012-10-29.yml
|
575
|
+
- lib/aws/api_config/DirectConnect-2012-10-25.yml
|
576
|
+
- lib/aws/api_config/DynamoDB-2011-12-05.yml
|
577
|
+
- lib/aws/api_config/DynamoDB-2012-08-10.yml
|
578
|
+
- lib/aws/api_config/EC2-2013-08-15.yml
|
579
|
+
- lib/aws/api_config/EC2-2013-10-01.yml
|
580
|
+
- lib/aws/api_config/EC2-2013-10-15.yml
|
581
|
+
- lib/aws/api_config/EC2-2014-02-01.yml
|
582
|
+
- lib/aws/api_config/EC2-2014-05-01.yml
|
583
|
+
- lib/aws/api_config/ElastiCache-2013-06-15.yml
|
584
|
+
- lib/aws/api_config/ElastiCache-2014-03-24.yml
|
585
|
+
- lib/aws/api_config/ElastiCache-2014-07-15.yml
|
586
|
+
- lib/aws/api_config/ElasticBeanstalk-2010-12-01.yml
|
587
|
+
- lib/aws/api_config/ElasticTranscoder-2012-09-25.yml
|
588
|
+
- lib/aws/api_config/ELB-2012-06-01.yml
|
589
|
+
- lib/aws/api_config/EMR-2009-03-31.yml
|
590
|
+
- lib/aws/api_config/Glacier-2012-06-01.yml
|
591
|
+
- lib/aws/api_config/IAM-2010-05-08.yml
|
592
|
+
- lib/aws/api_config/ImportExport-2010-06-01.yml
|
593
|
+
- lib/aws/api_config/Kinesis-2013-12-02.yml
|
594
|
+
- lib/aws/api_config/OpsWorks-2013-02-18.yml
|
595
|
+
- lib/aws/api_config/RDS-2013-05-15.yml
|
596
|
+
- lib/aws/api_config/RDS-2013-09-09.yml
|
597
|
+
- lib/aws/api_config/RDS-2014-09-01.yml
|
598
|
+
- lib/aws/api_config/Redshift-2012-12-01.yml
|
599
|
+
- lib/aws/api_config/Route53-2012-12-12.yml
|
600
|
+
- lib/aws/api_config/Route53-2013-04-01.yml
|
601
|
+
- lib/aws/api_config/SimpleDB-2009-04-15.yml
|
602
|
+
- lib/aws/api_config/SimpleEmailService-2010-12-01.yml
|
603
|
+
- lib/aws/api_config/SimpleWorkflow-2012-01-25.yml
|
604
|
+
- lib/aws/api_config/SNS-2010-03-31.yml
|
605
|
+
- lib/aws/api_config/SQS-2012-11-05.yml
|
606
|
+
- lib/aws/api_config/StorageGateway-2012-06-30.yml
|
607
|
+
- lib/aws/api_config/StorageGateway-2013-06-30.yml
|
608
|
+
- lib/aws/api_config/STS-2011-06-15.yml
|
609
|
+
- lib/aws/api_config/Support-2013-04-15.yml
|
610
|
+
- bin/aws-rb
|
609
611
|
homepage: http://aws.amazon.com/sdkforruby
|
610
612
|
licenses:
|
611
613
|
- Apache 2.0
|
@@ -616,17 +618,17 @@ require_paths:
|
|
616
618
|
- lib
|
617
619
|
required_ruby_version: !ruby/object:Gem::Requirement
|
618
620
|
requirements:
|
619
|
-
- -
|
621
|
+
- - '>='
|
620
622
|
- !ruby/object:Gem::Version
|
621
623
|
version: '0'
|
622
624
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
623
625
|
requirements:
|
624
|
-
- -
|
626
|
+
- - '>='
|
625
627
|
- !ruby/object:Gem::Version
|
626
628
|
version: '0'
|
627
629
|
requirements: []
|
628
630
|
rubyforge_project:
|
629
|
-
rubygems_version: 2.
|
631
|
+
rubygems_version: 2.1.11
|
630
632
|
signing_key:
|
631
633
|
specification_version: 4
|
632
634
|
summary: AWS SDK for Ruby V1
|