aws-sdk-ec2 1.0.0.rc7 → 1.0.0.rc8
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/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/classic_address.rb +24 -24
- data/lib/aws-sdk-ec2/client.rb +3671 -3546
- data/lib/aws-sdk-ec2/client_api.rb +954 -896
- data/lib/aws-sdk-ec2/dhcp_options.rb +3 -3
- data/lib/aws-sdk-ec2/image.rb +93 -93
- data/lib/aws-sdk-ec2/instance.rb +252 -252
- data/lib/aws-sdk-ec2/network_acl.rb +73 -73
- data/lib/aws-sdk-ec2/network_interface.rb +82 -82
- data/lib/aws-sdk-ec2/network_interface_association.rb +10 -10
- data/lib/aws-sdk-ec2/placement_group.rb +17 -17
- data/lib/aws-sdk-ec2/resource.rb +526 -525
- data/lib/aws-sdk-ec2/route.rb +38 -38
- data/lib/aws-sdk-ec2/route_table.rb +21 -21
- data/lib/aws-sdk-ec2/route_table_association.rb +6 -6
- data/lib/aws-sdk-ec2/security_group.rb +175 -175
- data/lib/aws-sdk-ec2/snapshot.rb +102 -102
- data/lib/aws-sdk-ec2/subnet.rb +228 -227
- data/lib/aws-sdk-ec2/types.rb +6558 -6298
- data/lib/aws-sdk-ec2/volume.rb +95 -95
- data/lib/aws-sdk-ec2/vpc.rb +171 -171
- data/lib/aws-sdk-ec2/vpc_address.rb +18 -18
- data/lib/aws-sdk-ec2/vpc_peering_connection.rb +4 -5
- metadata +4 -4
@@ -114,19 +114,14 @@ module Aws::EC2
|
|
114
114
|
# @example Request syntax with placeholder values
|
115
115
|
#
|
116
116
|
# vpc_address.associate({
|
117
|
-
# dry_run: false,
|
118
117
|
# instance_id: "String",
|
119
118
|
# public_ip: "String",
|
119
|
+
# allow_reassociation: false,
|
120
|
+
# dry_run: false,
|
120
121
|
# network_interface_id: "String",
|
121
122
|
# private_ip_address: "String",
|
122
|
-
# allow_reassociation: false,
|
123
123
|
# })
|
124
124
|
# @param [Hash] options ({})
|
125
|
-
# @option options [Boolean] :dry_run
|
126
|
-
# Checks whether you have the required permissions for the action,
|
127
|
-
# without actually making the request, and provides an error response.
|
128
|
-
# If you have the required permissions, the error response is
|
129
|
-
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
130
125
|
# @option options [String] :instance_id
|
131
126
|
# The ID of the instance. This is required for EC2-Classic. For EC2-VPC,
|
132
127
|
# you can specify either the instance ID or the network interface ID,
|
@@ -134,14 +129,6 @@ module Aws::EC2
|
|
134
129
|
# exactly one network interface is attached.
|
135
130
|
# @option options [String] :public_ip
|
136
131
|
# The Elastic IP address. This is required for EC2-Classic.
|
137
|
-
# @option options [String] :network_interface_id
|
138
|
-
# \[EC2-VPC\] The ID of the network interface. If the instance has more
|
139
|
-
# than one network interface, you must specify a network interface ID.
|
140
|
-
# @option options [String] :private_ip_address
|
141
|
-
# \[EC2-VPC\] The primary or secondary private IP address to associate
|
142
|
-
# with the Elastic IP address. If no private IP address is specified,
|
143
|
-
# the Elastic IP address is associated with the primary private IP
|
144
|
-
# address.
|
145
132
|
# @option options [Boolean] :allow_reassociation
|
146
133
|
# \[EC2-VPC\] For a VPC in an EC2-Classic account, specify true to allow
|
147
134
|
# an Elastic IP address that is already associated with an instance or
|
@@ -150,6 +137,19 @@ module Aws::EC2
|
|
150
137
|
# EC2-VPC-only account, reassociation is automatic, therefore you can
|
151
138
|
# specify false to ensure the operation fails if the Elastic IP address
|
152
139
|
# is already associated with another resource.
|
140
|
+
# @option options [Boolean] :dry_run
|
141
|
+
# Checks whether you have the required permissions for the action,
|
142
|
+
# without actually making the request, and provides an error response.
|
143
|
+
# If you have the required permissions, the error response is
|
144
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
145
|
+
# @option options [String] :network_interface_id
|
146
|
+
# \[EC2-VPC\] The ID of the network interface. If the instance has more
|
147
|
+
# than one network interface, you must specify a network interface ID.
|
148
|
+
# @option options [String] :private_ip_address
|
149
|
+
# \[EC2-VPC\] The primary or secondary private IP address to associate
|
150
|
+
# with the Elastic IP address. If no private IP address is specified,
|
151
|
+
# the Elastic IP address is associated with the primary private IP
|
152
|
+
# address.
|
153
153
|
# @return [Types::AssociateAddressResult]
|
154
154
|
def associate(options = {})
|
155
155
|
options = options.merge(allocation_id: @allocation_id)
|
@@ -160,17 +160,17 @@ module Aws::EC2
|
|
160
160
|
# @example Request syntax with placeholder values
|
161
161
|
#
|
162
162
|
# vpc_address.release({
|
163
|
-
# dry_run: false,
|
164
163
|
# public_ip: "String",
|
164
|
+
# dry_run: false,
|
165
165
|
# })
|
166
166
|
# @param [Hash] options ({})
|
167
|
+
# @option options [String] :public_ip
|
168
|
+
# \[EC2-Classic\] The Elastic IP address. Required for EC2-Classic.
|
167
169
|
# @option options [Boolean] :dry_run
|
168
170
|
# Checks whether you have the required permissions for the action,
|
169
171
|
# without actually making the request, and provides an error response.
|
170
172
|
# If you have the required permissions, the error response is
|
171
173
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
172
|
-
# @option options [String] :public_ip
|
173
|
-
# \[EC2-Classic\] The Elastic IP address. Required for EC2-Classic.
|
174
174
|
# @return [EmptyStructure]
|
175
175
|
def release(options = {})
|
176
176
|
options = options.merge(allocation_id: data.allocation_id)
|
@@ -31,10 +31,8 @@ module Aws::EC2
|
|
31
31
|
end
|
32
32
|
alias :vpc_peering_connection_id :id
|
33
33
|
|
34
|
-
# Information about the accepter VPC. CIDR block information is
|
35
|
-
# returned when
|
36
|
-
# VPC peering connection that's in the `initiating-request` or
|
37
|
-
# `pending-acceptance` state.
|
34
|
+
# Information about the accepter VPC. CIDR block information is only
|
35
|
+
# returned when describing an active VPC peering connection.
|
38
36
|
# @return [Types::VpcPeeringConnectionVpcInfo]
|
39
37
|
def accepter_vpc_info
|
40
38
|
data.accepter_vpc_info
|
@@ -46,7 +44,8 @@ module Aws::EC2
|
|
46
44
|
data.expiration_time
|
47
45
|
end
|
48
46
|
|
49
|
-
# Information about the requester VPC.
|
47
|
+
# Information about the requester VPC. CIDR block information is only
|
48
|
+
# returned when describing an active VPC peering connection.
|
50
49
|
# @return [Types::VpcPeeringConnectionVpcInfo]
|
51
50
|
def requester_vpc_info
|
52
51
|
data.requester_vpc_info
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ec2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.rc8
|
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: 2017-
|
11
|
+
date: 2017-06-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 3.0.0.
|
33
|
+
version: 3.0.0.rc13
|
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
|
-
version: 3.0.0.
|
40
|
+
version: 3.0.0.rc13
|
41
41
|
description: Official AWS Ruby gem for Amazon Elastic Compute Cloud (Amazon EC2).
|
42
42
|
This gem is part of the AWS SDK for Ruby.
|
43
43
|
email:
|