@aws-sdk/client-ec2 3.830.0 → 3.836.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/index.js +25 -9
- package/dist-es/models/models_1.js +4 -0
- package/dist-es/models/models_2.js +0 -4
- package/dist-es/protocols/Aws_ec2.js +20 -4
- package/dist-types/commands/CancelCapacityReservationCommand.d.ts +12 -9
- package/dist-types/commands/CreateCapacityReservationCommand.d.ts +18 -15
- package/dist-types/commands/CreateImageCommand.d.ts +15 -0
- package/dist-types/commands/CreateInstanceConnectEndpointCommand.d.ts +2 -2
- package/dist-types/commands/DescribeCapacityBlockExtensionOfferingsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeCapacityBlockOfferingsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeImageAttributeCommand.d.ts +2 -0
- package/dist-types/commands/DescribeImagesCommand.d.ts +2 -0
- package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +2 -0
- package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +2 -0
- package/dist-types/commands/ModifyCapacityReservationCommand.d.ts +19 -15
- package/dist-types/commands/ModifyInstanceCapacityReservationAttributesCommand.d.ts +1 -1
- package/dist-types/commands/ModifyInstanceNetworkPerformanceOptionsCommand.d.ts +1 -1
- package/dist-types/commands/RegisterImageCommand.d.ts +2 -0
- package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -0
- package/dist-types/commands/RequestSpotInstancesCommand.d.ts +4 -0
- package/dist-types/commands/RunInstancesCommand.d.ts +2 -0
- package/dist-types/commands/StartDeclarativePoliciesReportCommand.d.ts +1 -1
- package/dist-types/commands/StopInstancesCommand.d.ts +4 -5
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_1.d.ts +91 -59
- package/dist-types/models/models_2.d.ts +25 -14
- package/dist-types/models/models_3.d.ts +17 -23
- package/dist-types/models/models_4.d.ts +7 -6
- package/dist-types/models/models_7.d.ts +21 -17
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +4 -1
- package/dist-types/ts3.4/models/models_1.d.ts +9 -4
- package/dist-types/ts3.4/models/models_2.d.ts +6 -7
- package/package.json +12 -12
package/dist-cjs/index.js
CHANGED
|
@@ -19822,6 +19822,9 @@ var se_CreateImageRequest = /* @__PURE__ */ __name((input, context) => {
|
|
|
19822
19822
|
entries[loc] = value;
|
|
19823
19823
|
});
|
|
19824
19824
|
}
|
|
19825
|
+
if (input[_SL] != null) {
|
|
19826
|
+
entries[_SL] = input[_SL];
|
|
19827
|
+
}
|
|
19825
19828
|
if (input[_DRr] != null) {
|
|
19826
19829
|
entries[_DRr] = input[_DRr];
|
|
19827
19830
|
}
|
|
@@ -20772,8 +20775,8 @@ var se_CreatePlacementGroupRequest = /* @__PURE__ */ __name((input, context) =>
|
|
|
20772
20775
|
entries[loc] = value;
|
|
20773
20776
|
});
|
|
20774
20777
|
}
|
|
20775
|
-
if (input[
|
|
20776
|
-
entries[
|
|
20778
|
+
if (input[_SLp] != null) {
|
|
20779
|
+
entries[_SLp] = input[_SLp];
|
|
20777
20780
|
}
|
|
20778
20781
|
if (input[_DRr] != null) {
|
|
20779
20782
|
entries[_DRr] = input[_DRr];
|
|
@@ -28573,12 +28576,18 @@ var se_EbsBlockDevice = /* @__PURE__ */ __name((input, context) => {
|
|
|
28573
28576
|
if (input[_OA] != null) {
|
|
28574
28577
|
entries[_OA] = input[_OA];
|
|
28575
28578
|
}
|
|
28579
|
+
if (input[_AZ] != null) {
|
|
28580
|
+
entries[_AZ] = input[_AZ];
|
|
28581
|
+
}
|
|
28576
28582
|
if (input[_Enc] != null) {
|
|
28577
28583
|
entries[_Enc] = input[_Enc];
|
|
28578
28584
|
}
|
|
28579
28585
|
if (input[_VIR] != null) {
|
|
28580
28586
|
entries[_VIR] = input[_VIR];
|
|
28581
28587
|
}
|
|
28588
|
+
if (input[_AZI] != null) {
|
|
28589
|
+
entries[_AZI] = input[_AZI];
|
|
28590
|
+
}
|
|
28582
28591
|
return entries;
|
|
28583
28592
|
}, "se_EbsBlockDevice");
|
|
28584
28593
|
var se_EbsInstanceBlockDeviceSpecification = /* @__PURE__ */ __name((input, context) => {
|
|
@@ -47471,12 +47480,18 @@ var de_EbsBlockDevice = /* @__PURE__ */ __name((output, context) => {
|
|
|
47471
47480
|
if (output[_oA] != null) {
|
|
47472
47481
|
contents[_OA] = (0, import_smithy_client.expectString)(output[_oA]);
|
|
47473
47482
|
}
|
|
47483
|
+
if (output[_aZ] != null) {
|
|
47484
|
+
contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]);
|
|
47485
|
+
}
|
|
47474
47486
|
if (output[_enc] != null) {
|
|
47475
47487
|
contents[_Enc] = (0, import_smithy_client.parseBoolean)(output[_enc]);
|
|
47476
47488
|
}
|
|
47477
47489
|
if (output[_VIR] != null) {
|
|
47478
47490
|
contents[_VIR] = (0, import_smithy_client.strictParseInt32)(output[_VIR]);
|
|
47479
47491
|
}
|
|
47492
|
+
if (output[_AZI] != null) {
|
|
47493
|
+
contents[_AZI] = (0, import_smithy_client.expectString)(output[_AZI]);
|
|
47494
|
+
}
|
|
47480
47495
|
return contents;
|
|
47481
47496
|
}, "de_EbsBlockDevice");
|
|
47482
47497
|
var de_EbsBlockDeviceResponse = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -56059,7 +56074,7 @@ var de_PlacementGroup = /* @__PURE__ */ __name((output, context) => {
|
|
|
56059
56074
|
contents[_GA] = (0, import_smithy_client.expectString)(output[_gA]);
|
|
56060
56075
|
}
|
|
56061
56076
|
if (output[_sLp] != null) {
|
|
56062
|
-
contents[
|
|
56077
|
+
contents[_SLp] = (0, import_smithy_client.expectString)(output[_sLp]);
|
|
56063
56078
|
}
|
|
56064
56079
|
return contents;
|
|
56065
56080
|
}, "de_PlacementGroup");
|
|
@@ -65359,13 +65374,14 @@ var _SIub = "SubnetId";
|
|
|
65359
65374
|
var _SIubs = "SubsystemId";
|
|
65360
65375
|
var _SK = "S3Key";
|
|
65361
65376
|
var _SKo = "S3objectKey";
|
|
65362
|
-
var _SL = "
|
|
65377
|
+
var _SL = "SnapshotLocation";
|
|
65363
65378
|
var _SLGR = "SearchLocalGatewayRoutes";
|
|
65364
65379
|
var _SLVI = "ServiceLinkVirtualInterfaces";
|
|
65365
65380
|
var _SLVIA = "ServiceLinkVirtualInterfaceArn";
|
|
65366
65381
|
var _SLVII = "ServiceLinkVirtualInterfaceIds";
|
|
65367
65382
|
var _SLVIIe = "ServiceLinkVirtualInterfaceId";
|
|
65368
65383
|
var _SLo = "S3Location";
|
|
65384
|
+
var _SLp = "SpreadLevel";
|
|
65369
65385
|
var _SM = "ServiceManaged";
|
|
65370
65386
|
var _SMPPOLP = "SpotMaxPricePercentageOverLowestPrice";
|
|
65371
65387
|
var _SMS = "SpotMaintenanceStrategies";
|
|
@@ -70286,6 +70302,10 @@ var TrafficType = {
|
|
|
70286
70302
|
ALL: "ALL",
|
|
70287
70303
|
REJECT: "REJECT"
|
|
70288
70304
|
};
|
|
70305
|
+
var SnapshotLocationEnum = {
|
|
70306
|
+
LOCAL: "local",
|
|
70307
|
+
REGIONAL: "regional"
|
|
70308
|
+
};
|
|
70289
70309
|
var Ec2InstanceConnectEndpointState = {
|
|
70290
70310
|
create_complete: "create-complete",
|
|
70291
70311
|
create_failed: "create-failed",
|
|
@@ -71131,10 +71151,6 @@ var RouteState = {
|
|
|
71131
71151
|
active: "active",
|
|
71132
71152
|
blackhole: "blackhole"
|
|
71133
71153
|
};
|
|
71134
|
-
var SnapshotLocationEnum = {
|
|
71135
|
-
LOCAL: "local",
|
|
71136
|
-
REGIONAL: "regional"
|
|
71137
|
-
};
|
|
71138
71154
|
var SSEType = {
|
|
71139
71155
|
none: "none",
|
|
71140
71156
|
sse_ebs: "sse-ebs",
|
|
@@ -85800,6 +85816,7 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
|
|
|
85800
85816
|
LogDestinationType,
|
|
85801
85817
|
FlowLogsResourceType,
|
|
85802
85818
|
TrafficType,
|
|
85819
|
+
SnapshotLocationEnum,
|
|
85803
85820
|
Ec2InstanceConnectEndpointState,
|
|
85804
85821
|
ContainerFormat,
|
|
85805
85822
|
DiskImageFormat,
|
|
@@ -85866,7 +85883,6 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
|
|
|
85866
85883
|
RouteServerPeerState,
|
|
85867
85884
|
RouteOrigin,
|
|
85868
85885
|
RouteState,
|
|
85869
|
-
SnapshotLocationEnum,
|
|
85870
85886
|
SSEType,
|
|
85871
85887
|
SnapshotState,
|
|
85872
85888
|
StorageTier,
|
|
@@ -1207,6 +1207,10 @@ export const TrafficType = {
|
|
|
1207
1207
|
ALL: "ALL",
|
|
1208
1208
|
REJECT: "REJECT",
|
|
1209
1209
|
};
|
|
1210
|
+
export const SnapshotLocationEnum = {
|
|
1211
|
+
LOCAL: "local",
|
|
1212
|
+
REGIONAL: "regional",
|
|
1213
|
+
};
|
|
1210
1214
|
export const Ec2InstanceConnectEndpointState = {
|
|
1211
1215
|
create_complete: "create-complete",
|
|
1212
1216
|
create_failed: "create-failed",
|
|
@@ -181,10 +181,6 @@ export const RouteState = {
|
|
|
181
181
|
active: "active",
|
|
182
182
|
blackhole: "blackhole",
|
|
183
183
|
};
|
|
184
|
-
export const SnapshotLocationEnum = {
|
|
185
|
-
LOCAL: "local",
|
|
186
|
-
REGIONAL: "regional",
|
|
187
|
-
};
|
|
188
184
|
export const SSEType = {
|
|
189
185
|
none: "none",
|
|
190
186
|
sse_ebs: "sse-ebs",
|
|
@@ -18240,6 +18240,9 @@ const se_CreateImageRequest = (input, context) => {
|
|
|
18240
18240
|
entries[loc] = value;
|
|
18241
18241
|
});
|
|
18242
18242
|
}
|
|
18243
|
+
if (input[_SL] != null) {
|
|
18244
|
+
entries[_SL] = input[_SL];
|
|
18245
|
+
}
|
|
18243
18246
|
if (input[_DRr] != null) {
|
|
18244
18247
|
entries[_DRr] = input[_DRr];
|
|
18245
18248
|
}
|
|
@@ -19190,8 +19193,8 @@ const se_CreatePlacementGroupRequest = (input, context) => {
|
|
|
19190
19193
|
entries[loc] = value;
|
|
19191
19194
|
});
|
|
19192
19195
|
}
|
|
19193
|
-
if (input[
|
|
19194
|
-
entries[
|
|
19196
|
+
if (input[_SLp] != null) {
|
|
19197
|
+
entries[_SLp] = input[_SLp];
|
|
19195
19198
|
}
|
|
19196
19199
|
if (input[_DRr] != null) {
|
|
19197
19200
|
entries[_DRr] = input[_DRr];
|
|
@@ -26991,12 +26994,18 @@ const se_EbsBlockDevice = (input, context) => {
|
|
|
26991
26994
|
if (input[_OA] != null) {
|
|
26992
26995
|
entries[_OA] = input[_OA];
|
|
26993
26996
|
}
|
|
26997
|
+
if (input[_AZ] != null) {
|
|
26998
|
+
entries[_AZ] = input[_AZ];
|
|
26999
|
+
}
|
|
26994
27000
|
if (input[_Enc] != null) {
|
|
26995
27001
|
entries[_Enc] = input[_Enc];
|
|
26996
27002
|
}
|
|
26997
27003
|
if (input[_VIR] != null) {
|
|
26998
27004
|
entries[_VIR] = input[_VIR];
|
|
26999
27005
|
}
|
|
27006
|
+
if (input[_AZI] != null) {
|
|
27007
|
+
entries[_AZI] = input[_AZI];
|
|
27008
|
+
}
|
|
27000
27009
|
return entries;
|
|
27001
27010
|
};
|
|
27002
27011
|
const se_EbsInstanceBlockDeviceSpecification = (input, context) => {
|
|
@@ -46291,12 +46300,18 @@ const de_EbsBlockDevice = (output, context) => {
|
|
|
46291
46300
|
if (output[_oA] != null) {
|
|
46292
46301
|
contents[_OA] = __expectString(output[_oA]);
|
|
46293
46302
|
}
|
|
46303
|
+
if (output[_aZ] != null) {
|
|
46304
|
+
contents[_AZ] = __expectString(output[_aZ]);
|
|
46305
|
+
}
|
|
46294
46306
|
if (output[_enc] != null) {
|
|
46295
46307
|
contents[_Enc] = __parseBoolean(output[_enc]);
|
|
46296
46308
|
}
|
|
46297
46309
|
if (output[_VIR] != null) {
|
|
46298
46310
|
contents[_VIR] = __strictParseInt32(output[_VIR]);
|
|
46299
46311
|
}
|
|
46312
|
+
if (output[_AZI] != null) {
|
|
46313
|
+
contents[_AZI] = __expectString(output[_AZI]);
|
|
46314
|
+
}
|
|
46300
46315
|
return contents;
|
|
46301
46316
|
};
|
|
46302
46317
|
const de_EbsBlockDeviceResponse = (output, context) => {
|
|
@@ -55458,7 +55473,7 @@ const de_PlacementGroup = (output, context) => {
|
|
|
55458
55473
|
contents[_GA] = __expectString(output[_gA]);
|
|
55459
55474
|
}
|
|
55460
55475
|
if (output[_sLp] != null) {
|
|
55461
|
-
contents[
|
|
55476
|
+
contents[_SLp] = __expectString(output[_sLp]);
|
|
55462
55477
|
}
|
|
55463
55478
|
return contents;
|
|
55464
55479
|
};
|
|
@@ -65288,13 +65303,14 @@ const _SIub = "SubnetId";
|
|
|
65288
65303
|
const _SIubs = "SubsystemId";
|
|
65289
65304
|
const _SK = "S3Key";
|
|
65290
65305
|
const _SKo = "S3objectKey";
|
|
65291
|
-
const _SL = "
|
|
65306
|
+
const _SL = "SnapshotLocation";
|
|
65292
65307
|
const _SLGR = "SearchLocalGatewayRoutes";
|
|
65293
65308
|
const _SLVI = "ServiceLinkVirtualInterfaces";
|
|
65294
65309
|
const _SLVIA = "ServiceLinkVirtualInterfaceArn";
|
|
65295
65310
|
const _SLVII = "ServiceLinkVirtualInterfaceIds";
|
|
65296
65311
|
const _SLVIIe = "ServiceLinkVirtualInterfaceId";
|
|
65297
65312
|
const _SLo = "S3Location";
|
|
65313
|
+
const _SLp = "SpreadLevel";
|
|
65298
65314
|
const _SM = "ServiceManaged";
|
|
65299
65315
|
const _SMPPOLP = "SpotMaxPricePercentageOverLowestPrice";
|
|
65300
65316
|
const _SMS = "SpotMaintenanceStrategies";
|
|
@@ -27,8 +27,8 @@ declare const CancelCapacityReservationCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Cancels the specified Capacity Reservation, releases the reserved capacity, and
|
|
31
|
-
* the Capacity Reservation's state to <code>cancelled</code>.</p>
|
|
30
|
+
* <p>Cancels the specified Capacity Reservation, releases the reserved capacity, and
|
|
31
|
+
* changes the Capacity Reservation's state to <code>cancelled</code>.</p>
|
|
32
32
|
* <p>You can cancel a Capacity Reservation that is in the following states:</p>
|
|
33
33
|
* <ul>
|
|
34
34
|
* <li>
|
|
@@ -39,18 +39,21 @@ declare const CancelCapacityReservationCommand_base: {
|
|
|
39
39
|
* <li>
|
|
40
40
|
* <p>
|
|
41
41
|
* <code>active</code> and there is no commitment duration or the commitment
|
|
42
|
-
* duration has elapsed. You can't cancel a future-dated Capacity Reservation
|
|
42
|
+
* duration has elapsed. You can't cancel a future-dated Capacity Reservation
|
|
43
|
+
* during the commitment duration.</p>
|
|
43
44
|
* </li>
|
|
44
45
|
* </ul>
|
|
45
46
|
* <note>
|
|
46
47
|
* <p>You can't modify or cancel a Capacity Block. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-capacity-blocks.html">Capacity Blocks for ML</a>.</p>
|
|
47
48
|
* </note>
|
|
48
|
-
* <p>If a future-dated Capacity Reservation enters the <code>delayed</code> state, the
|
|
49
|
-
* duration is waived, and you can cancel it as soon as it enters the
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
* target
|
|
53
|
-
*
|
|
49
|
+
* <p>If a future-dated Capacity Reservation enters the <code>delayed</code> state, the
|
|
50
|
+
* commitment duration is waived, and you can cancel it as soon as it enters the
|
|
51
|
+
* <code>active</code> state.</p>
|
|
52
|
+
* <p>Instances running in the reserved capacity continue running until you stop them.
|
|
53
|
+
* Stopped instances that target the Capacity Reservation can no longer launch. Modify
|
|
54
|
+
* these instances to either target a different Capacity Reservation, launch On-Demand
|
|
55
|
+
* Instance capacity, or run in any open Capacity Reservation that has matching attributes
|
|
56
|
+
* and sufficient capacity.</p>
|
|
54
57
|
* @example
|
|
55
58
|
* Use a bare-bones client and the command you need to make an API call.
|
|
56
59
|
* ```javascript
|
|
@@ -27,26 +27,29 @@ declare const CreateCapacityReservationCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates a new Capacity Reservation with the specified attributes. Capacity
|
|
31
|
-
* you to reserve capacity for your Amazon EC2 instances in a specific
|
|
32
|
-
* duration.</p>
|
|
33
|
-
* <p>You can create a Capacity Reservation at any time, and you can choose when it starts.
|
|
34
|
-
* Capacity Reservation for immediate use or you can request a Capacity
|
|
35
|
-
*
|
|
36
|
-
*
|
|
30
|
+
* <p>Creates a new Capacity Reservation with the specified attributes. Capacity
|
|
31
|
+
* Reservations enable you to reserve capacity for your Amazon EC2 instances in a specific
|
|
32
|
+
* Availability Zone for any duration.</p>
|
|
33
|
+
* <p>You can create a Capacity Reservation at any time, and you can choose when it starts.
|
|
34
|
+
* You can create a Capacity Reservation for immediate use or you can request a Capacity
|
|
35
|
+
* Reservation for a future date.</p>
|
|
36
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-capacity-reservations.html"> Reserve compute
|
|
37
|
+
* capacity with On-Demand Capacity Reservations</a> in the
|
|
38
|
+
* <i>Amazon EC2 User Guide</i>.</p>
|
|
37
39
|
* <p>Your request to create a Capacity Reservation could fail if:</p>
|
|
38
40
|
* <ul>
|
|
39
41
|
* <li>
|
|
40
|
-
* <p>Amazon EC2 does not have sufficient capacity. In this case, try again
|
|
41
|
-
* time, try in a different Availability Zone, or request a smaller
|
|
42
|
-
* your workload is flexible across instance types and
|
|
43
|
-
* attributes.</p>
|
|
42
|
+
* <p>Amazon EC2 does not have sufficient capacity. In this case, try again
|
|
43
|
+
* at a later time, try in a different Availability Zone, or request a smaller
|
|
44
|
+
* Capacity Reservation. If your workload is flexible across instance types and
|
|
45
|
+
* sizes, try with different instance attributes.</p>
|
|
44
46
|
* </li>
|
|
45
47
|
* <li>
|
|
46
|
-
* <p>The requested quantity exceeds your On-Demand Instance quota. In this case,
|
|
47
|
-
* On-Demand Instance quota for the requested instance type and try
|
|
48
|
-
* see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-resource-limits.html">
|
|
49
|
-
* Amazon EC2 Service Quotas</a> in the
|
|
48
|
+
* <p>The requested quantity exceeds your On-Demand Instance quota. In this case,
|
|
49
|
+
* increase your On-Demand Instance quota for the requested instance type and try
|
|
50
|
+
* again. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-resource-limits.html">
|
|
51
|
+
* Amazon EC2 Service Quotas</a> in the
|
|
52
|
+
* <i>Amazon EC2 User Guide</i>.</p>
|
|
50
53
|
* </li>
|
|
51
54
|
* </ul>
|
|
52
55
|
* @example
|
|
@@ -33,6 +33,18 @@ declare const CreateImageCommand_base: {
|
|
|
33
33
|
* to the root device volume, the new AMI contains block device mapping information for those
|
|
34
34
|
* volumes. When you launch an instance from this new AMI, the instance automatically launches
|
|
35
35
|
* with those additional volumes.</p>
|
|
36
|
+
* <p>The location of the source instance determines where you can create the snapshots of the
|
|
37
|
+
* AMI:</p>
|
|
38
|
+
* <ul>
|
|
39
|
+
* <li>
|
|
40
|
+
* <p>If the source instance is in a Region, you must create the snapshots in the same
|
|
41
|
+
* Region as the instance.</p>
|
|
42
|
+
* </li>
|
|
43
|
+
* <li>
|
|
44
|
+
* <p>If the source instance is in a Local Zone, you can create the snapshots in the same
|
|
45
|
+
* Local Zone or in its parent Region.</p>
|
|
46
|
+
* </li>
|
|
47
|
+
* </ul>
|
|
36
48
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami-ebs.html">Create an Amazon EBS-backed AMI</a> in
|
|
37
49
|
* the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
38
50
|
* @example
|
|
@@ -53,6 +65,7 @@ declare const CreateImageCommand_base: {
|
|
|
53
65
|
* ],
|
|
54
66
|
* },
|
|
55
67
|
* ],
|
|
68
|
+
* SnapshotLocation: "regional" || "local",
|
|
56
69
|
* DryRun: true || false,
|
|
57
70
|
* InstanceId: "STRING_VALUE", // required
|
|
58
71
|
* Name: "STRING_VALUE", // required
|
|
@@ -69,8 +82,10 @@ declare const CreateImageCommand_base: {
|
|
|
69
82
|
* KmsKeyId: "STRING_VALUE",
|
|
70
83
|
* Throughput: Number("int"),
|
|
71
84
|
* OutpostArn: "STRING_VALUE",
|
|
85
|
+
* AvailabilityZone: "STRING_VALUE",
|
|
72
86
|
* Encrypted: true || false,
|
|
73
87
|
* VolumeInitializationRate: Number("int"),
|
|
88
|
+
* AvailabilityZoneId: "STRING_VALUE",
|
|
74
89
|
* },
|
|
75
90
|
* NoDevice: "STRING_VALUE",
|
|
76
91
|
* DeviceName: "STRING_VALUE",
|
|
@@ -29,8 +29,8 @@ declare const CreateInstanceConnectEndpointCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>Creates an EC2 Instance Connect Endpoint.</p>
|
|
31
31
|
* <p>An EC2 Instance Connect Endpoint allows you to connect to an instance, without
|
|
32
|
-
* requiring the instance to have a public IPv4 address. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Connect-using-EC2-Instance-Connect-Endpoint.html">Connect to your instances
|
|
33
|
-
*
|
|
32
|
+
* requiring the instance to have a public IPv4 address. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Connect-using-EC2-Instance-Connect-Endpoint.html">Connect to your instances using EC2 Instance Connect Endpoint</a> in the
|
|
33
|
+
* <i>Amazon EC2 User Guide</i>.</p>
|
|
34
34
|
* @example
|
|
35
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
36
|
* ```javascript
|
|
@@ -27,8 +27,8 @@ declare const DescribeCapacityBlockExtensionOfferingsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Describes Capacity Block extension offerings available for purchase in the Amazon Web Services
|
|
31
|
-
* that you're currently using.</p>
|
|
30
|
+
* <p>Describes Capacity Block extension offerings available for purchase in the Amazon Web Services
|
|
31
|
+
* Region that you're currently using.</p>
|
|
32
32
|
* @example
|
|
33
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
34
|
* ```javascript
|
|
@@ -30,7 +30,7 @@ declare const DescribeCapacityBlockOfferingsCommand_base: {
|
|
|
30
30
|
* <p>Describes Capacity Block offerings available for purchase in the Amazon Web Services Region that you're currently using. With Capacity Blocks, you purchase a
|
|
31
31
|
* specific instance type for a period of time.</p>
|
|
32
32
|
* <p>To search for an available Capacity Block offering, you specify a reservation duration
|
|
33
|
-
*
|
|
33
|
+
* and instance count.</p>
|
|
34
34
|
* @example
|
|
35
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
36
|
* ```javascript
|
|
@@ -93,8 +93,10 @@ declare const DescribeImageAttributeCommand_base: {
|
|
|
93
93
|
* // KmsKeyId: "STRING_VALUE",
|
|
94
94
|
* // Throughput: Number("int"),
|
|
95
95
|
* // OutpostArn: "STRING_VALUE",
|
|
96
|
+
* // AvailabilityZone: "STRING_VALUE",
|
|
96
97
|
* // Encrypted: true || false,
|
|
97
98
|
* // VolumeInitializationRate: Number("int"),
|
|
99
|
+
* // AvailabilityZoneId: "STRING_VALUE",
|
|
98
100
|
* // },
|
|
99
101
|
* // NoDevice: "STRING_VALUE",
|
|
100
102
|
* // DeviceName: "STRING_VALUE",
|
|
@@ -103,8 +103,10 @@ declare const DescribeImagesCommand_base: {
|
|
|
103
103
|
* // KmsKeyId: "STRING_VALUE",
|
|
104
104
|
* // Throughput: Number("int"),
|
|
105
105
|
* // OutpostArn: "STRING_VALUE",
|
|
106
|
+
* // AvailabilityZone: "STRING_VALUE",
|
|
106
107
|
* // Encrypted: true || false,
|
|
107
108
|
* // VolumeInitializationRate: Number("int"),
|
|
109
|
+
* // AvailabilityZoneId: "STRING_VALUE",
|
|
108
110
|
* // },
|
|
109
111
|
* // NoDevice: "STRING_VALUE",
|
|
110
112
|
* // DeviceName: "STRING_VALUE",
|
|
@@ -80,8 +80,10 @@ declare const DescribeSpotFleetRequestsCommand_base: {
|
|
|
80
80
|
* // KmsKeyId: "STRING_VALUE",
|
|
81
81
|
* // Throughput: Number("int"),
|
|
82
82
|
* // OutpostArn: "STRING_VALUE",
|
|
83
|
+
* // AvailabilityZone: "STRING_VALUE",
|
|
83
84
|
* // Encrypted: true || false,
|
|
84
85
|
* // VolumeInitializationRate: Number("int"),
|
|
86
|
+
* // AvailabilityZoneId: "STRING_VALUE",
|
|
85
87
|
* // },
|
|
86
88
|
* // NoDevice: "STRING_VALUE",
|
|
87
89
|
* // DeviceName: "STRING_VALUE",
|
|
@@ -94,8 +94,10 @@ declare const DescribeSpotInstanceRequestsCommand_base: {
|
|
|
94
94
|
* // KmsKeyId: "STRING_VALUE",
|
|
95
95
|
* // Throughput: Number("int"),
|
|
96
96
|
* // OutpostArn: "STRING_VALUE",
|
|
97
|
+
* // AvailabilityZone: "STRING_VALUE",
|
|
97
98
|
* // Encrypted: true || false,
|
|
98
99
|
* // VolumeInitializationRate: Number("int"),
|
|
100
|
+
* // AvailabilityZoneId: "STRING_VALUE",
|
|
99
101
|
* // },
|
|
100
102
|
* // NoDevice: "STRING_VALUE",
|
|
101
103
|
* // DeviceName: "STRING_VALUE",
|
|
@@ -27,37 +27,41 @@ declare const ModifyCapacityReservationCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Modifies a Capacity Reservation's capacity, instance eligibility, and the conditions
|
|
31
|
-
* which it is to be released. You can't modify a Capacity Reservation's instance
|
|
32
|
-
* optimization, platform, instance store settings, Availability Zone, or
|
|
33
|
-
* to modify any of these attributes, we recommend that you cancel the
|
|
34
|
-
* and then create a new one with the required attributes. For more
|
|
35
|
-
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/capacity-reservations-modify.html">
|
|
36
|
-
*
|
|
30
|
+
* <p>Modifies a Capacity Reservation's capacity, instance eligibility, and the conditions
|
|
31
|
+
* under which it is to be released. You can't modify a Capacity Reservation's instance
|
|
32
|
+
* type, EBS optimization, platform, instance store settings, Availability Zone, or
|
|
33
|
+
* tenancy. If you need to modify any of these attributes, we recommend that you cancel the
|
|
34
|
+
* Capacity Reservation, and then create a new one with the required attributes. For more
|
|
35
|
+
* information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/capacity-reservations-modify.html"> Modify an active
|
|
36
|
+
* Capacity Reservation</a>.</p>
|
|
37
37
|
* <p>The allowed modifications depend on the state of the Capacity Reservation:</p>
|
|
38
38
|
* <ul>
|
|
39
39
|
* <li>
|
|
40
40
|
* <p>
|
|
41
|
-
* <code>assessing</code> or <code>scheduled</code> state - You can modify the
|
|
41
|
+
* <code>assessing</code> or <code>scheduled</code> state - You can modify the
|
|
42
|
+
* tags only.</p>
|
|
42
43
|
* </li>
|
|
43
44
|
* <li>
|
|
44
45
|
* <p>
|
|
45
|
-
* <code>pending</code> state - You can't modify the Capacity Reservation in any
|
|
46
|
+
* <code>pending</code> state - You can't modify the Capacity Reservation in any
|
|
47
|
+
* way.</p>
|
|
46
48
|
* </li>
|
|
47
49
|
* <li>
|
|
48
50
|
* <p>
|
|
49
|
-
* <code>active</code> state but still within the commitment duration - You can't
|
|
50
|
-
* count or set an end date that is within the commitment
|
|
51
|
+
* <code>active</code> state but still within the commitment duration - You can't
|
|
52
|
+
* decrease the instance count or set an end date that is within the commitment
|
|
53
|
+
* duration. All other modifications are allowed.</p>
|
|
51
54
|
* </li>
|
|
52
55
|
* <li>
|
|
53
56
|
* <p>
|
|
54
|
-
* <code>active</code> state with no commitment duration or elapsed commitment
|
|
55
|
-
* are allowed.</p>
|
|
57
|
+
* <code>active</code> state with no commitment duration or elapsed commitment
|
|
58
|
+
* duration - All modifications are allowed.</p>
|
|
56
59
|
* </li>
|
|
57
60
|
* <li>
|
|
58
61
|
* <p>
|
|
59
|
-
* <code>expired</code>, <code>cancelled</code>, <code>unsupported</code>, or
|
|
60
|
-
*
|
|
62
|
+
* <code>expired</code>, <code>cancelled</code>, <code>unsupported</code>, or
|
|
63
|
+
* <code>failed</code> state - You can't modify the Capacity Reservation in any
|
|
64
|
+
* way.</p>
|
|
61
65
|
* </li>
|
|
62
66
|
* </ul>
|
|
63
67
|
* @example
|
|
@@ -29,7 +29,7 @@ declare const ModifyInstanceCapacityReservationAttributesCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>Modifies the Capacity Reservation settings for a stopped instance. Use this action to
|
|
31
31
|
* configure an instance to target a specific Capacity Reservation, run in any
|
|
32
|
-
*
|
|
32
|
+
* <code>open</code> Capacity Reservation with matching attributes, run in On-Demand
|
|
33
33
|
* Instance capacity, or only run in a Capacity Reservation.</p>
|
|
34
34
|
* @example
|
|
35
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -28,7 +28,7 @@ declare const ModifyInstanceNetworkPerformanceOptionsCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Change the configuration of the network performance options for an existing
|
|
31
|
-
*
|
|
31
|
+
* instance.</p>
|
|
32
32
|
* @example
|
|
33
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
34
|
* ```javascript
|
|
@@ -114,8 +114,10 @@ declare const RegisterImageCommand_base: {
|
|
|
114
114
|
* KmsKeyId: "STRING_VALUE",
|
|
115
115
|
* Throughput: Number("int"),
|
|
116
116
|
* OutpostArn: "STRING_VALUE",
|
|
117
|
+
* AvailabilityZone: "STRING_VALUE",
|
|
117
118
|
* Encrypted: true || false,
|
|
118
119
|
* VolumeInitializationRate: Number("int"),
|
|
120
|
+
* AvailabilityZoneId: "STRING_VALUE",
|
|
119
121
|
* },
|
|
120
122
|
* NoDevice: "STRING_VALUE",
|
|
121
123
|
* DeviceName: "STRING_VALUE",
|
|
@@ -90,8 +90,10 @@ declare const RequestSpotFleetCommand_base: {
|
|
|
90
90
|
* KmsKeyId: "STRING_VALUE",
|
|
91
91
|
* Throughput: Number("int"),
|
|
92
92
|
* OutpostArn: "STRING_VALUE",
|
|
93
|
+
* AvailabilityZone: "STRING_VALUE",
|
|
93
94
|
* Encrypted: true || false,
|
|
94
95
|
* VolumeInitializationRate: Number("int"),
|
|
96
|
+
* AvailabilityZoneId: "STRING_VALUE",
|
|
95
97
|
* },
|
|
96
98
|
* NoDevice: "STRING_VALUE",
|
|
97
99
|
* DeviceName: "STRING_VALUE",
|
|
@@ -63,8 +63,10 @@ declare const RequestSpotInstancesCommand_base: {
|
|
|
63
63
|
* KmsKeyId: "STRING_VALUE",
|
|
64
64
|
* Throughput: Number("int"),
|
|
65
65
|
* OutpostArn: "STRING_VALUE",
|
|
66
|
+
* AvailabilityZone: "STRING_VALUE",
|
|
66
67
|
* Encrypted: true || false,
|
|
67
68
|
* VolumeInitializationRate: Number("int"),
|
|
69
|
+
* AvailabilityZoneId: "STRING_VALUE",
|
|
68
70
|
* },
|
|
69
71
|
* NoDevice: "STRING_VALUE",
|
|
70
72
|
* DeviceName: "STRING_VALUE",
|
|
@@ -200,8 +202,10 @@ declare const RequestSpotInstancesCommand_base: {
|
|
|
200
202
|
* // KmsKeyId: "STRING_VALUE",
|
|
201
203
|
* // Throughput: Number("int"),
|
|
202
204
|
* // OutpostArn: "STRING_VALUE",
|
|
205
|
+
* // AvailabilityZone: "STRING_VALUE",
|
|
203
206
|
* // Encrypted: true || false,
|
|
204
207
|
* // VolumeInitializationRate: Number("int"),
|
|
208
|
+
* // AvailabilityZoneId: "STRING_VALUE",
|
|
205
209
|
* // },
|
|
206
210
|
* // NoDevice: "STRING_VALUE",
|
|
207
211
|
* // DeviceName: "STRING_VALUE",
|
|
@@ -97,8 +97,10 @@ declare const RunInstancesCommand_base: {
|
|
|
97
97
|
* KmsKeyId: "STRING_VALUE",
|
|
98
98
|
* Throughput: Number("int"),
|
|
99
99
|
* OutpostArn: "STRING_VALUE",
|
|
100
|
+
* AvailabilityZone: "STRING_VALUE",
|
|
100
101
|
* Encrypted: true || false,
|
|
101
102
|
* VolumeInitializationRate: Number("int"),
|
|
103
|
+
* AvailabilityZoneId: "STRING_VALUE",
|
|
102
104
|
* },
|
|
103
105
|
* NoDevice: "STRING_VALUE",
|
|
104
106
|
* DeviceName: "STRING_VALUE",
|
|
@@ -52,7 +52,7 @@ declare const StartDeclarativePoliciesReportCommand_base: {
|
|
|
52
52
|
* <p>An S3 bucket must be available before generating the report (you can create a
|
|
53
53
|
* new one or use an existing one), it must be in the same Region where the report
|
|
54
54
|
* generation request is made, and it must have an appropriate bucket policy. For a
|
|
55
|
-
* sample S3 policy, see <i>Sample Amazon S3 policy</i> under
|
|
55
|
+
* sample S3 policy, see <i>Sample Amazon S3 policy</i> under <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_StartDeclarativePoliciesReport.html#API_StartDeclarativePoliciesReport_Examples">Examples</a>.</p>
|
|
56
56
|
* </li>
|
|
57
57
|
* <li>
|
|
58
58
|
* <p>Trusted access must be enabled for the service for which the declarative
|
|
@@ -27,11 +27,10 @@ declare const StopInstancesCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Stops an Amazon EBS-backed instance.
|
|
31
|
-
*
|
|
32
|
-
* Guide</i>.</p>
|
|
33
|
-
* <p>When you stop an instance, we shut it down
|
|
34
|
-
* time.</p>
|
|
30
|
+
* <p>Stops an Amazon EBS-backed instance. You can restart your instance at any time using
|
|
31
|
+
* the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_StartInstances.html">StartInstances</a> API. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html">Stop and start Amazon EC2
|
|
32
|
+
* instances</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
33
|
+
* <p>When you stop an instance, we shut it down.</p>
|
|
35
34
|
* <p>You can use the Stop operation together with the Hibernate parameter to hibernate an
|
|
36
35
|
* instance if the instance is <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enabling-hibernation.html">enabled for
|
|
37
36
|
* hibernation</a> and meets the <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html">hibernation
|
|
@@ -8,7 +8,7 @@ export interface ClientInputEndpointParameters {
|
|
|
8
8
|
useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
9
9
|
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
10
10
|
}
|
|
11
|
-
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
11
|
+
export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
|
|
12
12
|
defaultSigningName: string;
|
|
13
13
|
};
|
|
14
14
|
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
|