@aws-sdk/client-ec2 3.592.0 → 3.596.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 (126) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/index.js +126 -8
  3. package/dist-es/EC2.js +2 -0
  4. package/dist-es/commands/DescribeTrafficMirrorFilterRulesCommand.js +24 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/models_0.js +1 -0
  7. package/dist-es/models/models_5.js +0 -7
  8. package/dist-es/models/models_6.js +7 -0
  9. package/dist-es/protocols/Aws_ec2.js +102 -0
  10. package/dist-types/EC2.d.ts +8 -0
  11. package/dist-types/EC2Client.d.ts +3 -2
  12. package/dist-types/commands/AcceptAddressTransferCommand.d.ts +1 -1
  13. package/dist-types/commands/AllocateAddressCommand.d.ts +1 -1
  14. package/dist-types/commands/AllocateHostsCommand.d.ts +1 -1
  15. package/dist-types/commands/AssociateIpamResourceDiscoveryCommand.d.ts +1 -1
  16. package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +1 -1
  17. package/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +1 -1
  18. package/dist-types/commands/CopyImageCommand.d.ts +1 -1
  19. package/dist-types/commands/CopySnapshotCommand.d.ts +1 -1
  20. package/dist-types/commands/CreateCapacityReservationCommand.d.ts +1 -1
  21. package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +1 -1
  22. package/dist-types/commands/CreateCarrierGatewayCommand.d.ts +1 -1
  23. package/dist-types/commands/CreateClientVpnEndpointCommand.d.ts +1 -1
  24. package/dist-types/commands/CreateCoipPoolCommand.d.ts +1 -1
  25. package/dist-types/commands/CreateCustomerGatewayCommand.d.ts +1 -1
  26. package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +1 -1
  27. package/dist-types/commands/CreateEgressOnlyInternetGatewayCommand.d.ts +1 -1
  28. package/dist-types/commands/CreateFleetCommand.d.ts +1 -1
  29. package/dist-types/commands/CreateFlowLogsCommand.d.ts +1 -1
  30. package/dist-types/commands/CreateFpgaImageCommand.d.ts +1 -1
  31. package/dist-types/commands/CreateImageCommand.d.ts +1 -1
  32. package/dist-types/commands/CreateInstanceConnectEndpointCommand.d.ts +1 -1
  33. package/dist-types/commands/CreateInstanceEventWindowCommand.d.ts +1 -1
  34. package/dist-types/commands/CreateInstanceExportTaskCommand.d.ts +1 -1
  35. package/dist-types/commands/CreateInternetGatewayCommand.d.ts +1 -1
  36. package/dist-types/commands/CreateIpamCommand.d.ts +1 -1
  37. package/dist-types/commands/CreateIpamPoolCommand.d.ts +1 -1
  38. package/dist-types/commands/CreateIpamResourceDiscoveryCommand.d.ts +1 -1
  39. package/dist-types/commands/CreateIpamScopeCommand.d.ts +1 -1
  40. package/dist-types/commands/CreateKeyPairCommand.d.ts +1 -1
  41. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +2 -2
  42. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
  43. package/dist-types/commands/CreateLocalGatewayRouteTableCommand.d.ts +1 -1
  44. package/dist-types/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +1 -1
  45. package/dist-types/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.d.ts +1 -1
  46. package/dist-types/commands/CreateManagedPrefixListCommand.d.ts +1 -1
  47. package/dist-types/commands/CreateNatGatewayCommand.d.ts +1 -1
  48. package/dist-types/commands/CreateNetworkAclCommand.d.ts +1 -1
  49. package/dist-types/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +1 -1
  50. package/dist-types/commands/CreateNetworkInsightsPathCommand.d.ts +1 -1
  51. package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +1 -1
  52. package/dist-types/commands/CreatePlacementGroupCommand.d.ts +1 -1
  53. package/dist-types/commands/CreatePublicIpv4PoolCommand.d.ts +1 -1
  54. package/dist-types/commands/CreateReplaceRootVolumeTaskCommand.d.ts +1 -1
  55. package/dist-types/commands/CreateRestoreImageTaskCommand.d.ts +1 -1
  56. package/dist-types/commands/CreateRouteTableCommand.d.ts +1 -1
  57. package/dist-types/commands/CreateSecurityGroupCommand.d.ts +1 -1
  58. package/dist-types/commands/CreateSnapshotCommand.d.ts +1 -1
  59. package/dist-types/commands/CreateSnapshotsCommand.d.ts +1 -1
  60. package/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +1 -1
  61. package/dist-types/commands/CreateSubnetCommand.d.ts +1 -1
  62. package/dist-types/commands/CreateTrafficMirrorFilterCommand.d.ts +18 -5
  63. package/dist-types/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +17 -0
  64. package/dist-types/commands/CreateTrafficMirrorSessionCommand.d.ts +1 -1
  65. package/dist-types/commands/CreateTrafficMirrorTargetCommand.d.ts +1 -1
  66. package/dist-types/commands/CreateTransitGatewayCommand.d.ts +1 -1
  67. package/dist-types/commands/CreateTransitGatewayConnectCommand.d.ts +1 -1
  68. package/dist-types/commands/CreateTransitGatewayConnectPeerCommand.d.ts +1 -1
  69. package/dist-types/commands/CreateTransitGatewayMulticastDomainCommand.d.ts +1 -1
  70. package/dist-types/commands/CreateTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
  71. package/dist-types/commands/CreateTransitGatewayPolicyTableCommand.d.ts +1 -1
  72. package/dist-types/commands/CreateTransitGatewayRouteTableAnnouncementCommand.d.ts +1 -1
  73. package/dist-types/commands/CreateTransitGatewayRouteTableCommand.d.ts +1 -1
  74. package/dist-types/commands/CreateTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  75. package/dist-types/commands/CreateVerifiedAccessEndpointCommand.d.ts +1 -1
  76. package/dist-types/commands/CreateVerifiedAccessGroupCommand.d.ts +1 -1
  77. package/dist-types/commands/CreateVerifiedAccessInstanceCommand.d.ts +1 -1
  78. package/dist-types/commands/CreateVerifiedAccessTrustProviderCommand.d.ts +1 -1
  79. package/dist-types/commands/CreateVolumeCommand.d.ts +1 -1
  80. package/dist-types/commands/CreateVpcCommand.d.ts +1 -1
  81. package/dist-types/commands/CreateVpcEndpointCommand.d.ts +1 -1
  82. package/dist-types/commands/CreateVpcEndpointServiceConfigurationCommand.d.ts +1 -1
  83. package/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +1 -1
  84. package/dist-types/commands/CreateVpnConnectionCommand.d.ts +1 -1
  85. package/dist-types/commands/CreateVpnGatewayCommand.d.ts +1 -1
  86. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  87. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +2 -2
  88. package/dist-types/commands/DescribeTagsCommand.d.ts +1 -1
  89. package/dist-types/commands/DescribeTrafficMirrorFilterRulesCommand.d.ts +101 -0
  90. package/dist-types/commands/DescribeTrafficMirrorFiltersCommand.d.ts +14 -2
  91. package/dist-types/commands/ExportImageCommand.d.ts +1 -1
  92. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
  93. package/dist-types/commands/ImportImageCommand.d.ts +1 -1
  94. package/dist-types/commands/ImportKeyPairCommand.d.ts +1 -1
  95. package/dist-types/commands/ImportSnapshotCommand.d.ts +1 -1
  96. package/dist-types/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.d.ts +14 -2
  97. package/dist-types/commands/ModifyTrafficMirrorFilterRuleCommand.d.ts +6 -0
  98. package/dist-types/commands/ProvisionByoipCidrCommand.d.ts +1 -1
  99. package/dist-types/commands/ProvisionIpamByoasnCommand.d.ts +1 -2
  100. package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +1 -1
  101. package/dist-types/commands/PurchaseHostReservationCommand.d.ts +1 -1
  102. package/dist-types/commands/RegisterImageCommand.d.ts +1 -1
  103. package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
  104. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -1
  105. package/dist-types/commands/RunInstancesCommand.d.ts +1 -1
  106. package/dist-types/commands/StartNetworkInsightsAccessScopeAnalysisCommand.d.ts +1 -1
  107. package/dist-types/commands/StartNetworkInsightsAnalysisCommand.d.ts +1 -1
  108. package/dist-types/commands/index.d.ts +1 -0
  109. package/dist-types/models/models_0.d.ts +1 -0
  110. package/dist-types/models/models_2.d.ts +20 -10
  111. package/dist-types/models/models_5.d.ts +92 -78
  112. package/dist-types/models/models_6.d.ts +82 -46
  113. package/dist-types/models/models_7.d.ts +44 -0
  114. package/dist-types/protocols/Aws_ec2.d.ts +9 -0
  115. package/dist-types/ts3.4/EC2.d.ts +18 -0
  116. package/dist-types/ts3.4/EC2Client.d.ts +6 -0
  117. package/dist-types/ts3.4/commands/DescribeTrafficMirrorFilterRulesCommand.d.ts +40 -0
  118. package/dist-types/ts3.4/commands/ProvisionIpamByoasnCommand.d.ts +4 -2
  119. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  120. package/dist-types/ts3.4/models/models_0.d.ts +1 -0
  121. package/dist-types/ts3.4/models/models_2.d.ts +2 -0
  122. package/dist-types/ts3.4/models/models_5.d.ts +13 -22
  123. package/dist-types/ts3.4/models/models_6.d.ts +22 -11
  124. package/dist-types/ts3.4/models/models_7.d.ts +10 -0
  125. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
  126. package/package.json +4 -4
@@ -1,6 +1,6 @@
1
1
  import { _InstanceType, AddressTransfer, AllowedPrincipal, AsnAssociation, AssociationStatus, CapacityReservationState, CurrencyCodeValues, IamInstanceProfileAssociation, InstanceEventWindow, IpamResourceDiscoveryAssociation, NatGatewayAddress, ResourceType, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, TransitGatewayAssociation, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayPolicyTableAssociation, TransitGatewayVpcAttachment, TrunkInterfaceAssociation, UserIdGroupPair, VerifiedAccessInstance, VerifiedAccessTrustProvider, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, VpcPeeringConnection } from "./models_0";
2
2
  import { DiskImageFormat, InstanceRequirementsRequest, Subnet, VolumeType, Vpc } from "./models_1";
3
- import { ConnectionNotification, DnsEntry, DnsNameState, IpAddressType, PayerResponsibility, ServiceConfiguration, ServiceConnectivityType, ServiceTypeDetail, SSEType, State, TrafficMirrorFilter, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, Volume, VpcEndpoint, VpnConnection, VpnGateway } from "./models_2";
3
+ import { ConnectionNotification, DnsEntry, DnsNameState, IpAddressType, PayerResponsibility, ServiceConfiguration, ServiceConnectivityType, ServiceTypeDetail, SSEType, State, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, Volume, VpcEndpoint, VpnConnection, VpnGateway } from "./models_2";
4
4
  import { ExportTaskS3Location, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchResourceType, FastLaunchSnapshotConfigurationResponse, FastLaunchStateCode, FastSnapshotRestoreStateCode, Filter, MetricType, PaymentOption, PeriodType, ProductCode, StatisticType, VirtualizationType } from "./models_3";
5
5
  import { ArchitectureType, AttributeBooleanValue, HttpTokensState, InstanceMetadataEndpointState, InstanceMetadataTagsState, RIProductDescription } from "./models_4";
6
6
  /**
@@ -667,6 +667,97 @@ export interface DescribeTagsResult {
667
667
  */
668
668
  Tags?: TagDescription[];
669
669
  }
670
+ /**
671
+ * @public
672
+ */
673
+ export interface DescribeTrafficMirrorFilterRulesRequest {
674
+ /**
675
+ * <p>Traffic filter rule IDs.</p>
676
+ * @public
677
+ */
678
+ TrafficMirrorFilterRuleIds?: string[];
679
+ /**
680
+ * <p>Traffic filter ID.</p>
681
+ * @public
682
+ */
683
+ TrafficMirrorFilterId?: string;
684
+ /**
685
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
686
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
687
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
688
+ * @public
689
+ */
690
+ DryRun?: boolean;
691
+ /**
692
+ * <p>Traffic mirror filters.</p>
693
+ * <ul>
694
+ * <li>
695
+ * <p>
696
+ * <code>traffic-mirror-filter-rule-id</code>: The ID of the Traffic Mirror rule.</p>
697
+ * </li>
698
+ * <li>
699
+ * <p>
700
+ * <code>traffic-mirror-filter-id</code>: The ID of the filter that this rule is associated with.</p>
701
+ * </li>
702
+ * <li>
703
+ * <p>
704
+ * <code>rule-number</code>: The number of the Traffic Mirror rule.</p>
705
+ * </li>
706
+ * <li>
707
+ * <p>
708
+ * <code>rule-action</code>: The action taken on the filtered traffic. Possible actions are <code>accept</code> and <code>reject</code>.</p>
709
+ * </li>
710
+ * <li>
711
+ * <p>
712
+ * <code>traffic-direction</code>: The traffic direction. Possible directions are <code>ingress</code> and <code>egress</code>.</p>
713
+ * </li>
714
+ * <li>
715
+ * <p>
716
+ * <code>protocol</code>: The protocol, for example UDP, assigned to the Traffic Mirror rule.</p>
717
+ * </li>
718
+ * <li>
719
+ * <p>
720
+ * <code>source-cidr-block</code>: The source CIDR block assigned to the Traffic Mirror rule.</p>
721
+ * </li>
722
+ * <li>
723
+ * <p>
724
+ * <code>destination-cidr-block</code>: The destination CIDR block assigned to the Traffic Mirror rule.</p>
725
+ * </li>
726
+ * <li>
727
+ * <p>
728
+ * <code>description</code>: The description of the Traffic Mirror rule.</p>
729
+ * </li>
730
+ * </ul>
731
+ * @public
732
+ */
733
+ Filters?: Filter[];
734
+ /**
735
+ * <p>The maximum number of results to return with a single call.
736
+ * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
737
+ * @public
738
+ */
739
+ MaxResults?: number;
740
+ /**
741
+ * <p>The token for the next page of results.</p>
742
+ * @public
743
+ */
744
+ NextToken?: string;
745
+ }
746
+ /**
747
+ * @public
748
+ */
749
+ export interface DescribeTrafficMirrorFilterRulesResult {
750
+ /**
751
+ * <p>Traffic mirror rules.</p>
752
+ * @public
753
+ */
754
+ TrafficMirrorFilterRules?: TrafficMirrorFilterRule[];
755
+ /**
756
+ * <p>The token to use to retrieve the next page of results. The value is <code>null</code> when there are no more results to return.</p>
757
+ * @public
758
+ */
759
+ NextToken?: string;
760
+ }
670
761
  /**
671
762
  * @public
672
763
  */
@@ -7701,83 +7792,6 @@ export declare const IpamOverlapStatus: {
7701
7792
  * @public
7702
7793
  */
7703
7794
  export type IpamOverlapStatus = (typeof IpamOverlapStatus)[keyof typeof IpamOverlapStatus];
7704
- /**
7705
- * @public
7706
- * @enum
7707
- */
7708
- export declare const IpamAddressHistoryResourceType: {
7709
- readonly eip: "eip";
7710
- readonly instance: "instance";
7711
- readonly network_interface: "network-interface";
7712
- readonly subnet: "subnet";
7713
- readonly vpc: "vpc";
7714
- };
7715
- /**
7716
- * @public
7717
- */
7718
- export type IpamAddressHistoryResourceType = (typeof IpamAddressHistoryResourceType)[keyof typeof IpamAddressHistoryResourceType];
7719
- /**
7720
- * <p>The historical record of a CIDR within an IPAM scope. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/ipam/view-history-cidr-ipam.html">View the history of IP addresses</a> in the <i>Amazon VPC IPAM User Guide</i>.
7721
- * </p>
7722
- * @public
7723
- */
7724
- export interface IpamAddressHistoryRecord {
7725
- /**
7726
- * <p>The ID of the resource owner.</p>
7727
- * @public
7728
- */
7729
- ResourceOwnerId?: string;
7730
- /**
7731
- * <p>The Amazon Web Services Region of the resource.</p>
7732
- * @public
7733
- */
7734
- ResourceRegion?: string;
7735
- /**
7736
- * <p>The type of the resource.</p>
7737
- * @public
7738
- */
7739
- ResourceType?: IpamAddressHistoryResourceType;
7740
- /**
7741
- * <p>The ID of the resource.</p>
7742
- * @public
7743
- */
7744
- ResourceId?: string;
7745
- /**
7746
- * <p>The CIDR of the resource.</p>
7747
- * @public
7748
- */
7749
- ResourceCidr?: string;
7750
- /**
7751
- * <p>The name of the resource.</p>
7752
- * @public
7753
- */
7754
- ResourceName?: string;
7755
- /**
7756
- * <p>The compliance status of a resource. For more information on compliance statuses, see <a href="https://docs.aws.amazon.com/vpc/latest/ipam/monitor-cidr-compliance-ipam.html">Monitor CIDR usage by resource</a> in the <i>Amazon VPC IPAM User Guide</i>.</p>
7757
- * @public
7758
- */
7759
- ResourceComplianceStatus?: IpamComplianceStatus;
7760
- /**
7761
- * <p>The overlap status of an IPAM resource. The overlap status tells you if the CIDR for a resource overlaps with another CIDR in the scope. For more information on overlap statuses, see <a href="https://docs.aws.amazon.com/vpc/latest/ipam/monitor-cidr-compliance-ipam.html">Monitor CIDR usage by resource</a> in the <i>Amazon VPC IPAM User Guide</i>.</p>
7762
- * @public
7763
- */
7764
- ResourceOverlapStatus?: IpamOverlapStatus;
7765
- /**
7766
- * <p>The VPC ID of the resource.</p>
7767
- * @public
7768
- */
7769
- VpcId?: string;
7770
- /**
7771
- * <p>Sampled start time of the resource-to-CIDR association within the IPAM scope. Changes are picked up in periodic snapshots, so the start time may have occurred before this specific time.</p>
7772
- * @public
7773
- */
7774
- SampledStartTime?: Date;
7775
- /**
7776
- * <p>Sampled end time of the resource-to-CIDR association within the IPAM scope. Changes are picked up in periodic snapshots, so the end time may have occurred before this specific time.</p>
7777
- * @public
7778
- */
7779
- SampledEndTime?: Date;
7780
- }
7781
7795
  /**
7782
7796
  * @internal
7783
7797
  */
@@ -3,7 +3,84 @@ import { AttributeValue, CapacityReservationPreference, CapacityReservationTarge
3
3
  import { AutoAcceptSharedAttachmentsValue, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DnsOptionsSpecification, IKEVersionsRequestListValue, IpAddressType, PayerResponsibility, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, SubnetCidrReservation, SubnetConfiguration, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorPortRangeRequest, TrafficMirrorRuleAction, TrafficMirrorSession, TransitGateway, TransitGatewayPrefixListReference, VerifiedAccessEndpoint, VerifiedAccessEndpointProtocol, VerifiedAccessGroup, VerifiedAccessSseSpecificationRequest, VpnConnection, VpnEcmpSupportValue, VpnTunnelLogOptionsSpecification } from "./models_2";
4
4
  import { ArchitectureValues, BootModeValues, ConversionTask, Filter, FpgaImageAttribute, FpgaImageAttributeName, ImportImageLicenseConfigurationResponse, IpamPoolCidr, LaunchPermission, PermissionGroup, SnapshotDetail, VirtualizationType } from "./models_3";
5
5
  import { AnalysisStatus, ArchitectureType, AttributeBooleanValue, CreateVolumePermission, ExcessCapacityTerminationPolicy, HttpTokensState, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceStatusEvent, LaunchTemplateConfig, LockState, Monitoring, ReservedInstancesConfiguration, SnapshotAttributeName, SnapshotTaskDetail } from "./models_4";
6
- import { InstanceFamilyCreditSpecification, IpamAddressHistoryRecord, IpamComplianceStatus, IpamOverlapStatus, SnapshotBlockPublicAccessState, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily, VerifiedAccessInstanceLoggingConfiguration, VolumeModification } from "./models_5";
6
+ import { InstanceFamilyCreditSpecification, IpamComplianceStatus, IpamOverlapStatus, SnapshotBlockPublicAccessState, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily, VerifiedAccessInstanceLoggingConfiguration, VolumeModification } from "./models_5";
7
+ /**
8
+ * @public
9
+ * @enum
10
+ */
11
+ export declare const IpamAddressHistoryResourceType: {
12
+ readonly eip: "eip";
13
+ readonly instance: "instance";
14
+ readonly network_interface: "network-interface";
15
+ readonly subnet: "subnet";
16
+ readonly vpc: "vpc";
17
+ };
18
+ /**
19
+ * @public
20
+ */
21
+ export type IpamAddressHistoryResourceType = (typeof IpamAddressHistoryResourceType)[keyof typeof IpamAddressHistoryResourceType];
22
+ /**
23
+ * <p>The historical record of a CIDR within an IPAM scope. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/ipam/view-history-cidr-ipam.html">View the history of IP addresses</a> in the <i>Amazon VPC IPAM User Guide</i>.
24
+ * </p>
25
+ * @public
26
+ */
27
+ export interface IpamAddressHistoryRecord {
28
+ /**
29
+ * <p>The ID of the resource owner.</p>
30
+ * @public
31
+ */
32
+ ResourceOwnerId?: string;
33
+ /**
34
+ * <p>The Amazon Web Services Region of the resource.</p>
35
+ * @public
36
+ */
37
+ ResourceRegion?: string;
38
+ /**
39
+ * <p>The type of the resource.</p>
40
+ * @public
41
+ */
42
+ ResourceType?: IpamAddressHistoryResourceType;
43
+ /**
44
+ * <p>The ID of the resource.</p>
45
+ * @public
46
+ */
47
+ ResourceId?: string;
48
+ /**
49
+ * <p>The CIDR of the resource.</p>
50
+ * @public
51
+ */
52
+ ResourceCidr?: string;
53
+ /**
54
+ * <p>The name of the resource.</p>
55
+ * @public
56
+ */
57
+ ResourceName?: string;
58
+ /**
59
+ * <p>The compliance status of a resource. For more information on compliance statuses, see <a href="https://docs.aws.amazon.com/vpc/latest/ipam/monitor-cidr-compliance-ipam.html">Monitor CIDR usage by resource</a> in the <i>Amazon VPC IPAM User Guide</i>.</p>
60
+ * @public
61
+ */
62
+ ResourceComplianceStatus?: IpamComplianceStatus;
63
+ /**
64
+ * <p>The overlap status of an IPAM resource. The overlap status tells you if the CIDR for a resource overlaps with another CIDR in the scope. For more information on overlap statuses, see <a href="https://docs.aws.amazon.com/vpc/latest/ipam/monitor-cidr-compliance-ipam.html">Monitor CIDR usage by resource</a> in the <i>Amazon VPC IPAM User Guide</i>.</p>
65
+ * @public
66
+ */
67
+ ResourceOverlapStatus?: IpamOverlapStatus;
68
+ /**
69
+ * <p>The VPC ID of the resource.</p>
70
+ * @public
71
+ */
72
+ VpcId?: string;
73
+ /**
74
+ * <p>Sampled start time of the resource-to-CIDR association within the IPAM scope. Changes are picked up in periodic snapshots, so the start time may have occurred before this specific time.</p>
75
+ * @public
76
+ */
77
+ SampledStartTime?: Date;
78
+ /**
79
+ * <p>Sampled end time of the resource-to-CIDR association within the IPAM scope. Changes are picked up in periodic snapshots, so the end time may have occurred before this specific time.</p>
80
+ * @public
81
+ */
82
+ SampledEndTime?: Date;
83
+ }
7
84
  /**
8
85
  * @public
9
86
  */
@@ -6277,7 +6354,10 @@ export interface ModifyTrafficMirrorFilterRuleRequest {
6277
6354
  */
6278
6355
  export interface ModifyTrafficMirrorFilterRuleResult {
6279
6356
  /**
6280
- * <p>Modifies a Traffic Mirror rule.</p>
6357
+ * <note>
6358
+ * <p>Tags are not returned for ModifyTrafficMirrorFilterRule.</p>
6359
+ * </note>
6360
+ * <p>A Traffic Mirror rule.</p>
6281
6361
  * @public
6282
6362
  */
6283
6363
  TrafficMirrorFilterRule?: TrafficMirrorFilterRule;
@@ -8284,50 +8364,6 @@ export interface ProvisionByoipCidrResult {
8284
8364
  */
8285
8365
  ByoipCidr?: ByoipCidr;
8286
8366
  }
8287
- /**
8288
- * <p>Provides authorization for Amazon to bring an Autonomous System Number (ASN) to a specific Amazon Web Services account using bring your own ASN (BYOASN).
8289
- * For details on the format of the message and signature, see <a href="https://docs.aws.amazon.com/vpc/latest/ipam/tutorials-byoasn.html">Tutorial: Bring your ASN to IPAM</a> in the <i>Amazon VPC IPAM guide</i>.</p>
8290
- * @public
8291
- */
8292
- export interface AsnAuthorizationContext {
8293
- /**
8294
- * <p>The authorization context's message.</p>
8295
- * @public
8296
- */
8297
- Message: string | undefined;
8298
- /**
8299
- * <p>The authorization context's signature.</p>
8300
- * @public
8301
- */
8302
- Signature: string | undefined;
8303
- }
8304
- /**
8305
- * @public
8306
- */
8307
- export interface ProvisionIpamByoasnRequest {
8308
- /**
8309
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
8310
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
8311
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8312
- * @public
8313
- */
8314
- DryRun?: boolean;
8315
- /**
8316
- * <p>An IPAM ID.</p>
8317
- * @public
8318
- */
8319
- IpamId: string | undefined;
8320
- /**
8321
- * <p>A public 2-byte or 4-byte ASN.</p>
8322
- * @public
8323
- */
8324
- Asn: string | undefined;
8325
- /**
8326
- * <p>An ASN authorization context.</p>
8327
- * @public
8328
- */
8329
- AsnAuthorizationContext: AsnAuthorizationContext | undefined;
8330
- }
8331
8367
  /**
8332
8368
  * @internal
8333
8369
  */
@@ -5,6 +5,50 @@ import { ArchitectureValues, BootModeValues, Byoasn, ClientVpnConnectionStatus,
5
5
  import { HttpTokensState, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceNetworkInterfaceSpecification, InstanceState, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis, PublicIpv4PoolRange, RunInstancesMonitoringEnabled, ScheduledInstance, SnapshotAttributeName, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement } from "./models_4";
6
6
  import { Purchase } from "./models_5";
7
7
  import { CapacityReservationSpecification, InstanceMonitoring, Status } from "./models_6";
8
+ /**
9
+ * <p>Provides authorization for Amazon to bring an Autonomous System Number (ASN) to a specific Amazon Web Services account using bring your own ASN (BYOASN).
10
+ * For details on the format of the message and signature, see <a href="https://docs.aws.amazon.com/vpc/latest/ipam/tutorials-byoasn.html">Tutorial: Bring your ASN to IPAM</a> in the <i>Amazon VPC IPAM guide</i>.</p>
11
+ * @public
12
+ */
13
+ export interface AsnAuthorizationContext {
14
+ /**
15
+ * <p>The authorization context's message.</p>
16
+ * @public
17
+ */
18
+ Message: string | undefined;
19
+ /**
20
+ * <p>The authorization context's signature.</p>
21
+ * @public
22
+ */
23
+ Signature: string | undefined;
24
+ }
25
+ /**
26
+ * @public
27
+ */
28
+ export interface ProvisionIpamByoasnRequest {
29
+ /**
30
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
31
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
32
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
33
+ * @public
34
+ */
35
+ DryRun?: boolean;
36
+ /**
37
+ * <p>An IPAM ID.</p>
38
+ * @public
39
+ */
40
+ IpamId: string | undefined;
41
+ /**
42
+ * <p>A public 2-byte or 4-byte ASN.</p>
43
+ * @public
44
+ */
45
+ Asn: string | undefined;
46
+ /**
47
+ * <p>An ASN authorization context.</p>
48
+ * @public
49
+ */
50
+ AsnAuthorizationContext: AsnAuthorizationContext | undefined;
51
+ }
8
52
  /**
9
53
  * @public
10
54
  */
@@ -333,6 +333,7 @@ import { DescribeStaleSecurityGroupsCommandInput, DescribeStaleSecurityGroupsCom
333
333
  import { DescribeStoreImageTasksCommandInput, DescribeStoreImageTasksCommandOutput } from "../commands/DescribeStoreImageTasksCommand";
334
334
  import { DescribeSubnetsCommandInput, DescribeSubnetsCommandOutput } from "../commands/DescribeSubnetsCommand";
335
335
  import { DescribeTagsCommandInput, DescribeTagsCommandOutput } from "../commands/DescribeTagsCommand";
336
+ import { DescribeTrafficMirrorFilterRulesCommandInput, DescribeTrafficMirrorFilterRulesCommandOutput } from "../commands/DescribeTrafficMirrorFilterRulesCommand";
336
337
  import { DescribeTrafficMirrorFiltersCommandInput, DescribeTrafficMirrorFiltersCommandOutput } from "../commands/DescribeTrafficMirrorFiltersCommand";
337
338
  import { DescribeTrafficMirrorSessionsCommandInput, DescribeTrafficMirrorSessionsCommandOutput } from "../commands/DescribeTrafficMirrorSessionsCommand";
338
339
  import { DescribeTrafficMirrorTargetsCommandInput, DescribeTrafficMirrorTargetsCommandOutput } from "../commands/DescribeTrafficMirrorTargetsCommand";
@@ -1953,6 +1954,10 @@ export declare const se_DescribeSubnetsCommand: (input: DescribeSubnetsCommandIn
1953
1954
  * serializeAws_ec2DescribeTagsCommand
1954
1955
  */
1955
1956
  export declare const se_DescribeTagsCommand: (input: DescribeTagsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
1957
+ /**
1958
+ * serializeAws_ec2DescribeTrafficMirrorFilterRulesCommand
1959
+ */
1960
+ export declare const se_DescribeTrafficMirrorFilterRulesCommand: (input: DescribeTrafficMirrorFilterRulesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
1956
1961
  /**
1957
1962
  * serializeAws_ec2DescribeTrafficMirrorFiltersCommand
1958
1963
  */
@@ -4437,6 +4442,10 @@ export declare const de_DescribeSubnetsCommand: (output: __HttpResponse, context
4437
4442
  * deserializeAws_ec2DescribeTagsCommand
4438
4443
  */
4439
4444
  export declare const de_DescribeTagsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeTagsCommandOutput>;
4445
+ /**
4446
+ * deserializeAws_ec2DescribeTrafficMirrorFilterRulesCommand
4447
+ */
4448
+ export declare const de_DescribeTrafficMirrorFilterRulesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeTrafficMirrorFilterRulesCommandOutput>;
4440
4449
  /**
4441
4450
  * deserializeAws_ec2DescribeTrafficMirrorFiltersCommand
4442
4451
  */
@@ -1331,6 +1331,10 @@ import {
1331
1331
  DescribeTagsCommandInput,
1332
1332
  DescribeTagsCommandOutput,
1333
1333
  } from "./commands/DescribeTagsCommand";
1334
+ import {
1335
+ DescribeTrafficMirrorFilterRulesCommandInput,
1336
+ DescribeTrafficMirrorFilterRulesCommandOutput,
1337
+ } from "./commands/DescribeTrafficMirrorFilterRulesCommand";
1334
1338
  import {
1335
1339
  DescribeTrafficMirrorFiltersCommandInput,
1336
1340
  DescribeTrafficMirrorFiltersCommandOutput,
@@ -7257,6 +7261,20 @@ export interface EC2 {
7257
7261
  options: __HttpHandlerOptions,
7258
7262
  cb: (err: any, data?: DescribeTagsCommandOutput) => void
7259
7263
  ): void;
7264
+ describeTrafficMirrorFilterRules(): Promise<DescribeTrafficMirrorFilterRulesCommandOutput>;
7265
+ describeTrafficMirrorFilterRules(
7266
+ args: DescribeTrafficMirrorFilterRulesCommandInput,
7267
+ options?: __HttpHandlerOptions
7268
+ ): Promise<DescribeTrafficMirrorFilterRulesCommandOutput>;
7269
+ describeTrafficMirrorFilterRules(
7270
+ args: DescribeTrafficMirrorFilterRulesCommandInput,
7271
+ cb: (err: any, data?: DescribeTrafficMirrorFilterRulesCommandOutput) => void
7272
+ ): void;
7273
+ describeTrafficMirrorFilterRules(
7274
+ args: DescribeTrafficMirrorFilterRulesCommandInput,
7275
+ options: __HttpHandlerOptions,
7276
+ cb: (err: any, data?: DescribeTrafficMirrorFilterRulesCommandOutput) => void
7277
+ ): void;
7260
7278
  describeTrafficMirrorFilters(): Promise<DescribeTrafficMirrorFiltersCommandOutput>;
7261
7279
  describeTrafficMirrorFilters(
7262
7280
  args: DescribeTrafficMirrorFiltersCommandInput,
@@ -1377,6 +1377,10 @@ import {
1377
1377
  DescribeTagsCommandInput,
1378
1378
  DescribeTagsCommandOutput,
1379
1379
  } from "./commands/DescribeTagsCommand";
1380
+ import {
1381
+ DescribeTrafficMirrorFilterRulesCommandInput,
1382
+ DescribeTrafficMirrorFilterRulesCommandOutput,
1383
+ } from "./commands/DescribeTrafficMirrorFilterRulesCommand";
1380
1384
  import {
1381
1385
  DescribeTrafficMirrorFiltersCommandInput,
1382
1386
  DescribeTrafficMirrorFiltersCommandOutput,
@@ -2870,6 +2874,7 @@ export type ServiceInputTypes =
2870
2874
  | DescribeStoreImageTasksCommandInput
2871
2875
  | DescribeSubnetsCommandInput
2872
2876
  | DescribeTagsCommandInput
2877
+ | DescribeTrafficMirrorFilterRulesCommandInput
2873
2878
  | DescribeTrafficMirrorFiltersCommandInput
2874
2879
  | DescribeTrafficMirrorSessionsCommandInput
2875
2880
  | DescribeTrafficMirrorTargetsCommandInput
@@ -3492,6 +3497,7 @@ export type ServiceOutputTypes =
3492
3497
  | DescribeStoreImageTasksCommandOutput
3493
3498
  | DescribeSubnetsCommandOutput
3494
3499
  | DescribeTagsCommandOutput
3500
+ | DescribeTrafficMirrorFilterRulesCommandOutput
3495
3501
  | DescribeTrafficMirrorFiltersCommandOutput
3496
3502
  | DescribeTrafficMirrorSessionsCommandOutput
3497
3503
  | DescribeTrafficMirrorTargetsCommandOutput
@@ -0,0 +1,40 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ EC2ClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../EC2Client";
8
+ import {
9
+ DescribeTrafficMirrorFilterRulesRequest,
10
+ DescribeTrafficMirrorFilterRulesResult,
11
+ } from "../models/models_5";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface DescribeTrafficMirrorFilterRulesCommandInput
15
+ extends DescribeTrafficMirrorFilterRulesRequest {}
16
+ export interface DescribeTrafficMirrorFilterRulesCommandOutput
17
+ extends DescribeTrafficMirrorFilterRulesResult,
18
+ __MetadataBearer {}
19
+ declare const DescribeTrafficMirrorFilterRulesCommand_base: {
20
+ new (
21
+ input: DescribeTrafficMirrorFilterRulesCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ DescribeTrafficMirrorFilterRulesCommandInput,
24
+ DescribeTrafficMirrorFilterRulesCommandOutput,
25
+ EC2ClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ ...[input]: [] | [DescribeTrafficMirrorFilterRulesCommandInput]
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ DescribeTrafficMirrorFilterRulesCommandInput,
33
+ DescribeTrafficMirrorFilterRulesCommandOutput,
34
+ EC2ClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class DescribeTrafficMirrorFilterRulesCommand extends DescribeTrafficMirrorFilterRulesCommand_base {}
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import { ProvisionIpamByoasnRequest } from "../models/models_6";
9
- import { ProvisionIpamByoasnResult } from "../models/models_7";
8
+ import {
9
+ ProvisionIpamByoasnRequest,
10
+ ProvisionIpamByoasnResult,
11
+ } from "../models/models_7";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface ProvisionIpamByoasnCommandInput
@@ -331,6 +331,7 @@ export * from "./DescribeStaleSecurityGroupsCommand";
331
331
  export * from "./DescribeStoreImageTasksCommand";
332
332
  export * from "./DescribeSubnetsCommand";
333
333
  export * from "./DescribeTagsCommand";
334
+ export * from "./DescribeTrafficMirrorFilterRulesCommand";
334
335
  export * from "./DescribeTrafficMirrorFiltersCommand";
335
336
  export * from "./DescribeTrafficMirrorSessionsCommand";
336
337
  export * from "./DescribeTrafficMirrorTargetsCommand";
@@ -123,6 +123,7 @@ export declare const ResourceType: {
123
123
  readonly volume: "volume";
124
124
  readonly vpc: "vpc";
125
125
  readonly vpc_block_public_access_exclusion: "vpc-block-public-access-exclusion";
126
+ readonly vpc_encryption_control: "vpc-encryption-control";
126
127
  readonly vpc_endpoint: "vpc-endpoint";
127
128
  readonly vpc_endpoint_connection: "vpc-endpoint-connection";
128
129
  readonly vpc_endpoint_connection_device_type: "vpc-endpoint-connection-device-type";
@@ -543,6 +543,7 @@ export interface TrafficMirrorFilterRule {
543
543
  DestinationCidrBlock?: string;
544
544
  SourceCidrBlock?: string;
545
545
  Description?: string;
546
+ Tags?: Tag[];
546
547
  }
547
548
  export declare const TrafficMirrorNetworkService: {
548
549
  readonly amazon_dns: "amazon-dns";
@@ -578,6 +579,7 @@ export interface CreateTrafficMirrorFilterRuleRequest {
578
579
  Description?: string;
579
580
  DryRun?: boolean;
580
581
  ClientToken?: string;
582
+ TagSpecifications?: TagSpecification[];
581
583
  }
582
584
  export interface CreateTrafficMirrorFilterRuleResult {
583
585
  TrafficMirrorFilterRule?: TrafficMirrorFilterRule;
@@ -49,6 +49,7 @@ import {
49
49
  SSEType,
50
50
  State,
51
51
  TrafficMirrorFilter,
52
+ TrafficMirrorFilterRule,
52
53
  TrafficMirrorSession,
53
54
  TrafficMirrorTarget,
54
55
  TransitGateway,
@@ -183,6 +184,18 @@ export interface DescribeTagsResult {
183
184
  NextToken?: string;
184
185
  Tags?: TagDescription[];
185
186
  }
187
+ export interface DescribeTrafficMirrorFilterRulesRequest {
188
+ TrafficMirrorFilterRuleIds?: string[];
189
+ TrafficMirrorFilterId?: string;
190
+ DryRun?: boolean;
191
+ Filters?: Filter[];
192
+ MaxResults?: number;
193
+ NextToken?: string;
194
+ }
195
+ export interface DescribeTrafficMirrorFilterRulesResult {
196
+ TrafficMirrorFilterRules?: TrafficMirrorFilterRule[];
197
+ NextToken?: string;
198
+ }
186
199
  export interface DescribeTrafficMirrorFiltersRequest {
187
200
  TrafficMirrorFilterIds?: string[];
188
201
  DryRun?: boolean;
@@ -1623,28 +1636,6 @@ export declare const IpamOverlapStatus: {
1623
1636
  };
1624
1637
  export type IpamOverlapStatus =
1625
1638
  (typeof IpamOverlapStatus)[keyof typeof IpamOverlapStatus];
1626
- export declare const IpamAddressHistoryResourceType: {
1627
- readonly eip: "eip";
1628
- readonly instance: "instance";
1629
- readonly network_interface: "network-interface";
1630
- readonly subnet: "subnet";
1631
- readonly vpc: "vpc";
1632
- };
1633
- export type IpamAddressHistoryResourceType =
1634
- (typeof IpamAddressHistoryResourceType)[keyof typeof IpamAddressHistoryResourceType];
1635
- export interface IpamAddressHistoryRecord {
1636
- ResourceOwnerId?: string;
1637
- ResourceRegion?: string;
1638
- ResourceType?: IpamAddressHistoryResourceType;
1639
- ResourceId?: string;
1640
- ResourceCidr?: string;
1641
- ResourceName?: string;
1642
- ResourceComplianceStatus?: IpamComplianceStatus;
1643
- ResourceOverlapStatus?: IpamOverlapStatus;
1644
- VpcId?: string;
1645
- SampledStartTime?: Date;
1646
- SampledEndTime?: Date;
1647
- }
1648
1639
  export declare const DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog: (
1649
1640
  obj: DescribeVerifiedAccessTrustProvidersResult
1650
1641
  ) => any;