@aws-sdk/client-ec2 3.171.0 → 3.174.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/CHANGELOG.md +22 -0
- package/dist-cjs/commands/CreateTrafficMirrorFilterRuleCommand.js +3 -3
- package/dist-cjs/commands/DescribeAddressesAttributeCommand.js +3 -3
- package/dist-cjs/commands/DescribeAggregateIdFormatCommand.js +1 -2
- package/dist-cjs/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.js +2 -1
- package/dist-cjs/commands/DescribeLocalGatewayVirtualInterfacesCommand.js +1 -2
- package/dist-cjs/commands/MonitorInstancesCommand.js +3 -3
- package/dist-cjs/models/models_0.js +978 -27
- package/dist-cjs/models/models_1.js +250 -18
- package/dist-cjs/models/models_2.js +152 -18
- package/dist-cjs/models/models_3.js +279 -18
- package/dist-cjs/models/models_4.js +106 -18
- package/dist-cjs/models/models_5.js +62 -18
- package/dist-cjs/models/models_6.js +46 -3
- package/dist-cjs/protocols/Aws_ec2.js +88 -0
- package/dist-es/commands/CreateTrafficMirrorFilterRuleCommand.js +1 -1
- package/dist-es/commands/DescribeAddressesAttributeCommand.js +1 -1
- package/dist-es/commands/DescribeAggregateIdFormatCommand.js +1 -2
- package/dist-es/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.js +2 -1
- package/dist-es/commands/DescribeLocalGatewayVirtualInterfacesCommand.js +1 -2
- package/dist-es/commands/MonitorInstancesCommand.js +1 -1
- package/dist-es/models/models_0.js +966 -12
- package/dist-es/models/models_1.js +235 -3
- package/dist-es/models/models_2.js +137 -3
- package/dist-es/models/models_3.js +264 -3
- package/dist-es/models/models_4.js +91 -3
- package/dist-es/models/models_5.js +47 -3
- package/dist-es/models/models_6.js +33 -0
- package/dist-es/protocols/Aws_ec2.js +88 -0
- package/dist-types/EC2.d.ts +13 -30
- package/dist-types/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAddressesAttributeCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAggregateIdFormatCommand.d.ts +1 -2
- package/dist-types/commands/DescribeInstancesCommand.d.ts +0 -3
- package/dist-types/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeLocalGatewayVirtualInterfacesCommand.d.ts +1 -2
- package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +0 -3
- package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +0 -3
- package/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +0 -3
- package/dist-types/commands/DescribeScheduledInstanceAvailabilityCommand.d.ts +0 -4
- package/dist-types/commands/DescribeScheduledInstancesCommand.d.ts +0 -4
- package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +4 -6
- package/dist-types/commands/MonitorInstancesCommand.d.ts +1 -1
- package/dist-types/commands/PurchaseReservedInstancesOfferingCommand.d.ts +3 -0
- package/dist-types/commands/PurchaseScheduledInstancesCommand.d.ts +4 -1
- package/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -1
- package/dist-types/commands/RunInstancesCommand.d.ts +1 -2
- package/dist-types/models/models_0.d.ts +975 -108
- package/dist-types/models/models_1.d.ts +288 -143
- package/dist-types/models/models_2.d.ts +202 -79
- package/dist-types/models/models_3.d.ts +291 -161
- package/dist-types/models/models_4.d.ts +221 -103
- package/dist-types/models/models_5.d.ts +102 -61
- package/dist-types/models/models_6.d.ts +78 -14
- package/dist-types/ts3.4/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeAddressesAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeAggregateIdFormatCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeLocalGatewayVirtualInterfacesCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/MonitorInstancesCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +935 -846
- package/dist-types/ts3.4/models/models_1.d.ts +216 -154
- package/dist-types/ts3.4/models/models_2.d.ts +145 -83
- package/dist-types/ts3.4/models/models_3.d.ts +248 -171
- package/dist-types/ts3.4/models/models_4.d.ts +104 -72
- package/dist-types/ts3.4/models/models_5.d.ts +61 -47
- package/dist-types/ts3.4/models/models_6.d.ts +47 -19
- package/package.json +1 -1
|
@@ -10,7 +10,6 @@ import {
|
|
|
10
10
|
AnalysisRouteTableRoute,
|
|
11
11
|
AnalysisSecurityGroupRule,
|
|
12
12
|
AssociationStatus,
|
|
13
|
-
AttributeValue,
|
|
14
13
|
BatchState,
|
|
15
14
|
CurrencyCodeValues,
|
|
16
15
|
IamInstanceProfileAssociation,
|
|
@@ -44,6 +43,7 @@ import {
|
|
|
44
43
|
VpcPeeringConnection,
|
|
45
44
|
} from "./models_0";
|
|
46
45
|
import {
|
|
46
|
+
AttributeValue,
|
|
47
47
|
BlockDeviceMapping,
|
|
48
48
|
FleetLaunchTemplateSpecification,
|
|
49
49
|
FleetType,
|
|
@@ -112,6 +112,24 @@ import {
|
|
|
112
112
|
PermissionGroup,
|
|
113
113
|
ProductCode,
|
|
114
114
|
} from "./models_3";
|
|
115
|
+
export interface LocalGatewayVirtualInterfaceGroup {
|
|
116
|
+
LocalGatewayVirtualInterfaceGroupId?: string;
|
|
117
|
+
LocalGatewayVirtualInterfaceIds?: string[];
|
|
118
|
+
LocalGatewayId?: string;
|
|
119
|
+
OwnerId?: string;
|
|
120
|
+
Tags?: Tag[];
|
|
121
|
+
}
|
|
122
|
+
export interface DescribeLocalGatewayVirtualInterfaceGroupsResult {
|
|
123
|
+
LocalGatewayVirtualInterfaceGroups?: LocalGatewayVirtualInterfaceGroup[];
|
|
124
|
+
NextToken?: string;
|
|
125
|
+
}
|
|
126
|
+
export interface DescribeLocalGatewayVirtualInterfacesRequest {
|
|
127
|
+
LocalGatewayVirtualInterfaceIds?: string[];
|
|
128
|
+
Filters?: Filter[];
|
|
129
|
+
MaxResults?: number;
|
|
130
|
+
NextToken?: string;
|
|
131
|
+
DryRun?: boolean;
|
|
132
|
+
}
|
|
115
133
|
export interface LocalGatewayVirtualInterface {
|
|
116
134
|
LocalGatewayVirtualInterfaceId?: string;
|
|
117
135
|
LocalGatewayId?: string;
|
|
@@ -145,7 +163,10 @@ export interface DescribeMovingAddressesRequest {
|
|
|
145
163
|
NextToken?: string;
|
|
146
164
|
PublicIps?: string[];
|
|
147
165
|
}
|
|
148
|
-
export declare
|
|
166
|
+
export declare enum MoveStatus {
|
|
167
|
+
movingToVpc = "movingToVpc",
|
|
168
|
+
restoringToClassic = "restoringToClassic",
|
|
169
|
+
}
|
|
149
170
|
export interface MovingAddressStatus {
|
|
150
171
|
MoveStatus?: MoveStatus | string;
|
|
151
172
|
PublicIp?: string;
|
|
@@ -191,7 +212,11 @@ export declare enum FindingsFound {
|
|
|
191
212
|
true = "true",
|
|
192
213
|
unknown = "unknown",
|
|
193
214
|
}
|
|
194
|
-
export declare
|
|
215
|
+
export declare enum AnalysisStatus {
|
|
216
|
+
failed = "failed",
|
|
217
|
+
running = "running",
|
|
218
|
+
succeeded = "succeeded",
|
|
219
|
+
}
|
|
195
220
|
export interface NetworkInsightsAccessScopeAnalysis {
|
|
196
221
|
NetworkInsightsAccessScopeAnalysisId?: string;
|
|
197
222
|
NetworkInsightsAccessScopeAnalysisArn?: string;
|
|
@@ -322,11 +347,12 @@ export interface DescribeNetworkInsightsPathsResult {
|
|
|
322
347
|
NetworkInsightsPaths?: NetworkInsightsPath[];
|
|
323
348
|
NextToken?: string;
|
|
324
349
|
}
|
|
325
|
-
export declare
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
350
|
+
export declare enum NetworkInterfaceAttribute {
|
|
351
|
+
attachment = "attachment",
|
|
352
|
+
description = "description",
|
|
353
|
+
groupSet = "groupSet",
|
|
354
|
+
sourceDestCheck = "sourceDestCheck",
|
|
355
|
+
}
|
|
330
356
|
export interface DescribeNetworkInterfaceAttributeRequest {
|
|
331
357
|
Attribute?: NetworkInterfaceAttribute | string;
|
|
332
358
|
DryRun?: boolean;
|
|
@@ -453,13 +479,14 @@ export declare enum OfferingClassType {
|
|
|
453
479
|
CONVERTIBLE = "convertible",
|
|
454
480
|
STANDARD = "standard",
|
|
455
481
|
}
|
|
456
|
-
export declare
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
482
|
+
export declare enum OfferingTypeValues {
|
|
483
|
+
All_Upfront = "All Upfront",
|
|
484
|
+
Heavy_Utilization = "Heavy Utilization",
|
|
485
|
+
Light_Utilization = "Light Utilization",
|
|
486
|
+
Medium_Utilization = "Medium Utilization",
|
|
487
|
+
No_Upfront = "No Upfront",
|
|
488
|
+
Partial_Upfront = "Partial Upfront",
|
|
489
|
+
}
|
|
463
490
|
export interface DescribeReservedInstancesRequest {
|
|
464
491
|
Filters?: Filter[];
|
|
465
492
|
OfferingClass?: OfferingClassType | string;
|
|
@@ -472,7 +499,9 @@ export declare type RIProductDescription =
|
|
|
472
499
|
| "Linux/UNIX (Amazon VPC)"
|
|
473
500
|
| "Windows"
|
|
474
501
|
| "Windows (Amazon VPC)";
|
|
475
|
-
export declare
|
|
502
|
+
export declare enum RecurringChargeFrequency {
|
|
503
|
+
Hourly = "Hourly",
|
|
504
|
+
}
|
|
476
505
|
export interface RecurringCharge {
|
|
477
506
|
Amount?: number;
|
|
478
507
|
Frequency?: RecurringChargeFrequency | string;
|
|
@@ -481,13 +510,14 @@ export declare enum Scope {
|
|
|
481
510
|
AVAILABILITY_ZONE = "Availability Zone",
|
|
482
511
|
REGIONAL = "Region",
|
|
483
512
|
}
|
|
484
|
-
export declare
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
513
|
+
export declare enum ReservedInstanceState {
|
|
514
|
+
active = "active",
|
|
515
|
+
payment_failed = "payment-failed",
|
|
516
|
+
payment_pending = "payment-pending",
|
|
517
|
+
queued = "queued",
|
|
518
|
+
queued_deleted = "queued-deleted",
|
|
519
|
+
retired = "retired",
|
|
520
|
+
}
|
|
491
521
|
export interface ReservedInstances {
|
|
492
522
|
AvailabilityZone?: string;
|
|
493
523
|
Duration?: number;
|
|
@@ -731,9 +761,10 @@ export interface DescribeSecurityGroupsResult {
|
|
|
731
761
|
SecurityGroups?: SecurityGroup[];
|
|
732
762
|
NextToken?: string;
|
|
733
763
|
}
|
|
734
|
-
export declare
|
|
735
|
-
|
|
736
|
-
|
|
764
|
+
export declare enum SnapshotAttributeName {
|
|
765
|
+
createVolumePermission = "createVolumePermission",
|
|
766
|
+
productCodes = "productCodes",
|
|
767
|
+
}
|
|
737
768
|
export interface DescribeSnapshotAttributeRequest {
|
|
738
769
|
Attribute: SnapshotAttributeName | string | undefined;
|
|
739
770
|
SnapshotId: string | undefined;
|
|
@@ -1014,12 +1045,13 @@ export interface LaunchSpecification {
|
|
|
1014
1045
|
SubnetId?: string;
|
|
1015
1046
|
Monitoring?: RunInstancesMonitoringEnabled;
|
|
1016
1047
|
}
|
|
1017
|
-
export declare
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1048
|
+
export declare enum SpotInstanceState {
|
|
1049
|
+
active = "active",
|
|
1050
|
+
cancelled = "cancelled",
|
|
1051
|
+
closed = "closed",
|
|
1052
|
+
failed = "failed",
|
|
1053
|
+
open = "open",
|
|
1054
|
+
}
|
|
1023
1055
|
export interface SpotInstanceStatus {
|
|
1024
1056
|
Code?: string;
|
|
1025
1057
|
Message?: string;
|
|
@@ -1315,7 +1347,10 @@ export interface DescribeTrunkInterfaceAssociationsResult {
|
|
|
1315
1347
|
InterfaceAssociations?: TrunkInterfaceAssociation[];
|
|
1316
1348
|
NextToken?: string;
|
|
1317
1349
|
}
|
|
1318
|
-
export declare
|
|
1350
|
+
export declare enum VolumeAttributeName {
|
|
1351
|
+
autoEnableIO = "autoEnableIO",
|
|
1352
|
+
productCodes = "productCodes",
|
|
1353
|
+
}
|
|
1319
1354
|
export interface DescribeVolumeAttributeRequest {
|
|
1320
1355
|
Attribute: VolumeAttributeName | string | undefined;
|
|
1321
1356
|
VolumeId: string | undefined;
|
|
@@ -1344,11 +1379,12 @@ export interface DescribeVolumesModificationsRequest {
|
|
|
1344
1379
|
NextToken?: string;
|
|
1345
1380
|
MaxResults?: number;
|
|
1346
1381
|
}
|
|
1347
|
-
export declare
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1382
|
+
export declare enum VolumeModificationState {
|
|
1383
|
+
completed = "completed",
|
|
1384
|
+
failed = "failed",
|
|
1385
|
+
modifying = "modifying",
|
|
1386
|
+
optimizing = "optimizing",
|
|
1387
|
+
}
|
|
1352
1388
|
export interface VolumeModification {
|
|
1353
1389
|
VolumeId?: string;
|
|
1354
1390
|
ModificationState?: VolumeModificationState | string;
|
|
@@ -1396,15 +1432,19 @@ export interface VolumeStatusEvent {
|
|
|
1396
1432
|
NotBefore?: Date;
|
|
1397
1433
|
InstanceId?: string;
|
|
1398
1434
|
}
|
|
1399
|
-
export declare
|
|
1435
|
+
export declare enum VolumeStatusName {
|
|
1436
|
+
io_enabled = "io-enabled",
|
|
1437
|
+
io_performance = "io-performance",
|
|
1438
|
+
}
|
|
1400
1439
|
export interface VolumeStatusDetails {
|
|
1401
1440
|
Name?: VolumeStatusName | string;
|
|
1402
1441
|
Status?: string;
|
|
1403
1442
|
}
|
|
1404
|
-
export declare
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1443
|
+
export declare enum VolumeStatusInfoStatus {
|
|
1444
|
+
impaired = "impaired",
|
|
1445
|
+
insufficient_data = "insufficient-data",
|
|
1446
|
+
ok = "ok",
|
|
1447
|
+
}
|
|
1408
1448
|
export interface VolumeStatusInfo {
|
|
1409
1449
|
Details?: VolumeStatusDetails[];
|
|
1410
1450
|
Status?: VolumeStatusInfoStatus | string;
|
|
@@ -1422,9 +1462,10 @@ export interface DescribeVolumeStatusResult {
|
|
|
1422
1462
|
NextToken?: string;
|
|
1423
1463
|
VolumeStatuses?: VolumeStatusItem[];
|
|
1424
1464
|
}
|
|
1425
|
-
export declare
|
|
1426
|
-
|
|
1427
|
-
|
|
1465
|
+
export declare enum VpcAttributeName {
|
|
1466
|
+
enableDnsHostnames = "enableDnsHostnames",
|
|
1467
|
+
enableDnsSupport = "enableDnsSupport",
|
|
1468
|
+
}
|
|
1428
1469
|
export interface DescribeVpcAttributeRequest {
|
|
1429
1470
|
Attribute: VpcAttributeName | string | undefined;
|
|
1430
1471
|
VpcId: string | undefined;
|
|
@@ -1488,6 +1529,8 @@ export interface VpcEndpointConnection {
|
|
|
1488
1529
|
NetworkLoadBalancerArns?: string[];
|
|
1489
1530
|
GatewayLoadBalancerArns?: string[];
|
|
1490
1531
|
IpAddressType?: IpAddressType | string;
|
|
1532
|
+
VpcEndpointConnectionId?: string;
|
|
1533
|
+
Tags?: Tag[];
|
|
1491
1534
|
}
|
|
1492
1535
|
export interface DescribeVpcEndpointConnectionsResult {
|
|
1493
1536
|
VpcEndpointConnections?: VpcEndpointConnection[];
|
|
@@ -1708,11 +1751,12 @@ export interface DisableTransitGatewayRouteTablePropagationRequest {
|
|
|
1708
1751
|
DryRun?: boolean;
|
|
1709
1752
|
TransitGatewayRouteTableAnnouncementId?: string;
|
|
1710
1753
|
}
|
|
1711
|
-
export declare
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1754
|
+
export declare enum TransitGatewayPropagationState {
|
|
1755
|
+
disabled = "disabled",
|
|
1756
|
+
disabling = "disabling",
|
|
1757
|
+
enabled = "enabled",
|
|
1758
|
+
enabling = "enabling",
|
|
1759
|
+
}
|
|
1716
1760
|
export interface TransitGatewayPropagation {
|
|
1717
1761
|
TransitGatewayAttachmentId?: string;
|
|
1718
1762
|
ResourceId?: string;
|
|
@@ -1887,18 +1931,15 @@ export interface EnableFastSnapshotRestoreSuccessItem {
|
|
|
1887
1931
|
DisablingTime?: Date;
|
|
1888
1932
|
DisabledTime?: Date;
|
|
1889
1933
|
}
|
|
1890
|
-
export
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
SnapshotId?: string;
|
|
1900
|
-
FastSnapshotRestoreStateErrors?: EnableFastSnapshotRestoreStateErrorItem[];
|
|
1901
|
-
}
|
|
1934
|
+
export declare const LocalGatewayVirtualInterfaceGroupFilterSensitiveLog: (
|
|
1935
|
+
obj: LocalGatewayVirtualInterfaceGroup
|
|
1936
|
+
) => any;
|
|
1937
|
+
export declare const DescribeLocalGatewayVirtualInterfaceGroupsResultFilterSensitiveLog: (
|
|
1938
|
+
obj: DescribeLocalGatewayVirtualInterfaceGroupsResult
|
|
1939
|
+
) => any;
|
|
1940
|
+
export declare const DescribeLocalGatewayVirtualInterfacesRequestFilterSensitiveLog: (
|
|
1941
|
+
obj: DescribeLocalGatewayVirtualInterfacesRequest
|
|
1942
|
+
) => any;
|
|
1902
1943
|
export declare const LocalGatewayVirtualInterfaceFilterSensitiveLog: (
|
|
1903
1944
|
obj: LocalGatewayVirtualInterface
|
|
1904
1945
|
) => any;
|
|
@@ -2711,12 +2752,3 @@ export declare const EnableFastSnapshotRestoresRequestFilterSensitiveLog: (
|
|
|
2711
2752
|
export declare const EnableFastSnapshotRestoreSuccessItemFilterSensitiveLog: (
|
|
2712
2753
|
obj: EnableFastSnapshotRestoreSuccessItem
|
|
2713
2754
|
) => any;
|
|
2714
|
-
export declare const EnableFastSnapshotRestoreStateErrorFilterSensitiveLog: (
|
|
2715
|
-
obj: EnableFastSnapshotRestoreStateError
|
|
2716
|
-
) => any;
|
|
2717
|
-
export declare const EnableFastSnapshotRestoreStateErrorItemFilterSensitiveLog: (
|
|
2718
|
-
obj: EnableFastSnapshotRestoreStateErrorItem
|
|
2719
|
-
) => any;
|
|
2720
|
-
export declare const EnableFastSnapshotRestoreErrorItemFilterSensitiveLog: (
|
|
2721
|
-
obj: EnableFastSnapshotRestoreErrorItem
|
|
2722
|
-
) => any;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
_InstanceType,
|
|
3
3
|
AccessScopeAnalysisFinding,
|
|
4
|
+
AddedPrincipal,
|
|
4
5
|
AddIpamOperatingRegion,
|
|
5
6
|
AddPrefixListEntry,
|
|
6
7
|
AddressAttribute,
|
|
7
8
|
Affinity,
|
|
8
9
|
ApplianceModeSupportValue,
|
|
9
|
-
AttributeValue,
|
|
10
10
|
AutoPlacement,
|
|
11
11
|
CapacityReservationState,
|
|
12
12
|
ClientConnectOptions,
|
|
@@ -32,6 +32,7 @@ import {
|
|
|
32
32
|
UnsuccessfulItem,
|
|
33
33
|
} from "./models_0";
|
|
34
34
|
import {
|
|
35
|
+
AttributeValue,
|
|
35
36
|
CapacityReservationPreference,
|
|
36
37
|
CapacityReservationTarget,
|
|
37
38
|
DiskImageFormat,
|
|
@@ -59,7 +60,6 @@ import {
|
|
|
59
60
|
TrafficMirrorFilter,
|
|
60
61
|
TrafficMirrorFilterRule,
|
|
61
62
|
TrafficMirrorNetworkService,
|
|
62
|
-
TrafficMirrorPortRangeRequest,
|
|
63
63
|
TrafficMirrorRuleAction,
|
|
64
64
|
VolumeType,
|
|
65
65
|
} from "./models_1";
|
|
@@ -79,6 +79,7 @@ import {
|
|
|
79
79
|
Phase2DHGroupNumbersRequestListValue,
|
|
80
80
|
Phase2EncryptionAlgorithmsRequestListValue,
|
|
81
81
|
Phase2IntegrityAlgorithmsRequestListValue,
|
|
82
|
+
TrafficMirrorPortRangeRequest,
|
|
82
83
|
TrafficMirrorSession,
|
|
83
84
|
TransitGateway,
|
|
84
85
|
TransitGatewayPrefixListReference,
|
|
@@ -105,7 +106,6 @@ import {
|
|
|
105
106
|
InstanceMetadataTagsState,
|
|
106
107
|
InstanceStatusEvent,
|
|
107
108
|
LaunchPermission,
|
|
108
|
-
Monitoring,
|
|
109
109
|
PaymentOption,
|
|
110
110
|
PermissionGroup,
|
|
111
111
|
SnapshotDetail,
|
|
@@ -115,7 +115,6 @@ import {
|
|
|
115
115
|
import {
|
|
116
116
|
AnalysisStatus,
|
|
117
117
|
CreateVolumePermission,
|
|
118
|
-
EnableFastSnapshotRestoreErrorItem,
|
|
119
118
|
EnableFastSnapshotRestoreSuccessItem,
|
|
120
119
|
ExcessCapacityTerminationPolicy,
|
|
121
120
|
LaunchTemplateConfig,
|
|
@@ -125,6 +124,18 @@ import {
|
|
|
125
124
|
TransitGatewayPropagationState,
|
|
126
125
|
VolumeModification,
|
|
127
126
|
} from "./models_4";
|
|
127
|
+
export interface EnableFastSnapshotRestoreStateError {
|
|
128
|
+
Code?: string;
|
|
129
|
+
Message?: string;
|
|
130
|
+
}
|
|
131
|
+
export interface EnableFastSnapshotRestoreStateErrorItem {
|
|
132
|
+
AvailabilityZone?: string;
|
|
133
|
+
Error?: EnableFastSnapshotRestoreStateError;
|
|
134
|
+
}
|
|
135
|
+
export interface EnableFastSnapshotRestoreErrorItem {
|
|
136
|
+
SnapshotId?: string;
|
|
137
|
+
FastSnapshotRestoreStateErrors?: EnableFastSnapshotRestoreStateErrorItem[];
|
|
138
|
+
}
|
|
128
139
|
export interface EnableFastSnapshotRestoresResult {
|
|
129
140
|
Successful?: EnableFastSnapshotRestoreSuccessItem[];
|
|
130
141
|
Unsuccessful?: EnableFastSnapshotRestoreErrorItem[];
|
|
@@ -185,9 +196,10 @@ export interface ExportClientVpnClientCertificateRevocationListRequest {
|
|
|
185
196
|
ClientVpnEndpointId: string | undefined;
|
|
186
197
|
DryRun?: boolean;
|
|
187
198
|
}
|
|
188
|
-
export declare
|
|
189
|
-
|
|
190
|
-
|
|
199
|
+
export declare enum ClientCertificateRevocationListStatusCode {
|
|
200
|
+
active = "active",
|
|
201
|
+
pending = "pending",
|
|
202
|
+
}
|
|
191
203
|
export interface ClientCertificateRevocationListStatus {
|
|
192
204
|
Code?: ClientCertificateRevocationListStatusCode | string;
|
|
193
205
|
Message?: string;
|
|
@@ -321,11 +333,12 @@ export interface GetConsoleScreenshotResult {
|
|
|
321
333
|
ImageData?: string;
|
|
322
334
|
InstanceId?: string;
|
|
323
335
|
}
|
|
324
|
-
export declare
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
336
|
+
export declare enum UnlimitedSupportedInstanceFamily {
|
|
337
|
+
t2 = "t2",
|
|
338
|
+
t3 = "t3",
|
|
339
|
+
t3a = "t3a",
|
|
340
|
+
t4g = "t4g",
|
|
341
|
+
}
|
|
329
342
|
export interface GetDefaultCreditSpecificationRequest {
|
|
330
343
|
DryRun?: boolean;
|
|
331
344
|
InstanceFamily: UnlimitedSupportedInstanceFamily | string | undefined;
|
|
@@ -1015,9 +1028,10 @@ export interface ModifyAddressAttributeRequest {
|
|
|
1015
1028
|
export interface ModifyAddressAttributeResult {
|
|
1016
1029
|
Address?: AddressAttribute;
|
|
1017
1030
|
}
|
|
1018
|
-
export declare
|
|
1019
|
-
|
|
1020
|
-
|
|
1031
|
+
export declare enum ModifyAvailabilityZoneOptInStatus {
|
|
1032
|
+
not_opted_in = "not-opted-in",
|
|
1033
|
+
opted_in = "opted-in",
|
|
1034
|
+
}
|
|
1021
1035
|
export interface ModifyAvailabilityZoneGroupRequest {
|
|
1022
1036
|
GroupName: string | undefined;
|
|
1023
1037
|
OptInStatus: ModifyAvailabilityZoneOptInStatus | string | undefined;
|
|
@@ -1107,7 +1121,10 @@ export interface LoadPermissionModifications {
|
|
|
1107
1121
|
Add?: LoadPermissionRequest[];
|
|
1108
1122
|
Remove?: LoadPermissionRequest[];
|
|
1109
1123
|
}
|
|
1110
|
-
export declare
|
|
1124
|
+
export declare enum OperationType {
|
|
1125
|
+
add = "add",
|
|
1126
|
+
remove = "remove",
|
|
1127
|
+
}
|
|
1111
1128
|
export interface ModifyFpgaImageAttributeRequest {
|
|
1112
1129
|
DryRun?: boolean;
|
|
1113
1130
|
FpgaImageId: string | undefined;
|
|
@@ -1280,7 +1297,10 @@ export interface ModifyInstanceMetadataOptionsResult {
|
|
|
1280
1297
|
InstanceId?: string;
|
|
1281
1298
|
InstanceMetadataOptions?: InstanceMetadataOptionsResponse;
|
|
1282
1299
|
}
|
|
1283
|
-
export declare
|
|
1300
|
+
export declare enum HostTenancy {
|
|
1301
|
+
dedicated = "dedicated",
|
|
1302
|
+
host = "host",
|
|
1303
|
+
}
|
|
1284
1304
|
export interface ModifyInstancePlacementRequest {
|
|
1285
1305
|
Affinity?: Affinity | string;
|
|
1286
1306
|
GroupName?: string;
|
|
@@ -1486,11 +1506,12 @@ export interface ModifyTrafficMirrorFilterNetworkServicesRequest {
|
|
|
1486
1506
|
export interface ModifyTrafficMirrorFilterNetworkServicesResult {
|
|
1487
1507
|
TrafficMirrorFilter?: TrafficMirrorFilter;
|
|
1488
1508
|
}
|
|
1489
|
-
export declare
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1509
|
+
export declare enum TrafficMirrorFilterRuleField {
|
|
1510
|
+
description = "description",
|
|
1511
|
+
destination_port_range = "destination-port-range",
|
|
1512
|
+
protocol = "protocol",
|
|
1513
|
+
source_port_range = "source-port-range",
|
|
1514
|
+
}
|
|
1494
1515
|
export interface ModifyTrafficMirrorFilterRuleRequest {
|
|
1495
1516
|
TrafficMirrorFilterRuleId: string | undefined;
|
|
1496
1517
|
TrafficDirection?: TrafficDirection | string;
|
|
@@ -1508,10 +1529,11 @@ export interface ModifyTrafficMirrorFilterRuleRequest {
|
|
|
1508
1529
|
export interface ModifyTrafficMirrorFilterRuleResult {
|
|
1509
1530
|
TrafficMirrorFilterRule?: TrafficMirrorFilterRule;
|
|
1510
1531
|
}
|
|
1511
|
-
export declare
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1532
|
+
export declare enum TrafficMirrorSessionField {
|
|
1533
|
+
description = "description",
|
|
1534
|
+
packet_length = "packet-length",
|
|
1535
|
+
virtual_network_id = "virtual-network-id",
|
|
1536
|
+
}
|
|
1515
1537
|
export interface ModifyTrafficMirrorSessionRequest {
|
|
1516
1538
|
TrafficMirrorSessionId: string | undefined;
|
|
1517
1539
|
TrafficMirrorTargetId?: string;
|
|
@@ -1652,6 +1674,7 @@ export interface ModifyVpcEndpointServicePermissionsRequest {
|
|
|
1652
1674
|
RemoveAllowedPrincipals?: string[];
|
|
1653
1675
|
}
|
|
1654
1676
|
export interface ModifyVpcEndpointServicePermissionsResult {
|
|
1677
|
+
AddedPrincipals?: AddedPrincipal[];
|
|
1655
1678
|
ReturnValue?: boolean;
|
|
1656
1679
|
}
|
|
1657
1680
|
export interface PeeringConnectionOptionsRequest {
|
|
@@ -1674,7 +1697,9 @@ export interface ModifyVpcPeeringConnectionOptionsResult {
|
|
|
1674
1697
|
AccepterPeeringConnectionOptions?: PeeringConnectionOptions;
|
|
1675
1698
|
RequesterPeeringConnectionOptions?: PeeringConnectionOptions;
|
|
1676
1699
|
}
|
|
1677
|
-
export declare
|
|
1700
|
+
export declare enum VpcTenancy {
|
|
1701
|
+
default = "default",
|
|
1702
|
+
}
|
|
1678
1703
|
export interface ModifyVpcTenancyRequest {
|
|
1679
1704
|
VpcId: string | undefined;
|
|
1680
1705
|
InstanceTenancy: VpcTenancy | string | undefined;
|
|
@@ -1742,17 +1767,15 @@ export interface ModifyVpnTunnelOptionsRequest {
|
|
|
1742
1767
|
export interface ModifyVpnTunnelOptionsResult {
|
|
1743
1768
|
VpnConnection?: VpnConnection;
|
|
1744
1769
|
}
|
|
1745
|
-
export
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
InstanceMonitorings?: InstanceMonitoring[];
|
|
1755
|
-
}
|
|
1770
|
+
export declare const EnableFastSnapshotRestoreStateErrorFilterSensitiveLog: (
|
|
1771
|
+
obj: EnableFastSnapshotRestoreStateError
|
|
1772
|
+
) => any;
|
|
1773
|
+
export declare const EnableFastSnapshotRestoreStateErrorItemFilterSensitiveLog: (
|
|
1774
|
+
obj: EnableFastSnapshotRestoreStateErrorItem
|
|
1775
|
+
) => any;
|
|
1776
|
+
export declare const EnableFastSnapshotRestoreErrorItemFilterSensitiveLog: (
|
|
1777
|
+
obj: EnableFastSnapshotRestoreErrorItem
|
|
1778
|
+
) => any;
|
|
1756
1779
|
export declare const EnableFastSnapshotRestoresResultFilterSensitiveLog: (
|
|
1757
1780
|
obj: EnableFastSnapshotRestoresResult
|
|
1758
1781
|
) => any;
|
|
@@ -2584,12 +2607,3 @@ export declare const ModifyVpnTunnelOptionsRequestFilterSensitiveLog: (
|
|
|
2584
2607
|
export declare const ModifyVpnTunnelOptionsResultFilterSensitiveLog: (
|
|
2585
2608
|
obj: ModifyVpnTunnelOptionsResult
|
|
2586
2609
|
) => any;
|
|
2587
|
-
export declare const MonitorInstancesRequestFilterSensitiveLog: (
|
|
2588
|
-
obj: MonitorInstancesRequest
|
|
2589
|
-
) => any;
|
|
2590
|
-
export declare const InstanceMonitoringFilterSensitiveLog: (
|
|
2591
|
-
obj: InstanceMonitoring
|
|
2592
|
-
) => any;
|
|
2593
|
-
export declare const MonitorInstancesResultFilterSensitiveLog: (
|
|
2594
|
-
obj: MonitorInstancesResult
|
|
2595
|
-
) => any;
|
|
@@ -51,6 +51,7 @@ import {
|
|
|
51
51
|
InstanceMetadataProtocolState,
|
|
52
52
|
InstanceMetadataTagsState,
|
|
53
53
|
InstanceState,
|
|
54
|
+
Monitoring,
|
|
54
55
|
TpmSupportValues,
|
|
55
56
|
} from "./models_3";
|
|
56
57
|
import {
|
|
@@ -65,11 +66,18 @@ import {
|
|
|
65
66
|
SpotInstanceRequest,
|
|
66
67
|
SpotPlacement,
|
|
67
68
|
} from "./models_4";
|
|
68
|
-
import {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
}
|
|
69
|
+
import { CapacityReservationSpecification, Purchase } from "./models_5";
|
|
70
|
+
export interface MonitorInstancesRequest {
|
|
71
|
+
InstanceIds: string[] | undefined;
|
|
72
|
+
DryRun?: boolean;
|
|
73
|
+
}
|
|
74
|
+
export interface InstanceMonitoring {
|
|
75
|
+
InstanceId?: string;
|
|
76
|
+
Monitoring?: Monitoring;
|
|
77
|
+
}
|
|
78
|
+
export interface MonitorInstancesResult {
|
|
79
|
+
InstanceMonitorings?: InstanceMonitoring[];
|
|
80
|
+
}
|
|
73
81
|
export interface MoveAddressToVpcRequest {
|
|
74
82
|
DryRun?: boolean;
|
|
75
83
|
PublicIp: string | undefined;
|
|
@@ -361,17 +369,21 @@ export interface ReplaceTransitGatewayRouteRequest {
|
|
|
361
369
|
export interface ReplaceTransitGatewayRouteResult {
|
|
362
370
|
Route?: TransitGatewayRoute;
|
|
363
371
|
}
|
|
364
|
-
export declare
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
372
|
+
export declare enum ReportInstanceReasonCodes {
|
|
373
|
+
instance_stuck_in_state = "instance-stuck-in-state",
|
|
374
|
+
not_accepting_credentials = "not-accepting-credentials",
|
|
375
|
+
other = "other",
|
|
376
|
+
password_not_available = "password-not-available",
|
|
377
|
+
performance_ebs_volume = "performance-ebs-volume",
|
|
378
|
+
performance_instance_store = "performance-instance-store",
|
|
379
|
+
performance_network = "performance-network",
|
|
380
|
+
performance_other = "performance-other",
|
|
381
|
+
unresponsive = "unresponsive",
|
|
382
|
+
}
|
|
383
|
+
export declare enum ReportStatusType {
|
|
384
|
+
impaired = "impaired",
|
|
385
|
+
ok = "ok",
|
|
386
|
+
}
|
|
375
387
|
export interface ReportInstanceStatusRequest {
|
|
376
388
|
Description?: string;
|
|
377
389
|
DryRun?: boolean;
|
|
@@ -438,7 +450,9 @@ export interface ResetEbsDefaultKmsKeyIdRequest {
|
|
|
438
450
|
export interface ResetEbsDefaultKmsKeyIdResult {
|
|
439
451
|
KmsKeyId?: string;
|
|
440
452
|
}
|
|
441
|
-
export declare
|
|
453
|
+
export declare enum ResetFpgaImageAttributeName {
|
|
454
|
+
loadPermission = "loadPermission",
|
|
455
|
+
}
|
|
442
456
|
export interface ResetFpgaImageAttributeRequest {
|
|
443
457
|
DryRun?: boolean;
|
|
444
458
|
FpgaImageId: string | undefined;
|
|
@@ -447,7 +461,9 @@ export interface ResetFpgaImageAttributeRequest {
|
|
|
447
461
|
export interface ResetFpgaImageAttributeResult {
|
|
448
462
|
Return?: boolean;
|
|
449
463
|
}
|
|
450
|
-
export declare
|
|
464
|
+
export declare enum ResetImageAttributeName {
|
|
465
|
+
launchPermission = "launchPermission",
|
|
466
|
+
}
|
|
451
467
|
export interface ResetImageAttributeRequest {
|
|
452
468
|
Attribute: ResetImageAttributeName | string | undefined;
|
|
453
469
|
ImageId: string | undefined;
|
|
@@ -743,7 +759,10 @@ export interface SearchTransitGatewayMulticastGroupsRequest {
|
|
|
743
759
|
NextToken?: string;
|
|
744
760
|
DryRun?: boolean;
|
|
745
761
|
}
|
|
746
|
-
export declare
|
|
762
|
+
export declare enum MembershipType {
|
|
763
|
+
igmp = "igmp",
|
|
764
|
+
static = "static",
|
|
765
|
+
}
|
|
747
766
|
export interface TransitGatewayMulticastGroup {
|
|
748
767
|
GroupIpAddress?: string;
|
|
749
768
|
TransitGatewayAttachmentId?: string;
|
|
@@ -899,6 +918,15 @@ export interface WithdrawByoipCidrRequest {
|
|
|
899
918
|
export interface WithdrawByoipCidrResult {
|
|
900
919
|
ByoipCidr?: ByoipCidr;
|
|
901
920
|
}
|
|
921
|
+
export declare const MonitorInstancesRequestFilterSensitiveLog: (
|
|
922
|
+
obj: MonitorInstancesRequest
|
|
923
|
+
) => any;
|
|
924
|
+
export declare const InstanceMonitoringFilterSensitiveLog: (
|
|
925
|
+
obj: InstanceMonitoring
|
|
926
|
+
) => any;
|
|
927
|
+
export declare const MonitorInstancesResultFilterSensitiveLog: (
|
|
928
|
+
obj: MonitorInstancesResult
|
|
929
|
+
) => any;
|
|
902
930
|
export declare const MoveAddressToVpcRequestFilterSensitiveLog: (
|
|
903
931
|
obj: MoveAddressToVpcRequest
|
|
904
932
|
) => any;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ec2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ec2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.174.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",
|