aws-sdk 1.34.1 → 1.35.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/api_config/CloudFront-2013-11-22.yml +2918 -0
- data/lib/aws/api_config/Route53-2013-04-01.yml +20 -0
- data/lib/aws/api_config/STS-2011-06-15.yml +5 -1
- data/lib/aws/cloud_front/client.rb +5 -1
- data/lib/aws/ec2/instance_collection.rb +2 -0
- data/lib/aws/ec2/subnet_collection.rb +7 -3
- data/lib/aws/s3/object_collection.rb +1 -1
- data/lib/aws/s3/presign_v4.rb +3 -2
- data/lib/aws/version.rb +1 -1
- metadata +3 -2
@@ -182,6 +182,14 @@
|
|
182
182
|
:name: SearchString
|
183
183
|
:type: :string
|
184
184
|
:position: 5
|
185
|
+
:request_interval:
|
186
|
+
:name: RequestInterval
|
187
|
+
:type: :integer
|
188
|
+
:position: 6
|
189
|
+
:failure_threshold:
|
190
|
+
:name: FailureThreshold
|
191
|
+
:type: :integer
|
192
|
+
:position: 7
|
185
193
|
:outputs:
|
186
194
|
:children:
|
187
195
|
HealthCheck:
|
@@ -204,6 +212,10 @@
|
|
204
212
|
:type: :string
|
205
213
|
SearchString:
|
206
214
|
:type: :string
|
215
|
+
RequestInterval:
|
216
|
+
:type: :integer
|
217
|
+
FailureThreshold:
|
218
|
+
:type: :integer
|
207
219
|
- :name: CreateHostedZone
|
208
220
|
:method: :create_hosted_zone
|
209
221
|
:http:
|
@@ -356,6 +368,10 @@
|
|
356
368
|
:type: :string
|
357
369
|
SearchString:
|
358
370
|
:type: :string
|
371
|
+
RequestInterval:
|
372
|
+
:type: :integer
|
373
|
+
FailureThreshold:
|
374
|
+
:type: :integer
|
359
375
|
- :name: GetHostedZone
|
360
376
|
:method: :get_hosted_zone
|
361
377
|
:http:
|
@@ -431,6 +447,10 @@
|
|
431
447
|
:type: :string
|
432
448
|
SearchString:
|
433
449
|
:type: :string
|
450
|
+
RequestInterval:
|
451
|
+
:type: :integer
|
452
|
+
FailureThreshold:
|
453
|
+
:type: :integer
|
434
454
|
Marker:
|
435
455
|
:type: :string
|
436
456
|
IsTruncated:
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011-
|
1
|
+
# Copyright 2011-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License"). You
|
4
4
|
# may not use this file except in compliance with the License. A copy of
|
@@ -29,6 +29,10 @@
|
|
29
29
|
- :integer
|
30
30
|
ExternalId:
|
31
31
|
- :string
|
32
|
+
SerialNumber:
|
33
|
+
- :string
|
34
|
+
TokenCode:
|
35
|
+
- :string
|
32
36
|
:outputs:
|
33
37
|
:children:
|
34
38
|
AssumeRoleResult:
|
@@ -16,7 +16,7 @@ module AWS
|
|
16
16
|
|
17
17
|
class Client < Core::RESTXMLClient
|
18
18
|
|
19
|
-
API_VERSION = '2013-11-
|
19
|
+
API_VERSION = '2013-11-22'
|
20
20
|
|
21
21
|
signature_version :Version4, 'cloudfront'
|
22
22
|
|
@@ -41,5 +41,9 @@ module AWS
|
|
41
41
|
define_client_methods('2013-11-11')
|
42
42
|
end
|
43
43
|
|
44
|
+
class Client::V20131122 < Client
|
45
|
+
define_client_methods('2013-11-22')
|
46
|
+
end
|
47
|
+
|
44
48
|
end
|
45
49
|
end
|
@@ -199,6 +199,8 @@ module AWS
|
|
199
199
|
# *NOTE:* EBS Optimized instances incur an additional service charge. This
|
200
200
|
# optional is only valid for certain instance types.
|
201
201
|
#
|
202
|
+
# @option options [Boolean] :associate_public_ip_address (false)
|
203
|
+
#
|
202
204
|
# @return [Instance or Array] If a single instance is being created,
|
203
205
|
# this returns an {EC2::Instance} to represent the newly
|
204
206
|
# created instance. Otherwise it returns an array of instance
|
@@ -51,9 +51,13 @@ module AWS
|
|
51
51
|
include TaggedCollection
|
52
52
|
include Core::Collection::Simple
|
53
53
|
|
54
|
-
# Creates a Subnet. Subnets require a valid CIDR block and
|
55
|
-
#
|
56
|
-
#
|
54
|
+
# Creates a Subnet. Subnets require a valid CIDR block and are created
|
55
|
+
# inside an existing VPC. If you do not set an AvailabilityZone, then
|
56
|
+
# Amazon EC2 will select one for you (this is recommended).
|
57
|
+
#
|
58
|
+
# For complete information about creating subnets, see
|
59
|
+
# {http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-CreateSubnet.html
|
60
|
+
# CreateSubnet} in the Amazon EC2 API Reference.
|
57
61
|
#
|
58
62
|
# @param [String] cidr_block The CIDR block you want the subnet to
|
59
63
|
# cover (e.g., 10.0.0.0/24).
|
data/lib/aws/s3/presign_v4.rb
CHANGED
@@ -39,14 +39,15 @@ module AWS
|
|
39
39
|
# @return (see S3Object#url_for)
|
40
40
|
def presign(method, options = {})
|
41
41
|
|
42
|
-
now = Time.now.utc
|
43
|
-
|
42
|
+
now = Time.now.utc
|
44
43
|
one_week = 60 * 60 * 24 * 7
|
45
44
|
if options[:expires] - now.to_i > one_week
|
46
45
|
msg = "presigned URLs using sigv4 may not expire more than one week out"
|
47
46
|
raise ArgumentError, msg
|
48
47
|
end
|
49
48
|
|
49
|
+
now = now.strftime("%Y%m%dT%H%M%SZ")
|
50
|
+
|
50
51
|
request = build_request(method, options)
|
51
52
|
|
52
53
|
request.headers.clear
|
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.35.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-02-
|
11
|
+
date: 2014-02-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: uuidtools
|
@@ -572,6 +572,7 @@ files:
|
|
572
572
|
- lib/aws/api_config/CloudFront-2013-08-26.yml
|
573
573
|
- lib/aws/api_config/CloudFront-2013-09-27.yml
|
574
574
|
- lib/aws/api_config/CloudFront-2013-11-11.yml
|
575
|
+
- lib/aws/api_config/CloudFront-2013-11-22.yml
|
575
576
|
- lib/aws/api_config/CloudSearch-2011-02-01.yml
|
576
577
|
- lib/aws/api_config/CloudTrail-2013-11-01.yml
|
577
578
|
- lib/aws/api_config/CloudWatch-2010-08-01.yml
|