aws-sdk-ec2 1.451.0 → 1.452.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 16e74014b6f1e1387fd83bd97bede3ede98e3d1d7c3fb4410dace6678e426596
4
- data.tar.gz: 2d7ba5199968e244df5562a7e9dfe2808384b530036ac7db90c9df8d16e218de
3
+ metadata.gz: 5df31c3f9250bbebf4130e20f778bb9323fee4f1f7476ccf7e0882237c4ebdf2
4
+ data.tar.gz: 6368a45284c04e9de4d929607b22ef8a63c4c371ed90e39b69eb1dff8fc70e4f
5
5
  SHA512:
6
- metadata.gz: 69d1ceaff24e9867bccef931192b5e16dd721be0097345df896bc8e7309c765cfd959eed06ececbb89d299d1fb8ee0a2cf14191c361489424079c15b31bdf0eb
7
- data.tar.gz: dc098d33d87fb5f1b180f78a3c4ad9b9bcc697a7ef2d6bd9765cdd215dda331af658c6a38e57ad8f44fde732431dcb0a02f25c2f348ec17a44ac7f3895b0ef50
6
+ metadata.gz: cccc1a48d45a35ee635eeabd25c33d9d2f9b8cbcf6bd0cc5bbd4afebb290ade3cc761c4c3d06fc010245c69cc4a6372af6bb8da9601b035a753ce0f04f0baafc
7
+ data.tar.gz: 17e8edb5d032d95ebbff8f0b33b658a09ffd7714751caadda640524bbdffad992dd541e147dcf2afe2fe41f212bb962aedbad450064288b9981e0fe1daf732f3
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.452.0 (2024-04-24)
5
+ ------------------
6
+
7
+ * Feature - Launching capability for customers to enable or disable automatic assignment of public IPv4 addresses to their network interface
8
+
4
9
  1.451.0 (2024-04-23)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.451.0
1
+ 1.452.0
@@ -29609,6 +29609,7 @@ module Aws::EC2
29609
29609
  # * {Types::DescribeNetworkInterfaceAttributeResult#groups #groups} => Array<Types::GroupIdentifier>
29610
29610
  # * {Types::DescribeNetworkInterfaceAttributeResult#network_interface_id #network_interface_id} => String
29611
29611
  # * {Types::DescribeNetworkInterfaceAttributeResult#source_dest_check #source_dest_check} => Types::AttributeBooleanValue
29612
+ # * {Types::DescribeNetworkInterfaceAttributeResult#associate_public_ip_address #associate_public_ip_address} => Boolean
29612
29613
  #
29613
29614
  #
29614
29615
  # @example Example: To describe the attachment attribute of a network interface
@@ -29691,7 +29692,7 @@ module Aws::EC2
29691
29692
  # @example Request syntax with placeholder values
29692
29693
  #
29693
29694
  # resp = client.describe_network_interface_attribute({
29694
- # attribute: "description", # accepts description, groupSet, sourceDestCheck, attachment
29695
+ # attribute: "description", # accepts description, groupSet, sourceDestCheck, attachment, associatePublicIpAddress
29695
29696
  # dry_run: false,
29696
29697
  # network_interface_id: "NetworkInterfaceId", # required
29697
29698
  # })
@@ -29714,6 +29715,7 @@ module Aws::EC2
29714
29715
  # resp.groups[0].group_id #=> String
29715
29716
  # resp.network_interface_id #=> String
29716
29717
  # resp.source_dest_check.value #=> Boolean
29718
+ # resp.associate_public_ip_address #=> Boolean
29717
29719
  #
29718
29720
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInterfaceAttribute AWS API Documentation
29719
29721
  #
@@ -48544,6 +48546,11 @@ module Aws::EC2
48544
48546
  # @option params [Types::ConnectionTrackingSpecificationRequest] :connection_tracking_specification
48545
48547
  # A connection tracking specification.
48546
48548
  #
48549
+ # @option params [Boolean] :associate_public_ip_address
48550
+ # Indicates whether to assign a public IPv4 address to a network
48551
+ # interface. This option can be enabled for any network interface but
48552
+ # will only apply to the primary network interface (eth0).
48553
+ #
48547
48554
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
48548
48555
  #
48549
48556
  #
@@ -48619,6 +48626,7 @@ module Aws::EC2
48619
48626
  # udp_stream_timeout: 1,
48620
48627
  # udp_timeout: 1,
48621
48628
  # },
48629
+ # associate_public_ip_address: false,
48622
48630
  # })
48623
48631
  #
48624
48632
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyNetworkInterfaceAttribute AWS API Documentation
@@ -59262,7 +59270,7 @@ module Aws::EC2
59262
59270
  params: params,
59263
59271
  config: config)
59264
59272
  context[:gem_name] = 'aws-sdk-ec2'
59265
- context[:gem_version] = '1.451.0'
59273
+ context[:gem_version] = '1.452.0'
59266
59274
  Seahorse::Client::Request.new(handlers, context)
59267
59275
  end
59268
59276
 
@@ -7123,6 +7123,7 @@ module Aws::EC2
7123
7123
  DescribeNetworkInterfaceAttributeResult.add_member(:groups, Shapes::ShapeRef.new(shape: GroupIdentifierList, location_name: "groupSet"))
7124
7124
  DescribeNetworkInterfaceAttributeResult.add_member(:network_interface_id, Shapes::ShapeRef.new(shape: String, location_name: "networkInterfaceId"))
7125
7125
  DescribeNetworkInterfaceAttributeResult.add_member(:source_dest_check, Shapes::ShapeRef.new(shape: AttributeBooleanValue, location_name: "sourceDestCheck"))
7126
+ DescribeNetworkInterfaceAttributeResult.add_member(:associate_public_ip_address, Shapes::ShapeRef.new(shape: Boolean, location_name: "associatePublicIpAddress"))
7126
7127
  DescribeNetworkInterfaceAttributeResult.struct_class = Types::DescribeNetworkInterfaceAttributeResult
7127
7128
 
7128
7129
  DescribeNetworkInterfacePermissionsRequest.add_member(:network_interface_permission_ids, Shapes::ShapeRef.new(shape: NetworkInterfacePermissionIdList, location_name: "NetworkInterfacePermissionId"))
@@ -11663,6 +11664,7 @@ module Aws::EC2
11663
11664
  ModifyNetworkInterfaceAttributeRequest.add_member(:ena_srd_specification, Shapes::ShapeRef.new(shape: EnaSrdSpecification, location_name: "EnaSrdSpecification"))
11664
11665
  ModifyNetworkInterfaceAttributeRequest.add_member(:enable_primary_ipv_6, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnablePrimaryIpv6"))
11665
11666
  ModifyNetworkInterfaceAttributeRequest.add_member(:connection_tracking_specification, Shapes::ShapeRef.new(shape: ConnectionTrackingSpecificationRequest, location_name: "ConnectionTrackingSpecification"))
11667
+ ModifyNetworkInterfaceAttributeRequest.add_member(:associate_public_ip_address, Shapes::ShapeRef.new(shape: Boolean, location_name: "AssociatePublicIpAddress"))
11666
11668
  ModifyNetworkInterfaceAttributeRequest.struct_class = Types::ModifyNetworkInterfaceAttributeRequest
11667
11669
 
11668
11670
  ModifyPrivateDnsNameOptionsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
@@ -529,7 +529,7 @@ module Aws::EC2
529
529
  # @example Request syntax with placeholder values
530
530
  #
531
531
  # network_interface.describe_attribute({
532
- # attribute: "description", # accepts description, groupSet, sourceDestCheck, attachment
532
+ # attribute: "description", # accepts description, groupSet, sourceDestCheck, attachment, associatePublicIpAddress
533
533
  # dry_run: false,
534
534
  # })
535
535
  # @param [Hash] options ({})
@@ -617,6 +617,7 @@ module Aws::EC2
617
617
  # udp_stream_timeout: 1,
618
618
  # udp_timeout: 1,
619
619
  # },
620
+ # associate_public_ip_address: false,
620
621
  # })
621
622
  # @param [Hash] options ({})
622
623
  # @option options [Types::NetworkInterfaceAttachmentChanges] :attachment
@@ -663,6 +664,10 @@ module Aws::EC2
663
664
  # the primary IPv6 address.
664
665
  # @option options [Types::ConnectionTrackingSpecificationRequest] :connection_tracking_specification
665
666
  # A connection tracking specification.
667
+ # @option options [Boolean] :associate_public_ip_address
668
+ # Indicates whether to assign a public IPv4 address to a network
669
+ # interface. This option can be enabled for any network interface but
670
+ # will only apply to the primary network interface (eth0).
666
671
  # @return [EmptyStructure]
667
672
  def modify_attribute(options = {})
668
673
  options = options.merge(network_interface_id: @id)
@@ -22818,6 +22818,12 @@ module Aws::EC2
22818
22818
  # Indicates whether source/destination checking is enabled.
22819
22819
  # @return [Types::AttributeBooleanValue]
22820
22820
  #
22821
+ # @!attribute [rw] associate_public_ip_address
22822
+ # Indicates whether to assign a public IPv4 address to a network
22823
+ # interface. This option can be enabled for any network interface but
22824
+ # will only apply to the primary network interface (eth0).
22825
+ # @return [Boolean]
22826
+ #
22821
22827
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInterfaceAttributeResult AWS API Documentation
22822
22828
  #
22823
22829
  class DescribeNetworkInterfaceAttributeResult < Struct.new(
@@ -22825,7 +22831,8 @@ module Aws::EC2
22825
22831
  :description,
22826
22832
  :groups,
22827
22833
  :network_interface_id,
22828
- :source_dest_check)
22834
+ :source_dest_check,
22835
+ :associate_public_ip_address)
22829
22836
  SENSITIVE = []
22830
22837
  include Aws::Structure
22831
22838
  end
@@ -48813,6 +48820,12 @@ module Aws::EC2
48813
48820
  # A connection tracking specification.
48814
48821
  # @return [Types::ConnectionTrackingSpecificationRequest]
48815
48822
  #
48823
+ # @!attribute [rw] associate_public_ip_address
48824
+ # Indicates whether to assign a public IPv4 address to a network
48825
+ # interface. This option can be enabled for any network interface but
48826
+ # will only apply to the primary network interface (eth0).
48827
+ # @return [Boolean]
48828
+ #
48816
48829
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyNetworkInterfaceAttributeRequest AWS API Documentation
48817
48830
  #
48818
48831
  class ModifyNetworkInterfaceAttributeRequest < Struct.new(
@@ -48824,7 +48837,8 @@ module Aws::EC2
48824
48837
  :source_dest_check,
48825
48838
  :ena_srd_specification,
48826
48839
  :enable_primary_ipv_6,
48827
- :connection_tracking_specification)
48840
+ :connection_tracking_specification,
48841
+ :associate_public_ip_address)
48828
48842
  SENSITIVE = []
48829
48843
  include Aws::Structure
48830
48844
  end
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.451.0'
79
+ GEM_VERSION = '1.452.0'
80
80
 
81
81
  end
data/sig/client.rbs CHANGED
@@ -6405,10 +6405,11 @@ module Aws
6405
6405
  def groups: () -> ::Array[Types::GroupIdentifier]
6406
6406
  def network_interface_id: () -> ::String
6407
6407
  def source_dest_check: () -> Types::AttributeBooleanValue
6408
+ def associate_public_ip_address: () -> bool
6408
6409
  end
6409
6410
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#describe_network_interface_attribute-instance_method
6410
6411
  def describe_network_interface_attribute: (
6411
- ?attribute: ("description" | "groupSet" | "sourceDestCheck" | "attachment"),
6412
+ ?attribute: ("description" | "groupSet" | "sourceDestCheck" | "attachment" | "associatePublicIpAddress"),
6412
6413
  ?dry_run: bool,
6413
6414
  network_interface_id: ::String
6414
6415
  ) -> _DescribeNetworkInterfaceAttributeResponseSuccess
@@ -10272,7 +10273,8 @@ module Aws
10272
10273
  tcp_established_timeout: ::Integer?,
10273
10274
  udp_stream_timeout: ::Integer?,
10274
10275
  udp_timeout: ::Integer?
10275
- }
10276
+ },
10277
+ ?associate_public_ip_address: bool
10276
10278
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
10277
10279
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
10278
10280
 
@@ -163,7 +163,7 @@ module Aws
163
163
 
164
164
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#describe_attribute-instance_method
165
165
  def describe_attribute: (
166
- ?attribute: ("description" | "groupSet" | "sourceDestCheck" | "attachment"),
166
+ ?attribute: ("description" | "groupSet" | "sourceDestCheck" | "attachment" | "associatePublicIpAddress"),
167
167
  ?dry_run: bool
168
168
  ) -> Types::DescribeNetworkInterfaceAttributeResult
169
169
  | (?Hash[Symbol, untyped]) -> Types::DescribeNetworkInterfaceAttributeResult
@@ -198,7 +198,8 @@ module Aws
198
198
  tcp_established_timeout: ::Integer?,
199
199
  udp_stream_timeout: ::Integer?,
200
200
  udp_timeout: ::Integer?
201
- }
201
+ },
202
+ ?associate_public_ip_address: bool
202
203
  ) -> ::Aws::EmptyStructure
203
204
  | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
204
205
 
data/sig/types.rbs CHANGED
@@ -5141,7 +5141,7 @@ module Aws::EC2
5141
5141
  end
5142
5142
 
5143
5143
  class DescribeNetworkInterfaceAttributeRequest
5144
- attr_accessor attribute: ("description" | "groupSet" | "sourceDestCheck" | "attachment")
5144
+ attr_accessor attribute: ("description" | "groupSet" | "sourceDestCheck" | "attachment" | "associatePublicIpAddress")
5145
5145
  attr_accessor dry_run: bool
5146
5146
  attr_accessor network_interface_id: ::String
5147
5147
  SENSITIVE: []
@@ -5153,6 +5153,7 @@ module Aws::EC2
5153
5153
  attr_accessor groups: ::Array[Types::GroupIdentifier]
5154
5154
  attr_accessor network_interface_id: ::String
5155
5155
  attr_accessor source_dest_check: Types::AttributeBooleanValue
5156
+ attr_accessor associate_public_ip_address: bool
5156
5157
  SENSITIVE: []
5157
5158
  end
5158
5159
 
@@ -10685,6 +10686,7 @@ module Aws::EC2
10685
10686
  attr_accessor ena_srd_specification: Types::EnaSrdSpecification
10686
10687
  attr_accessor enable_primary_ipv_6: bool
10687
10688
  attr_accessor connection_tracking_specification: Types::ConnectionTrackingSpecificationRequest
10689
+ attr_accessor associate_public_ip_address: bool
10688
10690
  SENSITIVE: []
10689
10691
  end
10690
10692
 
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.451.0
4
+ version: 1.452.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: 2024-04-23 00:00:00.000000000 Z
11
+ date: 2024-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core