aws-sdk 1.18.0 → 1.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.yardopts +1 -0
- data/README.md +1 -1
- data/lib/aws/api_config/AutoScaling-2011-01-01.yml +21 -3
- data/lib/aws/route_53/change_info.rb +1 -1
- data/lib/aws/s3/client.rb +25 -0
- data/lib/aws/s3/s3_object.rb +4 -0
- data/lib/aws/version.rb +1 -1
- metadata +8 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a68599bf81d1f72c5df40ab175d3256f9b8dec95
|
|
4
|
+
data.tar.gz: c4fbb818a36a2ec3fce6b32547ffaee4d18761ac
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 467717593c6d21f994e710c906ec02417fa15474420b18cbb9fdd74fa995e4670a1509dd809acae0bd72fe03acac8f1e939fc84fa0e7c6e41ef8742f49d2a394
|
|
7
|
+
data.tar.gz: 211601ebdd21bc192517f44dfe2c355daa96fd8de1cb728095f1671a16bf726a4f24a726d89c95aa03e6179eb77c2b0d17f243baf67077a7120de8757a0be4e2
|
data/.yardopts
CHANGED
data/README.md
CHANGED
|
@@ -14,6 +14,19 @@
|
|
|
14
14
|
---
|
|
15
15
|
:api_version: '2011-01-01'
|
|
16
16
|
:operations:
|
|
17
|
+
- :name: AttachInstances
|
|
18
|
+
:method: :attach_instances
|
|
19
|
+
:inputs:
|
|
20
|
+
InstanceIds:
|
|
21
|
+
- :membered_list:
|
|
22
|
+
- :string
|
|
23
|
+
AutoScalingGroupName:
|
|
24
|
+
- :string
|
|
25
|
+
- :required
|
|
26
|
+
:outputs:
|
|
27
|
+
:children:
|
|
28
|
+
AttachInstancesResult:
|
|
29
|
+
:ignore: true
|
|
17
30
|
- :name: CreateAutoScalingGroup
|
|
18
31
|
:method: :create_auto_scaling_group
|
|
19
32
|
:inputs:
|
|
@@ -22,7 +35,8 @@
|
|
|
22
35
|
- :required
|
|
23
36
|
LaunchConfigurationName:
|
|
24
37
|
- :string
|
|
25
|
-
|
|
38
|
+
InstanceId:
|
|
39
|
+
- :string
|
|
26
40
|
MinSize:
|
|
27
41
|
- :integer
|
|
28
42
|
- :required
|
|
@@ -76,7 +90,6 @@
|
|
|
76
90
|
- :required
|
|
77
91
|
ImageId:
|
|
78
92
|
- :string
|
|
79
|
-
- :required
|
|
80
93
|
KeyName:
|
|
81
94
|
- :string
|
|
82
95
|
SecurityGroups:
|
|
@@ -84,9 +97,10 @@
|
|
|
84
97
|
- :string
|
|
85
98
|
UserData:
|
|
86
99
|
- :string
|
|
100
|
+
InstanceId:
|
|
101
|
+
- :string
|
|
87
102
|
InstanceType:
|
|
88
103
|
- :string
|
|
89
|
-
- :required
|
|
90
104
|
KernelId:
|
|
91
105
|
- :string
|
|
92
106
|
RamdiskId:
|
|
@@ -115,6 +129,8 @@
|
|
|
115
129
|
- :string
|
|
116
130
|
EbsOptimized:
|
|
117
131
|
- :boolean
|
|
132
|
+
AssociatePublicIpAddress:
|
|
133
|
+
- :boolean
|
|
118
134
|
:outputs:
|
|
119
135
|
:children:
|
|
120
136
|
CreateLaunchConfigurationResult:
|
|
@@ -397,6 +413,8 @@
|
|
|
397
413
|
:type: :time
|
|
398
414
|
EbsOptimized:
|
|
399
415
|
:type: :boolean
|
|
416
|
+
AssociatePublicIpAddress:
|
|
417
|
+
:type: :boolean
|
|
400
418
|
- :name: DescribeMetricCollectionTypes
|
|
401
419
|
:method: :describe_metric_collection_types
|
|
402
420
|
:inputs: {}
|
|
@@ -52,7 +52,7 @@ module AWS
|
|
|
52
52
|
resp[:change_info] if resp[:change_info][:id] == id
|
|
53
53
|
end
|
|
54
54
|
|
|
55
|
-
# @return [Boolean] Returns true if this
|
|
55
|
+
# @return [Boolean] Returns true if this change exists.
|
|
56
56
|
def exists?
|
|
57
57
|
get_resource.data[:change_info][:id] == id
|
|
58
58
|
end
|
data/lib/aws/s3/client.rb
CHANGED
|
@@ -446,6 +446,26 @@ module AWS
|
|
|
446
446
|
"contains invalid JSON: #{error}" if error
|
|
447
447
|
end
|
|
448
448
|
|
|
449
|
+
def require_allowed_methods!(allowed_methods)
|
|
450
|
+
validate!("allowed_methods", allowed_methods) do
|
|
451
|
+
if !allowed_methods.kind_of?(Array)
|
|
452
|
+
"must be an array"
|
|
453
|
+
elsif !allowed_methods.all? { |x| x.kind_of?(String) }
|
|
454
|
+
"must be an array of strings"
|
|
455
|
+
end
|
|
456
|
+
end
|
|
457
|
+
end
|
|
458
|
+
|
|
459
|
+
def require_allowed_origins!(allowed_origins)
|
|
460
|
+
validate!("allowed_origins", allowed_origins) do
|
|
461
|
+
if !allowed_origins.kind_of?(Array)
|
|
462
|
+
"must be an array"
|
|
463
|
+
elsif !allowed_origins.all? { |x| x.kind_of?(String) }
|
|
464
|
+
"must be an array of strings"
|
|
465
|
+
end
|
|
466
|
+
end
|
|
467
|
+
end
|
|
468
|
+
|
|
449
469
|
end
|
|
450
470
|
|
|
451
471
|
include Validators
|
|
@@ -676,6 +696,11 @@ module AWS
|
|
|
676
696
|
|
|
677
697
|
req.add_param('cors')
|
|
678
698
|
|
|
699
|
+
options[:rules].each do |rule|
|
|
700
|
+
require_allowed_methods!(rule[:allowed_methods])
|
|
701
|
+
require_allowed_origins!(rule[:allowed_origins])
|
|
702
|
+
end
|
|
703
|
+
|
|
679
704
|
xml = Nokogiri::XML::Builder.new do |xml|
|
|
680
705
|
xml.CORSConfiguration do
|
|
681
706
|
options[:rules].each do |rule|
|
data/lib/aws/s3/s3_object.rb
CHANGED
|
@@ -810,6 +810,10 @@ module AWS
|
|
|
810
810
|
# the copied object. Defaults to the source object's content
|
|
811
811
|
# type.
|
|
812
812
|
#
|
|
813
|
+
# @option options [String] :content_disposition The presentational
|
|
814
|
+
# information for the object. Defaults to the source object's
|
|
815
|
+
# content disposition.
|
|
816
|
+
#
|
|
813
817
|
# @option options [Boolean] :reduced_redundancy (false) If true the
|
|
814
818
|
# object is stored with reduced redundancy in S3 for a lower cost.
|
|
815
819
|
#
|
data/lib/aws/version.rb
CHANGED
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.
|
|
4
|
+
version: 1.19.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-09-
|
|
11
|
+
date: 2013-09-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: uuidtools
|
|
@@ -28,6 +28,9 @@ dependencies:
|
|
|
28
28
|
name: nokogiri
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
|
+
- - '>='
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: 1.4.4
|
|
31
34
|
- - <
|
|
32
35
|
- !ruby/object:Gem::Version
|
|
33
36
|
version: 1.6.0
|
|
@@ -35,6 +38,9 @@ dependencies:
|
|
|
35
38
|
prerelease: false
|
|
36
39
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
40
|
requirements:
|
|
41
|
+
- - '>='
|
|
42
|
+
- !ruby/object:Gem::Version
|
|
43
|
+
version: 1.4.4
|
|
38
44
|
- - <
|
|
39
45
|
- !ruby/object:Gem::Version
|
|
40
46
|
version: 1.6.0
|