aws-sdk-ec2 1.382.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.
@@ -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 in
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
- # Indicates whether this Elastic IP address is for use with instances in
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. For EC2-VPC, you can specify either the instance ID
274
- # or the network interface ID, but not both. For EC2-Classic, you must
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
- # \[EC2-Classic\] The Elastic IP address to associate with the instance.
278
- # This is required for EC2-Classic.
274
+ # Deprecated.
279
275
  # @option options [Boolean] :allow_reassociation
280
- # \[EC2-VPC\] For a VPC in an EC2-Classic account, specify true to allow
281
- # an Elastic IP address that is already associated with an instance or
282
- # network interface to be reassociated with the specified instance or
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
- # \[EC2-VPC\] The ID of the network interface. If the instance has more
294
- # than one network interface, you must specify a network interface ID.
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
- # For EC2-VPC, you can specify either the instance ID or the network
297
- # interface ID, but not both.
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
- # \[EC2-VPC\] The primary or secondary private IP address to associate
300
- # with the Elastic IP address. If no private IP address is specified,
301
- # the Elastic IP address is associated with the primary private IP
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
- # \[EC2-Classic\] The Elastic IP address. Required for EC2-Classic.
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
@@ -76,6 +76,6 @@ require_relative 'aws-sdk-ec2/customizations'
76
76
  # @!group service
77
77
  module Aws::EC2
78
78
 
79
- GEM_VERSION = '1.382.0'
79
+ GEM_VERSION = '1.383.0'
80
80
 
81
81
  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.382.0
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-06-05 00:00:00.000000000 Z
11
+ date: 2023-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4