@aws-sdk/client-ec2 3.174.0 → 3.177.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/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/DescribeAddressesCommand.js +3 -3
  6. package/dist-cjs/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.js +1 -2
  7. package/dist-cjs/commands/DescribeLocalGatewaysCommand.js +2 -1
  8. package/dist-cjs/models/models_0.js +18 -18
  9. package/dist-cjs/models/models_1.js +17 -17
  10. package/dist-cjs/models/models_2.js +18 -18
  11. package/dist-cjs/models/models_3.js +17 -17
  12. package/dist-cjs/models/models_4.js +13 -13
  13. package/dist-cjs/protocols/Aws_ec2.js +25 -2
  14. package/dist-es/commands/CreateDefaultVpcCommand.js +2 -1
  15. package/dist-es/commands/CreateDhcpOptionsCommand.js +1 -2
  16. package/dist-es/commands/CreateTrafficMirrorFilterCommand.js +2 -1
  17. package/dist-es/commands/DescribeAddressesCommand.js +1 -1
  18. package/dist-es/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.js +1 -2
  19. package/dist-es/commands/DescribeLocalGatewaysCommand.js +2 -1
  20. package/dist-es/models/models_0.js +4 -4
  21. package/dist-es/models/models_1.js +3 -6
  22. package/dist-es/models/models_2.js +6 -3
  23. package/dist-es/models/models_3.js +3 -3
  24. package/dist-es/models/models_4.js +3 -3
  25. package/dist-es/protocols/Aws_ec2.js +25 -2
  26. package/dist-types/EC2.d.ts +28 -17
  27. package/dist-types/commands/AllocateAddressCommand.d.ts +1 -1
  28. package/dist-types/commands/AssociateAddressCommand.d.ts +1 -1
  29. package/dist-types/commands/AssociateEnclaveCertificateIamRoleCommand.d.ts +1 -1
  30. package/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +1 -1
  31. package/dist-types/commands/CreateDefaultVpcCommand.d.ts +2 -1
  32. package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +1 -2
  33. package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +5 -2
  34. package/dist-types/commands/CreateSecurityGroupCommand.d.ts +1 -1
  35. package/dist-types/commands/CreateSnapshotsCommand.d.ts +4 -2
  36. package/dist-types/commands/CreateTrafficMirrorFilterCommand.d.ts +2 -1
  37. package/dist-types/commands/DeleteSecurityGroupCommand.d.ts +1 -1
  38. package/dist-types/commands/DescribeAddressesCommand.d.ts +2 -2
  39. package/dist-types/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.d.ts +1 -2
  40. package/dist-types/commands/DescribeLocalGatewaysCommand.d.ts +2 -1
  41. package/dist-types/commands/DescribeSecurityGroupsCommand.d.ts +1 -1
  42. package/dist-types/commands/DisassociateAddressCommand.d.ts +1 -1
  43. package/dist-types/commands/ImportImageCommand.d.ts +6 -0
  44. package/dist-types/commands/MoveAddressToVpcCommand.d.ts +1 -1
  45. package/dist-types/commands/ReleaseAddressCommand.d.ts +1 -1
  46. package/dist-types/commands/RestoreAddressToClassicCommand.d.ts +1 -1
  47. package/dist-types/commands/RevokeSecurityGroupIngressCommand.d.ts +1 -1
  48. package/dist-types/models/models_0.d.ts +303 -66
  49. package/dist-types/models/models_1.d.ts +85 -75
  50. package/dist-types/models/models_2.d.ts +52 -106
  51. package/dist-types/models/models_3.d.ts +113 -97
  52. package/dist-types/models/models_4.d.ts +166 -283
  53. package/dist-types/models/models_5.d.ts +17 -7
  54. package/dist-types/models/models_6.d.ts +7 -5
  55. package/dist-types/ts3.4/commands/CreateDefaultVpcCommand.d.ts +2 -4
  56. package/dist-types/ts3.4/commands/CreateDhcpOptionsCommand.d.ts +4 -2
  57. package/dist-types/ts3.4/commands/CreateTrafficMirrorFilterCommand.d.ts +2 -4
  58. package/dist-types/ts3.4/commands/DescribeAddressesCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.d.ts +4 -2
  60. package/dist-types/ts3.4/commands/DescribeLocalGatewaysCommand.d.ts +2 -4
  61. package/dist-types/ts3.4/models/models_0.d.ts +81 -29
  62. package/dist-types/ts3.4/models/models_1.d.ts +22 -21
  63. package/dist-types/ts3.4/models/models_2.d.ts +21 -21
  64. package/dist-types/ts3.4/models/models_3.d.ts +22 -30
  65. package/dist-types/ts3.4/models/models_4.d.ts +28 -76
  66. package/dist-types/ts3.4/models/models_5.d.ts +3 -3
  67. package/dist-types/ts3.4/models/models_6.d.ts +1 -1
  68. package/package.json +1 -1
@@ -1,4 +1,39 @@
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";
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
+ }
2
37
  /**
3
38
  * <p>Describes a value for a resource attribute that is a String.</p>
4
39
  */
@@ -530,7 +565,7 @@ export interface InstanceRequirementsRequest {
530
565
  * <p>For instance types with Xilinx VU9P FPGAs, specify <code> vu9p</code>.</p>
531
566
  * </li>
532
567
  * <li>
533
- * <p>For instance types with Amazon Web Services Inferentia GPUs, specify <code>inferentia</code>.</p>
568
+ * <p>For instance types with Amazon Web Services Inferentia chips, specify <code>inferentia</code>.</p>
534
569
  * </li>
535
570
  * <li>
536
571
  * <p>For instance types with NVIDIA GRID K520 GPUs, specify <code>k520</code>.</p>
@@ -1449,7 +1484,7 @@ export interface InstanceRequirements {
1449
1484
  * <p>For instance types with Xilinx VU9P FPGAs, specify <code>vu9p</code>.</p>
1450
1485
  * </li>
1451
1486
  * <li>
1452
- * <p>For instance types with Amazon Web Services Inferentia GPUs, specify <code>inferentia</code>.</p>
1487
+ * <p>For instance types with Amazon Web Services Inferentia chips, specify <code>inferentia</code>.</p>
1453
1488
  * </li>
1454
1489
  * <li>
1455
1490
  * <p>For instance types with NVIDIA GRID K520 GPUs, specify <code>k520</code>.</p>
@@ -3284,7 +3319,7 @@ export interface PrivateIpAddressSpecification {
3284
3319
  */
3285
3320
  Primary?: boolean;
3286
3321
  /**
3287
- * <p>The private IPv4 addresses.</p>
3322
+ * <p>The private IPv4 address.</p>
3288
3323
  */
3289
3324
  PrivateIpAddress?: string;
3290
3325
  }
@@ -3515,7 +3550,7 @@ export interface RequestLaunchTemplateData {
3515
3550
  /**
3516
3551
  * <p>The instance type. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html">Instance types</a> in the
3517
3552
  * <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
3518
- * <p>If you specify <code>InstanceTypes</code>, you can't specify
3553
+ * <p>If you specify <code>InstanceType</code>, you can't specify
3519
3554
  * <code>InstanceRequirements</code>.</p>
3520
3555
  */
3521
3556
  InstanceType?: _InstanceType | string;
@@ -4160,7 +4195,7 @@ export interface LaunchTemplatesMonitoring {
4160
4195
  */
4161
4196
  export interface Ipv4PrefixSpecificationResponse {
4162
4197
  /**
4163
- * <p>One or more IPv4 delegated prefixes assigned to the network interface.</p>
4198
+ * <p>The IPv4 delegated prefixes assigned to the network interface.</p>
4164
4199
  */
4165
4200
  Ipv4Prefix?: string;
4166
4201
  }
@@ -4179,7 +4214,7 @@ export interface InstanceIpv6Address {
4179
4214
  */
4180
4215
  export interface Ipv6PrefixSpecificationResponse {
4181
4216
  /**
4182
- * <p>One or more IPv6 delegated prefixes assigned to the network interface.</p>
4217
+ * <p>The IPv6 delegated prefixes assigned to the network interface.</p>
4183
4218
  */
4184
4219
  Ipv6Prefix?: string;
4185
4220
  }
@@ -5570,9 +5605,6 @@ export declare enum NetworkInterfaceCreationType {
5570
5605
  efa = "efa",
5571
5606
  trunk = "trunk"
5572
5607
  }
5573
- /**
5574
- * <p>Contains the parameters for CreateNetworkInterface.</p>
5575
- */
5576
5608
  export interface CreateNetworkInterfaceRequest {
5577
5609
  /**
5578
5610
  * <p>A description for the network interface.</p>
@@ -5590,14 +5622,17 @@ export interface CreateNetworkInterfaceRequest {
5590
5622
  Groups?: string[];
5591
5623
  /**
5592
5624
  * <p>The number of IPv6 addresses to assign to a network interface. Amazon EC2
5593
- * automatically selects the IPv6 addresses from the subnet range. You can't use this
5594
- * option if specifying specific IPv6 addresses. If your subnet has the <code>AssignIpv6AddressOnCreation</code> attribute set
5595
- * to <code>true</code>, you can specify <code>0</code> to override this setting.</p>
5625
+ * automatically selects the IPv6 addresses from the subnet range.</p>
5626
+ * <p>You can't specify a count of IPv6 addresses using this parameter if you've specified
5627
+ * one of the following: specific IPv6 addresses, specific IPv6 prefixes, or a count of IPv6 prefixes.</p>
5628
+ * <p>If your subnet has the <code>AssignIpv6AddressOnCreation</code> attribute set, you can
5629
+ * override that setting by specifying 0 as the IPv6 address count.</p>
5596
5630
  */
5597
5631
  Ipv6AddressCount?: number;
5598
5632
  /**
5599
- * <p>One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet.
5600
- * You can't use this option if you're specifying a number of IPv6 addresses.</p>
5633
+ * <p>The IPv6 addresses from the IPv6 CIDR block range of your subnet.</p>
5634
+ * <p>You can't specify IPv6 addresses using this parameter if you've specified one of the
5635
+ * following: a count of IPv6 addresses, specific IPv6 prefixes, or a count of IPv6 prefixes.</p>
5601
5636
  */
5602
5637
  Ipv6Addresses?: InstanceIpv6Address[];
5603
5638
  /**
@@ -5609,7 +5644,9 @@ export interface CreateNetworkInterfaceRequest {
5609
5644
  */
5610
5645
  PrivateIpAddress?: string;
5611
5646
  /**
5612
- * <p>One or more private IPv4 addresses.</p>
5647
+ * <p>The private IPv4 addresses.</p>
5648
+ * <p>You can't specify private IPv4 addresses if you've specified one of the following:
5649
+ * a count of private IPv4 addresses, specific IPv4 prefixes, or a count of IPv4 prefixes.</p>
5613
5650
  */
5614
5651
  PrivateIpAddresses?: PrivateIpAddressSpecification[];
5615
5652
  /**
@@ -5617,30 +5654,38 @@ export interface CreateNetworkInterfaceRequest {
5617
5654
  * you specify a number of secondary IPv4 addresses, Amazon EC2 selects these IP addresses
5618
5655
  * within the subnet's IPv4 CIDR range. You can't specify this option and specify more than
5619
5656
  * one private IP address using <code>privateIpAddresses</code>.</p>
5620
- * <p>The number of IP addresses you can assign to a network interface varies by instance
5621
- * type. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html#AvailableIpPerENI">IP Addresses Per ENI Per
5622
- * Instance Type</a> in the <i>Amazon Virtual Private Cloud User Guide</i>.</p>
5657
+ * <p>You can't specify a count of private IPv4 addresses if you've specified one of the following:
5658
+ * specific private IPv4 addresses, specific IPv4 prefixes, or a count of IPv4 prefixes.</p>
5623
5659
  */
5624
5660
  SecondaryPrivateIpAddressCount?: number;
5625
5661
  /**
5626
- * <p>One or more IPv4 prefixes assigned to the network interface. You cannot use this option if you use the <code>Ipv4PrefixCount</code> option.</p>
5662
+ * <p>The IPv4 prefixes assigned to the network interface.</p>
5663
+ * <p>You can't specify IPv4 prefixes if you've specified one of the following:
5664
+ * a count of IPv4 prefixes, specific private IPv4 addresses, or a count of private IPv4 addresses.</p>
5627
5665
  */
5628
5666
  Ipv4Prefixes?: Ipv4PrefixSpecificationRequest[];
5629
5667
  /**
5630
- * <p>The number of IPv4 prefixes that Amazon Web Services automatically assigns to the network interface. You cannot use this option if you use the <code>Ipv4 Prefixes</code> option.</p>
5668
+ * <p>The number of IPv4 prefixes that Amazon Web Services automatically assigns to the network interface.</p>
5669
+ * <p>You can't specify a count of IPv4 prefixes if you've specified one of the following:
5670
+ * specific IPv4 prefixes, specific private IPv4 addresses, or a count of private IPv4
5671
+ * addresses.</p>
5631
5672
  */
5632
5673
  Ipv4PrefixCount?: number;
5633
5674
  /**
5634
- * <p>One or more IPv6 prefixes assigned to the network interface. You cannot use this option if you use the <code>Ipv6PrefixCount</code> option.</p>
5675
+ * <p>The IPv6 prefixes assigned to the network interface.</p>
5676
+ * <p>You can't specify IPv6 prefixes if you've specified one of the following:
5677
+ * a count of IPv6 prefixes, specific IPv6 addresses, or a count of IPv6 addresses.</p>
5635
5678
  */
5636
5679
  Ipv6Prefixes?: Ipv6PrefixSpecificationRequest[];
5637
5680
  /**
5638
- * <p>The number of IPv6 prefixes that Amazon Web Services automatically assigns to the network interface. You cannot use this option if you use the <code>Ipv6Prefixes</code> option.</p>
5681
+ * <p>The number of IPv6 prefixes that Amazon Web Services automatically assigns to the network interface.</p>
5682
+ * <p>You can't specify a count of IPv6 prefixes if you've specified one of the following:
5683
+ * specific IPv6 prefixes, specific IPv6 addresses, or a count of IPv6 addresses.</p>
5639
5684
  */
5640
5685
  Ipv6PrefixCount?: number;
5641
5686
  /**
5642
5687
  * <p>The type of network interface. The default is <code>interface</code>.</p>
5643
- * <p>The only supported values are <code>efa</code> and <code>trunk</code>.</p>
5688
+ * <p>The only supported values are <code>efa</code> and <code>trunk</code>.</p>
5644
5689
  */
5645
5690
  InterfaceType?: NetworkInterfaceCreationType | string;
5646
5691
  /**
@@ -5921,9 +5966,6 @@ export interface NetworkInterface {
5921
5966
  */
5922
5967
  Ipv6Address?: string;
5923
5968
  }
5924
- /**
5925
- * <p>Contains the output of CreateNetworkInterface.</p>
5926
- */
5927
5969
  export interface CreateNetworkInterfaceResult {
5928
5970
  /**
5929
5971
  * <p>Information about the network interface.</p>
@@ -6799,6 +6841,12 @@ export interface InstanceSpecification {
6799
6841
  * <p>Excludes the root volume from being snapshotted.</p>
6800
6842
  */
6801
6843
  ExcludeBootVolume?: boolean;
6844
+ /**
6845
+ * <p>The IDs of the data (non-root) volumes to exclude from the multi-volume snapshot set.
6846
+ * If you specify the ID of the root volume, the request fails. To exclude the root volume,
6847
+ * use <b>ExcludeBootVolume</b>.</p>
6848
+ * <p>You can specify up to 40 volume IDs per request.</p>
6849
+ */
6802
6850
  ExcludeDataVolumeIds?: string[];
6803
6851
  }
6804
6852
  export interface CreateSnapshotsRequest {
@@ -7289,48 +7337,18 @@ export interface TrafficMirrorFilterRule {
7289
7337
  */
7290
7338
  Description?: string;
7291
7339
  }
7292
- export declare enum TrafficMirrorNetworkService {
7293
- amazon_dns = "amazon-dns"
7294
- }
7295
7340
  /**
7296
- * <p>Describes the Traffic Mirror filter.</p>
7341
+ * @internal
7297
7342
  */
7298
- export interface TrafficMirrorFilter {
7299
- /**
7300
- * <p>The ID of the Traffic Mirror filter.</p>
7301
- */
7302
- TrafficMirrorFilterId?: string;
7303
- /**
7304
- * <p>Information about the ingress rules that are associated with the Traffic Mirror filter.</p>
7305
- */
7306
- IngressFilterRules?: TrafficMirrorFilterRule[];
7307
- /**
7308
- * <p>Information about the egress rules that are associated with the Traffic Mirror filter.</p>
7309
- */
7310
- EgressFilterRules?: TrafficMirrorFilterRule[];
7311
- /**
7312
- * <p>The network service traffic that is associated with the Traffic Mirror filter.</p>
7313
- */
7314
- NetworkServices?: (TrafficMirrorNetworkService | string)[];
7315
- /**
7316
- * <p>The description of the Traffic Mirror filter.</p>
7317
- */
7318
- Description?: string;
7319
- /**
7320
- * <p>The tags assigned to the Traffic Mirror filter.</p>
7321
- */
7322
- Tags?: Tag[];
7323
- }
7324
- export interface CreateTrafficMirrorFilterResult {
7325
- /**
7326
- * <p>Information about the Traffic Mirror filter.</p>
7327
- */
7328
- TrafficMirrorFilter?: TrafficMirrorFilter;
7329
- /**
7330
- * <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>
7331
- */
7332
- ClientToken?: string;
7333
- }
7343
+ export declare const CreateDefaultVpcResultFilterSensitiveLog: (obj: CreateDefaultVpcResult) => any;
7344
+ /**
7345
+ * @internal
7346
+ */
7347
+ export declare const NewDhcpConfigurationFilterSensitiveLog: (obj: NewDhcpConfiguration) => any;
7348
+ /**
7349
+ * @internal
7350
+ */
7351
+ export declare const CreateDhcpOptionsRequestFilterSensitiveLog: (obj: CreateDhcpOptionsRequest) => any;
7334
7352
  /**
7335
7353
  * @internal
7336
7354
  */
@@ -8243,11 +8261,3 @@ export declare const TrafficMirrorPortRangeFilterSensitiveLog: (obj: TrafficMirr
8243
8261
  * @internal
8244
8262
  */
8245
8263
  export declare const TrafficMirrorFilterRuleFilterSensitiveLog: (obj: TrafficMirrorFilterRule) => any;
8246
- /**
8247
- * @internal
8248
- */
8249
- export declare const TrafficMirrorFilterFilterSensitiveLog: (obj: TrafficMirrorFilter) => any;
8250
- /**
8251
- * @internal
8252
- */
8253
- export declare const CreateTrafficMirrorFilterResultFilterSensitiveLog: (obj: CreateTrafficMirrorFilterResult) => any;
@@ -1,5 +1,47 @@
1
- import { AccountAttribute, AccountAttributeName, Address, 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";
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
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
+ }
3
45
  /**
4
46
  * <p>Information about the Traffic Mirror filter rule port range.</p>
5
47
  */
@@ -3923,7 +3965,9 @@ export interface DeleteSecurityGroupRequest {
3923
3965
  */
3924
3966
  GroupId?: string;
3925
3967
  /**
3926
- * <p>[EC2-Classic, default VPC] The name of the security group. You can specify either the security group name or the security group ID.</p>
3968
+ * <p>[EC2-Classic, default VPC] The name of the security group. You can specify either the
3969
+ * security group name or the security group ID. For security groups in a nondefault VPC,
3970
+ * you must specify the security group ID.</p>
3927
3971
  */
3928
3972
  GroupName?: string;
3929
3973
  /**
@@ -4717,99 +4761,13 @@ export interface DescribeAccountAttributesResult {
4717
4761
  AccountAttributes?: AccountAttribute[];
4718
4762
  }
4719
4763
  /**
4720
- * <p>A filter name and value pair that is used to return a more specific list of results from a describe operation.
4721
- * Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs.</p>
4722
- * <p>If you specify multiple filters, the filters are joined with an <code>AND</code>, and the request returns only
4723
- * results that match all of the specified filters.</p>
4764
+ * @internal
4724
4765
  */
4725
- export interface Filter {
4726
- /**
4727
- * <p>The name of the filter. Filter names are case-sensitive.</p>
4728
- */
4729
- Name?: string;
4730
- /**
4731
- * <p>The filter values. Filter values are case-sensitive. If you specify multiple values for a
4732
- * filter, the values are joined with an <code>OR</code>, and the request returns all results
4733
- * that match any of the specified values.</p>
4734
- */
4735
- Values?: string[];
4736
- }
4737
- export interface DescribeAddressesRequest {
4738
- /**
4739
- * <p>One or more filters. Filter names and values are case-sensitive.</p>
4740
- * <ul>
4741
- * <li>
4742
- * <p>
4743
- * <code>allocation-id</code> - [EC2-VPC] The allocation ID for the address.</p>
4744
- * </li>
4745
- * <li>
4746
- * <p>
4747
- * <code>association-id</code> - [EC2-VPC] The association ID for the address.</p>
4748
- * </li>
4749
- * <li>
4750
- * <p>
4751
- * <code>domain</code> - Indicates whether the address is for use in EC2-Classic (<code>standard</code>)
4752
- * or in a VPC (<code>vpc</code>).</p>
4753
- * </li>
4754
- * <li>
4755
- * <p>
4756
- * <code>instance-id</code> - The ID of the instance the address is associated with, if any.</p>
4757
- * </li>
4758
- * <li>
4759
- * <p>
4760
- * <code>network-border-group</code> - A unique set of Availability Zones, Local Zones,
4761
- * or Wavelength Zones from where Amazon Web Services advertises IP addresses. </p>
4762
- * </li>
4763
- * <li>
4764
- * <p>
4765
- * <code>network-interface-id</code> - [EC2-VPC] The ID of the network interface that the address is associated with, if any.</p>
4766
- * </li>
4767
- * <li>
4768
- * <p>
4769
- * <code>network-interface-owner-id</code> - The Amazon Web Services account ID of the owner.</p>
4770
- * </li>
4771
- * <li>
4772
- * <p>
4773
- * <code>private-ip-address</code> - [EC2-VPC] The private IP address associated with the Elastic IP address.</p>
4774
- * </li>
4775
- * <li>
4776
- * <p>
4777
- * <code>public-ip</code> - The Elastic IP address, or the carrier IP address.</p>
4778
- * </li>
4779
- * <li>
4780
- * <p>
4781
- * <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.
4782
- * 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>
4783
- * </li>
4784
- * <li>
4785
- * <p>
4786
- * <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>
4787
- * </li>
4788
- * </ul>
4789
- */
4790
- Filters?: Filter[];
4791
- /**
4792
- * <p>One or more Elastic IP addresses.</p>
4793
- * <p>Default: Describes all your Elastic IP addresses.</p>
4794
- */
4795
- PublicIps?: string[];
4796
- /**
4797
- * <p>[EC2-VPC] Information about the allocation IDs.</p>
4798
- */
4799
- AllocationIds?: string[];
4800
- /**
4801
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
4802
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
4803
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
4804
- */
4805
- DryRun?: boolean;
4806
- }
4807
- export interface DescribeAddressesResult {
4808
- /**
4809
- * <p>Information about the Elastic IP addresses.</p>
4810
- */
4811
- Addresses?: Address[];
4812
- }
4766
+ export declare const TrafficMirrorFilterFilterSensitiveLog: (obj: TrafficMirrorFilter) => any;
4767
+ /**
4768
+ * @internal
4769
+ */
4770
+ export declare const CreateTrafficMirrorFilterResultFilterSensitiveLog: (obj: CreateTrafficMirrorFilterResult) => any;
4813
4771
  /**
4814
4772
  * @internal
4815
4773
  */
@@ -5822,15 +5780,3 @@ export declare const DescribeAccountAttributesRequestFilterSensitiveLog: (obj: D
5822
5780
  * @internal
5823
5781
  */
5824
5782
  export declare const DescribeAccountAttributesResultFilterSensitiveLog: (obj: DescribeAccountAttributesResult) => any;
5825
- /**
5826
- * @internal
5827
- */
5828
- export declare const FilterFilterSensitiveLog: (obj: Filter) => any;
5829
- /**
5830
- * @internal
5831
- */
5832
- export declare const DescribeAddressesRequestFilterSensitiveLog: (obj: DescribeAddressesRequest) => any;
5833
- /**
5834
- * @internal
5835
- */
5836
- export declare const DescribeAddressesResultFilterSensitiveLog: (obj: DescribeAddressesResult) => any;