@aws-sdk/client-ec2 3.51.0 → 3.52.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients as of 2022/02/18 ([#3335](https://github.com/aws/aws-sdk-js-v3/issues/3335)) ([717b06f](https://github.com/aws/aws-sdk-js-v3/commit/717b06fc43e9876a6f8040147b75ad5da38b1e0f))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
7
18
 
8
19
  **Note:** Version bump only for package @aws-sdk/client-ec2
@@ -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;
@@ -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
@@ -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
  }
@@ -836,7 +836,7 @@ export interface CreateFleetRequest {
836
836
  /**
837
837
  * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the
838
838
  * request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring
839
- * Idempotency</a>.</p>
839
+ * idempotency</a>.</p>
840
840
  */
841
841
  ClientToken?: string;
842
842
  /**
@@ -1482,12 +1482,12 @@ export interface CreateFleetError {
1482
1482
  Lifecycle?: InstanceLifecycle | string;
1483
1483
  /**
1484
1484
  * <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>
1485
+ * information about error codes, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html.html">Error codes</a>.</p>
1486
1486
  */
1487
1487
  ErrorCode?: string;
1488
1488
  /**
1489
1489
  * <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>
1490
+ * information about error messages, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html.html">Error codes</a>.</p>
1491
1491
  */
1492
1492
  ErrorMessage?: string;
1493
1493
  }
@@ -1881,7 +1881,7 @@ export interface EbsBlockDevice {
1881
1881
  * <p>In no case can you remove encryption from an encrypted volume.</p>
1882
1882
  * <p>Encrypted volumes can only be attached to instances that support Amazon EBS
1883
1883
  * 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>
1884
+ * <p>This parameter is not returned by <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImageAttribute.html">DescribeImageAttribute</a>.</p>
1885
1885
  */
1886
1886
  Encrypted?: boolean;
1887
1887
  }
@@ -3593,8 +3593,9 @@ export declare namespace LaunchTemplatePrivateDnsNameOptionsRequest {
3593
3593
  export interface LaunchTemplateTagSpecificationRequest {
3594
3594
  /**
3595
3595
  * <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>
3596
+ * creation are <code>instance</code>, <code>volume</code>, <code>elastic-gpu</code>,
3597
+ * <code>network-interface</code>, and <code>spot-instances-request</code>. To tag a
3598
+ * resource after it has been created, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html">CreateTags</a>.</p>
3598
3599
  */
3599
3600
  ResourceType?: ResourceType | string;
3600
3601
  /**
@@ -4326,9 +4327,12 @@ export interface LaunchTemplateInstanceMetadataOptions {
4326
4327
  */
4327
4328
  HttpProtocolIpv6?: LaunchTemplateInstanceMetadataProtocolIpv6 | string;
4328
4329
  /**
4329
- * <p>
4330
- *
4331
- * </p>
4330
+ * <p>Set to <code>enabled</code> to allow access to instance tags from the instance
4331
+ * metadata. Set to <code>disabled</code> to turn off access to instance tags from the instance
4332
+ * 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
4333
+ * instance tags using the instance metadata</a>.</p>
4334
+ * <p>Default: <code>disabled</code>
4335
+ * </p>
4332
4336
  */
4333
4337
  InstanceMetadataTags?: LaunchTemplateInstanceMetadataTagsState | string;
4334
4338
  }
@@ -5781,10 +5785,8 @@ export interface CreateNetworkInterfaceRequest {
5781
5785
  */
5782
5786
  Ipv6PrefixCount?: number;
5783
5787
  /**
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>
5788
+ * <p>The type of network interface. The default is <code>interface</code>.</p>
5789
+ * <p>The only supported values are <code>efa</code> and <code>trunk</code>.</p>
5788
5790
  */
5789
5791
  InterfaceType?: NetworkInterfaceCreationType | string;
5790
5792
  /**
@@ -5911,7 +5913,7 @@ export declare namespace GroupIdentifier {
5911
5913
  */
5912
5914
  const filterSensitiveLog: (obj: GroupIdentifier) => any;
5913
5915
  }
5914
- export declare type NetworkInterfaceType = "efa" | "interface" | "natGateway" | "trunk";
5916
+ 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
5917
  /**
5916
5918
  * <p>Describes an IPv6 address associated with a network interface.</p>
5917
5919
  */
@@ -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
  */
@@ -1276,7 +1276,11 @@ export interface DescribeFleetsRequest {
1276
1276
  */
1277
1277
  NextToken?: string;
1278
1278
  /**
1279
- * <p>The ID of the EC2 Fleets.</p>
1279
+ * <p>The IDs of the EC2 Fleets.</p>
1280
+ * <note>
1281
+ * <p>If a fleet is of type <code>instant</code>, you must specify the fleet ID, otherwise
1282
+ * it does not appear in the response.</p>
1283
+ * </note>
1280
1284
  */
1281
1285
  FleetIds?: string[];
1282
1286
  /**
@@ -1342,12 +1346,12 @@ export interface DescribeFleetError {
1342
1346
  Lifecycle?: InstanceLifecycle | string;
1343
1347
  /**
1344
1348
  * <p>The error code that indicates why the instance could not be launched. For more
1345
- * information about error codes, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html.html">Error Codes</a>.</p>
1349
+ * information about error codes, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html.html">Error codes</a>.</p>
1346
1350
  */
1347
1351
  ErrorCode?: string;
1348
1352
  /**
1349
1353
  * <p>The error message that describes why the instance could not be launched. For more
1350
- * information about error messages, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html.html">Error Codes</a>.</p>
1354
+ * information about error messages, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html.html">Error codes</a>.</p>
1351
1355
  */
1352
1356
  ErrorMessage?: string;
1353
1357
  }
@@ -1707,7 +1711,7 @@ export interface FleetData {
1707
1711
  /**
1708
1712
  * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the
1709
1713
  * request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring
1710
- * Idempotency</a>.</p>
1714
+ * idempotency</a>.</p>
1711
1715
  * <p>Constraints: Maximum 64 ASCII characters</p>
1712
1716
  */
1713
1717
  ClientToken?: string;
@@ -5240,7 +5244,7 @@ export interface InstanceNetworkInterface {
5240
5244
  */
5241
5245
  VpcId?: string;
5242
5246
  /**
5243
- * <p>Describes the type of network interface.</p>
5247
+ * <p>The type of network interface.</p>
5244
5248
  * <p>Valid values: <code>interface</code> | <code>efa</code> | <code>trunk</code>
5245
5249
  * </p>
5246
5250
  */
@@ -6101,8 +6105,8 @@ export interface DescribeInstanceTypesRequest {
6101
6105
  * </li>
6102
6106
  * <li>
6103
6107
  * <p>
6104
- * <code>instance-storage-info.encryption-supported</code> - Indicates whether data is encrypted at rest
6105
- * (<code>required</code> | <code>unsupported</code>).</p>
6108
+ * <code>instance-storage-info.encryption-support</code> - Indicates whether data is encrypted at rest
6109
+ * (<code>required</code> | <code>supported</code> | <code>unsupported</code>).</p>
6106
6110
  * </li>
6107
6111
  * <li>
6108
6112
  * <p>
@@ -6166,6 +6170,11 @@ export interface DescribeInstanceTypesRequest {
6166
6170
  * </li>
6167
6171
  * <li>
6168
6172
  * <p>
6173
+ * <code>network-info.maximum-network-cards</code> - The maximum number of network cards per
6174
+ * instance.</p>
6175
+ * </li>
6176
+ * <li>
6177
+ * <p>
6169
6178
  * <code>network-info.maximum-network-interfaces</code> - The maximum number of network interfaces per instance.</p>
6170
6179
  * </li>
6171
6180
  * <li>
@@ -7504,6 +7513,11 @@ export interface DescribeLocalGatewayRouteTablesRequest {
7504
7513
  * </li>
7505
7514
  * <li>
7506
7515
  * <p>
7516
+ * <code>local-gateway-route-table-arn</code> - The Amazon Resource Name (ARN) of the
7517
+ * local gateway route table.</p>
7518
+ * </li>
7519
+ * <li>
7520
+ * <p>
7507
7521
  * <code>local-gateway-route-table-id</code> - The ID of a local gateway route table.</p>
7508
7522
  * </li>
7509
7523
  * <li>
@@ -7512,6 +7526,10 @@ export interface DescribeLocalGatewayRouteTablesRequest {
7512
7526
  * </li>
7513
7527
  * <li>
7514
7528
  * <p>
7529
+ * <code>owner-id</code> - The ID of the Amazon Web Services account that owns the local gateway route table.</p>
7530
+ * </li>
7531
+ * <li>
7532
+ * <p>
7515
7533
  * <code>state</code> - The state of the local gateway route table.</p>
7516
7534
  * </li>
7517
7535
  * </ul>
@@ -7608,6 +7626,11 @@ export interface DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations
7608
7626
  * </li>
7609
7627
  * <li>
7610
7628
  * <p>
7629
+ * <code>local-gateway-route-table-arn</code> - The Amazon Resource Name (ARN) of the local
7630
+ * gateway route table for the virtual interface group.</p>
7631
+ * </li>
7632
+ * <li>
7633
+ * <p>
7611
7634
  * <code>local-gateway-route-table-id</code> - The ID of the local gateway route table.</p>
7612
7635
  * </li>
7613
7636
  * <li>
@@ -7620,6 +7643,11 @@ export interface DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations
7620
7643
  * </li>
7621
7644
  * <li>
7622
7645
  * <p>
7646
+ * <code>owner-id</code> - The ID of the Amazon Web Services account that owns the local gateway virtual
7647
+ * interface group association.</p>
7648
+ * </li>
7649
+ * <li>
7650
+ * <p>
7623
7651
  * <code>state</code> - The state of the association.</p>
7624
7652
  * </li>
7625
7653
  * </ul>
@@ -7720,6 +7748,11 @@ export interface DescribeLocalGatewayRouteTableVpcAssociationsRequest {
7720
7748
  * </li>
7721
7749
  * <li>
7722
7750
  * <p>
7751
+ * <code>local-gateway-route-table-arn</code> - The Amazon Resource Name (ARN) of the local
7752
+ * gateway route table for the association.</p>
7753
+ * </li>
7754
+ * <li>
7755
+ * <p>
7723
7756
  * <code>local-gateway-route-table-id</code> - The ID of the local gateway route table.</p>
7724
7757
  * </li>
7725
7758
  * <li>
@@ -7728,6 +7761,11 @@ export interface DescribeLocalGatewayRouteTableVpcAssociationsRequest {
7728
7761
  * </li>
7729
7762
  * <li>
7730
7763
  * <p>
7764
+ * <code>owner-id</code> - The ID of the Amazon Web Services account that owns the local gateway route table
7765
+ * for the association.</p>
7766
+ * </li>
7767
+ * <li>
7768
+ * <p>
7731
7769
  * <code>state</code> - The state of the association.</p>
7732
7770
  * </li>
7733
7771
  * <li>
@@ -7776,6 +7814,10 @@ export declare namespace DescribeLocalGatewayRouteTableVpcAssociationsResult {
7776
7814
  const filterSensitiveLog: (obj: DescribeLocalGatewayRouteTableVpcAssociationsResult) => any;
7777
7815
  }
7778
7816
  export interface DescribeLocalGatewaysRequest {
7817
+ /**
7818
+ * <p>The IDs of the local gateways.</p>
7819
+ */
7820
+ LocalGatewayIds?: string[];
7779
7821
  /**
7780
7822
  * <p>One or more filters.</p>
7781
7823
  * <ul>
@@ -7785,19 +7827,11 @@ export interface DescribeLocalGatewaysRequest {
7785
7827
  * </li>
7786
7828
  * <li>
7787
7829
  * <p>
7788
- * <code>local-gateway-route-table-id</code> - The ID of the local gateway route table.</p>
7789
- * </li>
7790
- * <li>
7791
- * <p>
7792
- * <code>local-gateway-route-table-virtual-interface-group-association-id</code> - The ID of the association.</p>
7793
- * </li>
7794
- * <li>
7795
- * <p>
7796
- * <code>local-gateway-route-table-virtual-interface-group-id</code> - The ID of the virtual interface group.</p>
7830
+ * <code>outpost-arn</code> - The Amazon Resource Name (ARN) of the Outpost.</p>
7797
7831
  * </li>
7798
7832
  * <li>
7799
7833
  * <p>
7800
- * <code>outpost-arn</code> - The Amazon Resource Name (ARN) of the Outpost.</p>
7834
+ * <code>owner-id</code> - The ID of the Amazon Web Services account that owns the local gateway.</p>
7801
7835
  * </li>
7802
7836
  * <li>
7803
7837
  * <p>
@@ -7805,10 +7839,6 @@ export interface DescribeLocalGatewaysRequest {
7805
7839
  * </li>
7806
7840
  * </ul>
7807
7841
  */
7808
- LocalGatewayIds?: string[];
7809
- /**
7810
- * <p>One or more filters.</p>
7811
- */
7812
7842
  Filters?: Filter[];
7813
7843
  /**
7814
7844
  * <p>The maximum number of results to return with a single call.
@@ -7893,11 +7923,15 @@ export interface DescribeLocalGatewayVirtualInterfaceGroupsRequest {
7893
7923
  * </li>
7894
7924
  * <li>
7895
7925
  * <p>
7926
+ * <code>local-gateway-virtual-interface-group-id</code> - The ID of the virtual interface group.</p>
7927
+ * </li>
7928
+ * <li>
7929
+ * <p>
7896
7930
  * <code>local-gateway-virtual-interface-id</code> - The ID of the virtual interface.</p>
7897
7931
  * </li>
7898
7932
  * <li>
7899
7933
  * <p>
7900
- * <code>local-gateway-virtual-interface-group-id</code> - The ID of the virtual interface group.</p>
7934
+ * <code>owner-id</code> - The ID of the Amazon Web Services account that owns the local gateway virtual interface group.</p>
7901
7935
  * </li>
7902
7936
  * </ul>
7903
7937
  */
@@ -7978,6 +8012,45 @@ export interface DescribeLocalGatewayVirtualInterfacesRequest {
7978
8012
  LocalGatewayVirtualInterfaceIds?: string[];
7979
8013
  /**
7980
8014
  * <p>One or more filters.</p>
8015
+ * <ul>
8016
+ * <li>
8017
+ * <p>
8018
+ * <code>local-address</code> - The local address.</p>
8019
+ * </li>
8020
+ * <li>
8021
+ * <p>
8022
+ * <code>local-bgp-asn</code> - The Border Gateway Protocol (BGP) Autonomous System Number (ASN)
8023
+ * of the local gateway.</p>
8024
+ * </li>
8025
+ * <li>
8026
+ * <p>
8027
+ * <code>local-gateway-id</code> - The ID of the local gateway.</p>
8028
+ * </li>
8029
+ * <li>
8030
+ * <p>
8031
+ * <code>local-gateway-virtual-interface-id</code> - The ID of the virtual interface.</p>
8032
+ * </li>
8033
+ * <li>
8034
+ * <p>
8035
+ * <code>local-gateway-virtual-interface-group-id</code> - The ID of the virtual interface group.</p>
8036
+ * </li>
8037
+ * <li>
8038
+ * <p>
8039
+ * <code>owner-id</code> - The ID of the Amazon Web Services account that owns the local gateway virtual interface.</p>
8040
+ * </li>
8041
+ * <li>
8042
+ * <p>
8043
+ * <code>peer-address</code> - The peer address.</p>
8044
+ * </li>
8045
+ * <li>
8046
+ * <p>
8047
+ * <code>peer-bgp-asn</code> - The peer BGP ASN.</p>
8048
+ * </li>
8049
+ * <li>
8050
+ * <p>
8051
+ * <code>vlan</code> - The ID of the VLAN.</p>
8052
+ * </li>
8053
+ * </ul>
7981
8054
  */
7982
8055
  Filters?: Filter[];
7983
8056
  /**
@@ -9245,6 +9318,15 @@ export interface DescribeNetworkInterfacesRequest {
9245
9318
  * </li>
9246
9319
  * <li>
9247
9320
  * <p>
9321
+ * <code>interface-type</code> - The type of network interface (<code>api_gateway_managed</code> |
9322
+ * <code>aws_codestar_connections_managed</code> | <code>branch</code> | <code>efa</code> |
9323
+ * <code>gateway_load_balancer</code> | <code>gateway_load_balancer_endpoint</code> | <code>global_accelerator_managed</code> |
9324
+ * <code>interface</code> | <code>iot_rules_managed</code> | <code>lambda</code> | <code>load_balancer</code> |
9325
+ * <code>nat_gateway</code> | <code>network_load_balancer</code> | <code>quicksight</code> |
9326
+ * <code>transit_gateway</code> | <code>trunk</code> | <code>vpc_endpoint</code>).</p>
9327
+ * </li>
9328
+ * <li>
9329
+ * <p>
9248
9330
  * <code>mac-address</code> - The MAC address of the network interface.</p>
9249
9331
  * </li>
9250
9332
  * <li>
@@ -2233,10 +2233,6 @@ export interface InstanceNetworkInterfaceSpecification {
2233
2233
  AssociateCarrierIpAddress?: boolean;
2234
2234
  /**
2235
2235
  * <p>The type of network interface.</p>
2236
- * <p>To create an Elastic Fabric Adapter (EFA), specify
2237
- * <code>efa</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html">Elastic Fabric Adapter</a> in the
2238
- * <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
2239
- *
2240
2236
  * <p>Valid values: <code>interface</code> | <code>efa</code>
2241
2237
  * </p>
2242
2238
  */
@@ -8796,33 +8792,23 @@ export interface GetCoipPoolUsageRequest {
8796
8792
  */
8797
8793
  PoolId: string | undefined;
8798
8794
  /**
8799
- * <p>The filters. The following are the possible values:</p>
8795
+ * <p>One or more filters.</p>
8800
8796
  * <ul>
8801
8797
  * <li>
8802
8798
  * <p>
8803
- * <code>coip-address-usage.allocation-id</code>
8804
- * </p>
8799
+ * <code>coip-address-usage.allocation-id</code> - The allocation ID of the address.</p>
8805
8800
  * </li>
8806
- * </ul>
8807
- * <ul>
8808
8801
  * <li>
8809
8802
  * <p>
8810
- * <code>coip-address-usage.aws-account-id</code>
8811
- * </p>
8803
+ * <code>coip-address-usage.aws-account-id</code> - The ID of the Amazon Web Services account that is using the customer-owned IP address.</p>
8812
8804
  * </li>
8813
- * </ul>
8814
- * <ul>
8815
8805
  * <li>
8816
8806
  * <p>
8817
- * <code>coip-address-usage.aws-service</code>
8818
- * </p>
8807
+ * <code>coip-address-usage.aws-service</code> - The Amazon Web Services service that is using the customer-owned IP address.</p>
8819
8808
  * </li>
8820
- * </ul>
8821
- * <ul>
8822
8809
  * <li>
8823
8810
  * <p>
8824
- * <code>coip-address-usage.co-ip</code>
8825
- * </p>
8811
+ * <code>coip-address-usage.co-ip</code> - The customer-owned IP address.</p>
8826
8812
  * </li>
8827
8813
  * </ul>
8828
8814
  */
@@ -1408,6 +1408,34 @@ export interface SearchLocalGatewayRoutesRequest {
1408
1408
  LocalGatewayRouteTableId: string | undefined;
1409
1409
  /**
1410
1410
  * <p>One or more filters.</p>
1411
+ * <ul>
1412
+ * <li>
1413
+ * <p>
1414
+ * <code>route-search.exact-match</code> - The exact match of the specified filter.</p>
1415
+ * </li>
1416
+ * <li>
1417
+ * <p>
1418
+ * <code>route-search.longest-prefix-match</code> - The longest prefix that matches the route.</p>
1419
+ * </li>
1420
+ * <li>
1421
+ * <p>
1422
+ * <code>route-search.subnet-of-match</code> - The routes with a subnet that match the specified CIDR filter.</p>
1423
+ * </li>
1424
+ * <li>
1425
+ * <p>
1426
+ * <code>route-search.supernet-of-match</code> - The routes with a CIDR that encompass the CIDR filter.
1427
+ * For example, if you have 10.0.1.0/29 and 10.0.1.0/31 routes in your route table and you specify <code>supernet-of-match</code>
1428
+ * as 10.0.1.0/30, then the result returns 10.0.1.0/29.</p>
1429
+ * </li>
1430
+ * <li>
1431
+ * <p>
1432
+ * <code>state</code> - The state of the route.</p>
1433
+ * </li>
1434
+ * <li>
1435
+ * <p>
1436
+ * <code>type</code> - The route type.</p>
1437
+ * </li>
1438
+ * </ul>
1411
1439
  */
1412
1440
  Filters?: Filter[];
1413
1441
  /**
@@ -2660,7 +2660,7 @@ export declare namespace GroupIdentifier {
2660
2660
 
2661
2661
  const filterSensitiveLog: (obj: GroupIdentifier) => any;
2662
2662
  }
2663
- export declare type NetworkInterfaceType = "efa" | "interface" | "natGateway" | "trunk";
2663
+ 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";
2664
2664
 
2665
2665
  export interface NetworkInterfaceIpv6Address {
2666
2666
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ec2",
3
3
  "description": "AWS SDK for JavaScript Ec2 Client for Node.js, Browser and React Native",
4
- "version": "3.51.0",
4
+ "version": "3.52.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -9,7 +9,7 @@
9
9
  "build:es": "tsc -p tsconfig.es.json",
10
10
  "build:types": "tsc -p tsconfig.types.json",
11
11
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
- "clean": "rimraf ./dist-*"
12
+ "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo"
13
13
  },
14
14
  "main": "./dist-cjs/index.js",
15
15
  "types": "./dist-types/index.d.ts",
@@ -18,45 +18,45 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.51.0",
22
- "@aws-sdk/config-resolver": "3.51.0",
23
- "@aws-sdk/credential-provider-node": "3.51.0",
24
- "@aws-sdk/fetch-http-handler": "3.50.0",
25
- "@aws-sdk/hash-node": "3.50.0",
26
- "@aws-sdk/invalid-dependency": "3.50.0",
27
- "@aws-sdk/middleware-content-length": "3.50.0",
28
- "@aws-sdk/middleware-host-header": "3.50.0",
29
- "@aws-sdk/middleware-logger": "3.50.0",
30
- "@aws-sdk/middleware-retry": "3.51.0",
31
- "@aws-sdk/middleware-sdk-ec2": "3.50.0",
32
- "@aws-sdk/middleware-serde": "3.50.0",
33
- "@aws-sdk/middleware-signing": "3.50.0",
34
- "@aws-sdk/middleware-stack": "3.50.0",
35
- "@aws-sdk/middleware-user-agent": "3.50.0",
36
- "@aws-sdk/node-config-provider": "3.51.0",
37
- "@aws-sdk/node-http-handler": "3.50.0",
38
- "@aws-sdk/protocol-http": "3.50.0",
39
- "@aws-sdk/smithy-client": "3.50.0",
40
- "@aws-sdk/types": "3.50.0",
41
- "@aws-sdk/url-parser": "3.50.0",
42
- "@aws-sdk/util-base64-browser": "3.49.0",
43
- "@aws-sdk/util-base64-node": "3.49.0",
44
- "@aws-sdk/util-body-length-browser": "3.49.0",
45
- "@aws-sdk/util-body-length-node": "3.49.0",
46
- "@aws-sdk/util-defaults-mode-browser": "3.50.0",
47
- "@aws-sdk/util-defaults-mode-node": "3.51.0",
48
- "@aws-sdk/util-user-agent-browser": "3.50.0",
49
- "@aws-sdk/util-user-agent-node": "3.51.0",
50
- "@aws-sdk/util-utf8-browser": "3.49.0",
51
- "@aws-sdk/util-utf8-node": "3.49.0",
52
- "@aws-sdk/util-waiter": "3.50.0",
21
+ "@aws-sdk/client-sts": "3.52.0",
22
+ "@aws-sdk/config-resolver": "3.52.0",
23
+ "@aws-sdk/credential-provider-node": "3.52.0",
24
+ "@aws-sdk/fetch-http-handler": "3.52.0",
25
+ "@aws-sdk/hash-node": "3.52.0",
26
+ "@aws-sdk/invalid-dependency": "3.52.0",
27
+ "@aws-sdk/middleware-content-length": "3.52.0",
28
+ "@aws-sdk/middleware-host-header": "3.52.0",
29
+ "@aws-sdk/middleware-logger": "3.52.0",
30
+ "@aws-sdk/middleware-retry": "3.52.0",
31
+ "@aws-sdk/middleware-sdk-ec2": "3.52.0",
32
+ "@aws-sdk/middleware-serde": "3.52.0",
33
+ "@aws-sdk/middleware-signing": "3.52.0",
34
+ "@aws-sdk/middleware-stack": "3.52.0",
35
+ "@aws-sdk/middleware-user-agent": "3.52.0",
36
+ "@aws-sdk/node-config-provider": "3.52.0",
37
+ "@aws-sdk/node-http-handler": "3.52.0",
38
+ "@aws-sdk/protocol-http": "3.52.0",
39
+ "@aws-sdk/smithy-client": "3.52.0",
40
+ "@aws-sdk/types": "3.52.0",
41
+ "@aws-sdk/url-parser": "3.52.0",
42
+ "@aws-sdk/util-base64-browser": "3.52.0",
43
+ "@aws-sdk/util-base64-node": "3.52.0",
44
+ "@aws-sdk/util-body-length-browser": "3.52.0",
45
+ "@aws-sdk/util-body-length-node": "3.52.0",
46
+ "@aws-sdk/util-defaults-mode-browser": "3.52.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.52.0",
48
+ "@aws-sdk/util-user-agent-browser": "3.52.0",
49
+ "@aws-sdk/util-user-agent-node": "3.52.0",
50
+ "@aws-sdk/util-utf8-browser": "3.52.0",
51
+ "@aws-sdk/util-utf8-node": "3.52.0",
52
+ "@aws-sdk/util-waiter": "3.52.0",
53
53
  "entities": "2.2.0",
54
54
  "fast-xml-parser": "3.19.0",
55
55
  "tslib": "^2.3.0",
56
56
  "uuid": "^8.3.2"
57
57
  },
58
58
  "devDependencies": {
59
- "@aws-sdk/service-client-documentation-generator": "3.49.0",
59
+ "@aws-sdk/service-client-documentation-generator": "3.52.0",
60
60
  "@tsconfig/recommended": "1.0.1",
61
61
  "@types/node": "^12.7.5",
62
62
  "@types/uuid": "^8.3.0",