aws-sdk-ec2 1.530.0 → 1.531.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 11790e4ca446f46d5b91ce805b93fcd67987a04004d5244cb1803f26ba36ec8f
4
- data.tar.gz: 6cd795d465c869fdfd82b8eafe81b1818ebd64abf7423ab442d44a7560e94c4d
3
+ metadata.gz: 24c0ac9c6954cbafb2ca42be9b52d6948e5c6f77a9b7a72d65b41817ec039219
4
+ data.tar.gz: fad3f7813d642c521db6b259ed87c49cc8ef3ae97e471ef1e7d3dec776d40374
5
5
  SHA512:
6
- metadata.gz: 1d395deecba7be2edecc6d94275063e44d21413a26d250f4d1ef39e5e87aa982a3b455313809e9a8cf367ca60b11bc2f283f6b2c1893924f6effd8ab707b7b74
7
- data.tar.gz: 1cf71c85473660d6626d26a01e5eeb9f9e0d5258a903f472cf10faab9cf5a456af59ff9818a6b9a90e194146487c03e004e5771977f1623627a96ef0964d301c
6
+ metadata.gz: af73089b7791b870cce82d888dc5e77ceaa0e83363d56b38ddf797c5f8726e436649043564a0d9ca88e7b02c5e0ac67e363b71d9447c5a09f974c844e2e31f9e
7
+ data.tar.gz: 6d27b06a463447b0c1a02a7b1efb4b9fd177abe82daf1b949b84b14446388e550d412afa76bc07543defcdb6ab1d2eecc1e5090f0d804a7d4c416b8c17169af5
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.531.0 (2025-06-09)
5
+ ------------------
6
+
7
+ * Feature - Release to support Elastic VMware Service (Amazon EVS) Subnet and Amazon EVS Network Interface Types.
8
+
4
9
  1.530.0 (2025-06-02)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.530.0
1
+ 1.531.0
@@ -111,6 +111,12 @@ module Aws::EC2
111
111
  data[:carrier_ip]
112
112
  end
113
113
 
114
+ # The ID of the subnet where the IP address is allocated.
115
+ # @return [String]
116
+ def subnet_id
117
+ data[:subnet_id]
118
+ end
119
+
114
120
  # The service that manages the elastic IP address.
115
121
  #
116
122
  # <note markdown="1"> The only option supported today is `alb`.
@@ -3305,15 +3305,19 @@ module Aws::EC2
3305
3305
  req.send_request(options)
3306
3306
  end
3307
3307
 
3308
- # Attaches an EBS volume to a running or stopped instance and exposes it
3309
- # to the instance with the specified device name.
3308
+ # Attaches an Amazon EBS volume to a `running` or `stopped` instance,
3309
+ # and exposes it to the instance with the specified device name.
3310
3310
  #
3311
- # Encrypted EBS volumes must be attached to instances that support
3312
- # Amazon EBS encryption. For more information, see [Amazon EBS
3313
- # encryption][1] in the *Amazon EBS User Guide*.
3311
+ # <note markdown="1"> The maximum number of Amazon EBS volumes that you can attach to an
3312
+ # instance depends on the instance type. If you exceed the volume
3313
+ # attachment limit for an instance type, the attachment request fails
3314
+ # with the `AttachmentLimitExceeded` error. For more information, see
3315
+ # [Instance volume limits][1].
3314
3316
  #
3315
- # After you attach an EBS volume, you must make it available. For more
3316
- # information, see [Make an EBS volume available for use][2].
3317
+ # </note>
3318
+ #
3319
+ # After you attach an EBS volume, you must make it available for use.
3320
+ # For more information, see [Make an EBS volume available for use][2].
3317
3321
  #
3318
3322
  # If a volume has an Amazon Web Services Marketplace product code:
3319
3323
  #
@@ -3333,7 +3337,7 @@ module Aws::EC2
3333
3337
  #
3334
3338
  #
3335
3339
  #
3336
- # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html
3340
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/volume_limits.html
3337
3341
  # [2]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-using-volumes.html
3338
3342
  # [3]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-attaching-volume.html
3339
3343
  #
@@ -6586,8 +6590,9 @@ module Aws::EC2
6586
6590
  # resp.subnet.private_dns_name_options_on_launch.enable_resource_name_dns_a_record #=> Boolean
6587
6591
  # resp.subnet.private_dns_name_options_on_launch.enable_resource_name_dns_aaaa_record #=> Boolean
6588
6592
  # resp.subnet.block_public_access_states.internet_gateway_block_mode #=> String, one of "off", "block-bidirectional", "block-ingress"
6593
+ # resp.subnet.type #=> String
6589
6594
  # resp.subnet.subnet_id #=> String
6590
- # resp.subnet.state #=> String, one of "pending", "available", "unavailable"
6595
+ # resp.subnet.state #=> String, one of "pending", "available", "unavailable", "failed", "failed-insufficient-capacity"
6591
6596
  # resp.subnet.vpc_id #=> String
6592
6597
  # resp.subnet.cidr_block #=> String
6593
6598
  # resp.subnet.available_ip_address_count #=> Integer
@@ -11934,6 +11939,8 @@ module Aws::EC2
11934
11939
  # resp.network_interface.ipv_6_address #=> String
11935
11940
  # resp.network_interface.operator.managed #=> Boolean
11936
11941
  # resp.network_interface.operator.principal #=> String
11942
+ # resp.network_interface.associated_subnets #=> Array
11943
+ # resp.network_interface.associated_subnets[0] #=> String
11937
11944
  # resp.client_token #=> String
11938
11945
  #
11939
11946
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkInterface AWS API Documentation
@@ -13855,8 +13862,9 @@ module Aws::EC2
13855
13862
  # resp.subnet.private_dns_name_options_on_launch.enable_resource_name_dns_a_record #=> Boolean
13856
13863
  # resp.subnet.private_dns_name_options_on_launch.enable_resource_name_dns_aaaa_record #=> Boolean
13857
13864
  # resp.subnet.block_public_access_states.internet_gateway_block_mode #=> String, one of "off", "block-bidirectional", "block-ingress"
13865
+ # resp.subnet.type #=> String
13858
13866
  # resp.subnet.subnet_id #=> String
13859
- # resp.subnet.state #=> String, one of "pending", "available", "unavailable"
13867
+ # resp.subnet.state #=> String, one of "pending", "available", "unavailable", "failed", "failed-insufficient-capacity"
13860
13868
  # resp.subnet.vpc_id #=> String
13861
13869
  # resp.subnet.cidr_block #=> String
13862
13870
  # resp.subnet.available_ip_address_count #=> Integer
@@ -22275,6 +22283,7 @@ module Aws::EC2
22275
22283
  # resp.addresses[0].customer_owned_ip #=> String
22276
22284
  # resp.addresses[0].customer_owned_ipv_4_pool #=> String
22277
22285
  # resp.addresses[0].carrier_ip #=> String
22286
+ # resp.addresses[0].subnet_id #=> String
22278
22287
  # resp.addresses[0].service_managed #=> String, one of "alb", "nlb", "rnat"
22279
22288
  # resp.addresses[0].instance_id #=> String
22280
22289
  # resp.addresses[0].public_ip #=> String
@@ -33384,7 +33393,7 @@ module Aws::EC2
33384
33393
  # * `interface-type` - The type of network interface
33385
33394
  # (`api_gateway_managed` \| `aws_codestar_connections_managed` \|
33386
33395
  # `branch` \| `ec2_instance_connect_endpoint` \| `efa` \| `efa-only`
33387
- # \| `efs` \| `gateway_load_balancer` \|
33396
+ # \| `efs` \| `evs` \| `gateway_load_balancer` \|
33388
33397
  # `gateway_load_balancer_endpoint` \| `global_accelerator_managed` \|
33389
33398
  # `interface` \| `iot_rules_managed` \| `lambda` \| `load_balancer` \|
33390
33399
  # `nat_gateway` \| `network_load_balancer` \| `quicksight` \|
@@ -33603,6 +33612,8 @@ module Aws::EC2
33603
33612
  # resp.network_interfaces[0].ipv_6_address #=> String
33604
33613
  # resp.network_interfaces[0].operator.managed #=> Boolean
33605
33614
  # resp.network_interfaces[0].operator.principal #=> String
33615
+ # resp.network_interfaces[0].associated_subnets #=> Array
33616
+ # resp.network_interfaces[0].associated_subnets[0] #=> String
33606
33617
  # resp.next_token #=> String
33607
33618
  #
33608
33619
  #
@@ -38074,8 +38085,9 @@ module Aws::EC2
38074
38085
  # resp.subnets[0].private_dns_name_options_on_launch.enable_resource_name_dns_a_record #=> Boolean
38075
38086
  # resp.subnets[0].private_dns_name_options_on_launch.enable_resource_name_dns_aaaa_record #=> Boolean
38076
38087
  # resp.subnets[0].block_public_access_states.internet_gateway_block_mode #=> String, one of "off", "block-bidirectional", "block-ingress"
38088
+ # resp.subnets[0].type #=> String
38077
38089
  # resp.subnets[0].subnet_id #=> String
38078
- # resp.subnets[0].state #=> String, one of "pending", "available", "unavailable"
38090
+ # resp.subnets[0].state #=> String, one of "pending", "available", "unavailable", "failed", "failed-insufficient-capacity"
38079
38091
  # resp.subnets[0].vpc_id #=> String
38080
38092
  # resp.subnets[0].cidr_block #=> String
38081
38093
  # resp.subnets[0].available_ip_address_count #=> Integer
@@ -54385,6 +54397,9 @@ module Aws::EC2
54385
54397
  # interface. This option can be enabled for any network interface but
54386
54398
  # will only apply to the primary network interface (eth0).
54387
54399
  #
54400
+ # @option params [Array<String>] :associated_subnet_ids
54401
+ # A list of subnet IDs to associate with the network interface.
54402
+ #
54388
54403
  # @option params [Boolean] :dry_run
54389
54404
  # Checks whether you have the required permissions for the action,
54390
54405
  # without actually making the request, and provides an error response.
@@ -54481,6 +54496,7 @@ module Aws::EC2
54481
54496
  # udp_timeout: 1,
54482
54497
  # },
54483
54498
  # associate_public_ip_address: false,
54499
+ # associated_subnet_ids: ["SubnetId"],
54484
54500
  # dry_run: false,
54485
54501
  # network_interface_id: "NetworkInterfaceId", # required
54486
54502
  # description: "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
@@ -66077,7 +66093,7 @@ module Aws::EC2
66077
66093
  tracer: tracer
66078
66094
  )
66079
66095
  context[:gem_name] = 'aws-sdk-ec2'
66080
- context[:gem_version] = '1.530.0'
66096
+ context[:gem_version] = '1.531.0'
66081
66097
  Seahorse::Client::Request.new(handlers, context)
66082
66098
  end
66083
66099
 
@@ -175,6 +175,7 @@ module Aws::EC2
175
175
  AssociatedNetworkType = Shapes::StringShape.new(name: 'AssociatedNetworkType')
176
176
  AssociatedRole = Shapes::StructureShape.new(name: 'AssociatedRole')
177
177
  AssociatedRolesList = Shapes::ListShape.new(name: 'AssociatedRolesList')
178
+ AssociatedSubnetList = Shapes::ListShape.new(name: 'AssociatedSubnetList')
178
179
  AssociatedTargetNetwork = Shapes::StructureShape.new(name: 'AssociatedTargetNetwork')
179
180
  AssociatedTargetNetworkSet = Shapes::ListShape.new(name: 'AssociatedTargetNetworkSet')
180
181
  AssociationIdList = Shapes::ListShape.new(name: 'AssociationIdList')
@@ -3140,6 +3141,7 @@ module Aws::EC2
3140
3141
  SubnetConfiguration = Shapes::StructureShape.new(name: 'SubnetConfiguration')
3141
3142
  SubnetConfigurationsList = Shapes::ListShape.new(name: 'SubnetConfigurationsList')
3142
3143
  SubnetId = Shapes::StringShape.new(name: 'SubnetId')
3144
+ SubnetIdList = Shapes::ListShape.new(name: 'SubnetIdList')
3143
3145
  SubnetIdStringList = Shapes::ListShape.new(name: 'SubnetIdStringList')
3144
3146
  SubnetIpPrefixes = Shapes::StructureShape.new(name: 'SubnetIpPrefixes')
3145
3147
  SubnetIpPrefixesList = Shapes::ListShape.new(name: 'SubnetIpPrefixesList')
@@ -3748,6 +3750,7 @@ module Aws::EC2
3748
3750
  Address.add_member(:customer_owned_ip, Shapes::ShapeRef.new(shape: String, location_name: "customerOwnedIp"))
3749
3751
  Address.add_member(:customer_owned_ipv_4_pool, Shapes::ShapeRef.new(shape: String, location_name: "customerOwnedIpv4Pool"))
3750
3752
  Address.add_member(:carrier_ip, Shapes::ShapeRef.new(shape: String, location_name: "carrierIp"))
3753
+ Address.add_member(:subnet_id, Shapes::ShapeRef.new(shape: String, location_name: "subnetId"))
3751
3754
  Address.add_member(:service_managed, Shapes::ShapeRef.new(shape: ServiceManaged, location_name: "serviceManaged"))
3752
3755
  Address.add_member(:instance_id, Shapes::ShapeRef.new(shape: String, location_name: "instanceId"))
3753
3756
  Address.add_member(:public_ip, Shapes::ShapeRef.new(shape: String, location_name: "publicIp"))
@@ -4168,6 +4171,8 @@ module Aws::EC2
4168
4171
 
4169
4172
  AssociatedRolesList.member = Shapes::ShapeRef.new(shape: AssociatedRole, location_name: "item")
4170
4173
 
4174
+ AssociatedSubnetList.member = Shapes::ShapeRef.new(shape: SubnetId, location_name: "item")
4175
+
4171
4176
  AssociatedTargetNetwork.add_member(:network_id, Shapes::ShapeRef.new(shape: String, location_name: "networkId"))
4172
4177
  AssociatedTargetNetwork.add_member(:network_type, Shapes::ShapeRef.new(shape: AssociatedNetworkType, location_name: "networkType"))
4173
4178
  AssociatedTargetNetwork.struct_class = Types::AssociatedTargetNetwork
@@ -12997,6 +13002,7 @@ module Aws::EC2
12997
13002
  ModifyNetworkInterfaceAttributeRequest.add_member(:enable_primary_ipv_6, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnablePrimaryIpv6"))
12998
13003
  ModifyNetworkInterfaceAttributeRequest.add_member(:connection_tracking_specification, Shapes::ShapeRef.new(shape: ConnectionTrackingSpecificationRequest, location_name: "ConnectionTrackingSpecification"))
12999
13004
  ModifyNetworkInterfaceAttributeRequest.add_member(:associate_public_ip_address, Shapes::ShapeRef.new(shape: Boolean, location_name: "AssociatePublicIpAddress"))
13005
+ ModifyNetworkInterfaceAttributeRequest.add_member(:associated_subnet_ids, Shapes::ShapeRef.new(shape: SubnetIdList, location_name: "AssociatedSubnetId"))
13000
13006
  ModifyNetworkInterfaceAttributeRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
13001
13007
  ModifyNetworkInterfaceAttributeRequest.add_member(:network_interface_id, Shapes::ShapeRef.new(shape: NetworkInterfaceId, required: true, location_name: "networkInterfaceId"))
13002
13008
  ModifyNetworkInterfaceAttributeRequest.add_member(:description, Shapes::ShapeRef.new(shape: AttributeValue, location_name: "description"))
@@ -13751,6 +13757,7 @@ module Aws::EC2
13751
13757
  NetworkInterface.add_member(:ipv_6_native, Shapes::ShapeRef.new(shape: Boolean, location_name: "ipv6Native"))
13752
13758
  NetworkInterface.add_member(:ipv_6_address, Shapes::ShapeRef.new(shape: String, location_name: "ipv6Address"))
13753
13759
  NetworkInterface.add_member(:operator, Shapes::ShapeRef.new(shape: OperatorResponse, location_name: "operator"))
13760
+ NetworkInterface.add_member(:associated_subnets, Shapes::ShapeRef.new(shape: AssociatedSubnetList, location_name: "associatedSubnetSet"))
13754
13761
  NetworkInterface.struct_class = Types::NetworkInterface
13755
13762
 
13756
13763
  NetworkInterfaceAssociation.add_member(:allocation_id, Shapes::ShapeRef.new(shape: String, location_name: "allocationId"))
@@ -16051,6 +16058,7 @@ module Aws::EC2
16051
16058
  Subnet.add_member(:ipv_6_native, Shapes::ShapeRef.new(shape: Boolean, location_name: "ipv6Native"))
16052
16059
  Subnet.add_member(:private_dns_name_options_on_launch, Shapes::ShapeRef.new(shape: PrivateDnsNameOptionsOnLaunch, location_name: "privateDnsNameOptionsOnLaunch"))
16053
16060
  Subnet.add_member(:block_public_access_states, Shapes::ShapeRef.new(shape: BlockPublicAccessStates, location_name: "blockPublicAccessStates"))
16061
+ Subnet.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "type"))
16054
16062
  Subnet.add_member(:subnet_id, Shapes::ShapeRef.new(shape: String, location_name: "subnetId"))
16055
16063
  Subnet.add_member(:state, Shapes::ShapeRef.new(shape: SubnetState, location_name: "state"))
16056
16064
  Subnet.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, location_name: "vpcId"))
@@ -16089,6 +16097,8 @@ module Aws::EC2
16089
16097
 
16090
16098
  SubnetConfigurationsList.member = Shapes::ShapeRef.new(shape: SubnetConfiguration, location_name: "item")
16091
16099
 
16100
+ SubnetIdList.member = Shapes::ShapeRef.new(shape: SubnetId, location_name: "AssociatedSubnetId")
16101
+
16092
16102
  SubnetIdStringList.member = Shapes::ShapeRef.new(shape: SubnetId, location_name: "SubnetId")
16093
16103
 
16094
16104
  SubnetIpPrefixes.add_member(:subnet_id, Shapes::ShapeRef.new(shape: String, location_name: "subnetId"))
@@ -234,6 +234,12 @@ module Aws::EC2
234
234
  data[:operator]
235
235
  end
236
236
 
237
+ # The subnets associated with this network interface.
238
+ # @return [Array<String>]
239
+ def associated_subnets
240
+ data[:associated_subnets]
241
+ end
242
+
237
243
  # @!endgroup
238
244
 
239
245
  # @return [Client]
@@ -644,6 +650,7 @@ module Aws::EC2
644
650
  # udp_timeout: 1,
645
651
  # },
646
652
  # associate_public_ip_address: false,
653
+ # associated_subnet_ids: ["SubnetId"],
647
654
  # dry_run: false,
648
655
  # description: "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
649
656
  # source_dest_check: {
@@ -683,6 +690,8 @@ module Aws::EC2
683
690
  # Indicates whether to assign a public IPv4 address to a network
684
691
  # interface. This option can be enabled for any network interface but
685
692
  # will only apply to the primary network interface (eth0).
693
+ # @option options [Array<String>] :associated_subnet_ids
694
+ # A list of subnet IDs to associate with the network interface.
686
695
  # @option options [Boolean] :dry_run
687
696
  # Checks whether you have the required permissions for the action,
688
697
  # without actually making the request, and provides an error response.
@@ -3400,7 +3400,7 @@ module Aws::EC2
3400
3400
  # * `interface-type` - The type of network interface
3401
3401
  # (`api_gateway_managed` \| `aws_codestar_connections_managed` \|
3402
3402
  # `branch` \| `ec2_instance_connect_endpoint` \| `efa` \| `efa-only`
3403
- # \| `efs` \| `gateway_load_balancer` \|
3403
+ # \| `efs` \| `evs` \| `gateway_load_balancer` \|
3404
3404
  # `gateway_load_balancer_endpoint` \| `global_accelerator_managed` \|
3405
3405
  # `interface` \| `iot_rules_managed` \| `lambda` \| `load_balancer` \|
3406
3406
  # `nat_gateway` \| `network_load_balancer` \| `quicksight` \|
@@ -129,7 +129,27 @@ module Aws::EC2
129
129
  data[:block_public_access_states]
130
130
  end
131
131
 
132
+ # Indicates if this is a subnet used with Amazon Elastic VMware Service
133
+ # (EVS). Possible values are `Elastic VMware Service` or no value. For
134
+ # more information about Amazon EVS, see [ *Amazon Elastic VMware
135
+ # Service API Reference* ][1].
136
+ #
137
+ #
138
+ #
139
+ # [1]: https://docs.aws.amazon.com/evs/latest/APIReference/Welcome.html
140
+ # @return [String]
141
+ def type
142
+ data[:type]
143
+ end
144
+
132
145
  # The current state of the subnet.
146
+ #
147
+ # * `failed`: The underlying infrastructure to support the subnet failed
148
+ # to provision as expected.
149
+ #
150
+ # * `failed-insufficient-capacity`: The underlying infrastructure to
151
+ # support the subnet failed to provision due to a shortage of EC2
152
+ # instance capacity.
133
153
  # @return [String]
134
154
  def state
135
155
  data[:state]
@@ -1803,7 +1823,7 @@ module Aws::EC2
1803
1823
  # * `interface-type` - The type of network interface
1804
1824
  # (`api_gateway_managed` \| `aws_codestar_connections_managed` \|
1805
1825
  # `branch` \| `ec2_instance_connect_endpoint` \| `efa` \| `efa-only`
1806
- # \| `efs` \| `gateway_load_balancer` \|
1826
+ # \| `efs` \| `evs` \| `gateway_load_balancer` \|
1807
1827
  # `gateway_load_balancer_endpoint` \| `global_accelerator_managed` \|
1808
1828
  # `interface` \| `iot_rules_managed` \| `lambda` \| `load_balancer` \|
1809
1829
  # `nat_gateway` \| `network_load_balancer` \| `quicksight` \|
@@ -828,6 +828,10 @@ module Aws::EC2
828
828
  # (for example an EC2 instance).
829
829
  # @return [String]
830
830
  #
831
+ # @!attribute [rw] subnet_id
832
+ # The ID of the subnet where the IP address is allocated.
833
+ # @return [String]
834
+ #
831
835
  # @!attribute [rw] service_managed
832
836
  # The service that manages the elastic IP address.
833
837
  #
@@ -859,6 +863,7 @@ module Aws::EC2
859
863
  :customer_owned_ip,
860
864
  :customer_owned_ipv_4_pool,
861
865
  :carrier_ip,
866
+ :subnet_id,
862
867
  :service_managed,
863
868
  :instance_id,
864
869
  :public_ip)
@@ -26177,7 +26182,7 @@ module Aws::EC2
26177
26182
  # * `interface-type` - The type of network interface
26178
26183
  # (`api_gateway_managed` \| `aws_codestar_connections_managed` \|
26179
26184
  # `branch` \| `ec2_instance_connect_endpoint` \| `efa` \| `efa-only`
26180
- # \| `efs` \| `gateway_load_balancer` \|
26185
+ # \| `efs` \| `evs` \| `gateway_load_balancer` \|
26181
26186
  # `gateway_load_balancer_endpoint` \| `global_accelerator_managed`
26182
26187
  # \| `interface` \| `iot_rules_managed` \| `lambda` \|
26183
26188
  # `load_balancer` \| `nat_gateway` \| `network_load_balancer` \|
@@ -45438,7 +45443,7 @@ module Aws::EC2
45438
45443
  # @!attribute [rw] interface_type
45439
45444
  # The type of network interface.
45440
45445
  #
45441
- # Valid values: `interface` \| `efa` \| `efa-only` \| `trunk`
45446
+ # Valid values: `interface` \| `efa` \| `efa-only` \| `evs` \| `trunk`
45442
45447
  # @return [String]
45443
45448
  #
45444
45449
  # @!attribute [rw] ipv_4_prefixes
@@ -55234,6 +55239,10 @@ module Aws::EC2
55234
55239
  # will only apply to the primary network interface (eth0).
55235
55240
  # @return [Boolean]
55236
55241
  #
55242
+ # @!attribute [rw] associated_subnet_ids
55243
+ # A list of subnet IDs to associate with the network interface.
55244
+ # @return [Array<String>]
55245
+ #
55237
55246
  # @!attribute [rw] dry_run
55238
55247
  # Checks whether you have the required permissions for the action,
55239
55248
  # without actually making the request, and provides an error response.
@@ -55279,6 +55288,7 @@ module Aws::EC2
55279
55288
  :enable_primary_ipv_6,
55280
55289
  :connection_tracking_specification,
55281
55290
  :associate_public_ip_address,
55291
+ :associated_subnet_ids,
55282
55292
  :dry_run,
55283
55293
  :network_interface_id,
55284
55294
  :description,
@@ -59320,6 +59330,10 @@ module Aws::EC2
59320
59330
  # The service provider that manages the network interface.
59321
59331
  # @return [Types::OperatorResponse]
59322
59332
  #
59333
+ # @!attribute [rw] associated_subnets
59334
+ # The subnets associated with this network interface.
59335
+ # @return [Array<String>]
59336
+ #
59323
59337
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NetworkInterface AWS API Documentation
59324
59338
  #
59325
59339
  class NetworkInterface < Struct.new(
@@ -59352,7 +59366,8 @@ module Aws::EC2
59352
59366
  :deny_all_igw_traffic,
59353
59367
  :ipv_6_native,
59354
59368
  :ipv_6_address,
59355
- :operator)
59369
+ :operator,
59370
+ :associated_subnets)
59356
59371
  SENSITIVE = []
59357
59372
  include Aws::Structure
59358
59373
  end
@@ -71684,12 +71699,30 @@ module Aws::EC2
71684
71699
  # The state of VPC Block Public Access (BPA).
71685
71700
  # @return [Types::BlockPublicAccessStates]
71686
71701
  #
71702
+ # @!attribute [rw] type
71703
+ # Indicates if this is a subnet used with Amazon Elastic VMware
71704
+ # Service (EVS). Possible values are `Elastic VMware Service` or no
71705
+ # value. For more information about Amazon EVS, see [ *Amazon Elastic
71706
+ # VMware Service API Reference* ][1].
71707
+ #
71708
+ #
71709
+ #
71710
+ # [1]: https://docs.aws.amazon.com/evs/latest/APIReference/Welcome.html
71711
+ # @return [String]
71712
+ #
71687
71713
  # @!attribute [rw] subnet_id
71688
71714
  # The ID of the subnet.
71689
71715
  # @return [String]
71690
71716
  #
71691
71717
  # @!attribute [rw] state
71692
71718
  # The current state of the subnet.
71719
+ #
71720
+ # * `failed`: The underlying infrastructure to support the subnet
71721
+ # failed to provision as expected.
71722
+ #
71723
+ # * `failed-insufficient-capacity`: The underlying infrastructure to
71724
+ # support the subnet failed to provision due to a shortage of EC2
71725
+ # instance capacity.
71693
71726
  # @return [String]
71694
71727
  #
71695
71728
  # @!attribute [rw] vpc_id
@@ -71745,6 +71778,7 @@ module Aws::EC2
71745
71778
  :ipv_6_native,
71746
71779
  :private_dns_name_options_on_launch,
71747
71780
  :block_public_access_states,
71781
+ :type,
71748
71782
  :subnet_id,
71749
71783
  :state,
71750
71784
  :vpc_id,
@@ -1762,7 +1762,7 @@ module Aws::EC2
1762
1762
  # * `interface-type` - The type of network interface
1763
1763
  # (`api_gateway_managed` \| `aws_codestar_connections_managed` \|
1764
1764
  # `branch` \| `ec2_instance_connect_endpoint` \| `efa` \| `efa-only`
1765
- # \| `efs` \| `gateway_load_balancer` \|
1765
+ # \| `efs` \| `evs` \| `gateway_load_balancer` \|
1766
1766
  # `gateway_load_balancer_endpoint` \| `global_accelerator_managed` \|
1767
1767
  # `interface` \| `iot_rules_managed` \| `lambda` \| `load_balancer` \|
1768
1768
  # `nat_gateway` \| `network_load_balancer` \| `quicksight` \|
@@ -105,6 +105,12 @@ module Aws::EC2
105
105
  data[:carrier_ip]
106
106
  end
107
107
 
108
+ # The ID of the subnet where the IP address is allocated.
109
+ # @return [String]
110
+ def subnet_id
111
+ data[:subnet_id]
112
+ end
113
+
108
114
  # The service that manages the elastic IP address.
109
115
  #
110
116
  # <note markdown="1"> The only option supported today is `alb`.
data/lib/aws-sdk-ec2.rb CHANGED
@@ -78,7 +78,7 @@ module Aws::EC2
78
78
  autoload :VpcPeeringConnection, 'aws-sdk-ec2/vpc_peering_connection'
79
79
  autoload :VpcAddress, 'aws-sdk-ec2/vpc_address'
80
80
 
81
- GEM_VERSION = '1.530.0'
81
+ GEM_VERSION = '1.531.0'
82
82
 
83
83
  end
84
84
 
@@ -53,6 +53,9 @@ module Aws
53
53
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/ClassicAddress.html#carrier_ip-instance_method
54
54
  def carrier_ip: () -> ::String
55
55
 
56
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/ClassicAddress.html#subnet_id-instance_method
57
+ def subnet_id: () -> ::String
58
+
56
59
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/ClassicAddress.html#service_managed-instance_method
57
60
  def service_managed: () -> ("alb" | "nlb" | "rnat")
58
61
 
data/sig/client.rbs CHANGED
@@ -11464,6 +11464,7 @@ module Aws
11464
11464
  udp_timeout: ::Integer?
11465
11465
  },
11466
11466
  ?associate_public_ip_address: bool,
11467
+ ?associated_subnet_ids: Array[::String],
11467
11468
  ?dry_run: bool,
11468
11469
  network_interface_id: ::String,
11469
11470
  ?description: untyped,
@@ -102,6 +102,9 @@ module Aws
102
102
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#operator-instance_method
103
103
  def operator: () -> Types::OperatorResponse
104
104
 
105
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#associated_subnets-instance_method
106
+ def associated_subnets: () -> ::Array[::String]
107
+
105
108
  def client: () -> Client
106
109
 
107
110
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#load-instance_method
@@ -200,6 +203,7 @@ module Aws
200
203
  udp_timeout: ::Integer?
201
204
  },
202
205
  ?associate_public_ip_address: bool,
206
+ ?associated_subnet_ids: Array[::String],
203
207
  ?dry_run: bool,
204
208
  ?description: untyped,
205
209
  ?source_dest_check: {
data/sig/subnet.rbs CHANGED
@@ -60,8 +60,11 @@ module Aws
60
60
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Subnet.html#block_public_access_states-instance_method
61
61
  def block_public_access_states: () -> Types::BlockPublicAccessStates
62
62
 
63
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Subnet.html#type-instance_method
64
+ def type: () -> ::String
65
+
63
66
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Subnet.html#state-instance_method
64
- def state: () -> ("pending" | "available" | "unavailable")
67
+ def state: () -> ("pending" | "available" | "unavailable" | "failed" | "failed-insufficient-capacity")
65
68
 
66
69
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Subnet.html#vpc_id-instance_method
67
70
  def vpc_id: () -> ::String
data/sig/types.rbs CHANGED
@@ -228,6 +228,7 @@ module Aws::EC2
228
228
  attr_accessor customer_owned_ip: ::String
229
229
  attr_accessor customer_owned_ipv_4_pool: ::String
230
230
  attr_accessor carrier_ip: ::String
231
+ attr_accessor subnet_id: ::String
231
232
  attr_accessor service_managed: ("alb" | "nlb" | "rnat")
232
233
  attr_accessor instance_id: ::String
233
234
  attr_accessor public_ip: ::String
@@ -11911,6 +11912,7 @@ module Aws::EC2
11911
11912
  attr_accessor enable_primary_ipv_6: bool
11912
11913
  attr_accessor connection_tracking_specification: Types::ConnectionTrackingSpecificationRequest
11913
11914
  attr_accessor associate_public_ip_address: bool
11915
+ attr_accessor associated_subnet_ids: ::Array[::String]
11914
11916
  attr_accessor dry_run: bool
11915
11917
  attr_accessor network_interface_id: ::String
11916
11918
  attr_accessor description: Types::AttributeValue
@@ -12845,6 +12847,7 @@ module Aws::EC2
12845
12847
  attr_accessor ipv_6_native: bool
12846
12848
  attr_accessor ipv_6_address: ::String
12847
12849
  attr_accessor operator: Types::OperatorResponse
12850
+ attr_accessor associated_subnets: ::Array[::String]
12848
12851
  SENSITIVE: []
12849
12852
  end
12850
12853
 
@@ -15415,8 +15418,9 @@ module Aws::EC2
15415
15418
  attr_accessor ipv_6_native: bool
15416
15419
  attr_accessor private_dns_name_options_on_launch: Types::PrivateDnsNameOptionsOnLaunch
15417
15420
  attr_accessor block_public_access_states: Types::BlockPublicAccessStates
15421
+ attr_accessor type: ::String
15418
15422
  attr_accessor subnet_id: ::String
15419
- attr_accessor state: ("pending" | "available" | "unavailable")
15423
+ attr_accessor state: ("pending" | "available" | "unavailable" | "failed" | "failed-insufficient-capacity")
15420
15424
  attr_accessor vpc_id: ::String
15421
15425
  attr_accessor cidr_block: ::String
15422
15426
  attr_accessor available_ip_address_count: ::Integer
data/sig/vpc_address.rbs CHANGED
@@ -50,6 +50,9 @@ module Aws
50
50
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/VpcAddress.html#carrier_ip-instance_method
51
51
  def carrier_ip: () -> ::String
52
52
 
53
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/VpcAddress.html#subnet_id-instance_method
54
+ def subnet_id: () -> ::String
55
+
53
56
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/VpcAddress.html#service_managed-instance_method
54
57
  def service_managed: () -> ("alb" | "nlb" | "rnat")
55
58
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ec2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.530.0
4
+ version: 1.531.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services