aws-sdk-ec2 1.524.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,
@@ -23133,6 +23274,9 @@ module Aws::EC2
23133
23274
  # * `processor-info.supported-features` - The supported CPU features
23134
23275
  # (`amd-sev-snp`).
23135
23276
  #
23277
+ # * `reboot-migration-support` - Indicates whether enabling reboot
23278
+ # migration is supported (`supported` \| `unsupported`).
23279
+ #
23136
23280
  # * `supported-boot-mode` - The boot mode (`legacy-bios` \| `uefi`).
23137
23281
  #
23138
23282
  # * `supported-root-device-type` - The root device type (`ebs` \|
@@ -26038,7 +26182,7 @@ module Aws::EC2
26038
26182
  # * `interface-type` - The type of network interface
26039
26183
  # (`api_gateway_managed` \| `aws_codestar_connections_managed` \|
26040
26184
  # `branch` \| `ec2_instance_connect_endpoint` \| `efa` \| `efa-only`
26041
- # \| `efs` \| `gateway_load_balancer` \|
26185
+ # \| `efs` \| `evs` \| `gateway_load_balancer` \|
26042
26186
  # `gateway_load_balancer_endpoint` \| `global_accelerator_managed`
26043
26187
  # \| `interface` \| `iot_rules_managed` \| `lambda` \|
26044
26188
  # `load_balancer` \| `nat_gateway` \| `network_load_balancer` \|
@@ -38416,6 +38560,44 @@ module Aws::EC2
38416
38560
  include Aws::Structure
38417
38561
  end
38418
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
+
38419
38601
  # @!attribute [rw] dry_run
38420
38602
  # Checks whether you have the required permissions for the action,
38421
38603
  # without actually making the request, and provides an error response.
@@ -41354,6 +41536,12 @@ module Aws::EC2
41354
41536
  # versions: `ikev1` or `ikev2`.
41355
41537
  # @return [String]
41356
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
+ #
41357
41545
  # @!attribute [rw] dry_run
41358
41546
  # Checks whether you have the required permissions for the action,
41359
41547
  # without actually making the request, and provides an error response.
@@ -41367,6 +41555,7 @@ module Aws::EC2
41367
41555
  :vpn_connection_id,
41368
41556
  :vpn_connection_device_type_id,
41369
41557
  :internet_key_exchange_version,
41558
+ :sample_type,
41370
41559
  :dry_run)
41371
41560
  SENSITIVE = []
41372
41561
  include Aws::Structure
@@ -42264,8 +42453,9 @@ module Aws::EC2
42264
42453
  # @return [String]
42265
42454
  #
42266
42455
  # @!attribute [rw] boot_mode
42267
- # The boot mode of the image. For more information, see [Boot
42268
- # 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*.
42269
42459
  #
42270
42460
  #
42271
42461
  #
@@ -42353,8 +42543,8 @@ module Aws::EC2
42353
42543
  # CopyImage, or CreateRestoreImageTask. The ID does not appear if the
42354
42544
  # AMI was created using any other API. For some older AMIs, the ID
42355
42545
  # might not be available. For more information, see [Identify the
42356
- # source AMI used to create a new AMI][1] in the *Amazon EC2 User
42357
- # Guide*.
42546
+ # source AMI used to create a new Amazon EC2 AMI][1] in the *Amazon
42547
+ # EC2 User Guide*.
42358
42548
  #
42359
42549
  #
42360
42550
  #
@@ -42368,8 +42558,8 @@ module Aws::EC2
42368
42558
  # CopyImage, or CreateRestoreImageTask. The Region does not appear if
42369
42559
  # the AMI was created using any other API. For some older AMIs, the
42370
42560
  # Region might not be available. For more information, see [Identify
42371
- # the source AMI used to create a new AMI][1] in the *Amazon EC2 User
42372
- # Guide*.
42561
+ # the source AMI used to create a new Amazon EC2 AMI][1] in the
42562
+ # *Amazon EC2 User Guide*.
42373
42563
  #
42374
42564
  #
42375
42565
  #
@@ -42506,7 +42696,8 @@ module Aws::EC2
42506
42696
  # retrieve the UEFI data, use the [GetInstanceUefiData][1] command.
42507
42697
  # You can inspect and modify the UEFI data by using the
42508
42698
  # [python-uefivars tool][2] on GitHub. For more information, see [UEFI
42509
- # Secure Boot][3] in the *Amazon EC2 User Guide*.
42699
+ # Secure Boot for Amazon EC2 instances][3] in the *Amazon EC2 User
42700
+ # Guide*.
42510
42701
  #
42511
42702
  #
42512
42703
  #
@@ -44892,10 +45083,33 @@ module Aws::EC2
44892
45083
  # your instance.
44893
45084
  # @return [String]
44894
45085
  #
45086
+ # @!attribute [rw] reboot_migration
45087
+ # Specifies whether to attempt reboot migration during a
45088
+ # user-initiated reboot of an instance that has a scheduled
45089
+ # `system-reboot` event:
45090
+ #
45091
+ # * `default` - Amazon EC2 attempts to migrate the instance to new
45092
+ # hardware (reboot migration). If successful, the `system-reboot`
45093
+ # event is cleared. If unsuccessful, an in-place reboot occurs and
45094
+ # the event remains scheduled.
45095
+ #
45096
+ # * `disabled` - Amazon EC2 keeps the instance on the same hardware
45097
+ # (in-place reboot). The `system-reboot` event remains scheduled.
45098
+ #
45099
+ # This setting only applies to supported instances that have a
45100
+ # scheduled reboot event. For more information, see [Enable or disable
45101
+ # reboot migration][1] in the *Amazon EC2 User Guide*.
45102
+ #
45103
+ #
45104
+ #
45105
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/schedevents_actions_reboot.html#reboot-migration
45106
+ # @return [String]
45107
+ #
44895
45108
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceMaintenanceOptions AWS API Documentation
44896
45109
  #
44897
45110
  class InstanceMaintenanceOptions < Struct.new(
44898
- :auto_recovery)
45111
+ :auto_recovery,
45112
+ :reboot_migration)
44899
45113
  SENSITIVE = []
44900
45114
  include Aws::Structure
44901
45115
  end
@@ -45229,7 +45443,7 @@ module Aws::EC2
45229
45443
  # @!attribute [rw] interface_type
45230
45444
  # The type of network interface.
45231
45445
  #
45232
- # Valid values: `interface` \| `efa` \| `efa-only` \| `trunk`
45446
+ # Valid values: `interface` \| `efa` \| `efa-only` \| `evs` \| `trunk`
45233
45447
  # @return [String]
45234
45448
  #
45235
45449
  # @!attribute [rw] ipv_4_prefixes
@@ -47167,6 +47381,17 @@ module Aws::EC2
47167
47381
  # clock (PHC) is supported.
47168
47382
  # @return [String]
47169
47383
  #
47384
+ # @!attribute [rw] reboot_migration_support
47385
+ # Indicates whether reboot migration during a user-initiated reboot is
47386
+ # supported for instances that have a scheduled `system-reboot` event.
47387
+ # For more information, see [Enable or disable reboot migration][1] in
47388
+ # the *Amazon EC2 User Guide*.
47389
+ #
47390
+ #
47391
+ #
47392
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/schedevents_actions_reboot.html#reboot-migration
47393
+ # @return [String]
47394
+ #
47170
47395
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceTypeInfo AWS API Documentation
47171
47396
  #
47172
47397
  class InstanceTypeInfo < Struct.new(
@@ -47199,7 +47424,8 @@ module Aws::EC2
47199
47424
  :nitro_tpm_info,
47200
47425
  :media_accelerator_info,
47201
47426
  :neuron_info,
47202
- :phc_support)
47427
+ :phc_support,
47428
+ :reboot_migration_support)
47203
47429
  SENSITIVE = []
47204
47430
  include Aws::Structure
47205
47431
  end
@@ -54008,6 +54234,28 @@ module Aws::EC2
54008
54234
  # to default.
54009
54235
  # @return [String]
54010
54236
  #
54237
+ # @!attribute [rw] reboot_migration
54238
+ # Specifies whether to attempt reboot migration during a
54239
+ # user-initiated reboot of an instance that has a scheduled
54240
+ # `system-reboot` event:
54241
+ #
54242
+ # * `default` - Amazon EC2 attempts to migrate the instance to new
54243
+ # hardware (reboot migration). If successful, the `system-reboot`
54244
+ # event is cleared. If unsuccessful, an in-place reboot occurs and
54245
+ # the event remains scheduled.
54246
+ #
54247
+ # * `disabled` - Amazon EC2 keeps the instance on the same hardware
54248
+ # (in-place reboot). The `system-reboot` event remains scheduled.
54249
+ #
54250
+ # This setting only applies to supported instances that have a
54251
+ # scheduled reboot event. For more information, see [Enable or disable
54252
+ # reboot migration][1] in the *Amazon EC2 User Guide*.
54253
+ #
54254
+ #
54255
+ #
54256
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/schedevents_actions_reboot.html#reboot-migration
54257
+ # @return [String]
54258
+ #
54011
54259
  # @!attribute [rw] dry_run
54012
54260
  # Checks whether you have the required permissions for the action,
54013
54261
  # without actually making the request, and provides an error response.
@@ -54020,6 +54268,7 @@ module Aws::EC2
54020
54268
  class ModifyInstanceMaintenanceOptionsRequest < Struct.new(
54021
54269
  :instance_id,
54022
54270
  :auto_recovery,
54271
+ :reboot_migration,
54023
54272
  :dry_run)
54024
54273
  SENSITIVE = []
54025
54274
  include Aws::Structure
@@ -54034,11 +54283,34 @@ module Aws::EC2
54034
54283
  # your instance.
54035
54284
  # @return [String]
54036
54285
  #
54286
+ # @!attribute [rw] reboot_migration
54287
+ # Specifies whether to attempt reboot migration during a
54288
+ # user-initiated reboot of an instance that has a scheduled
54289
+ # `system-reboot` event:
54290
+ #
54291
+ # * `default` - Amazon EC2 attempts to migrate the instance to new
54292
+ # hardware (reboot migration). If successful, the `system-reboot`
54293
+ # event is cleared. If unsuccessful, an in-place reboot occurs and
54294
+ # the event remains scheduled.
54295
+ #
54296
+ # * `disabled` - Amazon EC2 keeps the instance on the same hardware
54297
+ # (in-place reboot). The `system-reboot` event remains scheduled.
54298
+ #
54299
+ # This setting only applies to supported instances that have a
54300
+ # scheduled reboot event. For more information, see [Enable or disable
54301
+ # reboot migration][1] in the *Amazon EC2 User Guide*.
54302
+ #
54303
+ #
54304
+ #
54305
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/schedevents_actions_reboot.html#reboot-migration
54306
+ # @return [String]
54307
+ #
54037
54308
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceMaintenanceOptionsResult AWS API Documentation
54038
54309
  #
54039
54310
  class ModifyInstanceMaintenanceOptionsResult < Struct.new(
54040
54311
  :instance_id,
54041
- :auto_recovery)
54312
+ :auto_recovery,
54313
+ :reboot_migration)
54042
54314
  SENSITIVE = []
54043
54315
  include Aws::Structure
54044
54316
  end
@@ -54967,6 +55239,10 @@ module Aws::EC2
54967
55239
  # will only apply to the primary network interface (eth0).
54968
55240
  # @return [Boolean]
54969
55241
  #
55242
+ # @!attribute [rw] associated_subnet_ids
55243
+ # A list of subnet IDs to associate with the network interface.
55244
+ # @return [Array<String>]
55245
+ #
54970
55246
  # @!attribute [rw] dry_run
54971
55247
  # Checks whether you have the required permissions for the action,
54972
55248
  # without actually making the request, and provides an error response.
@@ -55012,6 +55288,7 @@ module Aws::EC2
55012
55288
  :enable_primary_ipv_6,
55013
55289
  :connection_tracking_specification,
55014
55290
  :associate_public_ip_address,
55291
+ :associated_subnet_ids,
55015
55292
  :dry_run,
55016
55293
  :network_interface_id,
55017
55294
  :description,
@@ -55076,6 +55353,65 @@ module Aws::EC2
55076
55353
  include Aws::Structure
55077
55354
  end
55078
55355
 
55356
+ # @!attribute [rw] network_interface_id
55357
+ # A network interface ID.
55358
+ # @return [String]
55359
+ #
55360
+ # @!attribute [rw] hostname_type
55361
+ # The public hostname type. For more information, see [EC2 instance
55362
+ # hostnames, DNS names, and domains][1] in the *Amazon EC2 User
55363
+ # Guide*.
55364
+ #
55365
+ # * `public-dual-stack-dns-name`: A dual-stack public hostname for a
55366
+ # network interface. Requests from within the VPC resolve to both
55367
+ # the private IPv4 address and the IPv6 Global Unicast Address of
55368
+ # the network interface. Requests from the internet resolve to both
55369
+ # the public IPv4 and the IPv6 GUA address of the network interface.
55370
+ #
55371
+ # * `public-ipv4-dns-name`: An IPv4-enabled public hostname for a
55372
+ # network interface. Requests from within the VPC resolve to the
55373
+ # private primary IPv4 address of the network interface. Requests
55374
+ # from the internet resolve to the public IPv4 address of the
55375
+ # network interface.
55376
+ #
55377
+ # * `public-ipv6-dns-name`: An IPv6-enabled public hostname for a
55378
+ # network interface. Requests from within the VPC or from the
55379
+ # internet resolve to the IPv6 GUA of the network interface.
55380
+ #
55381
+ #
55382
+ #
55383
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html
55384
+ # @return [String]
55385
+ #
55386
+ # @!attribute [rw] dry_run
55387
+ # Checks whether you have the required permissions for the operation,
55388
+ # without actually making the request, and provides an error response.
55389
+ # If you have the required permissions, the error response is
55390
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
55391
+ # @return [Boolean]
55392
+ #
55393
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyPublicIpDnsNameOptionsRequest AWS API Documentation
55394
+ #
55395
+ class ModifyPublicIpDnsNameOptionsRequest < Struct.new(
55396
+ :network_interface_id,
55397
+ :hostname_type,
55398
+ :dry_run)
55399
+ SENSITIVE = []
55400
+ include Aws::Structure
55401
+ end
55402
+
55403
+ # @!attribute [rw] successful
55404
+ # Whether or not the request was successful.
55405
+ # @return [Boolean]
55406
+ #
55407
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyPublicIpDnsNameOptionsResult AWS API Documentation
55408
+ #
55409
+ class ModifyPublicIpDnsNameOptionsResult < Struct.new(
55410
+ :successful)
55411
+ SENSITIVE = []
55412
+ include Aws::Structure
55413
+ end
55414
+
55079
55415
  # Contains the parameters for ModifyReservedInstances.
55080
55416
  #
55081
55417
  # @!attribute [rw] reserved_instances_ids
@@ -57534,6 +57870,12 @@ module Aws::EC2
57534
57870
  # Valid values: `True` \| `False`
57535
57871
  # @return [Boolean]
57536
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
+ #
57537
57879
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpnTunnelOptionsRequest AWS API Documentation
57538
57880
  #
57539
57881
  class ModifyVpnTunnelOptionsRequest < Struct.new(
@@ -57541,7 +57883,8 @@ module Aws::EC2
57541
57883
  :vpn_tunnel_outside_ip_address,
57542
57884
  :tunnel_options,
57543
57885
  :dry_run,
57544
- :skip_tunnel_replacement)
57886
+ :skip_tunnel_replacement,
57887
+ :pre_shared_key_storage)
57545
57888
  SENSITIVE = [:tunnel_options]
57546
57889
  include Aws::Structure
57547
57890
  end
@@ -58890,9 +59233,35 @@ module Aws::EC2
58890
59233
  # @return [String]
58891
59234
  #
58892
59235
  # @!attribute [rw] private_dns_name
58893
- # The private DNS name.
59236
+ # The private hostname. For more information, see [EC2 instance
59237
+ # hostnames, DNS names, and domains][1] in the *Amazon EC2 User
59238
+ # Guide*.
59239
+ #
59240
+ #
59241
+ #
59242
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html
59243
+ # @return [String]
59244
+ #
59245
+ # @!attribute [rw] public_dns_name
59246
+ # A public hostname. For more information, see [EC2 instance
59247
+ # hostnames, DNS names, and domains][1] in the *Amazon EC2 User
59248
+ # Guide*.
59249
+ #
59250
+ #
59251
+ #
59252
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html
58894
59253
  # @return [String]
58895
59254
  #
59255
+ # @!attribute [rw] public_ip_dns_name_options
59256
+ # Public hostname type options. For more information, see [EC2
59257
+ # instance hostnames, DNS names, and domains][1] in the *Amazon EC2
59258
+ # User Guide*.
59259
+ #
59260
+ #
59261
+ #
59262
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html
59263
+ # @return [Types::PublicIpDnsNameOptions]
59264
+ #
58896
59265
  # @!attribute [rw] private_ip_address
58897
59266
  # The IPv4 address of the network interface within the subnet.
58898
59267
  # @return [String]
@@ -58961,6 +59330,10 @@ module Aws::EC2
58961
59330
  # The service provider that manages the network interface.
58962
59331
  # @return [Types::OperatorResponse]
58963
59332
  #
59333
+ # @!attribute [rw] associated_subnets
59334
+ # The subnets associated with this network interface.
59335
+ # @return [Array<String>]
59336
+ #
58964
59337
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NetworkInterface AWS API Documentation
58965
59338
  #
58966
59339
  class NetworkInterface < Struct.new(
@@ -58977,6 +59350,8 @@ module Aws::EC2
58977
59350
  :outpost_arn,
58978
59351
  :owner_id,
58979
59352
  :private_dns_name,
59353
+ :public_dns_name,
59354
+ :public_ip_dns_name_options,
58980
59355
  :private_ip_address,
58981
59356
  :private_ip_addresses,
58982
59357
  :ipv_4_prefixes,
@@ -58991,7 +59366,8 @@ module Aws::EC2
58991
59366
  :deny_all_igw_traffic,
58992
59367
  :ipv_6_native,
58993
59368
  :ipv_6_address,
58994
- :operator)
59369
+ :operator,
59370
+ :associated_subnets)
58995
59371
  SENSITIVE = []
58996
59372
  include Aws::Structure
58997
59373
  end
@@ -59186,6 +59562,18 @@ module Aws::EC2
59186
59562
  # The IPv6 address.
59187
59563
  # @return [String]
59188
59564
  #
59565
+ # @!attribute [rw] public_ipv_6_dns_name
59566
+ # An IPv6-enabled public hostname for a network interface. Requests
59567
+ # from within the VPC or from the internet resolve to the IPv6 GUA of
59568
+ # the network interface. For more information, see [EC2 instance
59569
+ # hostnames, DNS names, and domains][1] in the *Amazon EC2 User
59570
+ # Guide*.
59571
+ #
59572
+ #
59573
+ #
59574
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html
59575
+ # @return [String]
59576
+ #
59189
59577
  # @!attribute [rw] is_primary_ipv_6
59190
59578
  # Determines if an IPv6 address associated with a network interface is
59191
59579
  # the primary IPv6 address. When you enable an IPv6 GUA address to be
@@ -59203,6 +59591,7 @@ module Aws::EC2
59203
59591
  #
59204
59592
  class NetworkInterfaceIpv6Address < Struct.new(
59205
59593
  :ipv_6_address,
59594
+ :public_ipv_6_dns_name,
59206
59595
  :is_primary_ipv_6)
59207
59596
  SENSITIVE = []
59208
59597
  include Aws::Structure
@@ -61413,6 +61802,55 @@ module Aws::EC2
61413
61802
  include Aws::Structure
61414
61803
  end
61415
61804
 
61805
+ # Public hostname type options. For more information, see [EC2 instance
61806
+ # hostnames, DNS names, and domains][1] in the *Amazon EC2 User Guide*.
61807
+ #
61808
+ #
61809
+ #
61810
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html
61811
+ #
61812
+ # @!attribute [rw] dns_hostname_type
61813
+ # The public hostname type. For more information, see [EC2 instance
61814
+ # hostnames, DNS names, and domains][1] in the *Amazon EC2 User
61815
+ # Guide*.
61816
+ #
61817
+ #
61818
+ #
61819
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html
61820
+ # @return [String]
61821
+ #
61822
+ # @!attribute [rw] public_ipv_4_dns_name
61823
+ # An IPv4-enabled public hostname for a network interface. Requests
61824
+ # from within the VPC resolve to the private primary IPv4 address of
61825
+ # the network interface. Requests from the internet resolve to the
61826
+ # public IPv4 address of the network interface.
61827
+ # @return [String]
61828
+ #
61829
+ # @!attribute [rw] public_ipv_6_dns_name
61830
+ # An IPv6-enabled public hostname for a network interface. Requests
61831
+ # from within the VPC or from the internet resolve to the IPv6 GUA of
61832
+ # the network interface.
61833
+ # @return [String]
61834
+ #
61835
+ # @!attribute [rw] public_dual_stack_dns_name
61836
+ # A dual-stack public hostname for a network interface. Requests from
61837
+ # within the VPC resolve to both the private IPv4 address and the IPv6
61838
+ # Global Unicast Address of the network interface. Requests from the
61839
+ # internet resolve to both the public IPv4 and the IPv6 GUA address of
61840
+ # the network interface.
61841
+ # @return [String]
61842
+ #
61843
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PublicIpDnsNameOptions AWS API Documentation
61844
+ #
61845
+ class PublicIpDnsNameOptions < Struct.new(
61846
+ :dns_hostname_type,
61847
+ :public_ipv_4_dns_name,
61848
+ :public_ipv_6_dns_name,
61849
+ :public_dual_stack_dns_name)
61850
+ SENSITIVE = []
61851
+ include Aws::Structure
61852
+ end
61853
+
61416
61854
  # Describes an IPv4 address pool.
61417
61855
  #
61418
61856
  # @!attribute [rw] pool_id
@@ -61972,8 +62410,8 @@ module Aws::EC2
61972
62410
  # The full path to your AMI manifest in Amazon S3 storage. The
61973
62411
  # specified bucket must have the `aws-exec-read` canned access control
61974
62412
  # list (ACL) to ensure that it can be accessed by Amazon EC2. For more
61975
- # information, see [Canned ACLs][1] in the *Amazon S3 Service
61976
- # Developer Guide*.
62413
+ # information, see [Canned ACL][1] in the *Amazon S3 Service Developer
62414
+ # Guide*.
61977
62415
  #
61978
62416
  #
61979
62417
  #
@@ -61988,8 +62426,10 @@ module Aws::EC2
61988
62426
  # you can publish AMIs that include billable software and list them on
61989
62427
  # the Amazon Web Services Marketplace. You must first register as a
61990
62428
  # seller on the Amazon Web Services Marketplace. For more information,
61991
- # see [Getting started as a seller][1] and [AMI-based products][2] in
61992
- # 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*.
61993
62433
  #
61994
62434
  #
61995
62435
  #
@@ -62006,8 +62446,8 @@ module Aws::EC2
62006
62446
  #
62007
62447
  # </note>
62008
62448
  #
62009
- # For more information, see [Boot modes][1] in the *Amazon EC2 User
62010
- # Guide*.
62449
+ # For more information, see [Instance launch behavior with Amazon EC2
62450
+ # boot modes][1] in the *Amazon EC2 User Guide*.
62011
62451
  #
62012
62452
  #
62013
62453
  #
@@ -62028,7 +62468,8 @@ module Aws::EC2
62028
62468
  # retrieve the UEFI data, use the [GetInstanceUefiData][1] command.
62029
62469
  # You can inspect and modify the UEFI data by using the
62030
62470
  # [python-uefivars tool][2] on GitHub. For more information, see [UEFI
62031
- # Secure Boot][3] in the *Amazon EC2 User Guide*.
62471
+ # Secure Boot for Amazon EC2 instances][3] in the *Amazon EC2 User
62472
+ # Guide*.
62032
62473
  #
62033
62474
  #
62034
62475
  #
@@ -62117,8 +62558,8 @@ module Aws::EC2
62117
62558
  # If you create an AMI on an Outpost, then all backing snapshots must
62118
62559
  # be on the same Outpost or in the Region of that Outpost. AMIs on an
62119
62560
  # Outpost that include local snapshots can be used to launch instances
62120
- # on the same Outpost only. For more information, [Amazon EBS local
62121
- # 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*.
62122
62563
  #
62123
62564
  #
62124
62565
  #
@@ -71258,12 +71699,30 @@ module Aws::EC2
71258
71699
  # The state of VPC Block Public Access (BPA).
71259
71700
  # @return [Types::BlockPublicAccessStates]
71260
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
+ #
71261
71713
  # @!attribute [rw] subnet_id
71262
71714
  # The ID of the subnet.
71263
71715
  # @return [String]
71264
71716
  #
71265
71717
  # @!attribute [rw] state
71266
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.
71267
71726
  # @return [String]
71268
71727
  #
71269
71728
  # @!attribute [rw] vpc_id
@@ -71319,6 +71778,7 @@ module Aws::EC2
71319
71778
  :ipv_6_native,
71320
71779
  :private_dns_name_options_on_launch,
71321
71780
  :block_public_access_states,
71781
+ :type,
71322
71782
  :subnet_id,
71323
71783
  :state,
71324
71784
  :vpc_id,
@@ -77080,6 +77540,11 @@ module Aws::EC2
77080
77540
  # Information about the VPN tunnel.
77081
77541
  # @return [Array<Types::VgwTelemetry>]
77082
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
+ #
77083
77548
  # @!attribute [rw] vpn_connection_id
77084
77549
  # The ID of the VPN connection.
77085
77550
  # @return [String]
@@ -77121,6 +77586,7 @@ module Aws::EC2
77121
77586
  :routes,
77122
77587
  :tags,
77123
77588
  :vgw_telemetry,
77589
+ :pre_shared_key_arn,
77124
77590
  :vpn_connection_id,
77125
77591
  :state,
77126
77592
  :customer_gateway_configuration,