aws-sdk-ec2 1.670.0 → 1.672.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.
@@ -367,6 +367,17 @@ module Aws::EC2
367
367
  #
368
368
  # @!attribute [rw] vpc_endpoint_ids
369
369
  # The IDs of the interface VPC endpoints.
370
+ #
371
+ # You must specify either `VpcEndpointIds` or
372
+ # `TransitGatewayAttachmentIds`, but not both.
373
+ # @return [Array<String>]
374
+ #
375
+ # @!attribute [rw] transit_gateway_attachment_ids
376
+ # The IDs of the transit gateway attachments to accept. This parameter
377
+ # is supported only for Gateway Load Balancer endpoint services.
378
+ #
379
+ # You must specify either `VpcEndpointIds` or
380
+ # `TransitGatewayAttachmentIds`, but not both.
370
381
  # @return [Array<String>]
371
382
  #
372
383
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AcceptVpcEndpointConnectionsRequest AWS API Documentation
@@ -374,7 +385,8 @@ module Aws::EC2
374
385
  class AcceptVpcEndpointConnectionsRequest < Struct.new(
375
386
  :dry_run,
376
387
  :service_id,
377
- :vpc_endpoint_ids)
388
+ :vpc_endpoint_ids,
389
+ :transit_gateway_attachment_ids)
378
390
  SENSITIVE = []
379
391
  include Aws::Structure
380
392
  end
@@ -626,7 +638,8 @@ module Aws::EC2
626
638
  # @return [String]
627
639
  #
628
640
  # @!attribute [rw] global_accelerator
629
- # The exclusion configuration for AWS Global Accelerator.
641
+ # The exclusion configuration for Amazon Web Services Global
642
+ # Accelerator.
630
643
  # @return [String]
631
644
  #
632
645
  # @!attribute [rw] api_gateway_v2
@@ -682,6 +695,26 @@ module Aws::EC2
682
695
  include Aws::Structure
683
696
  end
684
697
 
698
+ # Describes an additional key exchange round negotiated for an active
699
+ # VPN tunnel.
700
+ #
701
+ # @!attribute [rw] additional_key_exchange_round
702
+ # The additional key exchange round number.
703
+ # @return [Integer]
704
+ #
705
+ # @!attribute [rw] key_exchange_method
706
+ # The key exchange method number negotiated for this round.
707
+ # @return [Integer]
708
+ #
709
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ActiveVpnTunnelAdditionalKeyExchange AWS API Documentation
710
+ #
711
+ class ActiveVpnTunnelAdditionalKeyExchange < Struct.new(
712
+ :additional_key_exchange_round,
713
+ :key_exchange_method)
714
+ SENSITIVE = []
715
+ include Aws::Structure
716
+ end
717
+
685
718
  # Contains information about the current security configuration of an
686
719
  # active VPN tunnel.
687
720
  #
@@ -723,6 +756,14 @@ module Aws::EC2
723
756
  # The reason for the current provisioning status.
724
757
  # @return [String]
725
758
  #
759
+ # @!attribute [rw] phase_1_additional_key_exchanges
760
+ # The additional key exchanges negotiated in Phase 1 IKE negotiations.
761
+ # @return [Array<Types::ActiveVpnTunnelAdditionalKeyExchange>]
762
+ #
763
+ # @!attribute [rw] phase_2_additional_key_exchanges
764
+ # The additional key exchanges negotiated in Phase 2 IKE negotiations.
765
+ # @return [Array<Types::ActiveVpnTunnelAdditionalKeyExchange>]
766
+ #
726
767
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ActiveVpnTunnelStatus AWS API Documentation
727
768
  #
728
769
  class ActiveVpnTunnelStatus < Struct.new(
@@ -734,7 +775,9 @@ module Aws::EC2
734
775
  :phase_2_dh_group,
735
776
  :ike_version,
736
777
  :provisioning_status,
737
- :provisioning_status_reason)
778
+ :provisioning_status_reason,
779
+ :phase_1_additional_key_exchanges,
780
+ :phase_2_additional_key_exchanges)
738
781
  SENSITIVE = []
739
782
  include Aws::Structure
740
783
  end
@@ -855,13 +898,18 @@ module Aws::EC2
855
898
  # The ID of the service.
856
899
  # @return [String]
857
900
  #
901
+ # @!attribute [rw] permission_type
902
+ # The type of permission granted to the principal.
903
+ # @return [String]
904
+ #
858
905
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AddedPrincipal AWS API Documentation
859
906
  #
860
907
  class AddedPrincipal < Struct.new(
861
908
  :principal_type,
862
909
  :principal,
863
910
  :service_permission_id,
864
- :service_id)
911
+ :service_id,
912
+ :permission_type)
865
913
  SENSITIVE = []
866
914
  include Aws::Structure
867
915
  end
@@ -920,6 +968,36 @@ module Aws::EC2
920
968
  include Aws::Structure
921
969
  end
922
970
 
971
+ # The key exchange method number that is permitted for an additional key
972
+ # exchange round.
973
+ #
974
+ # @!attribute [rw] value
975
+ # The key exchange method number.
976
+ # @return [Integer]
977
+ #
978
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AdditionalKeyExchangeMethodsListValue AWS API Documentation
979
+ #
980
+ class AdditionalKeyExchangeMethodsListValue < Struct.new(
981
+ :value)
982
+ SENSITIVE = []
983
+ include Aws::Structure
984
+ end
985
+
986
+ # Specifies a key exchange method number that is permitted for an
987
+ # additional key exchange round.
988
+ #
989
+ # @!attribute [rw] value
990
+ # The key exchange method number.
991
+ # @return [Integer]
992
+ #
993
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AdditionalKeyExchangeMethodsRequestListValue AWS API Documentation
994
+ #
995
+ class AdditionalKeyExchangeMethodsRequestListValue < Struct.new(
996
+ :value)
997
+ SENSITIVE = []
998
+ include Aws::Structure
999
+ end
1000
+
923
1001
  # Describes an Elastic IP address, or a carrier IP address.
924
1002
  #
925
1003
  # @!attribute [rw] allocation_id
@@ -1567,6 +1645,10 @@ module Aws::EC2
1567
1645
  # The ID of the service.
1568
1646
  # @return [String]
1569
1647
  #
1648
+ # @!attribute [rw] permission_type
1649
+ # The type of permission granted to the principal.
1650
+ # @return [String]
1651
+ #
1570
1652
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AllowedPrincipal AWS API Documentation
1571
1653
  #
1572
1654
  class AllowedPrincipal < Struct.new(
@@ -1574,7 +1656,8 @@ module Aws::EC2
1574
1656
  :principal,
1575
1657
  :service_permission_id,
1576
1658
  :tags,
1577
- :service_id)
1659
+ :service_id,
1660
+ :permission_type)
1578
1661
  SENSITIVE = []
1579
1662
  include Aws::Structure
1580
1663
  end
@@ -3102,6 +3185,45 @@ module Aws::EC2
3102
3185
  include Aws::Structure
3103
3186
  end
3104
3187
 
3188
+ # @!attribute [rw] snapshot_id
3189
+ # The ID of the Amazon EBS snapshot.
3190
+ # @return [String]
3191
+ #
3192
+ # @!attribute [rw] kms_key_id
3193
+ # The ID, alias, or ARN of the KMS key to associate with the snapshot.
3194
+ # You can specify a key ID, key alias, key ARN, or alias ARN.
3195
+ # @return [String]
3196
+ #
3197
+ # @!attribute [rw] dry_run
3198
+ # Checks whether you have the required permissions for the action,
3199
+ # without actually making the request, and provides an error response.
3200
+ # If you have the required permissions, the error response is
3201
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
3202
+ # @return [Boolean]
3203
+ #
3204
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateKmsKeyIdRequest AWS API Documentation
3205
+ #
3206
+ class AssociateKmsKeyIdRequest < Struct.new(
3207
+ :snapshot_id,
3208
+ :kms_key_id,
3209
+ :dry_run)
3210
+ SENSITIVE = []
3211
+ include Aws::Structure
3212
+ end
3213
+
3214
+ # @!attribute [rw] return
3215
+ # Returns `true` if the request succeeds; otherwise, it returns an
3216
+ # error.
3217
+ # @return [Boolean]
3218
+ #
3219
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateKmsKeyIdResult AWS API Documentation
3220
+ #
3221
+ class AssociateKmsKeyIdResult < Struct.new(
3222
+ :return)
3223
+ SENSITIVE = []
3224
+ include Aws::Structure
3225
+ end
3226
+
3105
3227
  # @!attribute [rw] nat_gateway_id
3106
3228
  # The ID of the NAT gateway.
3107
3229
  # @return [String]
@@ -3735,6 +3857,23 @@ module Aws::EC2
3735
3857
  include Aws::Structure
3736
3858
  end
3737
3859
 
3860
+ # Describes an KMS key that is associated with an Amazon EBS snapshot,
3861
+ # in addition to the key the snapshot is encrypted under. An associated
3862
+ # key provides a second way to access the snapshot's data for
3863
+ # cross-account sharing and copying.
3864
+ #
3865
+ # @!attribute [rw] kms_key_id
3866
+ # The Amazon Resource Name (ARN) of the associated KMS key.
3867
+ # @return [String]
3868
+ #
3869
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociatedKmsKey AWS API Documentation
3870
+ #
3871
+ class AssociatedKmsKey < Struct.new(
3872
+ :kms_key_id)
3873
+ SENSITIVE = []
3874
+ include Aws::Structure
3875
+ end
3876
+
3738
3877
  # Information about the associated IAM roles.
3739
3878
  #
3740
3879
  # @!attribute [rw] associated_role_arn
@@ -6209,6 +6348,22 @@ module Aws::EC2
6209
6348
  include Aws::Structure
6210
6349
  end
6211
6350
 
6351
+ # Instance type preference for a Capacity Block search. Specifies one or
6352
+ # more instance types to evaluate when searching for available Capacity
6353
+ # Blocks.
6354
+ #
6355
+ # @!attribute [rw] instance_type
6356
+ # The instance type to consider in the Capacity Block search.
6357
+ # @return [String]
6358
+ #
6359
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CapacityBlockInstanceTypePreference AWS API Documentation
6360
+ #
6361
+ class CapacityBlockInstanceTypePreference < Struct.new(
6362
+ :instance_type)
6363
+ SENSITIVE = []
6364
+ include Aws::Structure
6365
+ end
6366
+
6212
6367
  # The recommended Capacity Block that fits your search requirements.
6213
6368
  #
6214
6369
  # @!attribute [rw] capacity_block_offering_id
@@ -6273,6 +6428,12 @@ module Aws::EC2
6273
6428
  # The type of zone where the Capacity Block offering is available.
6274
6429
  # @return [String]
6275
6430
  #
6431
+ # @!attribute [rw] capacity_block_offering_segments
6432
+ # The individual segments that compose the Capacity Block offering.
6433
+ # Each segment describes a distinct block of capacity with its own
6434
+ # Availability Zone, instance type, schedule, and pricing.
6435
+ # @return [Array<Types::CapacityBlockOfferingSegment>]
6436
+ #
6276
6437
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CapacityBlockOffering AWS API Documentation
6277
6438
  #
6278
6439
  class CapacityBlockOffering < Struct.new(
@@ -6289,6 +6450,78 @@ module Aws::EC2
6289
6450
  :ultraserver_type,
6290
6451
  :ultraserver_count,
6291
6452
  :capacity_block_duration_minutes,
6453
+ :zone_type,
6454
+ :capacity_block_offering_segments)
6455
+ SENSITIVE = []
6456
+ include Aws::Structure
6457
+ end
6458
+
6459
+ # Describes an individual segment within a Capacity Block offering. Each
6460
+ # segment represents a distinct block of capacity with its own
6461
+ # Availability Zone, instance type, duration, pricing, and schedule.
6462
+ #
6463
+ # @!attribute [rw] instance_type
6464
+ # The instance type of the Capacity Block offering segment.
6465
+ # @return [String]
6466
+ #
6467
+ # @!attribute [rw] availability_zone
6468
+ # The Availability Zone of the Capacity Block offering segment.
6469
+ # @return [String]
6470
+ #
6471
+ # @!attribute [rw] availability_zone_id
6472
+ # The ID of the Availability Zone for the Capacity Block offering
6473
+ # segment.
6474
+ # @return [String]
6475
+ #
6476
+ # @!attribute [rw] instance_count
6477
+ # The number of instances in the Capacity Block offering segment.
6478
+ # @return [Integer]
6479
+ #
6480
+ # @!attribute [rw] start_date
6481
+ # The start date of the Capacity Block offering segment.
6482
+ # @return [Time]
6483
+ #
6484
+ # @!attribute [rw] end_date
6485
+ # The end date of the Capacity Block offering segment.
6486
+ # @return [Time]
6487
+ #
6488
+ # @!attribute [rw] capacity_block_duration_hours
6489
+ # The number of hours for the duration of the Capacity Block offering
6490
+ # segment.
6491
+ # @return [Integer]
6492
+ #
6493
+ # @!attribute [rw] capacity_block_duration_minutes
6494
+ # The number of minutes for the duration of the Capacity Block
6495
+ # offering segment.
6496
+ # @return [Integer]
6497
+ #
6498
+ # @!attribute [rw] upfront_fee
6499
+ # The total price to be paid up front for the Capacity Block offering
6500
+ # segment.
6501
+ # @return [String]
6502
+ #
6503
+ # @!attribute [rw] currency_code
6504
+ # The currency of the payment for the Capacity Block offering segment.
6505
+ # @return [String]
6506
+ #
6507
+ # @!attribute [rw] zone_type
6508
+ # The type of zone where the Capacity Block offering segment is
6509
+ # available.
6510
+ # @return [String]
6511
+ #
6512
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CapacityBlockOfferingSegment AWS API Documentation
6513
+ #
6514
+ class CapacityBlockOfferingSegment < Struct.new(
6515
+ :instance_type,
6516
+ :availability_zone,
6517
+ :availability_zone_id,
6518
+ :instance_count,
6519
+ :start_date,
6520
+ :end_date,
6521
+ :capacity_block_duration_hours,
6522
+ :capacity_block_duration_minutes,
6523
+ :upfront_fee,
6524
+ :currency_code,
6292
6525
  :zone_type)
6293
6526
  SENSITIVE = []
6294
6527
  include Aws::Structure
@@ -15172,6 +15405,43 @@ module Aws::EC2
15172
15405
  include Aws::Structure
15173
15406
  end
15174
15407
 
15408
+ # The VPC peering connection options to apply to the requester VPC when
15409
+ # you create a VPC peering connection.
15410
+ #
15411
+ # @!attribute [rw] allow_multipath_resilience
15412
+ # Specifies whether you allow multipath resilience for the requester
15413
+ # VPC. Multipath resilience is supported only for inter-Region VPC
15414
+ # peering connections between supported Regions. It takes effect only
15415
+ # when both the requester and the accepter allow it. Accepting the VPC
15416
+ # peering connection request also allows multipath resilience for the
15417
+ # accepter VPC. If you don't specify this parameter, the default is
15418
+ # `false`.
15419
+ # @return [Boolean]
15420
+ #
15421
+ # @!attribute [rw] multipath_resilience_mode
15422
+ # The multipath resilience mode. You can specify this parameter only
15423
+ # if `AllowMultipathResilience` is `true`.
15424
+ #
15425
+ # The following value is valid:
15426
+ #
15427
+ # * `always-on` – Replicates traffic across multiple network paths
15428
+ # while multipath resilience is in effect.
15429
+ #
15430
+ # ^
15431
+ #
15432
+ # If `AllowMultipathResilience` is `true` and you don't specify a
15433
+ # mode, the default is `always-on`.
15434
+ # @return [String]
15435
+ #
15436
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreatePeeringConnectionOptionsRequest AWS API Documentation
15437
+ #
15438
+ class CreatePeeringConnectionOptionsRequest < Struct.new(
15439
+ :allow_multipath_resilience,
15440
+ :multipath_resilience_mode)
15441
+ SENSITIVE = []
15442
+ include Aws::Structure
15443
+ end
15444
+
15175
15445
  # @!attribute [rw] partition_count
15176
15446
  # The number of partitions. Valid only when **Strategy** is set to
15177
15447
  # `partition`.
@@ -17259,6 +17529,65 @@ module Aws::EC2
17259
17529
  include Aws::Structure
17260
17530
  end
17261
17531
 
17532
+ # @!attribute [rw] transit_gateway_id
17533
+ # The ID of the transit gateway. The transit gateway must be in the
17534
+ # `available` state.
17535
+ # @return [String]
17536
+ #
17537
+ # @!attribute [rw] service_name
17538
+ # The name of the Gateway Load Balancer endpoint service.
17539
+ # @return [String]
17540
+ #
17541
+ # @!attribute [rw] availability_zones
17542
+ # The names of the Availability Zones for the attachment. You must
17543
+ # specify at least one Availability Zone, using this parameter,
17544
+ # `AvailabilityZoneIds`, or both. Each Availability Zone must be
17545
+ # supported by both the transit gateway and the endpoint service.
17546
+ # @return [Array<String>]
17547
+ #
17548
+ # @!attribute [rw] availability_zone_ids
17549
+ # The IDs of the Availability Zones for the attachment. You must
17550
+ # specify at least one Availability Zone, using this parameter,
17551
+ # `AvailabilityZones`, or both. Each Availability Zone must be
17552
+ # supported by both the transit gateway and the endpoint service.
17553
+ # @return [Array<String>]
17554
+ #
17555
+ # @!attribute [rw] tag_specifications
17556
+ # The tags to apply to the network function attachment.
17557
+ # @return [Array<Types::TagSpecification>]
17558
+ #
17559
+ # @!attribute [rw] dry_run
17560
+ # Checks whether you have the required permissions for the action,
17561
+ # without actually making the request, and provides an error response.
17562
+ # If you have the required permissions, the error response is
17563
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
17564
+ # @return [Boolean]
17565
+ #
17566
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTransitGatewayNetworkFunctionAttachmentRequest AWS API Documentation
17567
+ #
17568
+ class CreateTransitGatewayNetworkFunctionAttachmentRequest < Struct.new(
17569
+ :transit_gateway_id,
17570
+ :service_name,
17571
+ :availability_zones,
17572
+ :availability_zone_ids,
17573
+ :tag_specifications,
17574
+ :dry_run)
17575
+ SENSITIVE = []
17576
+ include Aws::Structure
17577
+ end
17578
+
17579
+ # @!attribute [rw] transit_gateway_network_function_attachment
17580
+ # Information about the network function attachment.
17581
+ # @return [Types::TransitGatewayNetworkFunctionAttachment]
17582
+ #
17583
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTransitGatewayNetworkFunctionAttachmentResult AWS API Documentation
17584
+ #
17585
+ class CreateTransitGatewayNetworkFunctionAttachmentResult < Struct.new(
17586
+ :transit_gateway_network_function_attachment)
17587
+ SENSITIVE = []
17588
+ include Aws::Structure
17589
+ end
17590
+
17262
17591
  # @!attribute [rw] transit_gateway_id
17263
17592
  # The ID of the transit gateway.
17264
17593
  # @return [String]
@@ -17313,10 +17642,36 @@ module Aws::EC2
17313
17642
  # Indicates whether dynamic routing is enabled or disabled.
17314
17643
  # @return [String]
17315
17644
  #
17645
+ # @!attribute [rw] allow_multipath_resilience
17646
+ # Specifies whether you allow multipath resilience for the requester
17647
+ # side of the transit gateway peering attachment. Multipath resilience
17648
+ # is supported only for inter-Region transit gateway peering
17649
+ # attachments between supported Regions. It takes effect only when
17650
+ # both the requester and the accepter allow it. If you don't specify
17651
+ # this parameter, the default is `false`.
17652
+ # @return [Boolean]
17653
+ #
17654
+ # @!attribute [rw] multipath_resilience_mode
17655
+ # The multipath resilience mode. You can specify this parameter only
17656
+ # if `AllowMultipathResilience` is `true`.
17657
+ #
17658
+ # The following value is valid:
17659
+ #
17660
+ # * `always-on` – Replicates traffic across multiple network paths
17661
+ # while multipath resilience is in effect.
17662
+ #
17663
+ # ^
17664
+ #
17665
+ # If `AllowMultipathResilience` is `true` and you don't specify a
17666
+ # mode, the default is `always-on`.
17667
+ # @return [String]
17668
+ #
17316
17669
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTransitGatewayPeeringAttachmentRequestOptions AWS API Documentation
17317
17670
  #
17318
17671
  class CreateTransitGatewayPeeringAttachmentRequestOptions < Struct.new(
17319
- :dynamic_routing)
17672
+ :dynamic_routing,
17673
+ :allow_multipath_resilience,
17674
+ :multipath_resilience_mode)
17320
17675
  SENSITIVE = []
17321
17676
  include Aws::Structure
17322
17677
  end
@@ -19089,6 +19444,10 @@ module Aws::EC2
19089
19444
  # The tags to assign to the peering connection.
19090
19445
  # @return [Array<Types::TagSpecification>]
19091
19446
  #
19447
+ # @!attribute [rw] requester_peering_connection_options
19448
+ # The VPC peering connection options to apply to the requester VPC.
19449
+ # @return [Types::CreatePeeringConnectionOptionsRequest]
19450
+ #
19092
19451
  # @!attribute [rw] dry_run
19093
19452
  # Checks whether you have the required permissions for the action,
19094
19453
  # without actually making the request, and provides an error response.
@@ -19117,6 +19476,7 @@ module Aws::EC2
19117
19476
  class CreateVpcPeeringConnectionRequest < Struct.new(
19118
19477
  :peer_region,
19119
19478
  :tag_specifications,
19479
+ :requester_peering_connection_options,
19120
19480
  :dry_run,
19121
19481
  :vpc_id,
19122
19482
  :peer_vpc_id,
@@ -22598,6 +22958,38 @@ module Aws::EC2
22598
22958
  include Aws::Structure
22599
22959
  end
22600
22960
 
22961
+ # @!attribute [rw] transit_gateway_attachment_id
22962
+ # The ID of the network function attachment.
22963
+ # @return [String]
22964
+ #
22965
+ # @!attribute [rw] dry_run
22966
+ # Checks whether you have the required permissions for the action,
22967
+ # without actually making the request, and provides an error response.
22968
+ # If you have the required permissions, the error response is
22969
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
22970
+ # @return [Boolean]
22971
+ #
22972
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTransitGatewayNetworkFunctionAttachmentRequest AWS API Documentation
22973
+ #
22974
+ class DeleteTransitGatewayNetworkFunctionAttachmentRequest < Struct.new(
22975
+ :transit_gateway_attachment_id,
22976
+ :dry_run)
22977
+ SENSITIVE = []
22978
+ include Aws::Structure
22979
+ end
22980
+
22981
+ # @!attribute [rw] transit_gateway_network_function_attachment
22982
+ # Information about the deleted network function attachment.
22983
+ # @return [Types::TransitGatewayNetworkFunctionAttachment]
22984
+ #
22985
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTransitGatewayNetworkFunctionAttachmentResult AWS API Documentation
22986
+ #
22987
+ class DeleteTransitGatewayNetworkFunctionAttachmentResult < Struct.new(
22988
+ :transit_gateway_network_function_attachment)
22989
+ SENSITIVE = []
22990
+ include Aws::Structure
22991
+ end
22992
+
22601
22993
  # @!attribute [rw] transit_gateway_attachment_id
22602
22994
  # The ID of the transit gateway peering attachment.
22603
22995
  # @return [String]
@@ -24733,6 +25125,12 @@ module Aws::EC2
24733
25125
  # Services Region and Local Zones you are opted into.
24734
25126
  # @return [Boolean]
24735
25127
  #
25128
+ # @!attribute [rw] instance_type_preferences
25129
+ # List of instance type preferences for the Capacity Block offering
25130
+ # search. Accepts one or more instance type names. Either this or the
25131
+ # legacy `InstanceType` parameter is required.
25132
+ # @return [Array<Types::CapacityBlockInstanceTypePreference>]
25133
+ #
24736
25134
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCapacityBlockOfferingsRequest AWS API Documentation
24737
25135
  #
24738
25136
  class DescribeCapacityBlockOfferingsRequest < Struct.new(
@@ -24746,7 +25144,8 @@ module Aws::EC2
24746
25144
  :max_results,
24747
25145
  :ultraserver_type,
24748
25146
  :ultraserver_count,
24749
- :all_availability_zones)
25147
+ :all_availability_zones,
25148
+ :instance_type_preferences)
24750
25149
  SENSITIVE = []
24751
25150
  include Aws::Structure
24752
25151
  end
@@ -36768,6 +37167,73 @@ module Aws::EC2
36768
37167
  include Aws::Structure
36769
37168
  end
36770
37169
 
37170
+ # @!attribute [rw] transit_gateway_attachment_ids
37171
+ # The IDs of the network function attachments.
37172
+ # @return [Array<String>]
37173
+ #
37174
+ # @!attribute [rw] filters
37175
+ # One or more filters. The possible values are:
37176
+ #
37177
+ # * `service-name` - The name of the Gateway Load Balancer endpoint
37178
+ # service.
37179
+ #
37180
+ # * `state` - The state of the attachment. Valid values are
37181
+ # `available` \| `deleted` \| `deleting` \| `failed` \| `failing` \|
37182
+ # `modifying` \| `pendingAcceptance` \| `pending` \| `rollingBack`
37183
+ # \| `rejected` \| `rejecting`.
37184
+ #
37185
+ # * `transit-gateway-attachment-id` - The ID of the attachment.
37186
+ #
37187
+ # * `transit-gateway-id` - The ID of the transit gateway.
37188
+ # @return [Array<Types::Filter>]
37189
+ #
37190
+ # @!attribute [rw] max_results
37191
+ # The maximum number of results to return with a single call. To
37192
+ # retrieve the remaining results, make another call with the returned
37193
+ # `nextToken` value.
37194
+ # @return [Integer]
37195
+ #
37196
+ # @!attribute [rw] next_token
37197
+ # The token for the next page of results.
37198
+ # @return [String]
37199
+ #
37200
+ # @!attribute [rw] dry_run
37201
+ # Checks whether you have the required permissions for the action,
37202
+ # without actually making the request, and provides an error response.
37203
+ # If you have the required permissions, the error response is
37204
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
37205
+ # @return [Boolean]
37206
+ #
37207
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTransitGatewayNetworkFunctionAttachmentsRequest AWS API Documentation
37208
+ #
37209
+ class DescribeTransitGatewayNetworkFunctionAttachmentsRequest < Struct.new(
37210
+ :transit_gateway_attachment_ids,
37211
+ :filters,
37212
+ :max_results,
37213
+ :next_token,
37214
+ :dry_run)
37215
+ SENSITIVE = []
37216
+ include Aws::Structure
37217
+ end
37218
+
37219
+ # @!attribute [rw] transit_gateway_network_function_attachments
37220
+ # Information about the network function attachments.
37221
+ # @return [Array<Types::TransitGatewayNetworkFunctionAttachment>]
37222
+ #
37223
+ # @!attribute [rw] next_token
37224
+ # The token to use to retrieve the next page of results. This value is
37225
+ # `null` when there are no more results to return.
37226
+ # @return [String]
37227
+ #
37228
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTransitGatewayNetworkFunctionAttachmentsResult AWS API Documentation
37229
+ #
37230
+ class DescribeTransitGatewayNetworkFunctionAttachmentsResult < Struct.new(
37231
+ :transit_gateway_network_function_attachments,
37232
+ :next_token)
37233
+ SENSITIVE = []
37234
+ include Aws::Structure
37235
+ end
37236
+
36771
37237
  # @!attribute [rw] transit_gateway_attachment_ids
36772
37238
  # One or more IDs of the transit gateway peering attachments.
36773
37239
  # @return [Array<String>]
@@ -38411,6 +38877,9 @@ module Aws::EC2
38411
38877
  #
38412
38878
  # * `service-id` - The ID of the service.
38413
38879
  #
38880
+ # * `transit-gateway-attachment-id` - The ID of the transit gateway
38881
+ # attachment.
38882
+ #
38414
38883
  # * `vpc-endpoint-owner` - The ID of the Amazon Web Services account
38415
38884
  # ID that owns the endpoint.
38416
38885
  #
@@ -38556,6 +39025,9 @@ module Aws::EC2
38556
39025
  # @!attribute [rw] filters
38557
39026
  # The filters.
38558
39027
  #
39028
+ # * `permission-type` - The permission type (`vpc-endpoint` \|
39029
+ # `transit-gateway-attachment`).
39030
+ #
38559
39031
  # * `principal` - The ARN of the principal.
38560
39032
  #
38561
39033
  # * `principal-type` - The principal type (`All` \| `Service` \|
@@ -41026,6 +41498,45 @@ module Aws::EC2
41026
41498
  include Aws::Structure
41027
41499
  end
41028
41500
 
41501
+ # @!attribute [rw] snapshot_id
41502
+ # The ID of the Amazon EBS snapshot.
41503
+ # @return [String]
41504
+ #
41505
+ # @!attribute [rw] kms_key_id
41506
+ # The ID, alias, or ARN of the associated KMS key to remove from the
41507
+ # snapshot.
41508
+ # @return [String]
41509
+ #
41510
+ # @!attribute [rw] dry_run
41511
+ # Checks whether you have the required permissions for the action,
41512
+ # without actually making the request, and provides an error response.
41513
+ # If you have the required permissions, the error response is
41514
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
41515
+ # @return [Boolean]
41516
+ #
41517
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateKmsKeyIdRequest AWS API Documentation
41518
+ #
41519
+ class DisassociateKmsKeyIdRequest < Struct.new(
41520
+ :snapshot_id,
41521
+ :kms_key_id,
41522
+ :dry_run)
41523
+ SENSITIVE = []
41524
+ include Aws::Structure
41525
+ end
41526
+
41527
+ # @!attribute [rw] return
41528
+ # Returns `true` if the request succeeds; otherwise, it returns an
41529
+ # error.
41530
+ # @return [Boolean]
41531
+ #
41532
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateKmsKeyIdResult AWS API Documentation
41533
+ #
41534
+ class DisassociateKmsKeyIdResult < Struct.new(
41535
+ :return)
41536
+ SENSITIVE = []
41537
+ include Aws::Structure
41538
+ end
41539
+
41029
41540
  # @!attribute [rw] nat_gateway_id
41030
41541
  # The ID of the NAT gateway.
41031
41542
  # @return [String]
@@ -66418,8 +66929,8 @@ module Aws::EC2
66418
66929
  # @return [String]
66419
66930
  #
66420
66931
  # @!attribute [rw] global_accelerator
66421
- # Specifies whether to exclude AWS Global Accelerator from
66422
- # account-level encryption enforcement.
66932
+ # Specifies whether to exclude Amazon Web Services Global Accelerator
66933
+ # from account-level encryption enforcement.
66423
66934
  # @return [String]
66424
66935
  #
66425
66936
  # @!attribute [rw] api_gateway_v2
@@ -70595,6 +71106,64 @@ module Aws::EC2
70595
71106
  include Aws::Structure
70596
71107
  end
70597
71108
 
71109
+ # @!attribute [rw] transit_gateway_attachment_id
71110
+ # The ID of the network function attachment.
71111
+ # @return [String]
71112
+ #
71113
+ # @!attribute [rw] add_availability_zones
71114
+ # The names of the Availability Zones to add to the attachment. You
71115
+ # can't add and remove the same Availability Zone in a single
71116
+ # request.
71117
+ # @return [Array<String>]
71118
+ #
71119
+ # @!attribute [rw] add_availability_zone_ids
71120
+ # The IDs of the Availability Zones to add to the attachment. You
71121
+ # can't add and remove the same Availability Zone in a single
71122
+ # request.
71123
+ # @return [Array<String>]
71124
+ #
71125
+ # @!attribute [rw] remove_availability_zones
71126
+ # The names of the Availability Zones to remove from the attachment.
71127
+ # Each Availability Zone must be currently in the attachment.
71128
+ # @return [Array<String>]
71129
+ #
71130
+ # @!attribute [rw] remove_availability_zone_ids
71131
+ # The IDs of the Availability Zones to remove from the attachment.
71132
+ # Each Availability Zone must be currently in the attachment.
71133
+ # @return [Array<String>]
71134
+ #
71135
+ # @!attribute [rw] dry_run
71136
+ # Checks whether you have the required permissions for the action,
71137
+ # without actually making the request, and provides an error response.
71138
+ # If you have the required permissions, the error response is
71139
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
71140
+ # @return [Boolean]
71141
+ #
71142
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyTransitGatewayNetworkFunctionAttachmentRequest AWS API Documentation
71143
+ #
71144
+ class ModifyTransitGatewayNetworkFunctionAttachmentRequest < Struct.new(
71145
+ :transit_gateway_attachment_id,
71146
+ :add_availability_zones,
71147
+ :add_availability_zone_ids,
71148
+ :remove_availability_zones,
71149
+ :remove_availability_zone_ids,
71150
+ :dry_run)
71151
+ SENSITIVE = []
71152
+ include Aws::Structure
71153
+ end
71154
+
71155
+ # @!attribute [rw] transit_gateway_network_function_attachment
71156
+ # Information about the network function attachment.
71157
+ # @return [Types::TransitGatewayNetworkFunctionAttachment]
71158
+ #
71159
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyTransitGatewayNetworkFunctionAttachmentResult AWS API Documentation
71160
+ #
71161
+ class ModifyTransitGatewayNetworkFunctionAttachmentResult < Struct.new(
71162
+ :transit_gateway_network_function_attachment)
71163
+ SENSITIVE = []
71164
+ include Aws::Structure
71165
+ end
71166
+
70598
71167
  # The transit gateway options.
70599
71168
  #
70600
71169
  # @!attribute [rw] add_transit_gateway_cidr_blocks
@@ -70702,6 +71271,79 @@ module Aws::EC2
70702
71271
  include Aws::Structure
70703
71272
  end
70704
71273
 
71274
+ # @!attribute [rw] transit_gateway_attachment_id
71275
+ # The ID of the transit gateway peering attachment.
71276
+ # @return [String]
71277
+ #
71278
+ # @!attribute [rw] options
71279
+ # The options to modify for the transit gateway peering attachment.
71280
+ # @return [Types::ModifyTransitGatewayPeeringAttachmentRequestOptions]
71281
+ #
71282
+ # @!attribute [rw] dry_run
71283
+ # Checks whether you have the required permissions for the action,
71284
+ # without actually making the request, and provides an error response.
71285
+ # If you have the required permissions, the error response is
71286
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
71287
+ # @return [Boolean]
71288
+ #
71289
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyTransitGatewayPeeringAttachmentRequest AWS API Documentation
71290
+ #
71291
+ class ModifyTransitGatewayPeeringAttachmentRequest < Struct.new(
71292
+ :transit_gateway_attachment_id,
71293
+ :options,
71294
+ :dry_run)
71295
+ SENSITIVE = []
71296
+ include Aws::Structure
71297
+ end
71298
+
71299
+ # Contains the options to modify for a transit gateway peering
71300
+ # attachment, including multipath resilience settings.
71301
+ #
71302
+ # @!attribute [rw] allow_multipath_resilience
71303
+ # Specifies whether you allow multipath resilience for your side of
71304
+ # the transit gateway peering attachment. Multipath resilience is
71305
+ # supported only for inter-Region transit gateway peering attachments
71306
+ # between supported Regions. It takes effect only when both the
71307
+ # requester and the accepter allow it. If you don't specify this
71308
+ # parameter, the current setting doesn't change.
71309
+ # @return [Boolean]
71310
+ #
71311
+ # @!attribute [rw] multipath_resilience_mode
71312
+ # The multipath resilience mode. You can specify this parameter only
71313
+ # if `AllowMultipathResilience` is `true`.
71314
+ #
71315
+ # The following value is valid:
71316
+ #
71317
+ # * `always-on` – Replicates traffic across multiple network paths
71318
+ # while multipath resilience is in effect.
71319
+ #
71320
+ # ^
71321
+ #
71322
+ # If `AllowMultipathResilience` is `true` and you don't specify a
71323
+ # mode, the default is `always-on`.
71324
+ # @return [String]
71325
+ #
71326
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyTransitGatewayPeeringAttachmentRequestOptions AWS API Documentation
71327
+ #
71328
+ class ModifyTransitGatewayPeeringAttachmentRequestOptions < Struct.new(
71329
+ :allow_multipath_resilience,
71330
+ :multipath_resilience_mode)
71331
+ SENSITIVE = []
71332
+ include Aws::Structure
71333
+ end
71334
+
71335
+ # @!attribute [rw] transit_gateway_peering_attachment
71336
+ # Information about the transit gateway peering attachment.
71337
+ # @return [Types::TransitGatewayPeeringAttachment]
71338
+ #
71339
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyTransitGatewayPeeringAttachmentResult AWS API Documentation
71340
+ #
71341
+ class ModifyTransitGatewayPeeringAttachmentResult < Struct.new(
71342
+ :transit_gateway_peering_attachment)
71343
+ SENSITIVE = []
71344
+ include Aws::Structure
71345
+ end
71346
+
70705
71347
  # @!attribute [rw] transit_gateway_policy_table_id
70706
71348
  # The ID of the transit gateway policy table.
70707
71349
  # @return [String]
@@ -71947,8 +72589,8 @@ module Aws::EC2
71947
72589
  # @return [String]
71948
72590
  #
71949
72591
  # @!attribute [rw] global_accelerator_exclusion
71950
- # Specifies whether to exclude AWS Global Accelerator traffic from
71951
- # encryption enforcement.
72592
+ # Specifies whether to exclude Amazon Web Services Global Accelerator
72593
+ # traffic from encryption enforcement.
71952
72594
  # @return [String]
71953
72595
  #
71954
72596
  # @!attribute [rw] api_gateway_v2_exclusion
@@ -72348,13 +72990,33 @@ module Aws::EC2
72348
72990
  # revoked for principals in this list.
72349
72991
  # @return [Array<String>]
72350
72992
  #
72993
+ # @!attribute [rw] permission_type
72994
+ # The type of permission to add or remove. The permission type applies
72995
+ # to all principals in `AddAllowedPrincipals` and
72996
+ # `RemoveAllowedPrincipals`.
72997
+ #
72998
+ # * `vpc-endpoint` - Principals can create VPC endpoints that connect
72999
+ # to the endpoint service.
73000
+ #
73001
+ # * `transit-gateway-attachment` - Principals can create transit
73002
+ # gateway attachments that connect to the endpoint service. This
73003
+ # permission type is supported only for Gateway Load Balancer
73004
+ # endpoint services. You can grant it only to Amazon Web Services
73005
+ # accounts (`arn:aws:iam::account-id:root`). You can't grant it to
73006
+ # users, IAM roles, organizations, organizational units, or all
73007
+ # principals (*).
73008
+ #
73009
+ # Default: `vpc-endpoint`
73010
+ # @return [String]
73011
+ #
72351
73012
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcEndpointServicePermissionsRequest AWS API Documentation
72352
73013
  #
72353
73014
  class ModifyVpcEndpointServicePermissionsRequest < Struct.new(
72354
73015
  :dry_run,
72355
73016
  :service_id,
72356
73017
  :add_allowed_principals,
72357
- :remove_allowed_principals)
73018
+ :remove_allowed_principals,
73019
+ :permission_type)
72358
73020
  SENSITIVE = []
72359
73021
  include Aws::Structure
72360
73022
  end
@@ -72819,7 +73481,7 @@ module Aws::EC2
72819
73481
  # VPN tunnel for phase 1 IKE negotiations.
72820
73482
  #
72821
73483
  # Valid values: `2` \| `14` \| `15` \| `16` \| `17` \| `18` \| `19` \|
72822
- # `20` \| `21` \| `22` \| `23` \| `24`
73484
+ # `20` \| `21` \| `22` \| `23` \| `24` \| `35`
72823
73485
  # @return [Array<Types::Phase1DHGroupNumbersRequestListValue>]
72824
73486
  #
72825
73487
  # @!attribute [rw] phase_2_dh_group_numbers
@@ -72827,7 +73489,7 @@ module Aws::EC2
72827
73489
  # VPN tunnel for phase 2 IKE negotiations.
72828
73490
  #
72829
73491
  # Valid values: `2` \| `5` \| `14` \| `15` \| `16` \| `17` \| `18` \|
72830
- # `19` \| `20` \| `21` \| `22` \| `23` \| `24`
73492
+ # `19` \| `20` \| `21` \| `22` \| `23` \| `24` \| `35` \| `36` \| `37`
72831
73493
  # @return [Array<Types::Phase2DHGroupNumbersRequestListValue>]
72832
73494
  #
72833
73495
  # @!attribute [rw] ike_versions
@@ -72855,6 +73517,26 @@ module Aws::EC2
72855
73517
  # Turn on or off tunnel endpoint lifecycle control feature.
72856
73518
  # @return [Boolean]
72857
73519
  #
73520
+ # @!attribute [rw] phase_1_additional_key_exchanges
73521
+ # One or more additional key exchange rounds that are permitted for
73522
+ # the VPN tunnel for phase 1 IKE negotiations. Additional key
73523
+ # exchanges occur after the initial Diffie-Hellman exchange. Each
73524
+ # round must have a unique round number.
73525
+ #
73526
+ # Additional key exchanges are supported only with IKEv2. You can't
73527
+ # specify a `required` round if `IKEVersions` contains only `ikev1`.
73528
+ # @return [Array<Types::VpnAdditionalKeyExchangeRequest>]
73529
+ #
73530
+ # @!attribute [rw] phase_2_additional_key_exchanges
73531
+ # One or more additional key exchange rounds that are permitted for
73532
+ # the VPN tunnel for phase 2 IKE negotiations. Additional key
73533
+ # exchanges occur after the initial Diffie-Hellman exchange. Each
73534
+ # round must have a unique round number.
73535
+ #
73536
+ # Additional key exchanges are supported only with IKEv2. You can't
73537
+ # specify a `required` round if `IKEVersions` contains only `ikev1`.
73538
+ # @return [Array<Types::VpnAdditionalKeyExchangeRequest>]
73539
+ #
72858
73540
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpnTunnelOptionsSpecification AWS API Documentation
72859
73541
  #
72860
73542
  class ModifyVpnTunnelOptionsSpecification < Struct.new(
@@ -72877,7 +73559,9 @@ module Aws::EC2
72877
73559
  :ike_versions,
72878
73560
  :startup_action,
72879
73561
  :log_options,
72880
- :enable_tunnel_lifecycle_control)
73562
+ :enable_tunnel_lifecycle_control,
73563
+ :phase_1_additional_key_exchanges,
73564
+ :phase_2_additional_key_exchanges)
72881
73565
  SENSITIVE = [:pre_shared_key]
72882
73566
  include Aws::Structure
72883
73567
  end
@@ -75495,12 +76179,25 @@ module Aws::EC2
75495
76179
  # Deprecated.
75496
76180
  # @return [Boolean]
75497
76181
  #
76182
+ # @!attribute [rw] allow_multipath_resilience
76183
+ # Indicates whether this side of the VPC peering connection allows
76184
+ # multipath resilience.
76185
+ # @return [Boolean]
76186
+ #
76187
+ # @!attribute [rw] multipath_resilience_mode
76188
+ # The multipath resilience mode for this side of the VPC peering
76189
+ # connection. This value is present only when this side allows
76190
+ # multipath resilience.
76191
+ # @return [String]
76192
+ #
75498
76193
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PeeringConnectionOptions AWS API Documentation
75499
76194
  #
75500
76195
  class PeeringConnectionOptions < Struct.new(
75501
76196
  :allow_dns_resolution_from_remote_vpc,
75502
76197
  :allow_egress_from_local_classic_link_to_remote_vpc,
75503
- :allow_egress_from_local_vpc_to_remote_classic_link)
76198
+ :allow_egress_from_local_vpc_to_remote_classic_link,
76199
+ :allow_multipath_resilience,
76200
+ :multipath_resilience_mode)
75504
76201
  SENSITIVE = []
75505
76202
  include Aws::Structure
75506
76203
  end
@@ -75520,12 +76217,38 @@ module Aws::EC2
75520
76217
  # Deprecated.
75521
76218
  # @return [Boolean]
75522
76219
  #
76220
+ # @!attribute [rw] allow_multipath_resilience
76221
+ # Specifies whether you allow multipath resilience for this side of
76222
+ # the VPC peering connection. Multipath resilience is supported only
76223
+ # for inter-Region VPC peering connections between supported Regions.
76224
+ # It takes effect only when both the requester and the accepter allow
76225
+ # it. If you don't specify this parameter, the current setting
76226
+ # doesn't change.
76227
+ # @return [Boolean]
76228
+ #
76229
+ # @!attribute [rw] multipath_resilience_mode
76230
+ # The multipath resilience mode. You can specify this parameter only
76231
+ # if `AllowMultipathResilience` is `true`.
76232
+ #
76233
+ # The following value is valid:
76234
+ #
76235
+ # * `always-on` – Replicates traffic across multiple network paths
76236
+ # while multipath resilience is in effect.
76237
+ #
76238
+ # ^
76239
+ #
76240
+ # If `AllowMultipathResilience` is `true` and you don't specify a
76241
+ # mode, the default is `always-on`.
76242
+ # @return [String]
76243
+ #
75523
76244
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PeeringConnectionOptionsRequest AWS API Documentation
75524
76245
  #
75525
76246
  class PeeringConnectionOptionsRequest < Struct.new(
75526
76247
  :allow_dns_resolution_from_remote_vpc,
75527
76248
  :allow_egress_from_local_classic_link_to_remote_vpc,
75528
- :allow_egress_from_local_vpc_to_remote_classic_link)
76249
+ :allow_egress_from_local_vpc_to_remote_classic_link,
76250
+ :allow_multipath_resilience,
76251
+ :multipath_resilience_mode)
75529
76252
  SENSITIVE = []
75530
76253
  include Aws::Structure
75531
76254
  end
@@ -77163,11 +77886,18 @@ module Aws::EC2
77163
77886
  # The Capacity Block.
77164
77887
  # @return [Array<Types::CapacityBlock>]
77165
77888
  #
77889
+ # @!attribute [rw] capacity_reservations
77890
+ # The Capacity Reservations created as a result of the Capacity Block
77891
+ # purchase. When a Capacity Block offering contains multiple segments,
77892
+ # a separate Capacity Reservation is created for each segment.
77893
+ # @return [Array<Types::CapacityReservation>]
77894
+ #
77166
77895
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PurchaseCapacityBlockResult AWS API Documentation
77167
77896
  #
77168
77897
  class PurchaseCapacityBlockResult < Struct.new(
77169
77898
  :capacity_reservation,
77170
- :capacity_blocks)
77899
+ :capacity_blocks,
77900
+ :capacity_reservations)
77171
77901
  SENSITIVE = []
77172
77902
  include Aws::Structure
77173
77903
  end
@@ -78164,6 +78894,17 @@ module Aws::EC2
78164
78894
  #
78165
78895
  # @!attribute [rw] vpc_endpoint_ids
78166
78896
  # The IDs of the VPC endpoints.
78897
+ #
78898
+ # You must specify either `VpcEndpointIds` or
78899
+ # `TransitGatewayAttachmentIds`, but not both.
78900
+ # @return [Array<String>]
78901
+ #
78902
+ # @!attribute [rw] transit_gateway_attachment_ids
78903
+ # The IDs of the transit gateway attachments to reject. This parameter
78904
+ # is supported only for Gateway Load Balancer endpoint services.
78905
+ #
78906
+ # You must specify either `VpcEndpointIds` or
78907
+ # `TransitGatewayAttachmentIds`, but not both.
78167
78908
  # @return [Array<String>]
78168
78909
  #
78169
78910
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RejectVpcEndpointConnectionsRequest AWS API Documentation
@@ -78171,7 +78912,8 @@ module Aws::EC2
78171
78912
  class RejectVpcEndpointConnectionsRequest < Struct.new(
78172
78913
  :dry_run,
78173
78914
  :service_id,
78174
- :vpc_endpoint_ids)
78915
+ :vpc_endpoint_ids,
78916
+ :transit_gateway_attachment_ids)
78175
78917
  SENSITIVE = []
78176
78918
  include Aws::Structure
78177
78919
  end
@@ -85577,6 +86319,10 @@ module Aws::EC2
85577
86319
  # created.
85578
86320
  # @return [Integer]
85579
86321
  #
86322
+ # @!attribute [rw] associated_kms_keys
86323
+ # The additional KMS keys that are associated with the snapshot.
86324
+ # @return [Array<Types::AssociatedKmsKey>]
86325
+ #
85580
86326
  # @!attribute [rw] snapshot_id
85581
86327
  # The ID of the snapshot. Each snapshot receives a unique identifier
85582
86328
  # when it is created.
@@ -85655,6 +86401,7 @@ module Aws::EC2
85655
86401
  :completion_duration_minutes,
85656
86402
  :completion_time,
85657
86403
  :full_snapshot_size_in_bytes,
86404
+ :associated_kms_keys,
85658
86405
  :snapshot_id,
85659
86406
  :volume_id,
85660
86407
  :state,
@@ -90352,6 +91099,69 @@ module Aws::EC2
90352
91099
  include Aws::Structure
90353
91100
  end
90354
91101
 
91102
+ # Contains information about a transit gateway network function
91103
+ # attachment, including the attachment ID, the transit gateway, the
91104
+ # endpoint service, the Availability Zones, and the state of the
91105
+ # attachment.
91106
+ #
91107
+ # @!attribute [rw] transit_gateway_attachment_id
91108
+ # The ID of the attachment.
91109
+ # @return [String]
91110
+ #
91111
+ # @!attribute [rw] transit_gateway_id
91112
+ # The ID of the transit gateway.
91113
+ # @return [String]
91114
+ #
91115
+ # @!attribute [rw] transit_gateway_owner_id
91116
+ # The ID of the Amazon Web Services account that owns the transit
91117
+ # gateway.
91118
+ # @return [String]
91119
+ #
91120
+ # @!attribute [rw] resource_owner_id
91121
+ # The ID of the Amazon Web Services account that owns the attachment.
91122
+ # @return [String]
91123
+ #
91124
+ # @!attribute [rw] resource_id
91125
+ # The name of the Gateway Load Balancer endpoint service.
91126
+ # @return [String]
91127
+ #
91128
+ # @!attribute [rw] availability_zones
91129
+ # The names of the Availability Zones for the attachment.
91130
+ # @return [Array<String>]
91131
+ #
91132
+ # @!attribute [rw] availability_zone_ids
91133
+ # The IDs of the Availability Zones for the attachment.
91134
+ # @return [Array<String>]
91135
+ #
91136
+ # @!attribute [rw] state
91137
+ # The state of the attachment.
91138
+ # @return [String]
91139
+ #
91140
+ # @!attribute [rw] creation_time
91141
+ # The date and time the attachment was created.
91142
+ # @return [Time]
91143
+ #
91144
+ # @!attribute [rw] tags
91145
+ # The tags for the attachment.
91146
+ # @return [Array<Types::Tag>]
91147
+ #
91148
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TransitGatewayNetworkFunctionAttachment AWS API Documentation
91149
+ #
91150
+ class TransitGatewayNetworkFunctionAttachment < Struct.new(
91151
+ :transit_gateway_attachment_id,
91152
+ :transit_gateway_id,
91153
+ :transit_gateway_owner_id,
91154
+ :resource_owner_id,
91155
+ :resource_id,
91156
+ :availability_zones,
91157
+ :availability_zone_ids,
91158
+ :state,
91159
+ :creation_time,
91160
+ :tags)
91161
+ SENSITIVE = []
91162
+ include Aws::Structure
91163
+ end
91164
+
90355
91165
  # Describes the options for a transit gateway.
90356
91166
  #
90357
91167
  # @!attribute [rw] amazon_side_asn
@@ -90496,10 +91306,49 @@ module Aws::EC2
90496
91306
  # transit gateway peering attachment.
90497
91307
  # @return [String]
90498
91308
  #
91309
+ # @!attribute [rw] requester_allow_multipath_resilience
91310
+ # Indicates whether the requester allows multipath resilience for the
91311
+ # transit gateway peering attachment.
91312
+ # @return [Boolean]
91313
+ #
91314
+ # @!attribute [rw] requester_multipath_resilience_mode
91315
+ # The multipath resilience mode for the requester. This value is
91316
+ # present only when the requester allows multipath resilience.
91317
+ # @return [String]
91318
+ #
91319
+ # @!attribute [rw] accepter_allow_multipath_resilience
91320
+ # Indicates whether the accepter allows multipath resilience for the
91321
+ # transit gateway peering attachment.
91322
+ # @return [Boolean]
91323
+ #
91324
+ # @!attribute [rw] accepter_multipath_resilience_mode
91325
+ # The multipath resilience mode for the accepter. This value is
91326
+ # present only when the accepter allows multipath resilience.
91327
+ # @return [String]
91328
+ #
91329
+ # @!attribute [rw] multipath_resilience_status
91330
+ # The multipath resilience status of the transit gateway peering
91331
+ # attachment. The possible values are:
91332
+ #
91333
+ # * `enabled` – Both the requester and the accepter allow multipath
91334
+ # resilience.
91335
+ #
91336
+ # * `pending` – Either the requester or the accepter allows multipath
91337
+ # resilience, but not both.
91338
+ #
91339
+ # * `disabled` – Neither the requester nor the accepter allows
91340
+ # multipath resilience.
91341
+ # @return [String]
91342
+ #
90499
91343
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TransitGatewayPeeringAttachmentOptions AWS API Documentation
90500
91344
  #
90501
91345
  class TransitGatewayPeeringAttachmentOptions < Struct.new(
90502
- :dynamic_routing)
91346
+ :dynamic_routing,
91347
+ :requester_allow_multipath_resilience,
91348
+ :requester_multipath_resilience_mode,
91349
+ :accepter_allow_multipath_resilience,
91350
+ :accepter_multipath_resilience_mode,
91351
+ :multipath_resilience_status)
90503
91352
  SENSITIVE = []
90504
91353
  include Aws::Structure
90505
91354
  end
@@ -91430,6 +92279,16 @@ module Aws::EC2
91430
92279
  # Status of tunnel endpoint lifecycle control feature.
91431
92280
  # @return [Boolean]
91432
92281
  #
92282
+ # @!attribute [rw] phase_1_additional_key_exchanges
92283
+ # The permitted additional key exchange rounds for the VPN tunnel for
92284
+ # phase 1 IKE negotiations.
92285
+ # @return [Array<Types::VpnAdditionalKeyExchange>]
92286
+ #
92287
+ # @!attribute [rw] phase_2_additional_key_exchanges
92288
+ # The permitted additional key exchange rounds for the VPN tunnel for
92289
+ # phase 2 IKE negotiations.
92290
+ # @return [Array<Types::VpnAdditionalKeyExchange>]
92291
+ #
91433
92292
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TunnelOption AWS API Documentation
91434
92293
  #
91435
92294
  class TunnelOption < Struct.new(
@@ -91453,7 +92312,9 @@ module Aws::EC2
91453
92312
  :ike_versions,
91454
92313
  :startup_action,
91455
92314
  :log_options,
91456
- :enable_tunnel_lifecycle_control)
92315
+ :enable_tunnel_lifecycle_control,
92316
+ :phase_1_additional_key_exchanges,
92317
+ :phase_2_additional_key_exchanges)
91457
92318
  SENSITIVE = [:pre_shared_key]
91458
92319
  include Aws::Structure
91459
92320
  end
@@ -94410,8 +95271,8 @@ module Aws::EC2
94410
95271
  # @return [String]
94411
95272
  #
94412
95273
  # @!attribute [rw] global_accelerator_exclusion
94413
- # Specifies whether to exclude AWS Global Accelerator traffic from
94414
- # encryption enforcement.
95274
+ # Specifies whether to exclude Amazon Web Services Global Accelerator
95275
+ # traffic from encryption enforcement.
94415
95276
  # @return [String]
94416
95277
  #
94417
95278
  # @!attribute [rw] api_gateway_v2_exclusion
@@ -94508,7 +95369,8 @@ module Aws::EC2
94508
95369
  # @return [Types::VpcEncryptionControlExclusion]
94509
95370
  #
94510
95371
  # @!attribute [rw] global_accelerator
94511
- # The exclusion configuration for AWS Global Accelerator traffic.
95372
+ # The exclusion configuration for Amazon Web Services Global
95373
+ # Accelerator traffic.
94512
95374
  # @return [Types::VpcEncryptionControlExclusion]
94513
95375
  #
94514
95376
  # @!attribute [rw] api_gateway_v2
@@ -94854,6 +95716,17 @@ module Aws::EC2
94854
95716
  # The payer responsibility settings for the endpoint.
94855
95717
  # @return [Array<Types::PayerResponsibilityEntry>]
94856
95718
  #
95719
+ # @!attribute [rw] transit_gateway_attachment_id
95720
+ # The ID of the transit gateway attachment, if the connection is for a
95721
+ # transit gateway attachment.
95722
+ # @return [String]
95723
+ #
95724
+ # @!attribute [rw] transit_gateway_attachment_owner
95725
+ # The ID of the Amazon Web Services account that owns the transit
95726
+ # gateway attachment, if the connection is for a transit gateway
95727
+ # attachment.
95728
+ # @return [String]
95729
+ #
94857
95730
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpcEndpointConnection AWS API Documentation
94858
95731
  #
94859
95732
  class VpcEndpointConnection < Struct.new(
@@ -94869,7 +95742,9 @@ module Aws::EC2
94869
95742
  :vpc_endpoint_connection_id,
94870
95743
  :tags,
94871
95744
  :vpc_endpoint_region,
94872
- :payer_responsibilities)
95745
+ :payer_responsibilities,
95746
+ :transit_gateway_attachment_id,
95747
+ :transit_gateway_attachment_owner)
94873
95748
  SENSITIVE = []
94874
95749
  include Aws::Structure
94875
95750
  end
@@ -94954,6 +95829,20 @@ module Aws::EC2
94954
95829
  # The ID of the VPC peering connection.
94955
95830
  # @return [String]
94956
95831
  #
95832
+ # @!attribute [rw] multipath_resilience_status
95833
+ # The multipath resilience status of the VPC peering connection. The
95834
+ # possible values are:
95835
+ #
95836
+ # * `enabled` – Both the requester and the accepter allow multipath
95837
+ # resilience.
95838
+ #
95839
+ # * `pending` – Either the requester or the accepter allows multipath
95840
+ # resilience, but not both.
95841
+ #
95842
+ # * `disabled` – Neither the requester nor the accepter allows
95843
+ # multipath resilience.
95844
+ # @return [String]
95845
+ #
94957
95846
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpcPeeringConnection AWS API Documentation
94958
95847
  #
94959
95848
  class VpcPeeringConnection < Struct.new(
@@ -94962,7 +95851,8 @@ module Aws::EC2
94962
95851
  :requester_vpc_info,
94963
95852
  :status,
94964
95853
  :tags,
94965
- :vpc_peering_connection_id)
95854
+ :vpc_peering_connection_id,
95855
+ :multipath_resilience_status)
94966
95856
  SENSITIVE = []
94967
95857
  include Aws::Structure
94968
95858
  end
@@ -94982,12 +95872,25 @@ module Aws::EC2
94982
95872
  # Deprecated.
94983
95873
  # @return [Boolean]
94984
95874
  #
95875
+ # @!attribute [rw] allow_multipath_resilience
95876
+ # Indicates whether this side of the VPC peering connection allows
95877
+ # multipath resilience.
95878
+ # @return [Boolean]
95879
+ #
95880
+ # @!attribute [rw] multipath_resilience_mode
95881
+ # The multipath resilience mode for this side of the VPC peering
95882
+ # connection. This value is present only when this side allows
95883
+ # multipath resilience.
95884
+ # @return [String]
95885
+ #
94985
95886
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpcPeeringConnectionOptionsDescription AWS API Documentation
94986
95887
  #
94987
95888
  class VpcPeeringConnectionOptionsDescription < Struct.new(
94988
95889
  :allow_dns_resolution_from_remote_vpc,
94989
95890
  :allow_egress_from_local_classic_link_to_remote_vpc,
94990
- :allow_egress_from_local_vpc_to_remote_classic_link)
95891
+ :allow_egress_from_local_vpc_to_remote_classic_link,
95892
+ :allow_multipath_resilience,
95893
+ :multipath_resilience_mode)
94991
95894
  SENSITIVE = []
94992
95895
  include Aws::Structure
94993
95896
  end
@@ -95057,6 +95960,79 @@ module Aws::EC2
95057
95960
  include Aws::Structure
95058
95961
  end
95059
95962
 
95963
+ # Describes an additional key exchange round that is permitted for the
95964
+ # VPN tunnel.
95965
+ #
95966
+ # @!attribute [rw] additional_key_exchange_round
95967
+ # The additional key exchange round number.
95968
+ # @return [Integer]
95969
+ #
95970
+ # @!attribute [rw] key_exchange_methods
95971
+ # The key exchange method numbers permitted for this round.
95972
+ # @return [Array<Types::AdditionalKeyExchangeMethodsListValue>]
95973
+ #
95974
+ # @!attribute [rw] requirement
95975
+ # Indicates whether this round is mandatory.
95976
+ # @return [String]
95977
+ #
95978
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpnAdditionalKeyExchange AWS API Documentation
95979
+ #
95980
+ class VpnAdditionalKeyExchange < Struct.new(
95981
+ :additional_key_exchange_round,
95982
+ :key_exchange_methods,
95983
+ :requirement)
95984
+ SENSITIVE = []
95985
+ include Aws::Structure
95986
+ end
95987
+
95988
+ # Specifies an additional key exchange round for the VPN tunnel, as
95989
+ # defined in RFC 9370.
95990
+ #
95991
+ # @!attribute [rw] additional_key_exchange_round
95992
+ # The additional key exchange round number.
95993
+ #
95994
+ # Valid range: Minimum value of 1. Maximum value of 7.
95995
+ # @return [Integer]
95996
+ #
95997
+ # @!attribute [rw] key_exchange_methods
95998
+ # The key exchange method numbers that are permitted for this round.
95999
+ # The method numbers are the IANA IKEv2 key exchange method transform
96000
+ # IDs.
96001
+ #
96002
+ # A `required` round must specify at least one method. An `optional`
96003
+ # round can omit this parameter or specify an empty list. If omitted
96004
+ # or empty for an optional round, the round is disabled.
96005
+ #
96006
+ # IKEv2 requires that the initial Diffie-Hellman exchange and each
96007
+ # required round use a different key exchange method. The permitted
96008
+ # methods must allow a distinct method to be selected for each of
96009
+ # them.
96010
+ #
96011
+ # Valid values: `2` \| `5` \| `14` \| `15` \| `16` \| `17` \| `18` \|
96012
+ # `19` \| `20` \| `21` \| `22` \| `23` \| `24` \| `35` \| `36` \| `37`
96013
+ # @return [Array<Types::AdditionalKeyExchangeMethodsRequestListValue>]
96014
+ #
96015
+ # @!attribute [rw] requirement
96016
+ # Indicates whether this round is mandatory. If `required`, the tunnel
96017
+ # isn't established unless the customer gateway device negotiates
96018
+ # this round. If `optional`, the round is negotiated only if the
96019
+ # customer gateway device supports it.
96020
+ #
96021
+ # Valid values: `required` \| `optional`
96022
+ #
96023
+ # Default: `required`
96024
+ # @return [String]
96025
+ #
96026
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpnAdditionalKeyExchangeRequest AWS API Documentation
96027
+ #
96028
+ class VpnAdditionalKeyExchangeRequest < Struct.new(
96029
+ :additional_key_exchange_round,
96030
+ :key_exchange_methods,
96031
+ :requirement)
96032
+ SENSITIVE = []
96033
+ include Aws::Structure
96034
+ end
96035
+
95060
96036
  # Describes a VPN concentrator.
95061
96037
  #
95062
96038
  # @!attribute [rw] vpn_concentrator_id
@@ -95645,7 +96621,7 @@ module Aws::EC2
95645
96621
  # VPN tunnel for phase 1 IKE negotiations.
95646
96622
  #
95647
96623
  # Valid values: `2` \| `14` \| `15` \| `16` \| `17` \| `18` \| `19` \|
95648
- # `20` \| `21` \| `22` \| `23` \| `24`
96624
+ # `20` \| `21` \| `22` \| `23` \| `24` \| `35`
95649
96625
  # @return [Array<Types::Phase1DHGroupNumbersRequestListValue>]
95650
96626
  #
95651
96627
  # @!attribute [rw] phase_2_dh_group_numbers
@@ -95653,7 +96629,7 @@ module Aws::EC2
95653
96629
  # VPN tunnel for phase 2 IKE negotiations.
95654
96630
  #
95655
96631
  # Valid values: `2` \| `5` \| `14` \| `15` \| `16` \| `17` \| `18` \|
95656
- # `19` \| `20` \| `21` \| `22` \| `23` \| `24`
96632
+ # `19` \| `20` \| `21` \| `22` \| `23` \| `24` \| `35` \| `36` \| `37`
95657
96633
  # @return [Array<Types::Phase2DHGroupNumbersRequestListValue>]
95658
96634
  #
95659
96635
  # @!attribute [rw] ike_versions
@@ -95681,6 +96657,26 @@ module Aws::EC2
95681
96657
  # Turn on or off tunnel endpoint lifecycle control feature.
95682
96658
  # @return [Boolean]
95683
96659
  #
96660
+ # @!attribute [rw] phase_1_additional_key_exchanges
96661
+ # One or more additional key exchange rounds that are permitted for
96662
+ # the VPN tunnel for phase 1 IKE negotiations. Additional key
96663
+ # exchanges occur after the initial Diffie-Hellman exchange. Each
96664
+ # round must have a unique round number.
96665
+ #
96666
+ # Additional key exchanges are supported only with IKEv2. You can't
96667
+ # specify a `required` round if `IKEVersions` contains only `ikev1`.
96668
+ # @return [Array<Types::VpnAdditionalKeyExchangeRequest>]
96669
+ #
96670
+ # @!attribute [rw] phase_2_additional_key_exchanges
96671
+ # One or more additional key exchange rounds that are permitted for
96672
+ # the VPN tunnel for phase 2 IKE negotiations. Additional key
96673
+ # exchanges occur after the initial Diffie-Hellman exchange. Each
96674
+ # round must have a unique round number.
96675
+ #
96676
+ # Additional key exchanges are supported only with IKEv2. You can't
96677
+ # specify a `required` round if `IKEVersions` contains only `ikev1`.
96678
+ # @return [Array<Types::VpnAdditionalKeyExchangeRequest>]
96679
+ #
95684
96680
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpnTunnelOptionsSpecification AWS API Documentation
95685
96681
  #
95686
96682
  class VpnTunnelOptionsSpecification < Struct.new(
@@ -95703,7 +96699,9 @@ module Aws::EC2
95703
96699
  :ike_versions,
95704
96700
  :startup_action,
95705
96701
  :log_options,
95706
- :enable_tunnel_lifecycle_control)
96702
+ :enable_tunnel_lifecycle_control,
96703
+ :phase_1_additional_key_exchanges,
96704
+ :phase_2_additional_key_exchanges)
95707
96705
  SENSITIVE = [:pre_shared_key]
95708
96706
  include Aws::Structure
95709
96707
  end