@aws-sdk/client-ec2 3.171.0 → 3.172.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.
Files changed (48) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/commands/CreateTrafficMirrorFilterRuleCommand.js +2 -1
  3. package/dist-cjs/commands/DescribeAggregateIdFormatCommand.js +1 -2
  4. package/dist-cjs/commands/DescribeLocalGatewayVirtualInterfacesCommand.js +1 -2
  5. package/dist-cjs/commands/MonitorInstancesCommand.js +2 -1
  6. package/dist-cjs/models/models_0.js +970 -19
  7. package/dist-cjs/models/models_1.js +242 -10
  8. package/dist-cjs/models/models_2.js +144 -10
  9. package/dist-cjs/models/models_3.js +271 -10
  10. package/dist-cjs/models/models_4.js +98 -10
  11. package/dist-cjs/models/models_5.js +54 -10
  12. package/dist-cjs/models/models_6.js +38 -3
  13. package/dist-cjs/protocols/Aws_ec2.js +61 -0
  14. package/dist-es/commands/CreateTrafficMirrorFilterRuleCommand.js +2 -1
  15. package/dist-es/commands/DescribeAggregateIdFormatCommand.js +1 -2
  16. package/dist-es/commands/DescribeLocalGatewayVirtualInterfacesCommand.js +1 -2
  17. package/dist-es/commands/MonitorInstancesCommand.js +2 -1
  18. package/dist-es/models/models_0.js +961 -10
  19. package/dist-es/models/models_1.js +233 -1
  20. package/dist-es/models/models_2.js +135 -1
  21. package/dist-es/models/models_3.js +262 -1
  22. package/dist-es/models/models_4.js +89 -1
  23. package/dist-es/models/models_5.js +45 -1
  24. package/dist-es/models/models_6.js +31 -0
  25. package/dist-es/protocols/Aws_ec2.js +61 -0
  26. package/dist-types/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +2 -1
  27. package/dist-types/commands/DescribeAggregateIdFormatCommand.d.ts +1 -2
  28. package/dist-types/commands/DescribeLocalGatewayVirtualInterfacesCommand.d.ts +1 -2
  29. package/dist-types/commands/MonitorInstancesCommand.d.ts +2 -1
  30. package/dist-types/models/models_0.d.ts +950 -79
  31. package/dist-types/models/models_1.d.ts +222 -51
  32. package/dist-types/models/models_2.d.ts +126 -36
  33. package/dist-types/models/models_3.d.ts +235 -106
  34. package/dist-types/models/models_4.d.ts +145 -30
  35. package/dist-types/models/models_5.d.ts +59 -20
  36. package/dist-types/models/models_6.d.ts +35 -5
  37. package/dist-types/ts3.4/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +2 -4
  38. package/dist-types/ts3.4/commands/DescribeAggregateIdFormatCommand.d.ts +4 -2
  39. package/dist-types/ts3.4/commands/DescribeLocalGatewayVirtualInterfacesCommand.d.ts +4 -2
  40. package/dist-types/ts3.4/commands/MonitorInstancesCommand.d.ts +2 -4
  41. package/dist-types/ts3.4/models/models_0.d.ts +925 -834
  42. package/dist-types/ts3.4/models/models_1.d.ts +204 -130
  43. package/dist-types/ts3.4/models/models_2.d.ts +119 -64
  44. package/dist-types/ts3.4/models/models_3.d.ts +228 -153
  45. package/dist-types/ts3.4/models/models_4.d.ts +86 -57
  46. package/dist-types/ts3.4/models/models_5.d.ts +46 -30
  47. package/dist-types/ts3.4/models/models_6.d.ts +31 -14
  48. package/package.json +1 -1
@@ -112,6 +112,13 @@ import {
112
112
  PermissionGroup,
113
113
  ProductCode,
114
114
  } from "./models_3";
115
+ export interface DescribeLocalGatewayVirtualInterfacesRequest {
116
+ LocalGatewayVirtualInterfaceIds?: string[];
117
+ Filters?: Filter[];
118
+ MaxResults?: number;
119
+ NextToken?: string;
120
+ DryRun?: boolean;
121
+ }
115
122
  export interface LocalGatewayVirtualInterface {
116
123
  LocalGatewayVirtualInterfaceId?: string;
117
124
  LocalGatewayId?: string;
@@ -145,7 +152,10 @@ export interface DescribeMovingAddressesRequest {
145
152
  NextToken?: string;
146
153
  PublicIps?: string[];
147
154
  }
148
- export declare type MoveStatus = "movingToVpc" | "restoringToClassic";
155
+ export declare enum MoveStatus {
156
+ movingToVpc = "movingToVpc",
157
+ restoringToClassic = "restoringToClassic",
158
+ }
149
159
  export interface MovingAddressStatus {
150
160
  MoveStatus?: MoveStatus | string;
151
161
  PublicIp?: string;
@@ -191,7 +201,11 @@ export declare enum FindingsFound {
191
201
  true = "true",
192
202
  unknown = "unknown",
193
203
  }
194
- export declare type AnalysisStatus = "failed" | "running" | "succeeded";
204
+ export declare enum AnalysisStatus {
205
+ failed = "failed",
206
+ running = "running",
207
+ succeeded = "succeeded",
208
+ }
195
209
  export interface NetworkInsightsAccessScopeAnalysis {
196
210
  NetworkInsightsAccessScopeAnalysisId?: string;
197
211
  NetworkInsightsAccessScopeAnalysisArn?: string;
@@ -322,11 +336,12 @@ export interface DescribeNetworkInsightsPathsResult {
322
336
  NetworkInsightsPaths?: NetworkInsightsPath[];
323
337
  NextToken?: string;
324
338
  }
325
- export declare type NetworkInterfaceAttribute =
326
- | "attachment"
327
- | "description"
328
- | "groupSet"
329
- | "sourceDestCheck";
339
+ export declare enum NetworkInterfaceAttribute {
340
+ attachment = "attachment",
341
+ description = "description",
342
+ groupSet = "groupSet",
343
+ sourceDestCheck = "sourceDestCheck",
344
+ }
330
345
  export interface DescribeNetworkInterfaceAttributeRequest {
331
346
  Attribute?: NetworkInterfaceAttribute | string;
332
347
  DryRun?: boolean;
@@ -453,13 +468,14 @@ export declare enum OfferingClassType {
453
468
  CONVERTIBLE = "convertible",
454
469
  STANDARD = "standard",
455
470
  }
456
- export declare type OfferingTypeValues =
457
- | "All Upfront"
458
- | "Heavy Utilization"
459
- | "Light Utilization"
460
- | "Medium Utilization"
461
- | "No Upfront"
462
- | "Partial Upfront";
471
+ export declare enum OfferingTypeValues {
472
+ All_Upfront = "All Upfront",
473
+ Heavy_Utilization = "Heavy Utilization",
474
+ Light_Utilization = "Light Utilization",
475
+ Medium_Utilization = "Medium Utilization",
476
+ No_Upfront = "No Upfront",
477
+ Partial_Upfront = "Partial Upfront",
478
+ }
463
479
  export interface DescribeReservedInstancesRequest {
464
480
  Filters?: Filter[];
465
481
  OfferingClass?: OfferingClassType | string;
@@ -472,7 +488,9 @@ export declare type RIProductDescription =
472
488
  | "Linux/UNIX (Amazon VPC)"
473
489
  | "Windows"
474
490
  | "Windows (Amazon VPC)";
475
- export declare type RecurringChargeFrequency = "Hourly";
491
+ export declare enum RecurringChargeFrequency {
492
+ Hourly = "Hourly",
493
+ }
476
494
  export interface RecurringCharge {
477
495
  Amount?: number;
478
496
  Frequency?: RecurringChargeFrequency | string;
@@ -481,13 +499,14 @@ export declare enum Scope {
481
499
  AVAILABILITY_ZONE = "Availability Zone",
482
500
  REGIONAL = "Region",
483
501
  }
484
- export declare type ReservedInstanceState =
485
- | "active"
486
- | "payment-failed"
487
- | "payment-pending"
488
- | "queued"
489
- | "queued-deleted"
490
- | "retired";
502
+ export declare enum ReservedInstanceState {
503
+ active = "active",
504
+ payment_failed = "payment-failed",
505
+ payment_pending = "payment-pending",
506
+ queued = "queued",
507
+ queued_deleted = "queued-deleted",
508
+ retired = "retired",
509
+ }
491
510
  export interface ReservedInstances {
492
511
  AvailabilityZone?: string;
493
512
  Duration?: number;
@@ -731,9 +750,10 @@ export interface DescribeSecurityGroupsResult {
731
750
  SecurityGroups?: SecurityGroup[];
732
751
  NextToken?: string;
733
752
  }
734
- export declare type SnapshotAttributeName =
735
- | "createVolumePermission"
736
- | "productCodes";
753
+ export declare enum SnapshotAttributeName {
754
+ createVolumePermission = "createVolumePermission",
755
+ productCodes = "productCodes",
756
+ }
737
757
  export interface DescribeSnapshotAttributeRequest {
738
758
  Attribute: SnapshotAttributeName | string | undefined;
739
759
  SnapshotId: string | undefined;
@@ -1014,12 +1034,13 @@ export interface LaunchSpecification {
1014
1034
  SubnetId?: string;
1015
1035
  Monitoring?: RunInstancesMonitoringEnabled;
1016
1036
  }
1017
- export declare type SpotInstanceState =
1018
- | "active"
1019
- | "cancelled"
1020
- | "closed"
1021
- | "failed"
1022
- | "open";
1037
+ export declare enum SpotInstanceState {
1038
+ active = "active",
1039
+ cancelled = "cancelled",
1040
+ closed = "closed",
1041
+ failed = "failed",
1042
+ open = "open",
1043
+ }
1023
1044
  export interface SpotInstanceStatus {
1024
1045
  Code?: string;
1025
1046
  Message?: string;
@@ -1315,7 +1336,10 @@ export interface DescribeTrunkInterfaceAssociationsResult {
1315
1336
  InterfaceAssociations?: TrunkInterfaceAssociation[];
1316
1337
  NextToken?: string;
1317
1338
  }
1318
- export declare type VolumeAttributeName = "autoEnableIO" | "productCodes";
1339
+ export declare enum VolumeAttributeName {
1340
+ autoEnableIO = "autoEnableIO",
1341
+ productCodes = "productCodes",
1342
+ }
1319
1343
  export interface DescribeVolumeAttributeRequest {
1320
1344
  Attribute: VolumeAttributeName | string | undefined;
1321
1345
  VolumeId: string | undefined;
@@ -1344,11 +1368,12 @@ export interface DescribeVolumesModificationsRequest {
1344
1368
  NextToken?: string;
1345
1369
  MaxResults?: number;
1346
1370
  }
1347
- export declare type VolumeModificationState =
1348
- | "completed"
1349
- | "failed"
1350
- | "modifying"
1351
- | "optimizing";
1371
+ export declare enum VolumeModificationState {
1372
+ completed = "completed",
1373
+ failed = "failed",
1374
+ modifying = "modifying",
1375
+ optimizing = "optimizing",
1376
+ }
1352
1377
  export interface VolumeModification {
1353
1378
  VolumeId?: string;
1354
1379
  ModificationState?: VolumeModificationState | string;
@@ -1396,15 +1421,19 @@ export interface VolumeStatusEvent {
1396
1421
  NotBefore?: Date;
1397
1422
  InstanceId?: string;
1398
1423
  }
1399
- export declare type VolumeStatusName = "io-enabled" | "io-performance";
1424
+ export declare enum VolumeStatusName {
1425
+ io_enabled = "io-enabled",
1426
+ io_performance = "io-performance",
1427
+ }
1400
1428
  export interface VolumeStatusDetails {
1401
1429
  Name?: VolumeStatusName | string;
1402
1430
  Status?: string;
1403
1431
  }
1404
- export declare type VolumeStatusInfoStatus =
1405
- | "impaired"
1406
- | "insufficient-data"
1407
- | "ok";
1432
+ export declare enum VolumeStatusInfoStatus {
1433
+ impaired = "impaired",
1434
+ insufficient_data = "insufficient-data",
1435
+ ok = "ok",
1436
+ }
1408
1437
  export interface VolumeStatusInfo {
1409
1438
  Details?: VolumeStatusDetails[];
1410
1439
  Status?: VolumeStatusInfoStatus | string;
@@ -1422,9 +1451,10 @@ export interface DescribeVolumeStatusResult {
1422
1451
  NextToken?: string;
1423
1452
  VolumeStatuses?: VolumeStatusItem[];
1424
1453
  }
1425
- export declare type VpcAttributeName =
1426
- | "enableDnsHostnames"
1427
- | "enableDnsSupport";
1454
+ export declare enum VpcAttributeName {
1455
+ enableDnsHostnames = "enableDnsHostnames",
1456
+ enableDnsSupport = "enableDnsSupport",
1457
+ }
1428
1458
  export interface DescribeVpcAttributeRequest {
1429
1459
  Attribute: VpcAttributeName | string | undefined;
1430
1460
  VpcId: string | undefined;
@@ -1488,6 +1518,8 @@ export interface VpcEndpointConnection {
1488
1518
  NetworkLoadBalancerArns?: string[];
1489
1519
  GatewayLoadBalancerArns?: string[];
1490
1520
  IpAddressType?: IpAddressType | string;
1521
+ VpcEndpointConnectionId?: string;
1522
+ Tags?: Tag[];
1491
1523
  }
1492
1524
  export interface DescribeVpcEndpointConnectionsResult {
1493
1525
  VpcEndpointConnections?: VpcEndpointConnection[];
@@ -1708,11 +1740,12 @@ export interface DisableTransitGatewayRouteTablePropagationRequest {
1708
1740
  DryRun?: boolean;
1709
1741
  TransitGatewayRouteTableAnnouncementId?: string;
1710
1742
  }
1711
- export declare type TransitGatewayPropagationState =
1712
- | "disabled"
1713
- | "disabling"
1714
- | "enabled"
1715
- | "enabling";
1743
+ export declare enum TransitGatewayPropagationState {
1744
+ disabled = "disabled",
1745
+ disabling = "disabling",
1746
+ enabled = "enabled",
1747
+ enabling = "enabling",
1748
+ }
1716
1749
  export interface TransitGatewayPropagation {
1717
1750
  TransitGatewayAttachmentId?: string;
1718
1751
  ResourceId?: string;
@@ -1895,10 +1928,9 @@ export interface EnableFastSnapshotRestoreStateErrorItem {
1895
1928
  AvailabilityZone?: string;
1896
1929
  Error?: EnableFastSnapshotRestoreStateError;
1897
1930
  }
1898
- export interface EnableFastSnapshotRestoreErrorItem {
1899
- SnapshotId?: string;
1900
- FastSnapshotRestoreStateErrors?: EnableFastSnapshotRestoreStateErrorItem[];
1901
- }
1931
+ export declare const DescribeLocalGatewayVirtualInterfacesRequestFilterSensitiveLog: (
1932
+ obj: DescribeLocalGatewayVirtualInterfacesRequest
1933
+ ) => any;
1902
1934
  export declare const LocalGatewayVirtualInterfaceFilterSensitiveLog: (
1903
1935
  obj: LocalGatewayVirtualInterface
1904
1936
  ) => any;
@@ -2717,6 +2749,3 @@ export declare const EnableFastSnapshotRestoreStateErrorFilterSensitiveLog: (
2717
2749
  export declare const EnableFastSnapshotRestoreStateErrorItemFilterSensitiveLog: (
2718
2750
  obj: EnableFastSnapshotRestoreStateErrorItem
2719
2751
  ) => any;
2720
- export declare const EnableFastSnapshotRestoreErrorItemFilterSensitiveLog: (
2721
- obj: EnableFastSnapshotRestoreErrorItem
2722
- ) => any;
@@ -1,6 +1,7 @@
1
1
  import {
2
2
  _InstanceType,
3
3
  AccessScopeAnalysisFinding,
4
+ AddedPrincipal,
4
5
  AddIpamOperatingRegion,
5
6
  AddPrefixListEntry,
6
7
  AddressAttribute,
@@ -115,7 +116,7 @@ import {
115
116
  import {
116
117
  AnalysisStatus,
117
118
  CreateVolumePermission,
118
- EnableFastSnapshotRestoreErrorItem,
119
+ EnableFastSnapshotRestoreStateErrorItem,
119
120
  EnableFastSnapshotRestoreSuccessItem,
120
121
  ExcessCapacityTerminationPolicy,
121
122
  LaunchTemplateConfig,
@@ -125,6 +126,10 @@ import {
125
126
  TransitGatewayPropagationState,
126
127
  VolumeModification,
127
128
  } from "./models_4";
129
+ export interface EnableFastSnapshotRestoreErrorItem {
130
+ SnapshotId?: string;
131
+ FastSnapshotRestoreStateErrors?: EnableFastSnapshotRestoreStateErrorItem[];
132
+ }
128
133
  export interface EnableFastSnapshotRestoresResult {
129
134
  Successful?: EnableFastSnapshotRestoreSuccessItem[];
130
135
  Unsuccessful?: EnableFastSnapshotRestoreErrorItem[];
@@ -185,9 +190,10 @@ export interface ExportClientVpnClientCertificateRevocationListRequest {
185
190
  ClientVpnEndpointId: string | undefined;
186
191
  DryRun?: boolean;
187
192
  }
188
- export declare type ClientCertificateRevocationListStatusCode =
189
- | "active"
190
- | "pending";
193
+ export declare enum ClientCertificateRevocationListStatusCode {
194
+ active = "active",
195
+ pending = "pending",
196
+ }
191
197
  export interface ClientCertificateRevocationListStatus {
192
198
  Code?: ClientCertificateRevocationListStatusCode | string;
193
199
  Message?: string;
@@ -321,11 +327,12 @@ export interface GetConsoleScreenshotResult {
321
327
  ImageData?: string;
322
328
  InstanceId?: string;
323
329
  }
324
- export declare type UnlimitedSupportedInstanceFamily =
325
- | "t2"
326
- | "t3"
327
- | "t3a"
328
- | "t4g";
330
+ export declare enum UnlimitedSupportedInstanceFamily {
331
+ t2 = "t2",
332
+ t3 = "t3",
333
+ t3a = "t3a",
334
+ t4g = "t4g",
335
+ }
329
336
  export interface GetDefaultCreditSpecificationRequest {
330
337
  DryRun?: boolean;
331
338
  InstanceFamily: UnlimitedSupportedInstanceFamily | string | undefined;
@@ -1015,9 +1022,10 @@ export interface ModifyAddressAttributeRequest {
1015
1022
  export interface ModifyAddressAttributeResult {
1016
1023
  Address?: AddressAttribute;
1017
1024
  }
1018
- export declare type ModifyAvailabilityZoneOptInStatus =
1019
- | "not-opted-in"
1020
- | "opted-in";
1025
+ export declare enum ModifyAvailabilityZoneOptInStatus {
1026
+ not_opted_in = "not-opted-in",
1027
+ opted_in = "opted-in",
1028
+ }
1021
1029
  export interface ModifyAvailabilityZoneGroupRequest {
1022
1030
  GroupName: string | undefined;
1023
1031
  OptInStatus: ModifyAvailabilityZoneOptInStatus | string | undefined;
@@ -1107,7 +1115,10 @@ export interface LoadPermissionModifications {
1107
1115
  Add?: LoadPermissionRequest[];
1108
1116
  Remove?: LoadPermissionRequest[];
1109
1117
  }
1110
- export declare type OperationType = "add" | "remove";
1118
+ export declare enum OperationType {
1119
+ add = "add",
1120
+ remove = "remove",
1121
+ }
1111
1122
  export interface ModifyFpgaImageAttributeRequest {
1112
1123
  DryRun?: boolean;
1113
1124
  FpgaImageId: string | undefined;
@@ -1280,7 +1291,10 @@ export interface ModifyInstanceMetadataOptionsResult {
1280
1291
  InstanceId?: string;
1281
1292
  InstanceMetadataOptions?: InstanceMetadataOptionsResponse;
1282
1293
  }
1283
- export declare type HostTenancy = "dedicated" | "host";
1294
+ export declare enum HostTenancy {
1295
+ dedicated = "dedicated",
1296
+ host = "host",
1297
+ }
1284
1298
  export interface ModifyInstancePlacementRequest {
1285
1299
  Affinity?: Affinity | string;
1286
1300
  GroupName?: string;
@@ -1486,11 +1500,12 @@ export interface ModifyTrafficMirrorFilterNetworkServicesRequest {
1486
1500
  export interface ModifyTrafficMirrorFilterNetworkServicesResult {
1487
1501
  TrafficMirrorFilter?: TrafficMirrorFilter;
1488
1502
  }
1489
- export declare type TrafficMirrorFilterRuleField =
1490
- | "description"
1491
- | "destination-port-range"
1492
- | "protocol"
1493
- | "source-port-range";
1503
+ export declare enum TrafficMirrorFilterRuleField {
1504
+ description = "description",
1505
+ destination_port_range = "destination-port-range",
1506
+ protocol = "protocol",
1507
+ source_port_range = "source-port-range",
1508
+ }
1494
1509
  export interface ModifyTrafficMirrorFilterRuleRequest {
1495
1510
  TrafficMirrorFilterRuleId: string | undefined;
1496
1511
  TrafficDirection?: TrafficDirection | string;
@@ -1508,10 +1523,11 @@ export interface ModifyTrafficMirrorFilterRuleRequest {
1508
1523
  export interface ModifyTrafficMirrorFilterRuleResult {
1509
1524
  TrafficMirrorFilterRule?: TrafficMirrorFilterRule;
1510
1525
  }
1511
- export declare type TrafficMirrorSessionField =
1512
- | "description"
1513
- | "packet-length"
1514
- | "virtual-network-id";
1526
+ export declare enum TrafficMirrorSessionField {
1527
+ description = "description",
1528
+ packet_length = "packet-length",
1529
+ virtual_network_id = "virtual-network-id",
1530
+ }
1515
1531
  export interface ModifyTrafficMirrorSessionRequest {
1516
1532
  TrafficMirrorSessionId: string | undefined;
1517
1533
  TrafficMirrorTargetId?: string;
@@ -1652,6 +1668,7 @@ export interface ModifyVpcEndpointServicePermissionsRequest {
1652
1668
  RemoveAllowedPrincipals?: string[];
1653
1669
  }
1654
1670
  export interface ModifyVpcEndpointServicePermissionsResult {
1671
+ AddedPrincipals?: AddedPrincipal[];
1655
1672
  ReturnValue?: boolean;
1656
1673
  }
1657
1674
  export interface PeeringConnectionOptionsRequest {
@@ -1674,7 +1691,9 @@ export interface ModifyVpcPeeringConnectionOptionsResult {
1674
1691
  AccepterPeeringConnectionOptions?: PeeringConnectionOptions;
1675
1692
  RequesterPeeringConnectionOptions?: PeeringConnectionOptions;
1676
1693
  }
1677
- export declare type VpcTenancy = "default";
1694
+ export declare enum VpcTenancy {
1695
+ default = "default",
1696
+ }
1678
1697
  export interface ModifyVpcTenancyRequest {
1679
1698
  VpcId: string | undefined;
1680
1699
  InstanceTenancy: VpcTenancy | string | undefined;
@@ -1750,9 +1769,9 @@ export interface InstanceMonitoring {
1750
1769
  InstanceId?: string;
1751
1770
  Monitoring?: Monitoring;
1752
1771
  }
1753
- export interface MonitorInstancesResult {
1754
- InstanceMonitorings?: InstanceMonitoring[];
1755
- }
1772
+ export declare const EnableFastSnapshotRestoreErrorItemFilterSensitiveLog: (
1773
+ obj: EnableFastSnapshotRestoreErrorItem
1774
+ ) => any;
1756
1775
  export declare const EnableFastSnapshotRestoresResultFilterSensitiveLog: (
1757
1776
  obj: EnableFastSnapshotRestoresResult
1758
1777
  ) => any;
@@ -2590,6 +2609,3 @@ export declare const MonitorInstancesRequestFilterSensitiveLog: (
2590
2609
  export declare const InstanceMonitoringFilterSensitiveLog: (
2591
2610
  obj: InstanceMonitoring
2592
2611
  ) => any;
2593
- export declare const MonitorInstancesResultFilterSensitiveLog: (
2594
- obj: MonitorInstancesResult
2595
- ) => any;
@@ -70,6 +70,9 @@ import {
70
70
  InstanceMonitoring,
71
71
  Purchase,
72
72
  } from "./models_5";
73
+ export interface MonitorInstancesResult {
74
+ InstanceMonitorings?: InstanceMonitoring[];
75
+ }
73
76
  export interface MoveAddressToVpcRequest {
74
77
  DryRun?: boolean;
75
78
  PublicIp: string | undefined;
@@ -361,17 +364,21 @@ export interface ReplaceTransitGatewayRouteRequest {
361
364
  export interface ReplaceTransitGatewayRouteResult {
362
365
  Route?: TransitGatewayRoute;
363
366
  }
364
- export declare type ReportInstanceReasonCodes =
365
- | "instance-stuck-in-state"
366
- | "not-accepting-credentials"
367
- | "other"
368
- | "password-not-available"
369
- | "performance-ebs-volume"
370
- | "performance-instance-store"
371
- | "performance-network"
372
- | "performance-other"
373
- | "unresponsive";
374
- export declare type ReportStatusType = "impaired" | "ok";
367
+ export declare enum ReportInstanceReasonCodes {
368
+ instance_stuck_in_state = "instance-stuck-in-state",
369
+ not_accepting_credentials = "not-accepting-credentials",
370
+ other = "other",
371
+ password_not_available = "password-not-available",
372
+ performance_ebs_volume = "performance-ebs-volume",
373
+ performance_instance_store = "performance-instance-store",
374
+ performance_network = "performance-network",
375
+ performance_other = "performance-other",
376
+ unresponsive = "unresponsive",
377
+ }
378
+ export declare enum ReportStatusType {
379
+ impaired = "impaired",
380
+ ok = "ok",
381
+ }
375
382
  export interface ReportInstanceStatusRequest {
376
383
  Description?: string;
377
384
  DryRun?: boolean;
@@ -438,7 +445,9 @@ export interface ResetEbsDefaultKmsKeyIdRequest {
438
445
  export interface ResetEbsDefaultKmsKeyIdResult {
439
446
  KmsKeyId?: string;
440
447
  }
441
- export declare type ResetFpgaImageAttributeName = "loadPermission";
448
+ export declare enum ResetFpgaImageAttributeName {
449
+ loadPermission = "loadPermission",
450
+ }
442
451
  export interface ResetFpgaImageAttributeRequest {
443
452
  DryRun?: boolean;
444
453
  FpgaImageId: string | undefined;
@@ -447,7 +456,9 @@ export interface ResetFpgaImageAttributeRequest {
447
456
  export interface ResetFpgaImageAttributeResult {
448
457
  Return?: boolean;
449
458
  }
450
- export declare type ResetImageAttributeName = "launchPermission";
459
+ export declare enum ResetImageAttributeName {
460
+ launchPermission = "launchPermission",
461
+ }
451
462
  export interface ResetImageAttributeRequest {
452
463
  Attribute: ResetImageAttributeName | string | undefined;
453
464
  ImageId: string | undefined;
@@ -743,7 +754,10 @@ export interface SearchTransitGatewayMulticastGroupsRequest {
743
754
  NextToken?: string;
744
755
  DryRun?: boolean;
745
756
  }
746
- export declare type MembershipType = "igmp" | "static";
757
+ export declare enum MembershipType {
758
+ igmp = "igmp",
759
+ static = "static",
760
+ }
747
761
  export interface TransitGatewayMulticastGroup {
748
762
  GroupIpAddress?: string;
749
763
  TransitGatewayAttachmentId?: string;
@@ -899,6 +913,9 @@ export interface WithdrawByoipCidrRequest {
899
913
  export interface WithdrawByoipCidrResult {
900
914
  ByoipCidr?: ByoipCidr;
901
915
  }
916
+ export declare const MonitorInstancesResultFilterSensitiveLog: (
917
+ obj: MonitorInstancesResult
918
+ ) => any;
902
919
  export declare const MoveAddressToVpcRequestFilterSensitiveLog: (
903
920
  obj: MoveAddressToVpcRequest
904
921
  ) => 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.171.0",
4
+ "version": "3.172.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",