@aws-sdk/client-ec2 3.51.0 → 3.54.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 (39) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/dist-cjs/endpoints.js +1 -1
  3. package/dist-cjs/index.js +3 -0
  4. package/dist-cjs/models/EC2ServiceException.js +11 -0
  5. package/dist-cjs/protocols/Aws_ec2.js +2089 -5210
  6. package/dist-es/endpoints.js +1 -1
  7. package/dist-es/index.js +1 -0
  8. package/dist-es/models/EC2ServiceException.js +12 -0
  9. package/dist-es/protocols/Aws_ec2.js +4174 -3648
  10. package/dist-types/EC2.d.ts +7 -8
  11. package/dist-types/EC2Client.d.ts +2 -2
  12. package/dist-types/commands/CreateFleetCommand.d.ts +1 -1
  13. package/dist-types/commands/DeleteFleetsCommand.d.ts +1 -1
  14. package/dist-types/commands/DeregisterInstanceEventNotificationAttributesCommand.d.ts +1 -2
  15. package/dist-types/commands/DescribeFleetInstancesCommand.d.ts +1 -1
  16. package/dist-types/commands/DescribeFleetsCommand.d.ts +1 -1
  17. package/dist-types/commands/MonitorInstancesCommand.d.ts +1 -1
  18. package/dist-types/commands/RegisterInstanceEventNotificationAttributesCommand.d.ts +1 -1
  19. package/dist-types/index.d.ts +1 -0
  20. package/dist-types/models/EC2ServiceException.d.ts +10 -0
  21. package/dist-types/models/models_0.d.ts +2 -2
  22. package/dist-types/models/models_1.d.ts +38 -16
  23. package/dist-types/models/models_2.d.ts +10 -10
  24. package/dist-types/models/models_3.d.ts +116 -24
  25. package/dist-types/models/models_4.d.ts +5 -19
  26. package/dist-types/models/models_6.d.ts +28 -0
  27. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  28. package/dist-types/runtimeConfig.d.ts +1 -1
  29. package/dist-types/runtimeConfig.native.d.ts +1 -1
  30. package/dist-types/ts3.4/EC2Client.d.ts +2 -2
  31. package/dist-types/ts3.4/index.d.ts +1 -0
  32. package/dist-types/ts3.4/models/EC2ServiceException.d.ts +6 -0
  33. package/dist-types/ts3.4/models/models_0.d.ts +1 -1
  34. package/dist-types/ts3.4/models/models_1.d.ts +2 -2
  35. package/dist-types/ts3.4/models/models_3.d.ts +3 -1
  36. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  37. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  38. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  39. package/package.json +35 -35
@@ -1293,7 +1293,7 @@ export declare class EC2 extends EC2Client {
1293
1293
  * <p>Launches an EC2 Fleet.</p>
1294
1294
  * <p>You can create a single EC2 Fleet that includes multiple launch specifications that vary by
1295
1295
  * instance type, AMI, Availability Zone, or subnet.</p>
1296
- * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet.html">Launching an EC2 Fleet</a> in the <i>Amazon EC2 User Guide</i>.</p>
1296
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet.html">EC2 Fleet</a> in the <i>Amazon EC2 User Guide</i>.</p>
1297
1297
  */
1298
1298
  createFleet(args: CreateFleetCommandInput, options?: __HttpHandlerOptions): Promise<CreateFleetCommandOutput>;
1299
1299
  createFleet(args: CreateFleetCommandInput, cb: (err: any, data?: CreateFleetCommandOutput) => void): void;
@@ -2114,7 +2114,7 @@ export declare class EC2 extends EC2Client {
2114
2114
  * </li>
2115
2115
  * </ul>
2116
2116
  *
2117
- * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/manage-ec2-fleet.html#delete-fleet">Deleting an EC2
2117
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/manage-ec2-fleet.html#delete-fleet">Delete an EC2
2118
2118
  * Fleet</a> in the <i>Amazon EC2 User Guide</i>.</p>
2119
2119
  */
2120
2120
  deleteFleets(args: DeleteFleetsCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFleetsCommandOutput>;
@@ -2593,8 +2593,7 @@ export declare class EC2 extends EC2Client {
2593
2593
  deregisterImage(args: DeregisterImageCommandInput, cb: (err: any, data?: DeregisterImageCommandOutput) => void): void;
2594
2594
  deregisterImage(args: DeregisterImageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeregisterImageCommandOutput) => void): void;
2595
2595
  /**
2596
- * <p>c</p>
2597
- * <p>Deregisters tag keys to prevent tags that have the specified tag keys from being included
2596
+ * <p>Deregisters tag keys to prevent tags that have the specified tag keys from being included
2598
2597
  * in scheduled event notifications for resources in the Region.</p>
2599
2598
  */
2600
2599
  deregisterInstanceEventNotificationAttributes(args: DeregisterInstanceEventNotificationAttributesCommandInput, options?: __HttpHandlerOptions): Promise<DeregisterInstanceEventNotificationAttributesCommandOutput>;
@@ -2855,14 +2854,14 @@ export declare class EC2 extends EC2Client {
2855
2854
  describeFleetHistory(args: DescribeFleetHistoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeFleetHistoryCommandOutput) => void): void;
2856
2855
  /**
2857
2856
  * <p>Describes the running instances for the specified EC2 Fleet.</p>
2858
- * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet.html#monitor-ec2-fleet">Monitoring your EC2 Fleet</a> in the <i>Amazon EC2 User Guide</i>.</p>
2857
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/manage-ec2-fleet.html#monitor-ec2-fleet">Monitor your EC2 Fleet</a> in the <i>Amazon EC2 User Guide</i>.</p>
2859
2858
  */
2860
2859
  describeFleetInstances(args: DescribeFleetInstancesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeFleetInstancesCommandOutput>;
2861
2860
  describeFleetInstances(args: DescribeFleetInstancesCommandInput, cb: (err: any, data?: DescribeFleetInstancesCommandOutput) => void): void;
2862
2861
  describeFleetInstances(args: DescribeFleetInstancesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeFleetInstancesCommandOutput) => void): void;
2863
2862
  /**
2864
2863
  * <p>Describes the specified EC2 Fleets or all of your EC2 Fleets.</p>
2865
- * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet.html#monitor-ec2-fleet">Monitoring your EC2 Fleet</a> in the <i>Amazon EC2 User Guide</i>.</p>
2864
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/manage-ec2-fleet.html#monitor-ec2-fleet">Monitor your EC2 Fleet</a> in the <i>Amazon EC2 User Guide</i>.</p>
2866
2865
  */
2867
2866
  describeFleets(args: DescribeFleetsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeFleetsCommandOutput>;
2868
2867
  describeFleets(args: DescribeFleetsCommandInput, cb: (err: any, data?: DescribeFleetsCommandOutput) => void): void;
@@ -5282,7 +5281,7 @@ export declare class EC2 extends EC2Client {
5282
5281
  * <p>Enables detailed monitoring for a running instance. Otherwise, basic monitoring is
5283
5282
  * enabled. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-cloudwatch.html">Monitor your instances using
5284
5283
  * CloudWatch</a> in the <i>Amazon EC2 User Guide</i>.</p>
5285
- * <p>To disable detailed monitoring, see .</p>
5284
+ * <p>To disable detailed monitoring, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_UnmonitorInstances.html">UnmonitorInstances</a>.</p>
5286
5285
  */
5287
5286
  monitorInstances(args: MonitorInstancesCommandInput, options?: __HttpHandlerOptions): Promise<MonitorInstancesCommandOutput>;
5288
5287
  monitorInstances(args: MonitorInstancesCommandInput, cb: (err: any, data?: MonitorInstancesCommandOutput) => void): void;
@@ -5443,7 +5442,7 @@ export declare class EC2 extends EC2Client {
5443
5442
  /**
5444
5443
  * <p>Registers a set of tag keys to include in scheduled event notifications for your resources.
5445
5444
  * </p>
5446
- * <p>To remove tags, use .</p>
5445
+ * <p>To remove tags, use <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DeregisterInstanceEventNotificationAttributes.html">DeregisterInstanceEventNotificationAttributes</a>.</p>
5447
5446
  */
5448
5447
  registerInstanceEventNotificationAttributes(args: RegisterInstanceEventNotificationAttributesCommandInput, options?: __HttpHandlerOptions): Promise<RegisterInstanceEventNotificationAttributesCommandOutput>;
5449
5448
  registerInstanceEventNotificationAttributes(args: RegisterInstanceEventNotificationAttributesCommandInput, cb: (err: any, data?: RegisterInstanceEventNotificationAttributesCommandOutput) => void): void;
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { AcceptReservedInstancesExchangeQuoteCommandInput, AcceptReservedInstancesExchangeQuoteCommandOutput } from "./commands/AcceptReservedInstancesExchangeQuoteCommand";
10
10
  import { AcceptTransitGatewayMulticastDomainAssociationsCommandInput, AcceptTransitGatewayMulticastDomainAssociationsCommandOutput } from "./commands/AcceptTransitGatewayMulticastDomainAssociationsCommand";
11
11
  import { AcceptTransitGatewayPeeringAttachmentCommandInput, AcceptTransitGatewayPeeringAttachmentCommandOutput } from "./commands/AcceptTransitGatewayPeeringAttachmentCommand";
@@ -549,7 +549,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
549
549
  * A function that can calculate the length of a request body.
550
550
  * @internal
551
551
  */
552
- bodyLengthChecker?: (body: any) => number | undefined;
552
+ bodyLengthChecker?: __BodyLengthCalculator;
553
553
  /**
554
554
  * A function that converts a stream into an array of bytes.
555
555
  * @internal
@@ -10,7 +10,7 @@ export interface CreateFleetCommandOutput extends CreateFleetResult, __MetadataB
10
10
  * <p>Launches an EC2 Fleet.</p>
11
11
  * <p>You can create a single EC2 Fleet that includes multiple launch specifications that vary by
12
12
  * instance type, AMI, Availability Zone, or subnet.</p>
13
- * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet.html">Launching an EC2 Fleet</a> in the <i>Amazon EC2 User Guide</i>.</p>
13
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet.html">EC2 Fleet</a> in the <i>Amazon EC2 User Guide</i>.</p>
14
14
  * @example
15
15
  * Use a bare-bones client and the command you need to make an API call.
16
16
  * ```javascript
@@ -32,7 +32,7 @@ export interface DeleteFleetsCommandOutput extends DeleteFleetsResult, __Metadat
32
32
  * </li>
33
33
  * </ul>
34
34
  *
35
- * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/manage-ec2-fleet.html#delete-fleet">Deleting an EC2
35
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/manage-ec2-fleet.html#delete-fleet">Delete an EC2
36
36
  * Fleet</a> in the <i>Amazon EC2 User Guide</i>.</p>
37
37
  * @example
38
38
  * Use a bare-bones client and the command you need to make an API call.
@@ -7,8 +7,7 @@ export interface DeregisterInstanceEventNotificationAttributesCommandInput exten
7
7
  export interface DeregisterInstanceEventNotificationAttributesCommandOutput extends DeregisterInstanceEventNotificationAttributesResult, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>c</p>
11
- * <p>Deregisters tag keys to prevent tags that have the specified tag keys from being included
10
+ * <p>Deregisters tag keys to prevent tags that have the specified tag keys from being included
12
11
  * in scheduled event notifications for resources in the Region.</p>
13
12
  * @example
14
13
  * Use a bare-bones client and the command you need to make an API call.
@@ -8,7 +8,7 @@ export interface DescribeFleetInstancesCommandOutput extends DescribeFleetInstan
8
8
  }
9
9
  /**
10
10
  * <p>Describes the running instances for the specified EC2 Fleet.</p>
11
- * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet.html#monitor-ec2-fleet">Monitoring your EC2 Fleet</a> in the <i>Amazon EC2 User Guide</i>.</p>
11
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/manage-ec2-fleet.html#monitor-ec2-fleet">Monitor your EC2 Fleet</a> in the <i>Amazon EC2 User Guide</i>.</p>
12
12
  * @example
13
13
  * Use a bare-bones client and the command you need to make an API call.
14
14
  * ```javascript
@@ -8,7 +8,7 @@ export interface DescribeFleetsCommandOutput extends DescribeFleetsResult, __Met
8
8
  }
9
9
  /**
10
10
  * <p>Describes the specified EC2 Fleets or all of your EC2 Fleets.</p>
11
- * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet.html#monitor-ec2-fleet">Monitoring your EC2 Fleet</a> in the <i>Amazon EC2 User Guide</i>.</p>
11
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/manage-ec2-fleet.html#monitor-ec2-fleet">Monitor your EC2 Fleet</a> in the <i>Amazon EC2 User Guide</i>.</p>
12
12
  * @example
13
13
  * Use a bare-bones client and the command you need to make an API call.
14
14
  * ```javascript
@@ -10,7 +10,7 @@ export interface MonitorInstancesCommandOutput extends MonitorInstancesResult, _
10
10
  * <p>Enables detailed monitoring for a running instance. Otherwise, basic monitoring is
11
11
  * enabled. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-cloudwatch.html">Monitor your instances using
12
12
  * CloudWatch</a> in the <i>Amazon EC2 User Guide</i>.</p>
13
- * <p>To disable detailed monitoring, see .</p>
13
+ * <p>To disable detailed monitoring, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_UnmonitorInstances.html">UnmonitorInstances</a>.</p>
14
14
  * @example
15
15
  * Use a bare-bones client and the command you need to make an API call.
16
16
  * ```javascript
@@ -9,7 +9,7 @@ export interface RegisterInstanceEventNotificationAttributesCommandOutput extend
9
9
  /**
10
10
  * <p>Registers a set of tag keys to include in scheduled event notifications for your resources.
11
11
  * </p>
12
- * <p>To remove tags, use .</p>
12
+ * <p>To remove tags, use <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DeregisterInstanceEventNotificationAttributes.html">DeregisterInstanceEventNotificationAttributes</a>.</p>
13
13
  * @example
14
14
  * Use a bare-bones client and the command you need to make an API call.
15
15
  * ```javascript
@@ -4,3 +4,4 @@ export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
6
  export * from "./waiters";
7
+ export { EC2ServiceException } from "./models/EC2ServiceException";
@@ -0,0 +1,10 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * Base exception class for all service exceptions from EC2 service.
4
+ */
5
+ export declare class EC2ServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -335,7 +335,7 @@ export interface Tag {
335
335
  Key?: string;
336
336
  /**
337
337
  * <p>The value of the tag.</p>
338
- * <p>Constraints: Tag values are case-sensitive and accept a maximum of 255 Unicode characters.</p>
338
+ * <p>Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.</p>
339
339
  */
340
340
  Value?: string;
341
341
  }
@@ -1583,7 +1583,7 @@ export declare namespace AdvertiseByoipCidrResult {
1583
1583
  const filterSensitiveLog: (obj: AdvertiseByoipCidrResult) => any;
1584
1584
  }
1585
1585
  export declare type Affinity = "default" | "host";
1586
- export declare type ResourceType = "capacity-reservation" | "carrier-gateway" | "client-vpn-endpoint" | "customer-gateway" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-gpu" | "elastic-ip" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-route-table-virtual-interface-group-association" | "local-gateway-route-table-vpc-association" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "natgateway" | "network-acl" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "network-insights-analysis" | "network-insights-path" | "network-interface" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-route-table" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-service" | "vpc-flow-log" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway";
1586
+ export declare type ResourceType = "capacity-reservation" | "carrier-gateway" | "client-vpn-endpoint" | "customer-gateway" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-gpu" | "elastic-ip" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-route-table-virtual-interface-group-association" | "local-gateway-route-table-vpc-association" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "natgateway" | "network-acl" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "network-insights-analysis" | "network-insights-path" | "network-interface" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "subnet-cidr-reservation" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-route-table" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-service" | "vpc-flow-log" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway";
1587
1587
  /**
1588
1588
  * <p>The tags to apply to a resource when the resource is being created.</p>
1589
1589
  */
@@ -185,6 +185,11 @@ export interface InstanceRequirementsRequest {
185
185
  * <p>The parameter accepts an integer, which Amazon EC2 interprets as a percentage.</p>
186
186
  * <p>To turn off price protection, specify a high value, such as <code>999999</code>.</p>
187
187
  * <p>This parameter is not supported for <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetSpotPlacementScores.html">GetSpotPlacementScores</a> and <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceTypesFromInstanceRequirements.html">GetInstanceTypesFromInstanceRequirements</a>.</p>
188
+ * <note>
189
+ * <p>If you set <code>TargetCapacityUnitType</code> to <code>vcpu</code> or
190
+ * <code>memory-mib</code>, the price protection threshold is applied based on the
191
+ * per-vCPU or per-memory price instead of the per-instance price.</p>
192
+ * </note>
188
193
  * <p>Default: <code>100</code>
189
194
  * </p>
190
195
  */
@@ -197,6 +202,11 @@ export interface InstanceRequirementsRequest {
197
202
  * <p>The parameter accepts an integer, which Amazon EC2 interprets as a percentage.</p>
198
203
  * <p>To turn off price protection, specify a high value, such as <code>999999</code>.</p>
199
204
  * <p>This parameter is not supported for <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetSpotPlacementScores.html">GetSpotPlacementScores</a> and <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceTypesFromInstanceRequirements.html">GetInstanceTypesFromInstanceRequirements</a>.</p>
205
+ * <note>
206
+ * <p>If you set <code>TargetCapacityUnitType</code> to <code>vcpu</code> or
207
+ * <code>memory-mib</code>, the price protection threshold is applied based on the
208
+ * per-vCPU or per-memory price instead of the per-instance price.</p>
209
+ * </note>
200
210
  * <p>Default: <code>20</code>
201
211
  * </p>
202
212
  */
@@ -836,7 +846,7 @@ export interface CreateFleetRequest {
836
846
  /**
837
847
  * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the
838
848
  * request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring
839
- * Idempotency</a>.</p>
849
+ * idempotency</a>.</p>
840
850
  */
841
851
  ClientToken?: string;
842
852
  /**
@@ -887,7 +897,7 @@ export interface CreateFleetRequest {
887
897
  * launched.</p>
888
898
  * </li>
889
899
  * </ul>
890
- * <p>For more information, see <a href="https://docs.aws.amazon.com/https:/docs.aws.amazon.com/ec2-fleet-request-type.html">EC2 Fleet
900
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-request-type.html">EC2 Fleet
891
901
  * request types</a> in the <i>Amazon EC2 User Guide</i>.</p>
892
902
  */
893
903
  Type?: FleetType | string;
@@ -1171,6 +1181,11 @@ export interface InstanceRequirements {
1171
1181
  * <p>The parameter accepts an integer, which Amazon EC2 interprets as a percentage.</p>
1172
1182
  * <p>To turn off price protection, specify a high value, such as <code>999999</code>.</p>
1173
1183
  * <p>This parameter is not supported for <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetSpotPlacementScores.html">GetSpotPlacementScores</a> and <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceTypesFromInstanceRequirements.html">GetInstanceTypesFromInstanceRequirements</a>.</p>
1184
+ * <note>
1185
+ * <p>If you set <code>TargetCapacityUnitType</code> to <code>vcpu</code> or
1186
+ * <code>memory-mib</code>, the price protection threshold is applied based on the
1187
+ * per-vCPU or per-memory price instead of the per-instance price.</p>
1188
+ * </note>
1174
1189
  * <p>Default: <code>100</code>
1175
1190
  * </p>
1176
1191
  */
@@ -1183,6 +1198,11 @@ export interface InstanceRequirements {
1183
1198
  * <p>The parameter accepts an integer, which Amazon EC2 interprets as a percentage.</p>
1184
1199
  * <p>To turn off price protection, specify a high value, such as <code>999999</code>.</p>
1185
1200
  * <p>This parameter is not supported for <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetSpotPlacementScores.html">GetSpotPlacementScores</a> and <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceTypesFromInstanceRequirements.html">GetInstanceTypesFromInstanceRequirements</a>.</p>
1201
+ * <note>
1202
+ * <p>If you set <code>TargetCapacityUnitType</code> to <code>vcpu</code> or
1203
+ * <code>memory-mib</code>, the price protection threshold is applied based on the
1204
+ * per-vCPU or per-memory price instead of the per-instance price.</p>
1205
+ * </note>
1186
1206
  * <p>Default: <code>20</code>
1187
1207
  * </p>
1188
1208
  */
@@ -1482,12 +1502,12 @@ export interface CreateFleetError {
1482
1502
  Lifecycle?: InstanceLifecycle | string;
1483
1503
  /**
1484
1504
  * <p>The error code that indicates why the instance could not be launched. For more
1485
- * information about error codes, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html.html">Error Codes</a>.</p>
1505
+ * information about error codes, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html.html">Error codes</a>.</p>
1486
1506
  */
1487
1507
  ErrorCode?: string;
1488
1508
  /**
1489
1509
  * <p>The error message that describes why the instance could not be launched. For more
1490
- * information about error messages, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html.html">Error Codes</a>.</p>
1510
+ * information about error messages, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html.html">Error codes</a>.</p>
1491
1511
  */
1492
1512
  ErrorMessage?: string;
1493
1513
  }
@@ -1881,7 +1901,7 @@ export interface EbsBlockDevice {
1881
1901
  * <p>In no case can you remove encryption from an encrypted volume.</p>
1882
1902
  * <p>Encrypted volumes can only be attached to instances that support Amazon EBS
1883
1903
  * encryption. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#EBSEncryption_supported_instances">Supported instance types</a>.</p>
1884
- * <p>This parameter is not returned by .</p>
1904
+ * <p>This parameter is not returned by <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImageAttribute.html">DescribeImageAttribute</a>.</p>
1885
1905
  */
1886
1906
  Encrypted?: boolean;
1887
1907
  }
@@ -2502,7 +2522,7 @@ export interface CreateIpamPoolRequest {
2502
2522
  /**
2503
2523
  * <p>The IP protocol assigned to this IPAM pool. You must choose either IPv4 or IPv6 protocol for a pool.</p>
2504
2524
  */
2505
- AddressFamily?: AddressFamily | string;
2525
+ AddressFamily: AddressFamily | string | undefined;
2506
2526
  /**
2507
2527
  * <p>If selected, IPAM will continuously look for resources within the CIDR range of this pool
2508
2528
  * and automatically import them as allocations into your IPAM. The CIDRs that will be allocated for
@@ -3593,8 +3613,9 @@ export declare namespace LaunchTemplatePrivateDnsNameOptionsRequest {
3593
3613
  export interface LaunchTemplateTagSpecificationRequest {
3594
3614
  /**
3595
3615
  * <p>The type of resource to tag. Currently, the resource types that support tagging on
3596
- * creation are <code>instance</code> and <code>volume</code>. To tag a resource after it
3597
- * has been created, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html">CreateTags</a>.</p>
3616
+ * creation are <code>instance</code>, <code>volume</code>, <code>elastic-gpu</code>,
3617
+ * <code>network-interface</code>, and <code>spot-instances-request</code>. To tag a
3618
+ * resource after it has been created, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html">CreateTags</a>.</p>
3598
3619
  */
3599
3620
  ResourceType?: ResourceType | string;
3600
3621
  /**
@@ -4326,9 +4347,12 @@ export interface LaunchTemplateInstanceMetadataOptions {
4326
4347
  */
4327
4348
  HttpProtocolIpv6?: LaunchTemplateInstanceMetadataProtocolIpv6 | string;
4328
4349
  /**
4329
- * <p>
4330
- *
4331
- * </p>
4350
+ * <p>Set to <code>enabled</code> to allow access to instance tags from the instance
4351
+ * metadata. Set to <code>disabled</code> to turn off access to instance tags from the instance
4352
+ * metadata. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#work-with-tags-in-IMDS">Work with
4353
+ * instance tags using the instance metadata</a>.</p>
4354
+ * <p>Default: <code>disabled</code>
4355
+ * </p>
4332
4356
  */
4333
4357
  InstanceMetadataTags?: LaunchTemplateInstanceMetadataTagsState | string;
4334
4358
  }
@@ -5781,10 +5805,8 @@ export interface CreateNetworkInterfaceRequest {
5781
5805
  */
5782
5806
  Ipv6PrefixCount?: number;
5783
5807
  /**
5784
- * <p>Indicates the type of network interface. To create an Elastic Fabric Adapter (EFA), specify
5785
- * <code>efa</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html">
5786
- * Elastic Fabric Adapter</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>. To create a trunk network interface, specify
5787
- * <code>trunk</code>.</p>
5808
+ * <p>The type of network interface. The default is <code>interface</code>.</p>
5809
+ * <p>The only supported values are <code>efa</code> and <code>trunk</code>.</p>
5788
5810
  */
5789
5811
  InterfaceType?: NetworkInterfaceCreationType | string;
5790
5812
  /**
@@ -5911,7 +5933,7 @@ export declare namespace GroupIdentifier {
5911
5933
  */
5912
5934
  const filterSensitiveLog: (obj: GroupIdentifier) => any;
5913
5935
  }
5914
- export declare type NetworkInterfaceType = "efa" | "interface" | "natGateway" | "trunk";
5936
+ export declare type NetworkInterfaceType = "api_gateway_managed" | "aws_codestar_connections_managed" | "branch" | "efa" | "gateway_load_balancer" | "gateway_load_balancer_endpoint" | "global_accelerator_managed" | "interface" | "iot_rules_managed" | "lambda" | "load_balancer" | "natGateway" | "network_load_balancer" | "quicksight" | "transit_gateway" | "trunk" | "vpc_endpoint";
5915
5937
  /**
5916
5938
  * <p>Describes an IPv6 address associated with a network interface.</p>
5917
5939
  */
@@ -5129,8 +5129,7 @@ export interface DescribeAvailabilityZonesRequest {
5129
5129
  * <li>
5130
5130
  * <p>
5131
5131
  * <code>state</code> - The state of the Availability Zone, the Local Zone, or the
5132
- * Wavelength Zone (<code>available</code> | <code>information</code> | <code>impaired</code>
5133
- * | <code>unavailable</code>).</p>
5132
+ * Wavelength Zone (<code>available</code>).</p>
5134
5133
  * </li>
5135
5134
  * <li>
5136
5135
  * <p>
@@ -5204,7 +5203,8 @@ export declare type AvailabilityZoneState = "available" | "impaired" | "informat
5204
5203
  */
5205
5204
  export interface AvailabilityZone {
5206
5205
  /**
5207
- * <p>The state of the Availability Zone, Local Zone, or Wavelength Zone.</p>
5206
+ * <p>The state of the Availability Zone, Local Zone, or Wavelength Zone. This value is always
5207
+ * <code>available</code>.</p>
5208
5208
  */
5209
5209
  State?: AvailabilityZoneState | string;
5210
5210
  /**
@@ -5713,6 +5713,10 @@ export interface DescribeCapacityReservationsRequest {
5713
5713
  * </li>
5714
5714
  * </ul>
5715
5715
  * </li>
5716
+ * <li>
5717
+ * <p>
5718
+ * <code>placement-group-arn</code> - The ARN of the cluster placement group in which the Capacity Reservation was created.</p>
5719
+ * </li>
5716
5720
  * </ul>
5717
5721
  */
5718
5722
  Filters?: Filter[];
@@ -6718,19 +6722,15 @@ export interface DescribeCoipPoolsRequest {
6718
6722
  */
6719
6723
  PoolIds?: string[];
6720
6724
  /**
6721
- * <p>The filters. The following are the possible values:</p>
6725
+ * <p>One or more filters.</p>
6722
6726
  * <ul>
6723
6727
  * <li>
6724
6728
  * <p>
6725
- * <code>coip-pool.pool-id</code>
6726
- * </p>
6729
+ * <code>coip-pool.local-gateway-route-table-id</code> - The ID of the local gateway route table.</p>
6727
6730
  * </li>
6728
- * </ul>
6729
- * <ul>
6730
6731
  * <li>
6731
6732
  * <p>
6732
- * <code>coip-pool.local-gateway-route-table-id</code>
6733
- * </p>
6733
+ * <code>coip-pool.pool-id</code> - The ID of the address pool.</p>
6734
6734
  * </li>
6735
6735
  * </ul>
6736
6736
  */