@aws-sdk/client-ec2 3.662.0 → 3.665.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 (193) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/index.js +1635 -1556
  3. package/dist-cjs/runtimeConfig.js +1 -0
  4. package/dist-es/EC2.js +2 -0
  5. package/dist-es/commands/ModifyInstanceCpuOptionsCommand.js +22 -0
  6. package/dist-es/commands/ModifyVpnConnectionCommand.js +1 -1
  7. package/dist-es/commands/ReportInstanceStatusCommand.js +2 -1
  8. package/dist-es/commands/index.js +1 -0
  9. package/dist-es/models/models_2.js +1 -1
  10. package/dist-es/models/models_6.js +1 -6
  11. package/dist-es/models/models_7.js +8 -0
  12. package/dist-es/protocols/Aws_ec2.js +1601 -1545
  13. package/dist-es/runtimeConfig.js +2 -1
  14. package/dist-types/EC2.d.ts +7 -0
  15. package/dist-types/EC2Client.d.ts +3 -2
  16. package/dist-types/commands/AllocateAddressCommand.d.ts +2 -2
  17. package/dist-types/commands/AllocateHostsCommand.d.ts +5 -5
  18. package/dist-types/commands/AssignIpv6AddressesCommand.d.ts +4 -4
  19. package/dist-types/commands/AssignPrivateIpAddressesCommand.d.ts +5 -5
  20. package/dist-types/commands/AssignPrivateNatGatewayAddressCommand.d.ts +1 -1
  21. package/dist-types/commands/AssociateAddressCommand.d.ts +1 -1
  22. package/dist-types/commands/AssociateNatGatewayAddressCommand.d.ts +6 -2
  23. package/dist-types/commands/AssociateRouteTableCommand.d.ts +2 -2
  24. package/dist-types/commands/AssociateSubnetCidrBlockCommand.d.ts +2 -2
  25. package/dist-types/commands/AssociateVpcCidrBlockCommand.d.ts +2 -2
  26. package/dist-types/commands/AttachClassicLinkVpcCommand.d.ts +2 -2
  27. package/dist-types/commands/AttachNetworkInterfaceCommand.d.ts +4 -4
  28. package/dist-types/commands/AttachVolumeCommand.d.ts +5 -5
  29. package/dist-types/commands/AttachVpnGatewayCommand.d.ts +2 -2
  30. package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +32 -32
  31. package/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +16 -16
  32. package/dist-types/commands/BundleInstanceCommand.d.ts +8 -8
  33. package/dist-types/commands/CancelBundleTaskCommand.d.ts +8 -8
  34. package/dist-types/commands/CancelConversionTaskCommand.d.ts +1 -1
  35. package/dist-types/commands/ConfirmProductInstanceCommand.d.ts +1 -1
  36. package/dist-types/commands/CopyImageCommand.d.ts +1 -1
  37. package/dist-types/commands/CopySnapshotCommand.d.ts +1 -1
  38. package/dist-types/commands/CreateCustomerGatewayCommand.d.ts +6 -6
  39. package/dist-types/commands/CreateDefaultSubnetCommand.d.ts +9 -9
  40. package/dist-types/commands/CreateDefaultVpcCommand.d.ts +4 -4
  41. package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +8 -8
  42. package/dist-types/commands/CreateFleetCommand.d.ts +1 -1
  43. package/dist-types/commands/CreateFlowLogsCommand.d.ts +1 -1
  44. package/dist-types/commands/CreateImageCommand.d.ts +18 -18
  45. package/dist-types/commands/CreateInstanceExportTaskCommand.d.ts +9 -9
  46. package/dist-types/commands/CreateKeyPairCommand.d.ts +4 -4
  47. package/dist-types/commands/CreateNatGatewayCommand.d.ts +7 -1
  48. package/dist-types/commands/CreateNetworkAclCommand.d.ts +2 -2
  49. package/dist-types/commands/CreateNetworkAclEntryCommand.d.ts +6 -6
  50. package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +22 -22
  51. package/dist-types/commands/CreatePlacementGroupCommand.d.ts +3 -3
  52. package/dist-types/commands/CreateReservedInstancesListingCommand.d.ts +4 -4
  53. package/dist-types/commands/CreateRouteCommand.d.ts +9 -9
  54. package/dist-types/commands/CreateRouteTableCommand.d.ts +2 -2
  55. package/dist-types/commands/CreateSnapshotCommand.d.ts +12 -12
  56. package/dist-types/commands/CreateSpotDatafeedSubscriptionCommand.d.ts +1 -1
  57. package/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +2 -2
  58. package/dist-types/commands/CreateSubnetCommand.d.ts +9 -9
  59. package/dist-types/commands/CreateVolumeCommand.d.ts +21 -21
  60. package/dist-types/commands/CreateVpcCommand.d.ts +8 -8
  61. package/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +4 -4
  62. package/dist-types/commands/CreateVpnConnectionCommand.d.ts +18 -18
  63. package/dist-types/commands/CreateVpnGatewayCommand.d.ts +10 -10
  64. package/dist-types/commands/DeleteNetworkAclEntryCommand.d.ts +1 -1
  65. package/dist-types/commands/DeleteRouteCommand.d.ts +2 -2
  66. package/dist-types/commands/DeleteVpcCommand.d.ts +7 -1
  67. package/dist-types/commands/DescribeAccountAttributesCommand.d.ts +1 -1
  68. package/dist-types/commands/DescribeAddressesCommand.d.ts +6 -6
  69. package/dist-types/commands/DescribeAvailabilityZonesCommand.d.ts +9 -9
  70. package/dist-types/commands/DescribeBundleTasksCommand.d.ts +9 -9
  71. package/dist-types/commands/DescribeClassicLinkInstancesCommand.d.ts +6 -6
  72. package/dist-types/commands/DescribeConversionTasksCommand.d.ts +1 -1
  73. package/dist-types/commands/DescribeCustomerGatewaysCommand.d.ts +5 -5
  74. package/dist-types/commands/DescribeDhcpOptionsCommand.d.ts +12 -12
  75. package/dist-types/commands/DescribeExportTasksCommand.d.ts +3 -3
  76. package/dist-types/commands/DescribeHostsCommand.d.ts +5 -5
  77. package/dist-types/commands/DescribeIdentityIdFormatCommand.d.ts +1 -1
  78. package/dist-types/commands/DescribeImageAttributeCommand.d.ts +33 -33
  79. package/dist-types/commands/DescribeImagesCommand.d.ts +29 -29
  80. package/dist-types/commands/DescribeInstanceAttributeCommand.d.ts +7 -7
  81. package/dist-types/commands/DescribeInstanceStatusCommand.d.ts +6 -6
  82. package/dist-types/commands/DescribeInstanceTopologyCommand.d.ts +2 -1
  83. package/dist-types/commands/DescribeInstancesCommand.d.ts +51 -51
  84. package/dist-types/commands/DescribeInternetGatewaysCommand.d.ts +6 -6
  85. package/dist-types/commands/DescribeKeyPairsCommand.d.ts +10 -10
  86. package/dist-types/commands/DescribeMovingAddressesCommand.d.ts +6 -6
  87. package/dist-types/commands/DescribeNetworkAclsCommand.d.ts +6 -6
  88. package/dist-types/commands/DescribeNetworkInterfaceAttributeCommand.d.ts +2 -2
  89. package/dist-types/commands/DescribeNetworkInterfacesCommand.d.ts +7 -7
  90. package/dist-types/commands/DescribePlacementGroupsCommand.d.ts +7 -7
  91. package/dist-types/commands/DescribeRegionsCommand.d.ts +7 -7
  92. package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +16 -16
  93. package/dist-types/commands/DescribeReservedInstancesListingsCommand.d.ts +2 -2
  94. package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +4 -4
  95. package/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +18 -18
  96. package/dist-types/commands/DescribeRouteTablesCommand.d.ts +6 -6
  97. package/dist-types/commands/DescribeSecurityGroupsCommand.d.ts +50 -50
  98. package/dist-types/commands/DescribeSnapshotAttributeCommand.d.ts +6 -6
  99. package/dist-types/commands/DescribeSnapshotsCommand.d.ts +21 -21
  100. package/dist-types/commands/DescribeSpotFleetInstancesCommand.d.ts +2 -2
  101. package/dist-types/commands/DescribeSpotFleetRequestHistoryCommand.d.ts +3 -3
  102. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +10 -10
  103. package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +14 -14
  104. package/dist-types/commands/DescribeSpotPriceHistoryCommand.d.ts +9 -9
  105. package/dist-types/commands/DescribeStaleSecurityGroupsCommand.d.ts +6 -6
  106. package/dist-types/commands/DescribeSubnetsCommand.d.ts +10 -10
  107. package/dist-types/commands/DescribeVolumeStatusCommand.d.ts +6 -6
  108. package/dist-types/commands/DescribeVolumesCommand.d.ts +26 -26
  109. package/dist-types/commands/DescribeVolumesModificationsCommand.d.ts +1 -1
  110. package/dist-types/commands/DescribeVpcAttributeCommand.d.ts +1 -1
  111. package/dist-types/commands/DescribeVpcClassicLinkCommand.d.ts +4 -4
  112. package/dist-types/commands/DescribeVpcClassicLinkDnsSupportCommand.d.ts +2 -2
  113. package/dist-types/commands/DescribeVpcPeeringConnectionsCommand.d.ts +6 -6
  114. package/dist-types/commands/DescribeVpcsCommand.d.ts +6 -6
  115. package/dist-types/commands/DescribeVpnConnectionsCommand.d.ts +6 -6
  116. package/dist-types/commands/DescribeVpnGatewaysCommand.d.ts +10 -10
  117. package/dist-types/commands/DetachNetworkInterfaceCommand.d.ts +1 -1
  118. package/dist-types/commands/DetachVolumeCommand.d.ts +5 -5
  119. package/dist-types/commands/DisassociateNatGatewayAddressCommand.d.ts +1 -1
  120. package/dist-types/commands/DisassociateRouteTableCommand.d.ts +1 -1
  121. package/dist-types/commands/GetConsoleOutputCommand.d.ts +2 -2
  122. package/dist-types/commands/GetIpamDiscoveredResourceCidrsCommand.d.ts +1 -0
  123. package/dist-types/commands/GetPasswordDataCommand.d.ts +1 -1
  124. package/dist-types/commands/ImportInstanceCommand.d.ts +24 -24
  125. package/dist-types/commands/ImportKeyPairCommand.d.ts +3 -3
  126. package/dist-types/commands/ImportVolumeCommand.d.ts +3 -3
  127. package/dist-types/commands/ModifyFleetCommand.d.ts +1 -1
  128. package/dist-types/commands/ModifyHostsCommand.d.ts +4 -4
  129. package/dist-types/commands/ModifyIdentityIdFormatCommand.d.ts +1 -1
  130. package/dist-types/commands/ModifyImageAttributeCommand.d.ts +5 -5
  131. package/dist-types/commands/ModifyInstanceAttributeCommand.d.ts +22 -22
  132. package/dist-types/commands/ModifyInstanceCpuOptionsCommand.d.ts +85 -0
  133. package/dist-types/commands/ModifyInstancePlacementCommand.d.ts +4 -4
  134. package/dist-types/commands/ModifyNetworkInterfaceAttributeCommand.d.ts +15 -15
  135. package/dist-types/commands/ModifySnapshotAttributeCommand.d.ts +2 -2
  136. package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +3 -3
  137. package/dist-types/commands/ModifyVpnConnectionCommand.d.ts +8 -7
  138. package/dist-types/commands/ModifyVpnConnectionOptionsCommand.d.ts +7 -8
  139. package/dist-types/commands/ModifyVpnTunnelCertificateCommand.d.ts +6 -6
  140. package/dist-types/commands/ModifyVpnTunnelOptionsCommand.d.ts +6 -6
  141. package/dist-types/commands/PurchaseReservedInstancesOfferingCommand.d.ts +1 -1
  142. package/dist-types/commands/RegisterImageCommand.d.ts +28 -28
  143. package/dist-types/commands/ReplaceNetworkAclAssociationCommand.d.ts +1 -1
  144. package/dist-types/commands/ReplaceNetworkAclEntryCommand.d.ts +6 -6
  145. package/dist-types/commands/ReplaceRouteCommand.d.ts +9 -9
  146. package/dist-types/commands/ReplaceRouteTableAssociationCommand.d.ts +1 -1
  147. package/dist-types/commands/ReportInstanceStatusCommand.d.ts +4 -4
  148. package/dist-types/commands/RequestSpotFleetCommand.d.ts +8 -8
  149. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +20 -20
  150. package/dist-types/commands/ResetInstanceAttributeCommand.d.ts +1 -1
  151. package/dist-types/commands/RevokeSecurityGroupEgressCommand.d.ts +39 -39
  152. package/dist-types/commands/RevokeSecurityGroupIngressCommand.d.ts +31 -31
  153. package/dist-types/commands/RunInstancesCommand.d.ts +114 -114
  154. package/dist-types/commands/StartInstancesCommand.d.ts +1 -1
  155. package/dist-types/commands/StopInstancesCommand.d.ts +1 -1
  156. package/dist-types/commands/TerminateInstancesCommand.d.ts +1 -1
  157. package/dist-types/commands/UnassignIpv6AddressesCommand.d.ts +3 -3
  158. package/dist-types/commands/UnassignPrivateIpAddressesCommand.d.ts +3 -3
  159. package/dist-types/commands/UnassignPrivateNatGatewayAddressCommand.d.ts +3 -1
  160. package/dist-types/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.d.ts +15 -15
  161. package/dist-types/commands/UpdateSecurityGroupRuleDescriptionsIngressCommand.d.ts +15 -15
  162. package/dist-types/commands/index.d.ts +1 -0
  163. package/dist-types/models/models_0.d.ts +266 -268
  164. package/dist-types/models/models_1.d.ts +231 -231
  165. package/dist-types/models/models_2.d.ts +372 -376
  166. package/dist-types/models/models_3.d.ts +221 -221
  167. package/dist-types/models/models_4.d.ts +858 -858
  168. package/dist-types/models/models_5.d.ts +210 -210
  169. package/dist-types/models/models_6.d.ts +289 -291
  170. package/dist-types/models/models_7.d.ts +424 -361
  171. package/dist-types/protocols/Aws_ec2.d.ts +9 -0
  172. package/dist-types/runtimeConfig.browser.d.ts +2 -1
  173. package/dist-types/runtimeConfig.d.ts +2 -1
  174. package/dist-types/runtimeConfig.native.d.ts +2 -1
  175. package/dist-types/ts3.4/EC2.d.ts +17 -0
  176. package/dist-types/ts3.4/EC2Client.d.ts +6 -0
  177. package/dist-types/ts3.4/commands/ModifyInstanceCpuOptionsCommand.d.ts +51 -0
  178. package/dist-types/ts3.4/commands/ModifyVpnConnectionCommand.d.ts +2 -4
  179. package/dist-types/ts3.4/commands/ModifyVpnConnectionOptionsCommand.d.ts +4 -2
  180. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  181. package/dist-types/ts3.4/models/models_0.d.ts +56 -56
  182. package/dist-types/ts3.4/models/models_1.d.ts +41 -41
  183. package/dist-types/ts3.4/models/models_2.d.ts +71 -71
  184. package/dist-types/ts3.4/models/models_3.d.ts +27 -27
  185. package/dist-types/ts3.4/models/models_4.d.ts +112 -112
  186. package/dist-types/ts3.4/models/models_5.d.ts +27 -27
  187. package/dist-types/ts3.4/models/models_6.d.ts +53 -56
  188. package/dist-types/ts3.4/models/models_7.d.ts +78 -61
  189. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
  190. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -3
  191. package/dist-types/ts3.4/runtimeConfig.d.ts +6 -3
  192. package/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -3
  193. package/package.json +15 -15
@@ -765,10 +765,8 @@ export interface TransitGatewayVpcAttachmentOptions {
765
765
  */
766
766
  DnsSupport?: DnsSupportValue;
767
767
  /**
768
- * <p>Enables you to reference a security group across VPCs attached to a transit gateway to simplify security group management.
769
- *
770
- * </p>
771
- * <p>This option is disabled by default.</p>
768
+ * <p>Enables you to reference a security group across VPCs attached to a transit gateway to simplify security group management.</p>
769
+ * <p>This option is enabled by default.</p>
772
770
  * <p>For more information about security group referencing, see <a href="https://docs.aws.amazon.com/vpc/latest/tgw/tgw-vpc-attachments.html#vpc-attachment-security">Security group referencing</a> in the <i>Amazon Web Services Transit Gateways Guide</i>.</p>
773
771
  * @public
774
772
  */
@@ -2432,16 +2430,6 @@ export type DomainType = (typeof DomainType)[keyof typeof DomainType];
2432
2430
  * @public
2433
2431
  */
2434
2432
  export interface Address {
2435
- /**
2436
- * <p>The ID of the instance that the address is associated with (if any).</p>
2437
- * @public
2438
- */
2439
- InstanceId?: string;
2440
- /**
2441
- * <p>The Elastic IP address.</p>
2442
- * @public
2443
- */
2444
- PublicIp?: string;
2445
2433
  /**
2446
2434
  * <p>The ID representing the allocation of the address.</p>
2447
2435
  * @public
@@ -2504,6 +2492,16 @@ export interface Address {
2504
2492
  * @public
2505
2493
  */
2506
2494
  CarrierIp?: string;
2495
+ /**
2496
+ * <p>The ID of the instance that the address is associated with (if any).</p>
2497
+ * @public
2498
+ */
2499
+ InstanceId?: string;
2500
+ /**
2501
+ * <p>The Elastic IP address.</p>
2502
+ * @public
2503
+ */
2504
+ PublicIp?: string;
2507
2505
  }
2508
2506
  /**
2509
2507
  * <p>The status of an updated pointer (PTR) record for an Elastic IP address.</p>
@@ -2820,33 +2818,28 @@ export interface AllocateAddressRequest {
2820
2818
  * @public
2821
2819
  */
2822
2820
  CustomerOwnedIpv4Pool?: string;
2823
- /**
2824
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
2825
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
2826
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
2827
- * @public
2828
- */
2829
- DryRun?: boolean;
2830
2821
  /**
2831
2822
  * <p>The tags to assign to the Elastic IP address.</p>
2832
2823
  * @public
2833
2824
  */
2834
2825
  TagSpecifications?: TagSpecification[];
2835
2826
  /**
2836
- * <p>The ID of an IPAM pool.</p>
2827
+ * <p>The ID of an IPAM pool which has an Amazon-provided or BYOIP public IPv4 CIDR provisioned to it. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/ipam/tutorials-eip-pool.html">Allocate sequential Elastic IP addresses from an IPAM pool</a> in the <i>Amazon VPC IPAM User Guide</i>.</p>
2837
2828
  * @public
2838
2829
  */
2839
2830
  IpamPoolId?: string;
2831
+ /**
2832
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
2833
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
2834
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
2835
+ * @public
2836
+ */
2837
+ DryRun?: boolean;
2840
2838
  }
2841
2839
  /**
2842
2840
  * @public
2843
2841
  */
2844
2842
  export interface AllocateAddressResult {
2845
- /**
2846
- * <p>The Elastic IP address.</p>
2847
- * @public
2848
- */
2849
- PublicIp?: string;
2850
2843
  /**
2851
2844
  * <p>The ID that represents the allocation of the Elastic IP address.</p>
2852
2845
  * @public
@@ -2884,6 +2877,11 @@ export interface AllocateAddressResult {
2884
2877
  * @public
2885
2878
  */
2886
2879
  CarrierIp?: string;
2880
+ /**
2881
+ * <p>The Elastic IP address.</p>
2882
+ * @public
2883
+ */
2884
+ PublicIp?: string;
2887
2885
  }
2888
2886
  /**
2889
2887
  * @public
@@ -2925,36 +2923,6 @@ export type HostRecovery = (typeof HostRecovery)[keyof typeof HostRecovery];
2925
2923
  * @public
2926
2924
  */
2927
2925
  export interface AllocateHostsRequest {
2928
- /**
2929
- * <p>Indicates whether the host accepts any untargeted instance launches that match its
2930
- * instance type configuration, or if it only accepts Host tenancy instance launches that
2931
- * specify its unique host ID. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/how-dedicated-hosts-work.html#dedicated-hosts-understanding"> Understanding auto-placement and affinity</a> in the
2932
- * <i>Amazon EC2 User Guide</i>.</p>
2933
- * <p>Default: <code>off</code>
2934
- * </p>
2935
- * @public
2936
- */
2937
- AutoPlacement?: AutoPlacement;
2938
- /**
2939
- * <p>The Availability Zone in which to allocate the Dedicated Host.</p>
2940
- * @public
2941
- */
2942
- AvailabilityZone: string | undefined;
2943
- /**
2944
- * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring Idempotency</a>.</p>
2945
- * @public
2946
- */
2947
- ClientToken?: string;
2948
- /**
2949
- * <p>Specifies the instance type to be supported by the Dedicated Hosts. If you specify an
2950
- * instance type, the Dedicated Hosts support instances of the specified instance type
2951
- * only.</p>
2952
- * <p>If you want the Dedicated Hosts to support multiple instance types in a specific
2953
- * instance family, omit this parameter and specify <b>InstanceFamily</b> instead. You cannot specify <b>InstanceType</b> and <b>InstanceFamily</b> in the
2954
- * same request.</p>
2955
- * @public
2956
- */
2957
- InstanceType?: string;
2958
2926
  /**
2959
2927
  * <p>Specifies the instance family to be supported by the Dedicated Hosts. If you specify
2960
2928
  * an instance family, the Dedicated Hosts support multiple instance types within that
@@ -2965,16 +2933,6 @@ export interface AllocateHostsRequest {
2965
2933
  * @public
2966
2934
  */
2967
2935
  InstanceFamily?: string;
2968
- /**
2969
- * <p>The number of Dedicated Hosts to allocate to your account with these parameters. If you are
2970
- * allocating the Dedicated Hosts on an Outpost, and you specify <b>AssetIds</b>,
2971
- * you can omit this parameter. In this case, Amazon EC2 allocates a Dedicated Host on each
2972
- * specified hardware asset. If you specify both <b>AssetIds</b> and
2973
- * <b>Quantity</b>, then the value that you specify for
2974
- * <b>Quantity</b> must be equal to the number of asset IDs specified.</p>
2975
- * @public
2976
- */
2977
- Quantity?: number;
2978
2936
  /**
2979
2937
  * <p>The tags to apply to the Dedicated Host during creation.</p>
2980
2938
  * @public
@@ -3025,6 +2983,46 @@ export interface AllocateHostsRequest {
3025
2983
  * @public
3026
2984
  */
3027
2985
  AssetIds?: string[];
2986
+ /**
2987
+ * <p>Indicates whether the host accepts any untargeted instance launches that match its
2988
+ * instance type configuration, or if it only accepts Host tenancy instance launches that
2989
+ * specify its unique host ID. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/how-dedicated-hosts-work.html#dedicated-hosts-understanding"> Understanding auto-placement and affinity</a> in the
2990
+ * <i>Amazon EC2 User Guide</i>.</p>
2991
+ * <p>Default: <code>off</code>
2992
+ * </p>
2993
+ * @public
2994
+ */
2995
+ AutoPlacement?: AutoPlacement;
2996
+ /**
2997
+ * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring Idempotency</a>.</p>
2998
+ * @public
2999
+ */
3000
+ ClientToken?: string;
3001
+ /**
3002
+ * <p>Specifies the instance type to be supported by the Dedicated Hosts. If you specify an
3003
+ * instance type, the Dedicated Hosts support instances of the specified instance type
3004
+ * only.</p>
3005
+ * <p>If you want the Dedicated Hosts to support multiple instance types in a specific
3006
+ * instance family, omit this parameter and specify <b>InstanceFamily</b> instead. You cannot specify <b>InstanceType</b> and <b>InstanceFamily</b> in the
3007
+ * same request.</p>
3008
+ * @public
3009
+ */
3010
+ InstanceType?: string;
3011
+ /**
3012
+ * <p>The number of Dedicated Hosts to allocate to your account with these parameters. If you are
3013
+ * allocating the Dedicated Hosts on an Outpost, and you specify <b>AssetIds</b>,
3014
+ * you can omit this parameter. In this case, Amazon EC2 allocates a Dedicated Host on each
3015
+ * specified hardware asset. If you specify both <b>AssetIds</b> and
3016
+ * <b>Quantity</b>, then the value that you specify for
3017
+ * <b>Quantity</b> must be equal to the number of asset IDs specified.</p>
3018
+ * @public
3019
+ */
3020
+ Quantity?: number;
3021
+ /**
3022
+ * <p>The Availability Zone in which to allocate the Dedicated Host.</p>
3023
+ * @public
3024
+ */
3025
+ AvailabilityZone: string | undefined;
3028
3026
  }
3029
3027
  /**
3030
3028
  * <p>Contains the output of AllocateHosts.</p>
@@ -3317,20 +3315,6 @@ export interface ApplySecurityGroupsToClientVpnTargetNetworkResult {
3317
3315
  * @public
3318
3316
  */
3319
3317
  export interface AssignIpv6AddressesRequest {
3320
- /**
3321
- * <p>The number of additional IPv6 addresses to assign to the network interface.
3322
- * The specified number of IPv6 addresses are assigned in addition to the
3323
- * existing IPv6 addresses that are already assigned to the network interface.
3324
- * Amazon EC2 automatically selects the IPv6 addresses from the subnet range. You
3325
- * can't use this option if specifying specific IPv6 addresses.</p>
3326
- * @public
3327
- */
3328
- Ipv6AddressCount?: number;
3329
- /**
3330
- * <p>The IPv6 addresses to be assigned to the network interface. You can't use this option if you're specifying a number of IPv6 addresses.</p>
3331
- * @public
3332
- */
3333
- Ipv6Addresses?: string[];
3334
3318
  /**
3335
3319
  * <p>The number of IPv6 prefixes that Amazon Web Services automatically assigns to the
3336
3320
  * network interface. You cannot use this option if you use the <code>Ipv6Prefixes</code>
@@ -3348,6 +3332,20 @@ export interface AssignIpv6AddressesRequest {
3348
3332
  * @public
3349
3333
  */
3350
3334
  NetworkInterfaceId: string | undefined;
3335
+ /**
3336
+ * <p>The IPv6 addresses to be assigned to the network interface. You can't use this option if you're specifying a number of IPv6 addresses.</p>
3337
+ * @public
3338
+ */
3339
+ Ipv6Addresses?: string[];
3340
+ /**
3341
+ * <p>The number of additional IPv6 addresses to assign to the network interface.
3342
+ * The specified number of IPv6 addresses are assigned in addition to the
3343
+ * existing IPv6 addresses that are already assigned to the network interface.
3344
+ * Amazon EC2 automatically selects the IPv6 addresses from the subnet range. You
3345
+ * can't use this option if specifying specific IPv6 addresses.</p>
3346
+ * @public
3347
+ */
3348
+ Ipv6AddressCount?: number;
3351
3349
  }
3352
3350
  /**
3353
3351
  * @public
@@ -3376,10 +3374,15 @@ export interface AssignIpv6AddressesResult {
3376
3374
  */
3377
3375
  export interface AssignPrivateIpAddressesRequest {
3378
3376
  /**
3379
- * <p>Indicates whether to allow an IP address that is already assigned to another network interface or instance to be reassigned to the specified network interface.</p>
3377
+ * <p>One or more IPv4 prefixes assigned to the network interface. You cannot use this option if you use the <code>Ipv4PrefixCount</code> option.</p>
3380
3378
  * @public
3381
3379
  */
3382
- AllowReassignment?: boolean;
3380
+ Ipv4Prefixes?: string[];
3381
+ /**
3382
+ * <p>The number of IPv4 prefixes that Amazon Web Services automatically assigns to the network interface. You cannot use this option if you use the <code>Ipv4 Prefixes</code> option.</p>
3383
+ * @public
3384
+ */
3385
+ Ipv4PrefixCount?: number;
3383
3386
  /**
3384
3387
  * <p>The ID of the network interface.</p>
3385
3388
  * @public
@@ -3397,15 +3400,10 @@ export interface AssignPrivateIpAddressesRequest {
3397
3400
  */
3398
3401
  SecondaryPrivateIpAddressCount?: number;
3399
3402
  /**
3400
- * <p>One or more IPv4 prefixes assigned to the network interface. You cannot use this option if you use the <code>Ipv4PrefixCount</code> option.</p>
3401
- * @public
3402
- */
3403
- Ipv4Prefixes?: string[];
3404
- /**
3405
- * <p>The number of IPv4 prefixes that Amazon Web Services automatically assigns to the network interface. You cannot use this option if you use the <code>Ipv4 Prefixes</code> option.</p>
3403
+ * <p>Indicates whether to allow an IP address that is already assigned to another network interface or instance to be reassigned to the specified network interface.</p>
3406
3404
  * @public
3407
3405
  */
3408
- Ipv4PrefixCount?: number;
3406
+ AllowReassignment?: boolean;
3409
3407
  }
3410
3408
  /**
3411
3409
  * <p>Describes an IPv4 prefix.</p>
@@ -3575,11 +3573,6 @@ export interface AssociateAddressRequest {
3575
3573
  * @public
3576
3574
  */
3577
3575
  PublicIp?: string;
3578
- /**
3579
- * <p>Reassociation is automatic, but you can specify false to ensure the operation fails if the Elastic IP address is already associated with another resource.</p>
3580
- * @public
3581
- */
3582
- AllowReassociation?: boolean;
3583
3576
  /**
3584
3577
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
3585
3578
  * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
@@ -3598,6 +3591,11 @@ export interface AssociateAddressRequest {
3598
3591
  * @public
3599
3592
  */
3600
3593
  PrivateIpAddress?: string;
3594
+ /**
3595
+ * <p>Reassociation is automatic, but you can specify false to ensure the operation fails if the Elastic IP address is already associated with another resource.</p>
3596
+ * @public
3597
+ */
3598
+ AllowReassociation?: boolean;
3601
3599
  }
3602
3600
  /**
3603
3601
  * @public
@@ -4288,6 +4286,11 @@ export interface AssociateNatGatewayAddressResult {
4288
4286
  * @public
4289
4287
  */
4290
4288
  export interface AssociateRouteTableRequest {
4289
+ /**
4290
+ * <p>The ID of the internet gateway or virtual private gateway.</p>
4291
+ * @public
4292
+ */
4293
+ GatewayId?: string;
4291
4294
  /**
4292
4295
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
4293
4296
  * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
@@ -4295,21 +4298,16 @@ export interface AssociateRouteTableRequest {
4295
4298
  * @public
4296
4299
  */
4297
4300
  DryRun?: boolean;
4298
- /**
4299
- * <p>The ID of the route table.</p>
4300
- * @public
4301
- */
4302
- RouteTableId: string | undefined;
4303
4301
  /**
4304
4302
  * <p>The ID of the subnet.</p>
4305
4303
  * @public
4306
4304
  */
4307
4305
  SubnetId?: string;
4308
4306
  /**
4309
- * <p>The ID of the internet gateway or virtual private gateway.</p>
4307
+ * <p>The ID of the route table.</p>
4310
4308
  * @public
4311
4309
  */
4312
- GatewayId?: string;
4310
+ RouteTableId: string | undefined;
4313
4311
  }
4314
4312
  /**
4315
4313
  * @public
@@ -4363,25 +4361,25 @@ export interface AssociateRouteTableResult {
4363
4361
  */
4364
4362
  export interface AssociateSubnetCidrBlockRequest {
4365
4363
  /**
4366
- * <p>The IPv6 CIDR block for your subnet.</p>
4364
+ * <p>An IPv6 IPAM pool ID.</p>
4367
4365
  * @public
4368
4366
  */
4369
- Ipv6CidrBlock?: string;
4367
+ Ipv6IpamPoolId?: string;
4370
4368
  /**
4371
- * <p>The ID of your subnet.</p>
4369
+ * <p>An IPv6 netmask length.</p>
4372
4370
  * @public
4373
4371
  */
4374
- SubnetId: string | undefined;
4372
+ Ipv6NetmaskLength?: number;
4375
4373
  /**
4376
- * <p>An IPv6 IPAM pool ID.</p>
4374
+ * <p>The ID of your subnet.</p>
4377
4375
  * @public
4378
4376
  */
4379
- Ipv6IpamPoolId?: string;
4377
+ SubnetId: string | undefined;
4380
4378
  /**
4381
- * <p>An IPv6 netmask length.</p>
4379
+ * <p>The IPv6 CIDR block for your subnet.</p>
4382
4380
  * @public
4383
4381
  */
4384
- Ipv6NetmaskLength?: number;
4382
+ Ipv6CidrBlock?: string;
4385
4383
  }
4386
4384
  /**
4387
4385
  * @public
@@ -4776,22 +4774,11 @@ export interface AssociateTrunkInterfaceResult {
4776
4774
  * @public
4777
4775
  */
4778
4776
  export interface AssociateVpcCidrBlockRequest {
4779
- /**
4780
- * <p>Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC. You
4781
- * cannot specify the range of IPv6 addresses or the size of the CIDR block.</p>
4782
- * @public
4783
- */
4784
- AmazonProvidedIpv6CidrBlock?: boolean;
4785
4777
  /**
4786
4778
  * <p>An IPv4 CIDR block to associate with the VPC.</p>
4787
4779
  * @public
4788
4780
  */
4789
4781
  CidrBlock?: string;
4790
- /**
4791
- * <p>The ID of the VPC.</p>
4792
- * @public
4793
- */
4794
- VpcId: string | undefined;
4795
4782
  /**
4796
4783
  * <p>The name of the location from which we advertise the IPV6 CIDR block. Use this parameter
4797
4784
  * to limit the CIDR block to this location.</p>
@@ -4832,6 +4819,17 @@ export interface AssociateVpcCidrBlockRequest {
4832
4819
  * @public
4833
4820
  */
4834
4821
  Ipv6NetmaskLength?: number;
4822
+ /**
4823
+ * <p>The ID of the VPC.</p>
4824
+ * @public
4825
+ */
4826
+ VpcId: string | undefined;
4827
+ /**
4828
+ * <p>Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC. You
4829
+ * cannot specify the range of IPv6 addresses or the size of the CIDR block.</p>
4830
+ * @public
4831
+ */
4832
+ AmazonProvidedIpv6CidrBlock?: boolean;
4835
4833
  }
4836
4834
  /**
4837
4835
  * @public
@@ -4959,11 +4957,6 @@ export interface AttachClassicLinkVpcRequest {
4959
4957
  * @public
4960
4958
  */
4961
4959
  DryRun?: boolean;
4962
- /**
4963
- * <p>The IDs of the security groups. You cannot specify security groups from a different VPC.</p>
4964
- * @public
4965
- */
4966
- Groups: string[] | undefined;
4967
4960
  /**
4968
4961
  * <p>The ID of the EC2-Classic instance.</p>
4969
4962
  * @public
@@ -4974,6 +4967,11 @@ export interface AttachClassicLinkVpcRequest {
4974
4967
  * @public
4975
4968
  */
4976
4969
  VpcId: string | undefined;
4970
+ /**
4971
+ * <p>The IDs of the security groups. You cannot specify security groups from a different VPC.</p>
4972
+ * @public
4973
+ */
4974
+ Groups: string[] | undefined;
4977
4975
  }
4978
4976
  /**
4979
4977
  * @public
@@ -5052,10 +5050,17 @@ export interface EnaSrdSpecification {
5052
5050
  */
5053
5051
  export interface AttachNetworkInterfaceRequest {
5054
5052
  /**
5055
- * <p>The index of the device for the network interface attachment.</p>
5053
+ * <p>The index of the network card. Some instance types support multiple network cards.
5054
+ * The primary network interface must be assigned to network card index 0.
5055
+ * The default is network card index 0.</p>
5056
5056
  * @public
5057
5057
  */
5058
- DeviceIndex: number | undefined;
5058
+ NetworkCardIndex?: number;
5059
+ /**
5060
+ * <p>Configures ENA Express for the network interface that this action attaches to the instance.</p>
5061
+ * @public
5062
+ */
5063
+ EnaSrdSpecification?: EnaSrdSpecification;
5059
5064
  /**
5060
5065
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
5061
5066
  * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
@@ -5064,27 +5069,20 @@ export interface AttachNetworkInterfaceRequest {
5064
5069
  */
5065
5070
  DryRun?: boolean;
5066
5071
  /**
5067
- * <p>The ID of the instance.</p>
5068
- * @public
5069
- */
5070
- InstanceId: string | undefined;
5071
- /**
5072
- * <p>The ID of the network interface.</p>
5072
+ * <p>The ID of the network interface.</p>
5073
5073
  * @public
5074
5074
  */
5075
5075
  NetworkInterfaceId: string | undefined;
5076
5076
  /**
5077
- * <p>The index of the network card. Some instance types support multiple network cards.
5078
- * The primary network interface must be assigned to network card index 0.
5079
- * The default is network card index 0.</p>
5077
+ * <p>The ID of the instance.</p>
5080
5078
  * @public
5081
5079
  */
5082
- NetworkCardIndex?: number;
5080
+ InstanceId: string | undefined;
5083
5081
  /**
5084
- * <p>Configures ENA Express for the network interface that this action attaches to the instance.</p>
5082
+ * <p>The index of the device for the network interface attachment.</p>
5085
5083
  * @public
5086
5084
  */
5087
- EnaSrdSpecification?: EnaSrdSpecification;
5085
+ DeviceIndex: number | undefined;
5088
5086
  }
5089
5087
  /**
5090
5088
  * <p>Contains the output of AttachNetworkInterface.</p>
@@ -5447,53 +5445,53 @@ export type VolumeAttachmentState = (typeof VolumeAttachmentState)[keyof typeof
5447
5445
  */
5448
5446
  export interface VolumeAttachment {
5449
5447
  /**
5450
- * <p>The time stamp when the attachment initiated.</p>
5448
+ * <p>Indicates whether the EBS volume is deleted on instance termination.</p>
5451
5449
  * @public
5452
5450
  */
5453
- AttachTime?: Date;
5451
+ DeleteOnTermination?: boolean;
5454
5452
  /**
5455
- * <p>The device name.</p>
5456
- * <p>If the volume is attached to a Fargate task, this parameter
5457
- * returns <code>null</code>.</p>
5453
+ * <p>The ARN of the Amazon ECS or Fargate task
5454
+ * to which the volume is attached.</p>
5458
5455
  * @public
5459
5456
  */
5460
- Device?: string;
5457
+ AssociatedResource?: string;
5461
5458
  /**
5462
- * <p>The ID of the instance.</p>
5463
- * <p>If the volume is attached to a Fargate task, this parameter
5464
- * returns <code>null</code>.</p>
5459
+ * <p>The service principal of Amazon Web Services service that owns the underlying
5460
+ * instance to which the volume is attached.</p>
5461
+ * <p>This parameter is returned only for volumes that are attached to
5462
+ * Fargate tasks.</p>
5465
5463
  * @public
5466
5464
  */
5467
- InstanceId?: string;
5465
+ InstanceOwningService?: string;
5468
5466
  /**
5469
- * <p>The attachment state of the volume.</p>
5467
+ * <p>The ID of the volume.</p>
5470
5468
  * @public
5471
5469
  */
5472
- State?: VolumeAttachmentState;
5470
+ VolumeId?: string;
5473
5471
  /**
5474
- * <p>The ID of the volume.</p>
5472
+ * <p>The ID of the instance.</p>
5473
+ * <p>If the volume is attached to a Fargate task, this parameter
5474
+ * returns <code>null</code>.</p>
5475
5475
  * @public
5476
5476
  */
5477
- VolumeId?: string;
5477
+ InstanceId?: string;
5478
5478
  /**
5479
- * <p>Indicates whether the EBS volume is deleted on instance termination.</p>
5479
+ * <p>The device name.</p>
5480
+ * <p>If the volume is attached to a Fargate task, this parameter
5481
+ * returns <code>null</code>.</p>
5480
5482
  * @public
5481
5483
  */
5482
- DeleteOnTermination?: boolean;
5484
+ Device?: string;
5483
5485
  /**
5484
- * <p>The ARN of the Amazon ECS or Fargate task
5485
- * to which the volume is attached.</p>
5486
+ * <p>The attachment state of the volume.</p>
5486
5487
  * @public
5487
5488
  */
5488
- AssociatedResource?: string;
5489
+ State?: VolumeAttachmentState;
5489
5490
  /**
5490
- * <p>The service principal of Amazon Web Services service that owns the underlying
5491
- * instance to which the volume is attached.</p>
5492
- * <p>This parameter is returned only for volumes that are attached to
5493
- * Fargate tasks.</p>
5491
+ * <p>The time stamp when the attachment initiated.</p>
5494
5492
  * @public
5495
5493
  */
5496
- InstanceOwningService?: string;
5494
+ AttachTime?: Date;
5497
5495
  }
5498
5496
  /**
5499
5497
  * <p>Contains the parameters for AttachVpnGateway.</p>
@@ -5539,15 +5537,15 @@ export type AttachmentStatus = (typeof AttachmentStatus)[keyof typeof Attachment
5539
5537
  */
5540
5538
  export interface VpcAttachment {
5541
5539
  /**
5542
- * <p>The current state of the attachment.</p>
5540
+ * <p>The ID of the VPC.</p>
5543
5541
  * @public
5544
5542
  */
5545
- State?: AttachmentStatus;
5543
+ VpcId?: string;
5546
5544
  /**
5547
- * <p>The ID of the VPC.</p>
5545
+ * <p>The current state of the attachment.</p>
5548
5546
  * @public
5549
5547
  */
5550
- VpcId?: string;
5548
+ State?: AttachmentStatus;
5551
5549
  }
5552
5550
  /**
5553
5551
  * <p>Contains the output of AttachVpnGateway.</p>
@@ -5648,12 +5646,6 @@ export interface AuthorizeClientVpnIngressResult {
5648
5646
  * @public
5649
5647
  */
5650
5648
  export interface IpRange {
5651
- /**
5652
- * <p>The IPv4 address range. You can either specify a CIDR block or a source security group,
5653
- * not both. To specify a single IPv4 address, use the /32 prefix length.</p>
5654
- * @public
5655
- */
5656
- CidrIp?: string;
5657
5649
  /**
5658
5650
  * <p>A description for the security group rule that references this IPv4 address range.</p>
5659
5651
  * <p>Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9,
@@ -5661,18 +5653,18 @@ export interface IpRange {
5661
5653
  * @public
5662
5654
  */
5663
5655
  Description?: string;
5656
+ /**
5657
+ * <p>The IPv4 address range. You can either specify a CIDR block or a source security group,
5658
+ * not both. To specify a single IPv4 address, use the /32 prefix length.</p>
5659
+ * @public
5660
+ */
5661
+ CidrIp?: string;
5664
5662
  }
5665
5663
  /**
5666
5664
  * <p>Describes an IPv6 address range.</p>
5667
5665
  * @public
5668
5666
  */
5669
5667
  export interface Ipv6Range {
5670
- /**
5671
- * <p>The IPv6 address range. You can either specify a CIDR block or a source security group,
5672
- * not both. To specify a single IPv6 address, use the /128 prefix length.</p>
5673
- * @public
5674
- */
5675
- CidrIpv6?: string;
5676
5668
  /**
5677
5669
  * <p>A description for the security group rule that references this IPv6 address range.</p>
5678
5670
  * <p>Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9,
@@ -5680,6 +5672,12 @@ export interface Ipv6Range {
5680
5672
  * @public
5681
5673
  */
5682
5674
  Description?: string;
5675
+ /**
5676
+ * <p>The IPv6 address range. You can either specify a CIDR block or a source security group,
5677
+ * not both. To specify a single IPv6 address, use the /128 prefix length.</p>
5678
+ * @public
5679
+ */
5680
+ CidrIpv6?: string;
5683
5681
  }
5684
5682
  /**
5685
5683
  * <p>Describes a prefix list ID.</p>
@@ -5713,10 +5711,13 @@ export interface UserIdGroupPair {
5713
5711
  */
5714
5712
  Description?: string;
5715
5713
  /**
5716
- * <p>The ID of the security group.</p>
5714
+ * <p>The ID of an Amazon Web Services account.</p>
5715
+ * <p>For a referenced security group in another VPC, the account ID of the referenced
5716
+ * security group is returned in the response. If the referenced security group is deleted,
5717
+ * this value is not returned.</p>
5717
5718
  * @public
5718
5719
  */
5719
- GroupId?: string;
5720
+ UserId?: string;
5720
5721
  /**
5721
5722
  * <p>[Default VPC] The name of the security group. For a security group in a nondefault VPC,
5722
5723
  * use the security group ID. </p>
@@ -5726,18 +5727,10 @@ export interface UserIdGroupPair {
5726
5727
  */
5727
5728
  GroupName?: string;
5728
5729
  /**
5729
- * <p>The status of a VPC peering connection, if applicable.</p>
5730
- * @public
5731
- */
5732
- PeeringStatus?: string;
5733
- /**
5734
- * <p>The ID of an Amazon Web Services account.</p>
5735
- * <p>For a referenced security group in another VPC, the account ID of the referenced
5736
- * security group is returned in the response. If the referenced security group is deleted,
5737
- * this value is not returned.</p>
5730
+ * <p>The ID of the security group.</p>
5738
5731
  * @public
5739
5732
  */
5740
- UserId?: string;
5733
+ GroupId?: string;
5741
5734
  /**
5742
5735
  * <p>The ID of the VPC for the referenced security group, if applicable.</p>
5743
5736
  * @public
@@ -5748,18 +5741,17 @@ export interface UserIdGroupPair {
5748
5741
  * @public
5749
5742
  */
5750
5743
  VpcPeeringConnectionId?: string;
5744
+ /**
5745
+ * <p>The status of a VPC peering connection, if applicable.</p>
5746
+ * @public
5747
+ */
5748
+ PeeringStatus?: string;
5751
5749
  }
5752
5750
  /**
5753
5751
  * <p>Describes the permissions for a security group rule.</p>
5754
5752
  * @public
5755
5753
  */
5756
5754
  export interface IpPermission {
5757
- /**
5758
- * <p>If the protocol is TCP or UDP, this is the start of the port range.
5759
- * If the protocol is ICMP or ICMPv6, this is the ICMP type or -1 (all ICMP types).</p>
5760
- * @public
5761
- */
5762
- FromPort?: number;
5763
5755
  /**
5764
5756
  * <p>The IP protocol name (<code>tcp</code>, <code>udp</code>, <code>icmp</code>, <code>icmpv6</code>)
5765
5757
  * or number (see <a href="http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml">Protocol Numbers</a>).</p>
@@ -5773,20 +5765,11 @@ export interface IpPermission {
5773
5765
  */
5774
5766
  IpProtocol?: string;
5775
5767
  /**
5776
- * <p>The IPv4 address ranges.</p>
5777
- * @public
5778
- */
5779
- IpRanges?: IpRange[];
5780
- /**
5781
- * <p>The IPv6 address ranges.</p>
5782
- * @public
5783
- */
5784
- Ipv6Ranges?: Ipv6Range[];
5785
- /**
5786
- * <p>The prefix list IDs.</p>
5768
+ * <p>If the protocol is TCP or UDP, this is the start of the port range.
5769
+ * If the protocol is ICMP or ICMPv6, this is the ICMP type or -1 (all ICMP types).</p>
5787
5770
  * @public
5788
5771
  */
5789
- PrefixListIds?: PrefixListId[];
5772
+ FromPort?: number;
5790
5773
  /**
5791
5774
  * <p>If the protocol is TCP or UDP, this is the end of the port range.
5792
5775
  * If the protocol is ICMP or ICMPv6, this is the ICMP code or -1 (all ICMP codes).
@@ -5799,11 +5782,31 @@ export interface IpPermission {
5799
5782
  * @public
5800
5783
  */
5801
5784
  UserIdGroupPairs?: UserIdGroupPair[];
5785
+ /**
5786
+ * <p>The IPv4 address ranges.</p>
5787
+ * @public
5788
+ */
5789
+ IpRanges?: IpRange[];
5790
+ /**
5791
+ * <p>The IPv6 address ranges.</p>
5792
+ * @public
5793
+ */
5794
+ Ipv6Ranges?: Ipv6Range[];
5795
+ /**
5796
+ * <p>The prefix list IDs.</p>
5797
+ * @public
5798
+ */
5799
+ PrefixListIds?: PrefixListId[];
5802
5800
  }
5803
5801
  /**
5804
5802
  * @public
5805
5803
  */
5806
5804
  export interface AuthorizeSecurityGroupEgressRequest {
5805
+ /**
5806
+ * <p>The tags applied to the security group rule.</p>
5807
+ * @public
5808
+ */
5809
+ TagSpecifications?: TagSpecification[];
5807
5810
  /**
5808
5811
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
5809
5812
  * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
@@ -5817,30 +5820,25 @@ export interface AuthorizeSecurityGroupEgressRequest {
5817
5820
  */
5818
5821
  GroupId: string | undefined;
5819
5822
  /**
5820
- * <p>The permissions for the security group rules.</p>
5821
- * @public
5822
- */
5823
- IpPermissions?: IpPermission[];
5824
- /**
5825
- * <p>The tags applied to the security group rule.</p>
5823
+ * <p>Not supported. Use IP permissions instead.</p>
5826
5824
  * @public
5827
5825
  */
5828
- TagSpecifications?: TagSpecification[];
5826
+ SourceSecurityGroupName?: string;
5829
5827
  /**
5830
5828
  * <p>Not supported. Use IP permissions instead.</p>
5831
5829
  * @public
5832
5830
  */
5833
- CidrIp?: string;
5831
+ SourceSecurityGroupOwnerId?: string;
5834
5832
  /**
5835
5833
  * <p>Not supported. Use IP permissions instead.</p>
5836
5834
  * @public
5837
5835
  */
5838
- FromPort?: number;
5836
+ IpProtocol?: string;
5839
5837
  /**
5840
5838
  * <p>Not supported. Use IP permissions instead.</p>
5841
5839
  * @public
5842
5840
  */
5843
- IpProtocol?: string;
5841
+ FromPort?: number;
5844
5842
  /**
5845
5843
  * <p>Not supported. Use IP permissions instead.</p>
5846
5844
  * @public
@@ -5850,12 +5848,12 @@ export interface AuthorizeSecurityGroupEgressRequest {
5850
5848
  * <p>Not supported. Use IP permissions instead.</p>
5851
5849
  * @public
5852
5850
  */
5853
- SourceSecurityGroupName?: string;
5851
+ CidrIp?: string;
5854
5852
  /**
5855
- * <p>Not supported. Use IP permissions instead.</p>
5853
+ * <p>The permissions for the security group rules.</p>
5856
5854
  * @public
5857
5855
  */
5858
- SourceSecurityGroupOwnerId?: string;
5856
+ IpPermissions?: IpPermission[];
5859
5857
  }
5860
5858
  /**
5861
5859
  * <p> Describes the security group that is referenced in the security group rule.</p>
@@ -6047,6 +6045,11 @@ export interface AuthorizeSecurityGroupIngressRequest {
6047
6045
  * @public
6048
6046
  */
6049
6047
  ToPort?: number;
6048
+ /**
6049
+ * <p>The tags applied to the security group rule.</p>
6050
+ * @public
6051
+ */
6052
+ TagSpecifications?: TagSpecification[];
6050
6053
  /**
6051
6054
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
6052
6055
  * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
@@ -6054,11 +6057,6 @@ export interface AuthorizeSecurityGroupIngressRequest {
6054
6057
  * @public
6055
6058
  */
6056
6059
  DryRun?: boolean;
6057
- /**
6058
- * <p>The tags applied to the security group rule.</p>
6059
- * @public
6060
- */
6061
- TagSpecifications?: TagSpecification[];
6062
6060
  }
6063
6061
  /**
6064
6062
  * @public
@@ -6183,45 +6181,45 @@ export type BundleTaskState = (typeof BundleTaskState)[keyof typeof BundleTaskSt
6183
6181
  */
6184
6182
  export interface BundleTask {
6185
6183
  /**
6186
- * <p>The ID of the bundle task.</p>
6187
- * @public
6188
- */
6189
- BundleId?: string;
6190
- /**
6191
- * <p>If the task fails, a description of the error.</p>
6184
+ * <p>The ID of the instance associated with this bundle task.</p>
6192
6185
  * @public
6193
6186
  */
6194
- BundleTaskError?: BundleTaskError;
6187
+ InstanceId?: string;
6195
6188
  /**
6196
- * <p>The ID of the instance associated with this bundle task.</p>
6189
+ * <p>The ID of the bundle task.</p>
6197
6190
  * @public
6198
6191
  */
6199
- InstanceId?: string;
6192
+ BundleId?: string;
6200
6193
  /**
6201
- * <p>The level of task completion, as a percent (for example, 20%).</p>
6194
+ * <p>The state of the task.</p>
6202
6195
  * @public
6203
6196
  */
6204
- Progress?: string;
6197
+ State?: BundleTaskState;
6205
6198
  /**
6206
6199
  * <p>The time this task started.</p>
6207
6200
  * @public
6208
6201
  */
6209
6202
  StartTime?: Date;
6210
6203
  /**
6211
- * <p>The state of the task.</p>
6204
+ * <p>The time of the most recent update for the task.</p>
6212
6205
  * @public
6213
6206
  */
6214
- State?: BundleTaskState;
6207
+ UpdateTime?: Date;
6215
6208
  /**
6216
6209
  * <p>The Amazon S3 storage locations.</p>
6217
6210
  * @public
6218
6211
  */
6219
6212
  Storage?: Storage;
6220
6213
  /**
6221
- * <p>The time of the most recent update for the task.</p>
6214
+ * <p>The level of task completion, as a percent (for example, 20%).</p>
6222
6215
  * @public
6223
6216
  */
6224
- UpdateTime?: Date;
6217
+ Progress?: string;
6218
+ /**
6219
+ * <p>If the task fails, a description of the error.</p>
6220
+ * @public
6221
+ */
6222
+ BundleTaskError?: BundleTaskError;
6225
6223
  }
6226
6224
  /**
6227
6225
  * <p>Contains the output of BundleInstance.</p>
@@ -6394,11 +6392,6 @@ export interface CancelCapacityReservationFleetsResult {
6394
6392
  * @public
6395
6393
  */
6396
6394
  export interface CancelConversionRequest {
6397
- /**
6398
- * <p>The ID of the conversion task.</p>
6399
- * @public
6400
- */
6401
- ConversionTaskId: string | undefined;
6402
6395
  /**
6403
6396
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
6404
6397
  * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
@@ -6406,6 +6399,11 @@ export interface CancelConversionRequest {
6406
6399
  * @public
6407
6400
  */
6408
6401
  DryRun?: boolean;
6402
+ /**
6403
+ * <p>The ID of the conversion task.</p>
6404
+ * @public
6405
+ */
6406
+ ConversionTaskId: string | undefined;
6409
6407
  /**
6410
6408
  * <p>The reason for canceling the conversion task.</p>
6411
6409
  * @public
@@ -6857,9 +6855,9 @@ export interface ConfirmProductInstanceRequest {
6857
6855
  */
6858
6856
  ProductCode: string | undefined;
6859
6857
  /**
6860
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
6861
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
6862
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
6858
+ * <p>Checks whether you have the required permissions for the operation, without actually making the
6859
+ * request, and provides an error response. If you have the required permissions, the error response is
6860
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
6863
6861
  * @public
6864
6862
  */
6865
6863
  DryRun?: boolean;
@@ -6868,18 +6866,18 @@ export interface ConfirmProductInstanceRequest {
6868
6866
  * @public
6869
6867
  */
6870
6868
  export interface ConfirmProductInstanceResult {
6871
- /**
6872
- * <p>The Amazon Web Services account ID of the instance owner. This is only present if the
6873
- * product code is attached to the instance.</p>
6874
- * @public
6875
- */
6876
- OwnerId?: string;
6877
6869
  /**
6878
6870
  * <p>The return value of the request. Returns <code>true</code> if the specified product
6879
6871
  * code is owned by the requester and associated with the specified instance.</p>
6880
6872
  * @public
6881
6873
  */
6882
6874
  Return?: boolean;
6875
+ /**
6876
+ * <p>The Amazon Web Services account ID of the instance owner. This is only present if the
6877
+ * product code is attached to the instance.</p>
6878
+ * @public
6879
+ */
6880
+ OwnerId?: string;
6883
6881
  }
6884
6882
  /**
6885
6883
  * @public
@@ -7007,13 +7005,6 @@ export interface CopyImageRequest {
7007
7005
  * @public
7008
7006
  */
7009
7007
  DestinationOutpostArn?: string;
7010
- /**
7011
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7012
- * and provides an error response. If you have the required permissions, the error response is
7013
- * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7014
- * @public
7015
- */
7016
- DryRun?: boolean;
7017
7008
  /**
7018
7009
  * <p>Indicates whether to include your user-defined AMI tags when copying the AMI.</p>
7019
7010
  * <p>The following tags will not be copied:</p>
@@ -7048,6 +7039,13 @@ export interface CopyImageRequest {
7048
7039
  * @public
7049
7040
  */
7050
7041
  TagSpecifications?: TagSpecification[];
7042
+ /**
7043
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
7044
+ * and provides an error response. If you have the required permissions, the error response is
7045
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7046
+ * @public
7047
+ */
7048
+ DryRun?: boolean;
7051
7049
  }
7052
7050
  /**
7053
7051
  * <p>Contains the output of CopyImage.</p>
@@ -7170,15 +7168,15 @@ export interface CopySnapshotRequest {
7170
7168
  */
7171
7169
  export interface CopySnapshotResult {
7172
7170
  /**
7173
- * <p>The ID of the new snapshot.</p>
7171
+ * <p>Any tags applied to the new snapshot.</p>
7174
7172
  * @public
7175
7173
  */
7176
- SnapshotId?: string;
7174
+ Tags?: Tag[];
7177
7175
  /**
7178
- * <p>Any tags applied to the new snapshot.</p>
7176
+ * <p>The ID of the new snapshot.</p>
7179
7177
  * @public
7180
7178
  */
7181
- Tags?: Tag[];
7179
+ SnapshotId?: string;
7182
7180
  }
7183
7181
  /**
7184
7182
  * @public