aws-sdk-v1 1.57.0 → 1.58.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/endpoints.json +180 -13
- data/lib/aws/api_config/CloudFront-2014-11-06.yml +3560 -0
- data/lib/aws/api_config/EC2-2014-09-01.yml +4826 -0
- data/lib/aws/api_config/ELB-2012-06-01.yml +19 -0
- data/lib/aws/api_config/Route53-2013-04-01.yml +280 -76
- data/lib/aws/cloud_front/client.rb +5 -1
- data/lib/aws/ec2/client.rb +6 -2
- data/lib/aws/route_53/hosted_zone.rb +25 -0
- data/lib/aws/version.rb +1 -1
- metadata +4 -2
@@ -16,7 +16,7 @@ module AWS
|
|
16
16
|
|
17
17
|
class Client < Core::RESTXMLClient
|
18
18
|
|
19
|
-
API_VERSION = '2014-
|
19
|
+
API_VERSION = '2014-11-06'
|
20
20
|
|
21
21
|
signature_version :Version4, 'cloudfront'
|
22
22
|
|
@@ -53,5 +53,9 @@ module AWS
|
|
53
53
|
define_client_methods('2014-05-31')
|
54
54
|
end
|
55
55
|
|
56
|
+
class Client::V20141106 < Client
|
57
|
+
define_client_methods('2014-11-06')
|
58
|
+
end
|
59
|
+
|
56
60
|
end
|
57
61
|
end
|
data/lib/aws/ec2/client.rb
CHANGED
@@ -17,7 +17,7 @@ module AWS
|
|
17
17
|
# Client class for Amazon Elastic Compute Cloud (EC2).
|
18
18
|
class Client < Core::QueryClient
|
19
19
|
|
20
|
-
API_VERSION = '2014-
|
20
|
+
API_VERSION = '2014-09-01'
|
21
21
|
|
22
22
|
signature_version :Version4, 'ec2'
|
23
23
|
|
@@ -100,8 +100,12 @@ module AWS
|
|
100
100
|
end
|
101
101
|
|
102
102
|
class Client::V20140501 < Client
|
103
|
-
|
104
103
|
define_client_methods('2014-05-01')
|
104
|
+
end
|
105
|
+
|
106
|
+
class Client::V20140901 < Client
|
107
|
+
|
108
|
+
define_client_methods('2014-09-01')
|
105
109
|
|
106
110
|
alias basic_copy_snapshot copy_snapshot
|
107
111
|
|
@@ -72,6 +72,8 @@ module AWS
|
|
72
72
|
|
73
73
|
get_attribute :delegation_set, :static => true
|
74
74
|
|
75
|
+
get_attribute :vpcs
|
76
|
+
|
75
77
|
provider(:list_hosted_zones) do |provider|
|
76
78
|
provider.find do |resp|
|
77
79
|
resp.data[:hosted_zones].find do |detail|
|
@@ -85,6 +87,7 @@ module AWS
|
|
85
87
|
provider.find do |resp|
|
86
88
|
if resp[:hosted_zone][:id] == path
|
87
89
|
resp[:hosted_zone][:delegation_set] = resp[:delegation_set]
|
90
|
+
resp[:hosted_zone][:vpcs] = resp[:vpcs]
|
88
91
|
resp[:hosted_zone]
|
89
92
|
end
|
90
93
|
end
|
@@ -119,6 +122,28 @@ module AWS
|
|
119
122
|
end
|
120
123
|
alias_method :rrsets, :resource_record_sets
|
121
124
|
|
125
|
+
# Associates an additional VPC with a private hosted zone.
|
126
|
+
# @return [ChangeInfo]
|
127
|
+
def associate_vpc vpc
|
128
|
+
resp = client.associate_vpc_with_hosted_zone(:hosted_zone_id => id, :vpc => vpc)
|
129
|
+
if resp[:change_info][:id]
|
130
|
+
ChangeInfo.new_from(:associate_vpc_with_hosted_zone,
|
131
|
+
resp[:change_info],
|
132
|
+
resp[:change_info][:id])
|
133
|
+
end
|
134
|
+
end
|
135
|
+
|
136
|
+
# Disassociates an VPC from an private hosted zone.
|
137
|
+
# @return [ChangeInfo]
|
138
|
+
def disassociate_vpc vpc
|
139
|
+
resp = client.disassociate_vpc_from_hosted_zone(:hosted_zone_id => id, :vpc => vpc)
|
140
|
+
if resp[:change_info][:id]
|
141
|
+
ChangeInfo.new_from(:disassociate_vpc_from_hosted_zone,
|
142
|
+
resp[:change_info],
|
143
|
+
resp[:change_info][:id])
|
144
|
+
end
|
145
|
+
end
|
146
|
+
|
122
147
|
protected
|
123
148
|
|
124
149
|
def resource_identifiers
|
data/lib/aws/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.58.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-
|
11
|
+
date: 2014-11-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -567,6 +567,7 @@ files:
|
|
567
567
|
- lib/aws/api_config/CloudFront-2013-11-22.yml
|
568
568
|
- lib/aws/api_config/CloudFront-2014-01-31.yml
|
569
569
|
- lib/aws/api_config/CloudFront-2014-05-31.yml
|
570
|
+
- lib/aws/api_config/CloudFront-2014-11-06.yml
|
570
571
|
- lib/aws/api_config/CloudSearch-2011-02-01.yml
|
571
572
|
- lib/aws/api_config/CloudSearch-2013-01-01.yml
|
572
573
|
- lib/aws/api_config/CloudTrail-2013-11-01.yml
|
@@ -580,6 +581,7 @@ files:
|
|
580
581
|
- lib/aws/api_config/EC2-2013-10-15.yml
|
581
582
|
- lib/aws/api_config/EC2-2014-02-01.yml
|
582
583
|
- lib/aws/api_config/EC2-2014-05-01.yml
|
584
|
+
- lib/aws/api_config/EC2-2014-09-01.yml
|
583
585
|
- lib/aws/api_config/ElastiCache-2013-06-15.yml
|
584
586
|
- lib/aws/api_config/ElastiCache-2014-03-24.yml
|
585
587
|
- lib/aws/api_config/ElastiCache-2014-07-15.yml
|