@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
@@ -1,4 +1,25 @@
1
- import { _InstanceType, AcceleratorCount, AcceleratorCountRequest, AcceleratorManufacturer, AcceleratorName, AcceleratorTotalMemoryMiB, AcceleratorTotalMemoryMiBRequest, AcceleratorType, AccessScopePath, AccessScopePathRequest, AddIpamOperatingRegion, AddPrefixListEntry, AddressFamily, AttachmentStatus, CurrencyCodeValues, DhcpOptions, HostnameType, InstanceEventWindow, Ipv4PrefixSpecification, PortRange, Protocol, ReservedInstancesListing, ResourceType, RouteTableAssociationState, Subnet, Tag, TagSpecification, Tenancy, UnsuccessfulItem, WeekDay } from "./models_0";
1
+ import { _InstanceType, AcceleratorCount, AcceleratorCountRequest, AcceleratorManufacturer, AcceleratorName, AcceleratorTotalMemoryMiB, AcceleratorTotalMemoryMiBRequest, AcceleratorType, AccessScopePath, AccessScopePathRequest, AddIpamOperatingRegion, AddPrefixListEntry, AddressFamily, AttachmentStatus, CurrencyCodeValues, DhcpConfiguration, HostnameType, InstanceEventWindow, Ipv4PrefixSpecification, PortRange, Protocol, ReservedInstancesListing, ResourceType, RouteTableAssociationState, Subnet, Tag, TagSpecification, Tenancy, UnsuccessfulItem, WeekDay } from "./models_0";
2
+ /**
3
+ * <p>Describes a set of DHCP options.</p>
4
+ */
5
+ export interface DhcpOptions {
6
+ /**
7
+ * <p>One or more DHCP options in the set.</p>
8
+ */
9
+ DhcpConfigurations?: DhcpConfiguration[];
10
+ /**
11
+ * <p>The ID of the set of DHCP options.</p>
12
+ */
13
+ DhcpOptionsId?: string;
14
+ /**
15
+ * <p>The ID of the Amazon Web Services account that owns the DHCP options set.</p>
16
+ */
17
+ OwnerId?: string;
18
+ /**
19
+ * <p>Any tags assigned to the DHCP options set.</p>
20
+ */
21
+ Tags?: Tag[];
22
+ }
2
23
  export interface CreateDhcpOptionsResult {
3
24
  /**
4
25
  * <p>A set of DHCP options.</p>
@@ -718,7 +739,11 @@ export declare enum SpotAllocationStrategy {
718
739
  DIVERSIFIED = "diversified",
719
740
  LOWEST_PRICE = "lowest-price"
720
741
  }
721
- export declare type SpotInstanceInterruptionBehavior = "hibernate" | "stop" | "terminate";
742
+ export declare enum SpotInstanceInterruptionBehavior {
743
+ hibernate = "hibernate",
744
+ stop = "stop",
745
+ terminate = "terminate"
746
+ }
722
747
  export declare enum FleetReplacementStrategy {
723
748
  LAUNCH = "launch",
724
749
  LAUNCH_BEFORE_TERMINATE = "launch-before-terminate"
@@ -1510,7 +1535,9 @@ export interface CreateFleetError {
1510
1535
  */
1511
1536
  ErrorMessage?: string;
1512
1537
  }
1513
- export declare type PlatformValues = "Windows";
1538
+ export declare enum PlatformValues {
1539
+ Windows = "Windows"
1540
+ }
1514
1541
  /**
1515
1542
  * <p>Describes the instances that were launched by the fleet.</p>
1516
1543
  */
@@ -1577,9 +1604,23 @@ export interface DestinationOptionsRequest {
1577
1604
  */
1578
1605
  PerHourPartition?: boolean;
1579
1606
  }
1580
- export declare type LogDestinationType = "cloud-watch-logs" | "kinesis-data-firehose" | "s3";
1581
- export declare type FlowLogsResourceType = "NetworkInterface" | "Subnet" | "TransitGateway" | "TransitGatewayAttachment" | "VPC";
1582
- export declare type TrafficType = "ACCEPT" | "ALL" | "REJECT";
1607
+ export declare enum LogDestinationType {
1608
+ cloud_watch_logs = "cloud-watch-logs",
1609
+ kinesis_data_firehose = "kinesis-data-firehose",
1610
+ s3 = "s3"
1611
+ }
1612
+ export declare enum FlowLogsResourceType {
1613
+ NetworkInterface = "NetworkInterface",
1614
+ Subnet = "Subnet",
1615
+ TransitGateway = "TransitGateway",
1616
+ TransitGatewayAttachment = "TransitGatewayAttachment",
1617
+ VPC = "VPC"
1618
+ }
1619
+ export declare enum TrafficType {
1620
+ ACCEPT = "ACCEPT",
1621
+ ALL = "ALL",
1622
+ REJECT = "REJECT"
1623
+ }
1583
1624
  export interface CreateFlowLogsRequest {
1584
1625
  /**
1585
1626
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
@@ -1751,7 +1792,15 @@ export interface CreateFpgaImageResult {
1751
1792
  */
1752
1793
  FpgaImageGlobalId?: string;
1753
1794
  }
1754
- export declare type VolumeType = "gp2" | "gp3" | "io1" | "io2" | "sc1" | "st1" | "standard";
1795
+ export declare enum VolumeType {
1796
+ gp2 = "gp2",
1797
+ gp3 = "gp3",
1798
+ io1 = "io1",
1799
+ io2 = "io2",
1800
+ sc1 = "sc1",
1801
+ st1 = "st1",
1802
+ standard = "standard"
1803
+ }
1755
1804
  /**
1756
1805
  * <p>Describes a block device for an EBS volume.</p>
1757
1806
  */
@@ -2039,8 +2088,14 @@ export interface CreateInstanceEventWindowResult {
2039
2088
  */
2040
2089
  InstanceEventWindow?: InstanceEventWindow;
2041
2090
  }
2042
- export declare type ContainerFormat = "ova";
2043
- export declare type DiskImageFormat = "RAW" | "VHD" | "VMDK";
2091
+ export declare enum ContainerFormat {
2092
+ ova = "ova"
2093
+ }
2094
+ export declare enum DiskImageFormat {
2095
+ RAW = "RAW",
2096
+ VHD = "VHD",
2097
+ VMDK = "VMDK"
2098
+ }
2044
2099
  /**
2045
2100
  * <p>Describes an export instance task.</p>
2046
2101
  */
@@ -2066,7 +2121,11 @@ export interface ExportToS3TaskSpecification {
2066
2121
  */
2067
2122
  S3Prefix?: string;
2068
2123
  }
2069
- export declare type ExportEnvironment = "citrix" | "microsoft" | "vmware";
2124
+ export declare enum ExportEnvironment {
2125
+ citrix = "citrix",
2126
+ microsoft = "microsoft",
2127
+ vmware = "vmware"
2128
+ }
2070
2129
  export interface CreateInstanceExportTaskRequest {
2071
2130
  /**
2072
2131
  * <p>A description for the conversion task or the resource being exported. The maximum length is 255 characters.</p>
@@ -2126,7 +2185,12 @@ export interface InstanceExportDetails {
2126
2185
  */
2127
2186
  TargetEnvironment?: ExportEnvironment | string;
2128
2187
  }
2129
- export declare type ExportTaskState = "active" | "cancelled" | "cancelling" | "completed";
2188
+ export declare enum ExportTaskState {
2189
+ active = "active",
2190
+ cancelled = "cancelled",
2191
+ cancelling = "cancelling",
2192
+ completed = "completed"
2193
+ }
2130
2194
  /**
2131
2195
  * <p>Describes an export instance task.</p>
2132
2196
  */
@@ -2826,7 +2890,10 @@ export interface LaunchTemplateBlockDeviceMappingRequest {
2826
2890
  */
2827
2891
  NoDevice?: string;
2828
2892
  }
2829
- export declare type CapacityReservationPreference = "none" | "open";
2893
+ export declare enum CapacityReservationPreference {
2894
+ none = "none",
2895
+ open = "open"
2896
+ }
2830
2897
  /**
2831
2898
  * <p>Describes a target Capacity Reservation or Capacity Reservation group.</p>
2832
2899
  */
@@ -2964,10 +3031,22 @@ export interface LaunchTemplateIamInstanceProfileSpecificationRequest {
2964
3031
  */
2965
3032
  Name?: string;
2966
3033
  }
2967
- export declare type ShutdownBehavior = "stop" | "terminate";
2968
- export declare type MarketType = "spot";
2969
- export declare type InstanceInterruptionBehavior = "hibernate" | "stop" | "terminate";
2970
- export declare type SpotInstanceType = "one-time" | "persistent";
3034
+ export declare enum ShutdownBehavior {
3035
+ stop = "stop",
3036
+ terminate = "terminate"
3037
+ }
3038
+ export declare enum MarketType {
3039
+ spot = "spot"
3040
+ }
3041
+ export declare enum InstanceInterruptionBehavior {
3042
+ hibernate = "hibernate",
3043
+ stop = "stop",
3044
+ terminate = "terminate"
3045
+ }
3046
+ export declare enum SpotInstanceType {
3047
+ one_time = "one-time",
3048
+ persistent = "persistent"
3049
+ }
2971
3050
  /**
2972
3051
  * <p>The options for Spot Instances.</p>
2973
3052
  */
@@ -3047,7 +3126,10 @@ export interface LaunchTemplateInstanceMaintenanceOptionsRequest {
3047
3126
  */
3048
3127
  AutoRecovery?: LaunchTemplateAutoRecoveryState | string;
3049
3128
  }
3050
- export declare type LaunchTemplateInstanceMetadataEndpointState = "disabled" | "enabled";
3129
+ export declare enum LaunchTemplateInstanceMetadataEndpointState {
3130
+ disabled = "disabled",
3131
+ enabled = "enabled"
3132
+ }
3051
3133
  export declare enum LaunchTemplateInstanceMetadataProtocolIpv6 {
3052
3134
  disabled = "disabled",
3053
3135
  enabled = "enabled"
@@ -3956,7 +4038,10 @@ export interface LaunchTemplateInstanceMaintenanceOptions {
3956
4038
  */
3957
4039
  AutoRecovery?: LaunchTemplateAutoRecoveryState | string;
3958
4040
  }
3959
- export declare type LaunchTemplateInstanceMetadataOptionsState = "applied" | "pending";
4041
+ export declare enum LaunchTemplateInstanceMetadataOptionsState {
4042
+ applied = "applied",
4043
+ pending = "pending"
4044
+ }
3960
4045
  /**
3961
4046
  * <p>The metadata options for the instance. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html">Instance metadata and user data</a> in the
3962
4047
  * <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
@@ -4431,8 +4516,17 @@ export interface CreateLocalGatewayRouteRequest {
4431
4516
  */
4432
4517
  NetworkInterfaceId?: string;
4433
4518
  }
4434
- export declare type LocalGatewayRouteState = "active" | "blackhole" | "deleted" | "deleting" | "pending";
4435
- export declare type LocalGatewayRouteType = "propagated" | "static";
4519
+ export declare enum LocalGatewayRouteState {
4520
+ active = "active",
4521
+ blackhole = "blackhole",
4522
+ deleted = "deleted",
4523
+ deleting = "deleting",
4524
+ pending = "pending"
4525
+ }
4526
+ export declare enum LocalGatewayRouteType {
4527
+ propagated = "propagated",
4528
+ static = "static"
4529
+ }
4436
4530
  /**
4437
4531
  * <p>Describes a route for a local gateway route table.</p>
4438
4532
  */
@@ -4811,7 +4905,20 @@ export interface CreateManagedPrefixListRequest {
4811
4905
  */
4812
4906
  ClientToken?: string;
4813
4907
  }
4814
- export declare type PrefixListState = "create-complete" | "create-failed" | "create-in-progress" | "delete-complete" | "delete-failed" | "delete-in-progress" | "modify-complete" | "modify-failed" | "modify-in-progress" | "restore-complete" | "restore-failed" | "restore-in-progress";
4908
+ export declare enum PrefixListState {
4909
+ create_complete = "create-complete",
4910
+ create_failed = "create-failed",
4911
+ create_in_progress = "create-in-progress",
4912
+ delete_complete = "delete-complete",
4913
+ delete_failed = "delete-failed",
4914
+ delete_in_progress = "delete-in-progress",
4915
+ modify_complete = "modify-complete",
4916
+ modify_failed = "modify-failed",
4917
+ modify_in_progress = "modify-in-progress",
4918
+ restore_complete = "restore-complete",
4919
+ restore_failed = "restore-failed",
4920
+ restore_in_progress = "restore-in-progress"
4921
+ }
4815
4922
  /**
4816
4923
  * <p>Describes a managed prefix list.</p>
4817
4924
  */
@@ -5114,7 +5221,10 @@ export interface IcmpTypeCode {
5114
5221
  */
5115
5222
  Type?: number;
5116
5223
  }
5117
- export declare type RuleAction = "allow" | "deny";
5224
+ export declare enum RuleAction {
5225
+ allow = "allow",
5226
+ deny = "deny"
5227
+ }
5118
5228
  /**
5119
5229
  * <p>Describes an entry in a network ACL.</p>
5120
5230
  */
@@ -5414,7 +5524,11 @@ export interface CreateNetworkInsightsPathResult {
5414
5524
  */
5415
5525
  NetworkInsightsPath?: NetworkInsightsPath;
5416
5526
  }
5417
- export declare type NetworkInterfaceCreationType = "branch" | "efa" | "trunk";
5527
+ export declare enum NetworkInterfaceCreationType {
5528
+ branch = "branch",
5529
+ efa = "efa",
5530
+ trunk = "trunk"
5531
+ }
5418
5532
  /**
5419
5533
  * <p>Contains the parameters for CreateNetworkInterface.</p>
5420
5534
  */
@@ -5588,7 +5702,25 @@ export interface GroupIdentifier {
5588
5702
  */
5589
5703
  GroupId?: string;
5590
5704
  }
5591
- export declare type NetworkInterfaceType = "api_gateway_managed" | "aws_codestar_connections_managed" | "branch" | "efa" | "gateway_load_balancer" | "gateway_load_balancer_endpoint" | "global_accelerator_managed" | "interface" | "iot_rules_managed" | "lambda" | "load_balancer" | "natGateway" | "network_load_balancer" | "quicksight" | "transit_gateway" | "trunk" | "vpc_endpoint";
5705
+ export declare enum NetworkInterfaceType {
5706
+ api_gateway_managed = "api_gateway_managed",
5707
+ aws_codestar_connections_managed = "aws_codestar_connections_managed",
5708
+ branch = "branch",
5709
+ efa = "efa",
5710
+ gateway_load_balancer = "gateway_load_balancer",
5711
+ gateway_load_balancer_endpoint = "gateway_load_balancer_endpoint",
5712
+ global_accelerator_managed = "global_accelerator_managed",
5713
+ interface = "interface",
5714
+ iot_rules_managed = "iot_rules_managed",
5715
+ lambda = "lambda",
5716
+ load_balancer = "load_balancer",
5717
+ natGateway = "natGateway",
5718
+ network_load_balancer = "network_load_balancer",
5719
+ quicksight = "quicksight",
5720
+ transit_gateway = "transit_gateway",
5721
+ trunk = "trunk",
5722
+ vpc_endpoint = "vpc_endpoint"
5723
+ }
5592
5724
  /**
5593
5725
  * <p>Describes an IPv6 address associated with a network interface.</p>
5594
5726
  */
@@ -5628,7 +5760,13 @@ export interface NetworkInterfacePrivateIpAddress {
5628
5760
  */
5629
5761
  PrivateIpAddress?: string;
5630
5762
  }
5631
- export declare type NetworkInterfaceStatus = "associated" | "attaching" | "available" | "detaching" | "in-use";
5763
+ export declare enum NetworkInterfaceStatus {
5764
+ associated = "associated",
5765
+ attaching = "attaching",
5766
+ available = "available",
5767
+ detaching = "detaching",
5768
+ in_use = "in-use"
5769
+ }
5632
5770
  /**
5633
5771
  * <p>Describes a network interface.</p>
5634
5772
  */
@@ -5755,7 +5893,10 @@ export interface CreateNetworkInterfaceResult {
5755
5893
  */
5756
5894
  ClientToken?: string;
5757
5895
  }
5758
- export declare type InterfacePermissionType = "EIP-ASSOCIATE" | "INSTANCE-ATTACH";
5896
+ export declare enum InterfacePermissionType {
5897
+ EIP_ASSOCIATE = "EIP-ASSOCIATE",
5898
+ INSTANCE_ATTACH = "INSTANCE-ATTACH"
5899
+ }
5759
5900
  /**
5760
5901
  * <p>Contains the parameters for CreateNetworkInterfacePermission.</p>
5761
5902
  */
@@ -5783,7 +5924,12 @@ export interface CreateNetworkInterfacePermissionRequest {
5783
5924
  */
5784
5925
  DryRun?: boolean;
5785
5926
  }
5786
- export declare type NetworkInterfacePermissionStateCode = "granted" | "pending" | "revoked" | "revoking";
5927
+ export declare enum NetworkInterfacePermissionStateCode {
5928
+ granted = "granted",
5929
+ pending = "pending",
5930
+ revoked = "revoked",
5931
+ revoking = "revoking"
5932
+ }
5787
5933
  /**
5788
5934
  * <p>Describes the state of a network interface permission.</p>
5789
5935
  */
@@ -5839,7 +5985,11 @@ export declare enum SpreadLevel {
5839
5985
  host = "host",
5840
5986
  rack = "rack"
5841
5987
  }
5842
- export declare type PlacementStrategy = "cluster" | "partition" | "spread";
5988
+ export declare enum PlacementStrategy {
5989
+ cluster = "cluster",
5990
+ partition = "partition",
5991
+ spread = "spread"
5992
+ }
5843
5993
  export interface CreatePlacementGroupRequest {
5844
5994
  /**
5845
5995
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
@@ -5879,7 +6029,12 @@ export interface CreatePlacementGroupRequest {
5879
6029
  */
5880
6030
  SpreadLevel?: SpreadLevel | string;
5881
6031
  }
5882
- export declare type PlacementGroupState = "available" | "deleted" | "deleting" | "pending";
6032
+ export declare enum PlacementGroupState {
6033
+ available = "available",
6034
+ deleted = "deleted",
6035
+ deleting = "deleting",
6036
+ pending = "pending"
6037
+ }
5883
6038
  /**
5884
6039
  * <p>Describes a placement group.</p>
5885
6040
  */
@@ -6272,8 +6427,15 @@ export interface PropagatingVgw {
6272
6427
  */
6273
6428
  GatewayId?: string;
6274
6429
  }
6275
- export declare type RouteOrigin = "CreateRoute" | "CreateRouteTable" | "EnableVgwRoutePropagation";
6276
- export declare type RouteState = "active" | "blackhole";
6430
+ export declare enum RouteOrigin {
6431
+ CreateRoute = "CreateRoute",
6432
+ CreateRouteTable = "CreateRouteTable",
6433
+ EnableVgwRoutePropagation = "EnableVgwRoutePropagation"
6434
+ }
6435
+ export declare enum RouteState {
6436
+ active = "active",
6437
+ blackhole = "blackhole"
6438
+ }
6277
6439
  /**
6278
6440
  * <p>Describes a route in a route table.</p>
6279
6441
  */
@@ -6481,7 +6643,13 @@ export interface CreateSnapshotRequest {
6481
6643
  */
6482
6644
  DryRun?: boolean;
6483
6645
  }
6484
- export declare type SnapshotState = "completed" | "error" | "pending" | "recoverable" | "recovering";
6646
+ export declare enum SnapshotState {
6647
+ completed = "completed",
6648
+ error = "error",
6649
+ pending = "pending",
6650
+ recoverable = "recoverable",
6651
+ recovering = "recovering"
6652
+ }
6485
6653
  export declare enum StorageTier {
6486
6654
  archive = "archive",
6487
6655
  standard = "standard"
@@ -6575,7 +6743,9 @@ export interface Snapshot {
6575
6743
  */
6576
6744
  RestoreExpiryTime?: Date;
6577
6745
  }
6578
- export declare type CopyTagsFromSource = "volume";
6746
+ export declare enum CopyTagsFromSource {
6747
+ volume = "volume"
6748
+ }
6579
6749
  /**
6580
6750
  * <p>The instance details to specify which volumes should be snapshotted.</p>
6581
6751
  */
@@ -6731,7 +6901,10 @@ export interface SpotInstanceStateFault {
6731
6901
  */
6732
6902
  Message?: string;
6733
6903
  }
6734
- export declare type DatafeedSubscriptionState = "Active" | "Inactive";
6904
+ export declare enum DatafeedSubscriptionState {
6905
+ Active = "Active",
6906
+ Inactive = "Inactive"
6907
+ }
6735
6908
  /**
6736
6909
  * <p>Describes the data feed for a Spot Instance.</p>
6737
6910
  */
@@ -7018,8 +7191,14 @@ export interface TrafficMirrorPortRange {
7018
7191
  */
7019
7192
  ToPort?: number;
7020
7193
  }
7021
- export declare type TrafficMirrorRuleAction = "accept" | "reject";
7022
- export declare type TrafficDirection = "egress" | "ingress";
7194
+ export declare enum TrafficMirrorRuleAction {
7195
+ accept = "accept",
7196
+ reject = "reject"
7197
+ }
7198
+ export declare enum TrafficDirection {
7199
+ egress = "egress",
7200
+ ingress = "ingress"
7201
+ }
7023
7202
  /**
7024
7203
  * <p>Describes the Traffic Mirror rule.</p>
7025
7204
  */
@@ -7069,7 +7248,9 @@ export interface TrafficMirrorFilterRule {
7069
7248
  */
7070
7249
  Description?: string;
7071
7250
  }
7072
- export declare type TrafficMirrorNetworkService = "amazon-dns";
7251
+ export declare enum TrafficMirrorNetworkService {
7252
+ amazon_dns = "amazon-dns"
7253
+ }
7073
7254
  /**
7074
7255
  * <p>Describes the Traffic Mirror filter.</p>
7075
7256
  */
@@ -7176,16 +7357,10 @@ export interface CreateTrafficMirrorFilterRuleRequest {
7176
7357
  */
7177
7358
  ClientToken?: string;
7178
7359
  }
7179
- export interface CreateTrafficMirrorFilterRuleResult {
7180
- /**
7181
- * <p>The Traffic Mirror rule.</p>
7182
- */
7183
- TrafficMirrorFilterRule?: TrafficMirrorFilterRule;
7184
- /**
7185
- * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">How to ensure idempotency</a>.</p>
7186
- */
7187
- ClientToken?: string;
7188
- }
7360
+ /**
7361
+ * @internal
7362
+ */
7363
+ export declare const DhcpOptionsFilterSensitiveLog: (obj: DhcpOptions) => any;
7189
7364
  /**
7190
7365
  * @internal
7191
7366
  */
@@ -8102,7 +8277,3 @@ export declare const TrafficMirrorPortRangeRequestFilterSensitiveLog: (obj: Traf
8102
8277
  * @internal
8103
8278
  */
8104
8279
  export declare const CreateTrafficMirrorFilterRuleRequestFilterSensitiveLog: (obj: CreateTrafficMirrorFilterRuleRequest) => any;
8105
- /**
8106
- * @internal
8107
- */
8108
- export declare const CreateTrafficMirrorFilterRuleResultFilterSensitiveLog: (obj: CreateTrafficMirrorFilterRuleResult) => any;