@aws-sdk/client-ec2 3.301.0 → 3.303.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/README.md +16 -0
- package/dist-cjs/EC2.js +30 -0
- package/dist-cjs/commands/GetVpnTunnelReplacementStatusCommand.js +45 -0
- package/dist-cjs/commands/ReplaceVpnTunnelCommand.js +45 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +1126 -1192
- package/dist-cjs/models/models_1.js +397 -469
- package/dist-cjs/models/models_2.js +280 -336
- package/dist-cjs/models/models_3.js +241 -286
- package/dist-cjs/models/models_4.js +197 -235
- package/dist-cjs/models/models_5.js +77 -91
- package/dist-cjs/models/models_6.js +65 -79
- package/dist-cjs/protocols/Aws_ec2.js +180 -15
- package/dist-es/EC2.js +30 -0
- package/dist-es/commands/GetVpnTunnelReplacementStatusCommand.js +41 -0
- package/dist-es/commands/ReplaceVpnTunnelCommand.js +41 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +1126 -1192
- package/dist-es/models/models_1.js +397 -469
- package/dist-es/models/models_2.js +280 -336
- package/dist-es/models/models_3.js +241 -286
- package/dist-es/models/models_4.js +197 -235
- package/dist-es/models/models_5.js +77 -91
- package/dist-es/models/models_6.js +65 -79
- package/dist-es/protocols/Aws_ec2.js +161 -0
- package/dist-types/EC2.d.ts +16 -0
- package/dist-types/EC2Client.d.ts +4 -2
- package/dist-types/commands/CreateVpnConnectionCommand.d.ts +1 -0
- package/dist-types/commands/GetVpnTunnelReplacementStatusCommand.d.ts +65 -0
- package/dist-types/commands/ImportSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVpnTunnelOptionsCommand.d.ts +2 -0
- package/dist-types/commands/ReplaceVpnTunnelCommand.d.ts +66 -0
- package/dist-types/commands/StartInstancesCommand.d.ts +2 -1
- package/dist-types/commands/StartNetworkInsightsAccessScopeAnalysisCommand.d.ts +1 -1
- package/dist-types/commands/StartNetworkInsightsAnalysisCommand.d.ts +1 -2
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +1464 -1134
- package/dist-types/models/models_1.d.ts +757 -397
- package/dist-types/models/models_2.d.ts +568 -280
- package/dist-types/models/models_3.d.ts +466 -241
- package/dist-types/models/models_4.d.ts +387 -197
- package/dist-types/models/models_5.d.ts +212 -191
- package/dist-types/models/models_6.d.ts +290 -159
- package/dist-types/models/models_7.d.ts +95 -3
- package/dist-types/protocols/Aws_ec2.d.ts +6 -0
- package/dist-types/ts3.4/EC2.d.ts +34 -0
- package/dist-types/ts3.4/EC2Client.d.ts +12 -0
- package/dist-types/ts3.4/commands/GetVpnTunnelReplacementStatusCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ImportSnapshotCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ReplaceVpnTunnelCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/StartInstancesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/StartNetworkInsightsAccessScopeAnalysisCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartNetworkInsightsAnalysisCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1244 -1126
- package/dist-types/ts3.4/models/models_1.d.ts +523 -397
- package/dist-types/ts3.4/models/models_2.d.ts +381 -280
- package/dist-types/ts3.4/models/models_3.d.ts +324 -241
- package/dist-types/ts3.4/models/models_4.d.ts +261 -197
- package/dist-types/ts3.4/models/models_5.d.ts +123 -101
- package/dist-types/ts3.4/models/models_6.d.ts +126 -91
- package/dist-types/ts3.4/models/models_7.d.ts +37 -3
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +24 -0
- package/package.json +36 -36
|
@@ -76,7 +76,6 @@ import {
|
|
|
76
76
|
PaymentOption,
|
|
77
77
|
PeriodType,
|
|
78
78
|
SnapshotDetail,
|
|
79
|
-
SnapshotTaskDetail,
|
|
80
79
|
StatisticType,
|
|
81
80
|
VirtualizationType,
|
|
82
81
|
} from "./models_3";
|
|
@@ -92,12 +91,14 @@ export interface DescribeVolumesModificationsRequest {
|
|
|
92
91
|
NextToken?: string;
|
|
93
92
|
MaxResults?: number;
|
|
94
93
|
}
|
|
95
|
-
export declare
|
|
96
|
-
completed
|
|
97
|
-
failed
|
|
98
|
-
modifying
|
|
99
|
-
optimizing
|
|
100
|
-
}
|
|
94
|
+
export declare const VolumeModificationState: {
|
|
95
|
+
readonly completed: "completed";
|
|
96
|
+
readonly failed: "failed";
|
|
97
|
+
readonly modifying: "modifying";
|
|
98
|
+
readonly optimizing: "optimizing";
|
|
99
|
+
};
|
|
100
|
+
export type VolumeModificationState =
|
|
101
|
+
(typeof VolumeModificationState)[keyof typeof VolumeModificationState];
|
|
101
102
|
export interface VolumeModification {
|
|
102
103
|
VolumeId?: string;
|
|
103
104
|
ModificationState?: VolumeModificationState | string;
|
|
@@ -145,19 +146,23 @@ export interface VolumeStatusEvent {
|
|
|
145
146
|
NotBefore?: Date;
|
|
146
147
|
InstanceId?: string;
|
|
147
148
|
}
|
|
148
|
-
export declare
|
|
149
|
-
io_enabled
|
|
150
|
-
io_performance
|
|
151
|
-
}
|
|
149
|
+
export declare const VolumeStatusName: {
|
|
150
|
+
readonly io_enabled: "io-enabled";
|
|
151
|
+
readonly io_performance: "io-performance";
|
|
152
|
+
};
|
|
153
|
+
export type VolumeStatusName =
|
|
154
|
+
(typeof VolumeStatusName)[keyof typeof VolumeStatusName];
|
|
152
155
|
export interface VolumeStatusDetails {
|
|
153
156
|
Name?: VolumeStatusName | string;
|
|
154
157
|
Status?: string;
|
|
155
158
|
}
|
|
156
|
-
export declare
|
|
157
|
-
impaired
|
|
158
|
-
insufficient_data
|
|
159
|
-
ok
|
|
160
|
-
}
|
|
159
|
+
export declare const VolumeStatusInfoStatus: {
|
|
160
|
+
readonly impaired: "impaired";
|
|
161
|
+
readonly insufficient_data: "insufficient-data";
|
|
162
|
+
readonly ok: "ok";
|
|
163
|
+
};
|
|
164
|
+
export type VolumeStatusInfoStatus =
|
|
165
|
+
(typeof VolumeStatusInfoStatus)[keyof typeof VolumeStatusInfoStatus];
|
|
161
166
|
export interface VolumeStatusInfo {
|
|
162
167
|
Details?: VolumeStatusDetails[];
|
|
163
168
|
Status?: VolumeStatusInfoStatus | string;
|
|
@@ -175,11 +180,13 @@ export interface DescribeVolumeStatusResult {
|
|
|
175
180
|
NextToken?: string;
|
|
176
181
|
VolumeStatuses?: VolumeStatusItem[];
|
|
177
182
|
}
|
|
178
|
-
export declare
|
|
179
|
-
enableDnsHostnames
|
|
180
|
-
enableDnsSupport
|
|
181
|
-
enableNetworkAddressUsageMetrics
|
|
182
|
-
}
|
|
183
|
+
export declare const VpcAttributeName: {
|
|
184
|
+
readonly enableDnsHostnames: "enableDnsHostnames";
|
|
185
|
+
readonly enableDnsSupport: "enableDnsSupport";
|
|
186
|
+
readonly enableNetworkAddressUsageMetrics: "enableNetworkAddressUsageMetrics";
|
|
187
|
+
};
|
|
188
|
+
export type VpcAttributeName =
|
|
189
|
+
(typeof VpcAttributeName)[keyof typeof VpcAttributeName];
|
|
183
190
|
export interface DescribeVpcAttributeRequest {
|
|
184
191
|
Attribute: VpcAttributeName | string | undefined;
|
|
185
192
|
VpcId: string | undefined;
|
|
@@ -493,12 +500,14 @@ export interface DisableTransitGatewayRouteTablePropagationRequest {
|
|
|
493
500
|
DryRun?: boolean;
|
|
494
501
|
TransitGatewayRouteTableAnnouncementId?: string;
|
|
495
502
|
}
|
|
496
|
-
export declare
|
|
497
|
-
disabled
|
|
498
|
-
disabling
|
|
499
|
-
enabled
|
|
500
|
-
enabling
|
|
501
|
-
}
|
|
503
|
+
export declare const TransitGatewayPropagationState: {
|
|
504
|
+
readonly disabled: "disabled";
|
|
505
|
+
readonly disabling: "disabling";
|
|
506
|
+
readonly enabled: "enabled";
|
|
507
|
+
readonly enabling: "enabling";
|
|
508
|
+
};
|
|
509
|
+
export type TransitGatewayPropagationState =
|
|
510
|
+
(typeof TransitGatewayPropagationState)[keyof typeof TransitGatewayPropagationState];
|
|
502
511
|
export interface TransitGatewayPropagation {
|
|
503
512
|
TransitGatewayAttachmentId?: string;
|
|
504
513
|
ResourceId?: string;
|
|
@@ -786,10 +795,12 @@ export interface ExportClientVpnClientCertificateRevocationListRequest {
|
|
|
786
795
|
ClientVpnEndpointId: string | undefined;
|
|
787
796
|
DryRun?: boolean;
|
|
788
797
|
}
|
|
789
|
-
export declare
|
|
790
|
-
active
|
|
791
|
-
pending
|
|
792
|
-
}
|
|
798
|
+
export declare const ClientCertificateRevocationListStatusCode: {
|
|
799
|
+
readonly active: "active";
|
|
800
|
+
readonly pending: "pending";
|
|
801
|
+
};
|
|
802
|
+
export type ClientCertificateRevocationListStatusCode =
|
|
803
|
+
(typeof ClientCertificateRevocationListStatusCode)[keyof typeof ClientCertificateRevocationListStatusCode];
|
|
793
804
|
export interface ClientCertificateRevocationListStatus {
|
|
794
805
|
Code?: ClientCertificateRevocationListStatusCode | string;
|
|
795
806
|
Message?: string;
|
|
@@ -958,12 +969,14 @@ export interface GetConsoleScreenshotResult {
|
|
|
958
969
|
ImageData?: string;
|
|
959
970
|
InstanceId?: string;
|
|
960
971
|
}
|
|
961
|
-
export declare
|
|
962
|
-
t2
|
|
963
|
-
t3
|
|
964
|
-
t3a
|
|
965
|
-
t4g
|
|
966
|
-
}
|
|
972
|
+
export declare const UnlimitedSupportedInstanceFamily: {
|
|
973
|
+
readonly t2: "t2";
|
|
974
|
+
readonly t3: "t3";
|
|
975
|
+
readonly t3a: "t3a";
|
|
976
|
+
readonly t4g: "t4g";
|
|
977
|
+
};
|
|
978
|
+
export type UnlimitedSupportedInstanceFamily =
|
|
979
|
+
(typeof UnlimitedSupportedInstanceFamily)[keyof typeof UnlimitedSupportedInstanceFamily];
|
|
967
980
|
export interface GetDefaultCreditSpecificationRequest {
|
|
968
981
|
DryRun?: boolean;
|
|
969
982
|
InstanceFamily: UnlimitedSupportedInstanceFamily | string | undefined;
|
|
@@ -987,12 +1000,14 @@ export interface GetEbsEncryptionByDefaultRequest {
|
|
|
987
1000
|
export interface GetEbsEncryptionByDefaultResult {
|
|
988
1001
|
EbsEncryptionByDefault?: boolean;
|
|
989
1002
|
}
|
|
990
|
-
export declare
|
|
991
|
-
DAILY
|
|
992
|
-
MONTHLY
|
|
993
|
-
NONE
|
|
994
|
-
WEEKLY
|
|
995
|
-
}
|
|
1003
|
+
export declare const PartitionLoadFrequency: {
|
|
1004
|
+
readonly DAILY: "daily";
|
|
1005
|
+
readonly MONTHLY: "monthly";
|
|
1006
|
+
readonly NONE: "none";
|
|
1007
|
+
readonly WEEKLY: "weekly";
|
|
1008
|
+
};
|
|
1009
|
+
export type PartitionLoadFrequency =
|
|
1010
|
+
(typeof PartitionLoadFrequency)[keyof typeof PartitionLoadFrequency];
|
|
996
1011
|
export interface AthenaIntegration {
|
|
997
1012
|
IntegrationResultS3DestinationArn: string | undefined;
|
|
998
1013
|
PartitionLoadFrequency: PartitionLoadFrequency | string | undefined;
|
|
@@ -1078,24 +1093,30 @@ export interface GetIpamAddressHistoryRequest {
|
|
|
1078
1093
|
MaxResults?: number;
|
|
1079
1094
|
NextToken?: string;
|
|
1080
1095
|
}
|
|
1081
|
-
export declare
|
|
1082
|
-
compliant
|
|
1083
|
-
ignored
|
|
1084
|
-
noncompliant
|
|
1085
|
-
unmanaged
|
|
1086
|
-
}
|
|
1087
|
-
export
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1096
|
+
export declare const IpamComplianceStatus: {
|
|
1097
|
+
readonly compliant: "compliant";
|
|
1098
|
+
readonly ignored: "ignored";
|
|
1099
|
+
readonly noncompliant: "noncompliant";
|
|
1100
|
+
readonly unmanaged: "unmanaged";
|
|
1101
|
+
};
|
|
1102
|
+
export type IpamComplianceStatus =
|
|
1103
|
+
(typeof IpamComplianceStatus)[keyof typeof IpamComplianceStatus];
|
|
1104
|
+
export declare const IpamOverlapStatus: {
|
|
1105
|
+
readonly ignored: "ignored";
|
|
1106
|
+
readonly nonoverlapping: "nonoverlapping";
|
|
1107
|
+
readonly overlapping: "overlapping";
|
|
1108
|
+
};
|
|
1109
|
+
export type IpamOverlapStatus =
|
|
1110
|
+
(typeof IpamOverlapStatus)[keyof typeof IpamOverlapStatus];
|
|
1111
|
+
export declare const IpamAddressHistoryResourceType: {
|
|
1112
|
+
readonly eip: "eip";
|
|
1113
|
+
readonly instance: "instance";
|
|
1114
|
+
readonly network_interface: "network-interface";
|
|
1115
|
+
readonly subnet: "subnet";
|
|
1116
|
+
readonly vpc: "vpc";
|
|
1117
|
+
};
|
|
1118
|
+
export type IpamAddressHistoryResourceType =
|
|
1119
|
+
(typeof IpamAddressHistoryResourceType)[keyof typeof IpamAddressHistoryResourceType];
|
|
1099
1120
|
export interface IpamAddressHistoryRecord {
|
|
1100
1121
|
ResourceOwnerId?: string;
|
|
1101
1122
|
ResourceRegion?: string;
|
|
@@ -1121,11 +1142,13 @@ export interface GetIpamDiscoveredAccountsRequest {
|
|
|
1121
1142
|
NextToken?: string;
|
|
1122
1143
|
MaxResults?: number;
|
|
1123
1144
|
}
|
|
1124
|
-
export declare
|
|
1125
|
-
assume_role_failure
|
|
1126
|
-
throttling_failure
|
|
1127
|
-
unauthorized_failure
|
|
1128
|
-
}
|
|
1145
|
+
export declare const IpamDiscoveryFailureCode: {
|
|
1146
|
+
readonly assume_role_failure: "assume-role-failure";
|
|
1147
|
+
readonly throttling_failure: "throttling-failure";
|
|
1148
|
+
readonly unauthorized_failure: "unauthorized-failure";
|
|
1149
|
+
};
|
|
1150
|
+
export type IpamDiscoveryFailureCode =
|
|
1151
|
+
(typeof IpamDiscoveryFailureCode)[keyof typeof IpamDiscoveryFailureCode];
|
|
1129
1152
|
export interface IpamDiscoveryFailureReason {
|
|
1130
1153
|
Code?: IpamDiscoveryFailureCode | string;
|
|
1131
1154
|
Message?: string;
|
|
@@ -1149,13 +1172,15 @@ export interface GetIpamDiscoveredResourceCidrsRequest {
|
|
|
1149
1172
|
NextToken?: string;
|
|
1150
1173
|
MaxResults?: number;
|
|
1151
1174
|
}
|
|
1152
|
-
export declare
|
|
1153
|
-
eip
|
|
1154
|
-
ipv6_pool
|
|
1155
|
-
public_ipv4_pool
|
|
1156
|
-
subnet
|
|
1157
|
-
vpc
|
|
1158
|
-
}
|
|
1175
|
+
export declare const IpamResourceType: {
|
|
1176
|
+
readonly eip: "eip";
|
|
1177
|
+
readonly ipv6_pool: "ipv6-pool";
|
|
1178
|
+
readonly public_ipv4_pool: "public-ipv4-pool";
|
|
1179
|
+
readonly subnet: "subnet";
|
|
1180
|
+
readonly vpc: "vpc";
|
|
1181
|
+
};
|
|
1182
|
+
export type IpamResourceType =
|
|
1183
|
+
(typeof IpamResourceType)[keyof typeof IpamResourceType];
|
|
1159
1184
|
export interface IpamDiscoveredResourceCidr {
|
|
1160
1185
|
IpamResourceDiscoveryId?: string;
|
|
1161
1186
|
ResourceRegion?: string;
|
|
@@ -1207,11 +1232,13 @@ export interface GetIpamResourceCidrsRequest {
|
|
|
1207
1232
|
ResourceTag?: RequestIpamResourceTag;
|
|
1208
1233
|
ResourceOwner?: string;
|
|
1209
1234
|
}
|
|
1210
|
-
export declare
|
|
1211
|
-
ignored
|
|
1212
|
-
managed
|
|
1213
|
-
unmanaged
|
|
1214
|
-
}
|
|
1235
|
+
export declare const IpamManagementState: {
|
|
1236
|
+
readonly ignored: "ignored";
|
|
1237
|
+
readonly managed: "managed";
|
|
1238
|
+
readonly unmanaged: "unmanaged";
|
|
1239
|
+
};
|
|
1240
|
+
export type IpamManagementState =
|
|
1241
|
+
(typeof IpamManagementState)[keyof typeof IpamManagementState];
|
|
1215
1242
|
export interface IpamResourceCidr {
|
|
1216
1243
|
IpamId?: string;
|
|
1217
1244
|
IpamScopeId?: string;
|
|
@@ -1530,6 +1557,24 @@ export interface GetVpnConnectionDeviceTypesResult {
|
|
|
1530
1557
|
VpnConnectionDeviceTypes?: VpnConnectionDeviceType[];
|
|
1531
1558
|
NextToken?: string;
|
|
1532
1559
|
}
|
|
1560
|
+
export interface GetVpnTunnelReplacementStatusRequest {
|
|
1561
|
+
VpnConnectionId: string | undefined;
|
|
1562
|
+
VpnTunnelOutsideIpAddress: string | undefined;
|
|
1563
|
+
DryRun?: boolean;
|
|
1564
|
+
}
|
|
1565
|
+
export interface MaintenanceDetails {
|
|
1566
|
+
PendingMaintenance?: string;
|
|
1567
|
+
MaintenanceAutoAppliedAfter?: Date;
|
|
1568
|
+
LastMaintenanceApplied?: Date;
|
|
1569
|
+
}
|
|
1570
|
+
export interface GetVpnTunnelReplacementStatusResult {
|
|
1571
|
+
VpnConnectionId?: string;
|
|
1572
|
+
TransitGatewayId?: string;
|
|
1573
|
+
CustomerGatewayId?: string;
|
|
1574
|
+
VpnGatewayId?: string;
|
|
1575
|
+
VpnTunnelOutsideIpAddress?: string;
|
|
1576
|
+
MaintenanceDetails?: MaintenanceDetails;
|
|
1577
|
+
}
|
|
1533
1578
|
export interface ImportClientVpnClientCertificateRevocationListRequest {
|
|
1534
1579
|
ClientVpnEndpointId: string | undefined;
|
|
1535
1580
|
CertificateRevocationList: string | undefined;
|
|
@@ -1646,29 +1691,6 @@ export interface ImportKeyPairResult {
|
|
|
1646
1691
|
KeyPairId?: string;
|
|
1647
1692
|
Tags?: Tag[];
|
|
1648
1693
|
}
|
|
1649
|
-
export interface SnapshotDiskContainer {
|
|
1650
|
-
Description?: string;
|
|
1651
|
-
Format?: string;
|
|
1652
|
-
Url?: string;
|
|
1653
|
-
UserBucket?: UserBucket;
|
|
1654
|
-
}
|
|
1655
|
-
export interface ImportSnapshotRequest {
|
|
1656
|
-
ClientData?: ClientData;
|
|
1657
|
-
ClientToken?: string;
|
|
1658
|
-
Description?: string;
|
|
1659
|
-
DiskContainer?: SnapshotDiskContainer;
|
|
1660
|
-
DryRun?: boolean;
|
|
1661
|
-
Encrypted?: boolean;
|
|
1662
|
-
KmsKeyId?: string;
|
|
1663
|
-
RoleName?: string;
|
|
1664
|
-
TagSpecifications?: TagSpecification[];
|
|
1665
|
-
}
|
|
1666
|
-
export interface ImportSnapshotResult {
|
|
1667
|
-
Description?: string;
|
|
1668
|
-
ImportTaskId?: string;
|
|
1669
|
-
SnapshotTaskDetail?: SnapshotTaskDetail;
|
|
1670
|
-
Tags?: Tag[];
|
|
1671
|
-
}
|
|
1672
1694
|
export declare const GetLaunchTemplateDataResultFilterSensitiveLog: (
|
|
1673
1695
|
obj: GetLaunchTemplateDataResult
|
|
1674
1696
|
) => any;
|