@aws-sdk/client-ec2 3.205.0 → 3.207.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/models/models_0.js +4 -0
- package/dist-cjs/models/models_3.js +2 -0
- package/dist-cjs/protocols/Aws_ec2.js +17 -0
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/models/models_3.js +2 -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 +28 -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 +50 -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_0.d.ts +4 -0
- package/dist-types/ts3.4/models/models_1.d.ts +3 -0
- package/dist-types/ts3.4/models/models_3.d.ts +2 -0
- package/dist-types/ts3.4/models/models_5.d.ts +1 -0
- package/package.json +1 -1
- package/CHANGELOG.md +0 -3664
|
@@ -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
|
}
|
|
@@ -4701,6 +4700,7 @@ export interface DescribeImagesRequest {
|
|
|
4701
4700
|
}
|
|
4702
4701
|
export declare enum ArchitectureValues {
|
|
4703
4702
|
arm64 = "arm64",
|
|
4703
|
+
arm64_mac = "arm64_mac",
|
|
4704
4704
|
i386 = "i386",
|
|
4705
4705
|
x86_64 = "x86_64",
|
|
4706
4706
|
x86_64_mac = "x86_64_mac"
|
|
@@ -5352,7 +5352,7 @@ export interface InstanceAttribute {
|
|
|
5352
5352
|
UserData?: AttributeValue;
|
|
5353
5353
|
/**
|
|
5354
5354
|
* <p>To enable the instance for Amazon Web Services Stop Protection, set this parameter to
|
|
5355
|
-
*
|
|
5355
|
+
* <code>true</code>; otherwise, set it to <code>false</code>.</p>
|
|
5356
5356
|
*/
|
|
5357
5357
|
DisableApiStop?: AttributeBooleanValue;
|
|
5358
5358
|
}
|
|
@@ -7702,6 +7702,7 @@ export interface PlacementGroupInfo {
|
|
|
7702
7702
|
}
|
|
7703
7703
|
export declare enum ArchitectureType {
|
|
7704
7704
|
arm64 = "arm64",
|
|
7705
|
+
arm64_mac = "arm64_mac",
|
|
7705
7706
|
i386 = "i386",
|
|
7706
7707
|
x86_64 = "x86_64",
|
|
7707
7708
|
x86_64_mac = "x86_64_mac"
|
|
@@ -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>
|
|
@@ -3886,30 +3886,28 @@ export interface ModifyHostsRequest {
|
|
|
3886
3886
|
*/
|
|
3887
3887
|
HostIds: string[] | undefined;
|
|
3888
3888
|
/**
|
|
3889
|
-
* <p>Indicates whether to enable or disable host recovery for the Dedicated Host. For more
|
|
3890
|
-
*
|
|
3891
|
-
*
|
|
3889
|
+
* <p>Indicates whether to enable or disable host recovery for the Dedicated Host. For more
|
|
3890
|
+
* information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-recovery.html"> Host recovery</a>
|
|
3891
|
+
* in the <i>Amazon EC2 User Guide</i>.</p>
|
|
3892
3892
|
*/
|
|
3893
3893
|
HostRecovery?: HostRecovery | string;
|
|
3894
3894
|
/**
|
|
3895
|
-
* <p>Specifies the instance type to be supported by the Dedicated Host. Specify this
|
|
3896
|
-
*
|
|
3895
|
+
* <p>Specifies the instance type to be supported by the Dedicated Host. Specify this
|
|
3896
|
+
* parameter to modify a Dedicated Host to support only a specific instance type.</p>
|
|
3897
3897
|
*
|
|
3898
|
-
*
|
|
3899
|
-
*
|
|
3900
|
-
*
|
|
3901
|
-
* <b>InstanceFamily</b> in the same request.</p>
|
|
3898
|
+
* <p>If you want to modify a Dedicated Host to support multiple instance types in its
|
|
3899
|
+
* current instance family, omit this parameter and specify <b>InstanceFamily</b> instead. You cannot specify <b>InstanceType</b> and <b>InstanceFamily</b> in the
|
|
3900
|
+
* same request.</p>
|
|
3902
3901
|
*/
|
|
3903
3902
|
InstanceType?: string;
|
|
3904
3903
|
/**
|
|
3905
|
-
* <p>Specifies the instance family to be supported by the Dedicated Host. Specify this
|
|
3906
|
-
*
|
|
3907
|
-
*
|
|
3904
|
+
* <p>Specifies the instance family to be supported by the Dedicated Host. Specify this
|
|
3905
|
+
* parameter to modify a Dedicated Host to support multiple instance types within its
|
|
3906
|
+
* current instance family.</p>
|
|
3908
3907
|
*
|
|
3909
|
-
*
|
|
3910
|
-
*
|
|
3911
|
-
*
|
|
3912
|
-
* in the same request.</p>
|
|
3908
|
+
* <p>If you want to modify a Dedicated Host to support a specific instance type only, omit
|
|
3909
|
+
* this parameter and specify <b>InstanceType</b> instead. You
|
|
3910
|
+
* cannot specify <b>InstanceFamily</b> and <b>InstanceType</b> in the same request.</p>
|
|
3913
3911
|
*/
|
|
3914
3912
|
InstanceFamily?: string;
|
|
3915
3913
|
}
|
|
@@ -3919,8 +3917,8 @@ export interface ModifyHostsResult {
|
|
|
3919
3917
|
*/
|
|
3920
3918
|
Successful?: string[];
|
|
3921
3919
|
/**
|
|
3922
|
-
* <p>The IDs of the Dedicated Hosts that could not be modified. Check whether the
|
|
3923
|
-
*
|
|
3920
|
+
* <p>The IDs of the Dedicated Hosts that could not be modified. Check whether the setting
|
|
3921
|
+
* you requested can be used.</p>
|
|
3924
3922
|
*/
|
|
3925
3923
|
Unsuccessful?: UnsuccessfulItem[];
|
|
3926
3924
|
}
|
|
@@ -4098,10 +4096,13 @@ export interface ModifyInstanceAttributeRequest {
|
|
|
4098
4096
|
/**
|
|
4099
4097
|
* <p>The name of the attribute to modify.</p>
|
|
4100
4098
|
* <important>
|
|
4101
|
-
* <p>You can modify the following attributes only: <code>disableApiTermination</code> |
|
|
4102
|
-
*
|
|
4103
|
-
*
|
|
4104
|
-
* <code>
|
|
4099
|
+
* <p>You can modify the following attributes only: <code>disableApiTermination</code> |
|
|
4100
|
+
* <code>instanceType</code> | <code>kernel</code> | <code>ramdisk</code> |
|
|
4101
|
+
* <code>instanceInitiatedShutdownBehavior</code> | <code>blockDeviceMapping</code>
|
|
4102
|
+
* | <code>userData</code> | <code>sourceDestCheck</code> | <code>groupSet</code> |
|
|
4103
|
+
* <code>ebsOptimized</code> | <code>sriovNetSupport</code> |
|
|
4104
|
+
* <code>enaSupport</code> | <code>nvmeSupport</code> | <code>disableApiStop</code>
|
|
4105
|
+
* | <code>enclaveOptions</code>
|
|
4105
4106
|
* </p>
|
|
4106
4107
|
* </important>
|
|
4107
4108
|
*/
|
|
@@ -4195,8 +4196,9 @@ export interface ModifyInstanceAttributeRequest {
|
|
|
4195
4196
|
*/
|
|
4196
4197
|
Value?: string;
|
|
4197
4198
|
/**
|
|
4198
|
-
* <p>Indicates whether an instance is enabled for stop protection.
|
|
4199
|
-
*
|
|
4199
|
+
* <p>Indicates whether an instance is enabled for stop protection. For more information,
|
|
4200
|
+
* see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html#Using_StopProtection">Stop
|
|
4201
|
+
* Protection</a>.</p>
|
|
4200
4202
|
* <p></p>
|
|
4201
4203
|
*/
|
|
4202
4204
|
DisableApiStop?: AttributeBooleanValue;
|
|
@@ -4537,8 +4539,7 @@ export interface ModifyInstancePlacementRequest {
|
|
|
4537
4539
|
* groups, the instance must have a tenancy of <code>default</code>. For cluster and
|
|
4538
4540
|
* partition placement groups, the instance must have a tenancy of <code>default</code> or
|
|
4539
4541
|
* <code>dedicated</code>.</p>
|
|
4540
|
-
* <p>To remove an instance from a placement group, specify an empty string
|
|
4541
|
-
* ("").</p>
|
|
4542
|
+
* <p>To remove an instance from a placement group, specify an empty string ("").</p>
|
|
4542
4543
|
*/
|
|
4543
4544
|
GroupName?: string;
|
|
4544
4545
|
/**
|
|
@@ -4553,11 +4554,11 @@ export interface ModifyInstancePlacementRequest {
|
|
|
4553
4554
|
* <p>The tenancy for the instance.</p>
|
|
4554
4555
|
*
|
|
4555
4556
|
* <note>
|
|
4556
|
-
* <p>For T3 instances, you can't change the tenancy from <code>dedicated</code>
|
|
4557
|
-
*
|
|
4558
|
-
*
|
|
4559
|
-
*
|
|
4560
|
-
*
|
|
4557
|
+
* <p>For T3 instances, you can't change the tenancy from <code>dedicated</code> to
|
|
4558
|
+
* <code>host</code>, or from <code>host</code> to <code>dedicated</code>.
|
|
4559
|
+
* Attempting to make one of these unsupported tenancy changes results in the
|
|
4560
|
+
* <code>InvalidTenancy</code> error code.</p>
|
|
4561
|
+
* </note>
|
|
4561
4562
|
*/
|
|
4562
4563
|
Tenancy?: HostTenancy | string;
|
|
4563
4564
|
/**
|
|
@@ -4569,6 +4570,11 @@ export interface ModifyInstancePlacementRequest {
|
|
|
4569
4570
|
* <p>The ARN of the host resource group in which to place the instance.</p>
|
|
4570
4571
|
*/
|
|
4571
4572
|
HostResourceGroupArn?: string;
|
|
4573
|
+
/**
|
|
4574
|
+
* <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
|
|
4575
|
+
* group.</p>
|
|
4576
|
+
*/
|
|
4577
|
+
GroupId?: string;
|
|
4572
4578
|
}
|
|
4573
4579
|
export interface ModifyInstancePlacementResult {
|
|
4574
4580
|
/**
|
|
@@ -4758,12 +4764,14 @@ export interface ModifyLaunchTemplateRequest {
|
|
|
4758
4764
|
ClientToken?: string;
|
|
4759
4765
|
/**
|
|
4760
4766
|
* <p>The ID of the launch template.</p>
|
|
4761
|
-
* <p>You must specify either the <code>LaunchTemplateId</code> or the
|
|
4767
|
+
* <p>You must specify either the <code>LaunchTemplateId</code> or the
|
|
4768
|
+
* <code>LaunchTemplateName</code>, but not both.</p>
|
|
4762
4769
|
*/
|
|
4763
4770
|
LaunchTemplateId?: string;
|
|
4764
4771
|
/**
|
|
4765
4772
|
* <p>The name of the launch template.</p>
|
|
4766
|
-
* <p>You must specify either the <code>LaunchTemplateName</code> or the
|
|
4773
|
+
* <p>You must specify either the <code>LaunchTemplateName</code> or the
|
|
4774
|
+
* <code>LaunchTemplateId</code>, but not both.</p>
|
|
4767
4775
|
*/
|
|
4768
4776
|
LaunchTemplateName?: string;
|
|
4769
4777
|
/**
|
|
@@ -612,8 +612,8 @@ export interface PurchaseHostReservationRequest {
|
|
|
612
612
|
*/
|
|
613
613
|
ClientToken?: string;
|
|
614
614
|
/**
|
|
615
|
-
* <p>The currency in which the <code>totalUpfrontPrice</code>, <code>LimitPrice</code>,
|
|
616
|
-
*
|
|
615
|
+
* <p>The currency in which the <code>totalUpfrontPrice</code>, <code>LimitPrice</code>, and
|
|
616
|
+
* <code>totalHourlyPrice</code> amounts are specified. At this time, the only
|
|
617
617
|
* supported currency is <code>USD</code>.</p>
|
|
618
618
|
*/
|
|
619
619
|
CurrencyCode?: CurrencyCodeValues | string;
|
|
@@ -2233,10 +2233,12 @@ export interface HibernationOptionsRequest {
|
|
|
2233
2233
|
*/
|
|
2234
2234
|
export interface SpotMarketOptions {
|
|
2235
2235
|
/**
|
|
2236
|
-
* <p>The maximum hourly price that you're willing to pay for a Spot Instance. We do not
|
|
2237
|
-
* using this parameter because it can lead to increased interruptions. If you do
|
|
2236
|
+
* <p>The maximum hourly price that you're willing to pay for a Spot Instance. We do not
|
|
2237
|
+
* recommend using this parameter because it can lead to increased interruptions. If you do
|
|
2238
|
+
* not specify this parameter, you will pay the current Spot price.</p>
|
|
2238
2239
|
* <important>
|
|
2239
|
-
* <p>If you specify a maximum price, your Spot Instances will be interrupted more
|
|
2240
|
+
* <p>If you specify a maximum price, your Spot Instances will be interrupted more
|
|
2241
|
+
* frequently than if you do not specify this parameter.</p>
|
|
2240
2242
|
* </important>
|
|
2241
2243
|
*/
|
|
2242
2244
|
MaxPrice?: string;
|
|
@@ -2293,20 +2295,23 @@ export interface InstanceMarketOptionsRequest {
|
|
|
2293
2295
|
export interface LaunchTemplateSpecification {
|
|
2294
2296
|
/**
|
|
2295
2297
|
* <p>The ID of the launch template.</p>
|
|
2296
|
-
* <p>You must specify the <code>LaunchTemplateId</code> or the
|
|
2298
|
+
* <p>You must specify the <code>LaunchTemplateId</code> or the
|
|
2299
|
+
* <code>LaunchTemplateName</code>, but not both.</p>
|
|
2297
2300
|
*/
|
|
2298
2301
|
LaunchTemplateId?: string;
|
|
2299
2302
|
/**
|
|
2300
2303
|
* <p>The name of the launch template.</p>
|
|
2301
|
-
* <p>You must specify the <code>LaunchTemplateName</code> or the
|
|
2304
|
+
* <p>You must specify the <code>LaunchTemplateName</code> or the
|
|
2305
|
+
* <code>LaunchTemplateId</code>, but not both.</p>
|
|
2302
2306
|
*/
|
|
2303
2307
|
LaunchTemplateName?: string;
|
|
2304
2308
|
/**
|
|
2305
|
-
* <p>The launch template version number, <code>$Latest</code>, or
|
|
2309
|
+
* <p>The launch template version number, <code>$Latest</code>, or
|
|
2310
|
+
* <code>$Default</code>.</p>
|
|
2306
2311
|
* <p>If the value is <code>$Latest</code>, Amazon EC2 uses the latest version of the launch
|
|
2307
2312
|
* template.</p>
|
|
2308
|
-
* <p>If the value is <code>$Default</code>, Amazon EC2 uses the default version of the
|
|
2309
|
-
* template.</p>
|
|
2313
|
+
* <p>If the value is <code>$Default</code>, Amazon EC2 uses the default version of the
|
|
2314
|
+
* launch template.</p>
|
|
2310
2315
|
* <p>Default: The default version of the launch template.</p>
|
|
2311
2316
|
*/
|
|
2312
2317
|
Version?: string;
|
|
@@ -2517,8 +2522,10 @@ export interface RunInstancesRequest {
|
|
|
2517
2522
|
*/
|
|
2518
2523
|
SubnetId?: string;
|
|
2519
2524
|
/**
|
|
2520
|
-
* <p>The user data script to make available to the instance. For more information, see
|
|
2521
|
-
*
|
|
2525
|
+
* <p>The user data script to make available to the instance. For more information, see
|
|
2526
|
+
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html">Run
|
|
2527
|
+
* commands on your Linux instance at launch</a> and <a href="https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-windows-user-data.html">Run commands on your
|
|
2528
|
+
* Windows instance at launch</a>. If you are using a command line tool,
|
|
2522
2529
|
* base64-encoding is performed for you, and you can load the text from a file. Otherwise,
|
|
2523
2530
|
* you must provide base64-encoded text. User data is limited to 16 KB.</p>
|
|
2524
2531
|
*/
|
|
@@ -2631,7 +2638,7 @@ export interface RunInstancesRequest {
|
|
|
2631
2638
|
TagSpecifications?: TagSpecification[];
|
|
2632
2639
|
/**
|
|
2633
2640
|
* <p>The launch template to use to launch the instances. Any parameters that you specify in
|
|
2634
|
-
*
|
|
2641
|
+
* <a>RunInstances</a> override the same parameters in the launch template.
|
|
2635
2642
|
* You can specify either the name or ID of a launch template, but not both.</p>
|
|
2636
2643
|
*/
|
|
2637
2644
|
LaunchTemplate?: LaunchTemplateSpecification;
|
|
@@ -2647,7 +2654,7 @@ export interface RunInstancesRequest {
|
|
|
2647
2654
|
* are <code>standard</code> and <code>unlimited</code>. To change this attribute after
|
|
2648
2655
|
* launch, use <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyInstanceCreditSpecification.html">
|
|
2649
2656
|
* ModifyInstanceCreditSpecification</a>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html">Burstable
|
|
2650
|
-
*
|
|
2657
|
+
* performance instances</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
2651
2658
|
* <p>Default: <code>standard</code> (T2 instances) or <code>unlimited</code> (T3/T3a/T4g
|
|
2652
2659
|
* instances)</p>
|
|
2653
2660
|
* <p>For T3 instances with <code>host</code> tenancy, only <code>standard</code> is
|
|
@@ -2667,7 +2674,7 @@ export interface RunInstancesRequest {
|
|
|
2667
2674
|
CapacityReservationSpecification?: CapacityReservationSpecification;
|
|
2668
2675
|
/**
|
|
2669
2676
|
* <p>Indicates whether an instance is enabled for hibernation. For more information, see
|
|
2670
|
-
*
|
|
2677
|
+
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html">Hibernate
|
|
2671
2678
|
* your instance</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
2672
2679
|
* <p>You can't enable hibernation and Amazon Web Services Nitro Enclaves on the same
|
|
2673
2680
|
* instance.</p>
|
|
@@ -2685,7 +2692,7 @@ export interface RunInstancesRequest {
|
|
|
2685
2692
|
* <p>Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves. For
|
|
2686
2693
|
* more information, see <a href="https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html"> What is Amazon Web Services Nitro
|
|
2687
2694
|
* Enclaves?</a> in the <i>Amazon Web Services Nitro Enclaves User
|
|
2688
|
-
*
|
|
2695
|
+
* Guide</i>.</p>
|
|
2689
2696
|
* <p>You can't enable Amazon Web Services Nitro Enclaves and hibernation on the same
|
|
2690
2697
|
* instance.</p>
|
|
2691
2698
|
*/
|
|
@@ -2702,8 +2709,7 @@ export interface RunInstancesRequest {
|
|
|
2702
2709
|
/**
|
|
2703
2710
|
* <p>Indicates whether an instance is enabled for stop protection. For more information,
|
|
2704
2711
|
* see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html#Using_StopProtection">Stop
|
|
2705
|
-
* protection</a>.
|
|
2706
|
-
* </p>
|
|
2712
|
+
* protection</a>. </p>
|
|
2707
2713
|
*/
|
|
2708
2714
|
DisableApiStop?: boolean;
|
|
2709
2715
|
}
|
|
@@ -2117,9 +2117,13 @@ export declare enum _InstanceType {
|
|
|
2117
2117
|
t4g_nano = "t4g.nano",
|
|
2118
2118
|
t4g_small = "t4g.small",
|
|
2119
2119
|
t4g_xlarge = "t4g.xlarge",
|
|
2120
|
+
trn1_2xlarge = "trn1.2xlarge",
|
|
2121
|
+
trn1_32xlarge = "trn1.32xlarge",
|
|
2120
2122
|
u_12tb1_112xlarge = "u-12tb1.112xlarge",
|
|
2121
2123
|
u_12tb1_metal = "u-12tb1.metal",
|
|
2124
|
+
u_18tb1_112xlarge = "u-18tb1.112xlarge",
|
|
2122
2125
|
u_18tb1_metal = "u-18tb1.metal",
|
|
2126
|
+
u_24tb1_112xlarge = "u-24tb1.112xlarge",
|
|
2123
2127
|
u_24tb1_metal = "u-24tb1.metal",
|
|
2124
2128
|
u_3tb1_56xlarge = "u-3tb1.56xlarge",
|
|
2125
2129
|
u_6tb1_112xlarge = "u-6tb1.112xlarge",
|
|
@@ -228,6 +228,7 @@ export interface Placement {
|
|
|
228
228
|
Tenancy?: Tenancy | string;
|
|
229
229
|
SpreadDomain?: string;
|
|
230
230
|
HostResourceGroupArn?: string;
|
|
231
|
+
GroupId?: string;
|
|
231
232
|
}
|
|
232
233
|
export interface FleetLaunchTemplateOverridesRequest {
|
|
233
234
|
InstanceType?: _InstanceType | string;
|
|
@@ -949,6 +950,7 @@ export interface LaunchTemplatePlacementRequest {
|
|
|
949
950
|
SpreadDomain?: string;
|
|
950
951
|
HostResourceGroupArn?: string;
|
|
951
952
|
PartitionNumber?: number;
|
|
953
|
+
GroupId?: string;
|
|
952
954
|
}
|
|
953
955
|
export interface LaunchTemplatePrivateDnsNameOptionsRequest {
|
|
954
956
|
HostnameType?: HostnameType | string;
|
|
@@ -1148,6 +1150,7 @@ export interface LaunchTemplatePlacement {
|
|
|
1148
1150
|
SpreadDomain?: string;
|
|
1149
1151
|
HostResourceGroupArn?: string;
|
|
1150
1152
|
PartitionNumber?: number;
|
|
1153
|
+
GroupId?: string;
|
|
1151
1154
|
}
|
|
1152
1155
|
export interface LaunchTemplatePrivateDnsNameOptions {
|
|
1153
1156
|
HostnameType?: HostnameType | string;
|
|
@@ -1114,6 +1114,7 @@ export interface DescribeImagesRequest {
|
|
|
1114
1114
|
}
|
|
1115
1115
|
export declare enum ArchitectureValues {
|
|
1116
1116
|
arm64 = "arm64",
|
|
1117
|
+
arm64_mac = "arm64_mac",
|
|
1117
1118
|
i386 = "i386",
|
|
1118
1119
|
x86_64 = "x86_64",
|
|
1119
1120
|
x86_64_mac = "x86_64_mac",
|
|
@@ -1791,6 +1792,7 @@ export interface PlacementGroupInfo {
|
|
|
1791
1792
|
}
|
|
1792
1793
|
export declare enum ArchitectureType {
|
|
1793
1794
|
arm64 = "arm64",
|
|
1795
|
+
arm64_mac = "arm64_mac",
|
|
1794
1796
|
i386 = "i386",
|
|
1795
1797
|
x86_64 = "x86_64",
|
|
1796
1798
|
x86_64_mac = "x86_64_mac",
|
|
@@ -1387,6 +1387,7 @@ export interface ModifyInstancePlacementRequest {
|
|
|
1387
1387
|
Tenancy?: HostTenancy | string;
|
|
1388
1388
|
PartitionNumber?: number;
|
|
1389
1389
|
HostResourceGroupArn?: string;
|
|
1390
|
+
GroupId?: string;
|
|
1390
1391
|
}
|
|
1391
1392
|
export interface ModifyInstancePlacementResult {
|
|
1392
1393
|
Return?: boolean;
|