aws-sdk 1.18.0 → 1.19.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 922eab0a8bd13d682f4ac39b61b26540803ba0bb
4
- data.tar.gz: f4cbc9198f4fbd9b353e5869a140ecc6e5c76703
3
+ metadata.gz: a68599bf81d1f72c5df40ab175d3256f9b8dec95
4
+ data.tar.gz: c4fbb818a36a2ec3fce6b32547ffaee4d18761ac
5
5
  SHA512:
6
- metadata.gz: ab1afa3d7bcace527f0d20a8c9cb769a4bc36dab589138f4dcf692fa86d014db312d15398e1c051ca150cb1927b1c3acabf15a7f350784f93ff55e06af7781d9
7
- data.tar.gz: b74beeb8fbd0d50c9a4e1f6870a571e047a50f5d4e7b1d7000ab6ed4cd1a68ca9d9cee405543d510e8dc7715af544674bede3cd9120bdb1db531a94067cbc3c2
6
+ metadata.gz: 467717593c6d21f994e710c906ec02417fa15474420b18cbb9fdd74fa995e4670a1509dd809acae0bd72fe03acac8f1e939fc84fa0e7c6e41ef8742f49d2a394
7
+ data.tar.gz: 211601ebdd21bc192517f44dfe2c355daa96fd8de1cb728095f1671a16bf726a4f24a726d89c95aa03e6179eb77c2b0d17f243baf67077a7120de8757a0be4e2
data/.yardopts CHANGED
@@ -3,4 +3,5 @@
3
3
  --markup markdown
4
4
  --markup-provider rdiscount
5
5
  --hide-api private
6
+ --plugin sitemap
6
7
  -e doc-src/api_docs_plugin.rb
data/README.md CHANGED
@@ -121,7 +121,7 @@ The SDK currently supports the following services:
121
121
  </tr>
122
122
  <tr>
123
123
  <td>AWS::EC2</td>
124
- <td>2013-07-15</td>
124
+ <td>2013-08-15</td>
125
125
  <td>Amazon Elastic Compute Cloud</td>
126
126
  </tr>
127
127
  <tr>
@@ -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
- - :required
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 alarm exists.
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
@@ -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|
@@ -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
  #
@@ -13,5 +13,5 @@
13
13
 
14
14
  module AWS
15
15
  # Current version of the AWS SDK for Ruby
16
- VERSION = '1.18.0'
16
+ VERSION = '1.19.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.18.0
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-12 00:00:00.000000000 Z
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