@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
|
@@ -23,6 +23,7 @@ import {
|
|
|
23
23
|
Ipv6SupportValue,
|
|
24
24
|
PortRange,
|
|
25
25
|
RouteTableAssociationState,
|
|
26
|
+
Tag,
|
|
26
27
|
TagSpecification,
|
|
27
28
|
TransitGatewayAttachmentResourceType,
|
|
28
29
|
TransitGatewayMulticastDomainAssociations,
|
|
@@ -118,17 +119,16 @@ import {
|
|
|
118
119
|
IpamPoolCidr,
|
|
119
120
|
LaunchPermission,
|
|
120
121
|
PermissionGroup,
|
|
122
|
+
SnapshotTaskDetail,
|
|
121
123
|
TpmSupportValues,
|
|
122
124
|
} from "./models_3";
|
|
123
125
|
import {
|
|
124
126
|
CreateVolumePermission,
|
|
125
127
|
ExcessCapacityTerminationPolicy,
|
|
126
128
|
InstanceNetworkInterfaceSpecification,
|
|
127
|
-
InstanceState,
|
|
128
129
|
InstanceStatusEvent,
|
|
129
130
|
LaunchTemplateConfig,
|
|
130
131
|
Monitoring,
|
|
131
|
-
NetworkInsightsAccessScopeAnalysis,
|
|
132
132
|
PublicIpv4PoolRange,
|
|
133
133
|
ReservedInstancesConfiguration,
|
|
134
134
|
RunInstancesMonitoringEnabled,
|
|
@@ -140,14 +140,39 @@ import {
|
|
|
140
140
|
VerifiedAccessInstanceLoggingConfiguration,
|
|
141
141
|
} from "./models_4";
|
|
142
142
|
import {
|
|
143
|
+
ClientData,
|
|
143
144
|
DiskImageDetail,
|
|
144
145
|
InstanceFamilyCreditSpecification,
|
|
145
146
|
IpamResourceCidr,
|
|
146
147
|
Purchase,
|
|
147
148
|
UnlimitedSupportedInstanceFamily,
|
|
149
|
+
UserBucket,
|
|
148
150
|
VolumeDetail,
|
|
149
151
|
VolumeModification,
|
|
150
152
|
} from "./models_5";
|
|
153
|
+
export interface SnapshotDiskContainer {
|
|
154
|
+
Description?: string;
|
|
155
|
+
Format?: string;
|
|
156
|
+
Url?: string;
|
|
157
|
+
UserBucket?: UserBucket;
|
|
158
|
+
}
|
|
159
|
+
export interface ImportSnapshotRequest {
|
|
160
|
+
ClientData?: ClientData;
|
|
161
|
+
ClientToken?: string;
|
|
162
|
+
Description?: string;
|
|
163
|
+
DiskContainer?: SnapshotDiskContainer;
|
|
164
|
+
DryRun?: boolean;
|
|
165
|
+
Encrypted?: boolean;
|
|
166
|
+
KmsKeyId?: string;
|
|
167
|
+
RoleName?: string;
|
|
168
|
+
TagSpecifications?: TagSpecification[];
|
|
169
|
+
}
|
|
170
|
+
export interface ImportSnapshotResult {
|
|
171
|
+
Description?: string;
|
|
172
|
+
ImportTaskId?: string;
|
|
173
|
+
SnapshotTaskDetail?: SnapshotTaskDetail;
|
|
174
|
+
Tags?: Tag[];
|
|
175
|
+
}
|
|
151
176
|
export interface ImportVolumeRequest {
|
|
152
177
|
AvailabilityZone: string | undefined;
|
|
153
178
|
Description?: string;
|
|
@@ -200,10 +225,12 @@ export interface ModifyAddressAttributeRequest {
|
|
|
200
225
|
export interface ModifyAddressAttributeResult {
|
|
201
226
|
Address?: AddressAttribute;
|
|
202
227
|
}
|
|
203
|
-
export declare
|
|
204
|
-
not_opted_in
|
|
205
|
-
opted_in
|
|
206
|
-
}
|
|
228
|
+
export declare const ModifyAvailabilityZoneOptInStatus: {
|
|
229
|
+
readonly not_opted_in: "not-opted-in";
|
|
230
|
+
readonly opted_in: "opted-in";
|
|
231
|
+
};
|
|
232
|
+
export type ModifyAvailabilityZoneOptInStatus =
|
|
233
|
+
(typeof ModifyAvailabilityZoneOptInStatus)[keyof typeof ModifyAvailabilityZoneOptInStatus];
|
|
207
234
|
export interface ModifyAvailabilityZoneGroupRequest {
|
|
208
235
|
GroupName: string | undefined;
|
|
209
236
|
OptInStatus: ModifyAvailabilityZoneOptInStatus | string | undefined;
|
|
@@ -293,10 +320,11 @@ export interface LoadPermissionModifications {
|
|
|
293
320
|
Add?: LoadPermissionRequest[];
|
|
294
321
|
Remove?: LoadPermissionRequest[];
|
|
295
322
|
}
|
|
296
|
-
export declare
|
|
297
|
-
add
|
|
298
|
-
remove
|
|
299
|
-
}
|
|
323
|
+
export declare const OperationType: {
|
|
324
|
+
readonly add: "add";
|
|
325
|
+
readonly remove: "remove";
|
|
326
|
+
};
|
|
327
|
+
export type OperationType = (typeof OperationType)[keyof typeof OperationType];
|
|
300
328
|
export interface ModifyFpgaImageAttributeRequest {
|
|
301
329
|
DryRun?: boolean;
|
|
302
330
|
FpgaImageId: string | undefined;
|
|
@@ -412,12 +440,14 @@ export interface ModifyInstanceCreditSpecificationRequest {
|
|
|
412
440
|
export interface SuccessfulInstanceCreditSpecificationItem {
|
|
413
441
|
InstanceId?: string;
|
|
414
442
|
}
|
|
415
|
-
export declare
|
|
416
|
-
INCORRECT_INSTANCE_STATE
|
|
417
|
-
INSTANCE_CREDIT_SPECIFICATION_NOT_SUPPORTED
|
|
418
|
-
INSTANCE_NOT_FOUND
|
|
419
|
-
INVALID_INSTANCE_ID
|
|
420
|
-
}
|
|
443
|
+
export declare const UnsuccessfulInstanceCreditSpecificationErrorCode: {
|
|
444
|
+
readonly INCORRECT_INSTANCE_STATE: "IncorrectInstanceState";
|
|
445
|
+
readonly INSTANCE_CREDIT_SPECIFICATION_NOT_SUPPORTED: "InstanceCreditSpecification.NotSupported";
|
|
446
|
+
readonly INSTANCE_NOT_FOUND: "InvalidInstanceID.NotFound";
|
|
447
|
+
readonly INVALID_INSTANCE_ID: "InvalidInstanceID.Malformed";
|
|
448
|
+
};
|
|
449
|
+
export type UnsuccessfulInstanceCreditSpecificationErrorCode =
|
|
450
|
+
(typeof UnsuccessfulInstanceCreditSpecificationErrorCode)[keyof typeof UnsuccessfulInstanceCreditSpecificationErrorCode];
|
|
421
451
|
export interface UnsuccessfulInstanceCreditSpecificationItemError {
|
|
422
452
|
Code?: UnsuccessfulInstanceCreditSpecificationErrorCode | string;
|
|
423
453
|
Message?: string;
|
|
@@ -471,10 +501,11 @@ export interface ModifyInstanceMetadataOptionsResult {
|
|
|
471
501
|
InstanceId?: string;
|
|
472
502
|
InstanceMetadataOptions?: InstanceMetadataOptionsResponse;
|
|
473
503
|
}
|
|
474
|
-
export declare
|
|
475
|
-
dedicated
|
|
476
|
-
host
|
|
477
|
-
}
|
|
504
|
+
export declare const HostTenancy: {
|
|
505
|
+
readonly dedicated: "dedicated";
|
|
506
|
+
readonly host: "host";
|
|
507
|
+
};
|
|
508
|
+
export type HostTenancy = (typeof HostTenancy)[keyof typeof HostTenancy];
|
|
478
509
|
export interface ModifyInstancePlacementRequest {
|
|
479
510
|
Affinity?: Affinity | string;
|
|
480
511
|
GroupName?: string;
|
|
@@ -648,9 +679,11 @@ export interface ModifySnapshotAttributeRequest {
|
|
|
648
679
|
UserIds?: string[];
|
|
649
680
|
DryRun?: boolean;
|
|
650
681
|
}
|
|
651
|
-
export declare
|
|
652
|
-
archive
|
|
653
|
-
}
|
|
682
|
+
export declare const TargetStorageTier: {
|
|
683
|
+
readonly archive: "archive";
|
|
684
|
+
};
|
|
685
|
+
export type TargetStorageTier =
|
|
686
|
+
(typeof TargetStorageTier)[keyof typeof TargetStorageTier];
|
|
654
687
|
export interface ModifySnapshotTierRequest {
|
|
655
688
|
SnapshotId: string | undefined;
|
|
656
689
|
StorageTier?: TargetStorageTier | string;
|
|
@@ -693,12 +726,14 @@ export interface ModifyTrafficMirrorFilterNetworkServicesRequest {
|
|
|
693
726
|
export interface ModifyTrafficMirrorFilterNetworkServicesResult {
|
|
694
727
|
TrafficMirrorFilter?: TrafficMirrorFilter;
|
|
695
728
|
}
|
|
696
|
-
export declare
|
|
697
|
-
description
|
|
698
|
-
destination_port_range
|
|
699
|
-
protocol
|
|
700
|
-
source_port_range
|
|
701
|
-
}
|
|
729
|
+
export declare const TrafficMirrorFilterRuleField: {
|
|
730
|
+
readonly description: "description";
|
|
731
|
+
readonly destination_port_range: "destination-port-range";
|
|
732
|
+
readonly protocol: "protocol";
|
|
733
|
+
readonly source_port_range: "source-port-range";
|
|
734
|
+
};
|
|
735
|
+
export type TrafficMirrorFilterRuleField =
|
|
736
|
+
(typeof TrafficMirrorFilterRuleField)[keyof typeof TrafficMirrorFilterRuleField];
|
|
702
737
|
export interface ModifyTrafficMirrorFilterRuleRequest {
|
|
703
738
|
TrafficMirrorFilterRuleId: string | undefined;
|
|
704
739
|
TrafficDirection?: TrafficDirection | string;
|
|
@@ -716,11 +751,13 @@ export interface ModifyTrafficMirrorFilterRuleRequest {
|
|
|
716
751
|
export interface ModifyTrafficMirrorFilterRuleResult {
|
|
717
752
|
TrafficMirrorFilterRule?: TrafficMirrorFilterRule;
|
|
718
753
|
}
|
|
719
|
-
export declare
|
|
720
|
-
description
|
|
721
|
-
packet_length
|
|
722
|
-
virtual_network_id
|
|
723
|
-
}
|
|
754
|
+
export declare const TrafficMirrorSessionField: {
|
|
755
|
+
readonly description: "description";
|
|
756
|
+
readonly packet_length: "packet-length";
|
|
757
|
+
readonly virtual_network_id: "virtual-network-id";
|
|
758
|
+
};
|
|
759
|
+
export type TrafficMirrorSessionField =
|
|
760
|
+
(typeof TrafficMirrorSessionField)[keyof typeof TrafficMirrorSessionField];
|
|
724
761
|
export interface ModifyTrafficMirrorSessionRequest {
|
|
725
762
|
TrafficMirrorSessionId: string | undefined;
|
|
726
763
|
TrafficMirrorTargetId?: string;
|
|
@@ -988,9 +1025,10 @@ export interface ModifyVpcPeeringConnectionOptionsResult {
|
|
|
988
1025
|
AccepterPeeringConnectionOptions?: PeeringConnectionOptions;
|
|
989
1026
|
RequesterPeeringConnectionOptions?: PeeringConnectionOptions;
|
|
990
1027
|
}
|
|
991
|
-
export declare
|
|
992
|
-
default
|
|
993
|
-
}
|
|
1028
|
+
export declare const VpcTenancy: {
|
|
1029
|
+
readonly default: "default";
|
|
1030
|
+
};
|
|
1031
|
+
export type VpcTenancy = (typeof VpcTenancy)[keyof typeof VpcTenancy];
|
|
994
1032
|
export interface ModifyVpcTenancyRequest {
|
|
995
1033
|
VpcId: string | undefined;
|
|
996
1034
|
InstanceTenancy: VpcTenancy | string | undefined;
|
|
@@ -1048,12 +1086,14 @@ export interface ModifyVpnTunnelOptionsSpecification {
|
|
|
1048
1086
|
IKEVersions?: IKEVersionsRequestListValue[];
|
|
1049
1087
|
StartupAction?: string;
|
|
1050
1088
|
LogOptions?: VpnTunnelLogOptionsSpecification;
|
|
1089
|
+
EnableTunnelLifecycleControl?: boolean;
|
|
1051
1090
|
}
|
|
1052
1091
|
export interface ModifyVpnTunnelOptionsRequest {
|
|
1053
1092
|
VpnConnectionId: string | undefined;
|
|
1054
1093
|
VpnTunnelOutsideIpAddress: string | undefined;
|
|
1055
1094
|
TunnelOptions: ModifyVpnTunnelOptionsSpecification | undefined;
|
|
1056
1095
|
DryRun?: boolean;
|
|
1096
|
+
SkipTunnelReplacement?: boolean;
|
|
1057
1097
|
}
|
|
1058
1098
|
export interface ModifyVpnTunnelOptionsResult {
|
|
1059
1099
|
VpnConnection?: VpnConnection;
|
|
@@ -1073,11 +1113,12 @@ export interface MoveAddressToVpcRequest {
|
|
|
1073
1113
|
DryRun?: boolean;
|
|
1074
1114
|
PublicIp: string | undefined;
|
|
1075
1115
|
}
|
|
1076
|
-
export declare
|
|
1077
|
-
inClassic
|
|
1078
|
-
inVpc
|
|
1079
|
-
moveInProgress
|
|
1080
|
-
}
|
|
1116
|
+
export declare const Status: {
|
|
1117
|
+
readonly inClassic: "InClassic";
|
|
1118
|
+
readonly inVpc: "InVpc";
|
|
1119
|
+
readonly moveInProgress: "MoveInProgress";
|
|
1120
|
+
};
|
|
1121
|
+
export type Status = (typeof Status)[keyof typeof Status];
|
|
1081
1122
|
export interface MoveAddressToVpcResult {
|
|
1082
1123
|
AllocationId?: string;
|
|
1083
1124
|
Status?: Status | string;
|
|
@@ -1363,21 +1404,34 @@ export interface ReplaceTransitGatewayRouteRequest {
|
|
|
1363
1404
|
export interface ReplaceTransitGatewayRouteResult {
|
|
1364
1405
|
Route?: TransitGatewayRoute;
|
|
1365
1406
|
}
|
|
1366
|
-
export
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
performance_other = "performance-other",
|
|
1375
|
-
unresponsive = "unresponsive",
|
|
1376
|
-
}
|
|
1377
|
-
export declare enum ReportStatusType {
|
|
1378
|
-
impaired = "impaired",
|
|
1379
|
-
ok = "ok",
|
|
1407
|
+
export interface ReplaceVpnTunnelRequest {
|
|
1408
|
+
VpnConnectionId: string | undefined;
|
|
1409
|
+
VpnTunnelOutsideIpAddress: string | undefined;
|
|
1410
|
+
ApplyPendingMaintenance?: boolean;
|
|
1411
|
+
DryRun?: boolean;
|
|
1412
|
+
}
|
|
1413
|
+
export interface ReplaceVpnTunnelResult {
|
|
1414
|
+
Return?: boolean;
|
|
1380
1415
|
}
|
|
1416
|
+
export declare const ReportInstanceReasonCodes: {
|
|
1417
|
+
readonly instance_stuck_in_state: "instance-stuck-in-state";
|
|
1418
|
+
readonly not_accepting_credentials: "not-accepting-credentials";
|
|
1419
|
+
readonly other: "other";
|
|
1420
|
+
readonly password_not_available: "password-not-available";
|
|
1421
|
+
readonly performance_ebs_volume: "performance-ebs-volume";
|
|
1422
|
+
readonly performance_instance_store: "performance-instance-store";
|
|
1423
|
+
readonly performance_network: "performance-network";
|
|
1424
|
+
readonly performance_other: "performance-other";
|
|
1425
|
+
readonly unresponsive: "unresponsive";
|
|
1426
|
+
};
|
|
1427
|
+
export type ReportInstanceReasonCodes =
|
|
1428
|
+
(typeof ReportInstanceReasonCodes)[keyof typeof ReportInstanceReasonCodes];
|
|
1429
|
+
export declare const ReportStatusType: {
|
|
1430
|
+
readonly impaired: "impaired";
|
|
1431
|
+
readonly ok: "ok";
|
|
1432
|
+
};
|
|
1433
|
+
export type ReportStatusType =
|
|
1434
|
+
(typeof ReportStatusType)[keyof typeof ReportStatusType];
|
|
1381
1435
|
export interface ReportInstanceStatusRequest {
|
|
1382
1436
|
Description?: string;
|
|
1383
1437
|
DryRun?: boolean;
|
|
@@ -1444,9 +1498,11 @@ export interface ResetEbsDefaultKmsKeyIdRequest {
|
|
|
1444
1498
|
export interface ResetEbsDefaultKmsKeyIdResult {
|
|
1445
1499
|
KmsKeyId?: string;
|
|
1446
1500
|
}
|
|
1447
|
-
export declare
|
|
1448
|
-
loadPermission
|
|
1449
|
-
}
|
|
1501
|
+
export declare const ResetFpgaImageAttributeName: {
|
|
1502
|
+
readonly loadPermission: "loadPermission";
|
|
1503
|
+
};
|
|
1504
|
+
export type ResetFpgaImageAttributeName =
|
|
1505
|
+
(typeof ResetFpgaImageAttributeName)[keyof typeof ResetFpgaImageAttributeName];
|
|
1450
1506
|
export interface ResetFpgaImageAttributeRequest {
|
|
1451
1507
|
DryRun?: boolean;
|
|
1452
1508
|
FpgaImageId: string | undefined;
|
|
@@ -1455,9 +1511,11 @@ export interface ResetFpgaImageAttributeRequest {
|
|
|
1455
1511
|
export interface ResetFpgaImageAttributeResult {
|
|
1456
1512
|
Return?: boolean;
|
|
1457
1513
|
}
|
|
1458
|
-
export declare
|
|
1459
|
-
launchPermission
|
|
1460
|
-
}
|
|
1514
|
+
export declare const ResetImageAttributeName: {
|
|
1515
|
+
readonly launchPermission: "launchPermission";
|
|
1516
|
+
};
|
|
1517
|
+
export type ResetImageAttributeName =
|
|
1518
|
+
(typeof ResetImageAttributeName)[keyof typeof ResetImageAttributeName];
|
|
1461
1519
|
export interface ResetImageAttributeRequest {
|
|
1462
1520
|
Attribute: ResetImageAttributeName | string | undefined;
|
|
1463
1521
|
ImageId: string | undefined;
|
|
@@ -1753,10 +1811,12 @@ export interface SearchTransitGatewayMulticastGroupsRequest {
|
|
|
1753
1811
|
NextToken?: string;
|
|
1754
1812
|
DryRun?: boolean;
|
|
1755
1813
|
}
|
|
1756
|
-
export declare
|
|
1757
|
-
igmp
|
|
1758
|
-
static
|
|
1759
|
-
}
|
|
1814
|
+
export declare const MembershipType: {
|
|
1815
|
+
readonly igmp: "igmp";
|
|
1816
|
+
readonly static: "static";
|
|
1817
|
+
};
|
|
1818
|
+
export type MembershipType =
|
|
1819
|
+
(typeof MembershipType)[keyof typeof MembershipType];
|
|
1760
1820
|
export interface TransitGatewayMulticastGroup {
|
|
1761
1821
|
GroupIpAddress?: string;
|
|
1762
1822
|
TransitGatewayAttachmentId?: string;
|
|
@@ -1793,31 +1853,6 @@ export interface StartInstancesRequest {
|
|
|
1793
1853
|
AdditionalInfo?: string;
|
|
1794
1854
|
DryRun?: boolean;
|
|
1795
1855
|
}
|
|
1796
|
-
export interface InstanceStateChange {
|
|
1797
|
-
CurrentState?: InstanceState;
|
|
1798
|
-
InstanceId?: string;
|
|
1799
|
-
PreviousState?: InstanceState;
|
|
1800
|
-
}
|
|
1801
|
-
export interface StartInstancesResult {
|
|
1802
|
-
StartingInstances?: InstanceStateChange[];
|
|
1803
|
-
}
|
|
1804
|
-
export interface StartNetworkInsightsAccessScopeAnalysisRequest {
|
|
1805
|
-
NetworkInsightsAccessScopeId: string | undefined;
|
|
1806
|
-
DryRun?: boolean;
|
|
1807
|
-
TagSpecifications?: TagSpecification[];
|
|
1808
|
-
ClientToken?: string;
|
|
1809
|
-
}
|
|
1810
|
-
export interface StartNetworkInsightsAccessScopeAnalysisResult {
|
|
1811
|
-
NetworkInsightsAccessScopeAnalysis?: NetworkInsightsAccessScopeAnalysis;
|
|
1812
|
-
}
|
|
1813
|
-
export interface StartNetworkInsightsAnalysisRequest {
|
|
1814
|
-
NetworkInsightsPathId: string | undefined;
|
|
1815
|
-
AdditionalAccounts?: string[];
|
|
1816
|
-
FilterInArns?: string[];
|
|
1817
|
-
DryRun?: boolean;
|
|
1818
|
-
TagSpecifications?: TagSpecification[];
|
|
1819
|
-
ClientToken?: string;
|
|
1820
|
-
}
|
|
1821
1856
|
export declare const ImportVolumeRequestFilterSensitiveLog: (
|
|
1822
1857
|
obj: ImportVolumeRequest
|
|
1823
1858
|
) => any;
|
|
@@ -1,7 +1,41 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
ByoipCidr,
|
|
3
|
+
IpPermission,
|
|
4
|
+
NatGatewayAddress,
|
|
5
|
+
TagSpecification,
|
|
6
|
+
} from "./models_0";
|
|
2
7
|
import { ClientVpnConnectionStatus } from "./models_3";
|
|
3
|
-
import {
|
|
4
|
-
|
|
8
|
+
import {
|
|
9
|
+
InstanceState,
|
|
10
|
+
NetworkInsightsAccessScopeAnalysis,
|
|
11
|
+
NetworkInsightsAnalysis,
|
|
12
|
+
} from "./models_4";
|
|
13
|
+
import { InstanceMonitoring } from "./models_6";
|
|
14
|
+
export interface InstanceStateChange {
|
|
15
|
+
CurrentState?: InstanceState;
|
|
16
|
+
InstanceId?: string;
|
|
17
|
+
PreviousState?: InstanceState;
|
|
18
|
+
}
|
|
19
|
+
export interface StartInstancesResult {
|
|
20
|
+
StartingInstances?: InstanceStateChange[];
|
|
21
|
+
}
|
|
22
|
+
export interface StartNetworkInsightsAccessScopeAnalysisRequest {
|
|
23
|
+
NetworkInsightsAccessScopeId: string | undefined;
|
|
24
|
+
DryRun?: boolean;
|
|
25
|
+
TagSpecifications?: TagSpecification[];
|
|
26
|
+
ClientToken?: string;
|
|
27
|
+
}
|
|
28
|
+
export interface StartNetworkInsightsAccessScopeAnalysisResult {
|
|
29
|
+
NetworkInsightsAccessScopeAnalysis?: NetworkInsightsAccessScopeAnalysis;
|
|
30
|
+
}
|
|
31
|
+
export interface StartNetworkInsightsAnalysisRequest {
|
|
32
|
+
NetworkInsightsPathId: string | undefined;
|
|
33
|
+
AdditionalAccounts?: string[];
|
|
34
|
+
FilterInArns?: string[];
|
|
35
|
+
DryRun?: boolean;
|
|
36
|
+
TagSpecifications?: TagSpecification[];
|
|
37
|
+
ClientToken?: string;
|
|
38
|
+
}
|
|
5
39
|
export interface StartNetworkInsightsAnalysisResult {
|
|
6
40
|
NetworkInsightsAnalysis?: NetworkInsightsAnalysis;
|
|
7
41
|
}
|
|
@@ -1807,6 +1807,10 @@ import {
|
|
|
1807
1807
|
GetVpnConnectionDeviceTypesCommandInput,
|
|
1808
1808
|
GetVpnConnectionDeviceTypesCommandOutput,
|
|
1809
1809
|
} from "../commands/GetVpnConnectionDeviceTypesCommand";
|
|
1810
|
+
import {
|
|
1811
|
+
GetVpnTunnelReplacementStatusCommandInput,
|
|
1812
|
+
GetVpnTunnelReplacementStatusCommandOutput,
|
|
1813
|
+
} from "../commands/GetVpnTunnelReplacementStatusCommand";
|
|
1810
1814
|
import {
|
|
1811
1815
|
ImportClientVpnClientCertificateRevocationListCommandInput,
|
|
1812
1816
|
ImportClientVpnClientCertificateRevocationListCommandOutput,
|
|
@@ -2207,6 +2211,10 @@ import {
|
|
|
2207
2211
|
ReplaceTransitGatewayRouteCommandInput,
|
|
2208
2212
|
ReplaceTransitGatewayRouteCommandOutput,
|
|
2209
2213
|
} from "../commands/ReplaceTransitGatewayRouteCommand";
|
|
2214
|
+
import {
|
|
2215
|
+
ReplaceVpnTunnelCommandInput,
|
|
2216
|
+
ReplaceVpnTunnelCommandOutput,
|
|
2217
|
+
} from "../commands/ReplaceVpnTunnelCommand";
|
|
2210
2218
|
import {
|
|
2211
2219
|
ReportInstanceStatusCommandInput,
|
|
2212
2220
|
ReportInstanceStatusCommandOutput,
|
|
@@ -4163,6 +4171,10 @@ export declare const serializeAws_ec2GetVpnConnectionDeviceTypesCommand: (
|
|
|
4163
4171
|
input: GetVpnConnectionDeviceTypesCommandInput,
|
|
4164
4172
|
context: __SerdeContext
|
|
4165
4173
|
) => Promise<__HttpRequest>;
|
|
4174
|
+
export declare const serializeAws_ec2GetVpnTunnelReplacementStatusCommand: (
|
|
4175
|
+
input: GetVpnTunnelReplacementStatusCommandInput,
|
|
4176
|
+
context: __SerdeContext
|
|
4177
|
+
) => Promise<__HttpRequest>;
|
|
4166
4178
|
export declare const serializeAws_ec2ImportClientVpnClientCertificateRevocationListCommand: (
|
|
4167
4179
|
input: ImportClientVpnClientCertificateRevocationListCommandInput,
|
|
4168
4180
|
context: __SerdeContext
|
|
@@ -4563,6 +4575,10 @@ export declare const serializeAws_ec2ReplaceTransitGatewayRouteCommand: (
|
|
|
4563
4575
|
input: ReplaceTransitGatewayRouteCommandInput,
|
|
4564
4576
|
context: __SerdeContext
|
|
4565
4577
|
) => Promise<__HttpRequest>;
|
|
4578
|
+
export declare const serializeAws_ec2ReplaceVpnTunnelCommand: (
|
|
4579
|
+
input: ReplaceVpnTunnelCommandInput,
|
|
4580
|
+
context: __SerdeContext
|
|
4581
|
+
) => Promise<__HttpRequest>;
|
|
4566
4582
|
export declare const serializeAws_ec2ReportInstanceStatusCommand: (
|
|
4567
4583
|
input: ReportInstanceStatusCommandInput,
|
|
4568
4584
|
context: __SerdeContext
|
|
@@ -6519,6 +6535,10 @@ export declare const deserializeAws_ec2GetVpnConnectionDeviceTypesCommand: (
|
|
|
6519
6535
|
output: __HttpResponse,
|
|
6520
6536
|
context: __SerdeContext
|
|
6521
6537
|
) => Promise<GetVpnConnectionDeviceTypesCommandOutput>;
|
|
6538
|
+
export declare const deserializeAws_ec2GetVpnTunnelReplacementStatusCommand: (
|
|
6539
|
+
output: __HttpResponse,
|
|
6540
|
+
context: __SerdeContext
|
|
6541
|
+
) => Promise<GetVpnTunnelReplacementStatusCommandOutput>;
|
|
6522
6542
|
export declare const deserializeAws_ec2ImportClientVpnClientCertificateRevocationListCommand: (
|
|
6523
6543
|
output: __HttpResponse,
|
|
6524
6544
|
context: __SerdeContext
|
|
@@ -6919,6 +6939,10 @@ export declare const deserializeAws_ec2ReplaceTransitGatewayRouteCommand: (
|
|
|
6919
6939
|
output: __HttpResponse,
|
|
6920
6940
|
context: __SerdeContext
|
|
6921
6941
|
) => Promise<ReplaceTransitGatewayRouteCommandOutput>;
|
|
6942
|
+
export declare const deserializeAws_ec2ReplaceVpnTunnelCommand: (
|
|
6943
|
+
output: __HttpResponse,
|
|
6944
|
+
context: __SerdeContext
|
|
6945
|
+
) => Promise<ReplaceVpnTunnelCommandOutput>;
|
|
6922
6946
|
export declare const deserializeAws_ec2ReportInstanceStatusCommand: (
|
|
6923
6947
|
output: __HttpResponse,
|
|
6924
6948
|
context: __SerdeContext
|
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.303.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,46 +21,46 @@
|
|
|
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/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-sdk-ec2": "3.
|
|
37
|
-
"@aws-sdk/middleware-serde": "3.
|
|
38
|
-
"@aws-sdk/middleware-signing": "3.
|
|
39
|
-
"@aws-sdk/middleware-stack": "3.
|
|
40
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
41
|
-
"@aws-sdk/node-config-provider": "3.
|
|
42
|
-
"@aws-sdk/node-http-handler": "3.
|
|
43
|
-
"@aws-sdk/protocol-http": "3.
|
|
44
|
-
"@aws-sdk/smithy-client": "3.
|
|
45
|
-
"@aws-sdk/types": "3.
|
|
46
|
-
"@aws-sdk/url-parser": "3.
|
|
47
|
-
"@aws-sdk/util-base64": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
49
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
51
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
52
|
-
"@aws-sdk/util-endpoints": "3.
|
|
53
|
-
"@aws-sdk/util-retry": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
55
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
56
|
-
"@aws-sdk/util-utf8": "3.
|
|
57
|
-
"@aws-sdk/util-waiter": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.303.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.303.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.303.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.303.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.303.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.303.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.303.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.303.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.303.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.303.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.303.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.303.0",
|
|
36
|
+
"@aws-sdk/middleware-sdk-ec2": "3.303.0",
|
|
37
|
+
"@aws-sdk/middleware-serde": "3.303.0",
|
|
38
|
+
"@aws-sdk/middleware-signing": "3.303.0",
|
|
39
|
+
"@aws-sdk/middleware-stack": "3.303.0",
|
|
40
|
+
"@aws-sdk/middleware-user-agent": "3.303.0",
|
|
41
|
+
"@aws-sdk/node-config-provider": "3.303.0",
|
|
42
|
+
"@aws-sdk/node-http-handler": "3.303.0",
|
|
43
|
+
"@aws-sdk/protocol-http": "3.303.0",
|
|
44
|
+
"@aws-sdk/smithy-client": "3.303.0",
|
|
45
|
+
"@aws-sdk/types": "3.303.0",
|
|
46
|
+
"@aws-sdk/url-parser": "3.303.0",
|
|
47
|
+
"@aws-sdk/util-base64": "3.303.0",
|
|
48
|
+
"@aws-sdk/util-body-length-browser": "3.303.0",
|
|
49
|
+
"@aws-sdk/util-body-length-node": "3.303.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-browser": "3.303.0",
|
|
51
|
+
"@aws-sdk/util-defaults-mode-node": "3.303.0",
|
|
52
|
+
"@aws-sdk/util-endpoints": "3.303.0",
|
|
53
|
+
"@aws-sdk/util-retry": "3.303.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-browser": "3.303.0",
|
|
55
|
+
"@aws-sdk/util-user-agent-node": "3.303.0",
|
|
56
|
+
"@aws-sdk/util-utf8": "3.303.0",
|
|
57
|
+
"@aws-sdk/util-waiter": "3.303.0",
|
|
58
58
|
"fast-xml-parser": "4.1.2",
|
|
59
59
|
"tslib": "^2.5.0",
|
|
60
60
|
"uuid": "^8.3.2"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
63
|
+
"@aws-sdk/service-client-documentation-generator": "3.303.0",
|
|
64
64
|
"@tsconfig/node14": "1.0.3",
|
|
65
65
|
"@types/node": "^14.14.31",
|
|
66
66
|
"@types/uuid": "^8.3.0",
|