@aws-sdk/client-ec2 3.205.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/protocols/Aws_ec2.js +17 -0
- package/dist-es/protocols/Aws_ec2.js +17 -0
- package/dist-types/EC2.d.ts +43 -37
- 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/DescribeHostReservationOfferingsCommand.d.ts +4 -4
- 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/RunInstancesCommand.d.ts +3 -1
- package/dist-types/models/models_0.d.ts +24 -26
- package/dist-types/models/models_1.d.ts +65 -38
- package/dist-types/models/models_2.d.ts +8 -4
- package/dist-types/models/models_3.d.ts +48 -49
- package/dist-types/models/models_4.d.ts +13 -11
- package/dist-types/models/models_5.d.ts +41 -33
- package/dist-types/models/models_6.d.ts +24 -18
- package/dist-types/ts3.4/models/models_1.d.ts +3 -0
- package/dist-types/ts3.4/models/models_5.d.ts +1 -0
- package/package.json +1 -1
- package/CHANGELOG.md +0 -3664
|
@@ -864,6 +864,10 @@ export interface Placement {
|
|
|
864
864
|
* <p>This parameter is not supported by <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet">CreateFleet</a>.</p>
|
|
865
865
|
*/
|
|
866
866
|
HostResourceGroupArn?: string;
|
|
867
|
+
/**
|
|
868
|
+
* <p>The Group Id of the placement group.</p>
|
|
869
|
+
*/
|
|
870
|
+
GroupId?: string;
|
|
867
871
|
}
|
|
868
872
|
/**
|
|
869
873
|
* <p>Describes overrides for a launch template.</p>
|
|
@@ -2263,8 +2267,8 @@ export interface EbsBlockDevice {
|
|
|
2263
2267
|
Throughput?: number;
|
|
2264
2268
|
/**
|
|
2265
2269
|
* <p>The ARN of the Outpost on which the snapshot is stored.</p>
|
|
2266
|
-
* <p>This parameter is only supported on <code>BlockDeviceMapping</code> objects called
|
|
2267
|
-
*
|
|
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">
|
|
2268
2272
|
* CreateImage</a>.</p>
|
|
2269
2273
|
*/
|
|
2270
2274
|
OutpostArn?: string;
|
|
@@ -3323,7 +3327,8 @@ export interface LaunchTemplateCpuOptionsRequest {
|
|
|
3323
3327
|
CoreCount?: number;
|
|
3324
3328
|
/**
|
|
3325
3329
|
* <p>The number of threads per CPU core. To disable multithreading for the instance,
|
|
3326
|
-
* 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>
|
|
3327
3332
|
*/
|
|
3328
3333
|
ThreadsPerCore?: number;
|
|
3329
3334
|
}
|
|
@@ -3424,10 +3429,12 @@ export declare enum SpotInstanceType {
|
|
|
3424
3429
|
*/
|
|
3425
3430
|
export interface LaunchTemplateSpotMarketOptionsRequest {
|
|
3426
3431
|
/**
|
|
3427
|
-
* <p>The maximum hourly price you're willing to pay for the Spot Instances. We do not
|
|
3428
|
-
* 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>
|
|
3429
3435
|
* <important>
|
|
3430
|
-
* <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>
|
|
3431
3438
|
* </important>
|
|
3432
3439
|
*/
|
|
3433
3440
|
MaxPrice?: string;
|
|
@@ -3445,12 +3452,13 @@ export interface LaunchTemplateSpotMarketOptionsRequest {
|
|
|
3445
3452
|
* persistent requests.</p>
|
|
3446
3453
|
* <ul>
|
|
3447
3454
|
* <li>
|
|
3448
|
-
* <p>For a persistent request, the request remains active until the
|
|
3449
|
-
*
|
|
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>
|
|
3450
3458
|
* </li>
|
|
3451
3459
|
* <li>
|
|
3452
|
-
* <p>For a one-time request, <code>ValidUntil</code> is not supported. The request
|
|
3453
|
-
* 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>
|
|
3454
3462
|
* </li>
|
|
3455
3463
|
* </ul>
|
|
3456
3464
|
* <p>Default: 7 days from the current date</p>
|
|
@@ -3761,6 +3769,11 @@ export interface LaunchTemplatePlacementRequest {
|
|
|
3761
3769
|
* group strategy is set to <code>partition</code>.</p>
|
|
3762
3770
|
*/
|
|
3763
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;
|
|
3764
3777
|
}
|
|
3765
3778
|
/**
|
|
3766
3779
|
* <p>Describes the options for instance hostnames.</p>
|
|
@@ -3785,13 +3798,15 @@ export interface LaunchTemplatePrivateDnsNameOptionsRequest {
|
|
|
3785
3798
|
EnableResourceNameDnsAAAARecord?: boolean;
|
|
3786
3799
|
}
|
|
3787
3800
|
/**
|
|
3788
|
-
* <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>
|
|
3789
3803
|
*/
|
|
3790
3804
|
export interface LaunchTemplateTagSpecificationRequest {
|
|
3791
3805
|
/**
|
|
3792
3806
|
* <p>The type of resource to tag.</p>
|
|
3793
|
-
* <p>The <code>Valid Values</code> are all the resource types that can be tagged. However,
|
|
3794
|
-
* 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> |
|
|
3795
3810
|
* <code>network-interface</code> | <code>spot-instances-request</code>
|
|
3796
3811
|
* </p>
|
|
3797
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>
|
|
@@ -3893,8 +3908,9 @@ export interface RequestLaunchTemplateData {
|
|
|
3893
3908
|
InstanceInitiatedShutdownBehavior?: ShutdownBehavior | string;
|
|
3894
3909
|
/**
|
|
3895
3910
|
* <p>The user data to make available to the instance. You must provide base64-encoded text.
|
|
3896
|
-
* 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
|
|
3897
|
-
*
|
|
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>
|
|
3898
3914
|
*
|
|
3899
3915
|
* <p>If you are creating the launch template for use with Batch, the user
|
|
3900
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>
|
|
@@ -3920,10 +3936,9 @@ export interface RequestLaunchTemplateData {
|
|
|
3920
3936
|
* <p>Network interfaces</p>
|
|
3921
3937
|
* </li>
|
|
3922
3938
|
* </ul>
|
|
3923
|
-
*
|
|
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>
|
|
3924
3940
|
* <note>
|
|
3925
|
-
* <p>To tag the launch template itself, you must use the
|
|
3926
|
-
* <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>
|
|
3927
3942
|
* </note>
|
|
3928
3943
|
*/
|
|
3929
3944
|
TagSpecifications?: LaunchTemplateTagSpecificationRequest[];
|
|
@@ -3941,9 +3956,9 @@ export interface RequestLaunchTemplateData {
|
|
|
3941
3956
|
*/
|
|
3942
3957
|
SecurityGroupIds?: string[];
|
|
3943
3958
|
/**
|
|
3944
|
-
* <p>One or more security group names. For a nondefault VPC, you
|
|
3945
|
-
*
|
|
3946
|
-
*
|
|
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>
|
|
3947
3962
|
*/
|
|
3948
3963
|
SecurityGroups?: string[];
|
|
3949
3964
|
/**
|
|
@@ -4040,10 +4055,12 @@ export interface CreateLaunchTemplateRequest {
|
|
|
4040
4055
|
*/
|
|
4041
4056
|
LaunchTemplateData: RequestLaunchTemplateData | undefined;
|
|
4042
4057
|
/**
|
|
4043
|
-
* <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>
|
|
4044
4060
|
* <note>
|
|
4045
|
-
* <p>To specify the tags for the resources that are created when an instance is
|
|
4046
|
-
* <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>
|
|
4047
4064
|
* </note>
|
|
4048
4065
|
*/
|
|
4049
4066
|
TagSpecifications?: TagSpecification[];
|
|
@@ -4089,14 +4106,12 @@ export interface LaunchTemplate {
|
|
|
4089
4106
|
export interface ValidationError {
|
|
4090
4107
|
/**
|
|
4091
4108
|
* <p>The error code that indicates why the parameter or parameter combination is not valid.
|
|
4092
|
-
* For more information about error codes, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html">Error
|
|
4093
|
-
* 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>
|
|
4094
4110
|
*/
|
|
4095
4111
|
Code?: string;
|
|
4096
4112
|
/**
|
|
4097
4113
|
* <p>The error message that describes why the parameter or parameter combination is not
|
|
4098
|
-
* valid. For more information about error messages, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html">Error
|
|
4099
|
-
* 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>
|
|
4100
4115
|
*/
|
|
4101
4116
|
Message?: string;
|
|
4102
4117
|
}
|
|
@@ -4140,12 +4155,14 @@ export interface CreateLaunchTemplateVersionRequest {
|
|
|
4140
4155
|
ClientToken?: string;
|
|
4141
4156
|
/**
|
|
4142
4157
|
* <p>The ID of the launch template.</p>
|
|
4143
|
-
* <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>
|
|
4144
4160
|
*/
|
|
4145
4161
|
LaunchTemplateId?: string;
|
|
4146
4162
|
/**
|
|
4147
4163
|
* <p>The name of the launch template.</p>
|
|
4148
|
-
* <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>
|
|
4149
4166
|
*/
|
|
4150
4167
|
LaunchTemplateName?: string;
|
|
4151
4168
|
/**
|
|
@@ -4350,10 +4367,12 @@ export interface LaunchTemplateIamInstanceProfileSpecification {
|
|
|
4350
4367
|
*/
|
|
4351
4368
|
export interface LaunchTemplateSpotMarketOptions {
|
|
4352
4369
|
/**
|
|
4353
|
-
* <p>The maximum hourly price you're willing to pay for the Spot Instances. We do not
|
|
4354
|
-
* 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>
|
|
4355
4373
|
* <important>
|
|
4356
|
-
* <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>
|
|
4357
4376
|
* </important>
|
|
4358
4377
|
*/
|
|
4359
4378
|
MaxPrice?: string;
|
|
@@ -4642,6 +4661,11 @@ export interface LaunchTemplatePlacement {
|
|
|
4642
4661
|
* group strategy is set to <code>partition</code>.</p>
|
|
4643
4662
|
*/
|
|
4644
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;
|
|
4645
4669
|
}
|
|
4646
4670
|
/**
|
|
4647
4671
|
* <p>Describes the options for instance hostnames.</p>
|
|
@@ -4738,7 +4762,8 @@ export interface ResponseLaunchTemplateData {
|
|
|
4738
4762
|
*/
|
|
4739
4763
|
UserData?: string;
|
|
4740
4764
|
/**
|
|
4741
|
-
* <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>
|
|
4742
4767
|
*/
|
|
4743
4768
|
TagSpecifications?: LaunchTemplateTagSpecification[];
|
|
4744
4769
|
/**
|
|
@@ -4809,8 +4834,9 @@ export interface ResponseLaunchTemplateData {
|
|
|
4809
4834
|
*/
|
|
4810
4835
|
MaintenanceOptions?: LaunchTemplateInstanceMaintenanceOptions;
|
|
4811
4836
|
/**
|
|
4812
|
-
* <p>Indicates whether the instance is enabled for stop protection.
|
|
4813
|
-
*
|
|
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>
|
|
4814
4840
|
*/
|
|
4815
4841
|
DisableApiStop?: boolean;
|
|
4816
4842
|
}
|
|
@@ -6399,10 +6425,11 @@ export interface CreatePlacementGroupRequest {
|
|
|
6399
6425
|
* <p>Determines how placement groups spread instances. </p>
|
|
6400
6426
|
* <ul>
|
|
6401
6427
|
* <li>
|
|
6402
|
-
*
|
|
6428
|
+
* <p>Host – You can use <code>host</code> only with Outpost placement
|
|
6429
|
+
* groups.</p>
|
|
6403
6430
|
* </li>
|
|
6404
6431
|
* <li>
|
|
6405
|
-
*
|
|
6432
|
+
* <p>Rack – No usage restrictions.</p>
|
|
6406
6433
|
* </li>
|
|
6407
6434
|
* </ul>
|
|
6408
6435
|
*/
|
|
@@ -3609,12 +3609,14 @@ export interface DeleteLaunchTemplateRequest {
|
|
|
3609
3609
|
DryRun?: boolean;
|
|
3610
3610
|
/**
|
|
3611
3611
|
* <p>The ID of the launch template.</p>
|
|
3612
|
-
* <p>You must specify either the <code>LaunchTemplateId</code> or the
|
|
3612
|
+
* <p>You must specify either the <code>LaunchTemplateId</code> or the
|
|
3613
|
+
* <code>LaunchTemplateName</code>, but not both.</p>
|
|
3613
3614
|
*/
|
|
3614
3615
|
LaunchTemplateId?: string;
|
|
3615
3616
|
/**
|
|
3616
3617
|
* <p>The name of the launch template.</p>
|
|
3617
|
-
* <p>You must specify either the <code>LaunchTemplateName</code> or the
|
|
3618
|
+
* <p>You must specify either the <code>LaunchTemplateName</code> or the
|
|
3619
|
+
* <code>LaunchTemplateId</code>, but not both.</p>
|
|
3618
3620
|
*/
|
|
3619
3621
|
LaunchTemplateName?: string;
|
|
3620
3622
|
}
|
|
@@ -3634,12 +3636,14 @@ export interface DeleteLaunchTemplateVersionsRequest {
|
|
|
3634
3636
|
DryRun?: boolean;
|
|
3635
3637
|
/**
|
|
3636
3638
|
* <p>The ID of the launch template.</p>
|
|
3637
|
-
* <p>You must specify either the <code>LaunchTemplateId</code> or the
|
|
3639
|
+
* <p>You must specify either the <code>LaunchTemplateId</code> or the
|
|
3640
|
+
* <code>LaunchTemplateName</code>, but not both.</p>
|
|
3638
3641
|
*/
|
|
3639
3642
|
LaunchTemplateId?: string;
|
|
3640
3643
|
/**
|
|
3641
3644
|
* <p>The name of the launch template.</p>
|
|
3642
|
-
* <p>You must specify either the <code>LaunchTemplateName</code> or the
|
|
3645
|
+
* <p>You must specify either the <code>LaunchTemplateName</code> or the
|
|
3646
|
+
* <code>LaunchTemplateId</code>, but not both.</p>
|
|
3643
3647
|
*/
|
|
3644
3648
|
LaunchTemplateName?: string;
|
|
3645
3649
|
/**
|
|
@@ -3842,8 +3842,8 @@ export interface DescribeHostReservationOfferingsRequest {
|
|
|
3842
3842
|
*/
|
|
3843
3843
|
MaxResults?: number;
|
|
3844
3844
|
/**
|
|
3845
|
-
* <p>This is the minimum duration of the reservation you'd like to purchase, specified
|
|
3846
|
-
*
|
|
3845
|
+
* <p>This is the minimum duration of the reservation you'd like to purchase, specified in
|
|
3846
|
+
* seconds. Reservations are available in one-year and three-year terms. The number of
|
|
3847
3847
|
* seconds specified must be the number of seconds in a year (365x24x60x60) times one of
|
|
3848
3848
|
* the supported durations (1 or 3). For example, specify 31536000 for one year.</p>
|
|
3849
3849
|
*/
|
|
@@ -3891,8 +3891,7 @@ export interface HostOffering {
|
|
|
3891
3891
|
*/
|
|
3892
3892
|
PaymentOption?: PaymentOption | string;
|
|
3893
3893
|
/**
|
|
3894
|
-
* <p>The upfront price of the offering. Does not apply to No Upfront
|
|
3895
|
-
* offerings.</p>
|
|
3894
|
+
* <p>The upfront price of the offering. Does not apply to No Upfront offerings.</p>
|
|
3896
3895
|
*/
|
|
3897
3896
|
UpfrontPrice?: string;
|
|
3898
3897
|
}
|
|
@@ -3927,14 +3926,14 @@ export interface DescribeHostReservationsRequest {
|
|
|
3927
3926
|
* <code>retired</code>).</p>
|
|
3928
3927
|
* </li>
|
|
3929
3928
|
* <li>
|
|
3930
|
-
*
|
|
3929
|
+
* <p>
|
|
3931
3930
|
* <code>tag:<key></code> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value.
|
|
3932
3931
|
* For example, to find all resources that have a tag with the key <code>Owner</code> and the value <code>TeamA</code>, specify <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the filter value.</p>
|
|
3933
|
-
*
|
|
3932
|
+
* </li>
|
|
3934
3933
|
* <li>
|
|
3935
|
-
*
|
|
3934
|
+
* <p>
|
|
3936
3935
|
* <code>tag-key</code> - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.</p>
|
|
3937
|
-
*
|
|
3936
|
+
* </li>
|
|
3938
3937
|
* </ul>
|
|
3939
3938
|
*/
|
|
3940
3939
|
Filter?: Filter[];
|
|
@@ -3958,8 +3957,7 @@ export declare enum ReservationState {
|
|
|
3958
3957
|
RETIRED = "retired"
|
|
3959
3958
|
}
|
|
3960
3959
|
/**
|
|
3961
|
-
* <p>Details about the Dedicated Host Reservation and associated Dedicated
|
|
3962
|
-
* Hosts.</p>
|
|
3960
|
+
* <p>Details about the Dedicated Host Reservation and associated Dedicated Hosts.</p>
|
|
3963
3961
|
*/
|
|
3964
3962
|
export interface HostReservation {
|
|
3965
3963
|
/**
|
|
@@ -3973,8 +3971,8 @@ export interface HostReservation {
|
|
|
3973
3971
|
*/
|
|
3974
3972
|
CurrencyCode?: CurrencyCodeValues | string;
|
|
3975
3973
|
/**
|
|
3976
|
-
* <p>The length of the reservation's term, specified in seconds. Can be <code>31536000
|
|
3977
|
-
*
|
|
3974
|
+
* <p>The length of the reservation's term, specified in seconds. Can be <code>31536000 (1
|
|
3975
|
+
* year)</code> | <code>94608000 (3 years)</code>.</p>
|
|
3978
3976
|
*/
|
|
3979
3977
|
Duration?: number;
|
|
3980
3978
|
/**
|
|
@@ -3995,13 +3993,12 @@ export interface HostReservation {
|
|
|
3995
3993
|
HourlyPrice?: string;
|
|
3996
3994
|
/**
|
|
3997
3995
|
* <p>The instance family of the Dedicated Host Reservation. The instance family on the
|
|
3998
|
-
* Dedicated Host must be the same in order for it to benefit from the
|
|
3999
|
-
* reservation.</p>
|
|
3996
|
+
* Dedicated Host must be the same in order for it to benefit from the reservation.</p>
|
|
4000
3997
|
*/
|
|
4001
3998
|
InstanceFamily?: string;
|
|
4002
3999
|
/**
|
|
4003
|
-
* <p>The ID of the reservation. This remains the same regardless of which Dedicated
|
|
4004
|
-
*
|
|
4000
|
+
* <p>The ID of the reservation. This remains the same regardless of which Dedicated Hosts
|
|
4001
|
+
* are associated with it.</p>
|
|
4005
4002
|
*/
|
|
4006
4003
|
OfferingId?: string;
|
|
4007
4004
|
/**
|
|
@@ -4046,8 +4043,7 @@ export interface DescribeHostsRequest {
|
|
|
4046
4043
|
* </li>
|
|
4047
4044
|
* <li>
|
|
4048
4045
|
* <p>
|
|
4049
|
-
* <code>availability-zone</code> - The Availability Zone of the
|
|
4050
|
-
* host.</p>
|
|
4046
|
+
* <code>availability-zone</code> - The Availability Zone of the host.</p>
|
|
4051
4047
|
* </li>
|
|
4052
4048
|
* <li>
|
|
4053
4049
|
* <p>
|
|
@@ -4056,13 +4052,13 @@ export interface DescribeHostsRequest {
|
|
|
4056
4052
|
* </li>
|
|
4057
4053
|
* <li>
|
|
4058
4054
|
* <p>
|
|
4059
|
-
* <code>host-reservation-id</code> - The ID of the reservation assigned to
|
|
4060
|
-
*
|
|
4055
|
+
* <code>host-reservation-id</code> - The ID of the reservation assigned to this
|
|
4056
|
+
* host.</p>
|
|
4061
4057
|
* </li>
|
|
4062
4058
|
* <li>
|
|
4063
4059
|
* <p>
|
|
4064
|
-
* <code>instance-type</code> - The instance type size that the Dedicated Host
|
|
4065
|
-
*
|
|
4060
|
+
* <code>instance-type</code> - The instance type size that the Dedicated Host is
|
|
4061
|
+
* configured to support.</p>
|
|
4066
4062
|
* </li>
|
|
4067
4063
|
* <li>
|
|
4068
4064
|
* <p>
|
|
@@ -4072,9 +4068,9 @@ export interface DescribeHostsRequest {
|
|
|
4072
4068
|
* <code>released-permanent-failure</code>).</p>
|
|
4073
4069
|
* </li>
|
|
4074
4070
|
* <li>
|
|
4075
|
-
*
|
|
4071
|
+
* <p>
|
|
4076
4072
|
* <code>tag-key</code> - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.</p>
|
|
4077
|
-
*
|
|
4073
|
+
* </li>
|
|
4078
4074
|
* </ul>
|
|
4079
4075
|
*/
|
|
4080
4076
|
Filter?: Filter[];
|
|
@@ -4085,7 +4081,8 @@ export interface DescribeHostsRequest {
|
|
|
4085
4081
|
HostIds?: string[];
|
|
4086
4082
|
/**
|
|
4087
4083
|
* <p>The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned <code>nextToken</code> value. This value can be between 5 and 500. If <code>maxResults</code> is given a larger value than 500, you receive an error.</p>
|
|
4088
|
-
*
|
|
4084
|
+
* <p>You cannot specify this parameter and the host IDs parameter in the same
|
|
4085
|
+
* request.</p>
|
|
4089
4086
|
*/
|
|
4090
4087
|
MaxResults?: number;
|
|
4091
4088
|
/**
|
|
@@ -4095,12 +4092,12 @@ export interface DescribeHostsRequest {
|
|
|
4095
4092
|
}
|
|
4096
4093
|
/**
|
|
4097
4094
|
* <p>Information about the number of instances that can be launched onto the Dedicated
|
|
4098
|
-
*
|
|
4095
|
+
* Host.</p>
|
|
4099
4096
|
*/
|
|
4100
4097
|
export interface InstanceCapacity {
|
|
4101
4098
|
/**
|
|
4102
4099
|
* <p>The number of instances that can be launched onto the Dedicated Host based on the
|
|
4103
|
-
*
|
|
4100
|
+
* host's available capacity.</p>
|
|
4104
4101
|
*/
|
|
4105
4102
|
AvailableCapacity?: number;
|
|
4106
4103
|
/**
|
|
@@ -4109,19 +4106,20 @@ export interface InstanceCapacity {
|
|
|
4109
4106
|
InstanceType?: string;
|
|
4110
4107
|
/**
|
|
4111
4108
|
* <p>The total number of instances that can be launched onto the Dedicated Host if there
|
|
4112
|
-
*
|
|
4109
|
+
* are no instances running on it.</p>
|
|
4113
4110
|
*/
|
|
4114
4111
|
TotalCapacity?: number;
|
|
4115
4112
|
}
|
|
4116
4113
|
/**
|
|
4117
|
-
* <p>The capacity information for instances that can be launched onto the Dedicated Host.
|
|
4114
|
+
* <p>The capacity information for instances that can be launched onto the Dedicated Host.
|
|
4115
|
+
* </p>
|
|
4118
4116
|
*/
|
|
4119
4117
|
export interface AvailableCapacity {
|
|
4120
4118
|
/**
|
|
4121
|
-
* <p>The number of instances that can be launched onto the Dedicated Host depending on
|
|
4122
|
-
*
|
|
4123
|
-
*
|
|
4124
|
-
*
|
|
4119
|
+
* <p>The number of instances that can be launched onto the Dedicated Host depending on the
|
|
4120
|
+
* host's available capacity. For Dedicated Hosts that support multiple instance types,
|
|
4121
|
+
* this parameter represents the number of instances for each instance size that is
|
|
4122
|
+
* supported on the host.</p>
|
|
4125
4123
|
*/
|
|
4126
4124
|
AvailableInstanceCapacity?: InstanceCapacity[];
|
|
4127
4125
|
/**
|
|
@@ -4139,12 +4137,12 @@ export interface HostProperties {
|
|
|
4139
4137
|
Cores?: number;
|
|
4140
4138
|
/**
|
|
4141
4139
|
* <p>The instance type supported by the Dedicated Host. For example, <code>m5.large</code>.
|
|
4142
|
-
*
|
|
4143
|
-
* is returned.</p>
|
|
4140
|
+
* If the host supports multiple instance types, no <b>instanceType</b> is returned.</p>
|
|
4144
4141
|
*/
|
|
4145
4142
|
InstanceType?: string;
|
|
4146
4143
|
/**
|
|
4147
|
-
* <p>The instance family supported by the Dedicated Host. For example,
|
|
4144
|
+
* <p>The instance family supported by the Dedicated Host. For example,
|
|
4145
|
+
* <code>m5</code>.</p>
|
|
4148
4146
|
*/
|
|
4149
4147
|
InstanceFamily?: string;
|
|
4150
4148
|
/**
|
|
@@ -4165,7 +4163,8 @@ export interface HostInstance {
|
|
|
4165
4163
|
*/
|
|
4166
4164
|
InstanceId?: string;
|
|
4167
4165
|
/**
|
|
4168
|
-
* <p>The instance type (for example, <code>m3.medium</code>) of the running
|
|
4166
|
+
* <p>The instance type (for example, <code>m3.medium</code>) of the running
|
|
4167
|
+
* instance.</p>
|
|
4169
4168
|
*/
|
|
4170
4169
|
InstanceType?: string;
|
|
4171
4170
|
/**
|
|
@@ -4202,13 +4201,12 @@ export interface Host {
|
|
|
4202
4201
|
*/
|
|
4203
4202
|
HostProperties?: HostProperties;
|
|
4204
4203
|
/**
|
|
4205
|
-
* <p>The reservation ID of the Dedicated Host. This returns a <code>null</code> response
|
|
4206
|
-
*
|
|
4204
|
+
* <p>The reservation ID of the Dedicated Host. This returns a <code>null</code> response if
|
|
4205
|
+
* the Dedicated Host doesn't have an associated reservation.</p>
|
|
4207
4206
|
*/
|
|
4208
4207
|
HostReservationId?: string;
|
|
4209
4208
|
/**
|
|
4210
|
-
* <p>The IDs and instance type that are currently running on the Dedicated
|
|
4211
|
-
* Host.</p>
|
|
4209
|
+
* <p>The IDs and instance type that are currently running on the Dedicated Host.</p>
|
|
4212
4210
|
*/
|
|
4213
4211
|
Instances?: HostInstance[];
|
|
4214
4212
|
/**
|
|
@@ -4232,9 +4230,10 @@ export interface Host {
|
|
|
4232
4230
|
*/
|
|
4233
4231
|
HostRecovery?: HostRecovery | string;
|
|
4234
4232
|
/**
|
|
4235
|
-
* <p>Indicates whether the Dedicated Host supports multiple instance types of the same
|
|
4236
|
-
*
|
|
4237
|
-
*
|
|
4233
|
+
* <p>Indicates whether the Dedicated Host supports multiple instance types of the same
|
|
4234
|
+
* instance family. If the value is <code>on</code>, the Dedicated Host supports multiple
|
|
4235
|
+
* instance types in the instance family. If the value is <code>off</code>, the Dedicated
|
|
4236
|
+
* Host supports a single instance type only.</p>
|
|
4238
4237
|
*/
|
|
4239
4238
|
AllowsMultipleInstanceTypes?: AllowsMultipleInstanceTypes | string;
|
|
4240
4239
|
/**
|
|
@@ -4246,13 +4245,13 @@ export interface Host {
|
|
|
4246
4245
|
*/
|
|
4247
4246
|
AvailabilityZoneId?: string;
|
|
4248
4247
|
/**
|
|
4249
|
-
* <p>Indicates whether the Dedicated Host is in a host resource group. If
|
|
4250
|
-
*
|
|
4251
|
-
* <code>true</code>, the host is in a host resource group; otherwise, it is not.</p>
|
|
4248
|
+
* <p>Indicates whether the Dedicated Host is in a host resource group. If <b>memberOfServiceLinkedResourceGroup</b> is <code>true</code>, the
|
|
4249
|
+
* host is in a host resource group; otherwise, it is not.</p>
|
|
4252
4250
|
*/
|
|
4253
4251
|
MemberOfServiceLinkedResourceGroup?: boolean;
|
|
4254
4252
|
/**
|
|
4255
|
-
* <p>The Amazon Resource Name (ARN) of the Amazon Web Services Outpost on which the
|
|
4253
|
+
* <p>The Amazon Resource Name (ARN) of the Amazon Web Services Outpost on which the
|
|
4254
|
+
* Dedicated Host is allocated.</p>
|
|
4256
4255
|
*/
|
|
4257
4256
|
OutpostArn?: string;
|
|
4258
4257
|
}
|
|
@@ -5352,7 +5351,7 @@ export interface InstanceAttribute {
|
|
|
5352
5351
|
UserData?: AttributeValue;
|
|
5353
5352
|
/**
|
|
5354
5353
|
* <p>To enable the instance for Amazon Web Services Stop Protection, set this parameter to
|
|
5355
|
-
*
|
|
5354
|
+
* <code>true</code>; otherwise, set it to <code>false</code>.</p>
|
|
5356
5355
|
*/
|
|
5357
5356
|
DisableApiStop?: AttributeBooleanValue;
|
|
5358
5357
|
}
|
|
@@ -73,18 +73,20 @@ export interface DescribeLaunchTemplateVersionsRequest {
|
|
|
73
73
|
DryRun?: boolean;
|
|
74
74
|
/**
|
|
75
75
|
* <p>The ID of the launch template.</p>
|
|
76
|
-
* <p>To describe one or more versions of a specified launch
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
*
|
|
76
|
+
* <p>To describe one or more versions of a specified launch template, you must specify
|
|
77
|
+
* either the <code>LaunchTemplateId</code> or the <code>LaunchTemplateName</code>, but not
|
|
78
|
+
* both.</p>
|
|
79
|
+
* <p>To describe all the latest or default launch template versions in your account, you
|
|
80
|
+
* must omit this parameter.</p>
|
|
80
81
|
*/
|
|
81
82
|
LaunchTemplateId?: string;
|
|
82
83
|
/**
|
|
83
84
|
* <p>The name of the launch template.</p>
|
|
84
|
-
* <p>To describe one or more versions of a specified
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
*
|
|
85
|
+
* <p>To describe one or more versions of a specified launch template, you must specify
|
|
86
|
+
* either the <code>LaunchTemplateName</code> or the <code>LaunchTemplateId</code>, but not
|
|
87
|
+
* both.</p>
|
|
88
|
+
* <p>To describe all the latest or default launch template versions in your account, you
|
|
89
|
+
* must omit this parameter.</p>
|
|
88
90
|
*/
|
|
89
91
|
LaunchTemplateName?: string;
|
|
90
92
|
/**
|
|
@@ -140,7 +142,7 @@ export interface DescribeLaunchTemplateVersionsRequest {
|
|
|
140
142
|
* <p>
|
|
141
143
|
* <code>http-protocol-ipv4</code> - Indicates whether the IPv4 endpoint for the
|
|
142
144
|
* instance metadata service is enabled (<code>enabled</code> |
|
|
143
|
-
*
|
|
145
|
+
* <code>disabled</code>).</p>
|
|
144
146
|
* </li>
|
|
145
147
|
* <li>
|
|
146
148
|
* <p>
|
|
@@ -1597,8 +1599,8 @@ export interface DescribePlacementGroupsRequest {
|
|
|
1597
1599
|
* </li>
|
|
1598
1600
|
* <li>
|
|
1599
1601
|
* <p>
|
|
1600
|
-
* <code>spread-level</code> - The spread level for the placement group
|
|
1601
|
-
*
|
|
1602
|
+
* <code>spread-level</code> - The spread level for the placement group
|
|
1603
|
+
* (<code>host</code> | <code>rack</code>). </p>
|
|
1602
1604
|
* </li>
|
|
1603
1605
|
* <li>
|
|
1604
1606
|
* <p>
|