@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.
Files changed (68) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist-cjs/commands/CreateTrafficMirrorFilterRuleCommand.js +3 -3
  3. package/dist-cjs/commands/DescribeAddressesAttributeCommand.js +3 -3
  4. package/dist-cjs/commands/DescribeAggregateIdFormatCommand.js +1 -2
  5. package/dist-cjs/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.js +2 -1
  6. package/dist-cjs/commands/DescribeLocalGatewayVirtualInterfacesCommand.js +1 -2
  7. package/dist-cjs/commands/MonitorInstancesCommand.js +3 -3
  8. package/dist-cjs/models/models_0.js +978 -27
  9. package/dist-cjs/models/models_1.js +250 -18
  10. package/dist-cjs/models/models_2.js +152 -18
  11. package/dist-cjs/models/models_3.js +279 -18
  12. package/dist-cjs/models/models_4.js +106 -18
  13. package/dist-cjs/models/models_5.js +62 -18
  14. package/dist-cjs/models/models_6.js +46 -3
  15. package/dist-cjs/protocols/Aws_ec2.js +88 -0
  16. package/dist-es/commands/CreateTrafficMirrorFilterRuleCommand.js +1 -1
  17. package/dist-es/commands/DescribeAddressesAttributeCommand.js +1 -1
  18. package/dist-es/commands/DescribeAggregateIdFormatCommand.js +1 -2
  19. package/dist-es/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.js +2 -1
  20. package/dist-es/commands/DescribeLocalGatewayVirtualInterfacesCommand.js +1 -2
  21. package/dist-es/commands/MonitorInstancesCommand.js +1 -1
  22. package/dist-es/models/models_0.js +966 -12
  23. package/dist-es/models/models_1.js +235 -3
  24. package/dist-es/models/models_2.js +137 -3
  25. package/dist-es/models/models_3.js +264 -3
  26. package/dist-es/models/models_4.js +91 -3
  27. package/dist-es/models/models_5.js +47 -3
  28. package/dist-es/models/models_6.js +33 -0
  29. package/dist-es/protocols/Aws_ec2.js +88 -0
  30. package/dist-types/EC2.d.ts +13 -30
  31. package/dist-types/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +1 -1
  32. package/dist-types/commands/DescribeAddressesAttributeCommand.d.ts +1 -1
  33. package/dist-types/commands/DescribeAggregateIdFormatCommand.d.ts +1 -2
  34. package/dist-types/commands/DescribeInstancesCommand.d.ts +0 -3
  35. package/dist-types/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.d.ts +2 -1
  36. package/dist-types/commands/DescribeLocalGatewayVirtualInterfacesCommand.d.ts +1 -2
  37. package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +0 -3
  38. package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +0 -3
  39. package/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +0 -3
  40. package/dist-types/commands/DescribeScheduledInstanceAvailabilityCommand.d.ts +0 -4
  41. package/dist-types/commands/DescribeScheduledInstancesCommand.d.ts +0 -4
  42. package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +4 -6
  43. package/dist-types/commands/MonitorInstancesCommand.d.ts +1 -1
  44. package/dist-types/commands/PurchaseReservedInstancesOfferingCommand.d.ts +3 -0
  45. package/dist-types/commands/PurchaseScheduledInstancesCommand.d.ts +4 -1
  46. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -1
  47. package/dist-types/commands/RunInstancesCommand.d.ts +1 -2
  48. package/dist-types/models/models_0.d.ts +975 -108
  49. package/dist-types/models/models_1.d.ts +288 -143
  50. package/dist-types/models/models_2.d.ts +202 -79
  51. package/dist-types/models/models_3.d.ts +291 -161
  52. package/dist-types/models/models_4.d.ts +221 -103
  53. package/dist-types/models/models_5.d.ts +102 -61
  54. package/dist-types/models/models_6.d.ts +78 -14
  55. package/dist-types/ts3.4/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/DescribeAddressesAttributeCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/DescribeAggregateIdFormatCommand.d.ts +4 -2
  58. package/dist-types/ts3.4/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.d.ts +2 -4
  59. package/dist-types/ts3.4/commands/DescribeLocalGatewayVirtualInterfacesCommand.d.ts +4 -2
  60. package/dist-types/ts3.4/commands/MonitorInstancesCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/models/models_0.d.ts +935 -846
  62. package/dist-types/ts3.4/models/models_1.d.ts +216 -154
  63. package/dist-types/ts3.4/models/models_2.d.ts +145 -83
  64. package/dist-types/ts3.4/models/models_3.d.ts +248 -171
  65. package/dist-types/ts3.4/models/models_4.d.ts +104 -72
  66. package/dist-types/ts3.4/models/models_5.d.ts +61 -47
  67. package/dist-types/ts3.4/models/models_6.d.ts +47 -19
  68. package/package.json +1 -1
@@ -1,4 +1,47 @@
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, HostnameType, InstanceEventWindow, Ipv4PrefixSpecification, PortRange, Protocol, ReservedInstancesListing, ResourceType, RouteTableAssociationState, Subnet, Tag, TagSpecification, Tenancy, UnsuccessfulItem, WeekDay } from "./models_0";
2
+ /**
3
+ * <p>Describes a value for a resource attribute that is a String.</p>
4
+ */
5
+ export interface AttributeValue {
6
+ /**
7
+ * <p>The attribute value. The value is case-sensitive.</p>
8
+ */
9
+ Value?: string;
10
+ }
11
+ /**
12
+ * <p>Describes a DHCP configuration option.</p>
13
+ */
14
+ export interface DhcpConfiguration {
15
+ /**
16
+ * <p>The name of a DHCP option.</p>
17
+ */
18
+ Key?: string;
19
+ /**
20
+ * <p>One or more values for the DHCP option.</p>
21
+ */
22
+ Values?: AttributeValue[];
23
+ }
24
+ /**
25
+ * <p>Describes a set of DHCP options.</p>
26
+ */
27
+ export interface DhcpOptions {
28
+ /**
29
+ * <p>One or more DHCP options in the set.</p>
30
+ */
31
+ DhcpConfigurations?: DhcpConfiguration[];
32
+ /**
33
+ * <p>The ID of the set of DHCP options.</p>
34
+ */
35
+ DhcpOptionsId?: string;
36
+ /**
37
+ * <p>The ID of the Amazon Web Services account that owns the DHCP options set.</p>
38
+ */
39
+ OwnerId?: string;
40
+ /**
41
+ * <p>Any tags assigned to the DHCP options set.</p>
42
+ */
43
+ Tags?: Tag[];
44
+ }
2
45
  export interface CreateDhcpOptionsResult {
3
46
  /**
4
47
  * <p>A set of DHCP options.</p>
@@ -221,12 +264,12 @@ export interface VCpuCountRangeRequest {
221
264
  /**
222
265
  * <p>The attributes for the instance types. When you specify instance attributes, Amazon EC2 will
223
266
  * identify instance types with these attributes.</p>
224
- * <p>When you specify multiple parameters, you get instance types that satisfy all of the
225
- * specified parameters. If you specify multiple values for a parameter, you get instance
267
+ * <p>When you specify multiple attributes, you get instance types that satisfy all of the
268
+ * specified attributes. If you specify multiple values for an attribute, you get instance
226
269
  * types that satisfy any of the specified values.</p>
227
270
  * <note>
228
- * <p>You must specify <code>VCpuCount</code> and <code>MemoryMiB</code>. All other parameters
229
- * are optional. Any unspecified optional parameter is set to its default.</p>
271
+ * <p>You must specify <code>VCpuCount</code> and <code>MemoryMiB</code>. All other attributes
272
+ * are optional. Any unspecified optional attribute is set to its default.</p>
230
273
  * </note>
231
274
  * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html">Attribute-based instance type selection for EC2 Fleet</a>, <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-attribute-based-instance-type-selection.html">Attribute-based instance type selection for Spot Fleet</a>, and <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-placement-score.html">Spot
232
275
  * placement score</a> in the <i>Amazon EC2 User Guide</i>.</p>
@@ -267,7 +310,8 @@ export interface InstanceRequirementsRequest {
267
310
  */
268
311
  MemoryGiBPerVCpu?: MemoryGiBPerVCpuRequest;
269
312
  /**
270
- * <p>The instance types to exclude. You can use strings with one or more wild cards, represented by
313
+ * <p>The instance types to exclude.</p>
314
+ * <p>You can use strings with one or more wild cards, represented by
271
315
  * an asterisk (<code>*</code>), to exclude an instance family, type, size, or generation. The
272
316
  * following are examples: <code>m5.8xlarge</code>, <code>c5*.*</code>, <code>m5a.*</code>,
273
317
  * <code>r*</code>, <code>*3*</code>.</p>
@@ -485,6 +529,12 @@ export interface InstanceRequirementsRequest {
485
529
  * <li>
486
530
  * <p>For instance types with Xilinx VU9P FPGAs, specify <code> vu9p</code>.</p>
487
531
  * </li>
532
+ * <li>
533
+ * <p>For instance types with Amazon Web Services Inferentia GPUs, specify <code>inferentia</code>.</p>
534
+ * </li>
535
+ * <li>
536
+ * <p>For instance types with NVIDIA GRID K520 GPUs, specify <code>k520</code>.</p>
537
+ * </li>
488
538
  * </ul>
489
539
  * <p>Default: Any accelerator</p>
490
540
  */
@@ -560,7 +610,7 @@ export interface FleetLaunchTemplateOverridesRequest {
560
610
  /**
561
611
  * <p>The instance type.</p>
562
612
  * <note>
563
- * <p>If you specify <code>InstanceTypes</code>, you can't specify
613
+ * <p>If you specify <code>InstanceType</code>, you can't specify
564
614
  * <code>InstanceRequirements</code>.</p>
565
615
  * </note>
566
616
  */
@@ -609,7 +659,7 @@ export interface FleetLaunchTemplateOverridesRequest {
609
659
  * identify instance types with those attributes.</p>
610
660
  * <note>
611
661
  * <p>If you specify <code>InstanceRequirements</code>, you can't specify
612
- * <code>InstanceTypes</code>.</p>
662
+ * <code>InstanceType</code>.</p>
613
663
  * </note>
614
664
  */
615
665
  InstanceRequirements?: InstanceRequirementsRequest;
@@ -718,7 +768,11 @@ export declare enum SpotAllocationStrategy {
718
768
  DIVERSIFIED = "diversified",
719
769
  LOWEST_PRICE = "lowest-price"
720
770
  }
721
- export declare type SpotInstanceInterruptionBehavior = "hibernate" | "stop" | "terminate";
771
+ export declare enum SpotInstanceInterruptionBehavior {
772
+ hibernate = "hibernate",
773
+ stop = "stop",
774
+ terminate = "terminate"
775
+ }
722
776
  export declare enum FleetReplacementStrategy {
723
777
  LAUNCH = "launch",
724
778
  LAUNCH_BEFORE_TERMINATE = "launch-before-terminate"
@@ -769,11 +823,16 @@ export interface FleetSpotMaintenanceStrategiesRequest {
769
823
  */
770
824
  export interface SpotOptionsRequest {
771
825
  /**
772
- * <p>The strategy that determines how to allocate the target Spot Instance capacity across the Spot Instance pools specified by
773
- * the EC2 Fleet.</p>
826
+ * <p>The strategy that determines how to allocate the target Spot Instance capacity across the Spot Instance
827
+ * pools specified by the EC2 Fleet launch configuration. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-allocation-strategy.html">Allocation strategies for Spot Instances</a> in the
828
+ * <i>Amazon EC2 User Guide</i>.</p>
774
829
  * <p>
775
- * <code>lowest-price</code> - EC2 Fleet launches instances from
776
- * the Spot Instance pools with the lowest price.</p>
830
+ * <code>lowest-price</code> - EC2 Fleet launches instances from the lowest-price Spot Instance pool that
831
+ * has available capacity. If the cheapest pool doesn't have available capacity, the Spot Instances
832
+ * come from the next cheapest pool that has available capacity. If a pool runs out of
833
+ * capacity before fulfilling your desired capacity, EC2 Fleet will continue to fulfill your
834
+ * request by drawing from the next cheapest pool. To ensure that your desired capacity is
835
+ * met, you might receive Spot Instances from several pools.</p>
777
836
  * <p>
778
837
  * <code>diversified</code> - EC2 Fleet launches instances from all
779
838
  * of the Spot Instance pools that you specify.</p>
@@ -1123,12 +1182,12 @@ export interface VCpuCountRange {
1123
1182
  /**
1124
1183
  * <p>The attributes for the instance types. When you specify instance attributes, Amazon EC2 will
1125
1184
  * identify instance types with these attributes.</p>
1126
- * <p>When you specify multiple parameters, you get instance types that satisfy all of the
1127
- * specified parameters. If you specify multiple values for a parameter, you get instance
1185
+ * <p>When you specify multiple attributes, you get instance types that satisfy all of the
1186
+ * specified attributes. If you specify multiple values for an attribute, you get instance
1128
1187
  * types that satisfy any of the specified values.</p>
1129
1188
  * <note>
1130
- * <p>You must specify <code>VCpuCount</code> and <code>MemoryMiB</code>. All other parameters
1131
- * are optional. Any unspecified optional parameter is set to its default.</p>
1189
+ * <p>You must specify <code>VCpuCount</code> and <code>MemoryMiB</code>. All other attributes
1190
+ * are optional. Any unspecified optional attribute is set to its default.</p>
1132
1191
  * </note>
1133
1192
  * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html">Attribute-based instance type selection for EC2 Fleet</a>, <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-attribute-based-instance-type-selection.html">Attribute-based instance type selection for Spot Fleet</a>, and <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-placement-score.html">Spot
1134
1193
  * placement score</a> in the <i>Amazon EC2 User Guide</i>.</p>
@@ -1169,7 +1228,8 @@ export interface InstanceRequirements {
1169
1228
  */
1170
1229
  MemoryGiBPerVCpu?: MemoryGiBPerVCpu;
1171
1230
  /**
1172
- * <p>The instance types to exclude. You can use strings with one or more wild cards, represented by
1231
+ * <p>The instance types to exclude.</p>
1232
+ * <p>You can use strings with one or more wild cards, represented by
1173
1233
  * an asterisk (<code>*</code>), to exclude an instance type, size, or generation. The
1174
1234
  * following are examples: <code>m5.8xlarge</code>, <code>c5*.*</code>, <code>m5a.*</code>,
1175
1235
  * <code>r*</code>, <code>*3*</code>.</p>
@@ -1388,6 +1448,12 @@ export interface InstanceRequirements {
1388
1448
  * <li>
1389
1449
  * <p>For instance types with Xilinx VU9P FPGAs, specify <code>vu9p</code>.</p>
1390
1450
  * </li>
1451
+ * <li>
1452
+ * <p>For instance types with Amazon Web Services Inferentia GPUs, specify <code>inferentia</code>.</p>
1453
+ * </li>
1454
+ * <li>
1455
+ * <p>For instance types with NVIDIA GRID K520 GPUs, specify <code>k520</code>.</p>
1456
+ * </li>
1391
1457
  * </ul>
1392
1458
  * <p>Default: Any accelerator</p>
1393
1459
  */
@@ -1414,7 +1480,7 @@ export interface FleetLaunchTemplateOverrides {
1414
1480
  /**
1415
1481
  * <p>The instance type.</p>
1416
1482
  * <note>
1417
- * <p>If you specify <code>InstanceTypes</code>, you can't specify
1483
+ * <p>If you specify <code>InstanceType</code>, you can't specify
1418
1484
  * <code>InstanceRequirements</code>.</p>
1419
1485
  * </note>
1420
1486
  */
@@ -1463,7 +1529,7 @@ export interface FleetLaunchTemplateOverrides {
1463
1529
  * identify instance types with those attributes.</p>
1464
1530
  * <note>
1465
1531
  * <p>If you specify <code>InstanceRequirements</code>, you can't specify
1466
- * <code>InstanceTypes</code>.</p>
1532
+ * <code>InstanceType</code>.</p>
1467
1533
  * </note>
1468
1534
  */
1469
1535
  InstanceRequirements?: InstanceRequirements;
@@ -1510,7 +1576,9 @@ export interface CreateFleetError {
1510
1576
  */
1511
1577
  ErrorMessage?: string;
1512
1578
  }
1513
- export declare type PlatformValues = "Windows";
1579
+ export declare enum PlatformValues {
1580
+ Windows = "Windows"
1581
+ }
1514
1582
  /**
1515
1583
  * <p>Describes the instances that were launched by the fleet.</p>
1516
1584
  */
@@ -1577,9 +1645,23 @@ export interface DestinationOptionsRequest {
1577
1645
  */
1578
1646
  PerHourPartition?: boolean;
1579
1647
  }
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";
1648
+ export declare enum LogDestinationType {
1649
+ cloud_watch_logs = "cloud-watch-logs",
1650
+ kinesis_data_firehose = "kinesis-data-firehose",
1651
+ s3 = "s3"
1652
+ }
1653
+ export declare enum FlowLogsResourceType {
1654
+ NetworkInterface = "NetworkInterface",
1655
+ Subnet = "Subnet",
1656
+ TransitGateway = "TransitGateway",
1657
+ TransitGatewayAttachment = "TransitGatewayAttachment",
1658
+ VPC = "VPC"
1659
+ }
1660
+ export declare enum TrafficType {
1661
+ ACCEPT = "ACCEPT",
1662
+ ALL = "ALL",
1663
+ REJECT = "REJECT"
1664
+ }
1583
1665
  export interface CreateFlowLogsRequest {
1584
1666
  /**
1585
1667
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
@@ -1751,7 +1833,15 @@ export interface CreateFpgaImageResult {
1751
1833
  */
1752
1834
  FpgaImageGlobalId?: string;
1753
1835
  }
1754
- export declare type VolumeType = "gp2" | "gp3" | "io1" | "io2" | "sc1" | "st1" | "standard";
1836
+ export declare enum VolumeType {
1837
+ gp2 = "gp2",
1838
+ gp3 = "gp3",
1839
+ io1 = "io1",
1840
+ io2 = "io2",
1841
+ sc1 = "sc1",
1842
+ st1 = "st1",
1843
+ standard = "standard"
1844
+ }
1755
1845
  /**
1756
1846
  * <p>Describes a block device for an EBS volume.</p>
1757
1847
  */
@@ -2039,8 +2129,14 @@ export interface CreateInstanceEventWindowResult {
2039
2129
  */
2040
2130
  InstanceEventWindow?: InstanceEventWindow;
2041
2131
  }
2042
- export declare type ContainerFormat = "ova";
2043
- export declare type DiskImageFormat = "RAW" | "VHD" | "VMDK";
2132
+ export declare enum ContainerFormat {
2133
+ ova = "ova"
2134
+ }
2135
+ export declare enum DiskImageFormat {
2136
+ RAW = "RAW",
2137
+ VHD = "VHD",
2138
+ VMDK = "VMDK"
2139
+ }
2044
2140
  /**
2045
2141
  * <p>Describes an export instance task.</p>
2046
2142
  */
@@ -2066,7 +2162,11 @@ export interface ExportToS3TaskSpecification {
2066
2162
  */
2067
2163
  S3Prefix?: string;
2068
2164
  }
2069
- export declare type ExportEnvironment = "citrix" | "microsoft" | "vmware";
2165
+ export declare enum ExportEnvironment {
2166
+ citrix = "citrix",
2167
+ microsoft = "microsoft",
2168
+ vmware = "vmware"
2169
+ }
2070
2170
  export interface CreateInstanceExportTaskRequest {
2071
2171
  /**
2072
2172
  * <p>A description for the conversion task or the resource being exported. The maximum length is 255 characters.</p>
@@ -2126,7 +2226,12 @@ export interface InstanceExportDetails {
2126
2226
  */
2127
2227
  TargetEnvironment?: ExportEnvironment | string;
2128
2228
  }
2129
- export declare type ExportTaskState = "active" | "cancelled" | "cancelling" | "completed";
2229
+ export declare enum ExportTaskState {
2230
+ active = "active",
2231
+ cancelled = "cancelled",
2232
+ cancelling = "cancelling",
2233
+ completed = "completed"
2234
+ }
2130
2235
  /**
2131
2236
  * <p>Describes an export instance task.</p>
2132
2237
  */
@@ -2826,7 +2931,10 @@ export interface LaunchTemplateBlockDeviceMappingRequest {
2826
2931
  */
2827
2932
  NoDevice?: string;
2828
2933
  }
2829
- export declare type CapacityReservationPreference = "none" | "open";
2934
+ export declare enum CapacityReservationPreference {
2935
+ none = "none",
2936
+ open = "open"
2937
+ }
2830
2938
  /**
2831
2939
  * <p>Describes a target Capacity Reservation or Capacity Reservation group.</p>
2832
2940
  */
@@ -2964,10 +3072,22 @@ export interface LaunchTemplateIamInstanceProfileSpecificationRequest {
2964
3072
  */
2965
3073
  Name?: string;
2966
3074
  }
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";
3075
+ export declare enum ShutdownBehavior {
3076
+ stop = "stop",
3077
+ terminate = "terminate"
3078
+ }
3079
+ export declare enum MarketType {
3080
+ spot = "spot"
3081
+ }
3082
+ export declare enum InstanceInterruptionBehavior {
3083
+ hibernate = "hibernate",
3084
+ stop = "stop",
3085
+ terminate = "terminate"
3086
+ }
3087
+ export declare enum SpotInstanceType {
3088
+ one_time = "one-time",
3089
+ persistent = "persistent"
3090
+ }
2971
3091
  /**
2972
3092
  * <p>The options for Spot Instances.</p>
2973
3093
  */
@@ -3047,7 +3167,10 @@ export interface LaunchTemplateInstanceMaintenanceOptionsRequest {
3047
3167
  */
3048
3168
  AutoRecovery?: LaunchTemplateAutoRecoveryState | string;
3049
3169
  }
3050
- export declare type LaunchTemplateInstanceMetadataEndpointState = "disabled" | "enabled";
3170
+ export declare enum LaunchTemplateInstanceMetadataEndpointState {
3171
+ disabled = "disabled",
3172
+ enabled = "enabled"
3173
+ }
3051
3174
  export declare enum LaunchTemplateInstanceMetadataProtocolIpv6 {
3052
3175
  disabled = "disabled",
3053
3176
  enabled = "enabled"
@@ -3539,7 +3662,7 @@ export interface RequestLaunchTemplateData {
3539
3662
  * <p>The attributes for the instance types. When you specify instance attributes, Amazon EC2 will
3540
3663
  * identify instance types with these attributes.</p>
3541
3664
  * <p>If you specify <code>InstanceRequirements</code>, you can't specify
3542
- * <code>InstanceTypes</code>.</p>
3665
+ * <code>InstanceType</code>.</p>
3543
3666
  */
3544
3667
  InstanceRequirements?: InstanceRequirementsRequest;
3545
3668
  /**
@@ -3956,7 +4079,10 @@ export interface LaunchTemplateInstanceMaintenanceOptions {
3956
4079
  */
3957
4080
  AutoRecovery?: LaunchTemplateAutoRecoveryState | string;
3958
4081
  }
3959
- export declare type LaunchTemplateInstanceMetadataOptionsState = "applied" | "pending";
4082
+ export declare enum LaunchTemplateInstanceMetadataOptionsState {
4083
+ applied = "applied",
4084
+ pending = "pending"
4085
+ }
3960
4086
  /**
3961
4087
  * <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
4088
  * <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
@@ -4431,8 +4557,17 @@ export interface CreateLocalGatewayRouteRequest {
4431
4557
  */
4432
4558
  NetworkInterfaceId?: string;
4433
4559
  }
4434
- export declare type LocalGatewayRouteState = "active" | "blackhole" | "deleted" | "deleting" | "pending";
4435
- export declare type LocalGatewayRouteType = "propagated" | "static";
4560
+ export declare enum LocalGatewayRouteState {
4561
+ active = "active",
4562
+ blackhole = "blackhole",
4563
+ deleted = "deleted",
4564
+ deleting = "deleting",
4565
+ pending = "pending"
4566
+ }
4567
+ export declare enum LocalGatewayRouteType {
4568
+ propagated = "propagated",
4569
+ static = "static"
4570
+ }
4436
4571
  /**
4437
4572
  * <p>Describes a route for a local gateway route table.</p>
4438
4573
  */
@@ -4811,7 +4946,20 @@ export interface CreateManagedPrefixListRequest {
4811
4946
  */
4812
4947
  ClientToken?: string;
4813
4948
  }
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";
4949
+ export declare enum PrefixListState {
4950
+ create_complete = "create-complete",
4951
+ create_failed = "create-failed",
4952
+ create_in_progress = "create-in-progress",
4953
+ delete_complete = "delete-complete",
4954
+ delete_failed = "delete-failed",
4955
+ delete_in_progress = "delete-in-progress",
4956
+ modify_complete = "modify-complete",
4957
+ modify_failed = "modify-failed",
4958
+ modify_in_progress = "modify-in-progress",
4959
+ restore_complete = "restore-complete",
4960
+ restore_failed = "restore-failed",
4961
+ restore_in_progress = "restore-in-progress"
4962
+ }
4815
4963
  /**
4816
4964
  * <p>Describes a managed prefix list.</p>
4817
4965
  */
@@ -5114,7 +5262,10 @@ export interface IcmpTypeCode {
5114
5262
  */
5115
5263
  Type?: number;
5116
5264
  }
5117
- export declare type RuleAction = "allow" | "deny";
5265
+ export declare enum RuleAction {
5266
+ allow = "allow",
5267
+ deny = "deny"
5268
+ }
5118
5269
  /**
5119
5270
  * <p>Describes an entry in a network ACL.</p>
5120
5271
  */
@@ -5414,7 +5565,11 @@ export interface CreateNetworkInsightsPathResult {
5414
5565
  */
5415
5566
  NetworkInsightsPath?: NetworkInsightsPath;
5416
5567
  }
5417
- export declare type NetworkInterfaceCreationType = "branch" | "efa" | "trunk";
5568
+ export declare enum NetworkInterfaceCreationType {
5569
+ branch = "branch",
5570
+ efa = "efa",
5571
+ trunk = "trunk"
5572
+ }
5418
5573
  /**
5419
5574
  * <p>Contains the parameters for CreateNetworkInterface.</p>
5420
5575
  */
@@ -5588,7 +5743,25 @@ export interface GroupIdentifier {
5588
5743
  */
5589
5744
  GroupId?: string;
5590
5745
  }
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";
5746
+ export declare enum NetworkInterfaceType {
5747
+ api_gateway_managed = "api_gateway_managed",
5748
+ aws_codestar_connections_managed = "aws_codestar_connections_managed",
5749
+ branch = "branch",
5750
+ efa = "efa",
5751
+ gateway_load_balancer = "gateway_load_balancer",
5752
+ gateway_load_balancer_endpoint = "gateway_load_balancer_endpoint",
5753
+ global_accelerator_managed = "global_accelerator_managed",
5754
+ interface = "interface",
5755
+ iot_rules_managed = "iot_rules_managed",
5756
+ lambda = "lambda",
5757
+ load_balancer = "load_balancer",
5758
+ natGateway = "natGateway",
5759
+ network_load_balancer = "network_load_balancer",
5760
+ quicksight = "quicksight",
5761
+ transit_gateway = "transit_gateway",
5762
+ trunk = "trunk",
5763
+ vpc_endpoint = "vpc_endpoint"
5764
+ }
5592
5765
  /**
5593
5766
  * <p>Describes an IPv6 address associated with a network interface.</p>
5594
5767
  */
@@ -5628,7 +5801,13 @@ export interface NetworkInterfacePrivateIpAddress {
5628
5801
  */
5629
5802
  PrivateIpAddress?: string;
5630
5803
  }
5631
- export declare type NetworkInterfaceStatus = "associated" | "attaching" | "available" | "detaching" | "in-use";
5804
+ export declare enum NetworkInterfaceStatus {
5805
+ associated = "associated",
5806
+ attaching = "attaching",
5807
+ available = "available",
5808
+ detaching = "detaching",
5809
+ in_use = "in-use"
5810
+ }
5632
5811
  /**
5633
5812
  * <p>Describes a network interface.</p>
5634
5813
  */
@@ -5755,7 +5934,10 @@ export interface CreateNetworkInterfaceResult {
5755
5934
  */
5756
5935
  ClientToken?: string;
5757
5936
  }
5758
- export declare type InterfacePermissionType = "EIP-ASSOCIATE" | "INSTANCE-ATTACH";
5937
+ export declare enum InterfacePermissionType {
5938
+ EIP_ASSOCIATE = "EIP-ASSOCIATE",
5939
+ INSTANCE_ATTACH = "INSTANCE-ATTACH"
5940
+ }
5759
5941
  /**
5760
5942
  * <p>Contains the parameters for CreateNetworkInterfacePermission.</p>
5761
5943
  */
@@ -5783,7 +5965,12 @@ export interface CreateNetworkInterfacePermissionRequest {
5783
5965
  */
5784
5966
  DryRun?: boolean;
5785
5967
  }
5786
- export declare type NetworkInterfacePermissionStateCode = "granted" | "pending" | "revoked" | "revoking";
5968
+ export declare enum NetworkInterfacePermissionStateCode {
5969
+ granted = "granted",
5970
+ pending = "pending",
5971
+ revoked = "revoked",
5972
+ revoking = "revoking"
5973
+ }
5787
5974
  /**
5788
5975
  * <p>Describes the state of a network interface permission.</p>
5789
5976
  */
@@ -5839,7 +6026,11 @@ export declare enum SpreadLevel {
5839
6026
  host = "host",
5840
6027
  rack = "rack"
5841
6028
  }
5842
- export declare type PlacementStrategy = "cluster" | "partition" | "spread";
6029
+ export declare enum PlacementStrategy {
6030
+ cluster = "cluster",
6031
+ partition = "partition",
6032
+ spread = "spread"
6033
+ }
5843
6034
  export interface CreatePlacementGroupRequest {
5844
6035
  /**
5845
6036
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
@@ -5879,7 +6070,12 @@ export interface CreatePlacementGroupRequest {
5879
6070
  */
5880
6071
  SpreadLevel?: SpreadLevel | string;
5881
6072
  }
5882
- export declare type PlacementGroupState = "available" | "deleted" | "deleting" | "pending";
6073
+ export declare enum PlacementGroupState {
6074
+ available = "available",
6075
+ deleted = "deleted",
6076
+ deleting = "deleting",
6077
+ pending = "pending"
6078
+ }
5883
6079
  /**
5884
6080
  * <p>Describes a placement group.</p>
5885
6081
  */
@@ -6272,8 +6468,15 @@ export interface PropagatingVgw {
6272
6468
  */
6273
6469
  GatewayId?: string;
6274
6470
  }
6275
- export declare type RouteOrigin = "CreateRoute" | "CreateRouteTable" | "EnableVgwRoutePropagation";
6276
- export declare type RouteState = "active" | "blackhole";
6471
+ export declare enum RouteOrigin {
6472
+ CreateRoute = "CreateRoute",
6473
+ CreateRouteTable = "CreateRouteTable",
6474
+ EnableVgwRoutePropagation = "EnableVgwRoutePropagation"
6475
+ }
6476
+ export declare enum RouteState {
6477
+ active = "active",
6478
+ blackhole = "blackhole"
6479
+ }
6277
6480
  /**
6278
6481
  * <p>Describes a route in a route table.</p>
6279
6482
  */
@@ -6481,7 +6684,13 @@ export interface CreateSnapshotRequest {
6481
6684
  */
6482
6685
  DryRun?: boolean;
6483
6686
  }
6484
- export declare type SnapshotState = "completed" | "error" | "pending" | "recoverable" | "recovering";
6687
+ export declare enum SnapshotState {
6688
+ completed = "completed",
6689
+ error = "error",
6690
+ pending = "pending",
6691
+ recoverable = "recoverable",
6692
+ recovering = "recovering"
6693
+ }
6485
6694
  export declare enum StorageTier {
6486
6695
  archive = "archive",
6487
6696
  standard = "standard"
@@ -6575,7 +6784,9 @@ export interface Snapshot {
6575
6784
  */
6576
6785
  RestoreExpiryTime?: Date;
6577
6786
  }
6578
- export declare type CopyTagsFromSource = "volume";
6787
+ export declare enum CopyTagsFromSource {
6788
+ volume = "volume"
6789
+ }
6579
6790
  /**
6580
6791
  * <p>The instance details to specify which volumes should be snapshotted.</p>
6581
6792
  */
@@ -6731,7 +6942,10 @@ export interface SpotInstanceStateFault {
6731
6942
  */
6732
6943
  Message?: string;
6733
6944
  }
6734
- export declare type DatafeedSubscriptionState = "Active" | "Inactive";
6945
+ export declare enum DatafeedSubscriptionState {
6946
+ Active = "Active",
6947
+ Inactive = "Inactive"
6948
+ }
6735
6949
  /**
6736
6950
  * <p>Describes the data feed for a Spot Instance.</p>
6737
6951
  */
@@ -7018,8 +7232,14 @@ export interface TrafficMirrorPortRange {
7018
7232
  */
7019
7233
  ToPort?: number;
7020
7234
  }
7021
- export declare type TrafficMirrorRuleAction = "accept" | "reject";
7022
- export declare type TrafficDirection = "egress" | "ingress";
7235
+ export declare enum TrafficMirrorRuleAction {
7236
+ accept = "accept",
7237
+ reject = "reject"
7238
+ }
7239
+ export declare enum TrafficDirection {
7240
+ egress = "egress",
7241
+ ingress = "ingress"
7242
+ }
7023
7243
  /**
7024
7244
  * <p>Describes the Traffic Mirror rule.</p>
7025
7245
  */
@@ -7069,7 +7289,9 @@ export interface TrafficMirrorFilterRule {
7069
7289
  */
7070
7290
  Description?: string;
7071
7291
  }
7072
- export declare type TrafficMirrorNetworkService = "amazon-dns";
7292
+ export declare enum TrafficMirrorNetworkService {
7293
+ amazon_dns = "amazon-dns"
7294
+ }
7073
7295
  /**
7074
7296
  * <p>Describes the Traffic Mirror filter.</p>
7075
7297
  */
@@ -7110,82 +7332,17 @@ export interface CreateTrafficMirrorFilterResult {
7110
7332
  ClientToken?: string;
7111
7333
  }
7112
7334
  /**
7113
- * <p>Information about the Traffic Mirror filter rule port range.</p>
7335
+ * @internal
7114
7336
  */
7115
- export interface TrafficMirrorPortRangeRequest {
7116
- /**
7117
- * <p>The first port in the Traffic Mirror port range. This applies to the TCP and UDP protocols.</p>
7118
- */
7119
- FromPort?: number;
7120
- /**
7121
- * <p>The last port in the Traffic Mirror port range. This applies to the TCP and UDP protocols.</p>
7122
- */
7123
- ToPort?: number;
7124
- }
7125
- export interface CreateTrafficMirrorFilterRuleRequest {
7126
- /**
7127
- * <p>The ID of the filter that this rule is associated with.</p>
7128
- */
7129
- TrafficMirrorFilterId: string | undefined;
7130
- /**
7131
- * <p>The type of traffic.</p>
7132
- */
7133
- TrafficDirection: TrafficDirection | string | undefined;
7134
- /**
7135
- * <p>The number of the Traffic Mirror rule. This number must be unique for each Traffic Mirror rule in a given
7136
- * direction. The rules are processed in ascending order by rule number.</p>
7137
- */
7138
- RuleNumber: number | undefined;
7139
- /**
7140
- * <p>The action to take on the filtered traffic.</p>
7141
- */
7142
- RuleAction: TrafficMirrorRuleAction | string | undefined;
7143
- /**
7144
- * <p>The destination port range.</p>
7145
- */
7146
- DestinationPortRange?: TrafficMirrorPortRangeRequest;
7147
- /**
7148
- * <p>The source port range.</p>
7149
- */
7150
- SourcePortRange?: TrafficMirrorPortRangeRequest;
7151
- /**
7152
- * <p>The protocol, for example UDP, to assign to the Traffic Mirror rule.</p>
7153
- * <p>For information about the protocol value, see <a href="https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml">Protocol Numbers</a> on the Internet Assigned Numbers Authority (IANA) website.</p>
7154
- */
7155
- Protocol?: number;
7156
- /**
7157
- * <p>The destination CIDR block to assign to the Traffic Mirror rule.</p>
7158
- */
7159
- DestinationCidrBlock: string | undefined;
7160
- /**
7161
- * <p>The source CIDR block to assign to the Traffic Mirror rule.</p>
7162
- */
7163
- SourceCidrBlock: string | undefined;
7164
- /**
7165
- * <p>The description of the Traffic Mirror rule.</p>
7166
- */
7167
- Description?: string;
7168
- /**
7169
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7170
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7171
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7172
- */
7173
- DryRun?: boolean;
7174
- /**
7175
- * <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>
7176
- */
7177
- ClientToken?: string;
7178
- }
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
- }
7337
+ export declare const AttributeValueFilterSensitiveLog: (obj: AttributeValue) => any;
7338
+ /**
7339
+ * @internal
7340
+ */
7341
+ export declare const DhcpConfigurationFilterSensitiveLog: (obj: DhcpConfiguration) => any;
7342
+ /**
7343
+ * @internal
7344
+ */
7345
+ export declare const DhcpOptionsFilterSensitiveLog: (obj: DhcpOptions) => any;
7189
7346
  /**
7190
7347
  * @internal
7191
7348
  */
@@ -8094,15 +8251,3 @@ export declare const TrafficMirrorFilterFilterSensitiveLog: (obj: TrafficMirrorF
8094
8251
  * @internal
8095
8252
  */
8096
8253
  export declare const CreateTrafficMirrorFilterResultFilterSensitiveLog: (obj: CreateTrafficMirrorFilterResult) => any;
8097
- /**
8098
- * @internal
8099
- */
8100
- export declare const TrafficMirrorPortRangeRequestFilterSensitiveLog: (obj: TrafficMirrorPortRangeRequest) => any;
8101
- /**
8102
- * @internal
8103
- */
8104
- export declare const CreateTrafficMirrorFilterRuleRequestFilterSensitiveLog: (obj: CreateTrafficMirrorFilterRuleRequest) => any;
8105
- /**
8106
- * @internal
8107
- */
8108
- export declare const CreateTrafficMirrorFilterRuleResultFilterSensitiveLog: (obj: CreateTrafficMirrorFilterRuleResult) => any;