@aws-sdk/client-ec2 3.172.0 → 3.175.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 (80) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist-cjs/commands/CreateDefaultVpcCommand.js +2 -1
  3. package/dist-cjs/commands/CreateDhcpOptionsCommand.js +1 -2
  4. package/dist-cjs/commands/CreateTrafficMirrorFilterCommand.js +2 -1
  5. package/dist-cjs/commands/CreateTrafficMirrorFilterRuleCommand.js +1 -2
  6. package/dist-cjs/commands/DescribeAddressesAttributeCommand.js +3 -3
  7. package/dist-cjs/commands/DescribeAddressesCommand.js +3 -3
  8. package/dist-cjs/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.js +3 -3
  9. package/dist-cjs/commands/DescribeLocalGatewaysCommand.js +2 -1
  10. package/dist-cjs/commands/MonitorInstancesCommand.js +1 -2
  11. package/dist-cjs/models/models_0.js +28 -28
  12. package/dist-cjs/models/models_1.js +25 -25
  13. package/dist-cjs/models/models_2.js +26 -26
  14. package/dist-cjs/models/models_3.js +25 -25
  15. package/dist-cjs/models/models_4.js +26 -26
  16. package/dist-cjs/models/models_5.js +14 -14
  17. package/dist-cjs/models/models_6.js +12 -4
  18. package/dist-cjs/protocols/Aws_ec2.js +50 -0
  19. package/dist-es/commands/CreateDefaultVpcCommand.js +2 -1
  20. package/dist-es/commands/CreateDhcpOptionsCommand.js +1 -2
  21. package/dist-es/commands/CreateTrafficMirrorFilterCommand.js +2 -1
  22. package/dist-es/commands/CreateTrafficMirrorFilterRuleCommand.js +1 -2
  23. package/dist-es/commands/DescribeAddressesAttributeCommand.js +1 -1
  24. package/dist-es/commands/DescribeAddressesCommand.js +1 -1
  25. package/dist-es/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.js +1 -1
  26. package/dist-es/commands/DescribeLocalGatewaysCommand.js +2 -1
  27. package/dist-es/commands/MonitorInstancesCommand.js +1 -2
  28. package/dist-es/models/models_0.js +9 -6
  29. package/dist-es/models/models_1.js +5 -8
  30. package/dist-es/models/models_2.js +8 -5
  31. package/dist-es/models/models_3.js +5 -5
  32. package/dist-es/models/models_4.js +5 -5
  33. package/dist-es/models/models_5.js +2 -2
  34. package/dist-es/models/models_6.js +2 -0
  35. package/dist-es/protocols/Aws_ec2.js +50 -0
  36. package/dist-types/EC2.d.ts +13 -30
  37. package/dist-types/commands/CreateDefaultVpcCommand.d.ts +2 -1
  38. package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +1 -2
  39. package/dist-types/commands/CreateTrafficMirrorFilterCommand.d.ts +2 -1
  40. package/dist-types/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +1 -2
  41. package/dist-types/commands/DescribeAddressesAttributeCommand.d.ts +1 -1
  42. package/dist-types/commands/DescribeAddressesCommand.d.ts +1 -1
  43. package/dist-types/commands/DescribeInstancesCommand.d.ts +0 -3
  44. package/dist-types/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.d.ts +1 -1
  45. package/dist-types/commands/DescribeLocalGatewaysCommand.d.ts +2 -1
  46. package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +0 -3
  47. package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +0 -3
  48. package/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +0 -3
  49. package/dist-types/commands/DescribeScheduledInstanceAvailabilityCommand.d.ts +0 -4
  50. package/dist-types/commands/DescribeScheduledInstancesCommand.d.ts +0 -4
  51. package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +4 -6
  52. package/dist-types/commands/MonitorInstancesCommand.d.ts +1 -2
  53. package/dist-types/commands/PurchaseReservedInstancesOfferingCommand.d.ts +3 -0
  54. package/dist-types/commands/PurchaseScheduledInstancesCommand.d.ts +4 -1
  55. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -1
  56. package/dist-types/commands/RunInstancesCommand.d.ts +1 -2
  57. package/dist-types/models/models_0.d.ts +323 -91
  58. package/dist-types/models/models_1.d.ts +112 -141
  59. package/dist-types/models/models_2.d.ts +125 -148
  60. package/dist-types/models/models_3.d.ts +163 -146
  61. package/dist-types/models/models_4.d.ts +233 -347
  62. package/dist-types/models/models_5.d.ts +45 -43
  63. package/dist-types/models/models_6.d.ts +44 -10
  64. package/dist-types/ts3.4/commands/CreateDefaultVpcCommand.d.ts +2 -4
  65. package/dist-types/ts3.4/commands/CreateDhcpOptionsCommand.d.ts +4 -2
  66. package/dist-types/ts3.4/commands/CreateTrafficMirrorFilterCommand.d.ts +2 -4
  67. package/dist-types/ts3.4/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +4 -2
  68. package/dist-types/ts3.4/commands/DescribeAddressesAttributeCommand.d.ts +1 -1
  69. package/dist-types/ts3.4/commands/DescribeAddressesCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.d.ts +1 -1
  71. package/dist-types/ts3.4/commands/DescribeLocalGatewaysCommand.d.ts +2 -4
  72. package/dist-types/ts3.4/commands/MonitorInstancesCommand.d.ts +4 -2
  73. package/dist-types/ts3.4/models/models_0.d.ts +92 -42
  74. package/dist-types/ts3.4/models/models_1.d.ts +35 -46
  75. package/dist-types/ts3.4/models/models_2.d.ts +47 -40
  76. package/dist-types/ts3.4/models/models_3.d.ts +42 -48
  77. package/dist-types/ts3.4/models/models_4.d.ts +46 -91
  78. package/dist-types/ts3.4/models/models_5.d.ts +19 -21
  79. package/dist-types/ts3.4/models/models_6.d.ts +17 -6
  80. package/package.json +1 -1
@@ -1,4 +1,61 @@
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";
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, Vpc, WeekDay } from "./models_0";
2
+ export interface CreateDefaultVpcResult {
3
+ /**
4
+ * <p>Information about the VPC.</p>
5
+ */
6
+ Vpc?: Vpc;
7
+ }
8
+ /**
9
+ * <p>Describes a DHCP configuration option.</p>
10
+ */
11
+ export interface NewDhcpConfiguration {
12
+ /**
13
+ * <p>The name of a DHCP option.</p>
14
+ */
15
+ Key?: string;
16
+ /**
17
+ * <p>One or more values for the DHCP option.</p>
18
+ */
19
+ Values?: string[];
20
+ }
21
+ export interface CreateDhcpOptionsRequest {
22
+ /**
23
+ * <p>A DHCP configuration option.</p>
24
+ */
25
+ DhcpConfigurations: NewDhcpConfiguration[] | undefined;
26
+ /**
27
+ * <p>The tags to assign to the DHCP option.</p>
28
+ */
29
+ TagSpecifications?: TagSpecification[];
30
+ /**
31
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
32
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
33
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
34
+ */
35
+ DryRun?: boolean;
36
+ }
37
+ /**
38
+ * <p>Describes a value for a resource attribute that is a String.</p>
39
+ */
40
+ export interface AttributeValue {
41
+ /**
42
+ * <p>The attribute value. The value is case-sensitive.</p>
43
+ */
44
+ Value?: string;
45
+ }
46
+ /**
47
+ * <p>Describes a DHCP configuration option.</p>
48
+ */
49
+ export interface DhcpConfiguration {
50
+ /**
51
+ * <p>The name of a DHCP option.</p>
52
+ */
53
+ Key?: string;
54
+ /**
55
+ * <p>One or more values for the DHCP option.</p>
56
+ */
57
+ Values?: AttributeValue[];
58
+ }
2
59
  /**
3
60
  * <p>Describes a set of DHCP options.</p>
4
61
  */
@@ -242,12 +299,12 @@ export interface VCpuCountRangeRequest {
242
299
  /**
243
300
  * <p>The attributes for the instance types. When you specify instance attributes, Amazon EC2 will
244
301
  * identify instance types with these attributes.</p>
245
- * <p>When you specify multiple parameters, you get instance types that satisfy all of the
246
- * specified parameters. If you specify multiple values for a parameter, you get instance
302
+ * <p>When you specify multiple attributes, you get instance types that satisfy all of the
303
+ * specified attributes. If you specify multiple values for an attribute, you get instance
247
304
  * types that satisfy any of the specified values.</p>
248
305
  * <note>
249
- * <p>You must specify <code>VCpuCount</code> and <code>MemoryMiB</code>. All other parameters
250
- * are optional. Any unspecified optional parameter is set to its default.</p>
306
+ * <p>You must specify <code>VCpuCount</code> and <code>MemoryMiB</code>. All other attributes
307
+ * are optional. Any unspecified optional attribute is set to its default.</p>
251
308
  * </note>
252
309
  * <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
253
310
  * placement score</a> in the <i>Amazon EC2 User Guide</i>.</p>
@@ -288,7 +345,8 @@ export interface InstanceRequirementsRequest {
288
345
  */
289
346
  MemoryGiBPerVCpu?: MemoryGiBPerVCpuRequest;
290
347
  /**
291
- * <p>The instance types to exclude. You can use strings with one or more wild cards, represented by
348
+ * <p>The instance types to exclude.</p>
349
+ * <p>You can use strings with one or more wild cards, represented by
292
350
  * an asterisk (<code>*</code>), to exclude an instance family, type, size, or generation. The
293
351
  * following are examples: <code>m5.8xlarge</code>, <code>c5*.*</code>, <code>m5a.*</code>,
294
352
  * <code>r*</code>, <code>*3*</code>.</p>
@@ -506,6 +564,12 @@ export interface InstanceRequirementsRequest {
506
564
  * <li>
507
565
  * <p>For instance types with Xilinx VU9P FPGAs, specify <code> vu9p</code>.</p>
508
566
  * </li>
567
+ * <li>
568
+ * <p>For instance types with Amazon Web Services Inferentia GPUs, specify <code>inferentia</code>.</p>
569
+ * </li>
570
+ * <li>
571
+ * <p>For instance types with NVIDIA GRID K520 GPUs, specify <code>k520</code>.</p>
572
+ * </li>
509
573
  * </ul>
510
574
  * <p>Default: Any accelerator</p>
511
575
  */
@@ -581,7 +645,7 @@ export interface FleetLaunchTemplateOverridesRequest {
581
645
  /**
582
646
  * <p>The instance type.</p>
583
647
  * <note>
584
- * <p>If you specify <code>InstanceTypes</code>, you can't specify
648
+ * <p>If you specify <code>InstanceType</code>, you can't specify
585
649
  * <code>InstanceRequirements</code>.</p>
586
650
  * </note>
587
651
  */
@@ -630,7 +694,7 @@ export interface FleetLaunchTemplateOverridesRequest {
630
694
  * identify instance types with those attributes.</p>
631
695
  * <note>
632
696
  * <p>If you specify <code>InstanceRequirements</code>, you can't specify
633
- * <code>InstanceTypes</code>.</p>
697
+ * <code>InstanceType</code>.</p>
634
698
  * </note>
635
699
  */
636
700
  InstanceRequirements?: InstanceRequirementsRequest;
@@ -794,11 +858,16 @@ export interface FleetSpotMaintenanceStrategiesRequest {
794
858
  */
795
859
  export interface SpotOptionsRequest {
796
860
  /**
797
- * <p>The strategy that determines how to allocate the target Spot Instance capacity across the Spot Instance pools specified by
798
- * the EC2 Fleet.</p>
861
+ * <p>The strategy that determines how to allocate the target Spot Instance capacity across the Spot Instance
862
+ * 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
863
+ * <i>Amazon EC2 User Guide</i>.</p>
799
864
  * <p>
800
- * <code>lowest-price</code> - EC2 Fleet launches instances from
801
- * the Spot Instance pools with the lowest price.</p>
865
+ * <code>lowest-price</code> - EC2 Fleet launches instances from the lowest-price Spot Instance pool that
866
+ * has available capacity. If the cheapest pool doesn't have available capacity, the Spot Instances
867
+ * come from the next cheapest pool that has available capacity. If a pool runs out of
868
+ * capacity before fulfilling your desired capacity, EC2 Fleet will continue to fulfill your
869
+ * request by drawing from the next cheapest pool. To ensure that your desired capacity is
870
+ * met, you might receive Spot Instances from several pools.</p>
802
871
  * <p>
803
872
  * <code>diversified</code> - EC2 Fleet launches instances from all
804
873
  * of the Spot Instance pools that you specify.</p>
@@ -1148,12 +1217,12 @@ export interface VCpuCountRange {
1148
1217
  /**
1149
1218
  * <p>The attributes for the instance types. When you specify instance attributes, Amazon EC2 will
1150
1219
  * identify instance types with these attributes.</p>
1151
- * <p>When you specify multiple parameters, you get instance types that satisfy all of the
1152
- * specified parameters. If you specify multiple values for a parameter, you get instance
1220
+ * <p>When you specify multiple attributes, you get instance types that satisfy all of the
1221
+ * specified attributes. If you specify multiple values for an attribute, you get instance
1153
1222
  * types that satisfy any of the specified values.</p>
1154
1223
  * <note>
1155
- * <p>You must specify <code>VCpuCount</code> and <code>MemoryMiB</code>. All other parameters
1156
- * are optional. Any unspecified optional parameter is set to its default.</p>
1224
+ * <p>You must specify <code>VCpuCount</code> and <code>MemoryMiB</code>. All other attributes
1225
+ * are optional. Any unspecified optional attribute is set to its default.</p>
1157
1226
  * </note>
1158
1227
  * <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
1159
1228
  * placement score</a> in the <i>Amazon EC2 User Guide</i>.</p>
@@ -1194,7 +1263,8 @@ export interface InstanceRequirements {
1194
1263
  */
1195
1264
  MemoryGiBPerVCpu?: MemoryGiBPerVCpu;
1196
1265
  /**
1197
- * <p>The instance types to exclude. You can use strings with one or more wild cards, represented by
1266
+ * <p>The instance types to exclude.</p>
1267
+ * <p>You can use strings with one or more wild cards, represented by
1198
1268
  * an asterisk (<code>*</code>), to exclude an instance type, size, or generation. The
1199
1269
  * following are examples: <code>m5.8xlarge</code>, <code>c5*.*</code>, <code>m5a.*</code>,
1200
1270
  * <code>r*</code>, <code>*3*</code>.</p>
@@ -1413,6 +1483,12 @@ export interface InstanceRequirements {
1413
1483
  * <li>
1414
1484
  * <p>For instance types with Xilinx VU9P FPGAs, specify <code>vu9p</code>.</p>
1415
1485
  * </li>
1486
+ * <li>
1487
+ * <p>For instance types with Amazon Web Services Inferentia GPUs, specify <code>inferentia</code>.</p>
1488
+ * </li>
1489
+ * <li>
1490
+ * <p>For instance types with NVIDIA GRID K520 GPUs, specify <code>k520</code>.</p>
1491
+ * </li>
1416
1492
  * </ul>
1417
1493
  * <p>Default: Any accelerator</p>
1418
1494
  */
@@ -1439,7 +1515,7 @@ export interface FleetLaunchTemplateOverrides {
1439
1515
  /**
1440
1516
  * <p>The instance type.</p>
1441
1517
  * <note>
1442
- * <p>If you specify <code>InstanceTypes</code>, you can't specify
1518
+ * <p>If you specify <code>InstanceType</code>, you can't specify
1443
1519
  * <code>InstanceRequirements</code>.</p>
1444
1520
  * </note>
1445
1521
  */
@@ -1488,7 +1564,7 @@ export interface FleetLaunchTemplateOverrides {
1488
1564
  * identify instance types with those attributes.</p>
1489
1565
  * <note>
1490
1566
  * <p>If you specify <code>InstanceRequirements</code>, you can't specify
1491
- * <code>InstanceTypes</code>.</p>
1567
+ * <code>InstanceType</code>.</p>
1492
1568
  * </note>
1493
1569
  */
1494
1570
  InstanceRequirements?: InstanceRequirements;
@@ -3621,7 +3697,7 @@ export interface RequestLaunchTemplateData {
3621
3697
  * <p>The attributes for the instance types. When you specify instance attributes, Amazon EC2 will
3622
3698
  * identify instance types with these attributes.</p>
3623
3699
  * <p>If you specify <code>InstanceRequirements</code>, you can't specify
3624
- * <code>InstanceTypes</code>.</p>
3700
+ * <code>InstanceType</code>.</p>
3625
3701
  */
3626
3702
  InstanceRequirements?: InstanceRequirementsRequest;
3627
3703
  /**
@@ -7248,115 +7324,26 @@ export interface TrafficMirrorFilterRule {
7248
7324
  */
7249
7325
  Description?: string;
7250
7326
  }
7251
- export declare enum TrafficMirrorNetworkService {
7252
- amazon_dns = "amazon-dns"
7253
- }
7254
7327
  /**
7255
- * <p>Describes the Traffic Mirror filter.</p>
7328
+ * @internal
7256
7329
  */
7257
- export interface TrafficMirrorFilter {
7258
- /**
7259
- * <p>The ID of the Traffic Mirror filter.</p>
7260
- */
7261
- TrafficMirrorFilterId?: string;
7262
- /**
7263
- * <p>Information about the ingress rules that are associated with the Traffic Mirror filter.</p>
7264
- */
7265
- IngressFilterRules?: TrafficMirrorFilterRule[];
7266
- /**
7267
- * <p>Information about the egress rules that are associated with the Traffic Mirror filter.</p>
7268
- */
7269
- EgressFilterRules?: TrafficMirrorFilterRule[];
7270
- /**
7271
- * <p>The network service traffic that is associated with the Traffic Mirror filter.</p>
7272
- */
7273
- NetworkServices?: (TrafficMirrorNetworkService | string)[];
7274
- /**
7275
- * <p>The description of the Traffic Mirror filter.</p>
7276
- */
7277
- Description?: string;
7278
- /**
7279
- * <p>The tags assigned to the Traffic Mirror filter.</p>
7280
- */
7281
- Tags?: Tag[];
7282
- }
7283
- export interface CreateTrafficMirrorFilterResult {
7284
- /**
7285
- * <p>Information about the Traffic Mirror filter.</p>
7286
- */
7287
- TrafficMirrorFilter?: TrafficMirrorFilter;
7288
- /**
7289
- * <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>
7290
- */
7291
- ClientToken?: string;
7292
- }
7330
+ export declare const CreateDefaultVpcResultFilterSensitiveLog: (obj: CreateDefaultVpcResult) => any;
7293
7331
  /**
7294
- * <p>Information about the Traffic Mirror filter rule port range.</p>
7332
+ * @internal
7295
7333
  */
7296
- export interface TrafficMirrorPortRangeRequest {
7297
- /**
7298
- * <p>The first port in the Traffic Mirror port range. This applies to the TCP and UDP protocols.</p>
7299
- */
7300
- FromPort?: number;
7301
- /**
7302
- * <p>The last port in the Traffic Mirror port range. This applies to the TCP and UDP protocols.</p>
7303
- */
7304
- ToPort?: number;
7305
- }
7306
- export interface CreateTrafficMirrorFilterRuleRequest {
7307
- /**
7308
- * <p>The ID of the filter that this rule is associated with.</p>
7309
- */
7310
- TrafficMirrorFilterId: string | undefined;
7311
- /**
7312
- * <p>The type of traffic.</p>
7313
- */
7314
- TrafficDirection: TrafficDirection | string | undefined;
7315
- /**
7316
- * <p>The number of the Traffic Mirror rule. This number must be unique for each Traffic Mirror rule in a given
7317
- * direction. The rules are processed in ascending order by rule number.</p>
7318
- */
7319
- RuleNumber: number | undefined;
7320
- /**
7321
- * <p>The action to take on the filtered traffic.</p>
7322
- */
7323
- RuleAction: TrafficMirrorRuleAction | string | undefined;
7324
- /**
7325
- * <p>The destination port range.</p>
7326
- */
7327
- DestinationPortRange?: TrafficMirrorPortRangeRequest;
7328
- /**
7329
- * <p>The source port range.</p>
7330
- */
7331
- SourcePortRange?: TrafficMirrorPortRangeRequest;
7332
- /**
7333
- * <p>The protocol, for example UDP, to assign to the Traffic Mirror rule.</p>
7334
- * <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>
7335
- */
7336
- Protocol?: number;
7337
- /**
7338
- * <p>The destination CIDR block to assign to the Traffic Mirror rule.</p>
7339
- */
7340
- DestinationCidrBlock: string | undefined;
7341
- /**
7342
- * <p>The source CIDR block to assign to the Traffic Mirror rule.</p>
7343
- */
7344
- SourceCidrBlock: string | undefined;
7345
- /**
7346
- * <p>The description of the Traffic Mirror rule.</p>
7347
- */
7348
- Description?: string;
7349
- /**
7350
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7351
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7352
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7353
- */
7354
- DryRun?: boolean;
7355
- /**
7356
- * <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>
7357
- */
7358
- ClientToken?: string;
7359
- }
7334
+ export declare const NewDhcpConfigurationFilterSensitiveLog: (obj: NewDhcpConfiguration) => any;
7335
+ /**
7336
+ * @internal
7337
+ */
7338
+ export declare const CreateDhcpOptionsRequestFilterSensitiveLog: (obj: CreateDhcpOptionsRequest) => any;
7339
+ /**
7340
+ * @internal
7341
+ */
7342
+ export declare const AttributeValueFilterSensitiveLog: (obj: AttributeValue) => any;
7343
+ /**
7344
+ * @internal
7345
+ */
7346
+ export declare const DhcpConfigurationFilterSensitiveLog: (obj: DhcpConfiguration) => any;
7360
7347
  /**
7361
7348
  * @internal
7362
7349
  */
@@ -8261,19 +8248,3 @@ export declare const TrafficMirrorPortRangeFilterSensitiveLog: (obj: TrafficMirr
8261
8248
  * @internal
8262
8249
  */
8263
8250
  export declare const TrafficMirrorFilterRuleFilterSensitiveLog: (obj: TrafficMirrorFilterRule) => any;
8264
- /**
8265
- * @internal
8266
- */
8267
- export declare const TrafficMirrorFilterFilterSensitiveLog: (obj: TrafficMirrorFilter) => any;
8268
- /**
8269
- * @internal
8270
- */
8271
- export declare const CreateTrafficMirrorFilterResultFilterSensitiveLog: (obj: CreateTrafficMirrorFilterResult) => any;
8272
- /**
8273
- * @internal
8274
- */
8275
- export declare const TrafficMirrorPortRangeRequestFilterSensitiveLog: (obj: TrafficMirrorPortRangeRequest) => any;
8276
- /**
8277
- * @internal
8278
- */
8279
- export declare const CreateTrafficMirrorFilterRuleRequestFilterSensitiveLog: (obj: CreateTrafficMirrorFilterRuleRequest) => any;
@@ -1,5 +1,114 @@
1
- import { AccountAttribute, AccountAttributeName, Address, AddressAttribute, AddressAttributeName, ApplianceModeSupportValue, ByoipCidr, CarrierGateway, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipCidr, CoipPool, DnsSupportValue, DynamicRoutingValue, GatewayType, InstanceEventWindowState, Ipv6SupportValue, Tag, TagSpecification, Tenancy, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VolumeAttachment, Vpc, VpcAttachment, VpcPeeringConnection } from "./models_0";
2
- import { Ipam, IpamPool, IpamScope, LaunchTemplate, LocalGatewayRoute, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, SubnetCidrReservation, TrafficMirrorFilterRule, VolumeType } from "./models_1";
1
+ import { AccountAttribute, AccountAttributeName, ApplianceModeSupportValue, ByoipCidr, CarrierGateway, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipCidr, CoipPool, DnsSupportValue, DynamicRoutingValue, GatewayType, InstanceEventWindowState, Ipv6SupportValue, Tag, TagSpecification, Tenancy, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VolumeAttachment, Vpc, VpcAttachment, VpcPeeringConnection } from "./models_0";
2
+ import { Ipam, IpamPool, IpamScope, LaunchTemplate, LocalGatewayRoute, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, SubnetCidrReservation, TrafficDirection, TrafficMirrorFilterRule, TrafficMirrorRuleAction, VolumeType } from "./models_1";
3
+ export declare enum TrafficMirrorNetworkService {
4
+ amazon_dns = "amazon-dns"
5
+ }
6
+ /**
7
+ * <p>Describes the Traffic Mirror filter.</p>
8
+ */
9
+ export interface TrafficMirrorFilter {
10
+ /**
11
+ * <p>The ID of the Traffic Mirror filter.</p>
12
+ */
13
+ TrafficMirrorFilterId?: string;
14
+ /**
15
+ * <p>Information about the ingress rules that are associated with the Traffic Mirror filter.</p>
16
+ */
17
+ IngressFilterRules?: TrafficMirrorFilterRule[];
18
+ /**
19
+ * <p>Information about the egress rules that are associated with the Traffic Mirror filter.</p>
20
+ */
21
+ EgressFilterRules?: TrafficMirrorFilterRule[];
22
+ /**
23
+ * <p>The network service traffic that is associated with the Traffic Mirror filter.</p>
24
+ */
25
+ NetworkServices?: (TrafficMirrorNetworkService | string)[];
26
+ /**
27
+ * <p>The description of the Traffic Mirror filter.</p>
28
+ */
29
+ Description?: string;
30
+ /**
31
+ * <p>The tags assigned to the Traffic Mirror filter.</p>
32
+ */
33
+ Tags?: Tag[];
34
+ }
35
+ export interface CreateTrafficMirrorFilterResult {
36
+ /**
37
+ * <p>Information about the Traffic Mirror filter.</p>
38
+ */
39
+ TrafficMirrorFilter?: TrafficMirrorFilter;
40
+ /**
41
+ * <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>
42
+ */
43
+ ClientToken?: string;
44
+ }
45
+ /**
46
+ * <p>Information about the Traffic Mirror filter rule port range.</p>
47
+ */
48
+ export interface TrafficMirrorPortRangeRequest {
49
+ /**
50
+ * <p>The first port in the Traffic Mirror port range. This applies to the TCP and UDP protocols.</p>
51
+ */
52
+ FromPort?: number;
53
+ /**
54
+ * <p>The last port in the Traffic Mirror port range. This applies to the TCP and UDP protocols.</p>
55
+ */
56
+ ToPort?: number;
57
+ }
58
+ export interface CreateTrafficMirrorFilterRuleRequest {
59
+ /**
60
+ * <p>The ID of the filter that this rule is associated with.</p>
61
+ */
62
+ TrafficMirrorFilterId: string | undefined;
63
+ /**
64
+ * <p>The type of traffic.</p>
65
+ */
66
+ TrafficDirection: TrafficDirection | string | undefined;
67
+ /**
68
+ * <p>The number of the Traffic Mirror rule. This number must be unique for each Traffic Mirror rule in a given
69
+ * direction. The rules are processed in ascending order by rule number.</p>
70
+ */
71
+ RuleNumber: number | undefined;
72
+ /**
73
+ * <p>The action to take on the filtered traffic.</p>
74
+ */
75
+ RuleAction: TrafficMirrorRuleAction | string | undefined;
76
+ /**
77
+ * <p>The destination port range.</p>
78
+ */
79
+ DestinationPortRange?: TrafficMirrorPortRangeRequest;
80
+ /**
81
+ * <p>The source port range.</p>
82
+ */
83
+ SourcePortRange?: TrafficMirrorPortRangeRequest;
84
+ /**
85
+ * <p>The protocol, for example UDP, to assign to the Traffic Mirror rule.</p>
86
+ * <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>
87
+ */
88
+ Protocol?: number;
89
+ /**
90
+ * <p>The destination CIDR block to assign to the Traffic Mirror rule.</p>
91
+ */
92
+ DestinationCidrBlock: string | undefined;
93
+ /**
94
+ * <p>The source CIDR block to assign to the Traffic Mirror rule.</p>
95
+ */
96
+ SourceCidrBlock: string | undefined;
97
+ /**
98
+ * <p>The description of the Traffic Mirror rule.</p>
99
+ */
100
+ Description?: string;
101
+ /**
102
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
103
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
104
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
105
+ */
106
+ DryRun?: boolean;
107
+ /**
108
+ * <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>
109
+ */
110
+ ClientToken?: string;
111
+ }
3
112
  export interface CreateTrafficMirrorFilterRuleResult {
4
113
  /**
5
114
  * <p>The Traffic Mirror rule.</p>
@@ -4650,133 +4759,21 @@ export interface DescribeAccountAttributesResult {
4650
4759
  AccountAttributes?: AccountAttribute[];
4651
4760
  }
4652
4761
  /**
4653
- * <p>A filter name and value pair that is used to return a more specific list of results from a describe operation.
4654
- * Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs.</p>
4655
- * <p>If you specify multiple filters, the filters are joined with an <code>AND</code>, and the request returns only
4656
- * results that match all of the specified filters.</p>
4762
+ * @internal
4657
4763
  */
4658
- export interface Filter {
4659
- /**
4660
- * <p>The name of the filter. Filter names are case-sensitive.</p>
4661
- */
4662
- Name?: string;
4663
- /**
4664
- * <p>The filter values. Filter values are case-sensitive. If you specify multiple values for a
4665
- * filter, the values are joined with an <code>OR</code>, and the request returns all results
4666
- * that match any of the specified values.</p>
4667
- */
4668
- Values?: string[];
4669
- }
4670
- export interface DescribeAddressesRequest {
4671
- /**
4672
- * <p>One or more filters. Filter names and values are case-sensitive.</p>
4673
- * <ul>
4674
- * <li>
4675
- * <p>
4676
- * <code>allocation-id</code> - [EC2-VPC] The allocation ID for the address.</p>
4677
- * </li>
4678
- * <li>
4679
- * <p>
4680
- * <code>association-id</code> - [EC2-VPC] The association ID for the address.</p>
4681
- * </li>
4682
- * <li>
4683
- * <p>
4684
- * <code>domain</code> - Indicates whether the address is for use in EC2-Classic (<code>standard</code>)
4685
- * or in a VPC (<code>vpc</code>).</p>
4686
- * </li>
4687
- * <li>
4688
- * <p>
4689
- * <code>instance-id</code> - The ID of the instance the address is associated with, if any.</p>
4690
- * </li>
4691
- * <li>
4692
- * <p>
4693
- * <code>network-border-group</code> - A unique set of Availability Zones, Local Zones,
4694
- * or Wavelength Zones from where Amazon Web Services advertises IP addresses. </p>
4695
- * </li>
4696
- * <li>
4697
- * <p>
4698
- * <code>network-interface-id</code> - [EC2-VPC] The ID of the network interface that the address is associated with, if any.</p>
4699
- * </li>
4700
- * <li>
4701
- * <p>
4702
- * <code>network-interface-owner-id</code> - The Amazon Web Services account ID of the owner.</p>
4703
- * </li>
4704
- * <li>
4705
- * <p>
4706
- * <code>private-ip-address</code> - [EC2-VPC] The private IP address associated with the Elastic IP address.</p>
4707
- * </li>
4708
- * <li>
4709
- * <p>
4710
- * <code>public-ip</code> - The Elastic IP address, or the carrier IP address.</p>
4711
- * </li>
4712
- * <li>
4713
- * <p>
4714
- * <code>tag</code>:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value.
4715
- * For example, to find all resources that have a tag with the key <code>Owner</code> and the value <code>TeamA</code>, specify <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the filter value.</p>
4716
- * </li>
4717
- * <li>
4718
- * <p>
4719
- * <code>tag-key</code> - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.</p>
4720
- * </li>
4721
- * </ul>
4722
- */
4723
- Filters?: Filter[];
4724
- /**
4725
- * <p>One or more Elastic IP addresses.</p>
4726
- * <p>Default: Describes all your Elastic IP addresses.</p>
4727
- */
4728
- PublicIps?: string[];
4729
- /**
4730
- * <p>[EC2-VPC] Information about the allocation IDs.</p>
4731
- */
4732
- AllocationIds?: string[];
4733
- /**
4734
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
4735
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
4736
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
4737
- */
4738
- DryRun?: boolean;
4739
- }
4740
- export interface DescribeAddressesResult {
4741
- /**
4742
- * <p>Information about the Elastic IP addresses.</p>
4743
- */
4744
- Addresses?: Address[];
4745
- }
4746
- export interface DescribeAddressesAttributeRequest {
4747
- /**
4748
- * <p>[EC2-VPC] The allocation IDs.</p>
4749
- */
4750
- AllocationIds?: string[];
4751
- /**
4752
- * <p>The attribute of the IP address.</p>
4753
- */
4754
- Attribute?: AddressAttributeName | string;
4755
- /**
4756
- * <p>The token for the next page of results.</p>
4757
- */
4758
- NextToken?: string;
4759
- /**
4760
- * <p>The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
4761
- */
4762
- MaxResults?: number;
4763
- /**
4764
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
4765
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
4766
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
4767
- */
4768
- DryRun?: boolean;
4769
- }
4770
- export interface DescribeAddressesAttributeResult {
4771
- /**
4772
- * <p>Information about the IP addresses.</p>
4773
- */
4774
- Addresses?: AddressAttribute[];
4775
- /**
4776
- * <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
4777
- */
4778
- NextToken?: string;
4779
- }
4764
+ export declare const TrafficMirrorFilterFilterSensitiveLog: (obj: TrafficMirrorFilter) => any;
4765
+ /**
4766
+ * @internal
4767
+ */
4768
+ export declare const CreateTrafficMirrorFilterResultFilterSensitiveLog: (obj: CreateTrafficMirrorFilterResult) => any;
4769
+ /**
4770
+ * @internal
4771
+ */
4772
+ export declare const TrafficMirrorPortRangeRequestFilterSensitiveLog: (obj: TrafficMirrorPortRangeRequest) => any;
4773
+ /**
4774
+ * @internal
4775
+ */
4776
+ export declare const CreateTrafficMirrorFilterRuleRequestFilterSensitiveLog: (obj: CreateTrafficMirrorFilterRuleRequest) => any;
4780
4777
  /**
4781
4778
  * @internal
4782
4779
  */
@@ -5781,23 +5778,3 @@ export declare const DescribeAccountAttributesRequestFilterSensitiveLog: (obj: D
5781
5778
  * @internal
5782
5779
  */
5783
5780
  export declare const DescribeAccountAttributesResultFilterSensitiveLog: (obj: DescribeAccountAttributesResult) => any;
5784
- /**
5785
- * @internal
5786
- */
5787
- export declare const FilterFilterSensitiveLog: (obj: Filter) => any;
5788
- /**
5789
- * @internal
5790
- */
5791
- export declare const DescribeAddressesRequestFilterSensitiveLog: (obj: DescribeAddressesRequest) => any;
5792
- /**
5793
- * @internal
5794
- */
5795
- export declare const DescribeAddressesResultFilterSensitiveLog: (obj: DescribeAddressesResult) => any;
5796
- /**
5797
- * @internal
5798
- */
5799
- export declare const DescribeAddressesAttributeRequestFilterSensitiveLog: (obj: DescribeAddressesAttributeRequest) => any;
5800
- /**
5801
- * @internal
5802
- */
5803
- export declare const DescribeAddressesAttributeResultFilterSensitiveLog: (obj: DescribeAddressesAttributeResult) => any;