aws-sdk-ec2 1.381.0 → 1.383.0
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/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/classic_address.rb +18 -27
- data/lib/aws-sdk-ec2/client.rb +450 -271
- data/lib/aws-sdk-ec2/client_api.rb +101 -2
- data/lib/aws-sdk-ec2/endpoints.rb +42 -0
- data/lib/aws-sdk-ec2/instance.rb +8 -11
- data/lib/aws-sdk-ec2/network_interface_association.rb +1 -1
- data/lib/aws-sdk-ec2/plugins/endpoints.rb +6 -0
- data/lib/aws-sdk-ec2/resource.rb +31 -37
- data/lib/aws-sdk-ec2/security_group.rb +2 -2
- data/lib/aws-sdk-ec2/snapshot.rb +1 -1
- data/lib/aws-sdk-ec2/subnet.rb +3 -3
- data/lib/aws-sdk-ec2/types.rb +337 -70
- data/lib/aws-sdk-ec2/volume.rb +1 -1
- data/lib/aws-sdk-ec2/vpc.rb +5 -5
- data/lib/aws-sdk-ec2/vpc_address.rb +16 -25
- data/lib/aws-sdk-ec2.rb +1 -1
- metadata +2 -2
@@ -46,15 +46,13 @@ module Aws::EC2
|
|
46
46
|
data[:public_ip]
|
47
47
|
end
|
48
48
|
|
49
|
-
# The ID representing the association of the address with an instance
|
50
|
-
# a VPC.
|
49
|
+
# The ID representing the association of the address with an instance.
|
51
50
|
# @return [String]
|
52
51
|
def association_id
|
53
52
|
data[:association_id]
|
54
53
|
end
|
55
54
|
|
56
|
-
#
|
57
|
-
# EC2-Classic (`standard`) or instances in a VPC (`vpc`).
|
55
|
+
# The network (`vpc`).
|
58
56
|
# @return [String]
|
59
57
|
def domain
|
60
58
|
data[:domain]
|
@@ -270,36 +268,29 @@ module Aws::EC2
|
|
270
268
|
# @param [Hash] options ({})
|
271
269
|
# @option options [String] :instance_id
|
272
270
|
# The ID of the instance. The instance must have exactly one attached
|
273
|
-
# network interface.
|
274
|
-
#
|
275
|
-
# specify an instance ID and the instance must be in the running state.
|
271
|
+
# network interface. You can specify either the instance ID or the
|
272
|
+
# network interface ID, but not both.
|
276
273
|
# @option options [String] :public_ip
|
277
|
-
#
|
278
|
-
# This is required for EC2-Classic.
|
274
|
+
# Deprecated.
|
279
275
|
# @option options [Boolean] :allow_reassociation
|
280
|
-
#
|
281
|
-
#
|
282
|
-
#
|
283
|
-
# network interface. Otherwise, the operation fails. In a VPC in an
|
284
|
-
# EC2-VPC-only account, reassociation is automatic, therefore you can
|
285
|
-
# specify false to ensure the operation fails if the Elastic IP address
|
286
|
-
# is already associated with another resource.
|
276
|
+
# Reassociation is automatic, but you can specify false to ensure the
|
277
|
+
# operation fails if the Elastic IP address is already associated with
|
278
|
+
# another resource.
|
287
279
|
# @option options [Boolean] :dry_run
|
288
280
|
# Checks whether you have the required permissions for the action,
|
289
281
|
# without actually making the request, and provides an error response.
|
290
282
|
# If you have the required permissions, the error response is
|
291
283
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
292
284
|
# @option options [String] :network_interface_id
|
293
|
-
#
|
294
|
-
#
|
285
|
+
# The ID of the network interface. If the instance has more than one
|
286
|
+
# network interface, you must specify a network interface ID.
|
295
287
|
#
|
296
|
-
#
|
297
|
-
#
|
288
|
+
# You can specify either the instance ID or the network interface ID,
|
289
|
+
# but not both.
|
298
290
|
# @option options [String] :private_ip_address
|
299
|
-
#
|
300
|
-
#
|
301
|
-
#
|
302
|
-
# address.
|
291
|
+
# The primary or secondary private IP address to associate with the
|
292
|
+
# Elastic IP address. If no private IP address is specified, the Elastic
|
293
|
+
# IP address is associated with the primary private IP address.
|
303
294
|
# @return [Types::AssociateAddressResult]
|
304
295
|
def associate(options = {})
|
305
296
|
options = options.merge(allocation_id: @allocation_id)
|
@@ -318,7 +309,7 @@ module Aws::EC2
|
|
318
309
|
# })
|
319
310
|
# @param [Hash] options ({})
|
320
311
|
# @option options [String] :public_ip
|
321
|
-
#
|
312
|
+
# Deprecated.
|
322
313
|
# @option options [String] :network_border_group
|
323
314
|
# The set of Availability Zones, Local Zones, or Wavelength Zones from
|
324
315
|
# which Amazon Web Services advertises IP addresses.
|
data/lib/aws-sdk-ec2.rb
CHANGED
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.
|
4
|
+
version: 1.383.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: 2023-
|
11
|
+
date: 2023-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|