@aws-sdk/client-ec2 3.363.0 → 3.369.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/ImportImageCommand.js +1 -2
- package/dist-cjs/models/models_4.js +6 -2
- package/dist-cjs/models/models_5.js +1 -8
- package/dist-cjs/models/models_6.js +9 -1
- package/dist-cjs/protocols/Aws_ec2.js +3 -0
- package/dist-es/commands/ImportImageCommand.js +1 -2
- 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 -6
- package/dist-es/models/models_6.js +7 -0
- package/dist-es/protocols/Aws_ec2.js +3 -0
- package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +1 -0
- package/dist-types/commands/ImportImageCommand.d.ts +1 -2
- package/dist-types/commands/RunScheduledInstancesCommand.d.ts +2 -1
- package/dist-types/commands/StopInstancesCommand.d.ts +2 -2
- package/dist-types/models/models_3.d.ts +3 -3
- package/dist-types/models/models_4.d.ts +16 -30
- package/dist-types/models/models_5.d.ts +32 -115
- package/dist-types/models/models_6.d.ts +119 -16
- package/dist-types/models/models_7.d.ts +10 -0
- package/dist-types/ts3.4/commands/ImportImageCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/RunScheduledInstancesCommand.d.ts +2 -4
- package/dist-types/ts3.4/models/models_4.d.ts +7 -7
- package/dist-types/ts3.4/models/models_5.d.ts +10 -23
- package/dist-types/ts3.4/models/models_6.d.ts +23 -3
- package/dist-types/ts3.4/models/models_7.d.ts +3 -0
- package/package.json +14 -14
|
@@ -5,7 +5,6 @@ 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 models_5_1 = require("../models/models_5");
|
|
9
8
|
const models_6_1 = require("../models/models_6");
|
|
10
9
|
const Aws_ec2_1 = require("../protocols/Aws_ec2");
|
|
11
10
|
class ImportImageCommand extends smithy_client_1.Command {
|
|
@@ -32,7 +31,7 @@ class ImportImageCommand extends smithy_client_1.Command {
|
|
|
32
31
|
logger,
|
|
33
32
|
clientName,
|
|
34
33
|
commandName,
|
|
35
|
-
inputFilterSensitiveLog:
|
|
34
|
+
inputFilterSensitiveLog: models_6_1.ImportImageRequestFilterSensitiveLog,
|
|
36
35
|
outputFilterSensitiveLog: models_6_1.ImportImageResultFilterSensitiveLog,
|
|
37
36
|
};
|
|
38
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 = void 0;
|
|
3
|
+
exports.SpotFleetRequestConfigFilterSensitiveLog = 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.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 = 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 = {
|
|
@@ -106,6 +106,10 @@ exports.EnaSupport = {
|
|
|
106
106
|
supported: "supported",
|
|
107
107
|
unsupported: "unsupported",
|
|
108
108
|
};
|
|
109
|
+
exports.NitroEnclavesSupport = {
|
|
110
|
+
SUPPORTED: "supported",
|
|
111
|
+
UNSUPPORTED: "unsupported",
|
|
112
|
+
};
|
|
109
113
|
exports.PlacementGroupStrategy = {
|
|
110
114
|
cluster: "cluster",
|
|
111
115
|
partition: "partition",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.ImageDiskContainerFilterSensitiveLog = 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");
|
|
@@ -124,10 +124,3 @@ const ImageDiskContainerFilterSensitiveLog = (obj) => ({
|
|
|
124
124
|
...(obj.Url && { Url: smithy_client_1.SENSITIVE_STRING }),
|
|
125
125
|
});
|
|
126
126
|
exports.ImageDiskContainerFilterSensitiveLog = ImageDiskContainerFilterSensitiveLog;
|
|
127
|
-
const ImportImageRequestFilterSensitiveLog = (obj) => ({
|
|
128
|
-
...obj,
|
|
129
|
-
...(obj.DiskContainers && {
|
|
130
|
-
DiskContainers: obj.DiskContainers.map((item) => (0, exports.ImageDiskContainerFilterSensitiveLog)(item)),
|
|
131
|
-
}),
|
|
132
|
-
});
|
|
133
|
-
exports.ImportImageRequestFilterSensitiveLog = ImportImageRequestFilterSensitiveLog;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RunScheduledInstancesRequestFilterSensitiveLog = exports.ScheduledInstancesLaunchSpecificationFilterSensitiveLog = 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.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;
|
|
3
|
+
exports.RunScheduledInstancesRequestFilterSensitiveLog = exports.ScheduledInstancesLaunchSpecificationFilterSensitiveLog = 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.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");
|
|
9
10
|
exports.ModifyAvailabilityZoneOptInStatus = {
|
|
10
11
|
not_opted_in: "not-opted-in",
|
|
11
12
|
opted_in: "opted-in",
|
|
@@ -67,6 +68,13 @@ exports.ResetFpgaImageAttributeName = {
|
|
|
67
68
|
exports.ResetImageAttributeName = {
|
|
68
69
|
launchPermission: "launchPermission",
|
|
69
70
|
};
|
|
71
|
+
const ImportImageRequestFilterSensitiveLog = (obj) => ({
|
|
72
|
+
...obj,
|
|
73
|
+
...(obj.DiskContainers && {
|
|
74
|
+
DiskContainers: obj.DiskContainers.map((item) => (0, models_5_1.ImageDiskContainerFilterSensitiveLog)(item)),
|
|
75
|
+
}),
|
|
76
|
+
});
|
|
77
|
+
exports.ImportImageRequestFilterSensitiveLog = ImportImageRequestFilterSensitiveLog;
|
|
70
78
|
const ImportImageResultFilterSensitiveLog = (obj) => ({
|
|
71
79
|
...obj,
|
|
72
80
|
...(obj.SnapshotDetails && {
|
|
@@ -55156,6 +55156,9 @@ const de_InstanceTypeInfo = (output, context) => {
|
|
|
55156
55156
|
else if (output["supportedBootModes"] !== undefined && output["supportedBootModes"]["item"] !== undefined) {
|
|
55157
55157
|
contents.SupportedBootModes = de_BootModeTypeList((0, smithy_client_1.getArrayIfSingleItem)(output["supportedBootModes"]["item"]), context);
|
|
55158
55158
|
}
|
|
55159
|
+
if (output["nitroEnclavesSupport"] !== undefined) {
|
|
55160
|
+
contents.NitroEnclavesSupport = (0, smithy_client_1.expectString)(output["nitroEnclavesSupport"]);
|
|
55161
|
+
}
|
|
55159
55162
|
return contents;
|
|
55160
55163
|
};
|
|
55161
55164
|
const de_InstanceTypeInfoFromInstanceRequirements = (output, context) => {
|
|
@@ -1,8 +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 { ImportImageRequestFilterSensitiveLog } from "../models/
|
|
5
|
-
import { ImportImageResultFilterSensitiveLog } from "../models/models_6";
|
|
4
|
+
import { ImportImageRequestFilterSensitiveLog, ImportImageResultFilterSensitiveLog, } from "../models/models_6";
|
|
6
5
|
import { de_ImportImageCommand, se_ImportImageCommand } from "../protocols/Aws_ec2";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class ImportImageCommand extends $Command {
|
|
@@ -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
|
|
4
|
+
import { RunScheduledInstancesRequestFilterSensitiveLog } from "../models/models_6";
|
|
5
5
|
import { de_RunScheduledInstancesCommand, se_RunScheduledInstancesCommand } from "../protocols/Aws_ec2";
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class RunScheduledInstancesCommand extends $Command {
|
|
@@ -102,6 +102,10 @@ export const EnaSupport = {
|
|
|
102
102
|
supported: "supported",
|
|
103
103
|
unsupported: "unsupported",
|
|
104
104
|
};
|
|
105
|
+
export const NitroEnclavesSupport = {
|
|
106
|
+
SUPPORTED: "supported",
|
|
107
|
+
UNSUPPORTED: "unsupported",
|
|
108
|
+
};
|
|
105
109
|
export const PlacementGroupStrategy = {
|
|
106
110
|
cluster: "cluster",
|
|
107
111
|
partition: "partition",
|
|
@@ -115,9 +115,3 @@ export const ImageDiskContainerFilterSensitiveLog = (obj) => ({
|
|
|
115
115
|
...obj,
|
|
116
116
|
...(obj.Url && { Url: SENSITIVE_STRING }),
|
|
117
117
|
});
|
|
118
|
-
export const ImportImageRequestFilterSensitiveLog = (obj) => ({
|
|
119
|
-
...obj,
|
|
120
|
-
...(obj.DiskContainers && {
|
|
121
|
-
DiskContainers: obj.DiskContainers.map((item) => ImageDiskContainerFilterSensitiveLog(item)),
|
|
122
|
-
}),
|
|
123
|
-
});
|
|
@@ -3,6 +3,7 @@ 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";
|
|
6
7
|
export const ModifyAvailabilityZoneOptInStatus = {
|
|
7
8
|
not_opted_in: "not-opted-in",
|
|
8
9
|
opted_in: "opted-in",
|
|
@@ -64,6 +65,12 @@ export const ResetFpgaImageAttributeName = {
|
|
|
64
65
|
export const ResetImageAttributeName = {
|
|
65
66
|
launchPermission: "launchPermission",
|
|
66
67
|
};
|
|
68
|
+
export const ImportImageRequestFilterSensitiveLog = (obj) => ({
|
|
69
|
+
...obj,
|
|
70
|
+
...(obj.DiskContainers && {
|
|
71
|
+
DiskContainers: obj.DiskContainers.map((item) => ImageDiskContainerFilterSensitiveLog(item)),
|
|
72
|
+
}),
|
|
73
|
+
});
|
|
67
74
|
export const ImportImageResultFilterSensitiveLog = (obj) => ({
|
|
68
75
|
...obj,
|
|
69
76
|
...(obj.SnapshotDetails && {
|
|
@@ -53942,6 +53942,9 @@ const de_InstanceTypeInfo = (output, context) => {
|
|
|
53942
53942
|
else if (output["supportedBootModes"] !== undefined && output["supportedBootModes"]["item"] !== undefined) {
|
|
53943
53943
|
contents.SupportedBootModes = de_BootModeTypeList(__getArrayIfSingleItem(output["supportedBootModes"]["item"]), context);
|
|
53944
53944
|
}
|
|
53945
|
+
if (output["nitroEnclavesSupport"] !== undefined) {
|
|
53946
|
+
contents.NitroEnclavesSupport = __expectString(output["nitroEnclavesSupport"]);
|
|
53947
|
+
}
|
|
53945
53948
|
return contents;
|
|
53946
53949
|
};
|
|
53947
53950
|
const de_InstanceTypeInfoFromInstanceRequirements = (output, context) => {
|
|
@@ -185,6 +185,7 @@ export interface DescribeInstanceTypesCommandOutput extends DescribeInstanceType
|
|
|
185
185
|
* // SupportedBootModes: [ // BootModeTypeList
|
|
186
186
|
* // "legacy-bios" || "uefi",
|
|
187
187
|
* // ],
|
|
188
|
+
* // NitroEnclavesSupport: "unsupported" || "supported",
|
|
188
189
|
* // },
|
|
189
190
|
* // ],
|
|
190
191
|
* // 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 { ImportImageRequest } from "../models/
|
|
6
|
-
import { ImportImageResult } from "../models/models_6";
|
|
5
|
+
import { ImportImageRequest, ImportImageResult } from "../models/models_6";
|
|
7
6
|
/**
|
|
8
7
|
* @public
|
|
9
8
|
*/
|
|
@@ -2,7 +2,8 @@ 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
|
|
5
|
+
import { RunScheduledInstancesRequest } from "../models/models_6";
|
|
6
|
+
import { RunScheduledInstancesResult } from "../models/models_7";
|
|
6
7
|
/**
|
|
7
8
|
* @public
|
|
8
9
|
*/
|
|
@@ -25,8 +25,8 @@ export interface StopInstancesCommandOutput extends StopInstancesResult, __Metad
|
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Stops an Amazon EBS-backed instance. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html">Stop and start
|
|
27
27
|
* your instance</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
28
|
-
* <p>You can use the Stop action to hibernate an instance if the instance is <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
|
29
|
-
* hibernation</a> and it meets the <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
|
28
|
+
* <p>You can use the Stop action to hibernate an instance if the instance is <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enabling-hibernation.html">enabled for
|
|
29
|
+
* hibernation</a> and it meets the <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html">hibernation
|
|
30
30
|
* prerequisites</a>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html">Hibernate your instance</a> in the
|
|
31
31
|
* <i>Amazon EC2 User Guide</i>.</p>
|
|
32
32
|
* <p>We don't charge usage for a stopped instance, or data transfer fees; however, your
|
|
@@ -8039,14 +8039,14 @@ export interface ElasticInferenceAcceleratorAssociation {
|
|
|
8039
8039
|
/**
|
|
8040
8040
|
* @public
|
|
8041
8041
|
* <p>Indicates whether your instance is configured for hibernation. This parameter is valid
|
|
8042
|
-
* only if the instance meets the <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
|
8042
|
+
* only if the instance meets the <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html">hibernation
|
|
8043
8043
|
* prerequisites</a>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html">Hibernate your instance</a> in the
|
|
8044
8044
|
* <i>Amazon EC2 User Guide</i>.</p>
|
|
8045
8045
|
*/
|
|
8046
8046
|
export interface HibernationOptions {
|
|
8047
8047
|
/**
|
|
8048
|
-
* <p>If
|
|
8049
|
-
*
|
|
8048
|
+
* <p>If <code>true</code>, your instance is enabled for hibernation; otherwise, it is not
|
|
8049
|
+
* enabled for hibernation.</p>
|
|
8050
8050
|
*/
|
|
8051
8051
|
Configured?: boolean;
|
|
8052
8052
|
}
|
|
@@ -1800,6 +1800,18 @@ export interface NetworkInfo {
|
|
|
1800
1800
|
*/
|
|
1801
1801
|
EnaSrdSupported?: boolean;
|
|
1802
1802
|
}
|
|
1803
|
+
/**
|
|
1804
|
+
* @public
|
|
1805
|
+
* @enum
|
|
1806
|
+
*/
|
|
1807
|
+
export declare const NitroEnclavesSupport: {
|
|
1808
|
+
readonly SUPPORTED: "supported";
|
|
1809
|
+
readonly UNSUPPORTED: "unsupported";
|
|
1810
|
+
};
|
|
1811
|
+
/**
|
|
1812
|
+
* @public
|
|
1813
|
+
*/
|
|
1814
|
+
export type NitroEnclavesSupport = (typeof NitroEnclavesSupport)[keyof typeof NitroEnclavesSupport];
|
|
1803
1815
|
/**
|
|
1804
1816
|
* @public
|
|
1805
1817
|
* @enum
|
|
@@ -2034,6 +2046,10 @@ export interface InstanceTypeInfo {
|
|
|
2034
2046
|
* <i>Amazon EC2 User Guide</i>.</p>
|
|
2035
2047
|
*/
|
|
2036
2048
|
SupportedBootModes?: (BootModeType | string)[];
|
|
2049
|
+
/**
|
|
2050
|
+
* <p>Indicates whether Nitro Enclaves is supported.</p>
|
|
2051
|
+
*/
|
|
2052
|
+
NitroEnclavesSupport?: NitroEnclavesSupport | string;
|
|
2037
2053
|
}
|
|
2038
2054
|
/**
|
|
2039
2055
|
* @public
|
|
@@ -9772,36 +9788,6 @@ export interface VerifiedAccessLogS3Destination {
|
|
|
9772
9788
|
*/
|
|
9773
9789
|
BucketOwner?: string;
|
|
9774
9790
|
}
|
|
9775
|
-
/**
|
|
9776
|
-
* @public
|
|
9777
|
-
* <p>Describes the options for Verified Access logs.</p>
|
|
9778
|
-
*/
|
|
9779
|
-
export interface VerifiedAccessLogs {
|
|
9780
|
-
/**
|
|
9781
|
-
* <p>Amazon S3 logging options.</p>
|
|
9782
|
-
*/
|
|
9783
|
-
S3?: VerifiedAccessLogS3Destination;
|
|
9784
|
-
/**
|
|
9785
|
-
* <p>CloudWatch Logs logging destination.</p>
|
|
9786
|
-
*/
|
|
9787
|
-
CloudWatchLogs?: VerifiedAccessLogCloudWatchLogsDestination;
|
|
9788
|
-
/**
|
|
9789
|
-
* <p>Kinesis logging destination.</p>
|
|
9790
|
-
*/
|
|
9791
|
-
KinesisDataFirehose?: VerifiedAccessLogKinesisDataFirehoseDestination;
|
|
9792
|
-
/**
|
|
9793
|
-
* <p>
|
|
9794
|
-
* Describes current setting for the logging version.
|
|
9795
|
-
* </p>
|
|
9796
|
-
*/
|
|
9797
|
-
LogVersion?: string;
|
|
9798
|
-
/**
|
|
9799
|
-
* <p>
|
|
9800
|
-
* Describes current setting for including trust data into the logs.
|
|
9801
|
-
* </p>
|
|
9802
|
-
*/
|
|
9803
|
-
IncludeTrustContext?: boolean;
|
|
9804
|
-
}
|
|
9805
9791
|
/**
|
|
9806
9792
|
* @internal
|
|
9807
9793
|
*/
|
|
@@ -1,8 +1,38 @@
|
|
|
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
3
|
import { ConnectionNotification, DnsEntry, DnsNameState, IpAddressType, PayerResponsibility, ServiceConfiguration, ServiceConnectivityType, ServiceTypeDetail, State, SubnetCidrReservation, TransitGatewayPrefixListReference, Volume, VpcEndpoint, VpnConnection, VpnGateway } from "./models_2";
|
|
4
|
-
import { AttributeBooleanValue,
|
|
5
|
-
import { AnalysisStatus, ArchitectureType,
|
|
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, VerifiedAccessLogKinesisDataFirehoseDestination, VerifiedAccessLogS3Destination } from "./models_4";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
* <p>Describes the options for Verified Access logs.</p>
|
|
9
|
+
*/
|
|
10
|
+
export interface VerifiedAccessLogs {
|
|
11
|
+
/**
|
|
12
|
+
* <p>Amazon S3 logging options.</p>
|
|
13
|
+
*/
|
|
14
|
+
S3?: VerifiedAccessLogS3Destination;
|
|
15
|
+
/**
|
|
16
|
+
* <p>CloudWatch Logs logging destination.</p>
|
|
17
|
+
*/
|
|
18
|
+
CloudWatchLogs?: VerifiedAccessLogCloudWatchLogsDestination;
|
|
19
|
+
/**
|
|
20
|
+
* <p>Kinesis logging destination.</p>
|
|
21
|
+
*/
|
|
22
|
+
KinesisDataFirehose?: VerifiedAccessLogKinesisDataFirehoseDestination;
|
|
23
|
+
/**
|
|
24
|
+
* <p>
|
|
25
|
+
* Describes current setting for the logging version.
|
|
26
|
+
* </p>
|
|
27
|
+
*/
|
|
28
|
+
LogVersion?: string;
|
|
29
|
+
/**
|
|
30
|
+
* <p>
|
|
31
|
+
* Describes current setting for including trust data into the logs.
|
|
32
|
+
* </p>
|
|
33
|
+
*/
|
|
34
|
+
IncludeTrustContext?: boolean;
|
|
35
|
+
}
|
|
6
36
|
/**
|
|
7
37
|
* @public
|
|
8
38
|
* <p>Describes logging options for an Amazon Web Services Verified Access instance.</p>
|
|
@@ -6604,115 +6634,6 @@ export interface ImportImageLicenseConfigurationRequest {
|
|
|
6604
6634
|
*/
|
|
6605
6635
|
LicenseConfigurationArn?: string;
|
|
6606
6636
|
}
|
|
6607
|
-
/**
|
|
6608
|
-
* @public
|
|
6609
|
-
*/
|
|
6610
|
-
export interface ImportImageRequest {
|
|
6611
|
-
/**
|
|
6612
|
-
* <p>The architecture of the virtual machine.</p>
|
|
6613
|
-
* <p>Valid values: <code>i386</code> | <code>x86_64</code>
|
|
6614
|
-
* </p>
|
|
6615
|
-
*/
|
|
6616
|
-
Architecture?: string;
|
|
6617
|
-
/**
|
|
6618
|
-
* <p>The client-specific data.</p>
|
|
6619
|
-
*/
|
|
6620
|
-
ClientData?: ClientData;
|
|
6621
|
-
/**
|
|
6622
|
-
* <p>The token to enable idempotency for VM import requests.</p>
|
|
6623
|
-
*/
|
|
6624
|
-
ClientToken?: string;
|
|
6625
|
-
/**
|
|
6626
|
-
* <p>A description string for the import image task.</p>
|
|
6627
|
-
*/
|
|
6628
|
-
Description?: string;
|
|
6629
|
-
/**
|
|
6630
|
-
* <p>Information about the disk containers.</p>
|
|
6631
|
-
*/
|
|
6632
|
-
DiskContainers?: ImageDiskContainer[];
|
|
6633
|
-
/**
|
|
6634
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
6635
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
6636
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
6637
|
-
*/
|
|
6638
|
-
DryRun?: boolean;
|
|
6639
|
-
/**
|
|
6640
|
-
* <p>Specifies whether the destination AMI of the imported image should be encrypted. The default KMS key for EBS is used
|
|
6641
|
-
* unless you specify a non-default KMS key using <code>KmsKeyId</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html">Amazon EBS Encryption</a> in the
|
|
6642
|
-
* <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
6643
|
-
*/
|
|
6644
|
-
Encrypted?: boolean;
|
|
6645
|
-
/**
|
|
6646
|
-
* <p>The target hypervisor platform.</p>
|
|
6647
|
-
* <p>Valid values: <code>xen</code>
|
|
6648
|
-
* </p>
|
|
6649
|
-
*/
|
|
6650
|
-
Hypervisor?: string;
|
|
6651
|
-
/**
|
|
6652
|
-
* <p>An identifier for the symmetric KMS key to use when creating the
|
|
6653
|
-
* encrypted AMI. This parameter is only required if you want to use a non-default KMS key; if this
|
|
6654
|
-
* parameter is not specified, the default KMS key for EBS is used. If a <code>KmsKeyId</code> is
|
|
6655
|
-
* specified, the <code>Encrypted</code> flag must also be set. </p>
|
|
6656
|
-
* <p>The KMS key identifier may be provided in any of the following formats: </p>
|
|
6657
|
-
* <ul>
|
|
6658
|
-
* <li>
|
|
6659
|
-
* <p>Key ID</p>
|
|
6660
|
-
* </li>
|
|
6661
|
-
* <li>
|
|
6662
|
-
* <p>Key alias. The alias ARN contains the <code>arn:aws:kms</code> namespace, followed by the Region of the key, the Amazon Web Services account ID of the key owner, the <code>alias</code> namespace, and then the key alias. For example, arn:aws:kms:<i>us-east-1</i>:<i>012345678910</i>:alias/<i>ExampleAlias</i>.</p>
|
|
6663
|
-
* </li>
|
|
6664
|
-
* <li>
|
|
6665
|
-
* <p>ARN using key ID. The ID ARN contains the <code>arn:aws:kms</code> namespace, followed by the Region of the key, the Amazon Web Services account ID of the key owner, the <code>key</code> namespace, and then the key ID. For example, arn:aws:kms:<i>us-east-1</i>:<i>012345678910</i>:key/<i>abcd1234-a123-456a-a12b-a123b4cd56ef</i>.</p>
|
|
6666
|
-
* </li>
|
|
6667
|
-
* <li>
|
|
6668
|
-
* <p>ARN using key alias. The alias ARN contains the <code>arn:aws:kms</code> namespace, followed by the Region of the key, the Amazon Web Services account ID of the key owner, the <code>alias</code> namespace, and then the key alias. For example, arn:aws:kms:<i>us-east-1</i>:<i>012345678910</i>:alias/<i>ExampleAlias</i>. </p>
|
|
6669
|
-
* </li>
|
|
6670
|
-
* </ul>
|
|
6671
|
-
* <p>Amazon Web Services parses <code>KmsKeyId</code> asynchronously, meaning that the action you call may appear to complete even
|
|
6672
|
-
* though you provided an invalid identifier. This action will eventually report failure. </p>
|
|
6673
|
-
* <p>The specified KMS key must exist in the Region that the AMI is being copied to.</p>
|
|
6674
|
-
* <p>Amazon EBS does not support asymmetric KMS keys.</p>
|
|
6675
|
-
*/
|
|
6676
|
-
KmsKeyId?: string;
|
|
6677
|
-
/**
|
|
6678
|
-
* <p>The license type to be used for the Amazon Machine Image (AMI) after importing.</p>
|
|
6679
|
-
* <p>Specify <code>AWS</code> to replace the source-system license with an Amazon Web Services
|
|
6680
|
-
* license or <code>BYOL</code> to retain the source-system license. Leaving this parameter
|
|
6681
|
-
* undefined is the same as choosing <code>AWS</code> when importing a Windows Server operating
|
|
6682
|
-
* system, and the same as choosing <code>BYOL</code> when importing a Windows client operating
|
|
6683
|
-
* system (such as Windows 10) or a Linux operating system.</p>
|
|
6684
|
-
* <p>To use <code>BYOL</code>, you must have existing licenses with rights to use these licenses in a third party
|
|
6685
|
-
* cloud, such as Amazon Web Services. For more information, see <a href="https://docs.aws.amazon.com/vm-import/latest/userguide/vmimport-image-import.html#prerequisites-image">Prerequisites</a> in the
|
|
6686
|
-
* VM Import/Export User Guide.</p>
|
|
6687
|
-
*/
|
|
6688
|
-
LicenseType?: string;
|
|
6689
|
-
/**
|
|
6690
|
-
* <p>The operating system of the virtual machine.</p>
|
|
6691
|
-
* <p>Valid values: <code>Windows</code> | <code>Linux</code>
|
|
6692
|
-
* </p>
|
|
6693
|
-
*/
|
|
6694
|
-
Platform?: string;
|
|
6695
|
-
/**
|
|
6696
|
-
* <p>The name of the role to use when not using the default role, 'vmimport'.</p>
|
|
6697
|
-
*/
|
|
6698
|
-
RoleName?: string;
|
|
6699
|
-
/**
|
|
6700
|
-
* <p>The ARNs of the license configurations.</p>
|
|
6701
|
-
*/
|
|
6702
|
-
LicenseSpecifications?: ImportImageLicenseConfigurationRequest[];
|
|
6703
|
-
/**
|
|
6704
|
-
* <p>The tags to apply to the import image task during creation.</p>
|
|
6705
|
-
*/
|
|
6706
|
-
TagSpecifications?: TagSpecification[];
|
|
6707
|
-
/**
|
|
6708
|
-
* <p>The usage operation value. For more information, see <a href="https://docs.aws.amazon.com/vm-import/latest/userguide/vmie_prereqs.html#prerequisites">Licensing options</a> in the <i>VM Import/Export User Guide</i>.</p>
|
|
6709
|
-
*/
|
|
6710
|
-
UsageOperation?: string;
|
|
6711
|
-
/**
|
|
6712
|
-
* <p>The boot mode of the virtual machine.</p>
|
|
6713
|
-
*/
|
|
6714
|
-
BootMode?: BootModeValues | string;
|
|
6715
|
-
}
|
|
6716
6637
|
/**
|
|
6717
6638
|
* @internal
|
|
6718
6639
|
*/
|
|
@@ -6737,7 +6658,3 @@ export declare const GetVpnConnectionDeviceSampleConfigurationResultFilterSensit
|
|
|
6737
6658
|
* @internal
|
|
6738
6659
|
*/
|
|
6739
6660
|
export declare const ImageDiskContainerFilterSensitiveLog: (obj: ImageDiskContainer) => any;
|
|
6740
|
-
/**
|
|
6741
|
-
* @internal
|
|
6742
|
-
*/
|
|
6743
|
-
export declare const ImportImageRequestFilterSensitiveLog: (obj: ImportImageRequest) => any;
|
|
@@ -3,7 +3,116 @@ 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, InstanceFamilyCreditSpecification, IpamResourceCidr, Purchase, UnlimitedSupportedInstanceFamily, UserBucket, VerifiedAccessInstanceLoggingConfiguration, VolumeModification } from "./models_5";
|
|
6
|
+
import { ClientData, ImageDiskContainer, ImportImageLicenseConfigurationRequest, InstanceFamilyCreditSpecification, IpamResourceCidr, Purchase, UnlimitedSupportedInstanceFamily, UserBucket, VerifiedAccessInstanceLoggingConfiguration, VolumeModification } from "./models_5";
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
export interface ImportImageRequest {
|
|
11
|
+
/**
|
|
12
|
+
* <p>The architecture of the virtual machine.</p>
|
|
13
|
+
* <p>Valid values: <code>i386</code> | <code>x86_64</code>
|
|
14
|
+
* </p>
|
|
15
|
+
*/
|
|
16
|
+
Architecture?: string;
|
|
17
|
+
/**
|
|
18
|
+
* <p>The client-specific data.</p>
|
|
19
|
+
*/
|
|
20
|
+
ClientData?: ClientData;
|
|
21
|
+
/**
|
|
22
|
+
* <p>The token to enable idempotency for VM import requests.</p>
|
|
23
|
+
*/
|
|
24
|
+
ClientToken?: string;
|
|
25
|
+
/**
|
|
26
|
+
* <p>A description string for the import image task.</p>
|
|
27
|
+
*/
|
|
28
|
+
Description?: string;
|
|
29
|
+
/**
|
|
30
|
+
* <p>Information about the disk containers.</p>
|
|
31
|
+
*/
|
|
32
|
+
DiskContainers?: ImageDiskContainer[];
|
|
33
|
+
/**
|
|
34
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
35
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
36
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
37
|
+
*/
|
|
38
|
+
DryRun?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* <p>Specifies whether the destination AMI of the imported image should be encrypted. The default KMS key for EBS is used
|
|
41
|
+
* unless you specify a non-default KMS key using <code>KmsKeyId</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html">Amazon EBS Encryption</a> in the
|
|
42
|
+
* <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
43
|
+
*/
|
|
44
|
+
Encrypted?: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* <p>The target hypervisor platform.</p>
|
|
47
|
+
* <p>Valid values: <code>xen</code>
|
|
48
|
+
* </p>
|
|
49
|
+
*/
|
|
50
|
+
Hypervisor?: string;
|
|
51
|
+
/**
|
|
52
|
+
* <p>An identifier for the symmetric KMS key to use when creating the
|
|
53
|
+
* encrypted AMI. This parameter is only required if you want to use a non-default KMS key; if this
|
|
54
|
+
* parameter is not specified, the default KMS key for EBS is used. If a <code>KmsKeyId</code> is
|
|
55
|
+
* specified, the <code>Encrypted</code> flag must also be set. </p>
|
|
56
|
+
* <p>The KMS key identifier may be provided in any of the following formats: </p>
|
|
57
|
+
* <ul>
|
|
58
|
+
* <li>
|
|
59
|
+
* <p>Key ID</p>
|
|
60
|
+
* </li>
|
|
61
|
+
* <li>
|
|
62
|
+
* <p>Key alias. The alias ARN contains the <code>arn:aws:kms</code> namespace, followed by the Region of the key, the Amazon Web Services account ID of the key owner, the <code>alias</code> namespace, and then the key alias. For example, arn:aws:kms:<i>us-east-1</i>:<i>012345678910</i>:alias/<i>ExampleAlias</i>.</p>
|
|
63
|
+
* </li>
|
|
64
|
+
* <li>
|
|
65
|
+
* <p>ARN using key ID. The ID ARN contains the <code>arn:aws:kms</code> namespace, followed by the Region of the key, the Amazon Web Services account ID of the key owner, the <code>key</code> namespace, and then the key ID. For example, arn:aws:kms:<i>us-east-1</i>:<i>012345678910</i>:key/<i>abcd1234-a123-456a-a12b-a123b4cd56ef</i>.</p>
|
|
66
|
+
* </li>
|
|
67
|
+
* <li>
|
|
68
|
+
* <p>ARN using key alias. The alias ARN contains the <code>arn:aws:kms</code> namespace, followed by the Region of the key, the Amazon Web Services account ID of the key owner, the <code>alias</code> namespace, and then the key alias. For example, arn:aws:kms:<i>us-east-1</i>:<i>012345678910</i>:alias/<i>ExampleAlias</i>. </p>
|
|
69
|
+
* </li>
|
|
70
|
+
* </ul>
|
|
71
|
+
* <p>Amazon Web Services parses <code>KmsKeyId</code> asynchronously, meaning that the action you call may appear to complete even
|
|
72
|
+
* though you provided an invalid identifier. This action will eventually report failure. </p>
|
|
73
|
+
* <p>The specified KMS key must exist in the Region that the AMI is being copied to.</p>
|
|
74
|
+
* <p>Amazon EBS does not support asymmetric KMS keys.</p>
|
|
75
|
+
*/
|
|
76
|
+
KmsKeyId?: string;
|
|
77
|
+
/**
|
|
78
|
+
* <p>The license type to be used for the Amazon Machine Image (AMI) after importing.</p>
|
|
79
|
+
* <p>Specify <code>AWS</code> to replace the source-system license with an Amazon Web Services
|
|
80
|
+
* license or <code>BYOL</code> to retain the source-system license. Leaving this parameter
|
|
81
|
+
* undefined is the same as choosing <code>AWS</code> when importing a Windows Server operating
|
|
82
|
+
* system, and the same as choosing <code>BYOL</code> when importing a Windows client operating
|
|
83
|
+
* system (such as Windows 10) or a Linux operating system.</p>
|
|
84
|
+
* <p>To use <code>BYOL</code>, you must have existing licenses with rights to use these licenses in a third party
|
|
85
|
+
* cloud, such as Amazon Web Services. For more information, see <a href="https://docs.aws.amazon.com/vm-import/latest/userguide/vmimport-image-import.html#prerequisites-image">Prerequisites</a> in the
|
|
86
|
+
* VM Import/Export User Guide.</p>
|
|
87
|
+
*/
|
|
88
|
+
LicenseType?: string;
|
|
89
|
+
/**
|
|
90
|
+
* <p>The operating system of the virtual machine.</p>
|
|
91
|
+
* <p>Valid values: <code>Windows</code> | <code>Linux</code>
|
|
92
|
+
* </p>
|
|
93
|
+
*/
|
|
94
|
+
Platform?: string;
|
|
95
|
+
/**
|
|
96
|
+
* <p>The name of the role to use when not using the default role, 'vmimport'.</p>
|
|
97
|
+
*/
|
|
98
|
+
RoleName?: string;
|
|
99
|
+
/**
|
|
100
|
+
* <p>The ARNs of the license configurations.</p>
|
|
101
|
+
*/
|
|
102
|
+
LicenseSpecifications?: ImportImageLicenseConfigurationRequest[];
|
|
103
|
+
/**
|
|
104
|
+
* <p>The tags to apply to the import image task during creation.</p>
|
|
105
|
+
*/
|
|
106
|
+
TagSpecifications?: TagSpecification[];
|
|
107
|
+
/**
|
|
108
|
+
* <p>The usage operation value. For more information, see <a href="https://docs.aws.amazon.com/vm-import/latest/userguide/vmie_prereqs.html#prerequisites">Licensing options</a> in the <i>VM Import/Export User Guide</i>.</p>
|
|
109
|
+
*/
|
|
110
|
+
UsageOperation?: string;
|
|
111
|
+
/**
|
|
112
|
+
* <p>The boot mode of the virtual machine.</p>
|
|
113
|
+
*/
|
|
114
|
+
BootMode?: BootModeValues | string;
|
|
115
|
+
}
|
|
7
116
|
/**
|
|
8
117
|
* @public
|
|
9
118
|
*/
|
|
@@ -6463,14 +6572,13 @@ export interface EnclaveOptionsRequest {
|
|
|
6463
6572
|
/**
|
|
6464
6573
|
* @public
|
|
6465
6574
|
* <p>Indicates whether your instance is configured for hibernation. This parameter is valid
|
|
6466
|
-
* only if the instance meets the <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
|
6575
|
+
* only if the instance meets the <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html">hibernation
|
|
6467
6576
|
* prerequisites</a>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html">Hibernate your instance</a> in the
|
|
6468
6577
|
* <i>Amazon EC2 User Guide</i>.</p>
|
|
6469
6578
|
*/
|
|
6470
6579
|
export interface HibernationOptionsRequest {
|
|
6471
6580
|
/**
|
|
6472
|
-
* <p>
|
|
6473
|
-
* hibernation.</p>
|
|
6581
|
+
* <p>Set to <code>true</code> to enable your instance for hibernation.</p>
|
|
6474
6582
|
* <p>Default: <code>false</code>
|
|
6475
6583
|
* </p>
|
|
6476
6584
|
*/
|
|
@@ -6951,9 +7059,10 @@ export interface RunInstancesRequest {
|
|
|
6951
7059
|
*/
|
|
6952
7060
|
CapacityReservationSpecification?: CapacityReservationSpecification;
|
|
6953
7061
|
/**
|
|
6954
|
-
* <p>Indicates whether an instance is enabled for hibernation.
|
|
6955
|
-
*
|
|
6956
|
-
*
|
|
7062
|
+
* <p>Indicates whether an instance is enabled for hibernation. This parameter is valid only
|
|
7063
|
+
* if the instance meets the <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html">hibernation
|
|
7064
|
+
* prerequisites</a>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html">Hibernate your instance</a> in the
|
|
7065
|
+
* <i>Amazon EC2 User Guide</i>.</p>
|
|
6957
7066
|
* <p>You can't enable hibernation and Amazon Web Services Nitro Enclaves on the same
|
|
6958
7067
|
* instance.</p>
|
|
6959
7068
|
*/
|
|
@@ -6968,7 +7077,7 @@ export interface RunInstancesRequest {
|
|
|
6968
7077
|
MetadataOptions?: InstanceMetadataOptionsRequest;
|
|
6969
7078
|
/**
|
|
6970
7079
|
* <p>Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves. For
|
|
6971
|
-
* more information, see <a href="https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html">
|
|
7080
|
+
* more information, see <a href="https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html">What is Amazon Web Services Nitro
|
|
6972
7081
|
* Enclaves?</a> in the <i>Amazon Web Services Nitro Enclaves User
|
|
6973
7082
|
* Guide</i>.</p>
|
|
6974
7083
|
* <p>You can't enable Amazon Web Services Nitro Enclaves and hibernation on the same
|
|
@@ -7279,15 +7388,9 @@ export interface RunScheduledInstancesRequest {
|
|
|
7279
7388
|
ScheduledInstanceId: string | undefined;
|
|
7280
7389
|
}
|
|
7281
7390
|
/**
|
|
7282
|
-
* @
|
|
7283
|
-
* <p>Contains the output of RunScheduledInstances.</p>
|
|
7391
|
+
* @internal
|
|
7284
7392
|
*/
|
|
7285
|
-
export
|
|
7286
|
-
/**
|
|
7287
|
-
* <p>The IDs of the newly launched instances.</p>
|
|
7288
|
-
*/
|
|
7289
|
-
InstanceIdSet?: string[];
|
|
7290
|
-
}
|
|
7393
|
+
export declare const ImportImageRequestFilterSensitiveLog: (obj: ImportImageRequest) => any;
|
|
7291
7394
|
/**
|
|
7292
7395
|
* @internal
|
|
7293
7396
|
*/
|
|
@@ -4,6 +4,16 @@ import { TransitGatewayRoute } from "./models_2";
|
|
|
4
4
|
import { ClientVpnConnectionStatus, Filter } from "./models_3";
|
|
5
5
|
import { InstanceState, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis } from "./models_4";
|
|
6
6
|
import { InstanceMonitoring } from "./models_6";
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
* <p>Contains the output of RunScheduledInstances.</p>
|
|
10
|
+
*/
|
|
11
|
+
export interface RunScheduledInstancesResult {
|
|
12
|
+
/**
|
|
13
|
+
* <p>The IDs of the newly launched instances.</p>
|
|
14
|
+
*/
|
|
15
|
+
InstanceIdSet?: string[];
|
|
16
|
+
}
|
|
7
17
|
/**
|
|
8
18
|
* @public
|
|
9
19
|
*/
|
|
@@ -11,8 +11,7 @@ import {
|
|
|
11
11
|
ServiceInputTypes,
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../EC2Client";
|
|
14
|
-
import { ImportImageRequest } from "../models/
|
|
15
|
-
import { ImportImageResult } from "../models/models_6";
|
|
14
|
+
import { ImportImageRequest, ImportImageResult } from "../models/models_6";
|
|
16
15
|
export { __MetadataBearer, $Command };
|
|
17
16
|
export interface ImportImageCommandInput extends ImportImageRequest {}
|
|
18
17
|
export interface ImportImageCommandOutput
|
|
@@ -11,10 +11,8 @@ import {
|
|
|
11
11
|
ServiceInputTypes,
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../EC2Client";
|
|
14
|
-
import {
|
|
15
|
-
|
|
16
|
-
RunScheduledInstancesResult,
|
|
17
|
-
} from "../models/models_6";
|
|
14
|
+
import { RunScheduledInstancesRequest } from "../models/models_6";
|
|
15
|
+
import { RunScheduledInstancesResult } from "../models/models_7";
|
|
18
16
|
export { __MetadataBearer, $Command };
|
|
19
17
|
export interface RunScheduledInstancesCommandInput
|
|
20
18
|
extends RunScheduledInstancesRequest {}
|
|
@@ -535,6 +535,12 @@ export interface NetworkInfo {
|
|
|
535
535
|
EncryptionInTransitSupported?: boolean;
|
|
536
536
|
EnaSrdSupported?: boolean;
|
|
537
537
|
}
|
|
538
|
+
export declare const NitroEnclavesSupport: {
|
|
539
|
+
readonly SUPPORTED: "supported";
|
|
540
|
+
readonly UNSUPPORTED: "unsupported";
|
|
541
|
+
};
|
|
542
|
+
export type NitroEnclavesSupport =
|
|
543
|
+
(typeof NitroEnclavesSupport)[keyof typeof NitroEnclavesSupport];
|
|
538
544
|
export declare const PlacementGroupStrategy: {
|
|
539
545
|
readonly cluster: "cluster";
|
|
540
546
|
readonly partition: "partition";
|
|
@@ -613,6 +619,7 @@ export interface InstanceTypeInfo {
|
|
|
613
619
|
DedicatedHostsSupported?: boolean;
|
|
614
620
|
AutoRecoverySupported?: boolean;
|
|
615
621
|
SupportedBootModes?: (BootModeType | string)[];
|
|
622
|
+
NitroEnclavesSupport?: NitroEnclavesSupport | string;
|
|
616
623
|
}
|
|
617
624
|
export interface DescribeInstanceTypesResult {
|
|
618
625
|
InstanceTypes?: InstanceTypeInfo[];
|
|
@@ -2075,13 +2082,6 @@ export interface VerifiedAccessLogS3Destination {
|
|
|
2075
2082
|
Prefix?: string;
|
|
2076
2083
|
BucketOwner?: string;
|
|
2077
2084
|
}
|
|
2078
|
-
export interface VerifiedAccessLogs {
|
|
2079
|
-
S3?: VerifiedAccessLogS3Destination;
|
|
2080
|
-
CloudWatchLogs?: VerifiedAccessLogCloudWatchLogsDestination;
|
|
2081
|
-
KinesisDataFirehose?: VerifiedAccessLogKinesisDataFirehoseDestination;
|
|
2082
|
-
LogVersion?: string;
|
|
2083
|
-
IncludeTrustContext?: boolean;
|
|
2084
|
-
}
|
|
2085
2085
|
export declare const DescribeLaunchTemplateVersionsResultFilterSensitiveLog: (
|
|
2086
2086
|
obj: DescribeLaunchTemplateVersionsResult
|
|
2087
2087
|
) => any;
|
|
@@ -56,7 +56,6 @@ import {
|
|
|
56
56
|
} from "./models_2";
|
|
57
57
|
import {
|
|
58
58
|
AttributeBooleanValue,
|
|
59
|
-
BootModeValues,
|
|
60
59
|
ExportTaskS3Location,
|
|
61
60
|
FastLaunchLaunchTemplateSpecificationResponse,
|
|
62
61
|
FastLaunchResourceType,
|
|
@@ -75,8 +74,17 @@ import {
|
|
|
75
74
|
import {
|
|
76
75
|
AnalysisStatus,
|
|
77
76
|
ArchitectureType,
|
|
78
|
-
|
|
77
|
+
VerifiedAccessLogCloudWatchLogsDestination,
|
|
78
|
+
VerifiedAccessLogKinesisDataFirehoseDestination,
|
|
79
|
+
VerifiedAccessLogS3Destination,
|
|
79
80
|
} from "./models_4";
|
|
81
|
+
export interface VerifiedAccessLogs {
|
|
82
|
+
S3?: VerifiedAccessLogS3Destination;
|
|
83
|
+
CloudWatchLogs?: VerifiedAccessLogCloudWatchLogsDestination;
|
|
84
|
+
KinesisDataFirehose?: VerifiedAccessLogKinesisDataFirehoseDestination;
|
|
85
|
+
LogVersion?: string;
|
|
86
|
+
IncludeTrustContext?: boolean;
|
|
87
|
+
}
|
|
80
88
|
export interface VerifiedAccessInstanceLoggingConfiguration {
|
|
81
89
|
VerifiedAccessInstanceId?: string;
|
|
82
90
|
AccessLogs?: VerifiedAccessLogs;
|
|
@@ -1654,24 +1662,6 @@ export interface ImageDiskContainer {
|
|
|
1654
1662
|
export interface ImportImageLicenseConfigurationRequest {
|
|
1655
1663
|
LicenseConfigurationArn?: string;
|
|
1656
1664
|
}
|
|
1657
|
-
export interface ImportImageRequest {
|
|
1658
|
-
Architecture?: string;
|
|
1659
|
-
ClientData?: ClientData;
|
|
1660
|
-
ClientToken?: string;
|
|
1661
|
-
Description?: string;
|
|
1662
|
-
DiskContainers?: ImageDiskContainer[];
|
|
1663
|
-
DryRun?: boolean;
|
|
1664
|
-
Encrypted?: boolean;
|
|
1665
|
-
Hypervisor?: string;
|
|
1666
|
-
KmsKeyId?: string;
|
|
1667
|
-
LicenseType?: string;
|
|
1668
|
-
Platform?: string;
|
|
1669
|
-
RoleName?: string;
|
|
1670
|
-
LicenseSpecifications?: ImportImageLicenseConfigurationRequest[];
|
|
1671
|
-
TagSpecifications?: TagSpecification[];
|
|
1672
|
-
UsageOperation?: string;
|
|
1673
|
-
BootMode?: BootModeValues | string;
|
|
1674
|
-
}
|
|
1675
1665
|
export declare const DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog: (
|
|
1676
1666
|
obj: DescribeVerifiedAccessTrustProvidersResult
|
|
1677
1667
|
) => any;
|
|
@@ -1690,6 +1680,3 @@ export declare const GetVpnConnectionDeviceSampleConfigurationResultFilterSensit
|
|
|
1690
1680
|
export declare const ImageDiskContainerFilterSensitiveLog: (
|
|
1691
1681
|
obj: ImageDiskContainer
|
|
1692
1682
|
) => any;
|
|
1693
|
-
export declare const ImportImageRequestFilterSensitiveLog: (
|
|
1694
|
-
obj: ImportImageRequest
|
|
1695
|
-
) => any;
|
|
@@ -143,6 +143,8 @@ import {
|
|
|
143
143
|
} from "./models_4";
|
|
144
144
|
import {
|
|
145
145
|
ClientData,
|
|
146
|
+
ImageDiskContainer,
|
|
147
|
+
ImportImageLicenseConfigurationRequest,
|
|
146
148
|
InstanceFamilyCreditSpecification,
|
|
147
149
|
IpamResourceCidr,
|
|
148
150
|
Purchase,
|
|
@@ -151,6 +153,24 @@ import {
|
|
|
151
153
|
VerifiedAccessInstanceLoggingConfiguration,
|
|
152
154
|
VolumeModification,
|
|
153
155
|
} from "./models_5";
|
|
156
|
+
export interface ImportImageRequest {
|
|
157
|
+
Architecture?: string;
|
|
158
|
+
ClientData?: ClientData;
|
|
159
|
+
ClientToken?: string;
|
|
160
|
+
Description?: string;
|
|
161
|
+
DiskContainers?: ImageDiskContainer[];
|
|
162
|
+
DryRun?: boolean;
|
|
163
|
+
Encrypted?: boolean;
|
|
164
|
+
Hypervisor?: string;
|
|
165
|
+
KmsKeyId?: string;
|
|
166
|
+
LicenseType?: string;
|
|
167
|
+
Platform?: string;
|
|
168
|
+
RoleName?: string;
|
|
169
|
+
LicenseSpecifications?: ImportImageLicenseConfigurationRequest[];
|
|
170
|
+
TagSpecifications?: TagSpecification[];
|
|
171
|
+
UsageOperation?: string;
|
|
172
|
+
BootMode?: BootModeValues | string;
|
|
173
|
+
}
|
|
154
174
|
export interface ImportImageResult {
|
|
155
175
|
Architecture?: string;
|
|
156
176
|
Description?: string;
|
|
@@ -1869,9 +1889,9 @@ export interface RunScheduledInstancesRequest {
|
|
|
1869
1889
|
LaunchSpecification: ScheduledInstancesLaunchSpecification | undefined;
|
|
1870
1890
|
ScheduledInstanceId: string | undefined;
|
|
1871
1891
|
}
|
|
1872
|
-
export
|
|
1873
|
-
|
|
1874
|
-
|
|
1892
|
+
export declare const ImportImageRequestFilterSensitiveLog: (
|
|
1893
|
+
obj: ImportImageRequest
|
|
1894
|
+
) => any;
|
|
1875
1895
|
export declare const ImportImageResultFilterSensitiveLog: (
|
|
1876
1896
|
obj: ImportImageResult
|
|
1877
1897
|
) => any;
|
|
@@ -14,6 +14,9 @@ import {
|
|
|
14
14
|
NetworkInsightsAnalysis,
|
|
15
15
|
} from "./models_4";
|
|
16
16
|
import { InstanceMonitoring } from "./models_6";
|
|
17
|
+
export interface RunScheduledInstancesResult {
|
|
18
|
+
InstanceIdSet?: string[];
|
|
19
|
+
}
|
|
17
20
|
export interface SearchLocalGatewayRoutesRequest {
|
|
18
21
|
LocalGatewayRouteTableId: string | undefined;
|
|
19
22
|
Filters?: Filter[];
|
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.369.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",
|
|
@@ -21,18 +21,18 @@
|
|
|
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.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-sdk-ec2": "3.
|
|
30
|
-
"@aws-sdk/middleware-signing": "3.
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.369.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.369.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.369.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.369.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.369.0",
|
|
29
|
+
"@aws-sdk/middleware-sdk-ec2": "3.369.0",
|
|
30
|
+
"@aws-sdk/middleware-signing": "3.369.0",
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "3.369.0",
|
|
32
|
+
"@aws-sdk/types": "3.369.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.369.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.369.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.369.0",
|
|
36
36
|
"@smithy/config-resolver": "^1.0.1",
|
|
37
37
|
"@smithy/fetch-http-handler": "^1.0.1",
|
|
38
38
|
"@smithy/hash-node": "^1.0.1",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@smithy/node-http-handler": "^1.0.2",
|
|
47
47
|
"@smithy/protocol-http": "^1.0.1",
|
|
48
48
|
"@smithy/smithy-client": "^1.0.3",
|
|
49
|
-
"@smithy/types": "^1.
|
|
49
|
+
"@smithy/types": "^1.1.0",
|
|
50
50
|
"@smithy/url-parser": "^1.0.1",
|
|
51
51
|
"@smithy/util-base64": "^1.0.1",
|
|
52
52
|
"@smithy/util-body-length-browser": "^1.0.1",
|