aws-sdk-ec2 1.0.0.rc16 → 1.0.0.rc17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +44 -14
- data/lib/aws-sdk-ec2/client_api.rb +1 -0
- data/lib/aws-sdk-ec2/types.rb +6 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 211561e99c90fc2777695a294ef422a5bfef6432
|
4
|
+
data.tar.gz: 5caf45c9d7f082f16e9ac03e99f76bb4c54ced63
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2976b1df04f6c078d59ec68253dc1eeefa76f9570849342c95d5ce714180c2ae46035b84b50fc88b643bb0db0fbf2de7a7f52af561a5fe222d53c465b426c317
|
7
|
+
data.tar.gz: 34e4443eb709b9b6e7be5812553686db01e61e71f2f7e7aa0c1d59804612f3dbe334340810c4380b389b156ecaa418291c51c65d9c871e29f4de46730a3f945f
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -256,11 +256,21 @@ module Aws::EC2
|
|
256
256
|
req.send_request(options)
|
257
257
|
end
|
258
258
|
|
259
|
-
#
|
259
|
+
# Allocates an Elastic IP address.
|
260
260
|
#
|
261
261
|
# An Elastic IP address is for use either in the EC2-Classic platform or
|
262
|
-
# in a VPC.
|
263
|
-
#
|
262
|
+
# in a VPC. By default, you can allocate 5 Elastic IP addresses for
|
263
|
+
# EC2-Classic per region and 5 Elastic IP addresses for EC2-VPC per
|
264
|
+
# region.
|
265
|
+
#
|
266
|
+
# If you release an Elastic IP address for use in a VPC, you might be
|
267
|
+
# able to recover it. To recover an Elastic IP address that you
|
268
|
+
# released, specify it in the `Address` parameter. Note that you cannot
|
269
|
+
# recover an Elastic IP address that you released after it is allocated
|
270
|
+
# to another AWS account.
|
271
|
+
#
|
272
|
+
# For more information, see [Elastic IP Addresses][1] in the *Amazon
|
273
|
+
# Elastic Compute Cloud User Guide*.
|
264
274
|
#
|
265
275
|
#
|
266
276
|
#
|
@@ -271,6 +281,9 @@ module Aws::EC2
|
|
271
281
|
#
|
272
282
|
# Default: The address is for use with instances in EC2-Classic.
|
273
283
|
#
|
284
|
+
# @option params [String] :address
|
285
|
+
# \[EC2-VPC\] The Elastic IP address to recover.
|
286
|
+
#
|
274
287
|
# @option params [Boolean] :dry_run
|
275
288
|
# Checks whether you have the required permissions for the action,
|
276
289
|
# without actually making the request, and provides an error response.
|
@@ -316,6 +329,7 @@ module Aws::EC2
|
|
316
329
|
#
|
317
330
|
# resp = client.allocate_address({
|
318
331
|
# domain: "vpc", # accepts vpc, standard
|
332
|
+
# address: "String",
|
319
333
|
# dry_run: false,
|
320
334
|
# })
|
321
335
|
#
|
@@ -6299,9 +6313,15 @@ module Aws::EC2
|
|
6299
6313
|
end
|
6300
6314
|
|
6301
6315
|
# Deregisters the specified AMI. After you deregister an AMI, it can't
|
6302
|
-
# be used to launch new instances
|
6316
|
+
# be used to launch new instances; however, it doesn't affect any
|
6317
|
+
# instances that you've already launched from the AMI. You'll continue
|
6318
|
+
# to incur usage costs for those instances until you terminate them.
|
6303
6319
|
#
|
6304
|
-
#
|
6320
|
+
# When you deregister an Amazon EBS-backed AMI, it doesn't affect the
|
6321
|
+
# snapshot that was created for the root volume of the instance during
|
6322
|
+
# the AMI creation process. When you deregister an instance store-backed
|
6323
|
+
# AMI, it doesn't affect the files that you uploaded to Amazon S3 when
|
6324
|
+
# you created the AMI.
|
6305
6325
|
#
|
6306
6326
|
# @option params [required, String] :image_id
|
6307
6327
|
# The ID of the AMI.
|
@@ -18155,22 +18175,26 @@ module Aws::EC2
|
|
18155
18175
|
|
18156
18176
|
# Releases the specified Elastic IP address.
|
18157
18177
|
#
|
18158
|
-
# After releasing an Elastic IP address, it is released to the IP
|
18159
|
-
# address pool and might be unavailable to you. Be sure to update your
|
18160
|
-
# DNS records and any servers or devices that communicate with the
|
18161
|
-
# address. If you attempt to release an Elastic IP address that you
|
18162
|
-
# already released, you'll get an `AuthFailure` error if the address is
|
18163
|
-
# already allocated to another AWS account.
|
18164
|
-
#
|
18165
18178
|
# \[EC2-Classic, default VPC\] Releasing an Elastic IP address
|
18166
18179
|
# automatically disassociates it from any instance that it's associated
|
18167
18180
|
# with. To disassociate an Elastic IP address without releasing it, use
|
18168
18181
|
# DisassociateAddress.
|
18169
18182
|
#
|
18170
18183
|
# \[Nondefault VPC\] You must use DisassociateAddress to disassociate
|
18171
|
-
# the Elastic IP address before you
|
18184
|
+
# the Elastic IP address before you can release it. Otherwise, Amazon
|
18172
18185
|
# EC2 returns an error (`InvalidIPAddress.InUse`).
|
18173
18186
|
#
|
18187
|
+
# After releasing an Elastic IP address, it is released to the IP
|
18188
|
+
# address pool. Be sure to update your DNS records and any servers or
|
18189
|
+
# devices that communicate with the address. If you attempt to release
|
18190
|
+
# an Elastic IP address that you already released, you'll get an
|
18191
|
+
# `AuthFailure` error if the address is already allocated to another AWS
|
18192
|
+
# account.
|
18193
|
+
#
|
18194
|
+
# \[EC2-VPC\] After you release an Elastic IP address for use in a VPC,
|
18195
|
+
# you might be able to recover it. For more information, see
|
18196
|
+
# AllocateAddress.
|
18197
|
+
#
|
18174
18198
|
# @option params [String] :allocation_id
|
18175
18199
|
# \[EC2-VPC\] The allocation ID. Required for EC2-VPC.
|
18176
18200
|
#
|
@@ -19667,6 +19691,12 @@ module Aws::EC2
|
|
19667
19691
|
# that you specify in the revoke request (for example, ports) must match
|
19668
19692
|
# the existing rule's values for the rule to be removed.
|
19669
19693
|
#
|
19694
|
+
# <note markdown="1"> \[EC2-Classic security groups only\] If the values you specify do not
|
19695
|
+
# match the existing rule's values, no error is returned. Use
|
19696
|
+
# DescribeSecurityGroups to verify that the rule has been removed.
|
19697
|
+
#
|
19698
|
+
# </note>
|
19699
|
+
#
|
19670
19700
|
# Each rule consists of the protocol and the CIDR range or source
|
19671
19701
|
# security group. For the TCP and UDP protocols, you must also specify
|
19672
19702
|
# the destination port or range of ports. For the ICMP protocol, you
|
@@ -20827,7 +20857,7 @@ module Aws::EC2
|
|
20827
20857
|
params: params,
|
20828
20858
|
config: config)
|
20829
20859
|
context[:gem_name] = 'aws-sdk-ec2'
|
20830
|
-
context[:gem_version] = '1.0.0.
|
20860
|
+
context[:gem_version] = '1.0.0.rc17'
|
20831
20861
|
Seahorse::Client::Request.new(handlers, context)
|
20832
20862
|
end
|
20833
20863
|
|
@@ -1011,6 +1011,7 @@ module Aws::EC2
|
|
1011
1011
|
AddressList.member = Shapes::ShapeRef.new(shape: Address, location_name: "item")
|
1012
1012
|
|
1013
1013
|
AllocateAddressRequest.add_member(:domain, Shapes::ShapeRef.new(shape: DomainType, location_name: "Domain"))
|
1014
|
+
AllocateAddressRequest.add_member(:address, Shapes::ShapeRef.new(shape: String, location_name: "Address"))
|
1014
1015
|
AllocateAddressRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
1015
1016
|
AllocateAddressRequest.struct_class = Types::AllocateAddressRequest
|
1016
1017
|
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -225,6 +225,7 @@ module Aws::EC2
|
|
225
225
|
#
|
226
226
|
# {
|
227
227
|
# domain: "vpc", # accepts vpc, standard
|
228
|
+
# address: "String",
|
228
229
|
# dry_run: false,
|
229
230
|
# }
|
230
231
|
#
|
@@ -235,6 +236,10 @@ module Aws::EC2
|
|
235
236
|
# Default: The address is for use with instances in EC2-Classic.
|
236
237
|
# @return [String]
|
237
238
|
#
|
239
|
+
# @!attribute [rw] address
|
240
|
+
# \[EC2-VPC\] The Elastic IP address to recover.
|
241
|
+
# @return [String]
|
242
|
+
#
|
238
243
|
# @!attribute [rw] dry_run
|
239
244
|
# Checks whether you have the required permissions for the action,
|
240
245
|
# without actually making the request, and provides an error response.
|
@@ -246,6 +251,7 @@ module Aws::EC2
|
|
246
251
|
#
|
247
252
|
class AllocateAddressRequest < Struct.new(
|
248
253
|
:domain,
|
254
|
+
:address,
|
249
255
|
:dry_run)
|
250
256
|
include Aws::Structure
|
251
257
|
end
|
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.rc17
|
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-08-
|
11
|
+
date: 2017-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|