@aws-sdk/client-ec2 3.454.0 → 3.456.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.
Files changed (46) hide show
  1. package/dist-cjs/models/models_0.js +6 -2
  2. package/dist-cjs/protocols/Aws_ec2.js +21 -0
  3. package/dist-es/models/models_0.js +4 -0
  4. package/dist-es/protocols/Aws_ec2.js +21 -0
  5. package/dist-types/commands/AcceptTransitGatewayVpcAttachmentCommand.d.ts +1 -0
  6. package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +6 -0
  7. package/dist-types/commands/CreateCarrierGatewayCommand.d.ts +1 -2
  8. package/dist-types/commands/CreateTransitGatewayCommand.d.ts +2 -0
  9. package/dist-types/commands/CreateTransitGatewayVpcAttachmentCommand.d.ts +2 -0
  10. package/dist-types/commands/DeleteNatGatewayCommand.d.ts +1 -2
  11. package/dist-types/commands/DeleteTransitGatewayCommand.d.ts +1 -0
  12. package/dist-types/commands/DeleteTransitGatewayVpcAttachmentCommand.d.ts +1 -0
  13. package/dist-types/commands/DescribeImportSnapshotTasksCommand.d.ts +1 -2
  14. package/dist-types/commands/DescribeSecurityGroupReferencesCommand.d.ts +2 -1
  15. package/dist-types/commands/DescribeStaleSecurityGroupsCommand.d.ts +2 -3
  16. package/dist-types/commands/DescribeSubnetsCommand.d.ts +2 -1
  17. package/dist-types/commands/DescribeTransitGatewayVpcAttachmentsCommand.d.ts +1 -0
  18. package/dist-types/commands/DescribeTransitGatewaysCommand.d.ts +1 -0
  19. package/dist-types/commands/GetIpamPoolCidrsCommand.d.ts +2 -1
  20. package/dist-types/commands/ModifyTransitGatewayCommand.d.ts +2 -0
  21. package/dist-types/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +2 -0
  22. package/dist-types/commands/RegisterTransitGatewayMulticastGroupSourcesCommand.d.ts +2 -1
  23. package/dist-types/commands/RejectTransitGatewayVpcAttachmentCommand.d.ts +1 -0
  24. package/dist-types/models/models_0.d.ts +18 -30
  25. package/dist-types/models/models_1.d.ts +61 -45
  26. package/dist-types/models/models_2.d.ts +54 -32
  27. package/dist-types/models/models_3.d.ts +17 -33
  28. package/dist-types/models/models_4.d.ts +43 -20
  29. package/dist-types/models/models_5.d.ts +17 -17
  30. package/dist-types/models/models_6.d.ts +42 -18
  31. package/dist-types/models/models_7.d.ts +18 -13
  32. package/dist-types/ts3.4/commands/CreateCarrierGatewayCommand.d.ts +4 -2
  33. package/dist-types/ts3.4/commands/DeleteNatGatewayCommand.d.ts +4 -2
  34. package/dist-types/ts3.4/commands/DescribeImportSnapshotTasksCommand.d.ts +4 -2
  35. package/dist-types/ts3.4/commands/DescribeSubnetsCommand.d.ts +2 -4
  36. package/dist-types/ts3.4/commands/GetIpamPoolCidrsCommand.d.ts +2 -4
  37. package/dist-types/ts3.4/commands/RegisterTransitGatewayMulticastGroupSourcesCommand.d.ts +2 -4
  38. package/dist-types/ts3.4/models/models_0.d.ts +7 -6
  39. package/dist-types/ts3.4/models/models_1.d.ts +6 -4
  40. package/dist-types/ts3.4/models/models_2.d.ts +8 -5
  41. package/dist-types/ts3.4/models/models_3.d.ts +4 -7
  42. package/dist-types/ts3.4/models/models_4.d.ts +8 -5
  43. package/dist-types/ts3.4/models/models_5.d.ts +5 -5
  44. package/dist-types/ts3.4/models/models_6.d.ts +7 -3
  45. package/dist-types/ts3.4/models/models_7.d.ts +4 -0
  46. package/package.json +1 -1
@@ -1,4 +1,33 @@
1
1
  import { _InstanceType, AcceleratorCount, AcceleratorCountRequest, AcceleratorManufacturer, AcceleratorName, AcceleratorTotalMemoryMiB, AcceleratorTotalMemoryMiBRequest, AcceleratorType, AccessScopePath, AccessScopePathRequest, AddIpamOperatingRegion, AddPrefixListEntry, AddressFamily, AttachmentStatus, InstanceEventWindow, NatGatewayAddress, PortRange, Protocol, ResourceType, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, UnsuccessfulItem, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, WeekDay } from "./models_0";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface CreateCarrierGatewayRequest {
6
+ /**
7
+ * @public
8
+ * <p>The ID of the VPC to associate with the carrier gateway.</p>
9
+ */
10
+ VpcId: string | undefined;
11
+ /**
12
+ * @public
13
+ * <p>The tags to associate with the carrier gateway.</p>
14
+ */
15
+ TagSpecifications?: TagSpecification[];
16
+ /**
17
+ * @public
18
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
19
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
20
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
21
+ */
22
+ DryRun?: boolean;
23
+ /**
24
+ * @public
25
+ * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the
26
+ * request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html">How to ensure
27
+ * idempotency</a>.</p>
28
+ */
29
+ ClientToken?: string;
30
+ }
2
31
  /**
3
32
  * @public
4
33
  * @enum
@@ -3627,24 +3656,22 @@ export interface EbsBlockDevice {
3627
3656
  * <ul>
3628
3657
  * <li>
3629
3658
  * <p>
3630
- * <code>gp3</code>: 3,000-16,000 IOPS</p>
3659
+ * <code>gp3</code>: 3,000 - 16,000 IOPS</p>
3631
3660
  * </li>
3632
3661
  * <li>
3633
3662
  * <p>
3634
- * <code>io1</code>: 100-64,000 IOPS</p>
3663
+ * <code>io1</code>: 100 - 64,000 IOPS</p>
3635
3664
  * </li>
3636
3665
  * <li>
3637
3666
  * <p>
3638
- * <code>io2</code>: 100-64,000 IOPS</p>
3667
+ * <code>io2</code>: 100 - 256,000 IOPS</p>
3639
3668
  * </li>
3640
3669
  * </ul>
3641
- * <p>For <code>io1</code> and <code>io2</code> volumes, we guarantee 64,000 IOPS only for
3642
- * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances">Instances built on the
3643
- * Nitro System</a>. Other instance families guarantee performance up to
3644
- * 32,000 IOPS.</p>
3670
+ * <p>For <code>io2</code> volumes, you can achieve up to 256,000 IOPS on
3671
+ * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances">instances
3672
+ * built on the Nitro System</a>. On other instances, you can achieve performance up to 32,000 IOPS.</p>
3645
3673
  * <p>This parameter is required for <code>io1</code> and <code>io2</code> volumes. The default for <code>gp3</code> volumes
3646
- * is 3,000 IOPS. This parameter is not supported for <code>gp2</code>, <code>st1</code>, <code>sc1</code>, or <code>standard</code>
3647
- * volumes.</p>
3674
+ * is 3,000 IOPS.</p>
3648
3675
  */
3649
3676
  Iops?: number;
3650
3677
  /**
@@ -3657,23 +3684,27 @@ export interface EbsBlockDevice {
3657
3684
  * <p>The size of the volume, in GiBs. You must specify either a snapshot ID or a volume
3658
3685
  * size. If you specify a snapshot, the default is the snapshot size. You can specify a
3659
3686
  * volume size that is equal to or larger than the snapshot size.</p>
3660
- * <p>The following are the supported volumes sizes for each volume type:</p>
3687
+ * <p>The following are the supported sizes for each volume type:</p>
3661
3688
  * <ul>
3662
3689
  * <li>
3663
3690
  * <p>
3664
- * <code>gp2</code> and <code>gp3</code>:1-16,384</p>
3691
+ * <code>gp2</code> and <code>gp3</code>: 1 - 16,384 GiB</p>
3692
+ * </li>
3693
+ * <li>
3694
+ * <p>
3695
+ * <code>io1</code>: 4 - 16,384 GiB</p>
3665
3696
  * </li>
3666
3697
  * <li>
3667
3698
  * <p>
3668
- * <code>io1</code> and <code>io2</code>: 4-16,384</p>
3699
+ * <code>io2</code>: 4 - 65,536 GiB</p>
3669
3700
  * </li>
3670
3701
  * <li>
3671
3702
  * <p>
3672
- * <code>st1</code> and <code>sc1</code>: 125-16,384</p>
3703
+ * <code>st1</code> and <code>sc1</code>: 125 - 16,384 GiB</p>
3673
3704
  * </li>
3674
3705
  * <li>
3675
3706
  * <p>
3676
- * <code>standard</code>: 1-1,024</p>
3707
+ * <code>standard</code>: 1 - 1024 GiB</p>
3677
3708
  * </li>
3678
3709
  * </ul>
3679
3710
  */
@@ -3681,8 +3712,7 @@ export interface EbsBlockDevice {
3681
3712
  /**
3682
3713
  * @public
3683
3714
  * <p>The volume type. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html">Amazon EBS volume types</a> in the
3684
- * <i>Amazon EC2 User Guide</i>. If the volume type is <code>io1</code> or
3685
- * <code>io2</code>, you must specify the IOPS that the volume supports.</p>
3715
+ * <i>Amazon EC2 User Guide</i>.</p>
3686
3716
  */
3687
3717
  VolumeType?: VolumeType;
3688
3718
  /**
@@ -5433,23 +5463,21 @@ export interface LaunchTemplateEbsBlockDeviceRequest {
5433
5463
  * <ul>
5434
5464
  * <li>
5435
5465
  * <p>
5436
- * <code>gp3</code>: 3,000-16,000 IOPS</p>
5466
+ * <code>gp3</code>: 3,000 - 16,000 IOPS</p>
5437
5467
  * </li>
5438
5468
  * <li>
5439
5469
  * <p>
5440
- * <code>io1</code>: 100-64,000 IOPS</p>
5470
+ * <code>io1</code>: 100 - 64,000 IOPS</p>
5441
5471
  * </li>
5442
5472
  * <li>
5443
5473
  * <p>
5444
- * <code>io2</code>: 100-64,000 IOPS</p>
5474
+ * <code>io2</code>: 100 - 256,000 IOPS</p>
5445
5475
  * </li>
5446
5476
  * </ul>
5447
- * <p>For <code>io1</code> and <code>io2</code> volumes, we guarantee
5448
- * 64,000 IOPS only for <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances">Instances built on the
5449
- * Nitro System</a>. Other instance families guarantee performance up to
5450
- * 32,000 IOPS.</p>
5451
- * <p>This parameter is supported for <code>io1</code>, <code>io2</code>, and <code>gp3</code> volumes only. This parameter
5452
- * is not supported for <code>gp2</code>, <code>st1</code>, <code>sc1</code>, or <code>standard</code> volumes.</p>
5477
+ * <p>For <code>io2</code> volumes, you can achieve up to 256,000 IOPS on
5478
+ * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances">instances
5479
+ * built on the Nitro System</a>. On other instances, you can achieve performance up to 32,000 IOPS.</p>
5480
+ * <p>This parameter is supported for <code>io1</code>, <code>io2</code>, and <code>gp3</code> volumes only.</p>
5453
5481
  */
5454
5482
  Iops?: number;
5455
5483
  /**
@@ -5469,19 +5497,23 @@ export interface LaunchTemplateEbsBlockDeviceRequest {
5469
5497
  * <ul>
5470
5498
  * <li>
5471
5499
  * <p>
5472
- * <code>gp2</code> and <code>gp3</code>: 1-16,384</p>
5500
+ * <code>gp2</code> and <code>gp3</code>: 1 - 16,384 GiB</p>
5501
+ * </li>
5502
+ * <li>
5503
+ * <p>
5504
+ * <code>io1</code>: 4 - 16,384 GiB</p>
5473
5505
  * </li>
5474
5506
  * <li>
5475
5507
  * <p>
5476
- * <code>io1</code> and <code>io2</code>: 4-16,384</p>
5508
+ * <code>io2</code>: 4 - 65,536 GiB</p>
5477
5509
  * </li>
5478
5510
  * <li>
5479
5511
  * <p>
5480
- * <code>st1</code> and <code>sc1</code>: 125-16,384</p>
5512
+ * <code>st1</code> and <code>sc1</code>: 125 - 16,384 GiB</p>
5481
5513
  * </li>
5482
5514
  * <li>
5483
5515
  * <p>
5484
- * <code>standard</code>: 1-1,024</p>
5516
+ * <code>standard</code>: 1 - 1024 GiB</p>
5485
5517
  * </li>
5486
5518
  * </ul>
5487
5519
  */
@@ -9680,22 +9712,6 @@ export declare const NetworkInterfaceType: {
9680
9712
  * @public
9681
9713
  */
9682
9714
  export type NetworkInterfaceType = (typeof NetworkInterfaceType)[keyof typeof NetworkInterfaceType];
9683
- /**
9684
- * @public
9685
- * <p>Describes an IPv6 address associated with a network interface.</p>
9686
- */
9687
- export interface NetworkInterfaceIpv6Address {
9688
- /**
9689
- * @public
9690
- * <p>The IPv6 address.</p>
9691
- */
9692
- Ipv6Address?: string;
9693
- /**
9694
- * @public
9695
- * <p>Determines if an IPv6 address associated with a network interface is the primary IPv6 address. When you enable an IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is terminated or the network interface is detached. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyNetworkInterfaceAttribute.html">ModifyNetworkInterfaceAttribute</a>.</p>
9696
- */
9697
- IsPrimaryIpv6?: boolean;
9698
- }
9699
9715
  /**
9700
9716
  * @internal
9701
9717
  */
@@ -1,5 +1,21 @@
1
- import { ApplianceModeSupportValue, CurrencyCodeValues, DeviceTrustProviderType, DnsSupportValue, DynamicRoutingValue, InstanceEventWindowState, Ipv4PrefixSpecification, Ipv6SupportValue, ReservedInstancesListing, RouteTableAssociationState, Tag, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, TrustProviderType, UnsuccessfulItem, UserTrustProviderType, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider, VolumeAttachment, VpcAttachment, VpcPeeringConnection } from "./models_0";
2
- import { CarrierGateway, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipCidr, CoipPool, ConnectionTrackingConfiguration, Ec2InstanceConnectEndpoint, GatewayType, GroupIdentifier, Ipam, IpamPool, IpamResourceDiscovery, IpamScope, LaunchTemplate, LocalGatewayRoute, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, NetworkInterfaceAssociation, NetworkInterfaceAttachment, NetworkInterfaceIpv6Address, NetworkInterfaceType, Subnet, Tenancy, VolumeType, Vpc } from "./models_1";
1
+ import { ApplianceModeSupportValue, CurrencyCodeValues, DeviceTrustProviderType, DnsSupportValue, DynamicRoutingValue, InstanceEventWindowState, Ipv4PrefixSpecification, Ipv6SupportValue, ReservedInstancesListing, RouteTableAssociationState, SecurityGroupReferencingSupportValue, Tag, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, TrustProviderType, UnsuccessfulItem, UserTrustProviderType, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider, VolumeAttachment, VpcAttachment, VpcPeeringConnection } from "./models_0";
2
+ import { CarrierGateway, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipCidr, CoipPool, ConnectionTrackingConfiguration, Ec2InstanceConnectEndpoint, GatewayType, GroupIdentifier, Ipam, IpamPool, IpamResourceDiscovery, IpamScope, LaunchTemplate, LocalGatewayRoute, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, NetworkInterfaceAssociation, NetworkInterfaceAttachment, NetworkInterfaceType, Subnet, Tenancy, VolumeType, Vpc } from "./models_1";
3
+ /**
4
+ * @public
5
+ * <p>Describes an IPv6 address associated with a network interface.</p>
6
+ */
7
+ export interface NetworkInterfaceIpv6Address {
8
+ /**
9
+ * @public
10
+ * <p>The IPv6 address.</p>
11
+ */
12
+ Ipv6Address?: string;
13
+ /**
14
+ * @public
15
+ * <p>Determines if an IPv6 address associated with a network interface is the primary IPv6 address. When you enable an IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is terminated or the network interface is detached. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyNetworkInterfaceAttribute.html">ModifyNetworkInterfaceAttribute</a>.</p>
16
+ */
17
+ IsPrimaryIpv6?: boolean;
18
+ }
3
19
  /**
4
20
  * @public
5
21
  * <p>Describes the IPv6 prefix.</p>
@@ -2591,6 +2607,12 @@ export interface TransitGatewayRequestOptions {
2591
2607
  * <p>Enable or disable DNS support. Enabled by default.</p>
2592
2608
  */
2593
2609
  DnsSupport?: DnsSupportValue;
2610
+ /**
2611
+ * @public
2612
+ * <p>Enables you to reference a security group across VPCs attached to a transit gateway (TGW). Use this option to simplify security group management and control of instance-to-instance traffic across VPCs that are connected by transit gateway. You can also use this option to migrate from VPC peering (which was the only option that supported security group referencing) to transit gateways (which now also support security group referencing). This option is disabled by default and there are no additional costs to use this feature.</p>
2613
+ * <p>For important information about this feature, see <a href="https://docs.aws.amazon.com/vpc/latest/tgw/tgw-transit-gateways.html#create-tgw">Create a transit gateway</a> in the <i>Amazon Web Services Transit Gateway Guide</i>.</p>
2614
+ */
2615
+ SecurityGroupReferencingSupport?: SecurityGroupReferencingSupportValue;
2594
2616
  /**
2595
2617
  * @public
2596
2618
  * <p>Indicates whether multicast is enabled on the transit gateway</p>
@@ -2680,6 +2702,12 @@ export interface TransitGatewayOptions {
2680
2702
  * <p>Indicates whether DNS support is enabled.</p>
2681
2703
  */
2682
2704
  DnsSupport?: DnsSupportValue;
2705
+ /**
2706
+ * @public
2707
+ * <p>Enables you to reference a security group across VPCs attached to a transit gateway (TGW). Use this option to simplify security group management and control of instance-to-instance traffic across VPCs that are connected by transit gateway. You can also use this option to migrate from VPC peering (which was the only option that supported security group referencing) to transit gateways (which now also support security group referencing). This option is disabled by default and there are no additional costs to use this feature.</p>
2708
+ * <p>For important information about this feature, see <a href="https://docs.aws.amazon.com/vpc/latest/tgw/tgw-transit-gateways.html#create-tgw">Create a transit gateway</a> in the <i>Amazon Web Services Transit Gateway Guide</i>.</p>
2709
+ */
2710
+ SecurityGroupReferencingSupport?: SecurityGroupReferencingSupportValue;
2683
2711
  /**
2684
2712
  * @public
2685
2713
  * <p>Indicates whether multicast is enabled on the transit gateway</p>
@@ -3839,6 +3867,15 @@ export interface CreateTransitGatewayVpcAttachmentRequestOptions {
3839
3867
  * <p>Enable or disable DNS support. The default is <code>enable</code>.</p>
3840
3868
  */
3841
3869
  DnsSupport?: DnsSupportValue;
3870
+ /**
3871
+ * @public
3872
+ * <p>Enables you to reference a security group across VPCs attached to a transit gateway (TGW). Use this option to simplify security group management and control of instance-to-instance traffic across VPCs that are connected by transit gateway. You can also use this option to migrate from VPC peering (which was the only option that supported security group referencing) to transit gateways (which now also support security group referencing). This option is disabled by default and there are no additional costs to use this feature.</p>
3873
+ * <p>If you don't enable or disable SecurityGroupReferencingSupport in the request, the
3874
+ * attachment will inherit the security group referencing support setting on the transit
3875
+ * gateway.</p>
3876
+ * <p>For important information about this feature, see <a href="https://docs.aws.amazon.com/vpc/latest/tgw/tgw-vpc-attachments.html#create-vpc-attachment">Create a transit gateway attachment to a VPC</a> in the <i>Amazon Web Services Transit Gateway Guide</i>.</p>
3877
+ */
3878
+ SecurityGroupReferencingSupport?: SecurityGroupReferencingSupportValue;
3842
3879
  /**
3843
3880
  * @public
3844
3881
  * <p>Enable or disable IPv6 support. The default is <code>disable</code>.</p>
@@ -4611,23 +4648,21 @@ export interface CreateVolumeRequest {
4611
4648
  * <ul>
4612
4649
  * <li>
4613
4650
  * <p>
4614
- * <code>gp3</code>: 3,000-16,000 IOPS</p>
4651
+ * <code>gp3</code>: 3,000 - 16,000 IOPS</p>
4615
4652
  * </li>
4616
4653
  * <li>
4617
4654
  * <p>
4618
- * <code>io1</code>: 100-64,000 IOPS</p>
4655
+ * <code>io1</code>: 100 - 64,000 IOPS</p>
4619
4656
  * </li>
4620
4657
  * <li>
4621
4658
  * <p>
4622
- * <code>io2</code>: 100-64,000 IOPS</p>
4659
+ * <code>io2</code>: 100 - 256,000 IOPS</p>
4623
4660
  * </li>
4624
4661
  * </ul>
4625
- * <p>
4626
- * <code>io1</code> and <code>io2</code> volumes support up to 64,000 IOPS only on
4627
- * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances">Instances built on the Nitro System</a>. Other instance families support performance
4628
- * up to 32,000 IOPS.</p>
4629
- * <p>This parameter is required for <code>io1</code> and <code>io2</code> volumes.
4630
- * The default for <code>gp3</code> volumes is 3,000 IOPS.
4662
+ * <p>For <code>io2</code> volumes, you can achieve up to 256,000 IOPS on
4663
+ * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances">instances
4664
+ * built on the Nitro System</a>. On other instances, you can achieve performance up to 32,000 IOPS.</p>
4665
+ * <p>This parameter is required for <code>io1</code> and <code>io2</code> volumes. The default for <code>gp3</code> volumes is 3,000 IOPS.
4631
4666
  * This parameter is not supported for <code>gp2</code>, <code>st1</code>, <code>sc1</code>, or <code>standard</code> volumes.</p>
4632
4667
  */
4633
4668
  Iops?: number;
@@ -4669,19 +4704,23 @@ export interface CreateVolumeRequest {
4669
4704
  * <ul>
4670
4705
  * <li>
4671
4706
  * <p>
4672
- * <code>gp2</code> and <code>gp3</code>: 1-16,384</p>
4707
+ * <code>gp2</code> and <code>gp3</code>: 1 - 16,384 GiB</p>
4708
+ * </li>
4709
+ * <li>
4710
+ * <p>
4711
+ * <code>io1</code>: 4 - 16,384 GiB</p>
4673
4712
  * </li>
4674
4713
  * <li>
4675
4714
  * <p>
4676
- * <code>io1</code> and <code>io2</code>: 4-16,384</p>
4715
+ * <code>io2</code>: 4 - 65,536 GiB</p>
4677
4716
  * </li>
4678
4717
  * <li>
4679
4718
  * <p>
4680
- * <code>st1</code> and <code>sc1</code>: 125-16,384</p>
4719
+ * <code>st1</code> and <code>sc1</code>: 125 - 16,384 GiB</p>
4681
4720
  * </li>
4682
4721
  * <li>
4683
4722
  * <p>
4684
- * <code>standard</code>: 1-1,024</p>
4723
+ * <code>standard</code>: 1 - 1024 GiB</p>
4685
4724
  * </li>
4686
4725
  * </ul>
4687
4726
  */
@@ -7836,23 +7875,6 @@ export interface DeleteManagedPrefixListResult {
7836
7875
  */
7837
7876
  PrefixList?: ManagedPrefixList;
7838
7877
  }
7839
- /**
7840
- * @public
7841
- */
7842
- export interface DeleteNatGatewayRequest {
7843
- /**
7844
- * @public
7845
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7846
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7847
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7848
- */
7849
- DryRun?: boolean;
7850
- /**
7851
- * @public
7852
- * <p>The ID of the NAT gateway.</p>
7853
- */
7854
- NatGatewayId: string | undefined;
7855
- }
7856
7878
  /**
7857
7879
  * @internal
7858
7880
  */
@@ -1,6 +1,23 @@
1
1
  import { _InstanceType, AccountAttribute, AccountAttributeName, ActiveInstance, Address, AddressAttribute, AddressAttributeName, AddressTransfer, AllocationState, AllowsMultipleInstanceTypes, AssociationStatus, AutoPlacement, BundleTask, ByoipCidr, CapacityReservation, CapacityReservationFleetState, CapacityReservationTenancy, ClientVpnAuthorizationRuleStatus, CurrencyCodeValues, FleetCapacityReservation, FleetCapacityReservationTenancy, FleetInstanceMatchCriteria, HostMaintenance, HostRecovery, IamInstanceProfileAssociation, Tag, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessTrustProvider } from "./models_0";
2
2
  import { AttributeValue, BlockDeviceMapping, CarrierGateway, ClientVpnAuthenticationType, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipPool, CustomerGateway, DefaultTargetCapacityType, DestinationFileFormat, DhcpOptions, DiskImageFormat, EgressOnlyInternetGateway, ExportTask, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetType, GroupIdentifier, InstanceLifecycle, LaunchTemplateAndOverridesResponse, LogDestinationType, PlatformValues, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, StateReason, TargetCapacityUnitType, TrafficType, TransportProtocol } from "./models_1";
3
3
  import { FleetStateCode, SubnetCidrReservation, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayPrefixListReference, TransitGatewayRoute, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup } from "./models_2";
4
+ /**
5
+ * @public
6
+ */
7
+ export interface DeleteNatGatewayRequest {
8
+ /**
9
+ * @public
10
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
11
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
12
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
13
+ */
14
+ DryRun?: boolean;
15
+ /**
16
+ * @public
17
+ * <p>The ID of the NAT gateway.</p>
18
+ */
19
+ NatGatewayId: string | undefined;
20
+ }
4
21
  /**
5
22
  * @public
6
23
  */
@@ -8244,39 +8261,6 @@ export interface DescribeImportImageTasksResult {
8244
8261
  */
8245
8262
  NextToken?: string;
8246
8263
  }
8247
- /**
8248
- * @public
8249
- */
8250
- export interface DescribeImportSnapshotTasksRequest {
8251
- /**
8252
- * @public
8253
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
8254
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
8255
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8256
- */
8257
- DryRun?: boolean;
8258
- /**
8259
- * @public
8260
- * <p>The filters.</p>
8261
- */
8262
- Filters?: Filter[];
8263
- /**
8264
- * @public
8265
- * <p>A list of import snapshot task IDs.</p>
8266
- */
8267
- ImportTaskIds?: string[];
8268
- /**
8269
- * @public
8270
- * <p>The maximum number of results to return in a single call. To retrieve the remaining results, make another call
8271
- * with the returned <code>NextToken</code> value.</p>
8272
- */
8273
- MaxResults?: number;
8274
- /**
8275
- * @public
8276
- * <p>A token that indicates the next page of results.</p>
8277
- */
8278
- NextToken?: string;
8279
- }
8280
8264
  /**
8281
8265
  * @internal
8282
8266
  */
@@ -1,7 +1,40 @@
1
1
  import { _InstanceType, ActiveInstance, ActivityStatus, AllocationStrategy, AlternatePathHint, AttachmentStatus, BatchState, CurrencyCodeValues, Explanation, IamInstanceProfile, IamInstanceProfileSpecification, InstanceEventWindow, IpamResourceDiscoveryAssociation, IpPermission, PathComponent, ReservedInstancesListing, ResourceType, SecurityGroupRule, Tag, TagSpecification, UserIdGroupPair } from "./models_0";
2
- import { AmdSevSnpSpecification, AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTargetResponse, ConnectionTrackingSpecificationRequest, Ec2InstanceConnectEndpoint, EnaSrdSpecificationRequest, FleetLaunchTemplateSpecification, FleetType, GroupIdentifier, HostnameType, InstanceInterruptionBehavior, InstanceIpv6Address, InstanceRequirements, InternetGateway, Ipam, IpamPool, IpamResourceDiscovery, IpamScope, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, KeyType, LaunchTemplate, LaunchTemplateVersion, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsAccessScope, NetworkInsightsPath, NetworkInterfaceAttachment, Placement, PlatformValues, PrivateIpAddressSpecification, SpotInstanceType, StateReason, Subnet, TargetCapacityUnitType, Tenancy } from "./models_1";
2
+ import { AmdSevSnpSpecification, AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTargetResponse, ConnectionTrackingSpecificationRequest, Ec2InstanceConnectEndpoint, EnaSrdSpecificationRequest, FleetLaunchTemplateSpecification, FleetType, GroupIdentifier, HostnameType, InstanceInterruptionBehavior, InstanceIpv6Address, InstanceRequirements, InternetGateway, Ipam, IpamPool, IpamResourceDiscovery, IpamScope, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, KeyType, LaunchTemplate, LaunchTemplateVersion, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsAccessScope, NetworkInsightsPath, NetworkInterfaceAttachment, Placement, PlatformValues, PrivateIpAddressSpecification, SpotInstanceType, StateReason, TargetCapacityUnitType, Tenancy } from "./models_1";
3
3
  import { NetworkInterface, NetworkInterfacePermission, NetworkInterfaceStatus, PlacementGroup, ReplaceRootVolumeTask, RouteTable, Snapshot, SnapshotState, SpotDatafeedSubscription, SpotInstanceStateFault, StorageTier } from "./models_2";
4
4
  import { ArchitectureValues, BootModeValues, Byoasn, DeviceType, EventInformation, Filter, HypervisorType, IdFormat, InstanceTagNotificationAttribute, PermissionGroup, ProductCode, UserBucketDetails, VirtualizationType } from "./models_3";
5
+ /**
6
+ * @public
7
+ */
8
+ export interface DescribeImportSnapshotTasksRequest {
9
+ /**
10
+ * @public
11
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
12
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
13
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
14
+ */
15
+ DryRun?: boolean;
16
+ /**
17
+ * @public
18
+ * <p>The filters.</p>
19
+ */
20
+ Filters?: Filter[];
21
+ /**
22
+ * @public
23
+ * <p>A list of import snapshot task IDs.</p>
24
+ */
25
+ ImportTaskIds?: string[];
26
+ /**
27
+ * @public
28
+ * <p>The maximum number of results to return in a single call. To retrieve the remaining results, make another call
29
+ * with the returned <code>NextToken</code> value.</p>
30
+ */
31
+ MaxResults?: number;
32
+ /**
33
+ * @public
34
+ * <p>A token that indicates the next page of results.</p>
35
+ */
36
+ NextToken?: string;
37
+ }
5
38
  /**
6
39
  * @public
7
40
  * <p>Details about the import snapshot task.</p>
@@ -8680,9 +8713,14 @@ export interface SecurityGroupReference {
8680
8713
  ReferencingVpcId?: string;
8681
8714
  /**
8682
8715
  * @public
8683
- * <p>The ID of the VPC peering connection.</p>
8716
+ * <p>The ID of the VPC peering connection (if applicable). For more information about security group referencing for peering connections, see <a href="https://docs.aws.amazon.com/peering/vpc-peering-security-groups.html">Update your security groups to reference peer security groups</a> in the <i>VPC Peering Guide</i>.</p>
8684
8717
  */
8685
8718
  VpcPeeringConnectionId?: string;
8719
+ /**
8720
+ * @public
8721
+ * <p>The ID of the transit gateway (if applicable). For more information about security group referencing for transit gateways, see <a href="https://docs.aws.amazon.com/tgw/tgw-vpc-attachments.html#create-vpc-attachment">Create a transit gateway attachment to a VPC</a> in the <i>Amazon Web Services Transit Gateway Guide</i>.</p>
8722
+ */
8723
+ TransitGatewayId?: string;
8686
8724
  }
8687
8725
  /**
8688
8726
  * @public
@@ -10549,9 +10587,9 @@ export interface DescribeSpotInstanceRequestsRequest {
10549
10587
  * <li>
10550
10588
  * <p>
10551
10589
  * <code>launch.block-device-mapping.volume-type</code> - The type of EBS volume:
10552
- * <code>gp2</code> for General Purpose SSD, <code>io1</code> or
10553
- * <code>io2</code> for Provisioned IOPS SSD, <code>st1</code> for Throughput
10554
- * Optimized HDD, <code>sc1</code>for Cold HDD, or <code>standard</code> for
10590
+ * <code>gp2</code> or <code>gp3</code> for General Purpose SSD, <code>io1</code>
10591
+ * or <code>io2</code> for Provisioned IOPS SSD, <code>st1</code> for Throughput
10592
+ * Optimized HDD, <code>sc1</code> for Cold HDD, or <code>standard</code> for
10555
10593
  * Magnetic.</p>
10556
10594
  * </li>
10557
10595
  * <li>
@@ -11543,21 +11581,6 @@ export interface DescribeSubnetsRequest {
11543
11581
  */
11544
11582
  MaxResults?: number;
11545
11583
  }
11546
- /**
11547
- * @public
11548
- */
11549
- export interface DescribeSubnetsResult {
11550
- /**
11551
- * @public
11552
- * <p>Information about one or more subnets.</p>
11553
- */
11554
- Subnets?: Subnet[];
11555
- /**
11556
- * @public
11557
- * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there are no more items to return.</p>
11558
- */
11559
- NextToken?: string;
11560
- }
11561
11584
  /**
11562
11585
  * @internal
11563
11586
  */
@@ -1,8 +1,23 @@
1
1
  import { AddressTransfer, AllowedPrincipal, AsnAssociation, AssociationStatus, CapacityReservationState, CurrencyCodeValues, IamInstanceProfileAssociation, InstanceEventWindow, IpamPoolAllocation, IpamResourceDiscoveryAssociation, NatGatewayAddress, ResourceType, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, TransitGatewayAssociation, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayPolicyTableAssociation, TransitGatewayVpcAttachment, TrunkInterfaceAssociation, VerifiedAccessInstance, VerifiedAccessTrustProvider, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, VpcPeeringConnection } from "./models_0";
2
- import { DiskImageFormat, InstanceRequirementsRequest, IpamResourceTag, VolumeType, Vpc } from "./models_1";
2
+ import { DiskImageFormat, InstanceRequirementsRequest, IpamResourceTag, Subnet, VolumeType, Vpc } from "./models_1";
3
3
  import { ConnectionNotification, DnsEntry, DnsNameState, IpAddressType, PayerResponsibility, ServiceConfiguration, ServiceConnectivityType, ServiceTypeDetail, SSEType, State, TrafficMirrorFilter, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, Volume, VpcEndpoint, VpnConnection, VpnGateway } from "./models_2";
4
- import { ExportTaskS3Location, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchResourceType, FastLaunchSnapshotConfigurationResponse, FastLaunchStateCode, FastSnapshotRestoreStateCode, Filter, IpamPoolCidr, MetricType, PaymentOption, PeriodType, ProductCode, StatisticType, VirtualizationType } from "./models_3";
4
+ import { ExportTaskS3Location, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchResourceType, FastLaunchSnapshotConfigurationResponse, FastLaunchStateCode, FastSnapshotRestoreStateCode, Filter, MetricType, PaymentOption, PeriodType, ProductCode, StatisticType, VirtualizationType } from "./models_3";
5
5
  import { ArchitectureType, AttributeBooleanValue } from "./models_4";
6
+ /**
7
+ * @public
8
+ */
9
+ export interface DescribeSubnetsResult {
10
+ /**
11
+ * @public
12
+ * <p>Information about one or more subnets.</p>
13
+ */
14
+ Subnets?: Subnet[];
15
+ /**
16
+ * @public
17
+ * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there are no more items to return.</p>
18
+ */
19
+ NextToken?: string;
20
+ }
6
21
  /**
7
22
  * @public
8
23
  */
@@ -7618,21 +7633,6 @@ export interface GetIpamPoolCidrsRequest {
7618
7633
  */
7619
7634
  NextToken?: string;
7620
7635
  }
7621
- /**
7622
- * @public
7623
- */
7624
- export interface GetIpamPoolCidrsResult {
7625
- /**
7626
- * @public
7627
- * <p>Information about the CIDRs provisioned to an IPAM pool.</p>
7628
- */
7629
- IpamPoolCidrs?: IpamPoolCidr[];
7630
- /**
7631
- * @public
7632
- * <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
7633
- */
7634
- NextToken?: string;
7635
- }
7636
7636
  /**
7637
7637
  * @internal
7638
7638
  */