aws-sdk-ec2 1.527.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.
@@ -535,6 +535,63 @@ module Aws::EC2
535
535
  include Aws::Structure
536
536
  end
537
537
 
538
+ # Contains information about the current security configuration of an
539
+ # active VPN tunnel.
540
+ #
541
+ # @!attribute [rw] phase_1_encryption_algorithm
542
+ # The encryption algorithm negotiated in Phase 1 IKE negotiations.
543
+ # @return [String]
544
+ #
545
+ # @!attribute [rw] phase_2_encryption_algorithm
546
+ # The encryption algorithm negotiated in Phase 2 IKE negotiations.
547
+ # @return [String]
548
+ #
549
+ # @!attribute [rw] phase_1_integrity_algorithm
550
+ # The integrity algorithm negotiated in Phase 1 IKE negotiations.
551
+ # @return [String]
552
+ #
553
+ # @!attribute [rw] phase_2_integrity_algorithm
554
+ # The integrity algorithm negotiated in Phase 2 IKE negotiations.
555
+ # @return [String]
556
+ #
557
+ # @!attribute [rw] phase_1_dh_group
558
+ # The Diffie-Hellman group number being used in Phase 1 IKE
559
+ # negotiations.
560
+ # @return [Integer]
561
+ #
562
+ # @!attribute [rw] phase_2_dh_group
563
+ # The Diffie-Hellman group number being used in Phase 2 IKE
564
+ # negotiations.
565
+ # @return [Integer]
566
+ #
567
+ # @!attribute [rw] ike_version
568
+ # The version of the Internet Key Exchange (IKE) protocol being used.
569
+ # @return [String]
570
+ #
571
+ # @!attribute [rw] provisioning_status
572
+ # The current provisioning status of the VPN tunnel.
573
+ # @return [String]
574
+ #
575
+ # @!attribute [rw] provisioning_status_reason
576
+ # The reason for the current provisioning status.
577
+ # @return [String]
578
+ #
579
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ActiveVpnTunnelStatus AWS API Documentation
580
+ #
581
+ class ActiveVpnTunnelStatus < Struct.new(
582
+ :phase_1_encryption_algorithm,
583
+ :phase_2_encryption_algorithm,
584
+ :phase_1_integrity_algorithm,
585
+ :phase_2_integrity_algorithm,
586
+ :phase_1_dh_group,
587
+ :phase_2_dh_group,
588
+ :ike_version,
589
+ :provisioning_status,
590
+ :provisioning_status_reason)
591
+ SENSITIVE = []
592
+ include Aws::Structure
593
+ end
594
+
538
595
  # Add an operating Region to an IPAM. Operating Regions are Amazon Web
539
596
  # Services Regions where the IPAM is allowed to manage IP address CIDRs.
540
597
  # IPAM only discovers and monitors resources in the Amazon Web Services
@@ -771,6 +828,10 @@ module Aws::EC2
771
828
  # (for example an EC2 instance).
772
829
  # @return [String]
773
830
  #
831
+ # @!attribute [rw] subnet_id
832
+ # The ID of the subnet where the IP address is allocated.
833
+ # @return [String]
834
+ #
774
835
  # @!attribute [rw] service_managed
775
836
  # The service that manages the elastic IP address.
776
837
  #
@@ -802,6 +863,7 @@ module Aws::EC2
802
863
  :customer_owned_ip,
803
864
  :customer_owned_ipv_4_pool,
804
865
  :carrier_ip,
866
+ :subnet_id,
805
867
  :service_managed,
806
868
  :instance_id,
807
869
  :public_ip)
@@ -7200,8 +7262,8 @@ module Aws::EC2
7200
7262
  #
7201
7263
  # @!attribute [rw] client_token
7202
7264
  # Unique, case-sensitive identifier you provide to ensure idempotency
7203
- # of the request. For more information, see [Ensuring idempotency][1]
7204
- # in the *Amazon EC2 API Reference*.
7265
+ # of the request. For more information, see [Ensuring idempotency in
7266
+ # Amazon EC2 API requests][1] in the *Amazon EC2 API Reference*.
7205
7267
  #
7206
7268
  # **A suitable default value is auto-generated.** You should normally
7207
7269
  # not need to pass this option.
@@ -7328,7 +7390,8 @@ module Aws::EC2
7328
7390
  # If you do not specify a value, the AMI copy operation is completed
7329
7391
  # on a best-effort basis.
7330
7392
  #
7331
- # For more information, see [ Time-based copies][1].
7393
+ # For more information, see [Time-based copies for Amazon EBS
7394
+ # snapshots and EBS-backed AMIs][1].
7332
7395
  #
7333
7396
  #
7334
7397
  #
@@ -15207,6 +15270,12 @@ module Aws::EC2
15207
15270
  # The tags to apply to the VPN connection.
15208
15271
  # @return [Array<Types::TagSpecification>]
15209
15272
  #
15273
+ # @!attribute [rw] pre_shared_key_storage
15274
+ # Specifies the storage mode for the pre-shared key (PSK). Valid
15275
+ # values are `Standard`" (stored in the Site-to-Site VPN service) or
15276
+ # `SecretsManager` (stored in Amazon Web Services Secrets Manager).
15277
+ # @return [String]
15278
+ #
15210
15279
  # @!attribute [rw] dry_run
15211
15280
  # Checks whether you have the required permissions for the action,
15212
15281
  # without actually making the request, and provides an error response.
@@ -15226,6 +15295,7 @@ module Aws::EC2
15226
15295
  :vpn_gateway_id,
15227
15296
  :transit_gateway_id,
15228
15297
  :tag_specifications,
15298
+ :pre_shared_key_storage,
15229
15299
  :dry_run,
15230
15300
  :options)
15231
15301
  SENSITIVE = []
@@ -17339,6 +17409,49 @@ module Aws::EC2
17339
17409
  include Aws::Structure
17340
17410
  end
17341
17411
 
17412
+ # The snapshot ID and its deletion result code.
17413
+ #
17414
+ # @!attribute [rw] snapshot_id
17415
+ # The ID of the snapshot.
17416
+ # @return [String]
17417
+ #
17418
+ # @!attribute [rw] return_code
17419
+ # The result code from the snapshot deletion attempt. Possible values:
17420
+ #
17421
+ # * `success` - The snapshot was successfully deleted.
17422
+ #
17423
+ # * `skipped` - The snapshot was not deleted because it's associated
17424
+ # with other AMIs.
17425
+ #
17426
+ # * `missing-permissions` - The snapshot was not deleted because the
17427
+ # role lacks `DeleteSnapshot` permissions. For more information, see
17428
+ # [How Amazon EBS works with IAM][1].
17429
+ #
17430
+ # * `internal-error` - The snapshot was not deleted due to a server
17431
+ # error.
17432
+ #
17433
+ # * `client-error` - The snapshot was not deleted due to a client
17434
+ # configuration error.
17435
+ #
17436
+ # For details about an error, check the `DeleteSnapshot` event in the
17437
+ # CloudTrail event history. For more information, see [View event
17438
+ # history][2] in the *Amazon Web Services CloudTrail User Guide*.
17439
+ #
17440
+ #
17441
+ #
17442
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/security_iam_service-with-iam.html
17443
+ # [2]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/tutorial-event-history.html
17444
+ # @return [String]
17445
+ #
17446
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSnapshotReturnCode AWS API Documentation
17447
+ #
17448
+ class DeleteSnapshotReturnCode < Struct.new(
17449
+ :snapshot_id,
17450
+ :return_code)
17451
+ SENSITIVE = []
17452
+ include Aws::Structure
17453
+ end
17454
+
17342
17455
  # Contains the parameters for DeleteSpotDatafeedSubscription.
17343
17456
  #
17344
17457
  # @!attribute [rw] dry_run
@@ -18548,6 +18661,18 @@ module Aws::EC2
18548
18661
  # The ID of the AMI.
18549
18662
  # @return [String]
18550
18663
  #
18664
+ # @!attribute [rw] delete_associated_snapshots
18665
+ # Specifies whether to delete the snapshots associated with the AMI
18666
+ # during deregistration.
18667
+ #
18668
+ # <note markdown="1"> If a snapshot is associated with multiple AMIs, it is not deleted,
18669
+ # regardless of this setting.
18670
+ #
18671
+ # </note>
18672
+ #
18673
+ # Default: The snapshots are not deleted.
18674
+ # @return [Boolean]
18675
+ #
18551
18676
  # @!attribute [rw] dry_run
18552
18677
  # Checks whether you have the required permissions for the action,
18553
18678
  # without actually making the request, and provides an error response.
@@ -18559,14 +18684,30 @@ module Aws::EC2
18559
18684
  #
18560
18685
  class DeregisterImageRequest < Struct.new(
18561
18686
  :image_id,
18687
+ :delete_associated_snapshots,
18562
18688
  :dry_run)
18563
18689
  SENSITIVE = []
18564
18690
  include Aws::Structure
18565
18691
  end
18566
18692
 
18693
+ # @!attribute [rw] return
18694
+ # Returns `true` if the request succeeds; otherwise, it returns an
18695
+ # error.
18696
+ # @return [Boolean]
18697
+ #
18698
+ # @!attribute [rw] delete_snapshot_results
18699
+ # The deletion result for each snapshot associated with the AMI,
18700
+ # including the snapshot ID and its success or error code.
18701
+ # @return [Array<Types::DeleteSnapshotReturnCode>]
18702
+ #
18567
18703
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeregisterImageResult AWS API Documentation
18568
18704
  #
18569
- class DeregisterImageResult < Aws::EmptyStructure; end
18705
+ class DeregisterImageResult < Struct.new(
18706
+ :return,
18707
+ :delete_snapshot_results)
18708
+ SENSITIVE = []
18709
+ include Aws::Structure
18710
+ end
18570
18711
 
18571
18712
  # @!attribute [rw] dry_run
18572
18713
  # Checks whether you have the required permissions for the action,
@@ -26041,7 +26182,7 @@ module Aws::EC2
26041
26182
  # * `interface-type` - The type of network interface
26042
26183
  # (`api_gateway_managed` \| `aws_codestar_connections_managed` \|
26043
26184
  # `branch` \| `ec2_instance_connect_endpoint` \| `efa` \| `efa-only`
26044
- # \| `efs` \| `gateway_load_balancer` \|
26185
+ # \| `efs` \| `evs` \| `gateway_load_balancer` \|
26045
26186
  # `gateway_load_balancer_endpoint` \| `global_accelerator_managed`
26046
26187
  # \| `interface` \| `iot_rules_managed` \| `lambda` \|
26047
26188
  # `load_balancer` \| `nat_gateway` \| `network_load_balancer` \|
@@ -38419,6 +38560,44 @@ module Aws::EC2
38419
38560
  include Aws::Structure
38420
38561
  end
38421
38562
 
38563
+ # @!attribute [rw] vpn_connection_id
38564
+ # The ID of the VPN connection for which to retrieve the active tunnel
38565
+ # status.
38566
+ # @return [String]
38567
+ #
38568
+ # @!attribute [rw] vpn_tunnel_outside_ip_address
38569
+ # The external IP address of the VPN tunnel for which to retrieve the
38570
+ # active status.
38571
+ # @return [String]
38572
+ #
38573
+ # @!attribute [rw] dry_run
38574
+ # Checks whether you have the required permissions for the action,
38575
+ # without actually making the request.
38576
+ # @return [Boolean]
38577
+ #
38578
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetActiveVpnTunnelStatusRequest AWS API Documentation
38579
+ #
38580
+ class GetActiveVpnTunnelStatusRequest < Struct.new(
38581
+ :vpn_connection_id,
38582
+ :vpn_tunnel_outside_ip_address,
38583
+ :dry_run)
38584
+ SENSITIVE = []
38585
+ include Aws::Structure
38586
+ end
38587
+
38588
+ # @!attribute [rw] active_vpn_tunnel_status
38589
+ # Information about the current security configuration of the VPN
38590
+ # tunnel.
38591
+ # @return [Types::ActiveVpnTunnelStatus]
38592
+ #
38593
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetActiveVpnTunnelStatusResult AWS API Documentation
38594
+ #
38595
+ class GetActiveVpnTunnelStatusResult < Struct.new(
38596
+ :active_vpn_tunnel_status)
38597
+ SENSITIVE = []
38598
+ include Aws::Structure
38599
+ end
38600
+
38422
38601
  # @!attribute [rw] dry_run
38423
38602
  # Checks whether you have the required permissions for the action,
38424
38603
  # without actually making the request, and provides an error response.
@@ -41357,6 +41536,12 @@ module Aws::EC2
41357
41536
  # versions: `ikev1` or `ikev2`.
41358
41537
  # @return [String]
41359
41538
  #
41539
+ # @!attribute [rw] sample_type
41540
+ # The type of sample configuration to generate. Valid values are
41541
+ # "compatibility" (includes IKEv1) or "recommended" (throws
41542
+ # UnsupportedOperationException for IKEv1).
41543
+ # @return [String]
41544
+ #
41360
41545
  # @!attribute [rw] dry_run
41361
41546
  # Checks whether you have the required permissions for the action,
41362
41547
  # without actually making the request, and provides an error response.
@@ -41370,6 +41555,7 @@ module Aws::EC2
41370
41555
  :vpn_connection_id,
41371
41556
  :vpn_connection_device_type_id,
41372
41557
  :internet_key_exchange_version,
41558
+ :sample_type,
41373
41559
  :dry_run)
41374
41560
  SENSITIVE = []
41375
41561
  include Aws::Structure
@@ -42267,8 +42453,9 @@ module Aws::EC2
42267
42453
  # @return [String]
42268
42454
  #
42269
42455
  # @!attribute [rw] boot_mode
42270
- # The boot mode of the image. For more information, see [Boot
42271
- # modes][1] in the *Amazon EC2 User Guide*.
42456
+ # The boot mode of the image. For more information, see [Instance
42457
+ # launch behavior with Amazon EC2 boot modes][1] in the *Amazon EC2
42458
+ # User Guide*.
42272
42459
  #
42273
42460
  #
42274
42461
  #
@@ -42356,8 +42543,8 @@ module Aws::EC2
42356
42543
  # CopyImage, or CreateRestoreImageTask. The ID does not appear if the
42357
42544
  # AMI was created using any other API. For some older AMIs, the ID
42358
42545
  # might not be available. For more information, see [Identify the
42359
- # source AMI used to create a new AMI][1] in the *Amazon EC2 User
42360
- # Guide*.
42546
+ # source AMI used to create a new Amazon EC2 AMI][1] in the *Amazon
42547
+ # EC2 User Guide*.
42361
42548
  #
42362
42549
  #
42363
42550
  #
@@ -42371,8 +42558,8 @@ module Aws::EC2
42371
42558
  # CopyImage, or CreateRestoreImageTask. The Region does not appear if
42372
42559
  # the AMI was created using any other API. For some older AMIs, the
42373
42560
  # Region might not be available. For more information, see [Identify
42374
- # the source AMI used to create a new AMI][1] in the *Amazon EC2 User
42375
- # Guide*.
42561
+ # the source AMI used to create a new Amazon EC2 AMI][1] in the
42562
+ # *Amazon EC2 User Guide*.
42376
42563
  #
42377
42564
  #
42378
42565
  #
@@ -42509,7 +42696,8 @@ module Aws::EC2
42509
42696
  # retrieve the UEFI data, use the [GetInstanceUefiData][1] command.
42510
42697
  # You can inspect and modify the UEFI data by using the
42511
42698
  # [python-uefivars tool][2] on GitHub. For more information, see [UEFI
42512
- # Secure Boot][3] in the *Amazon EC2 User Guide*.
42699
+ # Secure Boot for Amazon EC2 instances][3] in the *Amazon EC2 User
42700
+ # Guide*.
42513
42701
  #
42514
42702
  #
42515
42703
  #
@@ -45255,7 +45443,7 @@ module Aws::EC2
45255
45443
  # @!attribute [rw] interface_type
45256
45444
  # The type of network interface.
45257
45445
  #
45258
- # Valid values: `interface` \| `efa` \| `efa-only` \| `trunk`
45446
+ # Valid values: `interface` \| `efa` \| `efa-only` \| `evs` \| `trunk`
45259
45447
  # @return [String]
45260
45448
  #
45261
45449
  # @!attribute [rw] ipv_4_prefixes
@@ -55051,6 +55239,10 @@ module Aws::EC2
55051
55239
  # will only apply to the primary network interface (eth0).
55052
55240
  # @return [Boolean]
55053
55241
  #
55242
+ # @!attribute [rw] associated_subnet_ids
55243
+ # A list of subnet IDs to associate with the network interface.
55244
+ # @return [Array<String>]
55245
+ #
55054
55246
  # @!attribute [rw] dry_run
55055
55247
  # Checks whether you have the required permissions for the action,
55056
55248
  # without actually making the request, and provides an error response.
@@ -55096,6 +55288,7 @@ module Aws::EC2
55096
55288
  :enable_primary_ipv_6,
55097
55289
  :connection_tracking_specification,
55098
55290
  :associate_public_ip_address,
55291
+ :associated_subnet_ids,
55099
55292
  :dry_run,
55100
55293
  :network_interface_id,
55101
55294
  :description,
@@ -57677,6 +57870,12 @@ module Aws::EC2
57677
57870
  # Valid values: `True` \| `False`
57678
57871
  # @return [Boolean]
57679
57872
  #
57873
+ # @!attribute [rw] pre_shared_key_storage
57874
+ # Specifies the storage mode for the pre-shared key (PSK). Valid
57875
+ # values are `Standard` (stored in Site-to-Site VPN service) or
57876
+ # `SecretsManager` (stored in Amazon Web Services Secrets Manager).
57877
+ # @return [String]
57878
+ #
57680
57879
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpnTunnelOptionsRequest AWS API Documentation
57681
57880
  #
57682
57881
  class ModifyVpnTunnelOptionsRequest < Struct.new(
@@ -57684,7 +57883,8 @@ module Aws::EC2
57684
57883
  :vpn_tunnel_outside_ip_address,
57685
57884
  :tunnel_options,
57686
57885
  :dry_run,
57687
- :skip_tunnel_replacement)
57886
+ :skip_tunnel_replacement,
57887
+ :pre_shared_key_storage)
57688
57888
  SENSITIVE = [:tunnel_options]
57689
57889
  include Aws::Structure
57690
57890
  end
@@ -59130,6 +59330,10 @@ module Aws::EC2
59130
59330
  # The service provider that manages the network interface.
59131
59331
  # @return [Types::OperatorResponse]
59132
59332
  #
59333
+ # @!attribute [rw] associated_subnets
59334
+ # The subnets associated with this network interface.
59335
+ # @return [Array<String>]
59336
+ #
59133
59337
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NetworkInterface AWS API Documentation
59134
59338
  #
59135
59339
  class NetworkInterface < Struct.new(
@@ -59162,7 +59366,8 @@ module Aws::EC2
59162
59366
  :deny_all_igw_traffic,
59163
59367
  :ipv_6_native,
59164
59368
  :ipv_6_address,
59165
- :operator)
59369
+ :operator,
59370
+ :associated_subnets)
59166
59371
  SENSITIVE = []
59167
59372
  include Aws::Structure
59168
59373
  end
@@ -62205,8 +62410,8 @@ module Aws::EC2
62205
62410
  # The full path to your AMI manifest in Amazon S3 storage. The
62206
62411
  # specified bucket must have the `aws-exec-read` canned access control
62207
62412
  # list (ACL) to ensure that it can be accessed by Amazon EC2. For more
62208
- # information, see [Canned ACLs][1] in the *Amazon S3 Service
62209
- # Developer Guide*.
62413
+ # information, see [Canned ACL][1] in the *Amazon S3 Service Developer
62414
+ # Guide*.
62210
62415
  #
62211
62416
  #
62212
62417
  #
@@ -62221,8 +62426,10 @@ module Aws::EC2
62221
62426
  # you can publish AMIs that include billable software and list them on
62222
62427
  # the Amazon Web Services Marketplace. You must first register as a
62223
62428
  # seller on the Amazon Web Services Marketplace. For more information,
62224
- # see [Getting started as a seller][1] and [AMI-based products][2] in
62225
- # the *Amazon Web Services Marketplace Seller Guide*.
62429
+ # see [Getting started as an Amazon Web Services Marketplace
62430
+ # seller][1] and [AMI-based products in Amazon Web Services
62431
+ # Marketplace][2] in the *Amazon Web Services Marketplace Seller
62432
+ # Guide*.
62226
62433
  #
62227
62434
  #
62228
62435
  #
@@ -62239,8 +62446,8 @@ module Aws::EC2
62239
62446
  #
62240
62447
  # </note>
62241
62448
  #
62242
- # For more information, see [Boot modes][1] in the *Amazon EC2 User
62243
- # Guide*.
62449
+ # For more information, see [Instance launch behavior with Amazon EC2
62450
+ # boot modes][1] in the *Amazon EC2 User Guide*.
62244
62451
  #
62245
62452
  #
62246
62453
  #
@@ -62261,7 +62468,8 @@ module Aws::EC2
62261
62468
  # retrieve the UEFI data, use the [GetInstanceUefiData][1] command.
62262
62469
  # You can inspect and modify the UEFI data by using the
62263
62470
  # [python-uefivars tool][2] on GitHub. For more information, see [UEFI
62264
- # Secure Boot][3] in the *Amazon EC2 User Guide*.
62471
+ # Secure Boot for Amazon EC2 instances][3] in the *Amazon EC2 User
62472
+ # Guide*.
62265
62473
  #
62266
62474
  #
62267
62475
  #
@@ -62350,8 +62558,8 @@ module Aws::EC2
62350
62558
  # If you create an AMI on an Outpost, then all backing snapshots must
62351
62559
  # be on the same Outpost or in the Region of that Outpost. AMIs on an
62352
62560
  # Outpost that include local snapshots can be used to launch instances
62353
- # on the same Outpost only. For more information, [Amazon EBS local
62354
- # snapshots on Outposts][1] in the *Amazon EBS User Guide*.
62561
+ # on the same Outpost only. For more information, [Create AMIs from
62562
+ # local snapshots][1] in the *Amazon EBS User Guide*.
62355
62563
  #
62356
62564
  #
62357
62565
  #
@@ -71491,12 +71699,30 @@ module Aws::EC2
71491
71699
  # The state of VPC Block Public Access (BPA).
71492
71700
  # @return [Types::BlockPublicAccessStates]
71493
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
+ #
71494
71713
  # @!attribute [rw] subnet_id
71495
71714
  # The ID of the subnet.
71496
71715
  # @return [String]
71497
71716
  #
71498
71717
  # @!attribute [rw] state
71499
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.
71500
71726
  # @return [String]
71501
71727
  #
71502
71728
  # @!attribute [rw] vpc_id
@@ -71552,6 +71778,7 @@ module Aws::EC2
71552
71778
  :ipv_6_native,
71553
71779
  :private_dns_name_options_on_launch,
71554
71780
  :block_public_access_states,
71781
+ :type,
71555
71782
  :subnet_id,
71556
71783
  :state,
71557
71784
  :vpc_id,
@@ -77313,6 +77540,11 @@ module Aws::EC2
77313
77540
  # Information about the VPN tunnel.
77314
77541
  # @return [Array<Types::VgwTelemetry>]
77315
77542
  #
77543
+ # @!attribute [rw] pre_shared_key_arn
77544
+ # The Amazon Resource Name (ARN) of the Secrets Manager secret storing
77545
+ # the pre-shared key(s) for the VPN connection.
77546
+ # @return [String]
77547
+ #
77316
77548
  # @!attribute [rw] vpn_connection_id
77317
77549
  # The ID of the VPN connection.
77318
77550
  # @return [String]
@@ -77354,6 +77586,7 @@ module Aws::EC2
77354
77586
  :routes,
77355
77587
  :tags,
77356
77588
  :vgw_telemetry,
77589
+ :pre_shared_key_arn,
77357
77590
  :vpn_connection_id,
77358
77591
  :state,
77359
77592
  :customer_gateway_configuration,
@@ -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.527.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
@@ -4341,6 +4341,7 @@ module Aws
4341
4341
  ]?
4342
4342
  },
4343
4343
  ],
4344
+ ?pre_shared_key_storage: ::String,
4344
4345
  ?dry_run: bool,
4345
4346
  ?options: {
4346
4347
  enable_acceleration: bool?,
@@ -5351,10 +5352,13 @@ module Aws
5351
5352
 
5352
5353
  interface _DeregisterImageResponseSuccess
5353
5354
  include ::Seahorse::Client::_ResponseSuccess[Types::DeregisterImageResult]
5355
+ def return: () -> bool
5356
+ def delete_snapshot_results: () -> ::Array[Types::DeleteSnapshotReturnCode]
5354
5357
  end
5355
5358
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#deregister_image-instance_method
5356
5359
  def deregister_image: (
5357
5360
  image_id: ::String,
5361
+ ?delete_associated_snapshots: bool,
5358
5362
  ?dry_run: bool
5359
5363
  ) -> _DeregisterImageResponseSuccess
5360
5364
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeregisterImageResponseSuccess
@@ -9416,6 +9420,18 @@ module Aws
9416
9420
  ) -> _ExportVerifiedAccessInstanceClientConfigurationResponseSuccess
9417
9421
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ExportVerifiedAccessInstanceClientConfigurationResponseSuccess
9418
9422
 
9423
+ interface _GetActiveVpnTunnelStatusResponseSuccess
9424
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetActiveVpnTunnelStatusResult]
9425
+ def active_vpn_tunnel_status: () -> Types::ActiveVpnTunnelStatus
9426
+ end
9427
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#get_active_vpn_tunnel_status-instance_method
9428
+ def get_active_vpn_tunnel_status: (
9429
+ vpn_connection_id: ::String,
9430
+ vpn_tunnel_outside_ip_address: ::String,
9431
+ ?dry_run: bool
9432
+ ) -> _GetActiveVpnTunnelStatusResponseSuccess
9433
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetActiveVpnTunnelStatusResponseSuccess
9434
+
9419
9435
  interface _GetAllowedImagesSettingsResponseSuccess
9420
9436
  include ::Seahorse::Client::_ResponseSuccess[Types::GetAllowedImagesSettingsResult]
9421
9437
  def state: () -> ::String
@@ -10406,6 +10422,7 @@ module Aws
10406
10422
  vpn_connection_id: ::String,
10407
10423
  vpn_connection_device_type_id: ::String,
10408
10424
  ?internet_key_exchange_version: ::String,
10425
+ ?sample_type: ::String,
10409
10426
  ?dry_run: bool
10410
10427
  ) -> _GetVpnConnectionDeviceSampleConfigurationResponseSuccess
10411
10428
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetVpnConnectionDeviceSampleConfigurationResponseSuccess
@@ -11447,6 +11464,7 @@ module Aws
11447
11464
  udp_timeout: ::Integer?
11448
11465
  },
11449
11466
  ?associate_public_ip_address: bool,
11467
+ ?associated_subnet_ids: Array[::String],
11450
11468
  ?dry_run: bool,
11451
11469
  network_interface_id: ::String,
11452
11470
  ?description: untyped,
@@ -12311,7 +12329,8 @@ module Aws
12311
12329
  enable_tunnel_lifecycle_control: bool?
12312
12330
  },
12313
12331
  ?dry_run: bool,
12314
- ?skip_tunnel_replacement: bool
12332
+ ?skip_tunnel_replacement: bool,
12333
+ ?pre_shared_key_storage: ::String
12315
12334
  ) -> _ModifyVpnTunnelOptionsResponseSuccess
12316
12335
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyVpnTunnelOptionsResponseSuccess
12317
12336
 
data/sig/image.rbs CHANGED
@@ -169,6 +169,7 @@ module Aws
169
169
 
170
170
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Image.html#deregister-instance_method
171
171
  def deregister: (
172
+ ?delete_associated_snapshots: bool,
172
173
  ?dry_run: bool
173
174
  ) -> Types::DeregisterImageResult
174
175
  | (?Hash[Symbol, untyped]) -> Types::DeregisterImageResult
@@ -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