@aws-sdk/client-ec2 3.321.1 → 3.322.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/models/models_1.js +6 -2
- package/dist-cjs/models/models_3.js +2 -8
- package/dist-cjs/models/models_4.js +10 -1
- package/dist-cjs/protocols/Aws_ec2.js +25 -0
- package/dist-es/models/models_1.js +4 -0
- package/dist-es/models/models_3.js +0 -6
- package/dist-es/models/models_4.js +9 -0
- package/dist-es/protocols/Aws_ec2.js +25 -0
- package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +1 -0
- package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +1 -0
- package/dist-types/commands/DeleteSpotDatafeedSubscriptionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVolumeAttributeCommand.d.ts +2 -1
- package/dist-types/commands/DescribeVolumesCommand.d.ts +1 -2
- package/dist-types/commands/ImportKeyPairCommand.d.ts +1 -1
- package/dist-types/commands/ModifyInstanceAttributeCommand.d.ts +1 -1
- package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +0 -3
- package/dist-types/commands/PurchaseReservedInstancesOfferingCommand.d.ts +0 -3
- package/dist-types/commands/RequestSpotInstancesCommand.d.ts +0 -3
- package/dist-types/commands/RunInstancesCommand.d.ts +3 -16
- package/dist-types/commands/SendDiagnosticInterruptCommand.d.ts +1 -1
- package/dist-types/commands/StartInstancesCommand.d.ts +1 -2
- package/dist-types/models/models_0.d.ts +2 -2
- package/dist-types/models/models_1.d.ts +35 -82
- package/dist-types/models/models_2.d.ts +79 -14
- package/dist-types/models/models_3.d.ts +18 -25
- package/dist-types/models/models_4.d.ts +68 -191
- package/dist-types/models/models_5.d.ts +133 -52
- package/dist-types/models/models_6.d.ts +70 -49
- package/dist-types/models/models_7.d.ts +34 -0
- package/dist-types/ts3.4/commands/DeleteSpotDatafeedSubscriptionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeVolumeAttributeCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeVolumesCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ImportKeyPairCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SendDiagnosticInterruptCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartInstancesCommand.d.ts +4 -2
- package/dist-types/ts3.4/models/models_1.d.ts +8 -11
- package/dist-types/ts3.4/models/models_2.d.ts +12 -4
- package/dist-types/ts3.4/models/models_3.d.ts +5 -8
- package/dist-types/ts3.4/models/models_4.d.ts +15 -14
- package/dist-types/ts3.4/models/models_5.d.ts +13 -12
- package/dist-types/ts3.4/models/models_6.d.ts +14 -9
- package/dist-types/ts3.4/models/models_7.d.ts +9 -0
- package/package.json +1 -1
|
@@ -64,7 +64,6 @@ import {
|
|
|
64
64
|
PlacementGroup,
|
|
65
65
|
PlatformValues,
|
|
66
66
|
PrivateIpAddressSpecification,
|
|
67
|
-
ReplaceRootVolumeTask,
|
|
68
67
|
SpotInstanceType,
|
|
69
68
|
StateReason,
|
|
70
69
|
Subnet,
|
|
@@ -72,6 +71,7 @@ import {
|
|
|
72
71
|
Tenancy,
|
|
73
72
|
} from "./models_1";
|
|
74
73
|
import {
|
|
74
|
+
ReplaceRootVolumeTask,
|
|
75
75
|
RouteTable,
|
|
76
76
|
Snapshot,
|
|
77
77
|
SnapshotState,
|
|
@@ -112,11 +112,18 @@ import {
|
|
|
112
112
|
InstanceMaintenanceOptions,
|
|
113
113
|
InstanceMetadataOptionsResponse,
|
|
114
114
|
LicenseConfiguration,
|
|
115
|
-
MonitoringState,
|
|
116
115
|
PermissionGroup,
|
|
117
116
|
ProductCode,
|
|
118
117
|
VirtualizationType,
|
|
119
118
|
} from "./models_3";
|
|
119
|
+
export declare const MonitoringState: {
|
|
120
|
+
readonly disabled: "disabled";
|
|
121
|
+
readonly disabling: "disabling";
|
|
122
|
+
readonly enabled: "enabled";
|
|
123
|
+
readonly pending: "pending";
|
|
124
|
+
};
|
|
125
|
+
export type MonitoringState =
|
|
126
|
+
(typeof MonitoringState)[keyof typeof MonitoringState];
|
|
120
127
|
export interface Monitoring {
|
|
121
128
|
State?: MonitoringState | string;
|
|
122
129
|
}
|
|
@@ -504,9 +511,15 @@ export declare const ArchitectureType: {
|
|
|
504
511
|
};
|
|
505
512
|
export type ArchitectureType =
|
|
506
513
|
(typeof ArchitectureType)[keyof typeof ArchitectureType];
|
|
514
|
+
export declare const SupportedAdditionalProcessorFeature: {
|
|
515
|
+
readonly AMD_SEV_SNP: "amd-sev-snp";
|
|
516
|
+
};
|
|
517
|
+
export type SupportedAdditionalProcessorFeature =
|
|
518
|
+
(typeof SupportedAdditionalProcessorFeature)[keyof typeof SupportedAdditionalProcessorFeature];
|
|
507
519
|
export interface ProcessorInfo {
|
|
508
520
|
SupportedArchitectures?: (ArchitectureType | string)[];
|
|
509
521
|
SustainedClockSpeedInGhz?: number;
|
|
522
|
+
SupportedFeatures?: (SupportedAdditionalProcessorFeature | string)[];
|
|
510
523
|
}
|
|
511
524
|
export declare const BootModeType: {
|
|
512
525
|
readonly legacy_bios: "legacy-bios";
|
|
@@ -2065,18 +2078,6 @@ export interface DescribeVolumeAttributeRequest {
|
|
|
2065
2078
|
VolumeId: string | undefined;
|
|
2066
2079
|
DryRun?: boolean;
|
|
2067
2080
|
}
|
|
2068
|
-
export interface DescribeVolumeAttributeResult {
|
|
2069
|
-
AutoEnableIO?: AttributeBooleanValue;
|
|
2070
|
-
ProductCodes?: ProductCode[];
|
|
2071
|
-
VolumeId?: string;
|
|
2072
|
-
}
|
|
2073
|
-
export interface DescribeVolumesRequest {
|
|
2074
|
-
Filters?: Filter[];
|
|
2075
|
-
VolumeIds?: string[];
|
|
2076
|
-
DryRun?: boolean;
|
|
2077
|
-
MaxResults?: number;
|
|
2078
|
-
NextToken?: string;
|
|
2079
|
-
}
|
|
2080
2081
|
export declare const DescribeLaunchTemplateVersionsResultFilterSensitiveLog: (
|
|
2081
2082
|
obj: DescribeLaunchTemplateVersionsResult
|
|
2082
2083
|
) => any;
|
|
@@ -75,11 +75,24 @@ import {
|
|
|
75
75
|
MetricType,
|
|
76
76
|
PaymentOption,
|
|
77
77
|
PeriodType,
|
|
78
|
+
ProductCode,
|
|
78
79
|
SnapshotDetail,
|
|
79
80
|
StatisticType,
|
|
80
81
|
VirtualizationType,
|
|
81
82
|
} from "./models_3";
|
|
82
83
|
import { AnalysisStatus, ArchitectureType } from "./models_4";
|
|
84
|
+
export interface DescribeVolumeAttributeResult {
|
|
85
|
+
AutoEnableIO?: AttributeBooleanValue;
|
|
86
|
+
ProductCodes?: ProductCode[];
|
|
87
|
+
VolumeId?: string;
|
|
88
|
+
}
|
|
89
|
+
export interface DescribeVolumesRequest {
|
|
90
|
+
Filters?: Filter[];
|
|
91
|
+
VolumeIds?: string[];
|
|
92
|
+
DryRun?: boolean;
|
|
93
|
+
MaxResults?: number;
|
|
94
|
+
NextToken?: string;
|
|
95
|
+
}
|
|
83
96
|
export interface DescribeVolumesResult {
|
|
84
97
|
Volumes?: Volume[];
|
|
85
98
|
NextToken?: string;
|
|
@@ -1679,18 +1692,6 @@ export interface ImportInstanceRequest {
|
|
|
1679
1692
|
export interface ImportInstanceResult {
|
|
1680
1693
|
ConversionTask?: ConversionTask;
|
|
1681
1694
|
}
|
|
1682
|
-
export interface ImportKeyPairRequest {
|
|
1683
|
-
DryRun?: boolean;
|
|
1684
|
-
KeyName: string | undefined;
|
|
1685
|
-
PublicKeyMaterial: Uint8Array | undefined;
|
|
1686
|
-
TagSpecifications?: TagSpecification[];
|
|
1687
|
-
}
|
|
1688
|
-
export interface ImportKeyPairResult {
|
|
1689
|
-
KeyFingerprint?: string;
|
|
1690
|
-
KeyName?: string;
|
|
1691
|
-
KeyPairId?: string;
|
|
1692
|
-
Tags?: Tag[];
|
|
1693
|
-
}
|
|
1694
1695
|
export declare const DetachVerifiedAccessTrustProviderResultFilterSensitiveLog: (
|
|
1695
1696
|
obj: DetachVerifiedAccessTrustProviderResult
|
|
1696
1697
|
) => any;
|
|
@@ -34,6 +34,7 @@ import {
|
|
|
34
34
|
VerifiedAccessTrustProvider,
|
|
35
35
|
} from "./models_0";
|
|
36
36
|
import {
|
|
37
|
+
AmdSevSnpSpecification,
|
|
37
38
|
AttributeValue,
|
|
38
39
|
BlockDeviceMapping,
|
|
39
40
|
CapacityReservationPreference,
|
|
@@ -150,6 +151,18 @@ import {
|
|
|
150
151
|
VolumeDetail,
|
|
151
152
|
VolumeModification,
|
|
152
153
|
} from "./models_5";
|
|
154
|
+
export interface ImportKeyPairRequest {
|
|
155
|
+
DryRun?: boolean;
|
|
156
|
+
KeyName: string | undefined;
|
|
157
|
+
PublicKeyMaterial: Uint8Array | undefined;
|
|
158
|
+
TagSpecifications?: TagSpecification[];
|
|
159
|
+
}
|
|
160
|
+
export interface ImportKeyPairResult {
|
|
161
|
+
KeyFingerprint?: string;
|
|
162
|
+
KeyName?: string;
|
|
163
|
+
KeyPairId?: string;
|
|
164
|
+
Tags?: Tag[];
|
|
165
|
+
}
|
|
153
166
|
export interface SnapshotDiskContainer {
|
|
154
167
|
Description?: string;
|
|
155
168
|
Format?: string;
|
|
@@ -1640,6 +1653,7 @@ export interface RevokeSecurityGroupIngressResult {
|
|
|
1640
1653
|
export interface CpuOptionsRequest {
|
|
1641
1654
|
CoreCount?: number;
|
|
1642
1655
|
ThreadsPerCore?: number;
|
|
1656
|
+
AmdSevSnp?: AmdSevSnpSpecification | string;
|
|
1643
1657
|
}
|
|
1644
1658
|
export interface ElasticInferenceAccelerator {
|
|
1645
1659
|
Type: string | undefined;
|
|
@@ -1850,15 +1864,6 @@ export interface SearchTransitGatewayRoutesResult {
|
|
|
1850
1864
|
Routes?: TransitGatewayRoute[];
|
|
1851
1865
|
AdditionalRoutesAvailable?: boolean;
|
|
1852
1866
|
}
|
|
1853
|
-
export interface SendDiagnosticInterruptRequest {
|
|
1854
|
-
InstanceId: string | undefined;
|
|
1855
|
-
DryRun?: boolean;
|
|
1856
|
-
}
|
|
1857
|
-
export interface StartInstancesRequest {
|
|
1858
|
-
InstanceIds: string[] | undefined;
|
|
1859
|
-
AdditionalInfo?: string;
|
|
1860
|
-
DryRun?: boolean;
|
|
1861
|
-
}
|
|
1862
1867
|
export declare const ImportVolumeRequestFilterSensitiveLog: (
|
|
1863
1868
|
obj: ImportVolumeRequest
|
|
1864
1869
|
) => any;
|
|
@@ -11,6 +11,15 @@ import {
|
|
|
11
11
|
NetworkInsightsAnalysis,
|
|
12
12
|
} from "./models_4";
|
|
13
13
|
import { InstanceMonitoring } from "./models_6";
|
|
14
|
+
export interface SendDiagnosticInterruptRequest {
|
|
15
|
+
InstanceId: string | undefined;
|
|
16
|
+
DryRun?: boolean;
|
|
17
|
+
}
|
|
18
|
+
export interface StartInstancesRequest {
|
|
19
|
+
InstanceIds: string[] | undefined;
|
|
20
|
+
AdditionalInfo?: string;
|
|
21
|
+
DryRun?: boolean;
|
|
22
|
+
}
|
|
14
23
|
export interface InstanceStateChange {
|
|
15
24
|
CurrentState?: InstanceState;
|
|
16
25
|
InstanceId?: string;
|
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.322.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",
|