@aws-sdk/client-ec2 3.370.0 → 3.371.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/commands/RunScheduledInstancesCommand.js +2 -2
- package/dist-cjs/models/models_4.js +6 -2
- package/dist-cjs/models/models_5.js +1 -6
- package/dist-cjs/models/models_6.js +7 -12
- package/dist-cjs/models/models_7.js +11 -1
- package/dist-cjs/protocols/Aws_ec2.js +23 -0
- package/dist-es/commands/RunScheduledInstancesCommand.js +1 -1
- package/dist-es/models/models_4.js +4 -0
- package/dist-es/models/models_5.js +0 -4
- package/dist-es/models/models_6.js +4 -8
- package/dist-es/models/models_7.js +8 -0
- package/dist-es/protocols/Aws_ec2.js +23 -0
- package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +6 -0
- package/dist-types/commands/RunScheduledInstancesCommand.d.ts +1 -2
- package/dist-types/models/models_4.d.ts +30 -44
- package/dist-types/models/models_5.d.ts +45 -48
- package/dist-types/models/models_6.d.ts +46 -104
- package/dist-types/models/models_7.d.ts +106 -1
- package/dist-types/ts3.4/commands/RunScheduledInstancesCommand.d.ts +4 -2
- package/dist-types/ts3.4/models/models_4.d.ts +11 -12
- package/dist-types/ts3.4/models/models_5.d.ts +13 -16
- package/dist-types/ts3.4/models/models_6.d.ts +14 -31
- package/dist-types/ts3.4/models/models_7.d.ts +37 -1
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const models_7_1 = require("../models/models_7");
|
|
9
9
|
const Aws_ec2_1 = require("../protocols/Aws_ec2");
|
|
10
10
|
class RunScheduledInstancesCommand extends smithy_client_1.Command {
|
|
11
11
|
static getEndpointParameterInstructions() {
|
|
@@ -31,7 +31,7 @@ class RunScheduledInstancesCommand extends smithy_client_1.Command {
|
|
|
31
31
|
logger,
|
|
32
32
|
clientName,
|
|
33
33
|
commandName,
|
|
34
|
-
inputFilterSensitiveLog:
|
|
34
|
+
inputFilterSensitiveLog: models_7_1.RunScheduledInstancesRequestFilterSensitiveLog,
|
|
35
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
36
|
};
|
|
37
37
|
const { requestHandler } = configuration;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.DescribeSpotInstanceRequestsResultFilterSensitiveLog = exports.SpotInstanceRequestFilterSensitiveLog = exports.LaunchSpecificationFilterSensitiveLog = exports.DescribeSpotFleetRequestsResponseFilterSensitiveLog = void 0;
|
|
3
|
+
exports.SpotFleetRequestConfigDataFilterSensitiveLog = exports.SpotFleetLaunchSpecificationFilterSensitiveLog = exports.DescribeLaunchTemplateVersionsResultFilterSensitiveLog = exports.VerifiedAccessLogDeliveryStatusCode = exports.SpotInstanceState = exports.ReplacementStrategy = exports.OnDemandAllocationStrategy = exports.ExcessCapacityTerminationPolicy = exports.EventType = exports.TieringOperationStatus = exports.SnapshotAttributeName = exports.ReservedInstanceState = exports.Scope = exports.RecurringChargeFrequency = exports.RIProductDescription = exports.OfferingTypeValues = exports.OfferingClassType = exports.NetworkInterfaceAttribute = exports.AnalysisStatus = exports.FindingsFound = exports.MoveStatus = exports.UsageClassType = exports.RootDeviceType = exports.BootModeType = exports.SupportedAdditionalProcessorFeature = exports.ArchitectureType = exports.PlacementGroupStrategy = exports.NitroTpmSupport = exports.NitroEnclavesSupport = exports.EnaSupport = exports.EphemeralNvmeSupport = exports.InstanceStorageEncryptionSupport = exports.DiskType = exports.InstanceTypeHypervisor = exports.EbsNvmeSupport = exports.EbsEncryptionSupport = exports.EbsOptimizedSupport = exports.LocationType = exports.SummaryStatus = exports.StatusType = exports.StatusName = exports.EventCode = exports.InstanceStateName = exports.MonitoringState = exports.InstanceMetadataOptionsState = exports.InstanceMetadataTagsState = exports.HttpTokensState = exports.InstanceMetadataProtocolState = exports.InstanceMetadataEndpointState = exports.InstanceAutoRecoveryState = void 0;
|
|
4
|
+
exports.DescribeSpotInstanceRequestsResultFilterSensitiveLog = exports.SpotInstanceRequestFilterSensitiveLog = exports.LaunchSpecificationFilterSensitiveLog = exports.DescribeSpotFleetRequestsResponseFilterSensitiveLog = exports.SpotFleetRequestConfigFilterSensitiveLog = void 0;
|
|
5
5
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
6
|
const models_1_1 = require("./models_1");
|
|
7
7
|
exports.InstanceAutoRecoveryState = {
|
|
@@ -110,6 +110,10 @@ exports.NitroEnclavesSupport = {
|
|
|
110
110
|
SUPPORTED: "supported",
|
|
111
111
|
UNSUPPORTED: "unsupported",
|
|
112
112
|
};
|
|
113
|
+
exports.NitroTpmSupport = {
|
|
114
|
+
SUPPORTED: "supported",
|
|
115
|
+
UNSUPPORTED: "unsupported",
|
|
116
|
+
};
|
|
113
117
|
exports.PlacementGroupStrategy = {
|
|
114
118
|
cluster: "cluster",
|
|
115
119
|
partition: "partition",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog = exports.GetLaunchTemplateDataResultFilterSensitiveLog = exports.DetachVerifiedAccessTrustProviderResultFilterSensitiveLog = exports.DescribeVpnConnectionsResultFilterSensitiveLog = exports.DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog = exports.IpamManagementState = exports.IpamResourceType = exports.IpamDiscoveryFailureCode = exports.IpamAddressHistoryResourceType = exports.IpamOverlapStatus = exports.IpamComplianceStatus = exports.PartitionLoadFrequency = exports.UnlimitedSupportedInstanceFamily = exports.ClientCertificateRevocationListStatusCode = exports.TransitGatewayPropagationState = exports.VpcAttributeName = exports.VolumeStatusInfoStatus = exports.VolumeStatusName = exports.VolumeModificationState = exports.VolumeAttributeName = void 0;
|
|
4
4
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
const models_0_1 = require("./models_0");
|
|
6
6
|
const models_1_1 = require("./models_1");
|
|
@@ -119,8 +119,3 @@ const GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog = (obj)
|
|
|
119
119
|
...(obj.VpnConnectionDeviceSampleConfiguration && { VpnConnectionDeviceSampleConfiguration: smithy_client_1.SENSITIVE_STRING }),
|
|
120
120
|
});
|
|
121
121
|
exports.GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog = GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog;
|
|
122
|
-
const ImageDiskContainerFilterSensitiveLog = (obj) => ({
|
|
123
|
-
...obj,
|
|
124
|
-
...(obj.Url && { Url: smithy_client_1.SENSITIVE_STRING }),
|
|
125
|
-
});
|
|
126
|
-
exports.ImageDiskContainerFilterSensitiveLog = ImageDiskContainerFilterSensitiveLog;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.RunInstancesRequestFilterSensitiveLog = exports.RequestSpotInstancesResultFilterSensitiveLog = exports.RequestSpotInstancesRequestFilterSensitiveLog = exports.RequestSpotLaunchSpecificationFilterSensitiveLog = exports.RequestSpotFleetRequestFilterSensitiveLog = exports.ModifyVpnTunnelOptionsResultFilterSensitiveLog = exports.ModifyVpnTunnelOptionsRequestFilterSensitiveLog = exports.ModifyVpnTunnelOptionsSpecificationFilterSensitiveLog = exports.ModifyVpnTunnelCertificateResultFilterSensitiveLog = exports.ModifyVpnConnectionOptionsResultFilterSensitiveLog = exports.ModifyVpnConnectionResultFilterSensitiveLog = exports.ModifyVerifiedAccessTrustProviderResultFilterSensitiveLog = exports.ModifyVerifiedAccessTrustProviderRequestFilterSensitiveLog = exports.ModifyVerifiedAccessTrustProviderOidcOptionsFilterSensitiveLog = exports.ImportVolumeResultFilterSensitiveLog = exports.ImportVolumeRequestFilterSensitiveLog = exports.ImportSnapshotResultFilterSensitiveLog = exports.ImportSnapshotRequestFilterSensitiveLog = exports.SnapshotDiskContainerFilterSensitiveLog = exports.ImportInstanceResultFilterSensitiveLog = exports.ImportInstanceRequestFilterSensitiveLog = exports.ImportInstanceLaunchSpecificationFilterSensitiveLog = exports.UserDataFilterSensitiveLog = exports.DiskImageFilterSensitiveLog = exports.DiskImageDetailFilterSensitiveLog = exports.ImportImageResultFilterSensitiveLog = exports.ImportImageRequestFilterSensitiveLog = exports.ImageDiskContainerFilterSensitiveLog = exports.ResetImageAttributeName = exports.ResetFpgaImageAttributeName = exports.ReportStatusType = exports.ReportInstanceReasonCodes = exports.Status = exports.VpcTenancy = exports.TrafficMirrorSessionField = exports.TrafficMirrorFilterRuleField = exports.TargetStorageTier = exports.HostTenancy = exports.UnsuccessfulInstanceCreditSpecificationErrorCode = exports.OperationType = exports.ModifyAvailabilityZoneOptInStatus = void 0;
|
|
4
4
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
const models_0_1 = require("./models_0");
|
|
6
6
|
const models_2_1 = require("./models_2");
|
|
7
7
|
const models_3_1 = require("./models_3");
|
|
8
8
|
const models_4_1 = require("./models_4");
|
|
9
|
-
const models_5_1 = require("./models_5");
|
|
10
9
|
exports.ModifyAvailabilityZoneOptInStatus = {
|
|
11
10
|
not_opted_in: "not-opted-in",
|
|
12
11
|
opted_in: "opted-in",
|
|
@@ -68,10 +67,15 @@ exports.ResetFpgaImageAttributeName = {
|
|
|
68
67
|
exports.ResetImageAttributeName = {
|
|
69
68
|
launchPermission: "launchPermission",
|
|
70
69
|
};
|
|
70
|
+
const ImageDiskContainerFilterSensitiveLog = (obj) => ({
|
|
71
|
+
...obj,
|
|
72
|
+
...(obj.Url && { Url: smithy_client_1.SENSITIVE_STRING }),
|
|
73
|
+
});
|
|
74
|
+
exports.ImageDiskContainerFilterSensitiveLog = ImageDiskContainerFilterSensitiveLog;
|
|
71
75
|
const ImportImageRequestFilterSensitiveLog = (obj) => ({
|
|
72
76
|
...obj,
|
|
73
77
|
...(obj.DiskContainers && {
|
|
74
|
-
DiskContainers: obj.DiskContainers.map((item) => (0,
|
|
78
|
+
DiskContainers: obj.DiskContainers.map((item) => (0, exports.ImageDiskContainerFilterSensitiveLog)(item)),
|
|
75
79
|
}),
|
|
76
80
|
});
|
|
77
81
|
exports.ImportImageRequestFilterSensitiveLog = ImportImageRequestFilterSensitiveLog;
|
|
@@ -219,12 +223,3 @@ const RunInstancesRequestFilterSensitiveLog = (obj) => ({
|
|
|
219
223
|
...(obj.UserData && { UserData: smithy_client_1.SENSITIVE_STRING }),
|
|
220
224
|
});
|
|
221
225
|
exports.RunInstancesRequestFilterSensitiveLog = RunInstancesRequestFilterSensitiveLog;
|
|
222
|
-
const ScheduledInstancesLaunchSpecificationFilterSensitiveLog = (obj) => ({
|
|
223
|
-
...obj,
|
|
224
|
-
});
|
|
225
|
-
exports.ScheduledInstancesLaunchSpecificationFilterSensitiveLog = ScheduledInstancesLaunchSpecificationFilterSensitiveLog;
|
|
226
|
-
const RunScheduledInstancesRequestFilterSensitiveLog = (obj) => ({
|
|
227
|
-
...obj,
|
|
228
|
-
...(obj.LaunchSpecification && { LaunchSpecification: smithy_client_1.SENSITIVE_STRING }),
|
|
229
|
-
});
|
|
230
|
-
exports.RunScheduledInstancesRequestFilterSensitiveLog = RunScheduledInstancesRequestFilterSensitiveLog;
|
|
@@ -1,7 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MembershipType = void 0;
|
|
3
|
+
exports.RunScheduledInstancesRequestFilterSensitiveLog = exports.ScheduledInstancesLaunchSpecificationFilterSensitiveLog = exports.MembershipType = void 0;
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
4
5
|
exports.MembershipType = {
|
|
5
6
|
igmp: "igmp",
|
|
6
7
|
static: "static",
|
|
7
8
|
};
|
|
9
|
+
const ScheduledInstancesLaunchSpecificationFilterSensitiveLog = (obj) => ({
|
|
10
|
+
...obj,
|
|
11
|
+
});
|
|
12
|
+
exports.ScheduledInstancesLaunchSpecificationFilterSensitiveLog = ScheduledInstancesLaunchSpecificationFilterSensitiveLog;
|
|
13
|
+
const RunScheduledInstancesRequestFilterSensitiveLog = (obj) => ({
|
|
14
|
+
...obj,
|
|
15
|
+
...(obj.LaunchSpecification && { LaunchSpecification: smithy_client_1.SENSITIVE_STRING }),
|
|
16
|
+
});
|
|
17
|
+
exports.RunScheduledInstancesRequestFilterSensitiveLog = RunScheduledInstancesRequestFilterSensitiveLog;
|
|
@@ -55159,6 +55159,12 @@ const de_InstanceTypeInfo = (output, context) => {
|
|
|
55159
55159
|
if (output["nitroEnclavesSupport"] !== undefined) {
|
|
55160
55160
|
contents.NitroEnclavesSupport = (0, smithy_client_1.expectString)(output["nitroEnclavesSupport"]);
|
|
55161
55161
|
}
|
|
55162
|
+
if (output["nitroTpmSupport"] !== undefined) {
|
|
55163
|
+
contents.NitroTpmSupport = (0, smithy_client_1.expectString)(output["nitroTpmSupport"]);
|
|
55164
|
+
}
|
|
55165
|
+
if (output["nitroTpmInfo"] !== undefined) {
|
|
55166
|
+
contents.NitroTpmInfo = de_NitroTpmInfo(output["nitroTpmInfo"], context);
|
|
55167
|
+
}
|
|
55162
55168
|
return contents;
|
|
55163
55169
|
};
|
|
55164
55170
|
const de_InstanceTypeInfoFromInstanceRequirements = (output, context) => {
|
|
@@ -58399,6 +58405,23 @@ const de_NetworkInterfacePrivateIpAddressList = (output, context) => {
|
|
|
58399
58405
|
return de_NetworkInterfacePrivateIpAddress(entry, context);
|
|
58400
58406
|
});
|
|
58401
58407
|
};
|
|
58408
|
+
const de_NitroTpmInfo = (output, context) => {
|
|
58409
|
+
const contents = {};
|
|
58410
|
+
if (output.supportedVersions === "") {
|
|
58411
|
+
contents.SupportedVersions = [];
|
|
58412
|
+
}
|
|
58413
|
+
else if (output["supportedVersions"] !== undefined && output["supportedVersions"]["item"] !== undefined) {
|
|
58414
|
+
contents.SupportedVersions = de_NitroTpmSupportedVersionsList((0, smithy_client_1.getArrayIfSingleItem)(output["supportedVersions"]["item"]), context);
|
|
58415
|
+
}
|
|
58416
|
+
return contents;
|
|
58417
|
+
};
|
|
58418
|
+
const de_NitroTpmSupportedVersionsList = (output, context) => {
|
|
58419
|
+
return (output || [])
|
|
58420
|
+
.filter((e) => e != null)
|
|
58421
|
+
.map((entry) => {
|
|
58422
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
58423
|
+
});
|
|
58424
|
+
};
|
|
58402
58425
|
const de_OccurrenceDaySet = (output, context) => {
|
|
58403
58426
|
return (output || [])
|
|
58404
58427
|
.filter((e) => e != null)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import { RunScheduledInstancesRequestFilterSensitiveLog } from "../models/
|
|
4
|
+
import { RunScheduledInstancesRequestFilterSensitiveLog, } from "../models/models_7";
|
|
5
5
|
import { de_RunScheduledInstancesCommand, se_RunScheduledInstancesCommand } from "../protocols/Aws_ec2";
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class RunScheduledInstancesCommand extends $Command {
|
|
@@ -106,6 +106,10 @@ export const NitroEnclavesSupport = {
|
|
|
106
106
|
SUPPORTED: "supported",
|
|
107
107
|
UNSUPPORTED: "unsupported",
|
|
108
108
|
};
|
|
109
|
+
export const NitroTpmSupport = {
|
|
110
|
+
SUPPORTED: "supported",
|
|
111
|
+
UNSUPPORTED: "unsupported",
|
|
112
|
+
};
|
|
109
113
|
export const PlacementGroupStrategy = {
|
|
110
114
|
cluster: "cluster",
|
|
111
115
|
partition: "partition",
|
|
@@ -111,7 +111,3 @@ export const GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog =
|
|
|
111
111
|
...obj,
|
|
112
112
|
...(obj.VpnConnectionDeviceSampleConfiguration && { VpnConnectionDeviceSampleConfiguration: SENSITIVE_STRING }),
|
|
113
113
|
});
|
|
114
|
-
export const ImageDiskContainerFilterSensitiveLog = (obj) => ({
|
|
115
|
-
...obj,
|
|
116
|
-
...(obj.Url && { Url: SENSITIVE_STRING }),
|
|
117
|
-
});
|
|
@@ -3,7 +3,6 @@ import { VerifiedAccessTrustProviderFilterSensitiveLog, } from "./models_0";
|
|
|
3
3
|
import { VpnConnectionFilterSensitiveLog, } from "./models_2";
|
|
4
4
|
import { ConversionTaskFilterSensitiveLog, SnapshotDetailFilterSensitiveLog, SnapshotTaskDetailFilterSensitiveLog, } from "./models_3";
|
|
5
5
|
import { SpotFleetRequestConfigDataFilterSensitiveLog, SpotInstanceRequestFilterSensitiveLog, } from "./models_4";
|
|
6
|
-
import { ImageDiskContainerFilterSensitiveLog, } from "./models_5";
|
|
7
6
|
export const ModifyAvailabilityZoneOptInStatus = {
|
|
8
7
|
not_opted_in: "not-opted-in",
|
|
9
8
|
opted_in: "opted-in",
|
|
@@ -65,6 +64,10 @@ export const ResetFpgaImageAttributeName = {
|
|
|
65
64
|
export const ResetImageAttributeName = {
|
|
66
65
|
launchPermission: "launchPermission",
|
|
67
66
|
};
|
|
67
|
+
export const ImageDiskContainerFilterSensitiveLog = (obj) => ({
|
|
68
|
+
...obj,
|
|
69
|
+
...(obj.Url && { Url: SENSITIVE_STRING }),
|
|
70
|
+
});
|
|
68
71
|
export const ImportImageRequestFilterSensitiveLog = (obj) => ({
|
|
69
72
|
...obj,
|
|
70
73
|
...(obj.DiskContainers && {
|
|
@@ -189,10 +192,3 @@ export const RunInstancesRequestFilterSensitiveLog = (obj) => ({
|
|
|
189
192
|
...obj,
|
|
190
193
|
...(obj.UserData && { UserData: SENSITIVE_STRING }),
|
|
191
194
|
});
|
|
192
|
-
export const ScheduledInstancesLaunchSpecificationFilterSensitiveLog = (obj) => ({
|
|
193
|
-
...obj,
|
|
194
|
-
});
|
|
195
|
-
export const RunScheduledInstancesRequestFilterSensitiveLog = (obj) => ({
|
|
196
|
-
...obj,
|
|
197
|
-
...(obj.LaunchSpecification && { LaunchSpecification: SENSITIVE_STRING }),
|
|
198
|
-
});
|
|
@@ -1,4 +1,12 @@
|
|
|
1
|
+
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
1
2
|
export const MembershipType = {
|
|
2
3
|
igmp: "igmp",
|
|
3
4
|
static: "static",
|
|
4
5
|
};
|
|
6
|
+
export const ScheduledInstancesLaunchSpecificationFilterSensitiveLog = (obj) => ({
|
|
7
|
+
...obj,
|
|
8
|
+
});
|
|
9
|
+
export const RunScheduledInstancesRequestFilterSensitiveLog = (obj) => ({
|
|
10
|
+
...obj,
|
|
11
|
+
...(obj.LaunchSpecification && { LaunchSpecification: SENSITIVE_STRING }),
|
|
12
|
+
});
|
|
@@ -53945,6 +53945,12 @@ const de_InstanceTypeInfo = (output, context) => {
|
|
|
53945
53945
|
if (output["nitroEnclavesSupport"] !== undefined) {
|
|
53946
53946
|
contents.NitroEnclavesSupport = __expectString(output["nitroEnclavesSupport"]);
|
|
53947
53947
|
}
|
|
53948
|
+
if (output["nitroTpmSupport"] !== undefined) {
|
|
53949
|
+
contents.NitroTpmSupport = __expectString(output["nitroTpmSupport"]);
|
|
53950
|
+
}
|
|
53951
|
+
if (output["nitroTpmInfo"] !== undefined) {
|
|
53952
|
+
contents.NitroTpmInfo = de_NitroTpmInfo(output["nitroTpmInfo"], context);
|
|
53953
|
+
}
|
|
53948
53954
|
return contents;
|
|
53949
53955
|
};
|
|
53950
53956
|
const de_InstanceTypeInfoFromInstanceRequirements = (output, context) => {
|
|
@@ -57185,6 +57191,23 @@ const de_NetworkInterfacePrivateIpAddressList = (output, context) => {
|
|
|
57185
57191
|
return de_NetworkInterfacePrivateIpAddress(entry, context);
|
|
57186
57192
|
});
|
|
57187
57193
|
};
|
|
57194
|
+
const de_NitroTpmInfo = (output, context) => {
|
|
57195
|
+
const contents = {};
|
|
57196
|
+
if (output.supportedVersions === "") {
|
|
57197
|
+
contents.SupportedVersions = [];
|
|
57198
|
+
}
|
|
57199
|
+
else if (output["supportedVersions"] !== undefined && output["supportedVersions"]["item"] !== undefined) {
|
|
57200
|
+
contents.SupportedVersions = de_NitroTpmSupportedVersionsList(__getArrayIfSingleItem(output["supportedVersions"]["item"]), context);
|
|
57201
|
+
}
|
|
57202
|
+
return contents;
|
|
57203
|
+
};
|
|
57204
|
+
const de_NitroTpmSupportedVersionsList = (output, context) => {
|
|
57205
|
+
return (output || [])
|
|
57206
|
+
.filter((e) => e != null)
|
|
57207
|
+
.map((entry) => {
|
|
57208
|
+
return __expectString(entry);
|
|
57209
|
+
});
|
|
57210
|
+
};
|
|
57188
57211
|
const de_OccurrenceDaySet = (output, context) => {
|
|
57189
57212
|
return (output || [])
|
|
57190
57213
|
.filter((e) => e != null)
|
|
@@ -186,6 +186,12 @@ export interface DescribeInstanceTypesCommandOutput extends DescribeInstanceType
|
|
|
186
186
|
* // "legacy-bios" || "uefi",
|
|
187
187
|
* // ],
|
|
188
188
|
* // NitroEnclavesSupport: "unsupported" || "supported",
|
|
189
|
+
* // NitroTpmSupport: "unsupported" || "supported",
|
|
190
|
+
* // NitroTpmInfo: { // NitroTpmInfo
|
|
191
|
+
* // SupportedVersions: [ // NitroTpmSupportedVersionsList
|
|
192
|
+
* // "STRING_VALUE",
|
|
193
|
+
* // ],
|
|
194
|
+
* // },
|
|
189
195
|
* // },
|
|
190
196
|
* // ],
|
|
191
197
|
* // NextToken: "STRING_VALUE",
|
|
@@ -2,8 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
5
|
-
import { RunScheduledInstancesRequest } from "../models/
|
|
6
|
-
import { RunScheduledInstancesResult } from "../models/models_7";
|
|
5
|
+
import { RunScheduledInstancesRequest, RunScheduledInstancesResult } from "../models/models_7";
|
|
7
6
|
/**
|
|
8
7
|
* @public
|
|
9
8
|
*/
|
|
@@ -1812,6 +1812,28 @@ export declare const NitroEnclavesSupport: {
|
|
|
1812
1812
|
* @public
|
|
1813
1813
|
*/
|
|
1814
1814
|
export type NitroEnclavesSupport = (typeof NitroEnclavesSupport)[keyof typeof NitroEnclavesSupport];
|
|
1815
|
+
/**
|
|
1816
|
+
* @public
|
|
1817
|
+
* <p>Describes the supported NitroTPM versions for the instance type.</p>
|
|
1818
|
+
*/
|
|
1819
|
+
export interface NitroTpmInfo {
|
|
1820
|
+
/**
|
|
1821
|
+
* <p>Indicates the supported NitroTPM versions.</p>
|
|
1822
|
+
*/
|
|
1823
|
+
SupportedVersions?: string[];
|
|
1824
|
+
}
|
|
1825
|
+
/**
|
|
1826
|
+
* @public
|
|
1827
|
+
* @enum
|
|
1828
|
+
*/
|
|
1829
|
+
export declare const NitroTpmSupport: {
|
|
1830
|
+
readonly SUPPORTED: "supported";
|
|
1831
|
+
readonly UNSUPPORTED: "unsupported";
|
|
1832
|
+
};
|
|
1833
|
+
/**
|
|
1834
|
+
* @public
|
|
1835
|
+
*/
|
|
1836
|
+
export type NitroTpmSupport = (typeof NitroTpmSupport)[keyof typeof NitroTpmSupport];
|
|
1815
1837
|
/**
|
|
1816
1838
|
* @public
|
|
1817
1839
|
* @enum
|
|
@@ -2050,6 +2072,14 @@ export interface InstanceTypeInfo {
|
|
|
2050
2072
|
* <p>Indicates whether Nitro Enclaves is supported.</p>
|
|
2051
2073
|
*/
|
|
2052
2074
|
NitroEnclavesSupport?: NitroEnclavesSupport | string;
|
|
2075
|
+
/**
|
|
2076
|
+
* <p>Indicates whether NitroTPM is supported.</p>
|
|
2077
|
+
*/
|
|
2078
|
+
NitroTpmSupport?: NitroTpmSupport | string;
|
|
2079
|
+
/**
|
|
2080
|
+
* <p>Describes the supported NitroTPM versions for the instance type.</p>
|
|
2081
|
+
*/
|
|
2082
|
+
NitroTpmInfo?: NitroTpmInfo;
|
|
2053
2083
|
}
|
|
2054
2084
|
/**
|
|
2055
2085
|
* @public
|
|
@@ -9744,50 +9774,6 @@ export interface VerifiedAccessLogCloudWatchLogsDestination {
|
|
|
9744
9774
|
*/
|
|
9745
9775
|
LogGroup?: string;
|
|
9746
9776
|
}
|
|
9747
|
-
/**
|
|
9748
|
-
* @public
|
|
9749
|
-
* <p>Options for Kinesis as a logging destination.</p>
|
|
9750
|
-
*/
|
|
9751
|
-
export interface VerifiedAccessLogKinesisDataFirehoseDestination {
|
|
9752
|
-
/**
|
|
9753
|
-
* <p>Indicates whether logging is enabled.</p>
|
|
9754
|
-
*/
|
|
9755
|
-
Enabled?: boolean;
|
|
9756
|
-
/**
|
|
9757
|
-
* <p>The delivery status.</p>
|
|
9758
|
-
*/
|
|
9759
|
-
DeliveryStatus?: VerifiedAccessLogDeliveryStatus;
|
|
9760
|
-
/**
|
|
9761
|
-
* <p>The ID of the delivery stream.</p>
|
|
9762
|
-
*/
|
|
9763
|
-
DeliveryStream?: string;
|
|
9764
|
-
}
|
|
9765
|
-
/**
|
|
9766
|
-
* @public
|
|
9767
|
-
* <p>Options for Amazon S3 as a logging destination.</p>
|
|
9768
|
-
*/
|
|
9769
|
-
export interface VerifiedAccessLogS3Destination {
|
|
9770
|
-
/**
|
|
9771
|
-
* <p>Indicates whether logging is enabled.</p>
|
|
9772
|
-
*/
|
|
9773
|
-
Enabled?: boolean;
|
|
9774
|
-
/**
|
|
9775
|
-
* <p>The delivery status.</p>
|
|
9776
|
-
*/
|
|
9777
|
-
DeliveryStatus?: VerifiedAccessLogDeliveryStatus;
|
|
9778
|
-
/**
|
|
9779
|
-
* <p>The bucket name.</p>
|
|
9780
|
-
*/
|
|
9781
|
-
BucketName?: string;
|
|
9782
|
-
/**
|
|
9783
|
-
* <p>The bucket prefix.</p>
|
|
9784
|
-
*/
|
|
9785
|
-
Prefix?: string;
|
|
9786
|
-
/**
|
|
9787
|
-
* <p>The Amazon Web Services account number that owns the bucket.</p>
|
|
9788
|
-
*/
|
|
9789
|
-
BucketOwner?: string;
|
|
9790
|
-
}
|
|
9791
9777
|
/**
|
|
9792
9778
|
* @internal
|
|
9793
9779
|
*/
|
|
@@ -2,7 +2,51 @@ import { AccessScopeAnalysisFinding, AddressTransfer, AllowedPrincipal, Associat
|
|
|
2
2
|
import { DiskImageFormat, InstanceRequirementsRequest, IpamResourceTag, NetworkInsightsAccessScopeContent, RequestIpamResourceTag, ResponseLaunchTemplateData, TargetCapacityUnitType, VolumeType, Vpc } from "./models_1";
|
|
3
3
|
import { ConnectionNotification, DnsEntry, DnsNameState, IpAddressType, PayerResponsibility, ServiceConfiguration, ServiceConnectivityType, ServiceTypeDetail, 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, VerifiedAccessLogCloudWatchLogsDestination,
|
|
5
|
+
import { AnalysisStatus, ArchitectureType, VerifiedAccessLogCloudWatchLogsDestination, VerifiedAccessLogDeliveryStatus } from "./models_4";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
* <p>Options for Kinesis as a logging destination.</p>
|
|
9
|
+
*/
|
|
10
|
+
export interface VerifiedAccessLogKinesisDataFirehoseDestination {
|
|
11
|
+
/**
|
|
12
|
+
* <p>Indicates whether logging is enabled.</p>
|
|
13
|
+
*/
|
|
14
|
+
Enabled?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* <p>The delivery status.</p>
|
|
17
|
+
*/
|
|
18
|
+
DeliveryStatus?: VerifiedAccessLogDeliveryStatus;
|
|
19
|
+
/**
|
|
20
|
+
* <p>The ID of the delivery stream.</p>
|
|
21
|
+
*/
|
|
22
|
+
DeliveryStream?: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Options for Amazon S3 as a logging destination.</p>
|
|
27
|
+
*/
|
|
28
|
+
export interface VerifiedAccessLogS3Destination {
|
|
29
|
+
/**
|
|
30
|
+
* <p>Indicates whether logging is enabled.</p>
|
|
31
|
+
*/
|
|
32
|
+
Enabled?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* <p>The delivery status.</p>
|
|
35
|
+
*/
|
|
36
|
+
DeliveryStatus?: VerifiedAccessLogDeliveryStatus;
|
|
37
|
+
/**
|
|
38
|
+
* <p>The bucket name.</p>
|
|
39
|
+
*/
|
|
40
|
+
BucketName?: string;
|
|
41
|
+
/**
|
|
42
|
+
* <p>The bucket prefix.</p>
|
|
43
|
+
*/
|
|
44
|
+
Prefix?: string;
|
|
45
|
+
/**
|
|
46
|
+
* <p>The Amazon Web Services account number that owns the bucket.</p>
|
|
47
|
+
*/
|
|
48
|
+
BucketOwner?: string;
|
|
49
|
+
}
|
|
6
50
|
/**
|
|
7
51
|
* @public
|
|
8
52
|
* <p>Describes the options for Verified Access logs.</p>
|
|
@@ -6591,49 +6635,6 @@ export interface UserBucket {
|
|
|
6591
6635
|
*/
|
|
6592
6636
|
S3Key?: string;
|
|
6593
6637
|
}
|
|
6594
|
-
/**
|
|
6595
|
-
* @public
|
|
6596
|
-
* <p>Describes the disk container object for an import image task.</p>
|
|
6597
|
-
*/
|
|
6598
|
-
export interface ImageDiskContainer {
|
|
6599
|
-
/**
|
|
6600
|
-
* <p>The description of the disk image.</p>
|
|
6601
|
-
*/
|
|
6602
|
-
Description?: string;
|
|
6603
|
-
/**
|
|
6604
|
-
* <p>The block device mapping for the disk.</p>
|
|
6605
|
-
*/
|
|
6606
|
-
DeviceName?: string;
|
|
6607
|
-
/**
|
|
6608
|
-
* <p>The format of the disk image being imported.</p>
|
|
6609
|
-
* <p>Valid values: <code>OVA</code> | <code>VHD</code> | <code>VHDX</code> | <code>VMDK</code> | <code>RAW</code>
|
|
6610
|
-
* </p>
|
|
6611
|
-
*/
|
|
6612
|
-
Format?: string;
|
|
6613
|
-
/**
|
|
6614
|
-
* <p>The ID of the EBS snapshot to be used for importing the snapshot.</p>
|
|
6615
|
-
*/
|
|
6616
|
-
SnapshotId?: string;
|
|
6617
|
-
/**
|
|
6618
|
-
* <p>The URL to the Amazon S3-based disk image being imported. The URL can either be a https URL (https://..) or an
|
|
6619
|
-
* Amazon S3 URL (s3://..)</p>
|
|
6620
|
-
*/
|
|
6621
|
-
Url?: string;
|
|
6622
|
-
/**
|
|
6623
|
-
* <p>The S3 bucket for the disk image.</p>
|
|
6624
|
-
*/
|
|
6625
|
-
UserBucket?: UserBucket;
|
|
6626
|
-
}
|
|
6627
|
-
/**
|
|
6628
|
-
* @public
|
|
6629
|
-
* <p>The request information of license configurations.</p>
|
|
6630
|
-
*/
|
|
6631
|
-
export interface ImportImageLicenseConfigurationRequest {
|
|
6632
|
-
/**
|
|
6633
|
-
* <p>The ARN of a license configuration.</p>
|
|
6634
|
-
*/
|
|
6635
|
-
LicenseConfigurationArn?: string;
|
|
6636
|
-
}
|
|
6637
6638
|
/**
|
|
6638
6639
|
* @internal
|
|
6639
6640
|
*/
|
|
@@ -6654,7 +6655,3 @@ export declare const GetLaunchTemplateDataResultFilterSensitiveLog: (obj: GetLau
|
|
|
6654
6655
|
* @internal
|
|
6655
6656
|
*/
|
|
6656
6657
|
export declare const GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog: (obj: GetVpnConnectionDeviceSampleConfigurationResult) => any;
|
|
6657
|
-
/**
|
|
6658
|
-
* @internal
|
|
6659
|
-
*/
|
|
6660
|
-
export declare const ImageDiskContainerFilterSensitiveLog: (obj: ImageDiskContainer) => any;
|
|
@@ -3,7 +3,50 @@ import { AmdSevSnpSpecification, AttributeValue, BlockDeviceMapping, CapacityRes
|
|
|
3
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";
|
|
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 { ClientData,
|
|
6
|
+
import { ClientData, InstanceFamilyCreditSpecification, IpamResourceCidr, Purchase, UnlimitedSupportedInstanceFamily, UserBucket, VerifiedAccessInstanceLoggingConfiguration, VolumeModification } from "./models_5";
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
* <p>Describes the disk container object for an import image task.</p>
|
|
10
|
+
*/
|
|
11
|
+
export interface ImageDiskContainer {
|
|
12
|
+
/**
|
|
13
|
+
* <p>The description of the disk image.</p>
|
|
14
|
+
*/
|
|
15
|
+
Description?: string;
|
|
16
|
+
/**
|
|
17
|
+
* <p>The block device mapping for the disk.</p>
|
|
18
|
+
*/
|
|
19
|
+
DeviceName?: string;
|
|
20
|
+
/**
|
|
21
|
+
* <p>The format of the disk image being imported.</p>
|
|
22
|
+
* <p>Valid values: <code>OVA</code> | <code>VHD</code> | <code>VHDX</code> | <code>VMDK</code> | <code>RAW</code>
|
|
23
|
+
* </p>
|
|
24
|
+
*/
|
|
25
|
+
Format?: string;
|
|
26
|
+
/**
|
|
27
|
+
* <p>The ID of the EBS snapshot to be used for importing the snapshot.</p>
|
|
28
|
+
*/
|
|
29
|
+
SnapshotId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* <p>The URL to the Amazon S3-based disk image being imported. The URL can either be a https URL (https://..) or an
|
|
32
|
+
* Amazon S3 URL (s3://..)</p>
|
|
33
|
+
*/
|
|
34
|
+
Url?: string;
|
|
35
|
+
/**
|
|
36
|
+
* <p>The S3 bucket for the disk image.</p>
|
|
37
|
+
*/
|
|
38
|
+
UserBucket?: UserBucket;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* @public
|
|
42
|
+
* <p>The request information of license configurations.</p>
|
|
43
|
+
*/
|
|
44
|
+
export interface ImportImageLicenseConfigurationRequest {
|
|
45
|
+
/**
|
|
46
|
+
* <p>The ARN of a license configuration.</p>
|
|
47
|
+
*/
|
|
48
|
+
LicenseConfigurationArn?: string;
|
|
49
|
+
}
|
|
7
50
|
/**
|
|
8
51
|
* @public
|
|
9
52
|
*/
|
|
@@ -7291,102 +7334,9 @@ export interface ScheduledInstancesPlacement {
|
|
|
7291
7334
|
GroupName?: string;
|
|
7292
7335
|
}
|
|
7293
7336
|
/**
|
|
7294
|
-
* @
|
|
7295
|
-
* <p>Describes the launch specification for a Scheduled Instance.</p>
|
|
7296
|
-
* <p>If you are launching the Scheduled Instance in EC2-VPC, you must specify the ID of the subnet.
|
|
7297
|
-
* You can specify the subnet using either <code>SubnetId</code> or <code>NetworkInterface</code>.</p>
|
|
7298
|
-
*/
|
|
7299
|
-
export interface ScheduledInstancesLaunchSpecification {
|
|
7300
|
-
/**
|
|
7301
|
-
* <p>The block device mapping entries.</p>
|
|
7302
|
-
*/
|
|
7303
|
-
BlockDeviceMappings?: ScheduledInstancesBlockDeviceMapping[];
|
|
7304
|
-
/**
|
|
7305
|
-
* <p>Indicates whether the instances are optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS-optimized instance.</p>
|
|
7306
|
-
* <p>Default: <code>false</code>
|
|
7307
|
-
* </p>
|
|
7308
|
-
*/
|
|
7309
|
-
EbsOptimized?: boolean;
|
|
7310
|
-
/**
|
|
7311
|
-
* <p>The IAM instance profile.</p>
|
|
7312
|
-
*/
|
|
7313
|
-
IamInstanceProfile?: ScheduledInstancesIamInstanceProfile;
|
|
7314
|
-
/**
|
|
7315
|
-
* <p>The ID of the Amazon Machine Image (AMI).</p>
|
|
7316
|
-
*/
|
|
7317
|
-
ImageId: string | undefined;
|
|
7318
|
-
/**
|
|
7319
|
-
* <p>The instance type.</p>
|
|
7320
|
-
*/
|
|
7321
|
-
InstanceType?: string;
|
|
7322
|
-
/**
|
|
7323
|
-
* <p>The ID of the kernel.</p>
|
|
7324
|
-
*/
|
|
7325
|
-
KernelId?: string;
|
|
7326
|
-
/**
|
|
7327
|
-
* <p>The name of the key pair.</p>
|
|
7328
|
-
*/
|
|
7329
|
-
KeyName?: string;
|
|
7330
|
-
/**
|
|
7331
|
-
* <p>Enable or disable monitoring for the instances.</p>
|
|
7332
|
-
*/
|
|
7333
|
-
Monitoring?: ScheduledInstancesMonitoring;
|
|
7334
|
-
/**
|
|
7335
|
-
* <p>The network interfaces.</p>
|
|
7336
|
-
*/
|
|
7337
|
-
NetworkInterfaces?: ScheduledInstancesNetworkInterface[];
|
|
7338
|
-
/**
|
|
7339
|
-
* <p>The placement information.</p>
|
|
7340
|
-
*/
|
|
7341
|
-
Placement?: ScheduledInstancesPlacement;
|
|
7342
|
-
/**
|
|
7343
|
-
* <p>The ID of the RAM disk.</p>
|
|
7344
|
-
*/
|
|
7345
|
-
RamdiskId?: string;
|
|
7346
|
-
/**
|
|
7347
|
-
* <p>The IDs of the security groups.</p>
|
|
7348
|
-
*/
|
|
7349
|
-
SecurityGroupIds?: string[];
|
|
7350
|
-
/**
|
|
7351
|
-
* <p>The ID of the subnet in which to launch the instances.</p>
|
|
7352
|
-
*/
|
|
7353
|
-
SubnetId?: string;
|
|
7354
|
-
/**
|
|
7355
|
-
* <p>The base64-encoded MIME user data.</p>
|
|
7356
|
-
*/
|
|
7357
|
-
UserData?: string;
|
|
7358
|
-
}
|
|
7359
|
-
/**
|
|
7360
|
-
* @public
|
|
7361
|
-
* <p>Contains the parameters for RunScheduledInstances.</p>
|
|
7337
|
+
* @internal
|
|
7362
7338
|
*/
|
|
7363
|
-
export
|
|
7364
|
-
/**
|
|
7365
|
-
* <p>Unique, case-sensitive identifier that ensures the idempotency of the request.
|
|
7366
|
-
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring Idempotency</a>.</p>
|
|
7367
|
-
*/
|
|
7368
|
-
ClientToken?: string;
|
|
7369
|
-
/**
|
|
7370
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
7371
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
7372
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
7373
|
-
*/
|
|
7374
|
-
DryRun?: boolean;
|
|
7375
|
-
/**
|
|
7376
|
-
* <p>The number of instances.</p>
|
|
7377
|
-
* <p>Default: 1</p>
|
|
7378
|
-
*/
|
|
7379
|
-
InstanceCount?: number;
|
|
7380
|
-
/**
|
|
7381
|
-
* <p>The launch specification. You must match the instance type, Availability Zone,
|
|
7382
|
-
* network, and platform of the schedule that you purchased.</p>
|
|
7383
|
-
*/
|
|
7384
|
-
LaunchSpecification: ScheduledInstancesLaunchSpecification | undefined;
|
|
7385
|
-
/**
|
|
7386
|
-
* <p>The Scheduled Instance ID.</p>
|
|
7387
|
-
*/
|
|
7388
|
-
ScheduledInstanceId: string | undefined;
|
|
7389
|
-
}
|
|
7339
|
+
export declare const ImageDiskContainerFilterSensitiveLog: (obj: ImageDiskContainer) => any;
|
|
7390
7340
|
/**
|
|
7391
7341
|
* @internal
|
|
7392
7342
|
*/
|
|
@@ -7495,11 +7445,3 @@ export declare const RequestSpotInstancesResultFilterSensitiveLog: (obj: Request
|
|
|
7495
7445
|
* @internal
|
|
7496
7446
|
*/
|
|
7497
7447
|
export declare const RunInstancesRequestFilterSensitiveLog: (obj: RunInstancesRequest) => any;
|
|
7498
|
-
/**
|
|
7499
|
-
* @internal
|
|
7500
|
-
*/
|
|
7501
|
-
export declare const ScheduledInstancesLaunchSpecificationFilterSensitiveLog: (obj: ScheduledInstancesLaunchSpecification) => any;
|
|
7502
|
-
/**
|
|
7503
|
-
* @internal
|
|
7504
|
-
*/
|
|
7505
|
-
export declare const RunScheduledInstancesRequestFilterSensitiveLog: (obj: RunScheduledInstancesRequest) => any;
|
|
@@ -3,7 +3,104 @@ 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 } from "./models_6";
|
|
6
|
+
import { InstanceMonitoring, ScheduledInstancesBlockDeviceMapping, ScheduledInstancesIamInstanceProfile, ScheduledInstancesMonitoring, ScheduledInstancesNetworkInterface, ScheduledInstancesPlacement } from "./models_6";
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
* <p>Describes the launch specification for a Scheduled Instance.</p>
|
|
10
|
+
* <p>If you are launching the Scheduled Instance in EC2-VPC, you must specify the ID of the subnet.
|
|
11
|
+
* You can specify the subnet using either <code>SubnetId</code> or <code>NetworkInterface</code>.</p>
|
|
12
|
+
*/
|
|
13
|
+
export interface ScheduledInstancesLaunchSpecification {
|
|
14
|
+
/**
|
|
15
|
+
* <p>The block device mapping entries.</p>
|
|
16
|
+
*/
|
|
17
|
+
BlockDeviceMappings?: ScheduledInstancesBlockDeviceMapping[];
|
|
18
|
+
/**
|
|
19
|
+
* <p>Indicates whether the instances are optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS-optimized instance.</p>
|
|
20
|
+
* <p>Default: <code>false</code>
|
|
21
|
+
* </p>
|
|
22
|
+
*/
|
|
23
|
+
EbsOptimized?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* <p>The IAM instance profile.</p>
|
|
26
|
+
*/
|
|
27
|
+
IamInstanceProfile?: ScheduledInstancesIamInstanceProfile;
|
|
28
|
+
/**
|
|
29
|
+
* <p>The ID of the Amazon Machine Image (AMI).</p>
|
|
30
|
+
*/
|
|
31
|
+
ImageId: string | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* <p>The instance type.</p>
|
|
34
|
+
*/
|
|
35
|
+
InstanceType?: string;
|
|
36
|
+
/**
|
|
37
|
+
* <p>The ID of the kernel.</p>
|
|
38
|
+
*/
|
|
39
|
+
KernelId?: string;
|
|
40
|
+
/**
|
|
41
|
+
* <p>The name of the key pair.</p>
|
|
42
|
+
*/
|
|
43
|
+
KeyName?: string;
|
|
44
|
+
/**
|
|
45
|
+
* <p>Enable or disable monitoring for the instances.</p>
|
|
46
|
+
*/
|
|
47
|
+
Monitoring?: ScheduledInstancesMonitoring;
|
|
48
|
+
/**
|
|
49
|
+
* <p>The network interfaces.</p>
|
|
50
|
+
*/
|
|
51
|
+
NetworkInterfaces?: ScheduledInstancesNetworkInterface[];
|
|
52
|
+
/**
|
|
53
|
+
* <p>The placement information.</p>
|
|
54
|
+
*/
|
|
55
|
+
Placement?: ScheduledInstancesPlacement;
|
|
56
|
+
/**
|
|
57
|
+
* <p>The ID of the RAM disk.</p>
|
|
58
|
+
*/
|
|
59
|
+
RamdiskId?: string;
|
|
60
|
+
/**
|
|
61
|
+
* <p>The IDs of the security groups.</p>
|
|
62
|
+
*/
|
|
63
|
+
SecurityGroupIds?: string[];
|
|
64
|
+
/**
|
|
65
|
+
* <p>The ID of the subnet in which to launch the instances.</p>
|
|
66
|
+
*/
|
|
67
|
+
SubnetId?: string;
|
|
68
|
+
/**
|
|
69
|
+
* <p>The base64-encoded MIME user data.</p>
|
|
70
|
+
*/
|
|
71
|
+
UserData?: string;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* @public
|
|
75
|
+
* <p>Contains the parameters for RunScheduledInstances.</p>
|
|
76
|
+
*/
|
|
77
|
+
export interface RunScheduledInstancesRequest {
|
|
78
|
+
/**
|
|
79
|
+
* <p>Unique, case-sensitive identifier that ensures the idempotency of the request.
|
|
80
|
+
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring Idempotency</a>.</p>
|
|
81
|
+
*/
|
|
82
|
+
ClientToken?: string;
|
|
83
|
+
/**
|
|
84
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
85
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
86
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
87
|
+
*/
|
|
88
|
+
DryRun?: boolean;
|
|
89
|
+
/**
|
|
90
|
+
* <p>The number of instances.</p>
|
|
91
|
+
* <p>Default: 1</p>
|
|
92
|
+
*/
|
|
93
|
+
InstanceCount?: number;
|
|
94
|
+
/**
|
|
95
|
+
* <p>The launch specification. You must match the instance type, Availability Zone,
|
|
96
|
+
* network, and platform of the schedule that you purchased.</p>
|
|
97
|
+
*/
|
|
98
|
+
LaunchSpecification: ScheduledInstancesLaunchSpecification | undefined;
|
|
99
|
+
/**
|
|
100
|
+
* <p>The Scheduled Instance ID.</p>
|
|
101
|
+
*/
|
|
102
|
+
ScheduledInstanceId: string | undefined;
|
|
103
|
+
}
|
|
7
104
|
/**
|
|
8
105
|
* @public
|
|
9
106
|
* <p>Contains the output of RunScheduledInstances.</p>
|
|
@@ -828,3 +925,11 @@ export interface WithdrawByoipCidrResult {
|
|
|
828
925
|
*/
|
|
829
926
|
ByoipCidr?: ByoipCidr;
|
|
830
927
|
}
|
|
928
|
+
/**
|
|
929
|
+
* @internal
|
|
930
|
+
*/
|
|
931
|
+
export declare const ScheduledInstancesLaunchSpecificationFilterSensitiveLog: (obj: ScheduledInstancesLaunchSpecification) => any;
|
|
932
|
+
/**
|
|
933
|
+
* @internal
|
|
934
|
+
*/
|
|
935
|
+
export declare const RunScheduledInstancesRequestFilterSensitiveLog: (obj: RunScheduledInstancesRequest) => any;
|
|
@@ -11,8 +11,10 @@ import {
|
|
|
11
11
|
ServiceInputTypes,
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../EC2Client";
|
|
14
|
-
import {
|
|
15
|
-
|
|
14
|
+
import {
|
|
15
|
+
RunScheduledInstancesRequest,
|
|
16
|
+
RunScheduledInstancesResult,
|
|
17
|
+
} from "../models/models_7";
|
|
16
18
|
export { __MetadataBearer, $Command };
|
|
17
19
|
export interface RunScheduledInstancesCommandInput
|
|
18
20
|
extends RunScheduledInstancesRequest {}
|
|
@@ -541,6 +541,15 @@ export declare const NitroEnclavesSupport: {
|
|
|
541
541
|
};
|
|
542
542
|
export type NitroEnclavesSupport =
|
|
543
543
|
(typeof NitroEnclavesSupport)[keyof typeof NitroEnclavesSupport];
|
|
544
|
+
export interface NitroTpmInfo {
|
|
545
|
+
SupportedVersions?: string[];
|
|
546
|
+
}
|
|
547
|
+
export declare const NitroTpmSupport: {
|
|
548
|
+
readonly SUPPORTED: "supported";
|
|
549
|
+
readonly UNSUPPORTED: "unsupported";
|
|
550
|
+
};
|
|
551
|
+
export type NitroTpmSupport =
|
|
552
|
+
(typeof NitroTpmSupport)[keyof typeof NitroTpmSupport];
|
|
544
553
|
export declare const PlacementGroupStrategy: {
|
|
545
554
|
readonly cluster: "cluster";
|
|
546
555
|
readonly partition: "partition";
|
|
@@ -620,6 +629,8 @@ export interface InstanceTypeInfo {
|
|
|
620
629
|
AutoRecoverySupported?: boolean;
|
|
621
630
|
SupportedBootModes?: (BootModeType | string)[];
|
|
622
631
|
NitroEnclavesSupport?: NitroEnclavesSupport | string;
|
|
632
|
+
NitroTpmSupport?: NitroTpmSupport | string;
|
|
633
|
+
NitroTpmInfo?: NitroTpmInfo;
|
|
623
634
|
}
|
|
624
635
|
export interface DescribeInstanceTypesResult {
|
|
625
636
|
InstanceTypes?: InstanceTypeInfo[];
|
|
@@ -2070,18 +2081,6 @@ export interface VerifiedAccessLogCloudWatchLogsDestination {
|
|
|
2070
2081
|
DeliveryStatus?: VerifiedAccessLogDeliveryStatus;
|
|
2071
2082
|
LogGroup?: string;
|
|
2072
2083
|
}
|
|
2073
|
-
export interface VerifiedAccessLogKinesisDataFirehoseDestination {
|
|
2074
|
-
Enabled?: boolean;
|
|
2075
|
-
DeliveryStatus?: VerifiedAccessLogDeliveryStatus;
|
|
2076
|
-
DeliveryStream?: string;
|
|
2077
|
-
}
|
|
2078
|
-
export interface VerifiedAccessLogS3Destination {
|
|
2079
|
-
Enabled?: boolean;
|
|
2080
|
-
DeliveryStatus?: VerifiedAccessLogDeliveryStatus;
|
|
2081
|
-
BucketName?: string;
|
|
2082
|
-
Prefix?: string;
|
|
2083
|
-
BucketOwner?: string;
|
|
2084
|
-
}
|
|
2085
2084
|
export declare const DescribeLaunchTemplateVersionsResultFilterSensitiveLog: (
|
|
2086
2085
|
obj: DescribeLaunchTemplateVersionsResult
|
|
2087
2086
|
) => any;
|
|
@@ -75,9 +75,20 @@ import {
|
|
|
75
75
|
AnalysisStatus,
|
|
76
76
|
ArchitectureType,
|
|
77
77
|
VerifiedAccessLogCloudWatchLogsDestination,
|
|
78
|
-
|
|
79
|
-
VerifiedAccessLogS3Destination,
|
|
78
|
+
VerifiedAccessLogDeliveryStatus,
|
|
80
79
|
} from "./models_4";
|
|
80
|
+
export interface VerifiedAccessLogKinesisDataFirehoseDestination {
|
|
81
|
+
Enabled?: boolean;
|
|
82
|
+
DeliveryStatus?: VerifiedAccessLogDeliveryStatus;
|
|
83
|
+
DeliveryStream?: string;
|
|
84
|
+
}
|
|
85
|
+
export interface VerifiedAccessLogS3Destination {
|
|
86
|
+
Enabled?: boolean;
|
|
87
|
+
DeliveryStatus?: VerifiedAccessLogDeliveryStatus;
|
|
88
|
+
BucketName?: string;
|
|
89
|
+
Prefix?: string;
|
|
90
|
+
BucketOwner?: string;
|
|
91
|
+
}
|
|
81
92
|
export interface VerifiedAccessLogs {
|
|
82
93
|
S3?: VerifiedAccessLogS3Destination;
|
|
83
94
|
CloudWatchLogs?: VerifiedAccessLogCloudWatchLogsDestination;
|
|
@@ -1651,17 +1662,6 @@ export interface UserBucket {
|
|
|
1651
1662
|
S3Bucket?: string;
|
|
1652
1663
|
S3Key?: string;
|
|
1653
1664
|
}
|
|
1654
|
-
export interface ImageDiskContainer {
|
|
1655
|
-
Description?: string;
|
|
1656
|
-
DeviceName?: string;
|
|
1657
|
-
Format?: string;
|
|
1658
|
-
SnapshotId?: string;
|
|
1659
|
-
Url?: string;
|
|
1660
|
-
UserBucket?: UserBucket;
|
|
1661
|
-
}
|
|
1662
|
-
export interface ImportImageLicenseConfigurationRequest {
|
|
1663
|
-
LicenseConfigurationArn?: string;
|
|
1664
|
-
}
|
|
1665
1665
|
export declare const DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog: (
|
|
1666
1666
|
obj: DescribeVerifiedAccessTrustProvidersResult
|
|
1667
1667
|
) => any;
|
|
@@ -1677,6 +1677,3 @@ export declare const GetLaunchTemplateDataResultFilterSensitiveLog: (
|
|
|
1677
1677
|
export declare const GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog: (
|
|
1678
1678
|
obj: GetVpnConnectionDeviceSampleConfigurationResult
|
|
1679
1679
|
) => any;
|
|
1680
|
-
export declare const ImageDiskContainerFilterSensitiveLog: (
|
|
1681
|
-
obj: ImageDiskContainer
|
|
1682
|
-
) => any;
|
|
@@ -143,8 +143,6 @@ import {
|
|
|
143
143
|
} from "./models_4";
|
|
144
144
|
import {
|
|
145
145
|
ClientData,
|
|
146
|
-
ImageDiskContainer,
|
|
147
|
-
ImportImageLicenseConfigurationRequest,
|
|
148
146
|
InstanceFamilyCreditSpecification,
|
|
149
147
|
IpamResourceCidr,
|
|
150
148
|
Purchase,
|
|
@@ -153,6 +151,17 @@ import {
|
|
|
153
151
|
VerifiedAccessInstanceLoggingConfiguration,
|
|
154
152
|
VolumeModification,
|
|
155
153
|
} from "./models_5";
|
|
154
|
+
export interface ImageDiskContainer {
|
|
155
|
+
Description?: string;
|
|
156
|
+
DeviceName?: string;
|
|
157
|
+
Format?: string;
|
|
158
|
+
SnapshotId?: string;
|
|
159
|
+
Url?: string;
|
|
160
|
+
UserBucket?: UserBucket;
|
|
161
|
+
}
|
|
162
|
+
export interface ImportImageLicenseConfigurationRequest {
|
|
163
|
+
LicenseConfigurationArn?: string;
|
|
164
|
+
}
|
|
156
165
|
export interface ImportImageRequest {
|
|
157
166
|
Architecture?: string;
|
|
158
167
|
ClientData?: ClientData;
|
|
@@ -1866,29 +1875,9 @@ export interface ScheduledInstancesPlacement {
|
|
|
1866
1875
|
AvailabilityZone?: string;
|
|
1867
1876
|
GroupName?: string;
|
|
1868
1877
|
}
|
|
1869
|
-
export
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
IamInstanceProfile?: ScheduledInstancesIamInstanceProfile;
|
|
1873
|
-
ImageId: string | undefined;
|
|
1874
|
-
InstanceType?: string;
|
|
1875
|
-
KernelId?: string;
|
|
1876
|
-
KeyName?: string;
|
|
1877
|
-
Monitoring?: ScheduledInstancesMonitoring;
|
|
1878
|
-
NetworkInterfaces?: ScheduledInstancesNetworkInterface[];
|
|
1879
|
-
Placement?: ScheduledInstancesPlacement;
|
|
1880
|
-
RamdiskId?: string;
|
|
1881
|
-
SecurityGroupIds?: string[];
|
|
1882
|
-
SubnetId?: string;
|
|
1883
|
-
UserData?: string;
|
|
1884
|
-
}
|
|
1885
|
-
export interface RunScheduledInstancesRequest {
|
|
1886
|
-
ClientToken?: string;
|
|
1887
|
-
DryRun?: boolean;
|
|
1888
|
-
InstanceCount?: number;
|
|
1889
|
-
LaunchSpecification: ScheduledInstancesLaunchSpecification | undefined;
|
|
1890
|
-
ScheduledInstanceId: string | undefined;
|
|
1891
|
-
}
|
|
1878
|
+
export declare const ImageDiskContainerFilterSensitiveLog: (
|
|
1879
|
+
obj: ImageDiskContainer
|
|
1880
|
+
) => any;
|
|
1892
1881
|
export declare const ImportImageRequestFilterSensitiveLog: (
|
|
1893
1882
|
obj: ImportImageRequest
|
|
1894
1883
|
) => any;
|
|
@@ -1966,9 +1955,3 @@ export declare const RequestSpotInstancesResultFilterSensitiveLog: (
|
|
|
1966
1955
|
export declare const RunInstancesRequestFilterSensitiveLog: (
|
|
1967
1956
|
obj: RunInstancesRequest
|
|
1968
1957
|
) => any;
|
|
1969
|
-
export declare const ScheduledInstancesLaunchSpecificationFilterSensitiveLog: (
|
|
1970
|
-
obj: ScheduledInstancesLaunchSpecification
|
|
1971
|
-
) => any;
|
|
1972
|
-
export declare const RunScheduledInstancesRequestFilterSensitiveLog: (
|
|
1973
|
-
obj: RunScheduledInstancesRequest
|
|
1974
|
-
) => any;
|
|
@@ -13,7 +13,37 @@ import {
|
|
|
13
13
|
NetworkInsightsAccessScopeAnalysis,
|
|
14
14
|
NetworkInsightsAnalysis,
|
|
15
15
|
} from "./models_4";
|
|
16
|
-
import {
|
|
16
|
+
import {
|
|
17
|
+
InstanceMonitoring,
|
|
18
|
+
ScheduledInstancesBlockDeviceMapping,
|
|
19
|
+
ScheduledInstancesIamInstanceProfile,
|
|
20
|
+
ScheduledInstancesMonitoring,
|
|
21
|
+
ScheduledInstancesNetworkInterface,
|
|
22
|
+
ScheduledInstancesPlacement,
|
|
23
|
+
} from "./models_6";
|
|
24
|
+
export interface ScheduledInstancesLaunchSpecification {
|
|
25
|
+
BlockDeviceMappings?: ScheduledInstancesBlockDeviceMapping[];
|
|
26
|
+
EbsOptimized?: boolean;
|
|
27
|
+
IamInstanceProfile?: ScheduledInstancesIamInstanceProfile;
|
|
28
|
+
ImageId: string | undefined;
|
|
29
|
+
InstanceType?: string;
|
|
30
|
+
KernelId?: string;
|
|
31
|
+
KeyName?: string;
|
|
32
|
+
Monitoring?: ScheduledInstancesMonitoring;
|
|
33
|
+
NetworkInterfaces?: ScheduledInstancesNetworkInterface[];
|
|
34
|
+
Placement?: ScheduledInstancesPlacement;
|
|
35
|
+
RamdiskId?: string;
|
|
36
|
+
SecurityGroupIds?: string[];
|
|
37
|
+
SubnetId?: string;
|
|
38
|
+
UserData?: string;
|
|
39
|
+
}
|
|
40
|
+
export interface RunScheduledInstancesRequest {
|
|
41
|
+
ClientToken?: string;
|
|
42
|
+
DryRun?: boolean;
|
|
43
|
+
InstanceCount?: number;
|
|
44
|
+
LaunchSpecification: ScheduledInstancesLaunchSpecification | undefined;
|
|
45
|
+
ScheduledInstanceId: string | undefined;
|
|
46
|
+
}
|
|
17
47
|
export interface RunScheduledInstancesResult {
|
|
18
48
|
InstanceIdSet?: string[];
|
|
19
49
|
}
|
|
@@ -207,3 +237,9 @@ export interface WithdrawByoipCidrRequest {
|
|
|
207
237
|
export interface WithdrawByoipCidrResult {
|
|
208
238
|
ByoipCidr?: ByoipCidr;
|
|
209
239
|
}
|
|
240
|
+
export declare const ScheduledInstancesLaunchSpecificationFilterSensitiveLog: (
|
|
241
|
+
obj: ScheduledInstancesLaunchSpecification
|
|
242
|
+
) => any;
|
|
243
|
+
export declare const RunScheduledInstancesRequestFilterSensitiveLog: (
|
|
244
|
+
obj: RunScheduledInstancesRequest
|
|
245
|
+
) => any;
|
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.371.0",
|
|
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",
|