@aws-sdk/client-ec2 3.378.0 → 3.379.1
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_2.js +7 -2
- package/dist-cjs/protocols/Aws_ec2.js +15 -0
- package/dist-cjs/waiters/index.js +2 -1
- package/dist-cjs/waiters/waitForStoreImageTaskComplete.js +74 -0
- package/dist-es/models/models_2.js +5 -0
- package/dist-es/protocols/Aws_ec2.js +15 -0
- package/dist-es/waiters/index.js +2 -1
- package/dist-es/waiters/waitForStoreImageTaskComplete.js +69 -0
- package/dist-types/commands/CreateSnapshotCommand.d.ts +1 -0
- package/dist-types/commands/CreateSnapshotsCommand.d.ts +1 -0
- package/dist-types/commands/CreateVolumeCommand.d.ts +1 -0
- package/dist-types/commands/DescribeSnapshotsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeVolumesCommand.d.ts +1 -0
- package/dist-types/commands/GetEbsEncryptionByDefaultCommand.d.ts +1 -0
- package/dist-types/commands/RestoreSnapshotFromRecycleBinCommand.d.ts +1 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +3 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/models_2.d.ts +25 -14
- package/dist-types/models/models_3.d.ts +15 -11
- package/dist-types/models/models_4.d.ts +11 -15
- package/dist-types/models/models_5.d.ts +20 -24
- package/dist-types/models/models_6.d.ts +28 -60
- package/dist-types/models/models_7.d.ts +59 -1
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_2.d.ts +9 -4
- package/dist-types/ts3.4/models/models_3.d.ts +5 -4
- package/dist-types/ts3.4/models/models_4.d.ts +3 -5
- package/dist-types/ts3.4/models/models_5.d.ts +7 -7
- package/dist-types/ts3.4/models/models_6.d.ts +8 -15
- package/dist-types/ts3.4/models/models_7.d.ts +16 -1
- package/dist-types/ts3.4/waiters/index.d.ts +2 -1
- package/dist-types/ts3.4/waiters/waitForStoreImageTaskComplete.d.ts +11 -0
- package/dist-types/waiters/index.d.ts +2 -1
- package/dist-types/waiters/waitForStoreImageTaskComplete.d.ts +14 -0
- package/package.json +6 -6
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.CreateVpnConnectionResultFilterSensitiveLog = exports.VpnConnectionFilterSensitiveLog = exports.VpnConnectionOptionsFilterSensitiveLog = exports.TunnelOptionFilterSensitiveLog = exports.CreateVpnConnectionRequestFilterSensitiveLog = exports.VpnConnectionOptionsSpecificationFilterSensitiveLog = exports.VpnTunnelOptionsSpecificationFilterSensitiveLog = exports.CreateVerifiedAccessTrustProviderResultFilterSensitiveLog = exports.CreateVerifiedAccessTrustProviderRequestFilterSensitiveLog = exports.CreateVerifiedAccessTrustProviderOidcOptionsFilterSensitiveLog = exports.DeleteQueuedReservedInstancesErrorCode = exports.LaunchTemplateErrorCode = exports.DeleteFleetErrorCode = exports.FleetStateCode = exports.TelemetryStatus = exports.VpnState = exports.VpnStaticRouteSource = void 0;
|
|
3
|
+
exports.TunnelInsideIpVersion = exports.ServiceConnectivityType = exports.ServiceType = exports.ServiceState = exports.DnsNameState = exports.PayerResponsibility = exports.ConnectionNotificationType = exports.ConnectionNotificationState = exports.State = exports.VpcEndpointType = exports.IpAddressType = exports.DnsRecordIpType = exports.VolumeState = exports.VerifiedAccessEndpointStatusCode = exports.VerifiedAccessEndpointProtocol = exports.VerifiedAccessEndpointType = exports.VerifiedAccessEndpointAttachmentType = exports.TransitGatewayRouteTableAnnouncementState = exports.TransitGatewayRouteTableAnnouncementDirection = exports.TransitGatewayRouteTableState = exports.TransitGatewayRouteType = exports.TransitGatewayRouteState = exports.TransitGatewayPrefixListReferenceState = exports.TransitGatewayPolicyTableState = exports.TransitGatewayMulticastDomainState = exports.StaticSourcesSupportValue = exports.Igmpv2SupportValue = exports.AutoAcceptSharedAssociationsValue = exports.TransitGatewayConnectPeerState = exports.BgpStatus = exports.ProtocolValue = exports.TransitGatewayState = exports.VpnEcmpSupportValue = exports.MulticastSupportValue = exports.DefaultRouteTablePropagationValue = exports.DefaultRouteTableAssociationValue = exports.AutoAcceptSharedAttachmentsValue = exports.TrafficMirrorTargetType = exports.TrafficMirrorNetworkService = exports.TrafficDirection = exports.TrafficMirrorRuleAction = exports.SubnetCidrReservationType = exports.DatafeedSubscriptionState = exports.CopyTagsFromSource = exports.StorageTier = exports.SnapshotState = exports.SSEType = exports.RouteState = exports.RouteOrigin = exports.ReplaceRootVolumeTaskState = void 0;
|
|
4
|
+
exports.CreateVpnConnectionResultFilterSensitiveLog = exports.VpnConnectionFilterSensitiveLog = exports.VpnConnectionOptionsFilterSensitiveLog = exports.TunnelOptionFilterSensitiveLog = exports.CreateVpnConnectionRequestFilterSensitiveLog = exports.VpnConnectionOptionsSpecificationFilterSensitiveLog = exports.VpnTunnelOptionsSpecificationFilterSensitiveLog = exports.CreateVerifiedAccessTrustProviderResultFilterSensitiveLog = exports.CreateVerifiedAccessTrustProviderRequestFilterSensitiveLog = exports.CreateVerifiedAccessTrustProviderOidcOptionsFilterSensitiveLog = exports.DeleteQueuedReservedInstancesErrorCode = exports.LaunchTemplateErrorCode = exports.DeleteFleetErrorCode = exports.FleetStateCode = exports.TelemetryStatus = exports.VpnState = exports.VpnStaticRouteSource = exports.GatewayAssociationState = void 0;
|
|
5
5
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
6
|
const models_0_1 = require("./models_0");
|
|
7
7
|
exports.ReplaceRootVolumeTaskState = {
|
|
@@ -21,6 +21,11 @@ exports.RouteState = {
|
|
|
21
21
|
active: "active",
|
|
22
22
|
blackhole: "blackhole",
|
|
23
23
|
};
|
|
24
|
+
exports.SSEType = {
|
|
25
|
+
none: "none",
|
|
26
|
+
sse_ebs: "sse-ebs",
|
|
27
|
+
sse_kms: "sse-kms",
|
|
28
|
+
};
|
|
24
29
|
exports.SnapshotState = {
|
|
25
30
|
completed: "completed",
|
|
26
31
|
error: "error",
|
|
@@ -52606,6 +52606,9 @@ const de_GetEbsEncryptionByDefaultResult = (output, context) => {
|
|
|
52606
52606
|
if (output["ebsEncryptionByDefault"] !== undefined) {
|
|
52607
52607
|
contents.EbsEncryptionByDefault = (0, smithy_client_1.parseBoolean)(output["ebsEncryptionByDefault"]);
|
|
52608
52608
|
}
|
|
52609
|
+
if (output["sseType"] !== undefined) {
|
|
52610
|
+
contents.SseType = (0, smithy_client_1.expectString)(output["sseType"]);
|
|
52611
|
+
}
|
|
52609
52612
|
return contents;
|
|
52610
52613
|
};
|
|
52611
52614
|
const de_GetFlowLogsIntegrationTemplateResult = (output, context) => {
|
|
@@ -60207,6 +60210,9 @@ const de_RestoreSnapshotFromRecycleBinResult = (output, context) => {
|
|
|
60207
60210
|
if (output["volumeSize"] !== undefined) {
|
|
60208
60211
|
contents.VolumeSize = (0, smithy_client_1.strictParseInt32)(output["volumeSize"]);
|
|
60209
60212
|
}
|
|
60213
|
+
if (output["sseType"] !== undefined) {
|
|
60214
|
+
contents.SseType = (0, smithy_client_1.expectString)(output["sseType"]);
|
|
60215
|
+
}
|
|
60210
60216
|
return contents;
|
|
60211
60217
|
};
|
|
60212
60218
|
const de_RestoreSnapshotTierResult = (output, context) => {
|
|
@@ -61040,6 +61046,9 @@ const de_Snapshot = (output, context) => {
|
|
|
61040
61046
|
if (output["restoreExpiryTime"] !== undefined) {
|
|
61041
61047
|
contents.RestoreExpiryTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["restoreExpiryTime"]));
|
|
61042
61048
|
}
|
|
61049
|
+
if (output["sseType"] !== undefined) {
|
|
61050
|
+
contents.SseType = (0, smithy_client_1.expectString)(output["sseType"]);
|
|
61051
|
+
}
|
|
61043
61052
|
return contents;
|
|
61044
61053
|
};
|
|
61045
61054
|
const de_SnapshotDetail = (output, context) => {
|
|
@@ -61121,6 +61130,9 @@ const de_SnapshotInfo = (output, context) => {
|
|
|
61121
61130
|
if (output["outpostArn"] !== undefined) {
|
|
61122
61131
|
contents.OutpostArn = (0, smithy_client_1.expectString)(output["outpostArn"]);
|
|
61123
61132
|
}
|
|
61133
|
+
if (output["sseType"] !== undefined) {
|
|
61134
|
+
contents.SseType = (0, smithy_client_1.expectString)(output["sseType"]);
|
|
61135
|
+
}
|
|
61124
61136
|
return contents;
|
|
61125
61137
|
};
|
|
61126
61138
|
const de_SnapshotList = (output, context) => {
|
|
@@ -64329,6 +64341,9 @@ const de_Volume = (output, context) => {
|
|
|
64329
64341
|
if (output["throughput"] !== undefined) {
|
|
64330
64342
|
contents.Throughput = (0, smithy_client_1.strictParseInt32)(output["throughput"]);
|
|
64331
64343
|
}
|
|
64344
|
+
if (output["sseType"] !== undefined) {
|
|
64345
|
+
contents.SseType = (0, smithy_client_1.expectString)(output["sseType"]);
|
|
64346
|
+
}
|
|
64332
64347
|
return contents;
|
|
64333
64348
|
};
|
|
64334
64349
|
const de_VolumeAttachment = (output, context) => {
|
|
@@ -24,9 +24,10 @@ tslib_1.__exportStar(require("./waitForSnapshotImported"), exports);
|
|
|
24
24
|
tslib_1.__exportStar(require("./waitForSecurityGroupExists"), exports);
|
|
25
25
|
tslib_1.__exportStar(require("./waitForSnapshotCompleted"), exports);
|
|
26
26
|
tslib_1.__exportStar(require("./waitForSpotInstanceRequestFulfilled"), exports);
|
|
27
|
+
tslib_1.__exportStar(require("./waitForStoreImageTaskComplete"), exports);
|
|
27
28
|
tslib_1.__exportStar(require("./waitForSubnetAvailable"), exports);
|
|
28
|
-
tslib_1.__exportStar(require("./waitForPasswordDataAvailable"), exports);
|
|
29
29
|
tslib_1.__exportStar(require("./waitForSystemStatusOk"), exports);
|
|
30
|
+
tslib_1.__exportStar(require("./waitForPasswordDataAvailable"), exports);
|
|
30
31
|
tslib_1.__exportStar(require("./waitForVolumeAvailable"), exports);
|
|
31
32
|
tslib_1.__exportStar(require("./waitForVolumeDeleted"), exports);
|
|
32
33
|
tslib_1.__exportStar(require("./waitForVolumeInUse"), exports);
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.waitUntilStoreImageTaskComplete = exports.waitForStoreImageTaskComplete = void 0;
|
|
4
|
+
const util_waiter_1 = require("@smithy/util-waiter");
|
|
5
|
+
const DescribeStoreImageTasksCommand_1 = require("../commands/DescribeStoreImageTasksCommand");
|
|
6
|
+
const checkState = async (client, input) => {
|
|
7
|
+
let reason;
|
|
8
|
+
try {
|
|
9
|
+
const result = await client.send(new DescribeStoreImageTasksCommand_1.DescribeStoreImageTasksCommand(input));
|
|
10
|
+
reason = result;
|
|
11
|
+
try {
|
|
12
|
+
const returnComparator = () => {
|
|
13
|
+
const flat_1 = [].concat(...result.StoreImageTaskResults);
|
|
14
|
+
const projection_3 = flat_1.map((element_2) => {
|
|
15
|
+
return element_2.StoreTaskState;
|
|
16
|
+
});
|
|
17
|
+
return projection_3;
|
|
18
|
+
};
|
|
19
|
+
let allStringEq_5 = returnComparator().length > 0;
|
|
20
|
+
for (const element_4 of returnComparator()) {
|
|
21
|
+
allStringEq_5 = allStringEq_5 && element_4 == "Completed";
|
|
22
|
+
}
|
|
23
|
+
if (allStringEq_5) {
|
|
24
|
+
return { state: util_waiter_1.WaiterState.SUCCESS, reason };
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
catch (e) { }
|
|
28
|
+
try {
|
|
29
|
+
const returnComparator = () => {
|
|
30
|
+
const flat_1 = [].concat(...result.StoreImageTaskResults);
|
|
31
|
+
const projection_3 = flat_1.map((element_2) => {
|
|
32
|
+
return element_2.StoreTaskState;
|
|
33
|
+
});
|
|
34
|
+
return projection_3;
|
|
35
|
+
};
|
|
36
|
+
for (const anyStringEq_4 of returnComparator()) {
|
|
37
|
+
if (anyStringEq_4 == "Failed") {
|
|
38
|
+
return { state: util_waiter_1.WaiterState.FAILURE, reason };
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
catch (e) { }
|
|
43
|
+
try {
|
|
44
|
+
const returnComparator = () => {
|
|
45
|
+
const flat_1 = [].concat(...result.StoreImageTaskResults);
|
|
46
|
+
const projection_3 = flat_1.map((element_2) => {
|
|
47
|
+
return element_2.StoreTaskState;
|
|
48
|
+
});
|
|
49
|
+
return projection_3;
|
|
50
|
+
};
|
|
51
|
+
for (const anyStringEq_4 of returnComparator()) {
|
|
52
|
+
if (anyStringEq_4 == "InProgress") {
|
|
53
|
+
return { state: util_waiter_1.WaiterState.RETRY, reason };
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
catch (e) { }
|
|
58
|
+
}
|
|
59
|
+
catch (exception) {
|
|
60
|
+
reason = exception;
|
|
61
|
+
}
|
|
62
|
+
return { state: util_waiter_1.WaiterState.RETRY, reason };
|
|
63
|
+
};
|
|
64
|
+
const waitForStoreImageTaskComplete = async (params, input) => {
|
|
65
|
+
const serviceDefaults = { minDelay: 5, maxDelay: 120 };
|
|
66
|
+
return (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
67
|
+
};
|
|
68
|
+
exports.waitForStoreImageTaskComplete = waitForStoreImageTaskComplete;
|
|
69
|
+
const waitUntilStoreImageTaskComplete = async (params, input) => {
|
|
70
|
+
const serviceDefaults = { minDelay: 5, maxDelay: 120 };
|
|
71
|
+
const result = await (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
72
|
+
return (0, util_waiter_1.checkExceptions)(result);
|
|
73
|
+
};
|
|
74
|
+
exports.waitUntilStoreImageTaskComplete = waitUntilStoreImageTaskComplete;
|
|
@@ -17,6 +17,11 @@ export const RouteState = {
|
|
|
17
17
|
active: "active",
|
|
18
18
|
blackhole: "blackhole",
|
|
19
19
|
};
|
|
20
|
+
export const SSEType = {
|
|
21
|
+
none: "none",
|
|
22
|
+
sse_ebs: "sse-ebs",
|
|
23
|
+
sse_kms: "sse-kms",
|
|
24
|
+
};
|
|
20
25
|
export const SnapshotState = {
|
|
21
26
|
completed: "completed",
|
|
22
27
|
error: "error",
|
|
@@ -51392,6 +51392,9 @@ const de_GetEbsEncryptionByDefaultResult = (output, context) => {
|
|
|
51392
51392
|
if (output["ebsEncryptionByDefault"] !== undefined) {
|
|
51393
51393
|
contents.EbsEncryptionByDefault = __parseBoolean(output["ebsEncryptionByDefault"]);
|
|
51394
51394
|
}
|
|
51395
|
+
if (output["sseType"] !== undefined) {
|
|
51396
|
+
contents.SseType = __expectString(output["sseType"]);
|
|
51397
|
+
}
|
|
51395
51398
|
return contents;
|
|
51396
51399
|
};
|
|
51397
51400
|
const de_GetFlowLogsIntegrationTemplateResult = (output, context) => {
|
|
@@ -58993,6 +58996,9 @@ const de_RestoreSnapshotFromRecycleBinResult = (output, context) => {
|
|
|
58993
58996
|
if (output["volumeSize"] !== undefined) {
|
|
58994
58997
|
contents.VolumeSize = __strictParseInt32(output["volumeSize"]);
|
|
58995
58998
|
}
|
|
58999
|
+
if (output["sseType"] !== undefined) {
|
|
59000
|
+
contents.SseType = __expectString(output["sseType"]);
|
|
59001
|
+
}
|
|
58996
59002
|
return contents;
|
|
58997
59003
|
};
|
|
58998
59004
|
const de_RestoreSnapshotTierResult = (output, context) => {
|
|
@@ -59826,6 +59832,9 @@ const de_Snapshot = (output, context) => {
|
|
|
59826
59832
|
if (output["restoreExpiryTime"] !== undefined) {
|
|
59827
59833
|
contents.RestoreExpiryTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["restoreExpiryTime"]));
|
|
59828
59834
|
}
|
|
59835
|
+
if (output["sseType"] !== undefined) {
|
|
59836
|
+
contents.SseType = __expectString(output["sseType"]);
|
|
59837
|
+
}
|
|
59829
59838
|
return contents;
|
|
59830
59839
|
};
|
|
59831
59840
|
const de_SnapshotDetail = (output, context) => {
|
|
@@ -59907,6 +59916,9 @@ const de_SnapshotInfo = (output, context) => {
|
|
|
59907
59916
|
if (output["outpostArn"] !== undefined) {
|
|
59908
59917
|
contents.OutpostArn = __expectString(output["outpostArn"]);
|
|
59909
59918
|
}
|
|
59919
|
+
if (output["sseType"] !== undefined) {
|
|
59920
|
+
contents.SseType = __expectString(output["sseType"]);
|
|
59921
|
+
}
|
|
59910
59922
|
return contents;
|
|
59911
59923
|
};
|
|
59912
59924
|
const de_SnapshotList = (output, context) => {
|
|
@@ -63115,6 +63127,9 @@ const de_Volume = (output, context) => {
|
|
|
63115
63127
|
if (output["throughput"] !== undefined) {
|
|
63116
63128
|
contents.Throughput = __strictParseInt32(output["throughput"]);
|
|
63117
63129
|
}
|
|
63130
|
+
if (output["sseType"] !== undefined) {
|
|
63131
|
+
contents.SseType = __expectString(output["sseType"]);
|
|
63132
|
+
}
|
|
63118
63133
|
return contents;
|
|
63119
63134
|
};
|
|
63120
63135
|
const de_VolumeAttachment = (output, context) => {
|
package/dist-es/waiters/index.js
CHANGED
|
@@ -21,9 +21,10 @@ export * from "./waitForSnapshotImported";
|
|
|
21
21
|
export * from "./waitForSecurityGroupExists";
|
|
22
22
|
export * from "./waitForSnapshotCompleted";
|
|
23
23
|
export * from "./waitForSpotInstanceRequestFulfilled";
|
|
24
|
+
export * from "./waitForStoreImageTaskComplete";
|
|
24
25
|
export * from "./waitForSubnetAvailable";
|
|
25
|
-
export * from "./waitForPasswordDataAvailable";
|
|
26
26
|
export * from "./waitForSystemStatusOk";
|
|
27
|
+
export * from "./waitForPasswordDataAvailable";
|
|
27
28
|
export * from "./waitForVolumeAvailable";
|
|
28
29
|
export * from "./waitForVolumeDeleted";
|
|
29
30
|
export * from "./waitForVolumeInUse";
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { checkExceptions, createWaiter, WaiterState } from "@smithy/util-waiter";
|
|
2
|
+
import { DescribeStoreImageTasksCommand, } from "../commands/DescribeStoreImageTasksCommand";
|
|
3
|
+
const checkState = async (client, input) => {
|
|
4
|
+
let reason;
|
|
5
|
+
try {
|
|
6
|
+
const result = await client.send(new DescribeStoreImageTasksCommand(input));
|
|
7
|
+
reason = result;
|
|
8
|
+
try {
|
|
9
|
+
const returnComparator = () => {
|
|
10
|
+
const flat_1 = [].concat(...result.StoreImageTaskResults);
|
|
11
|
+
const projection_3 = flat_1.map((element_2) => {
|
|
12
|
+
return element_2.StoreTaskState;
|
|
13
|
+
});
|
|
14
|
+
return projection_3;
|
|
15
|
+
};
|
|
16
|
+
let allStringEq_5 = returnComparator().length > 0;
|
|
17
|
+
for (const element_4 of returnComparator()) {
|
|
18
|
+
allStringEq_5 = allStringEq_5 && element_4 == "Completed";
|
|
19
|
+
}
|
|
20
|
+
if (allStringEq_5) {
|
|
21
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
catch (e) { }
|
|
25
|
+
try {
|
|
26
|
+
const returnComparator = () => {
|
|
27
|
+
const flat_1 = [].concat(...result.StoreImageTaskResults);
|
|
28
|
+
const projection_3 = flat_1.map((element_2) => {
|
|
29
|
+
return element_2.StoreTaskState;
|
|
30
|
+
});
|
|
31
|
+
return projection_3;
|
|
32
|
+
};
|
|
33
|
+
for (const anyStringEq_4 of returnComparator()) {
|
|
34
|
+
if (anyStringEq_4 == "Failed") {
|
|
35
|
+
return { state: WaiterState.FAILURE, reason };
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
catch (e) { }
|
|
40
|
+
try {
|
|
41
|
+
const returnComparator = () => {
|
|
42
|
+
const flat_1 = [].concat(...result.StoreImageTaskResults);
|
|
43
|
+
const projection_3 = flat_1.map((element_2) => {
|
|
44
|
+
return element_2.StoreTaskState;
|
|
45
|
+
});
|
|
46
|
+
return projection_3;
|
|
47
|
+
};
|
|
48
|
+
for (const anyStringEq_4 of returnComparator()) {
|
|
49
|
+
if (anyStringEq_4 == "InProgress") {
|
|
50
|
+
return { state: WaiterState.RETRY, reason };
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
catch (e) { }
|
|
55
|
+
}
|
|
56
|
+
catch (exception) {
|
|
57
|
+
reason = exception;
|
|
58
|
+
}
|
|
59
|
+
return { state: WaiterState.RETRY, reason };
|
|
60
|
+
};
|
|
61
|
+
export const waitForStoreImageTaskComplete = async (params, input) => {
|
|
62
|
+
const serviceDefaults = { minDelay: 5, maxDelay: 120 };
|
|
63
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
64
|
+
};
|
|
65
|
+
export const waitUntilStoreImageTaskComplete = async (params, input) => {
|
|
66
|
+
const serviceDefaults = { minDelay: 5, maxDelay: 120 };
|
|
67
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
68
|
+
return checkExceptions(result);
|
|
69
|
+
};
|
|
@@ -96,6 +96,7 @@ export interface CreateSnapshotCommandOutput extends Snapshot, __MetadataBearer
|
|
|
96
96
|
* // ],
|
|
97
97
|
* // StorageTier: "archive" || "standard",
|
|
98
98
|
* // RestoreExpiryTime: new Date("TIMESTAMP"),
|
|
99
|
+
* // SseType: "sse-ebs" || "sse-kms" || "none",
|
|
99
100
|
* // };
|
|
100
101
|
*
|
|
101
102
|
* ```
|
|
@@ -84,6 +84,7 @@ export interface CreateSnapshotsCommandOutput extends CreateSnapshotsResult, __M
|
|
|
84
84
|
* // OwnerId: "STRING_VALUE",
|
|
85
85
|
* // SnapshotId: "STRING_VALUE",
|
|
86
86
|
* // OutpostArn: "STRING_VALUE",
|
|
87
|
+
* // SseType: "sse-ebs" || "sse-kms" || "none",
|
|
87
88
|
* // },
|
|
88
89
|
* // ],
|
|
89
90
|
* // };
|
|
@@ -98,6 +98,7 @@ export interface CreateVolumeCommandOutput extends Volume, __MetadataBearer {
|
|
|
98
98
|
* // FastRestored: true || false,
|
|
99
99
|
* // MultiAttachEnabled: true || false,
|
|
100
100
|
* // Throughput: Number("int"),
|
|
101
|
+
* // SseType: "sse-ebs" || "sse-kms" || "none",
|
|
101
102
|
* // };
|
|
102
103
|
*
|
|
103
104
|
* ```
|
|
@@ -121,6 +121,7 @@ export interface DescribeSnapshotsCommandOutput extends DescribeSnapshotsResult,
|
|
|
121
121
|
* // ],
|
|
122
122
|
* // StorageTier: "archive" || "standard",
|
|
123
123
|
* // RestoreExpiryTime: new Date("TIMESTAMP"),
|
|
124
|
+
* // SseType: "sse-ebs" || "sse-kms" || "none",
|
|
124
125
|
* // },
|
|
125
126
|
* // ],
|
|
126
127
|
* // NextToken: "STRING_VALUE",
|
|
@@ -84,6 +84,7 @@ export interface DescribeVolumesCommandOutput extends DescribeVolumesResult, __M
|
|
|
84
84
|
* // FastRestored: true || false,
|
|
85
85
|
* // MultiAttachEnabled: true || false,
|
|
86
86
|
* // Throughput: Number("int"),
|
|
87
|
+
* // SseType: "sse-ebs" || "sse-kms" || "none",
|
|
87
88
|
* // },
|
|
88
89
|
* // ],
|
|
89
90
|
* // NextToken: "STRING_VALUE",
|
|
@@ -40,6 +40,7 @@ export interface GetEbsEncryptionByDefaultCommandOutput extends GetEbsEncryption
|
|
|
40
40
|
* const response = await client.send(command);
|
|
41
41
|
* // { // GetEbsEncryptionByDefaultResult
|
|
42
42
|
* // EbsEncryptionByDefault: true || false,
|
|
43
|
+
* // SseType: "sse-ebs" || "sse-kms" || "none",
|
|
43
44
|
* // };
|
|
44
45
|
*
|
|
45
46
|
* ```
|
|
@@ -48,6 +48,7 @@ export interface RestoreSnapshotFromRecycleBinCommandOutput extends RestoreSnaps
|
|
|
48
48
|
* // State: "pending" || "completed" || "error" || "recoverable" || "recovering",
|
|
49
49
|
* // VolumeId: "STRING_VALUE",
|
|
50
50
|
* // VolumeSize: Number("int"),
|
|
51
|
+
* // SseType: "sse-ebs" || "sse-kms" || "none",
|
|
51
52
|
* // };
|
|
52
53
|
*
|
|
53
54
|
* ```
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
2
5
|
export interface ClientInputEndpointParameters {
|
|
3
6
|
region?: string | Provider<string>;
|
|
4
7
|
useDualstackEndpoint?: boolean | Provider<boolean>;
|
package/dist-types/index.d.ts
CHANGED
|
@@ -663,6 +663,19 @@ export interface CreateSnapshotRequest {
|
|
|
663
663
|
*/
|
|
664
664
|
DryRun?: boolean;
|
|
665
665
|
}
|
|
666
|
+
/**
|
|
667
|
+
* @public
|
|
668
|
+
* @enum
|
|
669
|
+
*/
|
|
670
|
+
export declare const SSEType: {
|
|
671
|
+
readonly none: "none";
|
|
672
|
+
readonly sse_ebs: "sse-ebs";
|
|
673
|
+
readonly sse_kms: "sse-kms";
|
|
674
|
+
};
|
|
675
|
+
/**
|
|
676
|
+
* @public
|
|
677
|
+
*/
|
|
678
|
+
export type SSEType = (typeof SSEType)[keyof typeof SSEType];
|
|
666
679
|
/**
|
|
667
680
|
* @public
|
|
668
681
|
* @enum
|
|
@@ -779,6 +792,10 @@ export interface Snapshot {
|
|
|
779
792
|
* time when a temporarily restored snapshot will be automatically re-archived.</p>
|
|
780
793
|
*/
|
|
781
794
|
RestoreExpiryTime?: Date;
|
|
795
|
+
/**
|
|
796
|
+
* <p>Reserved for future use.</p>
|
|
797
|
+
*/
|
|
798
|
+
SseType?: SSEType | string;
|
|
782
799
|
}
|
|
783
800
|
/**
|
|
784
801
|
* @public
|
|
@@ -915,6 +932,10 @@ export interface SnapshotInfo {
|
|
|
915
932
|
* <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
916
933
|
*/
|
|
917
934
|
OutpostArn?: string;
|
|
935
|
+
/**
|
|
936
|
+
* <p>Reserved for future use.</p>
|
|
937
|
+
*/
|
|
938
|
+
SseType?: SSEType | string;
|
|
918
939
|
}
|
|
919
940
|
/**
|
|
920
941
|
* @public
|
|
@@ -3741,6 +3762,10 @@ export interface Volume {
|
|
|
3741
3762
|
* <p>The throughput that the volume supports, in MiB/s.</p>
|
|
3742
3763
|
*/
|
|
3743
3764
|
Throughput?: number;
|
|
3765
|
+
/**
|
|
3766
|
+
* <p>Reserved for future use.</p>
|
|
3767
|
+
*/
|
|
3768
|
+
SseType?: SSEType | string;
|
|
3744
3769
|
}
|
|
3745
3770
|
/**
|
|
3746
3771
|
* @public
|
|
@@ -6589,20 +6614,6 @@ export interface DeleteQueuedReservedInstancesError {
|
|
|
6589
6614
|
*/
|
|
6590
6615
|
Message?: string;
|
|
6591
6616
|
}
|
|
6592
|
-
/**
|
|
6593
|
-
* @public
|
|
6594
|
-
* <p>Describes a Reserved Instance whose queued purchase was not deleted.</p>
|
|
6595
|
-
*/
|
|
6596
|
-
export interface FailedQueuedPurchaseDeletion {
|
|
6597
|
-
/**
|
|
6598
|
-
* <p>The error.</p>
|
|
6599
|
-
*/
|
|
6600
|
-
Error?: DeleteQueuedReservedInstancesError;
|
|
6601
|
-
/**
|
|
6602
|
-
* <p>The ID of the Reserved Instance.</p>
|
|
6603
|
-
*/
|
|
6604
|
-
ReservedInstancesId?: string;
|
|
6605
|
-
}
|
|
6606
6617
|
/**
|
|
6607
6618
|
* @internal
|
|
6608
6619
|
*/
|
|
@@ -1,6 +1,20 @@
|
|
|
1
1
|
import { _InstanceType, AccountAttribute, AccountAttributeName, ActiveInstance, Address, AddressAttribute, AddressAttributeName, AddressTransfer, AllocationState, AllowsMultipleInstanceTypes, AssociationStatus, AttachmentStatus, AutoPlacement, BundleTask, ByoipCidr, CapacityReservation, CapacityReservationFleetState, CarrierGateway, ClientVpnAuthorizationRuleStatus, CurrencyCodeValues, FleetCapacityReservation, FleetCapacityReservationTenancy, FleetInstanceMatchCriteria, HostMaintenance, HostRecovery, IamInstanceProfileAssociation, InstanceEventWindow, Tag, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessTrustProvider } from "./models_0";
|
|
2
2
|
import { AmdSevSnpSpecification, AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTargetResponse, ClientVpnAuthenticationType, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipPool, CustomerGateway, DefaultTargetCapacityType, DestinationFileFormat, DhcpOptions, DiskImageFormat, Ec2InstanceConnectEndpoint, EgressOnlyInternetGateway, ExportTask, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetType, GroupIdentifier, InstanceLifecycle, LaunchTemplateAndOverridesResponse, LogDestinationType, PlatformValues, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, StateReason, TargetCapacityUnitType, TrafficType, TransportProtocol } from "./models_1";
|
|
3
|
-
import {
|
|
3
|
+
import { DeleteQueuedReservedInstancesError, FleetStateCode, SubnetCidrReservation, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayPrefixListReference, TransitGatewayRoute, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup } from "./models_2";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
* <p>Describes a Reserved Instance whose queued purchase was not deleted.</p>
|
|
7
|
+
*/
|
|
8
|
+
export interface FailedQueuedPurchaseDeletion {
|
|
9
|
+
/**
|
|
10
|
+
* <p>The error.</p>
|
|
11
|
+
*/
|
|
12
|
+
Error?: DeleteQueuedReservedInstancesError;
|
|
13
|
+
/**
|
|
14
|
+
* <p>The ID of the Reserved Instance.</p>
|
|
15
|
+
*/
|
|
16
|
+
ReservedInstancesId?: string;
|
|
17
|
+
}
|
|
4
18
|
/**
|
|
5
19
|
* @public
|
|
6
20
|
* <p>Describes a Reserved Instance whose queued purchase was successfully deleted.</p>
|
|
@@ -8059,16 +8073,6 @@ export declare const InstanceLifecycleType: {
|
|
|
8059
8073
|
* @public
|
|
8060
8074
|
*/
|
|
8061
8075
|
export type InstanceLifecycleType = (typeof InstanceLifecycleType)[keyof typeof InstanceLifecycleType];
|
|
8062
|
-
/**
|
|
8063
|
-
* @public
|
|
8064
|
-
* <p>Describes a license configuration.</p>
|
|
8065
|
-
*/
|
|
8066
|
-
export interface LicenseConfiguration {
|
|
8067
|
-
/**
|
|
8068
|
-
* <p>The Amazon Resource Name (ARN) of the license configuration.</p>
|
|
8069
|
-
*/
|
|
8070
|
-
LicenseConfigurationArn?: string;
|
|
8071
|
-
}
|
|
8072
8076
|
/**
|
|
8073
8077
|
* @internal
|
|
8074
8078
|
*/
|
|
@@ -1,7 +1,17 @@
|
|
|
1
1
|
import { _InstanceType, ActiveInstance, ActivityStatus, AllocationStrategy, AlternatePathHint, AttachmentStatus, BatchState, CurrencyCodeValues, Explanation, IamInstanceProfile, IamInstanceProfileSpecification, IpamResourceDiscoveryAssociation, IpPermission, PathComponent, ReservedInstancesListing, ResourceType, SecurityGroupRule, Tag, TagSpecification, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, TrunkInterfaceAssociation, UserIdGroupPair } from "./models_0";
|
|
2
2
|
import { AttributeValue, BlockDeviceMapping, FleetLaunchTemplateSpecification, FleetType, GroupIdentifier, HostnameType, InstanceInterruptionBehavior, InstanceIpv6Address, InstanceRequirements, InternetGateway, Ipam, IpamPool, IpamResourceDiscovery, IpamScope, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, KeyType, LaunchTemplate, LaunchTemplateVersion, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsAccessScope, NetworkInsightsPath, NetworkInterface, NetworkInterfaceAttachment, NetworkInterfacePermission, NetworkInterfaceStatus, Placement, PlacementGroup, PlatformValues, PrivateIpAddressSpecification, SpotInstanceType, StateReason, Subnet, TargetCapacityUnitType, Tenancy } from "./models_1";
|
|
3
3
|
import { ReplaceRootVolumeTask, RouteTable, Snapshot, SnapshotState, SpotDatafeedSubscription, SpotInstanceStateFault, StorageTier, TrafficMirrorFilter, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup } from "./models_2";
|
|
4
|
-
import { ArchitectureValues, AttributeBooleanValue, BootModeValues, CapacityReservationSpecificationResponse, CpuOptions, DeviceType, ElasticGpuAssociation, ElasticInferenceAcceleratorAssociation, EnclaveOptions, EventInformation, Filter, HibernationOptions, HypervisorType, IdFormat, InstanceBlockDeviceMapping, InstanceBootModeValues, InstanceLifecycleType,
|
|
4
|
+
import { ArchitectureValues, AttributeBooleanValue, BootModeValues, CapacityReservationSpecificationResponse, CpuOptions, DeviceType, ElasticGpuAssociation, ElasticInferenceAcceleratorAssociation, EnclaveOptions, EventInformation, Filter, HibernationOptions, HypervisorType, IdFormat, InstanceBlockDeviceMapping, InstanceBootModeValues, InstanceLifecycleType, PermissionGroup, ProductCode, VirtualizationType } from "./models_3";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
* <p>Describes a license configuration.</p>
|
|
8
|
+
*/
|
|
9
|
+
export interface LicenseConfiguration {
|
|
10
|
+
/**
|
|
11
|
+
* <p>The Amazon Resource Name (ARN) of the license configuration.</p>
|
|
12
|
+
*/
|
|
13
|
+
LicenseConfigurationArn?: string;
|
|
14
|
+
}
|
|
5
15
|
/**
|
|
6
16
|
* @public
|
|
7
17
|
* @enum
|
|
@@ -9780,20 +9790,6 @@ export declare const VerifiedAccessLogDeliveryStatusCode: {
|
|
|
9780
9790
|
* @public
|
|
9781
9791
|
*/
|
|
9782
9792
|
export type VerifiedAccessLogDeliveryStatusCode = (typeof VerifiedAccessLogDeliveryStatusCode)[keyof typeof VerifiedAccessLogDeliveryStatusCode];
|
|
9783
|
-
/**
|
|
9784
|
-
* @public
|
|
9785
|
-
* <p>Describes a log delivery status.</p>
|
|
9786
|
-
*/
|
|
9787
|
-
export interface VerifiedAccessLogDeliveryStatus {
|
|
9788
|
-
/**
|
|
9789
|
-
* <p>The status code.</p>
|
|
9790
|
-
*/
|
|
9791
|
-
Code?: VerifiedAccessLogDeliveryStatusCode | string;
|
|
9792
|
-
/**
|
|
9793
|
-
* <p>The status message.</p>
|
|
9794
|
-
*/
|
|
9795
|
-
Message?: string;
|
|
9796
|
-
}
|
|
9797
9793
|
/**
|
|
9798
9794
|
* @internal
|
|
9799
9795
|
*/
|
|
@@ -1,8 +1,22 @@
|
|
|
1
1
|
import { AccessScopeAnalysisFinding, AddressTransfer, AllowedPrincipal, AssociationStatus, CapacityReservationState, CurrencyCodeValues, IamInstanceProfileAssociation, InstanceEventWindow, IpamPoolAllocation, IpamResourceDiscoveryAssociation, NatGatewayAddress, SubnetAssociation, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayAssociation, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPolicyTableAssociation, VerifiedAccessInstance, VerifiedAccessTrustProvider, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, VpcPeeringConnection } from "./models_0";
|
|
2
2
|
import { DiskImageFormat, InstanceRequirementsRequest, IpamResourceTag, NetworkInsightsAccessScopeContent, RequestIpamResourceTag, ResponseLaunchTemplateData, TargetCapacityUnitType, VolumeType, Vpc } from "./models_1";
|
|
3
|
-
import { ConnectionNotification, DnsEntry, DnsNameState, IpAddressType, PayerResponsibility, ServiceConfiguration, ServiceConnectivityType, ServiceTypeDetail, State, SubnetCidrReservation, TransitGatewayPrefixListReference, Volume, VpcEndpoint, VpnConnection, VpnGateway } from "./models_2";
|
|
3
|
+
import { ConnectionNotification, DnsEntry, DnsNameState, IpAddressType, PayerResponsibility, ServiceConfiguration, ServiceConnectivityType, ServiceTypeDetail, SSEType, State, SubnetCidrReservation, TransitGatewayPrefixListReference, Volume, VpcEndpoint, VpnConnection, VpnGateway } from "./models_2";
|
|
4
4
|
import { AttributeBooleanValue, ExportTaskS3Location, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchResourceType, FastLaunchSnapshotConfigurationResponse, FastLaunchStateCode, FastSnapshotRestoreStateCode, Filter, IpamPoolCidr, MetricType, PaymentOption, PeriodType, ProductCode, StatisticType, VirtualizationType } from "./models_3";
|
|
5
|
-
import { AnalysisStatus, ArchitectureType,
|
|
5
|
+
import { AnalysisStatus, ArchitectureType, VerifiedAccessLogDeliveryStatusCode } from "./models_4";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
* <p>Describes a log delivery status.</p>
|
|
9
|
+
*/
|
|
10
|
+
export interface VerifiedAccessLogDeliveryStatus {
|
|
11
|
+
/**
|
|
12
|
+
* <p>The status code.</p>
|
|
13
|
+
*/
|
|
14
|
+
Code?: VerifiedAccessLogDeliveryStatusCode | string;
|
|
15
|
+
/**
|
|
16
|
+
* <p>The status message.</p>
|
|
17
|
+
*/
|
|
18
|
+
Message?: string;
|
|
19
|
+
}
|
|
6
20
|
/**
|
|
7
21
|
* @public
|
|
8
22
|
* <p>Options for CloudWatch Logs as a logging destination.</p>
|
|
@@ -4341,6 +4355,10 @@ export interface GetEbsEncryptionByDefaultResult {
|
|
|
4341
4355
|
* <p>Indicates whether encryption by default is enabled.</p>
|
|
4342
4356
|
*/
|
|
4343
4357
|
EbsEncryptionByDefault?: boolean;
|
|
4358
|
+
/**
|
|
4359
|
+
* <p>Reserved for future use.</p>
|
|
4360
|
+
*/
|
|
4361
|
+
SseType?: SSEType | string;
|
|
4344
4362
|
}
|
|
4345
4363
|
/**
|
|
4346
4364
|
* @public
|
|
@@ -6620,28 +6638,6 @@ export interface ImportClientVpnClientCertificateRevocationListResult {
|
|
|
6620
6638
|
*/
|
|
6621
6639
|
Return?: boolean;
|
|
6622
6640
|
}
|
|
6623
|
-
/**
|
|
6624
|
-
* @public
|
|
6625
|
-
* <p>Describes the client-specific data.</p>
|
|
6626
|
-
*/
|
|
6627
|
-
export interface ClientData {
|
|
6628
|
-
/**
|
|
6629
|
-
* <p>A user-defined comment about the disk upload.</p>
|
|
6630
|
-
*/
|
|
6631
|
-
Comment?: string;
|
|
6632
|
-
/**
|
|
6633
|
-
* <p>The time that the disk upload ends.</p>
|
|
6634
|
-
*/
|
|
6635
|
-
UploadEnd?: Date;
|
|
6636
|
-
/**
|
|
6637
|
-
* <p>The size of the uploaded disk image, in GiB.</p>
|
|
6638
|
-
*/
|
|
6639
|
-
UploadSize?: number;
|
|
6640
|
-
/**
|
|
6641
|
-
* <p>The time that the disk upload starts.</p>
|
|
6642
|
-
*/
|
|
6643
|
-
UploadStart?: Date;
|
|
6644
|
-
}
|
|
6645
6641
|
/**
|
|
6646
6642
|
* @internal
|
|
6647
6643
|
*/
|
|
@@ -1,9 +1,31 @@
|
|
|
1
1
|
import { _InstanceType, AddedPrincipal, AddIpamOperatingRegion, AddPrefixListEntry, AddressAttribute, AddressAttributeName, Affinity, ApplianceModeSupportValue, AutoPlacement, ByoipCidr, ClientVpnAuthorizationRuleStatus, CurrencyCodeValues, DnsSupportValue, EnaSrdSpecification, EndDateType, HostMaintenance, HostRecovery, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, IpPermission, Ipv6SupportValue, PortRange, RouteTableAssociationState, Tag, TagSpecification, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessTrustProvider } from "./models_0";
|
|
2
2
|
import { AmdSevSnpSpecification, AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTarget, ClientConnectOptions, ClientLoginBannerOptions, ConnectionLogOptions, CreditSpecificationRequest, DiskImageFormat, ElasticGpuSpecification, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateConfigRequest, HostnameType, IcmpTypeCode, InstanceEventWindowTimeRangeRequest, InstanceInterruptionBehavior, InstanceIpv6Address, Ipam, IpamPool, IpamResourceDiscovery, IpamScope, LaunchTemplate, LocalGatewayRoute, ManagedPrefixList, MarketType, Placement, PlatformValues, RequestIpamResourceTag, RuleAction, SelfServicePortal, ShutdownBehavior, SpotInstanceType, TargetCapacitySpecificationRequest, VolumeType } from "./models_1";
|
|
3
|
-
import { AutoAcceptSharedAttachmentsValue, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DnsOptionsSpecification, IKEVersionsRequestListValue, IpAddressType, PayerResponsibility, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, SnapshotState, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorPortRangeRequest, TrafficMirrorRuleAction, TrafficMirrorSession, TransitGateway, TransitGatewayPrefixListReference, TransitGatewayRoute, VerifiedAccessEndpoint, VerifiedAccessEndpointProtocol, VerifiedAccessGroup, VpnConnection, VpnEcmpSupportValue, VpnTunnelLogOptionsSpecification } from "./models_2";
|
|
3
|
+
import { AutoAcceptSharedAttachmentsValue, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DnsOptionsSpecification, IKEVersionsRequestListValue, IpAddressType, PayerResponsibility, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, SnapshotState, SSEType, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorPortRangeRequest, TrafficMirrorRuleAction, TrafficMirrorSession, TransitGateway, TransitGatewayPrefixListReference, TransitGatewayRoute, VerifiedAccessEndpoint, VerifiedAccessEndpointProtocol, VerifiedAccessGroup, VpnConnection, VpnEcmpSupportValue, VpnTunnelLogOptionsSpecification } from "./models_2";
|
|
4
4
|
import { ArchitectureValues, AttributeBooleanValue, BootModeValues, ConversionTask, FpgaImageAttribute, FpgaImageAttributeName, ImdsSupportValues, ImportImageLicenseConfigurationResponse, InstanceAttributeName, InstanceTagNotificationAttribute, IpamPoolCidr, LaunchPermission, PermissionGroup, SnapshotDetail, SnapshotTaskDetail, TpmSupportValues } from "./models_3";
|
|
5
5
|
import { CreateVolumePermission, ExcessCapacityTerminationPolicy, HttpTokensState, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceNetworkInterfaceSpecification, InstanceStatusEvent, LaunchTemplateConfig, Monitoring, PublicIpv4PoolRange, ReservedInstancesConfiguration, RunInstancesMonitoringEnabled, ScheduledInstance, SnapshotAttributeName, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement } from "./models_4";
|
|
6
|
-
import {
|
|
6
|
+
import { InstanceFamilyCreditSpecification, IpamResourceCidr, Purchase, UnlimitedSupportedInstanceFamily, VerifiedAccessInstanceLoggingConfiguration, VolumeModification } from "./models_5";
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
* <p>Describes the client-specific data.</p>
|
|
10
|
+
*/
|
|
11
|
+
export interface ClientData {
|
|
12
|
+
/**
|
|
13
|
+
* <p>A user-defined comment about the disk upload.</p>
|
|
14
|
+
*/
|
|
15
|
+
Comment?: string;
|
|
16
|
+
/**
|
|
17
|
+
* <p>The time that the disk upload ends.</p>
|
|
18
|
+
*/
|
|
19
|
+
UploadEnd?: Date;
|
|
20
|
+
/**
|
|
21
|
+
* <p>The size of the uploaded disk image, in GiB.</p>
|
|
22
|
+
*/
|
|
23
|
+
UploadSize?: number;
|
|
24
|
+
/**
|
|
25
|
+
* <p>The time that the disk upload starts.</p>
|
|
26
|
+
*/
|
|
27
|
+
UploadStart?: Date;
|
|
28
|
+
}
|
|
7
29
|
/**
|
|
8
30
|
* @public
|
|
9
31
|
* <p>Describes the Amazon S3 bucket for the disk image.</p>
|
|
@@ -6334,6 +6356,10 @@ export interface RestoreSnapshotFromRecycleBinResult {
|
|
|
6334
6356
|
* <p>The size of the volume, in GiB.</p>
|
|
6335
6357
|
*/
|
|
6336
6358
|
VolumeSize?: number;
|
|
6359
|
+
/**
|
|
6360
|
+
* <p>Reserved for future use.</p>
|
|
6361
|
+
*/
|
|
6362
|
+
SseType?: SSEType | string;
|
|
6337
6363
|
}
|
|
6338
6364
|
/**
|
|
6339
6365
|
* @public
|
|
@@ -7264,64 +7290,6 @@ export interface ScheduledInstancesPrivateIpAddressConfig {
|
|
|
7264
7290
|
*/
|
|
7265
7291
|
PrivateIpAddress?: string;
|
|
7266
7292
|
}
|
|
7267
|
-
/**
|
|
7268
|
-
* @public
|
|
7269
|
-
* <p>Describes a network interface for a Scheduled Instance.</p>
|
|
7270
|
-
*/
|
|
7271
|
-
export interface ScheduledInstancesNetworkInterface {
|
|
7272
|
-
/**
|
|
7273
|
-
* <p>Indicates whether to assign a public IPv4 address to instances launched in a VPC. The
|
|
7274
|
-
* public IPv4 address can only be assigned to a network interface for eth0, and can only be
|
|
7275
|
-
* assigned to a new network interface, not an existing one. You cannot specify more than one
|
|
7276
|
-
* network interface in the request. If launching into a default subnet, the default value is
|
|
7277
|
-
* <code>true</code>.</p>
|
|
7278
|
-
*/
|
|
7279
|
-
AssociatePublicIpAddress?: boolean;
|
|
7280
|
-
/**
|
|
7281
|
-
* <p>Indicates whether to delete the interface when the instance is terminated.</p>
|
|
7282
|
-
*/
|
|
7283
|
-
DeleteOnTermination?: boolean;
|
|
7284
|
-
/**
|
|
7285
|
-
* <p>The description.</p>
|
|
7286
|
-
*/
|
|
7287
|
-
Description?: string;
|
|
7288
|
-
/**
|
|
7289
|
-
* <p>The index of the device for the network interface attachment.</p>
|
|
7290
|
-
*/
|
|
7291
|
-
DeviceIndex?: number;
|
|
7292
|
-
/**
|
|
7293
|
-
* <p>The IDs of the security groups.</p>
|
|
7294
|
-
*/
|
|
7295
|
-
Groups?: string[];
|
|
7296
|
-
/**
|
|
7297
|
-
* <p>The number of IPv6 addresses to assign to the network interface. The IPv6 addresses are automatically selected from the subnet range.</p>
|
|
7298
|
-
*/
|
|
7299
|
-
Ipv6AddressCount?: number;
|
|
7300
|
-
/**
|
|
7301
|
-
* <p>The specific IPv6 addresses from the subnet range.</p>
|
|
7302
|
-
*/
|
|
7303
|
-
Ipv6Addresses?: ScheduledInstancesIpv6Address[];
|
|
7304
|
-
/**
|
|
7305
|
-
* <p>The ID of the network interface.</p>
|
|
7306
|
-
*/
|
|
7307
|
-
NetworkInterfaceId?: string;
|
|
7308
|
-
/**
|
|
7309
|
-
* <p>The IPv4 address of the network interface within the subnet.</p>
|
|
7310
|
-
*/
|
|
7311
|
-
PrivateIpAddress?: string;
|
|
7312
|
-
/**
|
|
7313
|
-
* <p>The private IPv4 addresses.</p>
|
|
7314
|
-
*/
|
|
7315
|
-
PrivateIpAddressConfigs?: ScheduledInstancesPrivateIpAddressConfig[];
|
|
7316
|
-
/**
|
|
7317
|
-
* <p>The number of secondary private IPv4 addresses.</p>
|
|
7318
|
-
*/
|
|
7319
|
-
SecondaryPrivateIpAddressCount?: number;
|
|
7320
|
-
/**
|
|
7321
|
-
* <p>The ID of the subnet.</p>
|
|
7322
|
-
*/
|
|
7323
|
-
SubnetId?: string;
|
|
7324
|
-
}
|
|
7325
7293
|
/**
|
|
7326
7294
|
* @internal
|
|
7327
7295
|
*/
|
|
@@ -3,7 +3,65 @@ import { LocalGatewayRoute } from "./models_1";
|
|
|
3
3
|
import { TransitGatewayRoute } from "./models_2";
|
|
4
4
|
import { ClientVpnConnectionStatus, Filter } from "./models_3";
|
|
5
5
|
import { InstanceState, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis } from "./models_4";
|
|
6
|
-
import { InstanceMonitoring, ScheduledInstancesBlockDeviceMapping, ScheduledInstancesIamInstanceProfile, ScheduledInstancesMonitoring,
|
|
6
|
+
import { InstanceMonitoring, ScheduledInstancesBlockDeviceMapping, ScheduledInstancesIamInstanceProfile, ScheduledInstancesIpv6Address, ScheduledInstancesMonitoring, ScheduledInstancesPrivateIpAddressConfig } from "./models_6";
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
* <p>Describes a network interface for a Scheduled Instance.</p>
|
|
10
|
+
*/
|
|
11
|
+
export interface ScheduledInstancesNetworkInterface {
|
|
12
|
+
/**
|
|
13
|
+
* <p>Indicates whether to assign a public IPv4 address to instances launched in a VPC. The
|
|
14
|
+
* public IPv4 address can only be assigned to a network interface for eth0, and can only be
|
|
15
|
+
* assigned to a new network interface, not an existing one. You cannot specify more than one
|
|
16
|
+
* network interface in the request. If launching into a default subnet, the default value is
|
|
17
|
+
* <code>true</code>.</p>
|
|
18
|
+
*/
|
|
19
|
+
AssociatePublicIpAddress?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* <p>Indicates whether to delete the interface when the instance is terminated.</p>
|
|
22
|
+
*/
|
|
23
|
+
DeleteOnTermination?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* <p>The description.</p>
|
|
26
|
+
*/
|
|
27
|
+
Description?: string;
|
|
28
|
+
/**
|
|
29
|
+
* <p>The index of the device for the network interface attachment.</p>
|
|
30
|
+
*/
|
|
31
|
+
DeviceIndex?: number;
|
|
32
|
+
/**
|
|
33
|
+
* <p>The IDs of the security groups.</p>
|
|
34
|
+
*/
|
|
35
|
+
Groups?: string[];
|
|
36
|
+
/**
|
|
37
|
+
* <p>The number of IPv6 addresses to assign to the network interface. The IPv6 addresses are automatically selected from the subnet range.</p>
|
|
38
|
+
*/
|
|
39
|
+
Ipv6AddressCount?: number;
|
|
40
|
+
/**
|
|
41
|
+
* <p>The specific IPv6 addresses from the subnet range.</p>
|
|
42
|
+
*/
|
|
43
|
+
Ipv6Addresses?: ScheduledInstancesIpv6Address[];
|
|
44
|
+
/**
|
|
45
|
+
* <p>The ID of the network interface.</p>
|
|
46
|
+
*/
|
|
47
|
+
NetworkInterfaceId?: string;
|
|
48
|
+
/**
|
|
49
|
+
* <p>The IPv4 address of the network interface within the subnet.</p>
|
|
50
|
+
*/
|
|
51
|
+
PrivateIpAddress?: string;
|
|
52
|
+
/**
|
|
53
|
+
* <p>The private IPv4 addresses.</p>
|
|
54
|
+
*/
|
|
55
|
+
PrivateIpAddressConfigs?: ScheduledInstancesPrivateIpAddressConfig[];
|
|
56
|
+
/**
|
|
57
|
+
* <p>The number of secondary private IPv4 addresses.</p>
|
|
58
|
+
*/
|
|
59
|
+
SecondaryPrivateIpAddressCount?: number;
|
|
60
|
+
/**
|
|
61
|
+
* <p>The ID of the subnet.</p>
|
|
62
|
+
*/
|
|
63
|
+
SubnetId?: string;
|
|
64
|
+
}
|
|
7
65
|
/**
|
|
8
66
|
* @public
|
|
9
67
|
* <p>Describes the placement for a Scheduled Instance.</p>
|
|
@@ -206,6 +206,12 @@ export interface CreateSnapshotRequest {
|
|
|
206
206
|
TagSpecifications?: TagSpecification[];
|
|
207
207
|
DryRun?: boolean;
|
|
208
208
|
}
|
|
209
|
+
export declare const SSEType: {
|
|
210
|
+
readonly none: "none";
|
|
211
|
+
readonly sse_ebs: "sse-ebs";
|
|
212
|
+
readonly sse_kms: "sse-kms";
|
|
213
|
+
};
|
|
214
|
+
export type SSEType = (typeof SSEType)[keyof typeof SSEType];
|
|
209
215
|
export declare const SnapshotState: {
|
|
210
216
|
readonly completed: "completed";
|
|
211
217
|
readonly error: "error";
|
|
@@ -237,6 +243,7 @@ export interface Snapshot {
|
|
|
237
243
|
Tags?: Tag[];
|
|
238
244
|
StorageTier?: StorageTier | string;
|
|
239
245
|
RestoreExpiryTime?: Date;
|
|
246
|
+
SseType?: SSEType | string;
|
|
240
247
|
}
|
|
241
248
|
export declare const CopyTagsFromSource: {
|
|
242
249
|
readonly volume: "volume";
|
|
@@ -268,6 +275,7 @@ export interface SnapshotInfo {
|
|
|
268
275
|
OwnerId?: string;
|
|
269
276
|
SnapshotId?: string;
|
|
270
277
|
OutpostArn?: string;
|
|
278
|
+
SseType?: SSEType | string;
|
|
271
279
|
}
|
|
272
280
|
export interface CreateSnapshotsResult {
|
|
273
281
|
Snapshots?: SnapshotInfo[];
|
|
@@ -1078,6 +1086,7 @@ export interface Volume {
|
|
|
1078
1086
|
FastRestored?: boolean;
|
|
1079
1087
|
MultiAttachEnabled?: boolean;
|
|
1080
1088
|
Throughput?: number;
|
|
1089
|
+
SseType?: SSEType | string;
|
|
1081
1090
|
}
|
|
1082
1091
|
export interface CreateVpcRequest {
|
|
1083
1092
|
CidrBlock?: string;
|
|
@@ -1854,10 +1863,6 @@ export interface DeleteQueuedReservedInstancesError {
|
|
|
1854
1863
|
Code?: DeleteQueuedReservedInstancesErrorCode | string;
|
|
1855
1864
|
Message?: string;
|
|
1856
1865
|
}
|
|
1857
|
-
export interface FailedQueuedPurchaseDeletion {
|
|
1858
|
-
Error?: DeleteQueuedReservedInstancesError;
|
|
1859
|
-
ReservedInstancesId?: string;
|
|
1860
|
-
}
|
|
1861
1866
|
export declare const CreateVerifiedAccessTrustProviderOidcOptionsFilterSensitiveLog: (
|
|
1862
1867
|
obj: CreateVerifiedAccessTrustProviderOidcOptions
|
|
1863
1868
|
) => any;
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
TransportProtocol,
|
|
72
72
|
} from "./models_1";
|
|
73
73
|
import {
|
|
74
|
-
|
|
74
|
+
DeleteQueuedReservedInstancesError,
|
|
75
75
|
FleetStateCode,
|
|
76
76
|
SubnetCidrReservation,
|
|
77
77
|
TransitGateway,
|
|
@@ -86,6 +86,10 @@ import {
|
|
|
86
86
|
VerifiedAccessEndpoint,
|
|
87
87
|
VerifiedAccessGroup,
|
|
88
88
|
} from "./models_2";
|
|
89
|
+
export interface FailedQueuedPurchaseDeletion {
|
|
90
|
+
Error?: DeleteQueuedReservedInstancesError;
|
|
91
|
+
ReservedInstancesId?: string;
|
|
92
|
+
}
|
|
89
93
|
export interface SuccessfulQueuedPurchaseDeletion {
|
|
90
94
|
ReservedInstancesId?: string;
|
|
91
95
|
}
|
|
@@ -1830,9 +1834,6 @@ export declare const InstanceLifecycleType: {
|
|
|
1830
1834
|
};
|
|
1831
1835
|
export type InstanceLifecycleType =
|
|
1832
1836
|
(typeof InstanceLifecycleType)[keyof typeof InstanceLifecycleType];
|
|
1833
|
-
export interface LicenseConfiguration {
|
|
1834
|
-
LicenseConfigurationArn?: string;
|
|
1835
|
-
}
|
|
1836
1837
|
export declare const DeleteVerifiedAccessTrustProviderResultFilterSensitiveLog: (
|
|
1837
1838
|
obj: DeleteVerifiedAccessTrustProviderResult
|
|
1838
1839
|
) => any;
|
|
@@ -107,11 +107,13 @@ import {
|
|
|
107
107
|
InstanceBlockDeviceMapping,
|
|
108
108
|
InstanceBootModeValues,
|
|
109
109
|
InstanceLifecycleType,
|
|
110
|
-
LicenseConfiguration,
|
|
111
110
|
PermissionGroup,
|
|
112
111
|
ProductCode,
|
|
113
112
|
VirtualizationType,
|
|
114
113
|
} from "./models_3";
|
|
114
|
+
export interface LicenseConfiguration {
|
|
115
|
+
LicenseConfigurationArn?: string;
|
|
116
|
+
}
|
|
115
117
|
export declare const InstanceAutoRecoveryState: {
|
|
116
118
|
readonly default: "default";
|
|
117
119
|
readonly disabled: "disabled";
|
|
@@ -2080,10 +2082,6 @@ export declare const VerifiedAccessLogDeliveryStatusCode: {
|
|
|
2080
2082
|
};
|
|
2081
2083
|
export type VerifiedAccessLogDeliveryStatusCode =
|
|
2082
2084
|
(typeof VerifiedAccessLogDeliveryStatusCode)[keyof typeof VerifiedAccessLogDeliveryStatusCode];
|
|
2083
|
-
export interface VerifiedAccessLogDeliveryStatus {
|
|
2084
|
-
Code?: VerifiedAccessLogDeliveryStatusCode | string;
|
|
2085
|
-
Message?: string;
|
|
2086
|
-
}
|
|
2087
2085
|
export declare const DescribeLaunchTemplateVersionsResultFilterSensitiveLog: (
|
|
2088
2086
|
obj: DescribeLaunchTemplateVersionsResult
|
|
2089
2087
|
) => any;
|
|
@@ -46,6 +46,7 @@ import {
|
|
|
46
46
|
ServiceConfiguration,
|
|
47
47
|
ServiceConnectivityType,
|
|
48
48
|
ServiceTypeDetail,
|
|
49
|
+
SSEType,
|
|
49
50
|
State,
|
|
50
51
|
SubnetCidrReservation,
|
|
51
52
|
TransitGatewayPrefixListReference,
|
|
@@ -74,8 +75,12 @@ import {
|
|
|
74
75
|
import {
|
|
75
76
|
AnalysisStatus,
|
|
76
77
|
ArchitectureType,
|
|
77
|
-
|
|
78
|
+
VerifiedAccessLogDeliveryStatusCode,
|
|
78
79
|
} from "./models_4";
|
|
80
|
+
export interface VerifiedAccessLogDeliveryStatus {
|
|
81
|
+
Code?: VerifiedAccessLogDeliveryStatusCode | string;
|
|
82
|
+
Message?: string;
|
|
83
|
+
}
|
|
79
84
|
export interface VerifiedAccessLogCloudWatchLogsDestination {
|
|
80
85
|
Enabled?: boolean;
|
|
81
86
|
DeliveryStatus?: VerifiedAccessLogDeliveryStatus;
|
|
@@ -1072,6 +1077,7 @@ export interface GetEbsEncryptionByDefaultRequest {
|
|
|
1072
1077
|
}
|
|
1073
1078
|
export interface GetEbsEncryptionByDefaultResult {
|
|
1074
1079
|
EbsEncryptionByDefault?: boolean;
|
|
1080
|
+
SseType?: SSEType | string;
|
|
1075
1081
|
}
|
|
1076
1082
|
export declare const PartitionLoadFrequency: {
|
|
1077
1083
|
readonly DAILY: "daily";
|
|
@@ -1656,12 +1662,6 @@ export interface ImportClientVpnClientCertificateRevocationListRequest {
|
|
|
1656
1662
|
export interface ImportClientVpnClientCertificateRevocationListResult {
|
|
1657
1663
|
Return?: boolean;
|
|
1658
1664
|
}
|
|
1659
|
-
export interface ClientData {
|
|
1660
|
-
Comment?: string;
|
|
1661
|
-
UploadEnd?: Date;
|
|
1662
|
-
UploadSize?: number;
|
|
1663
|
-
UploadStart?: Date;
|
|
1664
|
-
}
|
|
1665
1665
|
export declare const DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog: (
|
|
1666
1666
|
obj: DescribeVerifiedAccessTrustProvidersResult
|
|
1667
1667
|
) => any;
|
|
@@ -84,6 +84,7 @@ import {
|
|
|
84
84
|
Phase2EncryptionAlgorithmsRequestListValue,
|
|
85
85
|
Phase2IntegrityAlgorithmsRequestListValue,
|
|
86
86
|
SnapshotState,
|
|
87
|
+
SSEType,
|
|
87
88
|
TrafficDirection,
|
|
88
89
|
TrafficMirrorFilter,
|
|
89
90
|
TrafficMirrorFilterRule,
|
|
@@ -142,7 +143,6 @@ import {
|
|
|
142
143
|
SpotPlacement,
|
|
143
144
|
} from "./models_4";
|
|
144
145
|
import {
|
|
145
|
-
ClientData,
|
|
146
146
|
InstanceFamilyCreditSpecification,
|
|
147
147
|
IpamResourceCidr,
|
|
148
148
|
Purchase,
|
|
@@ -150,6 +150,12 @@ import {
|
|
|
150
150
|
VerifiedAccessInstanceLoggingConfiguration,
|
|
151
151
|
VolumeModification,
|
|
152
152
|
} from "./models_5";
|
|
153
|
+
export interface ClientData {
|
|
154
|
+
Comment?: string;
|
|
155
|
+
UploadEnd?: Date;
|
|
156
|
+
UploadSize?: number;
|
|
157
|
+
UploadStart?: Date;
|
|
158
|
+
}
|
|
153
159
|
export interface UserBucket {
|
|
154
160
|
S3Bucket?: string;
|
|
155
161
|
S3Key?: string;
|
|
@@ -1685,6 +1691,7 @@ export interface RestoreSnapshotFromRecycleBinResult {
|
|
|
1685
1691
|
State?: SnapshotState | string;
|
|
1686
1692
|
VolumeId?: string;
|
|
1687
1693
|
VolumeSize?: number;
|
|
1694
|
+
SseType?: SSEType | string;
|
|
1688
1695
|
}
|
|
1689
1696
|
export interface RestoreSnapshotTierRequest {
|
|
1690
1697
|
SnapshotId: string | undefined;
|
|
@@ -1860,20 +1867,6 @@ export interface ScheduledInstancesPrivateIpAddressConfig {
|
|
|
1860
1867
|
Primary?: boolean;
|
|
1861
1868
|
PrivateIpAddress?: string;
|
|
1862
1869
|
}
|
|
1863
|
-
export interface ScheduledInstancesNetworkInterface {
|
|
1864
|
-
AssociatePublicIpAddress?: boolean;
|
|
1865
|
-
DeleteOnTermination?: boolean;
|
|
1866
|
-
Description?: string;
|
|
1867
|
-
DeviceIndex?: number;
|
|
1868
|
-
Groups?: string[];
|
|
1869
|
-
Ipv6AddressCount?: number;
|
|
1870
|
-
Ipv6Addresses?: ScheduledInstancesIpv6Address[];
|
|
1871
|
-
NetworkInterfaceId?: string;
|
|
1872
|
-
PrivateIpAddress?: string;
|
|
1873
|
-
PrivateIpAddressConfigs?: ScheduledInstancesPrivateIpAddressConfig[];
|
|
1874
|
-
SecondaryPrivateIpAddressCount?: number;
|
|
1875
|
-
SubnetId?: string;
|
|
1876
|
-
}
|
|
1877
1870
|
export declare const ImageDiskContainerFilterSensitiveLog: (
|
|
1878
1871
|
obj: ImageDiskContainer
|
|
1879
1872
|
) => any;
|
|
@@ -17,9 +17,24 @@ import {
|
|
|
17
17
|
InstanceMonitoring,
|
|
18
18
|
ScheduledInstancesBlockDeviceMapping,
|
|
19
19
|
ScheduledInstancesIamInstanceProfile,
|
|
20
|
+
ScheduledInstancesIpv6Address,
|
|
20
21
|
ScheduledInstancesMonitoring,
|
|
21
|
-
|
|
22
|
+
ScheduledInstancesPrivateIpAddressConfig,
|
|
22
23
|
} from "./models_6";
|
|
24
|
+
export interface ScheduledInstancesNetworkInterface {
|
|
25
|
+
AssociatePublicIpAddress?: boolean;
|
|
26
|
+
DeleteOnTermination?: boolean;
|
|
27
|
+
Description?: string;
|
|
28
|
+
DeviceIndex?: number;
|
|
29
|
+
Groups?: string[];
|
|
30
|
+
Ipv6AddressCount?: number;
|
|
31
|
+
Ipv6Addresses?: ScheduledInstancesIpv6Address[];
|
|
32
|
+
NetworkInterfaceId?: string;
|
|
33
|
+
PrivateIpAddress?: string;
|
|
34
|
+
PrivateIpAddressConfigs?: ScheduledInstancesPrivateIpAddressConfig[];
|
|
35
|
+
SecondaryPrivateIpAddressCount?: number;
|
|
36
|
+
SubnetId?: string;
|
|
37
|
+
}
|
|
23
38
|
export interface ScheduledInstancesPlacement {
|
|
24
39
|
AvailabilityZone?: string;
|
|
25
40
|
GroupName?: string;
|
|
@@ -21,9 +21,10 @@ export * from "./waitForSnapshotImported";
|
|
|
21
21
|
export * from "./waitForSecurityGroupExists";
|
|
22
22
|
export * from "./waitForSnapshotCompleted";
|
|
23
23
|
export * from "./waitForSpotInstanceRequestFulfilled";
|
|
24
|
+
export * from "./waitForStoreImageTaskComplete";
|
|
24
25
|
export * from "./waitForSubnetAvailable";
|
|
25
|
-
export * from "./waitForPasswordDataAvailable";
|
|
26
26
|
export * from "./waitForSystemStatusOk";
|
|
27
|
+
export * from "./waitForPasswordDataAvailable";
|
|
27
28
|
export * from "./waitForVolumeAvailable";
|
|
28
29
|
export * from "./waitForVolumeDeleted";
|
|
29
30
|
export * from "./waitForVolumeInUse";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
|
+
import { DescribeStoreImageTasksCommandInput } from "../commands/DescribeStoreImageTasksCommand";
|
|
3
|
+
import { EC2Client } from "../EC2Client";
|
|
4
|
+
export declare const waitForStoreImageTaskComplete: (
|
|
5
|
+
params: WaiterConfiguration<EC2Client>,
|
|
6
|
+
input: DescribeStoreImageTasksCommandInput
|
|
7
|
+
) => Promise<WaiterResult>;
|
|
8
|
+
export declare const waitUntilStoreImageTaskComplete: (
|
|
9
|
+
params: WaiterConfiguration<EC2Client>,
|
|
10
|
+
input: DescribeStoreImageTasksCommandInput
|
|
11
|
+
) => Promise<WaiterResult>;
|
|
@@ -21,9 +21,10 @@ export * from "./waitForSnapshotImported";
|
|
|
21
21
|
export * from "./waitForSecurityGroupExists";
|
|
22
22
|
export * from "./waitForSnapshotCompleted";
|
|
23
23
|
export * from "./waitForSpotInstanceRequestFulfilled";
|
|
24
|
+
export * from "./waitForStoreImageTaskComplete";
|
|
24
25
|
export * from "./waitForSubnetAvailable";
|
|
25
|
-
export * from "./waitForPasswordDataAvailable";
|
|
26
26
|
export * from "./waitForSystemStatusOk";
|
|
27
|
+
export * from "./waitForPasswordDataAvailable";
|
|
27
28
|
export * from "./waitForVolumeAvailable";
|
|
28
29
|
export * from "./waitForVolumeDeleted";
|
|
29
30
|
export * from "./waitForVolumeInUse";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
|
+
import { DescribeStoreImageTasksCommandInput } from "../commands/DescribeStoreImageTasksCommand";
|
|
3
|
+
import { EC2Client } from "../EC2Client";
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* @deprecated Use waitUntilStoreImageTaskComplete instead. waitForStoreImageTaskComplete does not throw error in non-success cases.
|
|
7
|
+
*/
|
|
8
|
+
export declare const waitForStoreImageTaskComplete: (params: WaiterConfiguration<EC2Client>, input: DescribeStoreImageTasksCommandInput) => Promise<WaiterResult>;
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
* @param params - Waiter configuration options.
|
|
12
|
+
* @param input - The input to DescribeStoreImageTasksCommand for polling.
|
|
13
|
+
*/
|
|
14
|
+
export declare const waitUntilStoreImageTaskComplete: (params: WaiterConfiguration<EC2Client>, input: DescribeStoreImageTasksCommandInput) => Promise<WaiterResult>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ec2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ec2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.379.1",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,14 +21,14 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.379.1",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.379.1",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.379.1",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.378.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.378.0",
|
|
29
29
|
"@aws-sdk/middleware-sdk-ec2": "3.378.0",
|
|
30
|
-
"@aws-sdk/middleware-signing": "3.
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-signing": "3.379.1",
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "3.379.1",
|
|
32
32
|
"@aws-sdk/types": "3.378.0",
|
|
33
33
|
"@aws-sdk/util-endpoints": "3.378.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.378.0",
|