aws-sdk-v1 1.61.0 → 1.62.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +1 -0
- data/README.md +27 -11
- data/lib/aws/api_config/AutoScaling-2011-01-01.yml +13 -0
- data/lib/aws/api_config/Route53-2013-04-01.yml +1 -1
- data/lib/aws/auto_scaling/launch_configuration.rb +32 -15
- data/lib/aws/auto_scaling/launch_configuration_collection.rb +20 -6
- data/lib/aws/core.rb +5 -23
- data/lib/aws/core/configuration.rb +0 -19
- data/lib/aws/core/http/net_http_handler.rb +2 -1
- data/lib/aws/core/http/patch.rb +67 -71
- data/lib/aws/core/log_formatter.rb +2 -2
- data/lib/aws/ec2/instance_collection.rb +2 -2
- data/lib/aws/ec2/vpc.rb +2 -0
- data/lib/aws/route_53/hosted_zone_collection.rb +1 -1
- data/lib/aws/s3/client.rb +8 -0
- data/lib/aws/s3/presigned_post.rb +3 -2
- data/lib/aws/s3/region_detection.rb +4 -1
- data/lib/aws/s3/s3_object.rb +10 -5
- data/lib/aws/version.rb +1 -1
- metadata +117 -117
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5bc6bbb9691f5b2c0bf2a988491b0cd6c85d4a02
|
4
|
+
data.tar.gz: 968ff945b2002e974566b0cbb3a1b06e915844d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d5c154cd26360a5738853e9e78c417ac4d8a2a500201e69c3f6daff6b4f88eb413f90f532222449762477db57369f4f801fb17cae784b33d99cf5e850c72e23
|
7
|
+
data.tar.gz: 887532200595e578f3d313d505d2ad909ebe0fc22e3e26b35245a8c34ae28467bf51dbf084f14379d2c1efd85f32390e7ac21972fa7bd09252ba79b289bad148
|
data/.yardopts
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
|
-
# AWS SDK for Ruby [![Build Status](https://travis-ci.org/aws/aws-sdk-ruby.
|
1
|
+
# AWS SDK for Ruby - Version 1 [![Build Status](https://travis-ci.org/aws/aws-sdk-ruby.svg?branch=aws-sdk-v1)](https://travis-ci.org/aws/aws-sdk-ruby)
|
2
2
|
|
3
|
-
|
3
|
+
This is version 1 of the AWS SDK for Ruby. **Version 2 can be found in the
|
4
|
+
[master branch](https://github.com/aws/aws-sdk-ruby).**
|
4
5
|
|
5
6
|
## Installation
|
6
7
|
|
@@ -28,7 +29,7 @@ same process; The v2 Ruby SDK uses a different namespace, making this possible.
|
|
28
29
|
gem 'aws-sdk-v1'
|
29
30
|
|
30
31
|
If you are currently using v1 of `aws-sdk` and you update to `aws-sdk-v1`, you
|
31
|
-
may need to change how
|
32
|
+
may need to change how you require the Ruby SDK:
|
32
33
|
|
33
34
|
require 'aws-sdk-v1' # not 'aws-sdk'
|
34
35
|
|
@@ -120,9 +121,9 @@ The SDK currently supports the following services:
|
|
120
121
|
<td>AWS CloudFormation</td>
|
121
122
|
</tr>
|
122
123
|
<tr>
|
123
|
-
<td rowspan="
|
124
|
+
<td rowspan="8">AWS::CloudFront</td>
|
124
125
|
<td>2013-05-12</td>
|
125
|
-
<td rowspan="
|
126
|
+
<td rowspan="8">Amazon CloudFront</td>
|
126
127
|
</tr>
|
127
128
|
<tr>
|
128
129
|
<td>2013-08-26</td>
|
@@ -142,6 +143,9 @@ The SDK currently supports the following services:
|
|
142
143
|
<tr>
|
143
144
|
<td>2014-05-31</td>
|
144
145
|
</tr>
|
146
|
+
<tr>
|
147
|
+
<td>2014-10-21</td>
|
148
|
+
</tr>
|
145
149
|
<tr>
|
146
150
|
<td rowspan="2">AWS::CloudSearch</td>
|
147
151
|
<td>2011-02-01</td>
|
@@ -179,9 +183,9 @@ The SDK currently supports the following services:
|
|
179
183
|
<td>2012-08-10</td>
|
180
184
|
</tr>
|
181
185
|
<tr>
|
182
|
-
<td rowspan="
|
186
|
+
<td rowspan="7">AWS::EC2</td>
|
183
187
|
<td>2013-08-15</td>
|
184
|
-
<td rowspan="
|
188
|
+
<td rowspan="7">Amazon Elastic Compute Cloud</td>
|
185
189
|
</tr>
|
186
190
|
<tr>
|
187
191
|
<td>2013-10-01</td>
|
@@ -196,9 +200,15 @@ The SDK currently supports the following services:
|
|
196
200
|
<td>2014-05-01</td>
|
197
201
|
</tr>
|
198
202
|
<tr>
|
199
|
-
<td
|
203
|
+
<td>2014-09-01</td>
|
204
|
+
</tr>
|
205
|
+
<tr>
|
206
|
+
<td>2014-10-01</td>
|
207
|
+
</tr>
|
208
|
+
<tr>
|
209
|
+
<td rowspan="4">AWS::ElastiCache</td>
|
200
210
|
<td>2013-06-15</td>
|
201
|
-
<td rowspan="
|
211
|
+
<td rowspan="4">Amazon ElastiCache</td>
|
202
212
|
</tr>
|
203
213
|
<tr>
|
204
214
|
<td>2014-03-24</td>
|
@@ -206,6 +216,9 @@ The SDK currently supports the following services:
|
|
206
216
|
<tr>
|
207
217
|
<td>2014-07-15</td>
|
208
218
|
</tr>
|
219
|
+
<tr>
|
220
|
+
<td>2014-09-30</td>
|
221
|
+
</tr>
|
209
222
|
<tr>
|
210
223
|
<td>AWS::ElasticBeanstalk</td>
|
211
224
|
<td>2010-12-01</td>
|
@@ -252,13 +265,16 @@ The SDK currently supports the following services:
|
|
252
265
|
<td>AWS OpsWorks</td>
|
253
266
|
</tr>
|
254
267
|
<tr>
|
255
|
-
<td rowspan="
|
268
|
+
<td rowspan="3">AWS::RDS</td>
|
256
269
|
<td>2013-05-15</td>
|
257
|
-
<td rowspan="
|
270
|
+
<td rowspan="3">Amazon Relational Database Service (Beta)</td>
|
258
271
|
</tr>
|
259
272
|
<tr>
|
260
273
|
<td>2013-09-09</td>
|
261
274
|
</tr>
|
275
|
+
<tr>
|
276
|
+
<td>2014-09-01</td>
|
277
|
+
</tr>
|
262
278
|
<tr>
|
263
279
|
<td>AWS::Redshift</td>
|
264
280
|
<td>2012-12-01</td>
|
@@ -146,6 +146,11 @@
|
|
146
146
|
- :integer
|
147
147
|
NoDevice:
|
148
148
|
- :boolean
|
149
|
+
ClassicLinkVPCId:
|
150
|
+
- :string
|
151
|
+
ClassicLinkVPCSecurityGroups:
|
152
|
+
- :membered_list:
|
153
|
+
- :string
|
149
154
|
InstanceMonitoring:
|
150
155
|
- :structure:
|
151
156
|
Enabled:
|
@@ -465,6 +470,14 @@
|
|
465
470
|
:type: :integer
|
466
471
|
NoDevice:
|
467
472
|
:type: :boolean
|
473
|
+
ClassicLinkVPCId:
|
474
|
+
:type: :string
|
475
|
+
ClassicLinkVPCSecurityGroups:
|
476
|
+
:ignore: true
|
477
|
+
:children:
|
478
|
+
member:
|
479
|
+
:rename: :classic_link_vpc_security_groups
|
480
|
+
:list: true
|
468
481
|
InstanceMonitoring:
|
469
482
|
:children:
|
470
483
|
Enabled:
|
@@ -44,6 +44,7 @@ module AWS
|
|
44
44
|
#
|
45
45
|
# @attr_reader [Boolean] associate_public_ip_address
|
46
46
|
#
|
47
|
+
# @attr_reader [String] classic_link_vpc_id
|
47
48
|
class LaunchConfiguration < Core::Resource
|
48
49
|
|
49
50
|
# @api private
|
@@ -94,10 +95,18 @@ module AWS
|
|
94
95
|
:from => :security_groups,
|
95
96
|
:static => true
|
96
97
|
|
97
|
-
attribute :associate_public_ip_address, :static => true
|
98
|
-
|
99
98
|
protected :security_group_details
|
100
99
|
|
100
|
+
attribute :classic_link_vpc_security_group_details,
|
101
|
+
:from => :classic_link_vpc_security_groups,
|
102
|
+
:static => true
|
103
|
+
|
104
|
+
protected :classic_link_vpc_security_group_details
|
105
|
+
|
106
|
+
attribute :classic_link_vpc_id, :static => true
|
107
|
+
|
108
|
+
attribute :associate_public_ip_address, :static => true
|
109
|
+
|
101
110
|
populates_from(:describe_launch_configurations) do |resp|
|
102
111
|
resp.launch_configurations.find do |lc|
|
103
112
|
lc.launch_configuration_name == name
|
@@ -118,19 +127,12 @@ module AWS
|
|
118
127
|
|
119
128
|
# @return [Array<EC2::SecurityGroup>]
|
120
129
|
def security_groups
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
begin
|
128
|
-
ec2 = EC2.new(:config => config)
|
129
|
-
ec2.security_groups.filter('group-name', *names_or_ids).to_a
|
130
|
-
rescue
|
131
|
-
names_or_ids
|
132
|
-
end
|
133
|
-
end
|
130
|
+
get_security_groups(security_group_details)
|
131
|
+
end
|
132
|
+
|
133
|
+
# @return [Array<EC2::SecurityGroup>]
|
134
|
+
def classic_link_vpc_security_groups
|
135
|
+
get_security_groups(classic_link_vpc_security_group_details)
|
134
136
|
end
|
135
137
|
|
136
138
|
# @return [Boolean] Returns true if this launch configuration exists.
|
@@ -147,6 +149,21 @@ module AWS
|
|
147
149
|
|
148
150
|
protected
|
149
151
|
|
152
|
+
def get_security_groups(names_or_ids)
|
153
|
+
if names_or_ids.all?{|str| str.match(/^sg-[0-9a-f]{8}$/) }
|
154
|
+
names_or_ids.collect do |security_group_id|
|
155
|
+
EC2::SecurityGroup.new(security_group_id, :config => config)
|
156
|
+
end
|
157
|
+
else
|
158
|
+
begin
|
159
|
+
ec2 = EC2.new(:config => config)
|
160
|
+
ec2.security_groups.filter('group-name', *names_or_ids).to_a
|
161
|
+
rescue
|
162
|
+
names_or_ids
|
163
|
+
end
|
164
|
+
end
|
165
|
+
end
|
166
|
+
|
150
167
|
def resource_identifiers
|
151
168
|
[[:launch_configuration_name, name]]
|
152
169
|
end
|
@@ -51,9 +51,11 @@ module AWS
|
|
51
51
|
# launch the instances with.
|
52
52
|
#
|
53
53
|
# @option options [Array<EC2::SecurityGroup>,Array<String>] :security_groups
|
54
|
-
#
|
55
|
-
#
|
56
|
-
#
|
54
|
+
# A list of security groups to associate with the instances.
|
55
|
+
# For both EC2 Classic and VPC, this option can be an array of {EC2::SecurityGroup} objects
|
56
|
+
# or security group ids. For EC2 Classic, this option can also be an array of
|
57
|
+
# security group names.
|
58
|
+
# Note: The VPC is derived from the security groups.
|
57
59
|
#
|
58
60
|
# @option options [String] :user_data The user data available to
|
59
61
|
# the launched Amazon EC2 instances.
|
@@ -69,6 +71,15 @@ module AWS
|
|
69
71
|
#
|
70
72
|
# @option options [String] :placement_tenancy
|
71
73
|
#
|
74
|
+
# @option options [String] :classic_link_vpc_id
|
75
|
+
# The ID of a ClassicLink-enabled VPC to link EC2 Classic instances to.
|
76
|
+
#
|
77
|
+
# @option options [Array<EC2::SecurityGroup>,Array<String>] :classic_link_vpc_security_groups
|
78
|
+
# The list of security groups for the specified VPC to associate
|
79
|
+
# with the instances. This may be an array of {EC2::SecurityGroup}
|
80
|
+
# objects or security group ids. VPC security groups cannot be
|
81
|
+
# referenced by name.
|
82
|
+
#
|
72
83
|
# @return [LaunchConfiguration]
|
73
84
|
#
|
74
85
|
def create name, image, instance_type, options = {}
|
@@ -80,11 +91,14 @@ module AWS
|
|
80
91
|
client_opts[:instance_monitoring] = instance_monitoring_opt(options) if
|
81
92
|
options.key?(:detailed_instance_monitoring)
|
82
93
|
client_opts[:key_name] = key_name_opt(options) if options[:key_pair]
|
83
|
-
client_opts[:security_groups] = security_groups_opt(options) if
|
94
|
+
client_opts[:security_groups] = security_groups_opt(options[:security_groups]) if
|
84
95
|
options.key?(:security_groups)
|
96
|
+
client_opts[:classic_link_vpc_security_groups] = security_groups_opt(options[:classic_link_vpc_security_groups]) if
|
97
|
+
options.key?(:classic_link_vpc_security_groups)
|
85
98
|
client_opts[:user_data] = user_data_opt(options) if options[:user_data]
|
86
99
|
|
87
100
|
[
|
101
|
+
:classic_link_vpc_id,
|
88
102
|
:iam_instance_profile,
|
89
103
|
:spot_price,
|
90
104
|
:kernel_id,
|
@@ -148,8 +162,8 @@ module AWS
|
|
148
162
|
key_pair.is_a?(EC2::KeyPair) ? key_pair.name : key_pair
|
149
163
|
end
|
150
164
|
|
151
|
-
def security_groups_opt
|
152
|
-
|
165
|
+
def security_groups_opt security_groups
|
166
|
+
security_groups.collect do |sg|
|
153
167
|
sg.is_a?(EC2::SecurityGroup) ? sg.id : sg
|
154
168
|
end
|
155
169
|
end
|
data/lib/aws/core.rb
CHANGED
@@ -308,25 +308,6 @@ module AWS
|
|
308
308
|
# true, AWS::DynamoDB::Errors::ProvisionedThroughputExceededException
|
309
309
|
# errors will be retried.
|
310
310
|
#
|
311
|
-
# @option options [Float] :http_continue_timeout (1) The number of
|
312
|
-
# seconds to wait for a "100-continue" response before sending the request
|
313
|
-
# payload. **This option has no effect unless the `:http_continue_threshold`
|
314
|
-
# is configured to a positive integer and the payload exeedes the
|
315
|
-
# threshold.** NOTE: currently there is a bug in Net::HTTP.
|
316
|
-
# You must call `AWS.patch_net_http_100_continue!` for this feature to work.
|
317
|
-
# Not supported in Ruby < 1.9.
|
318
|
-
#
|
319
|
-
# @option options [Integer,false] :http_continue_threshold (false) If a request
|
320
|
-
# body exceedes the `:http_continue_threshold` size (in bytes), then
|
321
|
-
# an "Expect" header will be added to the request with the value of
|
322
|
-
# "100-continue". This will cause the SDK to wait up to
|
323
|
-
# `:http_continue_timeout` seconds for a 100 Contiue HTTP response
|
324
|
-
# before sending the request payload. By default, this feature
|
325
|
-
# is disbled. Set this option to a positive number of bytes
|
326
|
-
# to enable 100 continues. NOTE: currently there is a bug in Net::HTTP.
|
327
|
-
# You must call `AWS.patch_net_http_100_continue!` for this feature to work.
|
328
|
-
# Not supported in Ruby < 1.9.
|
329
|
-
#
|
330
311
|
# @option options [Object] :http_handler (AWS::Core::Http::NetHttpHandler)
|
331
312
|
# The http handler that sends requests to AWS.
|
332
313
|
#
|
@@ -662,11 +643,9 @@ module AWS
|
|
662
643
|
visited
|
663
644
|
end
|
664
645
|
|
665
|
-
#
|
666
|
-
#
|
646
|
+
# Now deprecated, as the SDK will always patch Net::HTTP when loaded.
|
647
|
+
# @api private
|
667
648
|
def patch_net_http_100_continue!
|
668
|
-
require 'aws/core/http/patch'
|
669
|
-
AWS::Core::Http.patch_net_http_100_continue!
|
670
649
|
nil
|
671
650
|
end
|
672
651
|
|
@@ -714,3 +693,6 @@ unless SecureRandom.respond_to?(:uuid)
|
|
714
693
|
end
|
715
694
|
end
|
716
695
|
end
|
696
|
+
|
697
|
+
require 'aws/core/http/patch'
|
698
|
+
AWS::Core::Http::Patches.apply!
|
@@ -76,25 +76,6 @@ module AWS
|
|
76
76
|
# true, AWS::DynamoDB::Errors::ProvisionedThroughputExceededException
|
77
77
|
# errors will be retried.
|
78
78
|
#
|
79
|
-
# @attr_reader [Float] http_continue_timeout (1) The number of
|
80
|
-
# seconds to wait for a "100-continue" response before sending the request
|
81
|
-
# payload. **This option has no effect unless the {#http_continue_threshold}
|
82
|
-
# is configured to a positive integer and the payload exeedes the
|
83
|
-
# threshold.** NOTE: currently there is a bug in Net::HTTP.
|
84
|
-
# You must call `AWS.patch_net_http_100_continue!` for this feature to work.
|
85
|
-
# Not supported in Ruby < 1.9.
|
86
|
-
#
|
87
|
-
# @attr_reader [Integer,false] http_continue_threshold (false) If a request
|
88
|
-
# body exceedes the {#http_continue_threshold} size (in bytes), then
|
89
|
-
# an "Expect" header will be added to the request with the value of
|
90
|
-
# "100-continue". This will cause the SDK to wait up to
|
91
|
-
# {#http_continue_timeout} seconds for a 100 Contiue HTTP response
|
92
|
-
# before sending the request payload. By default, this feature
|
93
|
-
# is disbled. Set this option to a positive number of bytes
|
94
|
-
# to enable 100 continues. NOTE: currently there is a bug in Net::HTTP.
|
95
|
-
# You must call `AWS.patch_net_http_100_continue!` for this feature to work.
|
96
|
-
# Not supported in Ruby < 1.9.
|
97
|
-
#
|
98
79
|
# @attr_reader [Object] http_handler The http handler that sends requests
|
99
80
|
# to AWS. Defaults to an HTTP handler built on net/http.
|
100
81
|
#
|
@@ -29,7 +29,8 @@ module AWS
|
|
29
29
|
NETWORK_ERRORS = [
|
30
30
|
SocketError, EOFError, IOError, Timeout::Error,
|
31
31
|
Errno::ECONNABORTED, Errno::ECONNRESET, Errno::EPIPE,
|
32
|
-
Errno::EINVAL, Errno::ETIMEDOUT,
|
32
|
+
Errno::EINVAL, Errno::ETIMEDOUT, Errno::EHOSTUNREACH,
|
33
|
+
OpenSSL::SSL::SSLError
|
33
34
|
]
|
34
35
|
|
35
36
|
# (see ConnectionPool.new)
|
data/lib/aws/core/http/patch.rb
CHANGED
@@ -1,102 +1,98 @@
|
|
1
|
-
# Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License"). You
|
4
|
-
# may not use this file except in compliance with the License. A copy of
|
5
|
-
# the License is located at
|
6
|
-
#
|
7
|
-
# http://aws.amazon.com/apache2.0/
|
8
|
-
#
|
9
|
-
# or in the "license" file accompanying this file. This file is
|
10
|
-
# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
|
11
|
-
# ANY KIND, either express or implied. See the License for the specific
|
12
|
-
# language governing permissions and limitations under the License.
|
13
|
-
|
14
1
|
require 'net/http'
|
15
|
-
require 'net/https'
|
16
|
-
require 'thread'
|
17
|
-
require 'logger'
|
18
2
|
|
19
3
|
module AWS
|
20
4
|
module Core
|
21
5
|
module Http
|
6
|
+
# @api private
|
7
|
+
module Patches
|
22
8
|
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
9
|
+
def self.apply!
|
10
|
+
if RUBY_VERSION >= '2.0'
|
11
|
+
Net::HTTP.send(:include, Ruby_2)
|
12
|
+
elsif RUBY_VERSION >= '1.9.3'
|
13
|
+
Net::HTTP.send(:include, Ruby_1_9_3)
|
14
|
+
end
|
15
|
+
if RUBY_VERSION >= '1.9.3'
|
16
|
+
Net::HTTP.send(:alias_method, :old_transport_request, :transport_request)
|
17
|
+
Net::HTTP.send(:alias_method, :transport_request, :new_transport_request)
|
18
|
+
end
|
31
19
|
end
|
32
|
-
Net::HTTP.send(:alias_method, :old_transport_request, :transport_request)
|
33
|
-
Net::HTTP.send(:alias_method, :transport_request, :new_transport_request)
|
34
|
-
end
|
35
20
|
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
begin_transport req
|
40
|
-
res = catch(:response) {
|
41
|
-
req.exec @socket, @curr_http_version, edit_path(req.path)
|
21
|
+
module Ruby_2
|
22
|
+
def new_transport_request(req)
|
23
|
+
count = 0
|
42
24
|
begin
|
43
|
-
|
44
|
-
|
25
|
+
begin_transport req
|
26
|
+
res = catch(:response) {
|
27
|
+
req.exec @socket, @curr_http_version, edit_path(req.path)
|
28
|
+
begin
|
29
|
+
res = Net::HTTPResponse.read_new(@socket)
|
30
|
+
res.decode_content = req.decode_content
|
31
|
+
end while res.kind_of?(Net::HTTPContinue)
|
32
|
+
|
33
|
+
res.uri = req.uri
|
34
|
+
|
35
|
+
res
|
36
|
+
}
|
37
|
+
res.reading_body(@socket, req.response_body_permitted?) {
|
38
|
+
yield res if block_given?
|
39
|
+
}
|
40
|
+
rescue Net::OpenTimeout
|
41
|
+
raise
|
42
|
+
rescue Net::ReadTimeout, IOError, EOFError,
|
43
|
+
Errno::ECONNRESET, Errno::ECONNABORTED, Errno::EPIPE,
|
44
|
+
# avoid a dependency on OpenSSL
|
45
|
+
defined?(OpenSSL::SSL) ? OpenSSL::SSL::SSLError : IOError,
|
46
|
+
Timeout::Error => exception
|
47
|
+
if count == 0 && Net::HTTP::IDEMPOTENT_METHODS_.include?(req.method)
|
48
|
+
count += 1
|
49
|
+
@socket.close if @socket and not @socket.closed?
|
50
|
+
D "Conn close because of error #{exception}, and retry"
|
51
|
+
if req.body_stream
|
52
|
+
if req.body_stream.respond_to?(:rewind)
|
53
|
+
req.body_stream.rewind
|
54
|
+
else
|
55
|
+
raise
|
56
|
+
end
|
57
|
+
end
|
58
|
+
retry
|
59
|
+
end
|
60
|
+
D "Conn close because of error #{exception}"
|
61
|
+
@socket.close if @socket and not @socket.closed?
|
62
|
+
raise
|
63
|
+
end
|
64
|
+
|
65
|
+
end_transport req, res
|
45
66
|
res
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
res
|
52
|
-
rescue => exception
|
53
|
-
D "Conn close because of error #{exception}"
|
54
|
-
@socket.close if @socket and not @socket.closed?
|
55
|
-
raise exception
|
67
|
+
rescue => exception
|
68
|
+
D "Conn close because of error #{exception}"
|
69
|
+
@socket.close if @socket and not @socket.closed?
|
70
|
+
raise exception
|
71
|
+
end
|
56
72
|
end
|
57
|
-
end
|
58
73
|
|
59
|
-
|
60
|
-
|
61
|
-
def new_transport_request(req)
|
62
|
-
count = 0
|
63
|
-
begin
|
74
|
+
module Ruby_1_9_3
|
75
|
+
def new_transport_request(req)
|
64
76
|
begin_transport req
|
65
77
|
res = catch(:response) {
|
66
78
|
req.exec @socket, @curr_http_version, edit_path(req.path)
|
67
79
|
begin
|
68
80
|
res = Net::HTTPResponse.read_new(@socket)
|
69
|
-
res.decode_content = req.decode_content
|
70
81
|
end while res.kind_of?(Net::HTTPContinue)
|
71
|
-
|
72
|
-
res.uri = req.uri
|
73
|
-
|
74
82
|
res
|
75
83
|
}
|
76
84
|
res.reading_body(@socket, req.response_body_permitted?) {
|
77
85
|
yield res if block_given?
|
78
86
|
}
|
79
|
-
|
80
|
-
|
81
|
-
rescue
|
82
|
-
Errno::ECONNRESET, Errno::ECONNABORTED, Errno::EPIPE,
|
83
|
-
# avoid a dependency on OpenSSL
|
84
|
-
defined?(OpenSSL::SSL) ? OpenSSL::SSL::SSLError : IOError,
|
85
|
-
Timeout::Error => exception
|
86
|
-
if count == 0 && IDEMPOTENT_METHODS_.include?(req.method)
|
87
|
-
count += 1
|
88
|
-
@socket.close if @socket and not @socket.closed?
|
89
|
-
D "Conn close because of error #{exception}, and retry"
|
90
|
-
retry
|
91
|
-
end
|
87
|
+
end_transport req, res
|
88
|
+
res
|
89
|
+
rescue => exception
|
92
90
|
D "Conn close because of error #{exception}"
|
93
91
|
@socket.close if @socket and not @socket.closed?
|
94
|
-
raise
|
92
|
+
raise exception
|
95
93
|
end
|
96
|
-
|
97
94
|
end
|
98
95
|
end
|
99
|
-
|
100
96
|
end
|
101
97
|
end
|
102
98
|
end
|
@@ -22,7 +22,7 @@ module AWS
|
|
22
22
|
# a log message. When you construct a {LogFormatter}, you provide
|
23
23
|
# a pattern string with substitutions.
|
24
24
|
#
|
25
|
-
# pattern = '[
|
25
|
+
# pattern = '[AWS :http_response_status] :service :operation :duration'
|
26
26
|
# formatter = AWS::Core::LogFormatter.new(pattern)
|
27
27
|
# formatter.format(response)
|
28
28
|
# #=> '[AWS 200] EC2 get_bucket 0.0352'
|
@@ -33,7 +33,7 @@ module AWS
|
|
33
33
|
# repace this formatter by building your own and then passing it
|
34
34
|
# to {AWS.config}.
|
35
35
|
#
|
36
|
-
# pattern = '[
|
36
|
+
# pattern = '[AWS :http_response_status] :service :operation :duration'
|
37
37
|
# AWS.config(:log_formatter => AWS::Core::LogFormatter.new(pattern)
|
38
38
|
#
|
39
39
|
# ## Canned Formatters
|
data/lib/aws/ec2/vpc.rb
CHANGED
@@ -78,7 +78,7 @@ module AWS
|
|
78
78
|
options = @filters.merge(options)
|
79
79
|
|
80
80
|
options[:marker] = next_token if next_token
|
81
|
-
options[:
|
81
|
+
options[:max_items] = limit if limit
|
82
82
|
|
83
83
|
resp = client.list_hosted_zones(options)
|
84
84
|
resp.data[:hosted_zones].each do |details|
|
data/lib/aws/s3/client.rb
CHANGED
@@ -28,6 +28,10 @@ module AWS
|
|
28
28
|
|
29
29
|
include RegionDetection
|
30
30
|
|
31
|
+
def initialize(options = {})
|
32
|
+
super(options.merge(:http_continue_threshold => 0))
|
33
|
+
end
|
34
|
+
|
31
35
|
signature_version :S3
|
32
36
|
|
33
37
|
API_VERSION = '2006-03-01'
|
@@ -1416,6 +1420,9 @@ module AWS
|
|
1416
1420
|
# @param [Hash] options
|
1417
1421
|
# @option options [required,String] :bucket_name
|
1418
1422
|
# @option options [required,String] :key
|
1423
|
+
# @option options [String] :request_payer If specified, the request
|
1424
|
+
# will contain the specified String value in the x-amz-request-payer
|
1425
|
+
# header. This is required for Requester Pays enabled buckets.
|
1419
1426
|
# @option options [Time] :if_modified_since If specified, the
|
1420
1427
|
# response will contain an additional `:modified` value that
|
1421
1428
|
# returns true if the object was modified after the given
|
@@ -1453,6 +1460,7 @@ module AWS
|
|
1453
1460
|
#
|
1454
1461
|
object_method(:get_object, :get,
|
1455
1462
|
:header_options => {
|
1463
|
+
:request_payer => "x-amz-request-payer",
|
1456
1464
|
:if_modified_since => "If-Modified-Since",
|
1457
1465
|
:if_unmodified_since => "If-Unmodified-Since",
|
1458
1466
|
:if_match => "If-Match",
|
@@ -25,6 +25,7 @@ module AWS
|
|
25
25
|
def detect_region_and_retry(response, &retry_block)
|
26
26
|
updgrade_to_v4(response, 'us-east-1')
|
27
27
|
yield
|
28
|
+
return if response.http_response.status == 200
|
28
29
|
actual_region = region_from_location_header(response)
|
29
30
|
updgrade_to_v4(response, actual_region)
|
30
31
|
log_region_warning(response, actual_region)
|
@@ -33,7 +34,9 @@ module AWS
|
|
33
34
|
|
34
35
|
def updgrade_to_v4(response, region)
|
35
36
|
bucket = response.request_options[:bucket_name]
|
36
|
-
response.http_request.body_stream.rewind
|
37
|
+
if response.http_request.body_stream.respond_to?(:rewind)
|
38
|
+
response.http_request.body_stream.rewind
|
39
|
+
end
|
37
40
|
response.http_request.headers.delete('authorization')
|
38
41
|
response.http_request.headers.delete('x-amz-security-token')
|
39
42
|
response.http_request.host = new_hostname(response, region)
|
data/lib/aws/s3/s3_object.rb
CHANGED
@@ -421,11 +421,10 @@ module AWS
|
|
421
421
|
# @since 1.7.2
|
422
422
|
def restore options = {}
|
423
423
|
options[:days] ||= 1
|
424
|
-
|
425
|
-
client.restore_object(
|
424
|
+
client.restore_object(options.merge({
|
426
425
|
:bucket_name => bucket.name,
|
427
|
-
:key => key,
|
428
|
-
|
426
|
+
:key => key,
|
427
|
+
}))
|
429
428
|
true
|
430
429
|
end
|
431
430
|
|
@@ -1486,9 +1485,15 @@ module AWS
|
|
1486
1485
|
|
1487
1486
|
req = Request.new
|
1488
1487
|
|
1489
|
-
req.bucket = bucket.name
|
1490
1488
|
req.key = key
|
1491
1489
|
req.host = options.fetch(:endpoint, config.s3_endpoint)
|
1490
|
+
|
1491
|
+
if req.host.nil? && options.include?(:endpoint) && options[:endpoint].nil?
|
1492
|
+
req.host = bucket.name
|
1493
|
+
else
|
1494
|
+
req.bucket = bucket.name
|
1495
|
+
end
|
1496
|
+
|
1492
1497
|
req.port = options.fetch(:port, port)
|
1493
1498
|
req.force_path_style = options.fetch(:force_path_style, config.s3_force_path_style)
|
1494
1499
|
|
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.62.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: 2015-
|
11
|
+
date: 2015-02-12 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,12 +48,68 @@ executables:
|
|
48
48
|
extensions: []
|
49
49
|
extra_rdoc_files: []
|
50
50
|
files:
|
51
|
+
- ".yardopts"
|
52
|
+
- LICENSE.txt
|
53
|
+
- README.md
|
54
|
+
- bin/aws-rb
|
51
55
|
- ca-bundle.crt
|
52
|
-
- rails/init.rb
|
53
56
|
- endpoints.json
|
54
|
-
- .
|
55
|
-
-
|
56
|
-
-
|
57
|
+
- lib/aws-sdk-v1.rb
|
58
|
+
- lib/aws.rb
|
59
|
+
- lib/aws/api_config/AutoScaling-2011-01-01.yml
|
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/CloudFront-2014-10-21.yml
|
69
|
+
- lib/aws/api_config/CloudSearch-2011-02-01.yml
|
70
|
+
- lib/aws/api_config/CloudSearch-2013-01-01.yml
|
71
|
+
- lib/aws/api_config/CloudTrail-2013-11-01.yml
|
72
|
+
- lib/aws/api_config/CloudWatch-2010-08-01.yml
|
73
|
+
- lib/aws/api_config/DataPipeline-2012-10-29.yml
|
74
|
+
- lib/aws/api_config/DirectConnect-2012-10-25.yml
|
75
|
+
- lib/aws/api_config/DynamoDB-2011-12-05.yml
|
76
|
+
- lib/aws/api_config/DynamoDB-2012-08-10.yml
|
77
|
+
- lib/aws/api_config/EC2-2013-08-15.yml
|
78
|
+
- lib/aws/api_config/EC2-2013-10-01.yml
|
79
|
+
- lib/aws/api_config/EC2-2013-10-15.yml
|
80
|
+
- lib/aws/api_config/EC2-2014-02-01.yml
|
81
|
+
- lib/aws/api_config/EC2-2014-05-01.yml
|
82
|
+
- lib/aws/api_config/EC2-2014-09-01.yml
|
83
|
+
- lib/aws/api_config/EC2-2014-10-01.yml
|
84
|
+
- lib/aws/api_config/ELB-2012-06-01.yml
|
85
|
+
- lib/aws/api_config/EMR-2009-03-31.yml
|
86
|
+
- lib/aws/api_config/ElastiCache-2013-06-15.yml
|
87
|
+
- lib/aws/api_config/ElastiCache-2014-03-24.yml
|
88
|
+
- lib/aws/api_config/ElastiCache-2014-07-15.yml
|
89
|
+
- lib/aws/api_config/ElastiCache-2014-09-30.yml
|
90
|
+
- lib/aws/api_config/ElasticBeanstalk-2010-12-01.yml
|
91
|
+
- lib/aws/api_config/ElasticTranscoder-2012-09-25.yml
|
92
|
+
- lib/aws/api_config/Glacier-2012-06-01.yml
|
93
|
+
- lib/aws/api_config/IAM-2010-05-08.yml
|
94
|
+
- lib/aws/api_config/ImportExport-2010-06-01.yml
|
95
|
+
- lib/aws/api_config/Kinesis-2013-12-02.yml
|
96
|
+
- lib/aws/api_config/OpsWorks-2013-02-18.yml
|
97
|
+
- lib/aws/api_config/RDS-2013-05-15.yml
|
98
|
+
- lib/aws/api_config/RDS-2013-09-09.yml
|
99
|
+
- lib/aws/api_config/RDS-2014-09-01.yml
|
100
|
+
- lib/aws/api_config/Redshift-2012-12-01.yml
|
101
|
+
- lib/aws/api_config/Route53-2012-12-12.yml
|
102
|
+
- lib/aws/api_config/Route53-2013-04-01.yml
|
103
|
+
- lib/aws/api_config/SNS-2010-03-31.yml
|
104
|
+
- lib/aws/api_config/SQS-2012-11-05.yml
|
105
|
+
- lib/aws/api_config/STS-2011-06-15.yml
|
106
|
+
- lib/aws/api_config/SimpleDB-2009-04-15.yml
|
107
|
+
- lib/aws/api_config/SimpleEmailService-2010-12-01.yml
|
108
|
+
- lib/aws/api_config/SimpleWorkflow-2012-01-25.yml
|
109
|
+
- lib/aws/api_config/StorageGateway-2012-06-30.yml
|
110
|
+
- lib/aws/api_config/StorageGateway-2013-06-30.yml
|
111
|
+
- lib/aws/api_config/Support-2013-04-15.yml
|
112
|
+
- lib/aws/auto_scaling.rb
|
57
113
|
- lib/aws/auto_scaling/activity.rb
|
58
114
|
- lib/aws/auto_scaling/activity_collection.rb
|
59
115
|
- lib/aws/auto_scaling/client.rb
|
@@ -75,7 +131,7 @@ files:
|
|
75
131
|
- lib/aws/auto_scaling/scheduled_action_collection.rb
|
76
132
|
- lib/aws/auto_scaling/tag.rb
|
77
133
|
- lib/aws/auto_scaling/tag_collection.rb
|
78
|
-
- lib/aws/
|
134
|
+
- lib/aws/cloud_formation.rb
|
79
135
|
- lib/aws/cloud_formation/client.rb
|
80
136
|
- lib/aws/cloud_formation/config.rb
|
81
137
|
- lib/aws/cloud_formation/errors.rb
|
@@ -89,19 +145,19 @@ files:
|
|
89
145
|
- lib/aws/cloud_formation/stack_resource_collection.rb
|
90
146
|
- lib/aws/cloud_formation/stack_resource_summary_collection.rb
|
91
147
|
- lib/aws/cloud_formation/stack_summary_collection.rb
|
92
|
-
- lib/aws/
|
148
|
+
- lib/aws/cloud_front.rb
|
93
149
|
- lib/aws/cloud_front/client.rb
|
94
150
|
- lib/aws/cloud_front/config.rb
|
95
151
|
- lib/aws/cloud_front/errors.rb
|
96
|
-
- lib/aws/
|
152
|
+
- lib/aws/cloud_search.rb
|
97
153
|
- lib/aws/cloud_search/client.rb
|
98
154
|
- lib/aws/cloud_search/config.rb
|
99
155
|
- lib/aws/cloud_search/errors.rb
|
100
|
-
- lib/aws/
|
156
|
+
- lib/aws/cloud_trail.rb
|
101
157
|
- lib/aws/cloud_trail/client.rb
|
102
158
|
- lib/aws/cloud_trail/config.rb
|
103
159
|
- lib/aws/cloud_trail/errors.rb
|
104
|
-
- lib/aws/
|
160
|
+
- lib/aws/cloud_watch.rb
|
105
161
|
- lib/aws/cloud_watch/alarm.rb
|
106
162
|
- lib/aws/cloud_watch/alarm_collection.rb
|
107
163
|
- lib/aws/cloud_watch/alarm_history_item.rb
|
@@ -113,14 +169,14 @@ files:
|
|
113
169
|
- lib/aws/cloud_watch/metric_alarm_collection.rb
|
114
170
|
- lib/aws/cloud_watch/metric_collection.rb
|
115
171
|
- lib/aws/cloud_watch/metric_statistics.rb
|
116
|
-
- lib/aws/
|
172
|
+
- lib/aws/core.rb
|
117
173
|
- lib/aws/core/async_handle.rb
|
118
174
|
- lib/aws/core/cacheable.rb
|
119
175
|
- lib/aws/core/client.rb
|
176
|
+
- lib/aws/core/collection.rb
|
120
177
|
- lib/aws/core/collection/simple.rb
|
121
178
|
- lib/aws/core/collection/with_limit_and_next_token.rb
|
122
179
|
- lib/aws/core/collection/with_next_token.rb
|
123
|
-
- lib/aws/core/collection.rb
|
124
180
|
- lib/aws/core/configuration.rb
|
125
181
|
- lib/aws/core/credential_providers.rb
|
126
182
|
- lib/aws/core/data.rb
|
@@ -174,8 +230,8 @@ files:
|
|
174
230
|
- lib/aws/core/signers/version_2.rb
|
175
231
|
- lib/aws/core/signers/version_3.rb
|
176
232
|
- lib/aws/core/signers/version_3_https.rb
|
177
|
-
- lib/aws/core/signers/version_4/chunk_signed_stream.rb
|
178
233
|
- lib/aws/core/signers/version_4.rb
|
234
|
+
- lib/aws/core/signers/version_4/chunk_signed_stream.rb
|
179
235
|
- lib/aws/core/uri_escape.rb
|
180
236
|
- lib/aws/core/xml/frame.rb
|
181
237
|
- lib/aws/core/xml/frame_stack.rb
|
@@ -187,22 +243,22 @@ files:
|
|
187
243
|
- lib/aws/core/xml/sax_handlers/ox.rb
|
188
244
|
- lib/aws/core/xml/sax_handlers/rexml.rb
|
189
245
|
- lib/aws/core/xml/stub.rb
|
190
|
-
- lib/aws/
|
246
|
+
- lib/aws/data_pipeline.rb
|
191
247
|
- lib/aws/data_pipeline/client.rb
|
192
248
|
- lib/aws/data_pipeline/config.rb
|
193
249
|
- lib/aws/data_pipeline/errors.rb
|
194
|
-
- lib/aws/
|
250
|
+
- lib/aws/direct_connect.rb
|
195
251
|
- lib/aws/direct_connect/client.rb
|
196
252
|
- lib/aws/direct_connect/config.rb
|
197
253
|
- lib/aws/direct_connect/errors.rb
|
198
|
-
- lib/aws/
|
254
|
+
- lib/aws/dynamo_db.rb
|
199
255
|
- lib/aws/dynamo_db/attribute_collection.rb
|
200
256
|
- lib/aws/dynamo_db/batch_get.rb
|
201
257
|
- lib/aws/dynamo_db/batch_write.rb
|
202
258
|
- lib/aws/dynamo_db/binary.rb
|
259
|
+
- lib/aws/dynamo_db/client.rb
|
203
260
|
- lib/aws/dynamo_db/client/v20111205.rb
|
204
261
|
- lib/aws/dynamo_db/client/v20120810.rb
|
205
|
-
- lib/aws/dynamo_db/client.rb
|
206
262
|
- lib/aws/dynamo_db/client_v2.rb
|
207
263
|
- lib/aws/dynamo_db/config.rb
|
208
264
|
- lib/aws/dynamo_db/errors.rb
|
@@ -216,7 +272,7 @@ files:
|
|
216
272
|
- lib/aws/dynamo_db/table.rb
|
217
273
|
- lib/aws/dynamo_db/table_collection.rb
|
218
274
|
- lib/aws/dynamo_db/types.rb
|
219
|
-
- lib/aws/
|
275
|
+
- lib/aws/ec2.rb
|
220
276
|
- lib/aws/ec2/attachment.rb
|
221
277
|
- lib/aws/ec2/attachment_collection.rb
|
222
278
|
- lib/aws/ec2/availability_zone.rb
|
@@ -240,17 +296,17 @@ files:
|
|
240
296
|
- lib/aws/ec2/image_collection.rb
|
241
297
|
- lib/aws/ec2/instance.rb
|
242
298
|
- lib/aws/ec2/instance_collection.rb
|
243
|
-
- lib/aws/ec2/internet_gateway/attachment.rb
|
244
299
|
- lib/aws/ec2/internet_gateway.rb
|
300
|
+
- lib/aws/ec2/internet_gateway/attachment.rb
|
245
301
|
- lib/aws/ec2/internet_gateway_collection.rb
|
246
302
|
- lib/aws/ec2/key_pair.rb
|
247
303
|
- lib/aws/ec2/key_pair_collection.rb
|
304
|
+
- lib/aws/ec2/network_acl.rb
|
248
305
|
- lib/aws/ec2/network_acl/association.rb
|
249
306
|
- lib/aws/ec2/network_acl/entry.rb
|
250
|
-
- lib/aws/ec2/network_acl.rb
|
251
307
|
- lib/aws/ec2/network_acl_collection.rb
|
252
|
-
- lib/aws/ec2/network_interface/attachment.rb
|
253
308
|
- lib/aws/ec2/network_interface.rb
|
309
|
+
- lib/aws/ec2/network_interface/attachment.rb
|
254
310
|
- lib/aws/ec2/network_interface_collection.rb
|
255
311
|
- lib/aws/ec2/permission_collection.rb
|
256
312
|
- lib/aws/ec2/region.rb
|
@@ -261,13 +317,13 @@ files:
|
|
261
317
|
- lib/aws/ec2/reserved_instances_offering_collection.rb
|
262
318
|
- lib/aws/ec2/resource.rb
|
263
319
|
- lib/aws/ec2/resource_tag_collection.rb
|
320
|
+
- lib/aws/ec2/route_table.rb
|
264
321
|
- lib/aws/ec2/route_table/association.rb
|
265
322
|
- lib/aws/ec2/route_table/route.rb
|
266
|
-
- lib/aws/ec2/route_table.rb
|
267
323
|
- lib/aws/ec2/route_table_collection.rb
|
324
|
+
- lib/aws/ec2/security_group.rb
|
268
325
|
- lib/aws/ec2/security_group/ip_permission.rb
|
269
326
|
- lib/aws/ec2/security_group/ip_permission_collection.rb
|
270
|
-
- lib/aws/ec2/security_group.rb
|
271
327
|
- lib/aws/ec2/security_group_collection.rb
|
272
328
|
- lib/aws/ec2/snapshot.rb
|
273
329
|
- lib/aws/ec2/snapshot_collection.rb
|
@@ -281,25 +337,25 @@ files:
|
|
281
337
|
- lib/aws/ec2/volume_collection.rb
|
282
338
|
- lib/aws/ec2/vpc.rb
|
283
339
|
- lib/aws/ec2/vpc_collection.rb
|
284
|
-
- lib/aws/ec2/vpn_connection/telemetry.rb
|
285
340
|
- lib/aws/ec2/vpn_connection.rb
|
341
|
+
- lib/aws/ec2/vpn_connection/telemetry.rb
|
286
342
|
- lib/aws/ec2/vpn_connection_collection.rb
|
287
|
-
- lib/aws/ec2/vpn_gateway/attachment.rb
|
288
343
|
- lib/aws/ec2/vpn_gateway.rb
|
344
|
+
- lib/aws/ec2/vpn_gateway/attachment.rb
|
289
345
|
- lib/aws/ec2/vpn_gateway_collection.rb
|
290
|
-
- lib/aws/
|
346
|
+
- lib/aws/elastic_beanstalk.rb
|
291
347
|
- lib/aws/elastic_beanstalk/client.rb
|
292
348
|
- lib/aws/elastic_beanstalk/config.rb
|
293
349
|
- lib/aws/elastic_beanstalk/errors.rb
|
294
|
-
- lib/aws/
|
350
|
+
- lib/aws/elastic_transcoder.rb
|
295
351
|
- lib/aws/elastic_transcoder/client.rb
|
296
352
|
- lib/aws/elastic_transcoder/config.rb
|
297
353
|
- lib/aws/elastic_transcoder/errors.rb
|
298
|
-
- lib/aws/
|
354
|
+
- lib/aws/elasticache.rb
|
299
355
|
- lib/aws/elasticache/client.rb
|
300
356
|
- lib/aws/elasticache/config.rb
|
301
357
|
- lib/aws/elasticache/errors.rb
|
302
|
-
- lib/aws/
|
358
|
+
- lib/aws/elb.rb
|
303
359
|
- lib/aws/elb/availability_zone_collection.rb
|
304
360
|
- lib/aws/elb/backend_server_policy_collection.rb
|
305
361
|
- lib/aws/elb/client.rb
|
@@ -313,7 +369,7 @@ files:
|
|
313
369
|
- lib/aws/elb/load_balancer_collection.rb
|
314
370
|
- lib/aws/elb/load_balancer_policy.rb
|
315
371
|
- lib/aws/elb/load_balancer_policy_collection.rb
|
316
|
-
- lib/aws/
|
372
|
+
- lib/aws/emr.rb
|
317
373
|
- lib/aws/emr/client.rb
|
318
374
|
- lib/aws/emr/config.rb
|
319
375
|
- lib/aws/emr/errors.rb
|
@@ -321,8 +377,8 @@ files:
|
|
321
377
|
- lib/aws/emr/instance_group_collection.rb
|
322
378
|
- lib/aws/emr/job_flow.rb
|
323
379
|
- lib/aws/emr/job_flow_collection.rb
|
324
|
-
- lib/aws/emr.rb
|
325
380
|
- lib/aws/errors.rb
|
381
|
+
- lib/aws/glacier.rb
|
326
382
|
- lib/aws/glacier/archive.rb
|
327
383
|
- lib/aws/glacier/archive_collection.rb
|
328
384
|
- lib/aws/glacier/client.rb
|
@@ -332,7 +388,7 @@ files:
|
|
332
388
|
- lib/aws/glacier/vault.rb
|
333
389
|
- lib/aws/glacier/vault_collection.rb
|
334
390
|
- lib/aws/glacier/vault_notification_configuration.rb
|
335
|
-
- lib/aws/
|
391
|
+
- lib/aws/iam.rb
|
336
392
|
- lib/aws/iam/access_key.rb
|
337
393
|
- lib/aws/iam/access_key_collection.rb
|
338
394
|
- lib/aws/iam/account_alias_collection.rb
|
@@ -361,20 +417,20 @@ files:
|
|
361
417
|
- lib/aws/iam/user_policy_collection.rb
|
362
418
|
- lib/aws/iam/virtual_mfa_device.rb
|
363
419
|
- lib/aws/iam/virtual_mfa_device_collection.rb
|
364
|
-
- lib/aws/
|
420
|
+
- lib/aws/import_export.rb
|
365
421
|
- lib/aws/import_export/client.rb
|
366
422
|
- lib/aws/import_export/config.rb
|
367
423
|
- lib/aws/import_export/errors.rb
|
368
|
-
- lib/aws/
|
424
|
+
- lib/aws/kinesis.rb
|
369
425
|
- lib/aws/kinesis/client.rb
|
370
426
|
- lib/aws/kinesis/config.rb
|
371
427
|
- lib/aws/kinesis/errors.rb
|
372
|
-
- lib/aws/
|
428
|
+
- lib/aws/ops_works.rb
|
373
429
|
- lib/aws/ops_works/client.rb
|
374
430
|
- lib/aws/ops_works/config.rb
|
375
431
|
- lib/aws/ops_works/errors.rb
|
376
|
-
- lib/aws/ops_works.rb
|
377
432
|
- lib/aws/rails.rb
|
433
|
+
- lib/aws/rds.rb
|
378
434
|
- lib/aws/rds/client.rb
|
379
435
|
- lib/aws/rds/config.rb
|
380
436
|
- lib/aws/rds/db_instance.rb
|
@@ -382,21 +438,21 @@ files:
|
|
382
438
|
- lib/aws/rds/db_snapshot.rb
|
383
439
|
- lib/aws/rds/db_snapshot_collection.rb
|
384
440
|
- lib/aws/rds/errors.rb
|
385
|
-
- lib/aws/
|
441
|
+
- lib/aws/record.rb
|
386
442
|
- lib/aws/record/abstract_base.rb
|
387
443
|
- lib/aws/record/attributes.rb
|
388
444
|
- lib/aws/record/conversion.rb
|
389
445
|
- lib/aws/record/dirty_tracking.rb
|
390
446
|
- lib/aws/record/errors.rb
|
391
447
|
- lib/aws/record/exceptions.rb
|
448
|
+
- lib/aws/record/hash_model.rb
|
392
449
|
- lib/aws/record/hash_model/attributes.rb
|
393
450
|
- lib/aws/record/hash_model/finder_methods.rb
|
394
451
|
- lib/aws/record/hash_model/scope.rb
|
395
|
-
- lib/aws/record/
|
452
|
+
- lib/aws/record/model.rb
|
396
453
|
- lib/aws/record/model/attributes.rb
|
397
454
|
- lib/aws/record/model/finder_methods.rb
|
398
455
|
- lib/aws/record/model/scope.rb
|
399
|
-
- lib/aws/record/model.rb
|
400
456
|
- lib/aws/record/naming.rb
|
401
457
|
- lib/aws/record/scope.rb
|
402
458
|
- lib/aws/record/validations.rb
|
@@ -412,11 +468,11 @@ files:
|
|
412
468
|
- lib/aws/record/validators/method.rb
|
413
469
|
- lib/aws/record/validators/numericality.rb
|
414
470
|
- lib/aws/record/validators/presence.rb
|
415
|
-
- lib/aws/
|
471
|
+
- lib/aws/redshift.rb
|
416
472
|
- lib/aws/redshift/client.rb
|
417
473
|
- lib/aws/redshift/config.rb
|
418
474
|
- lib/aws/redshift/errors.rb
|
419
|
-
- lib/aws/
|
475
|
+
- lib/aws/route_53.rb
|
420
476
|
- lib/aws/route_53/change_batch.rb
|
421
477
|
- lib/aws/route_53/change_info.rb
|
422
478
|
- lib/aws/route_53/client.rb
|
@@ -426,7 +482,7 @@ files:
|
|
426
482
|
- lib/aws/route_53/hosted_zone_collection.rb
|
427
483
|
- lib/aws/route_53/resource_record_set.rb
|
428
484
|
- lib/aws/route_53/resource_record_set_collection.rb
|
429
|
-
- lib/aws/
|
485
|
+
- lib/aws/s3.rb
|
430
486
|
- lib/aws/s3/access_control_list.rb
|
431
487
|
- lib/aws/s3/acl_object.rb
|
432
488
|
- lib/aws/s3/acl_options.rb
|
@@ -437,8 +493,8 @@ files:
|
|
437
493
|
- lib/aws/s3/bucket_tag_collection.rb
|
438
494
|
- lib/aws/s3/bucket_version_collection.rb
|
439
495
|
- lib/aws/s3/cipher_io.rb
|
440
|
-
- lib/aws/s3/client/xml.rb
|
441
496
|
- lib/aws/s3/client.rb
|
497
|
+
- lib/aws/s3/client/xml.rb
|
442
498
|
- lib/aws/s3/config.rb
|
443
499
|
- lib/aws/s3/cors_rule.rb
|
444
500
|
- lib/aws/s3/cors_rule_collection.rb
|
@@ -461,16 +517,16 @@ files:
|
|
461
517
|
- lib/aws/s3/region_detection.rb
|
462
518
|
- lib/aws/s3/request.rb
|
463
519
|
- lib/aws/s3/s3_object.rb
|
520
|
+
- lib/aws/s3/tree.rb
|
464
521
|
- lib/aws/s3/tree/branch_node.rb
|
465
522
|
- lib/aws/s3/tree/child_collection.rb
|
466
523
|
- lib/aws/s3/tree/leaf_node.rb
|
467
524
|
- lib/aws/s3/tree/node.rb
|
468
525
|
- lib/aws/s3/tree/parent.rb
|
469
|
-
- lib/aws/s3/tree.rb
|
470
526
|
- lib/aws/s3/uploaded_part.rb
|
471
527
|
- lib/aws/s3/uploaded_part_collection.rb
|
472
528
|
- lib/aws/s3/website_configuration.rb
|
473
|
-
- lib/aws/
|
529
|
+
- lib/aws/simple_db.rb
|
474
530
|
- lib/aws/simple_db/attribute.rb
|
475
531
|
- lib/aws/simple_db/attribute_collection.rb
|
476
532
|
- lib/aws/simple_db/client.rb
|
@@ -486,7 +542,7 @@ files:
|
|
486
542
|
- lib/aws/simple_db/item_collection.rb
|
487
543
|
- lib/aws/simple_db/item_data.rb
|
488
544
|
- lib/aws/simple_db/put_attributes.rb
|
489
|
-
- lib/aws/
|
545
|
+
- lib/aws/simple_email_service.rb
|
490
546
|
- lib/aws/simple_email_service/client.rb
|
491
547
|
- lib/aws/simple_email_service/config.rb
|
492
548
|
- lib/aws/simple_email_service/email_address_collection.rb
|
@@ -494,7 +550,7 @@ files:
|
|
494
550
|
- lib/aws/simple_email_service/identity.rb
|
495
551
|
- lib/aws/simple_email_service/identity_collection.rb
|
496
552
|
- lib/aws/simple_email_service/quotas.rb
|
497
|
-
- lib/aws/
|
553
|
+
- lib/aws/simple_workflow.rb
|
498
554
|
- lib/aws/simple_workflow/activity_task.rb
|
499
555
|
- lib/aws/simple_workflow/activity_task_collection.rb
|
500
556
|
- lib/aws/simple_workflow/activity_type.rb
|
@@ -517,7 +573,7 @@ files:
|
|
517
573
|
- lib/aws/simple_workflow/workflow_execution_collection.rb
|
518
574
|
- lib/aws/simple_workflow/workflow_type.rb
|
519
575
|
- lib/aws/simple_workflow/workflow_type_collection.rb
|
520
|
-
- lib/aws/
|
576
|
+
- lib/aws/sns.rb
|
521
577
|
- lib/aws/sns/client.rb
|
522
578
|
- lib/aws/sns/config.rb
|
523
579
|
- lib/aws/sns/errors.rb
|
@@ -530,7 +586,7 @@ files:
|
|
530
586
|
- lib/aws/sns/topic.rb
|
531
587
|
- lib/aws/sns/topic_collection.rb
|
532
588
|
- lib/aws/sns/topic_subscription_collection.rb
|
533
|
-
- lib/aws/
|
589
|
+
- lib/aws/sqs.rb
|
534
590
|
- lib/aws/sqs/client.rb
|
535
591
|
- lib/aws/sqs/config.rb
|
536
592
|
- lib/aws/sqs/errors.rb
|
@@ -539,79 +595,23 @@ files:
|
|
539
595
|
- lib/aws/sqs/queue_collection.rb
|
540
596
|
- lib/aws/sqs/received_message.rb
|
541
597
|
- lib/aws/sqs/received_sns_message.rb
|
542
|
-
- lib/aws/
|
598
|
+
- lib/aws/storage_gateway.rb
|
543
599
|
- lib/aws/storage_gateway/client.rb
|
544
600
|
- lib/aws/storage_gateway/config.rb
|
545
601
|
- lib/aws/storage_gateway/errors.rb
|
546
|
-
- lib/aws/
|
602
|
+
- lib/aws/sts.rb
|
547
603
|
- lib/aws/sts/client.rb
|
548
604
|
- lib/aws/sts/config.rb
|
549
605
|
- lib/aws/sts/errors.rb
|
550
606
|
- lib/aws/sts/federated_session.rb
|
551
607
|
- lib/aws/sts/policy.rb
|
552
608
|
- lib/aws/sts/session.rb
|
553
|
-
- lib/aws/
|
609
|
+
- lib/aws/support.rb
|
554
610
|
- lib/aws/support/client.rb
|
555
611
|
- lib/aws/support/config.rb
|
556
612
|
- lib/aws/support/errors.rb
|
557
|
-
- lib/aws/support.rb
|
558
613
|
- lib/aws/version.rb
|
559
|
-
-
|
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/CloudFront-2014-10-21.yml
|
571
|
-
- lib/aws/api_config/CloudSearch-2011-02-01.yml
|
572
|
-
- lib/aws/api_config/CloudSearch-2013-01-01.yml
|
573
|
-
- lib/aws/api_config/CloudTrail-2013-11-01.yml
|
574
|
-
- lib/aws/api_config/CloudWatch-2010-08-01.yml
|
575
|
-
- lib/aws/api_config/DataPipeline-2012-10-29.yml
|
576
|
-
- lib/aws/api_config/DirectConnect-2012-10-25.yml
|
577
|
-
- lib/aws/api_config/DynamoDB-2011-12-05.yml
|
578
|
-
- lib/aws/api_config/DynamoDB-2012-08-10.yml
|
579
|
-
- lib/aws/api_config/EC2-2013-08-15.yml
|
580
|
-
- lib/aws/api_config/EC2-2013-10-01.yml
|
581
|
-
- lib/aws/api_config/EC2-2013-10-15.yml
|
582
|
-
- lib/aws/api_config/EC2-2014-02-01.yml
|
583
|
-
- lib/aws/api_config/EC2-2014-05-01.yml
|
584
|
-
- lib/aws/api_config/EC2-2014-09-01.yml
|
585
|
-
- lib/aws/api_config/EC2-2014-10-01.yml
|
586
|
-
- lib/aws/api_config/ElastiCache-2013-06-15.yml
|
587
|
-
- lib/aws/api_config/ElastiCache-2014-03-24.yml
|
588
|
-
- lib/aws/api_config/ElastiCache-2014-07-15.yml
|
589
|
-
- lib/aws/api_config/ElastiCache-2014-09-30.yml
|
590
|
-
- lib/aws/api_config/ElasticBeanstalk-2010-12-01.yml
|
591
|
-
- lib/aws/api_config/ElasticTranscoder-2012-09-25.yml
|
592
|
-
- lib/aws/api_config/ELB-2012-06-01.yml
|
593
|
-
- lib/aws/api_config/EMR-2009-03-31.yml
|
594
|
-
- lib/aws/api_config/Glacier-2012-06-01.yml
|
595
|
-
- lib/aws/api_config/IAM-2010-05-08.yml
|
596
|
-
- lib/aws/api_config/ImportExport-2010-06-01.yml
|
597
|
-
- lib/aws/api_config/Kinesis-2013-12-02.yml
|
598
|
-
- lib/aws/api_config/OpsWorks-2013-02-18.yml
|
599
|
-
- lib/aws/api_config/RDS-2013-05-15.yml
|
600
|
-
- lib/aws/api_config/RDS-2013-09-09.yml
|
601
|
-
- lib/aws/api_config/RDS-2014-09-01.yml
|
602
|
-
- lib/aws/api_config/Redshift-2012-12-01.yml
|
603
|
-
- lib/aws/api_config/Route53-2012-12-12.yml
|
604
|
-
- lib/aws/api_config/Route53-2013-04-01.yml
|
605
|
-
- lib/aws/api_config/SimpleDB-2009-04-15.yml
|
606
|
-
- lib/aws/api_config/SimpleEmailService-2010-12-01.yml
|
607
|
-
- lib/aws/api_config/SimpleWorkflow-2012-01-25.yml
|
608
|
-
- lib/aws/api_config/SNS-2010-03-31.yml
|
609
|
-
- lib/aws/api_config/SQS-2012-11-05.yml
|
610
|
-
- lib/aws/api_config/StorageGateway-2012-06-30.yml
|
611
|
-
- lib/aws/api_config/StorageGateway-2013-06-30.yml
|
612
|
-
- lib/aws/api_config/STS-2011-06-15.yml
|
613
|
-
- lib/aws/api_config/Support-2013-04-15.yml
|
614
|
-
- bin/aws-rb
|
614
|
+
- rails/init.rb
|
615
615
|
homepage: http://aws.amazon.com/sdkforruby
|
616
616
|
licenses:
|
617
617
|
- Apache 2.0
|
@@ -622,17 +622,17 @@ require_paths:
|
|
622
622
|
- lib
|
623
623
|
required_ruby_version: !ruby/object:Gem::Requirement
|
624
624
|
requirements:
|
625
|
-
- -
|
625
|
+
- - ">="
|
626
626
|
- !ruby/object:Gem::Version
|
627
627
|
version: '0'
|
628
628
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
629
629
|
requirements:
|
630
|
-
- -
|
630
|
+
- - ">="
|
631
631
|
- !ruby/object:Gem::Version
|
632
632
|
version: '0'
|
633
633
|
requirements: []
|
634
634
|
rubyforge_project:
|
635
|
-
rubygems_version: 2.
|
635
|
+
rubygems_version: 2.4.5
|
636
636
|
signing_key:
|
637
637
|
specification_version: 4
|
638
638
|
summary: AWS SDK for Ruby V1
|