@aws-sdk/client-ec2 3.204.0 → 3.206.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/dist-cjs/commands/CreateSubnetCidrReservationCommand.js +2 -1
- package/dist-cjs/commands/DeregisterTransitGatewayMulticastGroupMembersCommand.js +1 -2
- package/dist-cjs/commands/DescribeLaunchTemplatesCommand.js +3 -3
- package/dist-cjs/commands/DisassociateTransitGatewayRouteTableCommand.js +2 -1
- package/dist-cjs/commands/DisassociateTrunkInterfaceCommand.js +1 -2
- package/dist-cjs/commands/ModifyVpcPeeringConnectionOptionsCommand.js +1 -2
- package/dist-cjs/models/models_1.js +13 -13
- package/dist-cjs/models/models_2.js +14 -14
- package/dist-cjs/models/models_3.js +13 -13
- package/dist-cjs/models/models_4.js +14 -14
- package/dist-cjs/models/models_5.js +14 -14
- package/dist-cjs/models/models_6.js +12 -4
- package/dist-cjs/protocols/Aws_ec2.js +114 -0
- package/dist-es/commands/CreateSubnetCidrReservationCommand.js +2 -1
- package/dist-es/commands/DeregisterTransitGatewayMulticastGroupMembersCommand.js +1 -2
- package/dist-es/commands/DescribeLaunchTemplatesCommand.js +1 -1
- package/dist-es/commands/DisassociateTransitGatewayRouteTableCommand.js +2 -1
- package/dist-es/commands/DisassociateTrunkInterfaceCommand.js +1 -2
- package/dist-es/commands/ModifyVpcPeeringConnectionOptionsCommand.js +1 -2
- package/dist-es/models/models_1.js +6 -6
- package/dist-es/models/models_2.js +6 -6
- package/dist-es/models/models_3.js +6 -6
- package/dist-es/models/models_4.js +6 -6
- package/dist-es/models/models_5.js +6 -6
- package/dist-es/models/models_6.js +6 -0
- package/dist-es/protocols/Aws_ec2.js +114 -0
- package/dist-types/EC2.d.ts +51 -44
- package/dist-types/commands/AllocateHostsCommand.d.ts +3 -3
- package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +5 -5
- package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +3 -2
- package/dist-types/commands/CreateSpotDatafeedSubscriptionCommand.d.ts +3 -3
- package/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +2 -1
- package/dist-types/commands/DeregisterTransitGatewayMulticastGroupMembersCommand.d.ts +1 -2
- package/dist-types/commands/DescribeHostReservationOfferingsCommand.d.ts +4 -4
- package/dist-types/commands/DescribeLaunchTemplatesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSpotDatafeedSubscriptionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSpotFleetRequestHistoryCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateTransitGatewayRouteTableCommand.d.ts +2 -1
- package/dist-types/commands/DisassociateTrunkInterfaceCommand.d.ts +1 -2
- package/dist-types/commands/GetHostReservationPurchasePreviewCommand.d.ts +5 -5
- package/dist-types/commands/GetInstanceUefiDataCommand.d.ts +6 -5
- package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +4 -3
- package/dist-types/commands/ModifyHostsCommand.d.ts +8 -7
- package/dist-types/commands/ModifyInstancePlacementCommand.d.ts +2 -2
- package/dist-types/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +1 -2
- package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
- package/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -0
- package/dist-types/commands/RunInstancesCommand.d.ts +3 -1
- package/dist-types/models/models_0.d.ts +24 -26
- package/dist-types/models/models_1.d.ts +201 -94
- package/dist-types/models/models_2.d.ts +58 -49
- package/dist-types/models/models_3.d.ts +95 -120
- package/dist-types/models/models_4.d.ts +96 -57
- package/dist-types/models/models_5.d.ts +75 -86
- package/dist-types/models/models_6.d.ts +77 -20
- package/dist-types/ts3.4/commands/CreateSubnetCidrReservationCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DeregisterTransitGatewayMulticastGroupMembersCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeLaunchTemplatesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateTransitGatewayRouteTableCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DisassociateTrunkInterfaceCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +4 -2
- package/dist-types/ts3.4/models/models_1.d.ts +21 -18
- package/dist-types/ts3.4/models/models_2.d.ts +19 -18
- package/dist-types/ts3.4/models/models_3.d.ts +18 -24
- package/dist-types/ts3.4/models/models_4.d.ts +19 -15
- package/dist-types/ts3.4/models/models_5.d.ts +17 -18
- package/dist-types/ts3.4/models/models_6.d.ts +18 -1
- package/package.json +1 -1
|
@@ -419,6 +419,28 @@ export interface MemoryMiBRequest {
|
|
|
419
419
|
*/
|
|
420
420
|
Max?: number;
|
|
421
421
|
}
|
|
422
|
+
/**
|
|
423
|
+
* <p>The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps).</p>
|
|
424
|
+
* <note>
|
|
425
|
+
* <p>Setting the minimum bandwidth does not guarantee that your instance will achieve the
|
|
426
|
+
* minimum bandwidth. Amazon EC2 will identify instance types that support the specified minimum
|
|
427
|
+
* bandwidth, but the actual bandwidth of your instance might go below the specified minimum
|
|
428
|
+
* at times. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-network-bandwidth.html#available-instance-bandwidth">Available instance bandwidth</a> in the
|
|
429
|
+
* <i>Amazon EC2 User Guide</i>.</p>
|
|
430
|
+
* </note>
|
|
431
|
+
*/
|
|
432
|
+
export interface NetworkBandwidthGbpsRequest {
|
|
433
|
+
/**
|
|
434
|
+
* <p>The minimum amount of network bandwidth, in Gbps. To specify no minimum limit, omit this
|
|
435
|
+
* parameter.</p>
|
|
436
|
+
*/
|
|
437
|
+
Min?: number;
|
|
438
|
+
/**
|
|
439
|
+
* <p>The maximum amount of network bandwidth, in Gbps. To specify no maximum limit, omit this
|
|
440
|
+
* parameter.</p>
|
|
441
|
+
*/
|
|
442
|
+
Max?: number;
|
|
443
|
+
}
|
|
422
444
|
/**
|
|
423
445
|
* <p>The minimum and maximum number of network interfaces.</p>
|
|
424
446
|
*/
|
|
@@ -464,16 +486,30 @@ export interface VCpuCountRangeRequest {
|
|
|
464
486
|
}
|
|
465
487
|
/**
|
|
466
488
|
* <p>The attributes for the instance types. When you specify instance attributes, Amazon EC2 will
|
|
467
|
-
*
|
|
489
|
+
* identify instance types with these attributes.</p>
|
|
468
490
|
* <p>When you specify multiple attributes, you get instance types that satisfy all of the
|
|
469
491
|
* specified attributes. If you specify multiple values for an attribute, you get instance
|
|
470
492
|
* types that satisfy any of the specified values.</p>
|
|
493
|
+
* <p>To limit the list of instance types from which Amazon EC2 can identify matching instance types,
|
|
494
|
+
* you can use one of the following parameters, but not both in the same request:</p>
|
|
495
|
+
* <ul>
|
|
496
|
+
* <li>
|
|
497
|
+
* <p>
|
|
498
|
+
* <code>AllowedInstanceTypes</code> - The instance types to include in the list. All
|
|
499
|
+
* other instance types are ignored, even if they match your specified attributes.</p>
|
|
500
|
+
* </li>
|
|
501
|
+
* <li>
|
|
502
|
+
* <p>
|
|
503
|
+
* <code>ExcludedInstanceTypes</code> - The instance types to exclude from the list,
|
|
504
|
+
* even if they match your specified attributes.</p>
|
|
505
|
+
* </li>
|
|
506
|
+
* </ul>
|
|
471
507
|
* <note>
|
|
472
508
|
* <p>You must specify <code>VCpuCount</code> and <code>MemoryMiB</code>. All other attributes
|
|
473
509
|
* are optional. Any unspecified optional attribute is set to its default.</p>
|
|
474
510
|
* </note>
|
|
475
511
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html">Attribute-based instance type selection for EC2 Fleet</a>, <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-attribute-based-instance-type-selection.html">Attribute-based instance type selection for Spot Fleet</a>, and <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-placement-score.html">Spot
|
|
476
|
-
*
|
|
512
|
+
* placement score</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
477
513
|
*/
|
|
478
514
|
export interface InstanceRequirementsRequest {
|
|
479
515
|
/**
|
|
@@ -520,6 +556,9 @@ export interface InstanceRequirementsRequest {
|
|
|
520
556
|
* family, which includes all C5a and C5n instance types. If you specify
|
|
521
557
|
* <code>m5a.*</code>, Amazon EC2 will exclude all the M5a instance types, but not the M5n
|
|
522
558
|
* instance types.</p>
|
|
559
|
+
* <note>
|
|
560
|
+
* <p>If you specify <code>ExcludedInstanceTypes</code>, you can't specify <code>AllowedInstanceTypes</code>.</p>
|
|
561
|
+
* </note>
|
|
523
562
|
* <p>Default: No excluded instance types</p>
|
|
524
563
|
*/
|
|
525
564
|
ExcludedInstanceTypes?: string[];
|
|
@@ -745,6 +784,28 @@ export interface InstanceRequirementsRequest {
|
|
|
745
784
|
* <p>Default: No minimum or maximum limits</p>
|
|
746
785
|
*/
|
|
747
786
|
AcceleratorTotalMemoryMiB?: AcceleratorTotalMemoryMiBRequest;
|
|
787
|
+
/**
|
|
788
|
+
* <p>The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps).</p>
|
|
789
|
+
* <p>Default: No minimum or maximum limits</p>
|
|
790
|
+
*/
|
|
791
|
+
NetworkBandwidthGbps?: NetworkBandwidthGbpsRequest;
|
|
792
|
+
/**
|
|
793
|
+
* <p>The instance types to apply your specified attributes against. All other instance types
|
|
794
|
+
* are ignored, even if they match your specified attributes.</p>
|
|
795
|
+
* <p>You can use strings with one or more wild cards, represented by
|
|
796
|
+
* an asterisk (<code>*</code>), to allow an instance type, size, or generation. The
|
|
797
|
+
* following are examples: <code>m5.8xlarge</code>, <code>c5*.*</code>, <code>m5a.*</code>,
|
|
798
|
+
* <code>r*</code>, <code>*3*</code>.</p>
|
|
799
|
+
* <p>For example, if you specify <code>c5*</code>,Amazon EC2 will allow the entire C5 instance
|
|
800
|
+
* family, which includes all C5a and C5n instance types. If you specify
|
|
801
|
+
* <code>m5a.*</code>, Amazon EC2 will allow all the M5a instance types, but not the M5n
|
|
802
|
+
* instance types.</p>
|
|
803
|
+
* <note>
|
|
804
|
+
* <p>If you specify <code>AllowedInstanceTypes</code>, you can't specify <code>ExcludedInstanceTypes</code>.</p>
|
|
805
|
+
* </note>
|
|
806
|
+
* <p>Default: All instance types</p>
|
|
807
|
+
*/
|
|
808
|
+
AllowedInstanceTypes?: string[];
|
|
748
809
|
}
|
|
749
810
|
/**
|
|
750
811
|
* <p>Describes the placement of an instance.</p>
|
|
@@ -803,6 +864,10 @@ export interface Placement {
|
|
|
803
864
|
* <p>This parameter is not supported by <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet">CreateFleet</a>.</p>
|
|
804
865
|
*/
|
|
805
866
|
HostResourceGroupArn?: string;
|
|
867
|
+
/**
|
|
868
|
+
* <p>The Group Id of the placement group.</p>
|
|
869
|
+
*/
|
|
870
|
+
GroupId?: string;
|
|
806
871
|
}
|
|
807
872
|
/**
|
|
808
873
|
* <p>Describes overrides for a launch template.</p>
|
|
@@ -1268,7 +1333,7 @@ export interface CreateFleetRequest {
|
|
|
1268
1333
|
* a Spot Fleet to configure Amazon EC2 instances. You must specify either the ID or name of the launch template in the request, but not both.</p>
|
|
1269
1334
|
* <p>For information about launch templates,
|
|
1270
1335
|
* see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html">Launch an instance from a launch template</a> in the
|
|
1271
|
-
* <i>Amazon EC2 User Guide
|
|
1336
|
+
* <i>Amazon EC2 User Guide</i>.</p>
|
|
1272
1337
|
*/
|
|
1273
1338
|
export interface FleetLaunchTemplateSpecification {
|
|
1274
1339
|
/**
|
|
@@ -1339,6 +1404,28 @@ export interface MemoryMiB {
|
|
|
1339
1404
|
*/
|
|
1340
1405
|
Max?: number;
|
|
1341
1406
|
}
|
|
1407
|
+
/**
|
|
1408
|
+
* <p>The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps).</p>
|
|
1409
|
+
* <note>
|
|
1410
|
+
* <p>Setting the minimum bandwidth does not guarantee that your instance will achieve the
|
|
1411
|
+
* minimum bandwidth. Amazon EC2 will identify instance types that support the specified minimum
|
|
1412
|
+
* bandwidth, but the actual bandwidth of your instance might go below the specified minimum
|
|
1413
|
+
* at times. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-network-bandwidth.html#available-instance-bandwidth">Available instance bandwidth</a> in the
|
|
1414
|
+
* <i>Amazon EC2 User Guide</i>.</p>
|
|
1415
|
+
* </note>
|
|
1416
|
+
*/
|
|
1417
|
+
export interface NetworkBandwidthGbps {
|
|
1418
|
+
/**
|
|
1419
|
+
* <p>The minimum amount of network bandwidth, in Gbps. If this parameter is not specified, there is no minimum
|
|
1420
|
+
* limit.</p>
|
|
1421
|
+
*/
|
|
1422
|
+
Min?: number;
|
|
1423
|
+
/**
|
|
1424
|
+
* <p>The maximum amount of network bandwidth, in Gbps. If this parameter is not specified, there is no
|
|
1425
|
+
* maximum limit.</p>
|
|
1426
|
+
*/
|
|
1427
|
+
Max?: number;
|
|
1428
|
+
}
|
|
1342
1429
|
/**
|
|
1343
1430
|
* <p>The minimum and maximum number of network interfaces.</p>
|
|
1344
1431
|
*/
|
|
@@ -1390,12 +1477,26 @@ export interface VCpuCountRange {
|
|
|
1390
1477
|
* <p>When you specify multiple attributes, you get instance types that satisfy all of the
|
|
1391
1478
|
* specified attributes. If you specify multiple values for an attribute, you get instance
|
|
1392
1479
|
* types that satisfy any of the specified values.</p>
|
|
1480
|
+
* <p>To limit the list of instance types from which Amazon EC2 can identify matching instance types,
|
|
1481
|
+
* you can use one of the following parameters, but not both in the same request:</p>
|
|
1482
|
+
* <ul>
|
|
1483
|
+
* <li>
|
|
1484
|
+
* <p>
|
|
1485
|
+
* <code>AllowedInstanceTypes</code> - The instance types to include in the list. All
|
|
1486
|
+
* other instance types are ignored, even if they match your specified attributes.</p>
|
|
1487
|
+
* </li>
|
|
1488
|
+
* <li>
|
|
1489
|
+
* <p>
|
|
1490
|
+
* <code>ExcludedInstanceTypes</code> - The instance types to exclude from the list,
|
|
1491
|
+
* even if they match your specified attributes.</p>
|
|
1492
|
+
* </li>
|
|
1493
|
+
* </ul>
|
|
1393
1494
|
* <note>
|
|
1394
1495
|
* <p>You must specify <code>VCpuCount</code> and <code>MemoryMiB</code>. All other attributes
|
|
1395
1496
|
* are optional. Any unspecified optional attribute is set to its default.</p>
|
|
1396
1497
|
* </note>
|
|
1397
1498
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html">Attribute-based instance type selection for EC2 Fleet</a>, <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-attribute-based-instance-type-selection.html">Attribute-based instance type selection for Spot Fleet</a>, and <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-placement-score.html">Spot
|
|
1398
|
-
*
|
|
1499
|
+
* placement score</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
1399
1500
|
*/
|
|
1400
1501
|
export interface InstanceRequirements {
|
|
1401
1502
|
/**
|
|
@@ -1442,6 +1543,9 @@ export interface InstanceRequirements {
|
|
|
1442
1543
|
* family, which includes all C5a and C5n instance types. If you specify
|
|
1443
1544
|
* <code>m5a.*</code>, Amazon EC2 will exclude all the M5a instance types, but not the M5n
|
|
1444
1545
|
* instance types.</p>
|
|
1546
|
+
* <note>
|
|
1547
|
+
* <p>If you specify <code>ExcludedInstanceTypes</code>, you can't specify <code>AllowedInstanceTypes</code>.</p>
|
|
1548
|
+
* </note>
|
|
1445
1549
|
* <p>Default: No excluded instance types</p>
|
|
1446
1550
|
*/
|
|
1447
1551
|
ExcludedInstanceTypes?: string[];
|
|
@@ -1668,6 +1772,28 @@ export interface InstanceRequirements {
|
|
|
1668
1772
|
* <p>Default: No minimum or maximum limits</p>
|
|
1669
1773
|
*/
|
|
1670
1774
|
AcceleratorTotalMemoryMiB?: AcceleratorTotalMemoryMiB;
|
|
1775
|
+
/**
|
|
1776
|
+
* <p>The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps).</p>
|
|
1777
|
+
* <p>Default: No minimum or maximum limits</p>
|
|
1778
|
+
*/
|
|
1779
|
+
NetworkBandwidthGbps?: NetworkBandwidthGbps;
|
|
1780
|
+
/**
|
|
1781
|
+
* <p>The instance types to apply your specified attributes against. All other instance types
|
|
1782
|
+
* are ignored, even if they match your specified attributes.</p>
|
|
1783
|
+
* <p>You can use strings with one or more wild cards, represented by
|
|
1784
|
+
* an asterisk (<code>*</code>), to allow an instance type, size, or generation. The
|
|
1785
|
+
* following are examples: <code>m5.8xlarge</code>, <code>c5*.*</code>, <code>m5a.*</code>,
|
|
1786
|
+
* <code>r*</code>, <code>*3*</code>.</p>
|
|
1787
|
+
* <p>For example, if you specify <code>c5*</code>,Amazon EC2 will allow the entire C5 instance
|
|
1788
|
+
* family, which includes all C5a and C5n instance types. If you specify
|
|
1789
|
+
* <code>m5a.*</code>, Amazon EC2 will allow all the M5a instance types, but not the M5n
|
|
1790
|
+
* instance types.</p>
|
|
1791
|
+
* <note>
|
|
1792
|
+
* <p>If you specify <code>AllowedInstanceTypes</code>, you can't specify <code>ExcludedInstanceTypes</code>.</p>
|
|
1793
|
+
* </note>
|
|
1794
|
+
* <p>Default: All instance types</p>
|
|
1795
|
+
*/
|
|
1796
|
+
AllowedInstanceTypes?: string[];
|
|
1671
1797
|
}
|
|
1672
1798
|
/**
|
|
1673
1799
|
* <p>Describes the placement of an instance.</p>
|
|
@@ -2141,8 +2267,8 @@ export interface EbsBlockDevice {
|
|
|
2141
2267
|
Throughput?: number;
|
|
2142
2268
|
/**
|
|
2143
2269
|
* <p>The ARN of the Outpost on which the snapshot is stored.</p>
|
|
2144
|
-
* <p>This parameter is only supported on <code>BlockDeviceMapping</code> objects called
|
|
2145
|
-
*
|
|
2270
|
+
* <p>This parameter is only supported on <code>BlockDeviceMapping</code> objects called by
|
|
2271
|
+
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html">
|
|
2146
2272
|
* CreateImage</a>.</p>
|
|
2147
2273
|
*/
|
|
2148
2274
|
OutpostArn?: string;
|
|
@@ -3201,7 +3327,8 @@ export interface LaunchTemplateCpuOptionsRequest {
|
|
|
3201
3327
|
CoreCount?: number;
|
|
3202
3328
|
/**
|
|
3203
3329
|
* <p>The number of threads per CPU core. To disable multithreading for the instance,
|
|
3204
|
-
* specify a value of <code>1</code>. Otherwise, specify the default value of
|
|
3330
|
+
* specify a value of <code>1</code>. Otherwise, specify the default value of
|
|
3331
|
+
* <code>2</code>.</p>
|
|
3205
3332
|
*/
|
|
3206
3333
|
ThreadsPerCore?: number;
|
|
3207
3334
|
}
|
|
@@ -3302,10 +3429,12 @@ export declare enum SpotInstanceType {
|
|
|
3302
3429
|
*/
|
|
3303
3430
|
export interface LaunchTemplateSpotMarketOptionsRequest {
|
|
3304
3431
|
/**
|
|
3305
|
-
* <p>The maximum hourly price you're willing to pay for the Spot Instances. We do not
|
|
3306
|
-
* using this parameter because it can lead to increased interruptions. If you do
|
|
3432
|
+
* <p>The maximum hourly price you're willing to pay for the Spot Instances. We do not
|
|
3433
|
+
* recommend using this parameter because it can lead to increased interruptions. If you do
|
|
3434
|
+
* not specify this parameter, you will pay the current Spot price.</p>
|
|
3307
3435
|
* <important>
|
|
3308
|
-
* <p>If you specify a maximum price, your Spot Instances will be interrupted more
|
|
3436
|
+
* <p>If you specify a maximum price, your Spot Instances will be interrupted more
|
|
3437
|
+
* frequently than if you do not specify this parameter.</p>
|
|
3309
3438
|
* </important>
|
|
3310
3439
|
*/
|
|
3311
3440
|
MaxPrice?: string;
|
|
@@ -3323,12 +3452,13 @@ export interface LaunchTemplateSpotMarketOptionsRequest {
|
|
|
3323
3452
|
* persistent requests.</p>
|
|
3324
3453
|
* <ul>
|
|
3325
3454
|
* <li>
|
|
3326
|
-
* <p>For a persistent request, the request remains active until the
|
|
3327
|
-
*
|
|
3455
|
+
* <p>For a persistent request, the request remains active until the
|
|
3456
|
+
* <code>ValidUntil</code> date and time is reached. Otherwise, the request
|
|
3457
|
+
* remains active until you cancel it.</p>
|
|
3328
3458
|
* </li>
|
|
3329
3459
|
* <li>
|
|
3330
|
-
* <p>For a one-time request, <code>ValidUntil</code> is not supported. The request
|
|
3331
|
-
* all instances launch or you cancel the request.</p>
|
|
3460
|
+
* <p>For a one-time request, <code>ValidUntil</code> is not supported. The request
|
|
3461
|
+
* remains active until all instances launch or you cancel the request.</p>
|
|
3332
3462
|
* </li>
|
|
3333
3463
|
* </ul>
|
|
3334
3464
|
* <p>Default: 7 days from the current date</p>
|
|
@@ -3639,6 +3769,11 @@ export interface LaunchTemplatePlacementRequest {
|
|
|
3639
3769
|
* group strategy is set to <code>partition</code>.</p>
|
|
3640
3770
|
*/
|
|
3641
3771
|
PartitionNumber?: number;
|
|
3772
|
+
/**
|
|
3773
|
+
* <p>The Group Id of a placement group. You must specify the Placement Group <b>Group Id</b> to launch an instance in a shared placement
|
|
3774
|
+
* group.</p>
|
|
3775
|
+
*/
|
|
3776
|
+
GroupId?: string;
|
|
3642
3777
|
}
|
|
3643
3778
|
/**
|
|
3644
3779
|
* <p>Describes the options for instance hostnames.</p>
|
|
@@ -3663,13 +3798,15 @@ export interface LaunchTemplatePrivateDnsNameOptionsRequest {
|
|
|
3663
3798
|
EnableResourceNameDnsAAAARecord?: boolean;
|
|
3664
3799
|
}
|
|
3665
3800
|
/**
|
|
3666
|
-
* <p>The tags specification for the resources that are created during instance
|
|
3801
|
+
* <p>The tags specification for the resources that are created during instance
|
|
3802
|
+
* launch.</p>
|
|
3667
3803
|
*/
|
|
3668
3804
|
export interface LaunchTemplateTagSpecificationRequest {
|
|
3669
3805
|
/**
|
|
3670
3806
|
* <p>The type of resource to tag.</p>
|
|
3671
|
-
* <p>The <code>Valid Values</code> are all the resource types that can be tagged. However,
|
|
3672
|
-
* a launch template, you can specify tags for the following resource types
|
|
3807
|
+
* <p>The <code>Valid Values</code> are all the resource types that can be tagged. However,
|
|
3808
|
+
* when creating a launch template, you can specify tags for the following resource types
|
|
3809
|
+
* only: <code>instance</code> | <code>volume</code> | <code>elastic-gpu</code> |
|
|
3673
3810
|
* <code>network-interface</code> | <code>spot-instances-request</code>
|
|
3674
3811
|
* </p>
|
|
3675
3812
|
* <p>To tag a resource after it has been created, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html">CreateTags</a>.</p>
|
|
@@ -3771,8 +3908,9 @@ export interface RequestLaunchTemplateData {
|
|
|
3771
3908
|
InstanceInitiatedShutdownBehavior?: ShutdownBehavior | string;
|
|
3772
3909
|
/**
|
|
3773
3910
|
* <p>The user data to make available to the instance. You must provide base64-encoded text.
|
|
3774
|
-
* User data is limited to 16 KB. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html">Run commands on your Linux instance
|
|
3775
|
-
*
|
|
3911
|
+
* User data is limited to 16 KB. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html">Run commands on your Linux instance at
|
|
3912
|
+
* launch</a> (Linux) or <a href="https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/instancedata-add-user-data.html">Work with instance
|
|
3913
|
+
* user data</a> (Windows) in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
3776
3914
|
*
|
|
3777
3915
|
* <p>If you are creating the launch template for use with Batch, the user
|
|
3778
3916
|
* data must be provided in the <a href="https://cloudinit.readthedocs.io/en/latest/topics/format.html#mime-multi-part-archive"> MIME multi-part archive format</a>. For more information, see <a href="https://docs.aws.amazon.com/batch/latest/userguide/launch-templates.html">Amazon EC2 user data in launch templates</a> in the <i>Batch User Guide</i>.</p>
|
|
@@ -3798,10 +3936,9 @@ export interface RequestLaunchTemplateData {
|
|
|
3798
3936
|
* <p>Network interfaces</p>
|
|
3799
3937
|
* </li>
|
|
3800
3938
|
* </ul>
|
|
3801
|
-
*
|
|
3939
|
+
* <p>To tag a resource after it has been created, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html">CreateTags</a>.</p>
|
|
3802
3940
|
* <note>
|
|
3803
|
-
* <p>To tag the launch template itself, you must use the
|
|
3804
|
-
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateLaunchTemplate.html">TagSpecification</a> parameter.</p>
|
|
3941
|
+
* <p>To tag the launch template itself, you must use the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateLaunchTemplate.html">TagSpecification</a> parameter.</p>
|
|
3805
3942
|
* </note>
|
|
3806
3943
|
*/
|
|
3807
3944
|
TagSpecifications?: LaunchTemplateTagSpecificationRequest[];
|
|
@@ -3819,9 +3956,9 @@ export interface RequestLaunchTemplateData {
|
|
|
3819
3956
|
*/
|
|
3820
3957
|
SecurityGroupIds?: string[];
|
|
3821
3958
|
/**
|
|
3822
|
-
* <p>One or more security group names. For a nondefault VPC, you
|
|
3823
|
-
*
|
|
3824
|
-
*
|
|
3959
|
+
* <p>One or more security group names. For a nondefault VPC, you must use security group
|
|
3960
|
+
* IDs instead. You cannot specify both a security group ID and security name in the same
|
|
3961
|
+
* request.</p>
|
|
3825
3962
|
*/
|
|
3826
3963
|
SecurityGroups?: string[];
|
|
3827
3964
|
/**
|
|
@@ -3918,10 +4055,12 @@ export interface CreateLaunchTemplateRequest {
|
|
|
3918
4055
|
*/
|
|
3919
4056
|
LaunchTemplateData: RequestLaunchTemplateData | undefined;
|
|
3920
4057
|
/**
|
|
3921
|
-
* <p>The tags to apply to the launch template on creation. To tag the launch template, the
|
|
4058
|
+
* <p>The tags to apply to the launch template on creation. To tag the launch template, the
|
|
4059
|
+
* resource type must be <code>launch-template</code>.</p>
|
|
3922
4060
|
* <note>
|
|
3923
|
-
* <p>To specify the tags for the resources that are created when an instance is
|
|
3924
|
-
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestLaunchTemplateData.html">launch
|
|
4061
|
+
* <p>To specify the tags for the resources that are created when an instance is
|
|
4062
|
+
* launched, you must use the <code>TagSpecifications</code> parameter in the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestLaunchTemplateData.html">launch
|
|
4063
|
+
* template data</a> structure.</p>
|
|
3925
4064
|
* </note>
|
|
3926
4065
|
*/
|
|
3927
4066
|
TagSpecifications?: TagSpecification[];
|
|
@@ -3967,14 +4106,12 @@ export interface LaunchTemplate {
|
|
|
3967
4106
|
export interface ValidationError {
|
|
3968
4107
|
/**
|
|
3969
4108
|
* <p>The error code that indicates why the parameter or parameter combination is not valid.
|
|
3970
|
-
* For more information about error codes, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html">Error
|
|
3971
|
-
* codes</a>.</p>
|
|
4109
|
+
* For more information about error codes, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html">Error codes</a>.</p>
|
|
3972
4110
|
*/
|
|
3973
4111
|
Code?: string;
|
|
3974
4112
|
/**
|
|
3975
4113
|
* <p>The error message that describes why the parameter or parameter combination is not
|
|
3976
|
-
* valid. For more information about error messages, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html">Error
|
|
3977
|
-
* codes</a>.</p>
|
|
4114
|
+
* valid. For more information about error messages, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html">Error codes</a>.</p>
|
|
3978
4115
|
*/
|
|
3979
4116
|
Message?: string;
|
|
3980
4117
|
}
|
|
@@ -4018,12 +4155,14 @@ export interface CreateLaunchTemplateVersionRequest {
|
|
|
4018
4155
|
ClientToken?: string;
|
|
4019
4156
|
/**
|
|
4020
4157
|
* <p>The ID of the launch template.</p>
|
|
4021
|
-
* <p>You must specify either the <code>LaunchTemplateId</code> or the
|
|
4158
|
+
* <p>You must specify either the <code>LaunchTemplateId</code> or the
|
|
4159
|
+
* <code>LaunchTemplateName</code>, but not both.</p>
|
|
4022
4160
|
*/
|
|
4023
4161
|
LaunchTemplateId?: string;
|
|
4024
4162
|
/**
|
|
4025
4163
|
* <p>The name of the launch template.</p>
|
|
4026
|
-
* <p>You must specify the <code>LaunchTemplateName</code> or the
|
|
4164
|
+
* <p>You must specify the <code>LaunchTemplateName</code> or the
|
|
4165
|
+
* <code>LaunchTemplateId</code>, but not both.</p>
|
|
4027
4166
|
*/
|
|
4028
4167
|
LaunchTemplateName?: string;
|
|
4029
4168
|
/**
|
|
@@ -4228,10 +4367,12 @@ export interface LaunchTemplateIamInstanceProfileSpecification {
|
|
|
4228
4367
|
*/
|
|
4229
4368
|
export interface LaunchTemplateSpotMarketOptions {
|
|
4230
4369
|
/**
|
|
4231
|
-
* <p>The maximum hourly price you're willing to pay for the Spot Instances. We do not
|
|
4232
|
-
* using this parameter because it can lead to increased interruptions. If you do
|
|
4370
|
+
* <p>The maximum hourly price you're willing to pay for the Spot Instances. We do not
|
|
4371
|
+
* recommend using this parameter because it can lead to increased interruptions. If you do
|
|
4372
|
+
* not specify this parameter, you will pay the current Spot price.</p>
|
|
4233
4373
|
* <important>
|
|
4234
|
-
* <p>If you specify a maximum price, your Spot Instances will be interrupted more
|
|
4374
|
+
* <p>If you specify a maximum price, your Spot Instances will be interrupted more
|
|
4375
|
+
* frequently than if you do not specify this parameter.</p>
|
|
4235
4376
|
* </important>
|
|
4236
4377
|
*/
|
|
4237
4378
|
MaxPrice?: string;
|
|
@@ -4520,6 +4661,11 @@ export interface LaunchTemplatePlacement {
|
|
|
4520
4661
|
* group strategy is set to <code>partition</code>.</p>
|
|
4521
4662
|
*/
|
|
4522
4663
|
PartitionNumber?: number;
|
|
4664
|
+
/**
|
|
4665
|
+
* <p>The Group ID of the placement group. You must specify the Placement Group <b>Group ID</b> to launch an instance in a shared placement
|
|
4666
|
+
* group.</p>
|
|
4667
|
+
*/
|
|
4668
|
+
GroupId?: string;
|
|
4523
4669
|
}
|
|
4524
4670
|
/**
|
|
4525
4671
|
* <p>Describes the options for instance hostnames.</p>
|
|
@@ -4616,7 +4762,8 @@ export interface ResponseLaunchTemplateData {
|
|
|
4616
4762
|
*/
|
|
4617
4763
|
UserData?: string;
|
|
4618
4764
|
/**
|
|
4619
|
-
* <p>The tags that are applied to the resources that are created during instance
|
|
4765
|
+
* <p>The tags that are applied to the resources that are created during instance
|
|
4766
|
+
* launch.</p>
|
|
4620
4767
|
*/
|
|
4621
4768
|
TagSpecifications?: LaunchTemplateTagSpecification[];
|
|
4622
4769
|
/**
|
|
@@ -4687,8 +4834,9 @@ export interface ResponseLaunchTemplateData {
|
|
|
4687
4834
|
*/
|
|
4688
4835
|
MaintenanceOptions?: LaunchTemplateInstanceMaintenanceOptions;
|
|
4689
4836
|
/**
|
|
4690
|
-
* <p>Indicates whether the instance is enabled for stop protection.
|
|
4691
|
-
*
|
|
4837
|
+
* <p>Indicates whether the instance is enabled for stop protection. For more information,
|
|
4838
|
+
* see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html#Using_StopProtection">Stop
|
|
4839
|
+
* Protection</a>.</p>
|
|
4692
4840
|
*/
|
|
4693
4841
|
DisableApiStop?: boolean;
|
|
4694
4842
|
}
|
|
@@ -6277,10 +6425,11 @@ export interface CreatePlacementGroupRequest {
|
|
|
6277
6425
|
* <p>Determines how placement groups spread instances. </p>
|
|
6278
6426
|
* <ul>
|
|
6279
6427
|
* <li>
|
|
6280
|
-
*
|
|
6428
|
+
* <p>Host – You can use <code>host</code> only with Outpost placement
|
|
6429
|
+
* groups.</p>
|
|
6281
6430
|
* </li>
|
|
6282
6431
|
* <li>
|
|
6283
|
-
*
|
|
6432
|
+
* <p>Rack – No usage restrictions.</p>
|
|
6284
6433
|
* </li>
|
|
6285
6434
|
* </ul>
|
|
6286
6435
|
*/
|
|
@@ -6333,7 +6482,7 @@ export interface PlacementGroup {
|
|
|
6333
6482
|
}
|
|
6334
6483
|
export interface CreatePlacementGroupResult {
|
|
6335
6484
|
/**
|
|
6336
|
-
* <p>
|
|
6485
|
+
* <p>Information about the placement group.</p>
|
|
6337
6486
|
*/
|
|
6338
6487
|
PlacementGroup?: PlacementGroup;
|
|
6339
6488
|
}
|
|
@@ -7175,7 +7324,7 @@ export interface CreateSpotDatafeedSubscriptionRequest {
|
|
|
7175
7324
|
* <p>Checks whether you have the required permissions for the action, without actually
|
|
7176
7325
|
* making the request, and provides an error response. If you have the required
|
|
7177
7326
|
* permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
|
|
7178
|
-
*
|
|
7327
|
+
* <code>UnauthorizedOperation</code>.</p>
|
|
7179
7328
|
*/
|
|
7180
7329
|
DryRun?: boolean;
|
|
7181
7330
|
/**
|
|
@@ -7393,48 +7542,6 @@ export interface CreateSubnetCidrReservationRequest {
|
|
|
7393
7542
|
*/
|
|
7394
7543
|
TagSpecifications?: TagSpecification[];
|
|
7395
7544
|
}
|
|
7396
|
-
/**
|
|
7397
|
-
* <p>Describes a subnet CIDR reservation.</p>
|
|
7398
|
-
*/
|
|
7399
|
-
export interface SubnetCidrReservation {
|
|
7400
|
-
/**
|
|
7401
|
-
* <p>The ID of the subnet CIDR reservation.</p>
|
|
7402
|
-
*/
|
|
7403
|
-
SubnetCidrReservationId?: string;
|
|
7404
|
-
/**
|
|
7405
|
-
* <p>The ID of the subnet.</p>
|
|
7406
|
-
*/
|
|
7407
|
-
SubnetId?: string;
|
|
7408
|
-
/**
|
|
7409
|
-
* <p>The CIDR that has been reserved.</p>
|
|
7410
|
-
*/
|
|
7411
|
-
Cidr?: string;
|
|
7412
|
-
/**
|
|
7413
|
-
* <p>The type of reservation. </p>
|
|
7414
|
-
*/
|
|
7415
|
-
ReservationType?: SubnetCidrReservationType | string;
|
|
7416
|
-
/**
|
|
7417
|
-
* <p>The ID of the account that owns the subnet CIDR reservation. </p>
|
|
7418
|
-
*/
|
|
7419
|
-
OwnerId?: string;
|
|
7420
|
-
/**
|
|
7421
|
-
* <p>The
|
|
7422
|
-
* description
|
|
7423
|
-
* assigned to the subnet CIDR
|
|
7424
|
-
* reservation.</p>
|
|
7425
|
-
*/
|
|
7426
|
-
Description?: string;
|
|
7427
|
-
/**
|
|
7428
|
-
* <p>The tags assigned to the subnet CIDR reservation.</p>
|
|
7429
|
-
*/
|
|
7430
|
-
Tags?: Tag[];
|
|
7431
|
-
}
|
|
7432
|
-
export interface CreateSubnetCidrReservationResult {
|
|
7433
|
-
/**
|
|
7434
|
-
* <p>Information about the created subnet CIDR reservation.</p>
|
|
7435
|
-
*/
|
|
7436
|
-
SubnetCidrReservation?: SubnetCidrReservation;
|
|
7437
|
-
}
|
|
7438
7545
|
/**
|
|
7439
7546
|
* @internal
|
|
7440
7547
|
*/
|
|
@@ -7511,6 +7618,10 @@ export declare const MemoryGiBPerVCpuRequestFilterSensitiveLog: (obj: MemoryGiBP
|
|
|
7511
7618
|
* @internal
|
|
7512
7619
|
*/
|
|
7513
7620
|
export declare const MemoryMiBRequestFilterSensitiveLog: (obj: MemoryMiBRequest) => any;
|
|
7621
|
+
/**
|
|
7622
|
+
* @internal
|
|
7623
|
+
*/
|
|
7624
|
+
export declare const NetworkBandwidthGbpsRequestFilterSensitiveLog: (obj: NetworkBandwidthGbpsRequest) => any;
|
|
7514
7625
|
/**
|
|
7515
7626
|
* @internal
|
|
7516
7627
|
*/
|
|
@@ -7583,6 +7694,10 @@ export declare const MemoryGiBPerVCpuFilterSensitiveLog: (obj: MemoryGiBPerVCpu)
|
|
|
7583
7694
|
* @internal
|
|
7584
7695
|
*/
|
|
7585
7696
|
export declare const MemoryMiBFilterSensitiveLog: (obj: MemoryMiB) => any;
|
|
7697
|
+
/**
|
|
7698
|
+
* @internal
|
|
7699
|
+
*/
|
|
7700
|
+
export declare const NetworkBandwidthGbpsFilterSensitiveLog: (obj: NetworkBandwidthGbps) => any;
|
|
7586
7701
|
/**
|
|
7587
7702
|
* @internal
|
|
7588
7703
|
*/
|
|
@@ -8351,11 +8466,3 @@ export declare const CreateSubnetResultFilterSensitiveLog: (obj: CreateSubnetRes
|
|
|
8351
8466
|
* @internal
|
|
8352
8467
|
*/
|
|
8353
8468
|
export declare const CreateSubnetCidrReservationRequestFilterSensitiveLog: (obj: CreateSubnetCidrReservationRequest) => any;
|
|
8354
|
-
/**
|
|
8355
|
-
* @internal
|
|
8356
|
-
*/
|
|
8357
|
-
export declare const SubnetCidrReservationFilterSensitiveLog: (obj: SubnetCidrReservation) => any;
|
|
8358
|
-
/**
|
|
8359
|
-
* @internal
|
|
8360
|
-
*/
|
|
8361
|
-
export declare const CreateSubnetCidrReservationResultFilterSensitiveLog: (obj: CreateSubnetCidrReservationResult) => any;
|