@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
@@ -14,7 +14,7 @@ import {
14
14
  AddressFamily,
15
15
  AttachmentStatus,
16
16
  CurrencyCodeValues,
17
- DhcpOptions,
17
+ DhcpConfiguration,
18
18
  HostnameType,
19
19
  InstanceEventWindow,
20
20
  Ipv4PrefixSpecification,
@@ -30,6 +30,12 @@ import {
30
30
  UnsuccessfulItem,
31
31
  WeekDay,
32
32
  } from "./models_0";
33
+ export interface DhcpOptions {
34
+ DhcpConfigurations?: DhcpConfiguration[];
35
+ DhcpOptionsId?: string;
36
+ OwnerId?: string;
37
+ Tags?: Tag[];
38
+ }
33
39
  export interface CreateDhcpOptionsResult {
34
40
  DhcpOptions?: DhcpOptions;
35
41
  }
@@ -184,10 +190,11 @@ export declare enum SpotAllocationStrategy {
184
190
  DIVERSIFIED = "diversified",
185
191
  LOWEST_PRICE = "lowest-price",
186
192
  }
187
- export declare type SpotInstanceInterruptionBehavior =
188
- | "hibernate"
189
- | "stop"
190
- | "terminate";
193
+ export declare enum SpotInstanceInterruptionBehavior {
194
+ hibernate = "hibernate",
195
+ stop = "stop",
196
+ terminate = "terminate",
197
+ }
191
198
  export declare enum FleetReplacementStrategy {
192
199
  LAUNCH = "launch",
193
200
  LAUNCH_BEFORE_TERMINATE = "launch-before-terminate",
@@ -327,7 +334,9 @@ export interface CreateFleetError {
327
334
  ErrorCode?: string;
328
335
  ErrorMessage?: string;
329
336
  }
330
- export declare type PlatformValues = "Windows";
337
+ export declare enum PlatformValues {
338
+ Windows = "Windows",
339
+ }
331
340
  export interface CreateFleetInstance {
332
341
  LaunchTemplateAndOverrides?: LaunchTemplateAndOverridesResponse;
333
342
  Lifecycle?: InstanceLifecycle | string;
@@ -349,17 +358,23 @@ export interface DestinationOptionsRequest {
349
358
  HiveCompatiblePartitions?: boolean;
350
359
  PerHourPartition?: boolean;
351
360
  }
352
- export declare type LogDestinationType =
353
- | "cloud-watch-logs"
354
- | "kinesis-data-firehose"
355
- | "s3";
356
- export declare type FlowLogsResourceType =
357
- | "NetworkInterface"
358
- | "Subnet"
359
- | "TransitGateway"
360
- | "TransitGatewayAttachment"
361
- | "VPC";
362
- export declare type TrafficType = "ACCEPT" | "ALL" | "REJECT";
361
+ export declare enum LogDestinationType {
362
+ cloud_watch_logs = "cloud-watch-logs",
363
+ kinesis_data_firehose = "kinesis-data-firehose",
364
+ s3 = "s3",
365
+ }
366
+ export declare enum FlowLogsResourceType {
367
+ NetworkInterface = "NetworkInterface",
368
+ Subnet = "Subnet",
369
+ TransitGateway = "TransitGateway",
370
+ TransitGatewayAttachment = "TransitGatewayAttachment",
371
+ VPC = "VPC",
372
+ }
373
+ export declare enum TrafficType {
374
+ ACCEPT = "ACCEPT",
375
+ ALL = "ALL",
376
+ REJECT = "REJECT",
377
+ }
363
378
  export interface CreateFlowLogsRequest {
364
379
  DryRun?: boolean;
365
380
  ClientToken?: string;
@@ -398,14 +413,15 @@ export interface CreateFpgaImageResult {
398
413
  FpgaImageId?: string;
399
414
  FpgaImageGlobalId?: string;
400
415
  }
401
- export declare type VolumeType =
402
- | "gp2"
403
- | "gp3"
404
- | "io1"
405
- | "io2"
406
- | "sc1"
407
- | "st1"
408
- | "standard";
416
+ export declare enum VolumeType {
417
+ gp2 = "gp2",
418
+ gp3 = "gp3",
419
+ io1 = "io1",
420
+ io2 = "io2",
421
+ sc1 = "sc1",
422
+ st1 = "st1",
423
+ standard = "standard",
424
+ }
409
425
  export interface EbsBlockDevice {
410
426
  DeleteOnTermination?: boolean;
411
427
  Iops?: number;
@@ -451,15 +467,25 @@ export interface CreateInstanceEventWindowRequest {
451
467
  export interface CreateInstanceEventWindowResult {
452
468
  InstanceEventWindow?: InstanceEventWindow;
453
469
  }
454
- export declare type ContainerFormat = "ova";
455
- export declare type DiskImageFormat = "RAW" | "VHD" | "VMDK";
470
+ export declare enum ContainerFormat {
471
+ ova = "ova",
472
+ }
473
+ export declare enum DiskImageFormat {
474
+ RAW = "RAW",
475
+ VHD = "VHD",
476
+ VMDK = "VMDK",
477
+ }
456
478
  export interface ExportToS3TaskSpecification {
457
479
  ContainerFormat?: ContainerFormat | string;
458
480
  DiskImageFormat?: DiskImageFormat | string;
459
481
  S3Bucket?: string;
460
482
  S3Prefix?: string;
461
483
  }
462
- export declare type ExportEnvironment = "citrix" | "microsoft" | "vmware";
484
+ export declare enum ExportEnvironment {
485
+ citrix = "citrix",
486
+ microsoft = "microsoft",
487
+ vmware = "vmware",
488
+ }
463
489
  export interface CreateInstanceExportTaskRequest {
464
490
  Description?: string;
465
491
  ExportToS3Task: ExportToS3TaskSpecification | undefined;
@@ -477,11 +503,12 @@ export interface InstanceExportDetails {
477
503
  InstanceId?: string;
478
504
  TargetEnvironment?: ExportEnvironment | string;
479
505
  }
480
- export declare type ExportTaskState =
481
- | "active"
482
- | "cancelled"
483
- | "cancelling"
484
- | "completed";
506
+ export declare enum ExportTaskState {
507
+ active = "active",
508
+ cancelled = "cancelled",
509
+ cancelling = "cancelling",
510
+ completed = "completed",
511
+ }
485
512
  export interface ExportTask {
486
513
  Description?: string;
487
514
  ExportTaskId?: string;
@@ -695,7 +722,10 @@ export interface LaunchTemplateBlockDeviceMappingRequest {
695
722
  Ebs?: LaunchTemplateEbsBlockDeviceRequest;
696
723
  NoDevice?: string;
697
724
  }
698
- export declare type CapacityReservationPreference = "none" | "open";
725
+ export declare enum CapacityReservationPreference {
726
+ none = "none",
727
+ open = "open",
728
+ }
699
729
  export interface CapacityReservationTarget {
700
730
  CapacityReservationId?: string;
701
731
  CapacityReservationResourceGroupArn?: string;
@@ -728,13 +758,22 @@ export interface LaunchTemplateIamInstanceProfileSpecificationRequest {
728
758
  Arn?: string;
729
759
  Name?: string;
730
760
  }
731
- export declare type ShutdownBehavior = "stop" | "terminate";
732
- export declare type MarketType = "spot";
733
- export declare type InstanceInterruptionBehavior =
734
- | "hibernate"
735
- | "stop"
736
- | "terminate";
737
- export declare type SpotInstanceType = "one-time" | "persistent";
761
+ export declare enum ShutdownBehavior {
762
+ stop = "stop",
763
+ terminate = "terminate",
764
+ }
765
+ export declare enum MarketType {
766
+ spot = "spot",
767
+ }
768
+ export declare enum InstanceInterruptionBehavior {
769
+ hibernate = "hibernate",
770
+ stop = "stop",
771
+ terminate = "terminate",
772
+ }
773
+ export declare enum SpotInstanceType {
774
+ one_time = "one-time",
775
+ persistent = "persistent",
776
+ }
738
777
  export interface LaunchTemplateSpotMarketOptionsRequest {
739
778
  MaxPrice?: string;
740
779
  SpotInstanceType?: SpotInstanceType | string;
@@ -756,9 +795,10 @@ export declare enum LaunchTemplateAutoRecoveryState {
756
795
  export interface LaunchTemplateInstanceMaintenanceOptionsRequest {
757
796
  AutoRecovery?: LaunchTemplateAutoRecoveryState | string;
758
797
  }
759
- export declare type LaunchTemplateInstanceMetadataEndpointState =
760
- | "disabled"
761
- | "enabled";
798
+ export declare enum LaunchTemplateInstanceMetadataEndpointState {
799
+ disabled = "disabled",
800
+ enabled = "enabled",
801
+ }
762
802
  export declare enum LaunchTemplateInstanceMetadataProtocolIpv6 {
763
803
  disabled = "disabled",
764
804
  enabled = "enabled",
@@ -969,9 +1009,10 @@ export interface LaunchTemplateLicenseConfiguration {
969
1009
  export interface LaunchTemplateInstanceMaintenanceOptions {
970
1010
  AutoRecovery?: LaunchTemplateAutoRecoveryState | string;
971
1011
  }
972
- export declare type LaunchTemplateInstanceMetadataOptionsState =
973
- | "applied"
974
- | "pending";
1012
+ export declare enum LaunchTemplateInstanceMetadataOptionsState {
1013
+ applied = "applied",
1014
+ pending = "pending",
1015
+ }
975
1016
  export interface LaunchTemplateInstanceMetadataOptions {
976
1017
  State?: LaunchTemplateInstanceMetadataOptionsState | string;
977
1018
  HttpTokens?: LaunchTemplateHttpTokensState | string;
@@ -1086,13 +1127,17 @@ export interface CreateLocalGatewayRouteRequest {
1086
1127
  DryRun?: boolean;
1087
1128
  NetworkInterfaceId?: string;
1088
1129
  }
1089
- export declare type LocalGatewayRouteState =
1090
- | "active"
1091
- | "blackhole"
1092
- | "deleted"
1093
- | "deleting"
1094
- | "pending";
1095
- export declare type LocalGatewayRouteType = "propagated" | "static";
1130
+ export declare enum LocalGatewayRouteState {
1131
+ active = "active",
1132
+ blackhole = "blackhole",
1133
+ deleted = "deleted",
1134
+ deleting = "deleting",
1135
+ pending = "pending",
1136
+ }
1137
+ export declare enum LocalGatewayRouteType {
1138
+ propagated = "propagated",
1139
+ static = "static",
1140
+ }
1096
1141
  export interface LocalGatewayRoute {
1097
1142
  DestinationCidrBlock?: string;
1098
1143
  LocalGatewayVirtualInterfaceGroupId?: string;
@@ -1183,19 +1228,20 @@ export interface CreateManagedPrefixListRequest {
1183
1228
  AddressFamily: string | undefined;
1184
1229
  ClientToken?: string;
1185
1230
  }
1186
- export declare type PrefixListState =
1187
- | "create-complete"
1188
- | "create-failed"
1189
- | "create-in-progress"
1190
- | "delete-complete"
1191
- | "delete-failed"
1192
- | "delete-in-progress"
1193
- | "modify-complete"
1194
- | "modify-failed"
1195
- | "modify-in-progress"
1196
- | "restore-complete"
1197
- | "restore-failed"
1198
- | "restore-in-progress";
1231
+ export declare enum PrefixListState {
1232
+ create_complete = "create-complete",
1233
+ create_failed = "create-failed",
1234
+ create_in_progress = "create-in-progress",
1235
+ delete_complete = "delete-complete",
1236
+ delete_failed = "delete-failed",
1237
+ delete_in_progress = "delete-in-progress",
1238
+ modify_complete = "modify-complete",
1239
+ modify_failed = "modify-failed",
1240
+ modify_in_progress = "modify-in-progress",
1241
+ restore_complete = "restore-complete",
1242
+ restore_failed = "restore-failed",
1243
+ restore_in_progress = "restore-in-progress",
1244
+ }
1199
1245
  export interface ManagedPrefixList {
1200
1246
  PrefixListId?: string;
1201
1247
  AddressFamily?: string;
@@ -1275,7 +1321,10 @@ export interface IcmpTypeCode {
1275
1321
  Code?: number;
1276
1322
  Type?: number;
1277
1323
  }
1278
- export declare type RuleAction = "allow" | "deny";
1324
+ export declare enum RuleAction {
1325
+ allow = "allow",
1326
+ deny = "deny",
1327
+ }
1279
1328
  export interface NetworkAclEntry {
1280
1329
  CidrBlock?: string;
1281
1330
  Egress?: boolean;
@@ -1359,7 +1408,11 @@ export interface NetworkInsightsPath {
1359
1408
  export interface CreateNetworkInsightsPathResult {
1360
1409
  NetworkInsightsPath?: NetworkInsightsPath;
1361
1410
  }
1362
- export declare type NetworkInterfaceCreationType = "branch" | "efa" | "trunk";
1411
+ export declare enum NetworkInterfaceCreationType {
1412
+ branch = "branch",
1413
+ efa = "efa",
1414
+ trunk = "trunk",
1415
+ }
1363
1416
  export interface CreateNetworkInterfaceRequest {
1364
1417
  Description?: string;
1365
1418
  DryRun?: boolean;
@@ -1401,24 +1454,25 @@ export interface GroupIdentifier {
1401
1454
  GroupName?: string;
1402
1455
  GroupId?: string;
1403
1456
  }
1404
- export declare type NetworkInterfaceType =
1405
- | "api_gateway_managed"
1406
- | "aws_codestar_connections_managed"
1407
- | "branch"
1408
- | "efa"
1409
- | "gateway_load_balancer"
1410
- | "gateway_load_balancer_endpoint"
1411
- | "global_accelerator_managed"
1412
- | "interface"
1413
- | "iot_rules_managed"
1414
- | "lambda"
1415
- | "load_balancer"
1416
- | "natGateway"
1417
- | "network_load_balancer"
1418
- | "quicksight"
1419
- | "transit_gateway"
1420
- | "trunk"
1421
- | "vpc_endpoint";
1457
+ export declare enum NetworkInterfaceType {
1458
+ api_gateway_managed = "api_gateway_managed",
1459
+ aws_codestar_connections_managed = "aws_codestar_connections_managed",
1460
+ branch = "branch",
1461
+ efa = "efa",
1462
+ gateway_load_balancer = "gateway_load_balancer",
1463
+ gateway_load_balancer_endpoint = "gateway_load_balancer_endpoint",
1464
+ global_accelerator_managed = "global_accelerator_managed",
1465
+ interface = "interface",
1466
+ iot_rules_managed = "iot_rules_managed",
1467
+ lambda = "lambda",
1468
+ load_balancer = "load_balancer",
1469
+ natGateway = "natGateway",
1470
+ network_load_balancer = "network_load_balancer",
1471
+ quicksight = "quicksight",
1472
+ transit_gateway = "transit_gateway",
1473
+ trunk = "trunk",
1474
+ vpc_endpoint = "vpc_endpoint",
1475
+ }
1422
1476
  export interface NetworkInterfaceIpv6Address {
1423
1477
  Ipv6Address?: string;
1424
1478
  }
@@ -1431,12 +1485,13 @@ export interface NetworkInterfacePrivateIpAddress {
1431
1485
  PrivateDnsName?: string;
1432
1486
  PrivateIpAddress?: string;
1433
1487
  }
1434
- export declare type NetworkInterfaceStatus =
1435
- | "associated"
1436
- | "attaching"
1437
- | "available"
1438
- | "detaching"
1439
- | "in-use";
1488
+ export declare enum NetworkInterfaceStatus {
1489
+ associated = "associated",
1490
+ attaching = "attaching",
1491
+ available = "available",
1492
+ detaching = "detaching",
1493
+ in_use = "in-use",
1494
+ }
1440
1495
  export interface NetworkInterface {
1441
1496
  Association?: NetworkInterfaceAssociation;
1442
1497
  Attachment?: NetworkInterfaceAttachment;
@@ -1469,9 +1524,10 @@ export interface CreateNetworkInterfaceResult {
1469
1524
  NetworkInterface?: NetworkInterface;
1470
1525
  ClientToken?: string;
1471
1526
  }
1472
- export declare type InterfacePermissionType =
1473
- | "EIP-ASSOCIATE"
1474
- | "INSTANCE-ATTACH";
1527
+ export declare enum InterfacePermissionType {
1528
+ EIP_ASSOCIATE = "EIP-ASSOCIATE",
1529
+ INSTANCE_ATTACH = "INSTANCE-ATTACH",
1530
+ }
1475
1531
  export interface CreateNetworkInterfacePermissionRequest {
1476
1532
  NetworkInterfaceId: string | undefined;
1477
1533
  AwsAccountId?: string;
@@ -1479,11 +1535,12 @@ export interface CreateNetworkInterfacePermissionRequest {
1479
1535
  Permission: InterfacePermissionType | string | undefined;
1480
1536
  DryRun?: boolean;
1481
1537
  }
1482
- export declare type NetworkInterfacePermissionStateCode =
1483
- | "granted"
1484
- | "pending"
1485
- | "revoked"
1486
- | "revoking";
1538
+ export declare enum NetworkInterfacePermissionStateCode {
1539
+ granted = "granted",
1540
+ pending = "pending",
1541
+ revoked = "revoked",
1542
+ revoking = "revoking",
1543
+ }
1487
1544
  export interface NetworkInterfacePermissionState {
1488
1545
  State?: NetworkInterfacePermissionStateCode | string;
1489
1546
  StatusMessage?: string;
@@ -1503,7 +1560,11 @@ export declare enum SpreadLevel {
1503
1560
  host = "host",
1504
1561
  rack = "rack",
1505
1562
  }
1506
- export declare type PlacementStrategy = "cluster" | "partition" | "spread";
1563
+ export declare enum PlacementStrategy {
1564
+ cluster = "cluster",
1565
+ partition = "partition",
1566
+ spread = "spread",
1567
+ }
1507
1568
  export interface CreatePlacementGroupRequest {
1508
1569
  DryRun?: boolean;
1509
1570
  GroupName?: string;
@@ -1512,11 +1573,12 @@ export interface CreatePlacementGroupRequest {
1512
1573
  TagSpecifications?: TagSpecification[];
1513
1574
  SpreadLevel?: SpreadLevel | string;
1514
1575
  }
1515
- export declare type PlacementGroupState =
1516
- | "available"
1517
- | "deleted"
1518
- | "deleting"
1519
- | "pending";
1576
+ export declare enum PlacementGroupState {
1577
+ available = "available",
1578
+ deleted = "deleted",
1579
+ deleting = "deleting",
1580
+ pending = "pending",
1581
+ }
1520
1582
  export interface PlacementGroup {
1521
1583
  GroupName?: string;
1522
1584
  State?: PlacementGroupState | string;
@@ -1624,11 +1686,15 @@ export interface RouteTableAssociation {
1624
1686
  export interface PropagatingVgw {
1625
1687
  GatewayId?: string;
1626
1688
  }
1627
- export declare type RouteOrigin =
1628
- | "CreateRoute"
1629
- | "CreateRouteTable"
1630
- | "EnableVgwRoutePropagation";
1631
- export declare type RouteState = "active" | "blackhole";
1689
+ export declare enum RouteOrigin {
1690
+ CreateRoute = "CreateRoute",
1691
+ CreateRouteTable = "CreateRouteTable",
1692
+ EnableVgwRoutePropagation = "EnableVgwRoutePropagation",
1693
+ }
1694
+ export declare enum RouteState {
1695
+ active = "active",
1696
+ blackhole = "blackhole",
1697
+ }
1632
1698
  export interface Route {
1633
1699
  DestinationCidrBlock?: string;
1634
1700
  DestinationIpv6CidrBlock?: string;
@@ -1677,12 +1743,13 @@ export interface CreateSnapshotRequest {
1677
1743
  TagSpecifications?: TagSpecification[];
1678
1744
  DryRun?: boolean;
1679
1745
  }
1680
- export declare type SnapshotState =
1681
- | "completed"
1682
- | "error"
1683
- | "pending"
1684
- | "recoverable"
1685
- | "recovering";
1746
+ export declare enum SnapshotState {
1747
+ completed = "completed",
1748
+ error = "error",
1749
+ pending = "pending",
1750
+ recoverable = "recoverable",
1751
+ recovering = "recovering",
1752
+ }
1686
1753
  export declare enum StorageTier {
1687
1754
  archive = "archive",
1688
1755
  standard = "standard",
@@ -1706,7 +1773,9 @@ export interface Snapshot {
1706
1773
  StorageTier?: StorageTier | string;
1707
1774
  RestoreExpiryTime?: Date;
1708
1775
  }
1709
- export declare type CopyTagsFromSource = "volume";
1776
+ export declare enum CopyTagsFromSource {
1777
+ volume = "volume",
1778
+ }
1710
1779
  export interface InstanceSpecification {
1711
1780
  InstanceId?: string;
1712
1781
  ExcludeBootVolume?: boolean;
@@ -1745,7 +1814,10 @@ export interface SpotInstanceStateFault {
1745
1814
  Code?: string;
1746
1815
  Message?: string;
1747
1816
  }
1748
- export declare type DatafeedSubscriptionState = "Active" | "Inactive";
1817
+ export declare enum DatafeedSubscriptionState {
1818
+ Active = "Active",
1819
+ Inactive = "Inactive",
1820
+ }
1749
1821
  export interface SpotDatafeedSubscription {
1750
1822
  Bucket?: string;
1751
1823
  Fault?: SpotInstanceStateFault;
@@ -1822,8 +1894,14 @@ export interface TrafficMirrorPortRange {
1822
1894
  FromPort?: number;
1823
1895
  ToPort?: number;
1824
1896
  }
1825
- export declare type TrafficMirrorRuleAction = "accept" | "reject";
1826
- export declare type TrafficDirection = "egress" | "ingress";
1897
+ export declare enum TrafficMirrorRuleAction {
1898
+ accept = "accept",
1899
+ reject = "reject",
1900
+ }
1901
+ export declare enum TrafficDirection {
1902
+ egress = "egress",
1903
+ ingress = "ingress",
1904
+ }
1827
1905
  export interface TrafficMirrorFilterRule {
1828
1906
  TrafficMirrorFilterRuleId?: string;
1829
1907
  TrafficMirrorFilterId?: string;
@@ -1837,7 +1915,9 @@ export interface TrafficMirrorFilterRule {
1837
1915
  SourceCidrBlock?: string;
1838
1916
  Description?: string;
1839
1917
  }
1840
- export declare type TrafficMirrorNetworkService = "amazon-dns";
1918
+ export declare enum TrafficMirrorNetworkService {
1919
+ amazon_dns = "amazon-dns",
1920
+ }
1841
1921
  export interface TrafficMirrorFilter {
1842
1922
  TrafficMirrorFilterId?: string;
1843
1923
  IngressFilterRules?: TrafficMirrorFilterRule[];
@@ -1868,10 +1948,7 @@ export interface CreateTrafficMirrorFilterRuleRequest {
1868
1948
  DryRun?: boolean;
1869
1949
  ClientToken?: string;
1870
1950
  }
1871
- export interface CreateTrafficMirrorFilterRuleResult {
1872
- TrafficMirrorFilterRule?: TrafficMirrorFilterRule;
1873
- ClientToken?: string;
1874
- }
1951
+ export declare const DhcpOptionsFilterSensitiveLog: (obj: DhcpOptions) => any;
1875
1952
  export declare const CreateDhcpOptionsResultFilterSensitiveLog: (
1876
1953
  obj: CreateDhcpOptionsResult
1877
1954
  ) => any;
@@ -2527,6 +2604,3 @@ export declare const TrafficMirrorPortRangeRequestFilterSensitiveLog: (
2527
2604
  export declare const CreateTrafficMirrorFilterRuleRequestFilterSensitiveLog: (
2528
2605
  obj: CreateTrafficMirrorFilterRuleRequest
2529
2606
  ) => any;
2530
- export declare const CreateTrafficMirrorFilterRuleResultFilterSensitiveLog: (
2531
- obj: CreateTrafficMirrorFilterRuleResult
2532
- ) => any;