@aws-sdk/client-ec2 3.592.0 → 3.598.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 (183) 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 +2 -2
  13. package/dist-types/commands/AllocateAddressCommand.d.ts +3 -3
  14. package/dist-types/commands/AllocateHostsCommand.d.ts +1 -1
  15. package/dist-types/commands/AssignIpv6AddressesCommand.d.ts +2 -3
  16. package/dist-types/commands/AssignPrivateIpAddressesCommand.d.ts +2 -3
  17. package/dist-types/commands/AssignPrivateNatGatewayAddressCommand.d.ts +1 -1
  18. package/dist-types/commands/AssociateDhcpOptionsCommand.d.ts +1 -1
  19. package/dist-types/commands/AssociateIpamResourceDiscoveryCommand.d.ts +1 -1
  20. package/dist-types/commands/AssociateNatGatewayAddressCommand.d.ts +2 -1
  21. package/dist-types/commands/AssociateTrunkInterfaceCommand.d.ts +4 -2
  22. package/dist-types/commands/AssociateVpcCidrBlockCommand.d.ts +1 -1
  23. package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +1 -1
  24. package/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +1 -1
  25. package/dist-types/commands/CancelReservedInstancesListingCommand.d.ts +2 -3
  26. package/dist-types/commands/CopyImageCommand.d.ts +1 -1
  27. package/dist-types/commands/CopySnapshotCommand.d.ts +3 -3
  28. package/dist-types/commands/CreateCapacityReservationCommand.d.ts +1 -1
  29. package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +4 -3
  30. package/dist-types/commands/CreateCarrierGatewayCommand.d.ts +1 -1
  31. package/dist-types/commands/CreateClientVpnEndpointCommand.d.ts +1 -1
  32. package/dist-types/commands/CreateCoipPoolCommand.d.ts +1 -1
  33. package/dist-types/commands/CreateCustomerGatewayCommand.d.ts +1 -1
  34. package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +3 -3
  35. package/dist-types/commands/CreateEgressOnlyInternetGatewayCommand.d.ts +1 -1
  36. package/dist-types/commands/CreateFleetCommand.d.ts +1 -1
  37. package/dist-types/commands/CreateFlowLogsCommand.d.ts +4 -3
  38. package/dist-types/commands/CreateFpgaImageCommand.d.ts +1 -1
  39. package/dist-types/commands/CreateImageCommand.d.ts +1 -1
  40. package/dist-types/commands/CreateInstanceConnectEndpointCommand.d.ts +2 -3
  41. package/dist-types/commands/CreateInstanceEventWindowCommand.d.ts +1 -1
  42. package/dist-types/commands/CreateInstanceExportTaskCommand.d.ts +1 -1
  43. package/dist-types/commands/CreateInternetGatewayCommand.d.ts +1 -1
  44. package/dist-types/commands/CreateIpamCommand.d.ts +1 -1
  45. package/dist-types/commands/CreateIpamPoolCommand.d.ts +1 -1
  46. package/dist-types/commands/CreateIpamResourceDiscoveryCommand.d.ts +1 -1
  47. package/dist-types/commands/CreateIpamScopeCommand.d.ts +1 -1
  48. package/dist-types/commands/CreateKeyPairCommand.d.ts +1 -1
  49. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +4 -4
  50. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +3 -3
  51. package/dist-types/commands/CreateLocalGatewayRouteTableCommand.d.ts +1 -1
  52. package/dist-types/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +1 -1
  53. package/dist-types/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.d.ts +1 -1
  54. package/dist-types/commands/CreateManagedPrefixListCommand.d.ts +1 -1
  55. package/dist-types/commands/CreateNatGatewayCommand.d.ts +1 -1
  56. package/dist-types/commands/CreateNetworkAclCommand.d.ts +1 -1
  57. package/dist-types/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +1 -1
  58. package/dist-types/commands/CreateNetworkInsightsPathCommand.d.ts +1 -1
  59. package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +3 -4
  60. package/dist-types/commands/CreatePlacementGroupCommand.d.ts +1 -1
  61. package/dist-types/commands/CreatePublicIpv4PoolCommand.d.ts +1 -1
  62. package/dist-types/commands/CreateReplaceRootVolumeTaskCommand.d.ts +2 -2
  63. package/dist-types/commands/CreateReservedInstancesListingCommand.d.ts +2 -2
  64. package/dist-types/commands/CreateRestoreImageTaskCommand.d.ts +1 -1
  65. package/dist-types/commands/CreateRouteTableCommand.d.ts +1 -1
  66. package/dist-types/commands/CreateSecurityGroupCommand.d.ts +1 -1
  67. package/dist-types/commands/CreateSnapshotCommand.d.ts +3 -3
  68. package/dist-types/commands/CreateSnapshotsCommand.d.ts +1 -1
  69. package/dist-types/commands/CreateSpotDatafeedSubscriptionCommand.d.ts +1 -1
  70. package/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +3 -3
  71. package/dist-types/commands/CreateSubnetCommand.d.ts +1 -1
  72. package/dist-types/commands/CreateTrafficMirrorFilterCommand.d.ts +18 -5
  73. package/dist-types/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +17 -0
  74. package/dist-types/commands/CreateTrafficMirrorSessionCommand.d.ts +1 -1
  75. package/dist-types/commands/CreateTrafficMirrorTargetCommand.d.ts +1 -1
  76. package/dist-types/commands/CreateTransitGatewayCommand.d.ts +1 -1
  77. package/dist-types/commands/CreateTransitGatewayConnectCommand.d.ts +1 -1
  78. package/dist-types/commands/CreateTransitGatewayConnectPeerCommand.d.ts +3 -2
  79. package/dist-types/commands/CreateTransitGatewayMulticastDomainCommand.d.ts +1 -1
  80. package/dist-types/commands/CreateTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
  81. package/dist-types/commands/CreateTransitGatewayPolicyTableCommand.d.ts +1 -1
  82. package/dist-types/commands/CreateTransitGatewayRouteTableAnnouncementCommand.d.ts +1 -1
  83. package/dist-types/commands/CreateTransitGatewayRouteTableCommand.d.ts +1 -1
  84. package/dist-types/commands/CreateTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  85. package/dist-types/commands/CreateVerifiedAccessEndpointCommand.d.ts +1 -1
  86. package/dist-types/commands/CreateVerifiedAccessGroupCommand.d.ts +1 -1
  87. package/dist-types/commands/CreateVerifiedAccessInstanceCommand.d.ts +1 -1
  88. package/dist-types/commands/CreateVerifiedAccessTrustProviderCommand.d.ts +1 -1
  89. package/dist-types/commands/CreateVolumeCommand.d.ts +2 -2
  90. package/dist-types/commands/CreateVpcCommand.d.ts +1 -1
  91. package/dist-types/commands/CreateVpcEndpointCommand.d.ts +1 -1
  92. package/dist-types/commands/CreateVpcEndpointConnectionNotificationCommand.d.ts +2 -2
  93. package/dist-types/commands/CreateVpcEndpointServiceConfigurationCommand.d.ts +1 -1
  94. package/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +2 -2
  95. package/dist-types/commands/CreateVpnConnectionCommand.d.ts +1 -1
  96. package/dist-types/commands/CreateVpnGatewayCommand.d.ts +1 -1
  97. package/dist-types/commands/DeleteLaunchTemplateVersionsCommand.d.ts +2 -2
  98. package/dist-types/commands/DescribeAddressTransfersCommand.d.ts +1 -1
  99. package/dist-types/commands/DescribeAvailabilityZonesCommand.d.ts +1 -1
  100. package/dist-types/commands/DescribeClassicLinkInstancesCommand.d.ts +1 -1
  101. package/dist-types/commands/DescribeDhcpOptionsCommand.d.ts +4 -2
  102. package/dist-types/commands/DescribeEgressOnlyInternetGatewaysCommand.d.ts +3 -1
  103. package/dist-types/commands/DescribeElasticGpusCommand.d.ts +3 -5
  104. package/dist-types/commands/DescribeInstanceTypeOfferingsCommand.d.ts +3 -2
  105. package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +2 -2
  106. package/dist-types/commands/DescribeInternetGatewaysCommand.d.ts +3 -1
  107. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  108. package/dist-types/commands/DescribeNatGatewaysCommand.d.ts +3 -1
  109. package/dist-types/commands/DescribeNetworkAclsCommand.d.ts +3 -1
  110. package/dist-types/commands/DescribeRegionsCommand.d.ts +3 -3
  111. package/dist-types/commands/DescribeReplaceRootVolumeTasksCommand.d.ts +1 -1
  112. package/dist-types/commands/DescribeReservedInstancesListingsCommand.d.ts +2 -2
  113. package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +2 -1
  114. package/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +2 -2
  115. package/dist-types/commands/DescribeRouteTablesCommand.d.ts +3 -1
  116. package/dist-types/commands/DescribeSpotDatafeedSubscriptionCommand.d.ts +1 -1
  117. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +2 -2
  118. package/dist-types/commands/DescribeSpotPriceHistoryCommand.d.ts +1 -1
  119. package/dist-types/commands/DescribeSubnetsCommand.d.ts +3 -1
  120. package/dist-types/commands/DescribeTagsCommand.d.ts +1 -1
  121. package/dist-types/commands/DescribeTrafficMirrorFilterRulesCommand.d.ts +101 -0
  122. package/dist-types/commands/DescribeTrafficMirrorFiltersCommand.d.ts +14 -2
  123. package/dist-types/commands/DescribeVolumesModificationsCommand.d.ts +2 -3
  124. package/dist-types/commands/DescribeVpcEndpointsCommand.d.ts +3 -1
  125. package/dist-types/commands/DescribeVpcPeeringConnectionsCommand.d.ts +3 -1
  126. package/dist-types/commands/DescribeVpcsCommand.d.ts +3 -1
  127. package/dist-types/commands/DisableAddressTransferCommand.d.ts +1 -1
  128. package/dist-types/commands/EnableAddressTransferCommand.d.ts +1 -1
  129. package/dist-types/commands/ExportImageCommand.d.ts +1 -1
  130. package/dist-types/commands/ExportTransitGatewayRoutesCommand.d.ts +2 -2
  131. package/dist-types/commands/GetIpamPoolAllocationsCommand.d.ts +1 -1
  132. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
  133. package/dist-types/commands/GetPasswordDataCommand.d.ts +1 -1
  134. package/dist-types/commands/GetSpotPlacementScoresCommand.d.ts +1 -1
  135. package/dist-types/commands/ImportImageCommand.d.ts +1 -1
  136. package/dist-types/commands/ImportKeyPairCommand.d.ts +1 -1
  137. package/dist-types/commands/ImportSnapshotCommand.d.ts +1 -1
  138. package/dist-types/commands/ModifyAvailabilityZoneGroupCommand.d.ts +1 -4
  139. package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +2 -2
  140. package/dist-types/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.d.ts +14 -2
  141. package/dist-types/commands/ModifyTrafficMirrorFilterRuleCommand.d.ts +6 -0
  142. package/dist-types/commands/ModifyVolumeCommand.d.ts +1 -4
  143. package/dist-types/commands/ProvisionByoipCidrCommand.d.ts +2 -2
  144. package/dist-types/commands/ProvisionIpamByoasnCommand.d.ts +1 -2
  145. package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +1 -1
  146. package/dist-types/commands/PurchaseHostReservationCommand.d.ts +1 -1
  147. package/dist-types/commands/PurchaseReservedInstancesOfferingCommand.d.ts +3 -3
  148. package/dist-types/commands/RegisterImageCommand.d.ts +1 -1
  149. package/dist-types/commands/RegisterTransitGatewayMulticastGroupMembersCommand.d.ts +3 -3
  150. package/dist-types/commands/RegisterTransitGatewayMulticastGroupSourcesCommand.d.ts +2 -2
  151. package/dist-types/commands/ReleaseIpamPoolAllocationCommand.d.ts +1 -1
  152. package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
  153. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +4 -4
  154. package/dist-types/commands/ResetInstanceAttributeCommand.d.ts +1 -1
  155. package/dist-types/commands/RunInstancesCommand.d.ts +6 -3
  156. package/dist-types/commands/RunScheduledInstancesCommand.d.ts +4 -4
  157. package/dist-types/commands/SendDiagnosticInterruptCommand.d.ts +1 -2
  158. package/dist-types/commands/StartInstancesCommand.d.ts +2 -2
  159. package/dist-types/commands/StartNetworkInsightsAccessScopeAnalysisCommand.d.ts +1 -1
  160. package/dist-types/commands/StartNetworkInsightsAnalysisCommand.d.ts +1 -1
  161. package/dist-types/commands/StopInstancesCommand.d.ts +6 -5
  162. package/dist-types/commands/index.d.ts +1 -0
  163. package/dist-types/models/models_0.d.ts +45 -42
  164. package/dist-types/models/models_1.d.ts +93 -84
  165. package/dist-types/models/models_2.d.ts +41 -30
  166. package/dist-types/models/models_3.d.ts +51 -48
  167. package/dist-types/models/models_4.d.ts +144 -119
  168. package/dist-types/models/models_5.d.ts +113 -103
  169. package/dist-types/models/models_6.d.ts +106 -69
  170. package/dist-types/models/models_7.d.ts +71 -30
  171. package/dist-types/protocols/Aws_ec2.d.ts +9 -0
  172. package/dist-types/ts3.4/EC2.d.ts +18 -0
  173. package/dist-types/ts3.4/EC2Client.d.ts +6 -0
  174. package/dist-types/ts3.4/commands/DescribeTrafficMirrorFilterRulesCommand.d.ts +40 -0
  175. package/dist-types/ts3.4/commands/ProvisionIpamByoasnCommand.d.ts +4 -2
  176. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  177. package/dist-types/ts3.4/models/models_0.d.ts +1 -0
  178. package/dist-types/ts3.4/models/models_2.d.ts +2 -0
  179. package/dist-types/ts3.4/models/models_5.d.ts +13 -22
  180. package/dist-types/ts3.4/models/models_6.d.ts +22 -11
  181. package/dist-types/ts3.4/models/models_7.d.ts +10 -0
  182. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
  183. package/package.json +39 -39
package/README.md CHANGED
@@ -2869,6 +2869,14 @@ DescribeTags
2869
2869
 
2870
2870
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/DescribeTagsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DescribeTagsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DescribeTagsCommandOutput/)
2871
2871
 
2872
+ </details>
2873
+ <details>
2874
+ <summary>
2875
+ DescribeTrafficMirrorFilterRules
2876
+ </summary>
2877
+
2878
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/DescribeTrafficMirrorFilterRulesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DescribeTrafficMirrorFilterRulesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DescribeTrafficMirrorFilterRulesCommandOutput/)
2879
+
2872
2880
  </details>
2873
2881
  <details>
2874
2882
  <summary>
package/dist-cjs/index.js CHANGED
@@ -445,6 +445,7 @@ __export(src_exports, {
445
445
  DescribeStoreImageTasksCommand: () => DescribeStoreImageTasksCommand,
446
446
  DescribeSubnetsCommand: () => DescribeSubnetsCommand,
447
447
  DescribeTagsCommand: () => DescribeTagsCommand,
448
+ DescribeTrafficMirrorFilterRulesCommand: () => DescribeTrafficMirrorFilterRulesCommand,
448
449
  DescribeTrafficMirrorFiltersCommand: () => DescribeTrafficMirrorFiltersCommand,
449
450
  DescribeTrafficMirrorSessionsCommand: () => DescribeTrafficMirrorSessionsCommand,
450
451
  DescribeTrafficMirrorTargetsCommand: () => DescribeTrafficMirrorTargetsCommand,
@@ -4780,6 +4781,16 @@ var se_DescribeTagsCommand = /* @__PURE__ */ __name(async (input, context) => {
4780
4781
  });
4781
4782
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
4782
4783
  }, "se_DescribeTagsCommand");
4784
+ var se_DescribeTrafficMirrorFilterRulesCommand = /* @__PURE__ */ __name(async (input, context) => {
4785
+ const headers = SHARED_HEADERS;
4786
+ let body;
4787
+ body = buildFormUrlencodedString({
4788
+ ...se_DescribeTrafficMirrorFilterRulesRequest(input, context),
4789
+ [_A]: _DTMFRe,
4790
+ [_V]: _
4791
+ });
4792
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
4793
+ }, "se_DescribeTrafficMirrorFilterRulesCommand");
4783
4794
  var se_DescribeTrafficMirrorFiltersCommand = /* @__PURE__ */ __name(async (input, context) => {
4784
4795
  const headers = SHARED_HEADERS;
4785
4796
  let body;
@@ -11908,6 +11919,19 @@ var de_DescribeTagsCommand = /* @__PURE__ */ __name(async (output, context) => {
11908
11919
  };
11909
11920
  return response;
11910
11921
  }, "de_DescribeTagsCommand");
11922
+ var de_DescribeTrafficMirrorFilterRulesCommand = /* @__PURE__ */ __name(async (output, context) => {
11923
+ if (output.statusCode >= 300) {
11924
+ return de_CommandError(output, context);
11925
+ }
11926
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
11927
+ let contents = {};
11928
+ contents = de_DescribeTrafficMirrorFilterRulesResult(data, context);
11929
+ const response = {
11930
+ $metadata: deserializeMetadata(output),
11931
+ ...contents
11932
+ };
11933
+ return response;
11934
+ }, "de_DescribeTrafficMirrorFilterRulesCommand");
11911
11935
  var de_DescribeTrafficMirrorFiltersCommand = /* @__PURE__ */ __name(async (output, context) => {
11912
11936
  if (output.statusCode >= 300) {
11913
11937
  return de_CommandError(output, context);
@@ -19222,6 +19246,13 @@ var se_CreateTrafficMirrorFilterRuleRequest = /* @__PURE__ */ __name((input, con
19222
19246
  if (input[_CTl] != null) {
19223
19247
  entries[_CTl] = input[_CTl];
19224
19248
  }
19249
+ if (input[_TS] != null) {
19250
+ const memberEntries = se_TagSpecificationList(input[_TS], context);
19251
+ Object.entries(memberEntries).forEach(([key, value]) => {
19252
+ const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`;
19253
+ entries[loc] = value;
19254
+ });
19255
+ }
19225
19256
  return entries;
19226
19257
  }, "se_CreateTrafficMirrorFilterRuleRequest");
19227
19258
  var se_CreateTrafficMirrorSessionRequest = /* @__PURE__ */ __name((input, context) => {
@@ -24202,6 +24233,36 @@ var se_DescribeTagsRequest = /* @__PURE__ */ __name((input, context) => {
24202
24233
  }
24203
24234
  return entries;
24204
24235
  }, "se_DescribeTagsRequest");
24236
+ var se_DescribeTrafficMirrorFilterRulesRequest = /* @__PURE__ */ __name((input, context) => {
24237
+ const entries = {};
24238
+ if (input[_TMFRIr] != null) {
24239
+ const memberEntries = se_TrafficMirrorFilterRuleIdList(input[_TMFRIr], context);
24240
+ Object.entries(memberEntries).forEach(([key, value]) => {
24241
+ const loc = `TrafficMirrorFilterRuleId.${key.substring(key.indexOf(".") + 1)}`;
24242
+ entries[loc] = value;
24243
+ });
24244
+ }
24245
+ if (input[_TMFI] != null) {
24246
+ entries[_TMFI] = input[_TMFI];
24247
+ }
24248
+ if (input[_DRr] != null) {
24249
+ entries[_DRr] = input[_DRr];
24250
+ }
24251
+ if (input[_Fi] != null) {
24252
+ const memberEntries = se_FilterList(input[_Fi], context);
24253
+ Object.entries(memberEntries).forEach(([key, value]) => {
24254
+ const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`;
24255
+ entries[loc] = value;
24256
+ });
24257
+ }
24258
+ if (input[_MR] != null) {
24259
+ entries[_MR] = input[_MR];
24260
+ }
24261
+ if (input[_NT] != null) {
24262
+ entries[_NT] = input[_NT];
24263
+ }
24264
+ return entries;
24265
+ }, "se_DescribeTrafficMirrorFilterRulesRequest");
24205
24266
  var se_DescribeTrafficMirrorFiltersRequest = /* @__PURE__ */ __name((input, context) => {
24206
24267
  const entries = {};
24207
24268
  if (input[_TMFIr] != null) {
@@ -35912,6 +35973,18 @@ var se_TrafficMirrorFilterRuleFieldList = /* @__PURE__ */ __name((input, context
35912
35973
  }
35913
35974
  return entries;
35914
35975
  }, "se_TrafficMirrorFilterRuleFieldList");
35976
+ var se_TrafficMirrorFilterRuleIdList = /* @__PURE__ */ __name((input, context) => {
35977
+ const entries = {};
35978
+ let counter = 1;
35979
+ for (const entry of input) {
35980
+ if (entry === null) {
35981
+ continue;
35982
+ }
35983
+ entries[`Item.${counter}`] = entry;
35984
+ counter++;
35985
+ }
35986
+ return entries;
35987
+ }, "se_TrafficMirrorFilterRuleIdList");
35915
35988
  var se_TrafficMirrorNetworkServiceList = /* @__PURE__ */ __name((input, context) => {
35916
35989
  const entries = {};
35917
35990
  let counter = 1;
@@ -41964,6 +42037,18 @@ var de_DescribeTagsResult = /* @__PURE__ */ __name((output, context) => {
41964
42037
  }
41965
42038
  return contents;
41966
42039
  }, "de_DescribeTagsResult");
42040
+ var de_DescribeTrafficMirrorFilterRulesResult = /* @__PURE__ */ __name((output, context) => {
42041
+ const contents = {};
42042
+ if (output.trafficMirrorFilterRuleSet === "") {
42043
+ contents[_TMFRr] = [];
42044
+ } else if (output[_tMFRS] != null && output[_tMFRS][_i] != null) {
42045
+ contents[_TMFRr] = de_TrafficMirrorFilterRuleSet((0, import_smithy_client.getArrayIfSingleItem)(output[_tMFRS][_i]), context);
42046
+ }
42047
+ if (output[_nTe] != null) {
42048
+ contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]);
42049
+ }
42050
+ return contents;
42051
+ }, "de_DescribeTrafficMirrorFilterRulesResult");
41967
42052
  var de_DescribeTrafficMirrorFiltersResult = /* @__PURE__ */ __name((output, context) => {
41968
42053
  const contents = {};
41969
42054
  if (output.trafficMirrorFilterSet === "") {
@@ -54107,6 +54192,11 @@ var de_TrafficMirrorFilterRule = /* @__PURE__ */ __name((output, context) => {
54107
54192
  if (output[_de] != null) {
54108
54193
  contents[_De] = (0, import_smithy_client.expectString)(output[_de]);
54109
54194
  }
54195
+ if (output.tagSet === "") {
54196
+ contents[_Ta] = [];
54197
+ } else if (output[_tS] != null && output[_tS][_i] != null) {
54198
+ contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context);
54199
+ }
54110
54200
  return contents;
54111
54201
  }, "de_TrafficMirrorFilterRule");
54112
54202
  var de_TrafficMirrorFilterRuleList = /* @__PURE__ */ __name((output, context) => {
@@ -54114,6 +54204,11 @@ var de_TrafficMirrorFilterRuleList = /* @__PURE__ */ __name((output, context) =>
54114
54204
  return de_TrafficMirrorFilterRule(entry, context);
54115
54205
  });
54116
54206
  }, "de_TrafficMirrorFilterRuleList");
54207
+ var de_TrafficMirrorFilterRuleSet = /* @__PURE__ */ __name((output, context) => {
54208
+ return (output || []).filter((e) => e != null).map((entry) => {
54209
+ return de_TrafficMirrorFilterRule(entry, context);
54210
+ });
54211
+ }, "de_TrafficMirrorFilterRuleSet");
54117
54212
  var de_TrafficMirrorFilterSet = /* @__PURE__ */ __name((output, context) => {
54118
54213
  return (output || []).filter((e) => e != null).map((entry) => {
54119
54214
  return de_TrafficMirrorFilter(entry, context);
@@ -57501,6 +57596,7 @@ var _DTI = "DisassociateTrunkInterface";
57501
57596
  var _DTIA = "DescribeTrunkInterfaceAssociations";
57502
57597
  var _DTMF = "DeleteTrafficMirrorFilter";
57503
57598
  var _DTMFR = "DeleteTrafficMirrorFilterRule";
57599
+ var _DTMFRe = "DescribeTrafficMirrorFilterRules";
57504
57600
  var _DTMFe = "DescribeTrafficMirrorFilters";
57505
57601
  var _DTMS = "DeleteTrafficMirrorSession";
57506
57602
  var _DTMSe = "DescribeTrafficMirrorSessions";
@@ -59047,6 +59143,8 @@ var _TMFI = "TrafficMirrorFilterId";
59047
59143
  var _TMFIr = "TrafficMirrorFilterIds";
59048
59144
  var _TMFR = "TrafficMirrorFilterRule";
59049
59145
  var _TMFRI = "TrafficMirrorFilterRuleId";
59146
+ var _TMFRIr = "TrafficMirrorFilterRuleIds";
59147
+ var _TMFRr = "TrafficMirrorFilterRules";
59050
59148
  var _TMFr = "TrafficMirrorFilters";
59051
59149
  var _TMMIMB = "TotalMediaMemoryInMiB";
59052
59150
  var _TMS = "TrafficMirrorSession";
@@ -60714,6 +60812,7 @@ var _tMF = "trafficMirrorFilter";
60714
60812
  var _tMFI = "trafficMirrorFilterId";
60715
60813
  var _tMFR = "trafficMirrorFilterRule";
60716
60814
  var _tMFRI = "trafficMirrorFilterRuleId";
60815
+ var _tMFRS = "trafficMirrorFilterRuleSet";
60717
60816
  var _tMFS = "trafficMirrorFilterSet";
60718
60817
  var _tMMIMB = "totalMediaMemoryInMiB";
60719
60818
  var _tMS = "trafficMirrorSession";
@@ -61537,6 +61636,7 @@ var ResourceType = {
61537
61636
  volume: "volume",
61538
61637
  vpc: "vpc",
61539
61638
  vpc_block_public_access_exclusion: "vpc-block-public-access-exclusion",
61639
+ vpc_encryption_control: "vpc-encryption-control",
61540
61640
  vpc_endpoint: "vpc-endpoint",
61541
61641
  vpc_endpoint_connection: "vpc-endpoint-connection",
61542
61642
  vpc_endpoint_connection_device_type: "vpc-endpoint-connection-device-type",
@@ -68962,6 +69062,22 @@ var _DescribeTagsCommand = class _DescribeTagsCommand extends import_smithy_clie
68962
69062
  __name(_DescribeTagsCommand, "DescribeTagsCommand");
68963
69063
  var DescribeTagsCommand = _DescribeTagsCommand;
68964
69064
 
69065
+ // src/commands/DescribeTrafficMirrorFilterRulesCommand.ts
69066
+
69067
+
69068
+
69069
+ var _DescribeTrafficMirrorFilterRulesCommand = class _DescribeTrafficMirrorFilterRulesCommand extends import_smithy_client.Command.classBuilder().ep({
69070
+ ...commonParams
69071
+ }).m(function(Command, cs, config, o) {
69072
+ return [
69073
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
69074
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
69075
+ ];
69076
+ }).s("AmazonEC2", "DescribeTrafficMirrorFilterRules", {}).n("EC2Client", "DescribeTrafficMirrorFilterRulesCommand").f(void 0, void 0).ser(se_DescribeTrafficMirrorFilterRulesCommand).de(de_DescribeTrafficMirrorFilterRulesCommand).build() {
69077
+ };
69078
+ __name(_DescribeTrafficMirrorFilterRulesCommand, "DescribeTrafficMirrorFilterRulesCommand");
69079
+ var DescribeTrafficMirrorFilterRulesCommand = _DescribeTrafficMirrorFilterRulesCommand;
69080
+
68965
69081
  // src/commands/DescribeTrafficMirrorFiltersCommand.ts
68966
69082
 
68967
69083
 
@@ -69337,13 +69453,6 @@ var IpamOverlapStatus = {
69337
69453
  nonoverlapping: "nonoverlapping",
69338
69454
  overlapping: "overlapping"
69339
69455
  };
69340
- var IpamAddressHistoryResourceType = {
69341
- eip: "eip",
69342
- instance: "instance",
69343
- network_interface: "network-interface",
69344
- subnet: "subnet",
69345
- vpc: "vpc"
69346
- };
69347
69456
  var DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
69348
69457
  ...obj,
69349
69458
  ...obj.VerifiedAccessTrustProviders && {
@@ -71005,6 +71114,13 @@ var GetIpamResourceCidrsCommand = _GetIpamResourceCidrsCommand;
71005
71114
 
71006
71115
  // src/models/models_6.ts
71007
71116
 
71117
+ var IpamAddressHistoryResourceType = {
71118
+ eip: "eip",
71119
+ instance: "instance",
71120
+ network_interface: "network-interface",
71121
+ subnet: "subnet",
71122
+ vpc: "vpc"
71123
+ };
71008
71124
  var IpamDiscoveryFailureCode = {
71009
71125
  assume_role_failure: "assume-role-failure",
71010
71126
  throttling_failure: "throttling-failure",
@@ -74307,6 +74423,7 @@ var commands = {
74307
74423
  DescribeStoreImageTasksCommand,
74308
74424
  DescribeSubnetsCommand,
74309
74425
  DescribeTagsCommand,
74426
+ DescribeTrafficMirrorFilterRulesCommand,
74310
74427
  DescribeTrafficMirrorFiltersCommand,
74311
74428
  DescribeTrafficMirrorSessionsCommand,
74312
74429
  DescribeTrafficMirrorTargetsCommand,
@@ -77383,6 +77500,7 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
77383
77500
  DescribeStoreImageTasksCommand,
77384
77501
  DescribeSubnetsCommand,
77385
77502
  DescribeTagsCommand,
77503
+ DescribeTrafficMirrorFilterRulesCommand,
77386
77504
  DescribeTrafficMirrorFiltersCommand,
77387
77505
  DescribeTrafficMirrorSessionsCommand,
77388
77506
  DescribeTrafficMirrorTargetsCommand,
@@ -78238,11 +78356,11 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
78238
78356
  EkPubKeyType,
78239
78357
  IpamComplianceStatus,
78240
78358
  IpamOverlapStatus,
78241
- IpamAddressHistoryResourceType,
78242
78359
  DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog,
78243
78360
  DescribeVpnConnectionsResultFilterSensitiveLog,
78244
78361
  DetachVerifiedAccessTrustProviderResultFilterSensitiveLog,
78245
78362
  GetInstanceTpmEkPubResultFilterSensitiveLog,
78363
+ IpamAddressHistoryResourceType,
78246
78364
  IpamDiscoveryFailureCode,
78247
78365
  IpamPublicAddressType,
78248
78366
  IpamPublicAddressAssociationStatus,
package/dist-es/EC2.js CHANGED
@@ -332,6 +332,7 @@ import { DescribeStaleSecurityGroupsCommand, } from "./commands/DescribeStaleSec
332
332
  import { DescribeStoreImageTasksCommand, } from "./commands/DescribeStoreImageTasksCommand";
333
333
  import { DescribeSubnetsCommand, } from "./commands/DescribeSubnetsCommand";
334
334
  import { DescribeTagsCommand, } from "./commands/DescribeTagsCommand";
335
+ import { DescribeTrafficMirrorFilterRulesCommand, } from "./commands/DescribeTrafficMirrorFilterRulesCommand";
335
336
  import { DescribeTrafficMirrorFiltersCommand, } from "./commands/DescribeTrafficMirrorFiltersCommand";
336
337
  import { DescribeTrafficMirrorSessionsCommand, } from "./commands/DescribeTrafficMirrorSessionsCommand";
337
338
  import { DescribeTrafficMirrorTargetsCommand, } from "./commands/DescribeTrafficMirrorTargetsCommand";
@@ -955,6 +956,7 @@ const commands = {
955
956
  DescribeStoreImageTasksCommand,
956
957
  DescribeSubnetsCommand,
957
958
  DescribeTagsCommand,
959
+ DescribeTrafficMirrorFilterRulesCommand,
958
960
  DescribeTrafficMirrorFiltersCommand,
959
961
  DescribeTrafficMirrorSessionsCommand,
960
962
  DescribeTrafficMirrorTargetsCommand,
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DescribeTrafficMirrorFilterRulesCommand, se_DescribeTrafficMirrorFilterRulesCommand, } from "../protocols/Aws_ec2";
6
+ export { $Command };
7
+ export class DescribeTrafficMirrorFilterRulesCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonEC2", "DescribeTrafficMirrorFilterRules", {})
19
+ .n("EC2Client", "DescribeTrafficMirrorFilterRulesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeTrafficMirrorFilterRulesCommand)
22
+ .de(de_DescribeTrafficMirrorFilterRulesCommand)
23
+ .build() {
24
+ }
@@ -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";
@@ -102,6 +102,7 @@ export const ResourceType = {
102
102
  volume: "volume",
103
103
  vpc: "vpc",
104
104
  vpc_block_public_access_exclusion: "vpc-block-public-access-exclusion",
105
+ vpc_encryption_control: "vpc-encryption-control",
105
106
  vpc_endpoint: "vpc-endpoint",
106
107
  vpc_endpoint_connection: "vpc-endpoint-connection",
107
108
  vpc_endpoint_connection_device_type: "vpc-endpoint-connection-device-type",
@@ -81,13 +81,6 @@ export const IpamOverlapStatus = {
81
81
  nonoverlapping: "nonoverlapping",
82
82
  overlapping: "overlapping",
83
83
  };
84
- export const IpamAddressHistoryResourceType = {
85
- eip: "eip",
86
- instance: "instance",
87
- network_interface: "network-interface",
88
- subnet: "subnet",
89
- vpc: "vpc",
90
- };
91
84
  export const DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog = (obj) => ({
92
85
  ...obj,
93
86
  ...(obj.VerifiedAccessTrustProviders && {
@@ -4,6 +4,13 @@ import { ResponseLaunchTemplateDataFilterSensitiveLog, } from "./models_1";
4
4
  import { VpnConnectionFilterSensitiveLog, } from "./models_2";
5
5
  import { ConversionTaskFilterSensitiveLog, SnapshotDetailFilterSensitiveLog, } from "./models_3";
6
6
  import { SnapshotTaskDetailFilterSensitiveLog, } from "./models_4";
7
+ export const IpamAddressHistoryResourceType = {
8
+ eip: "eip",
9
+ instance: "instance",
10
+ network_interface: "network-interface",
11
+ subnet: "subnet",
12
+ vpc: "vpc",
13
+ };
7
14
  export const IpamDiscoveryFailureCode = {
8
15
  assume_role_failure: "assume-role-failure",
9
16
  throttling_failure: "throttling-failure",
@@ -3333,6 +3333,16 @@ export const se_DescribeTagsCommand = async (input, context) => {
3333
3333
  });
3334
3334
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
3335
3335
  };
3336
+ export const se_DescribeTrafficMirrorFilterRulesCommand = async (input, context) => {
3337
+ const headers = SHARED_HEADERS;
3338
+ let body;
3339
+ body = buildFormUrlencodedString({
3340
+ ...se_DescribeTrafficMirrorFilterRulesRequest(input, context),
3341
+ [_A]: _DTMFRe,
3342
+ [_V]: _,
3343
+ });
3344
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
3345
+ };
3336
3346
  export const se_DescribeTrafficMirrorFiltersCommand = async (input, context) => {
3337
3347
  const headers = SHARED_HEADERS;
3338
3348
  let body;
@@ -10461,6 +10471,19 @@ export const de_DescribeTagsCommand = async (output, context) => {
10461
10471
  };
10462
10472
  return response;
10463
10473
  };
10474
+ export const de_DescribeTrafficMirrorFilterRulesCommand = async (output, context) => {
10475
+ if (output.statusCode >= 300) {
10476
+ return de_CommandError(output, context);
10477
+ }
10478
+ const data = await parseBody(output.body, context);
10479
+ let contents = {};
10480
+ contents = de_DescribeTrafficMirrorFilterRulesResult(data, context);
10481
+ const response = {
10482
+ $metadata: deserializeMetadata(output),
10483
+ ...contents,
10484
+ };
10485
+ return response;
10486
+ };
10464
10487
  export const de_DescribeTrafficMirrorFiltersCommand = async (output, context) => {
10465
10488
  if (output.statusCode >= 300) {
10466
10489
  return de_CommandError(output, context);
@@ -17775,6 +17798,13 @@ const se_CreateTrafficMirrorFilterRuleRequest = (input, context) => {
17775
17798
  if (input[_CTl] != null) {
17776
17799
  entries[_CTl] = input[_CTl];
17777
17800
  }
17801
+ if (input[_TS] != null) {
17802
+ const memberEntries = se_TagSpecificationList(input[_TS], context);
17803
+ Object.entries(memberEntries).forEach(([key, value]) => {
17804
+ const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`;
17805
+ entries[loc] = value;
17806
+ });
17807
+ }
17778
17808
  return entries;
17779
17809
  };
17780
17810
  const se_CreateTrafficMirrorSessionRequest = (input, context) => {
@@ -22755,6 +22785,36 @@ const se_DescribeTagsRequest = (input, context) => {
22755
22785
  }
22756
22786
  return entries;
22757
22787
  };
22788
+ const se_DescribeTrafficMirrorFilterRulesRequest = (input, context) => {
22789
+ const entries = {};
22790
+ if (input[_TMFRIr] != null) {
22791
+ const memberEntries = se_TrafficMirrorFilterRuleIdList(input[_TMFRIr], context);
22792
+ Object.entries(memberEntries).forEach(([key, value]) => {
22793
+ const loc = `TrafficMirrorFilterRuleId.${key.substring(key.indexOf(".") + 1)}`;
22794
+ entries[loc] = value;
22795
+ });
22796
+ }
22797
+ if (input[_TMFI] != null) {
22798
+ entries[_TMFI] = input[_TMFI];
22799
+ }
22800
+ if (input[_DRr] != null) {
22801
+ entries[_DRr] = input[_DRr];
22802
+ }
22803
+ if (input[_Fi] != null) {
22804
+ const memberEntries = se_FilterList(input[_Fi], context);
22805
+ Object.entries(memberEntries).forEach(([key, value]) => {
22806
+ const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`;
22807
+ entries[loc] = value;
22808
+ });
22809
+ }
22810
+ if (input[_MR] != null) {
22811
+ entries[_MR] = input[_MR];
22812
+ }
22813
+ if (input[_NT] != null) {
22814
+ entries[_NT] = input[_NT];
22815
+ }
22816
+ return entries;
22817
+ };
22758
22818
  const se_DescribeTrafficMirrorFiltersRequest = (input, context) => {
22759
22819
  const entries = {};
22760
22820
  if (input[_TMFIr] != null) {
@@ -34465,6 +34525,18 @@ const se_TrafficMirrorFilterRuleFieldList = (input, context) => {
34465
34525
  }
34466
34526
  return entries;
34467
34527
  };
34528
+ const se_TrafficMirrorFilterRuleIdList = (input, context) => {
34529
+ const entries = {};
34530
+ let counter = 1;
34531
+ for (const entry of input) {
34532
+ if (entry === null) {
34533
+ continue;
34534
+ }
34535
+ entries[`Item.${counter}`] = entry;
34536
+ counter++;
34537
+ }
34538
+ return entries;
34539
+ };
34468
34540
  const se_TrafficMirrorNetworkServiceList = (input, context) => {
34469
34541
  const entries = {};
34470
34542
  let counter = 1;
@@ -40827,6 +40899,19 @@ const de_DescribeTagsResult = (output, context) => {
40827
40899
  }
40828
40900
  return contents;
40829
40901
  };
40902
+ const de_DescribeTrafficMirrorFilterRulesResult = (output, context) => {
40903
+ const contents = {};
40904
+ if (output.trafficMirrorFilterRuleSet === "") {
40905
+ contents[_TMFRr] = [];
40906
+ }
40907
+ else if (output[_tMFRS] != null && output[_tMFRS][_i] != null) {
40908
+ contents[_TMFRr] = de_TrafficMirrorFilterRuleSet(__getArrayIfSingleItem(output[_tMFRS][_i]), context);
40909
+ }
40910
+ if (output[_nTe] != null) {
40911
+ contents[_NT] = __expectString(output[_nTe]);
40912
+ }
40913
+ return contents;
40914
+ };
40830
40915
  const de_DescribeTrafficMirrorFiltersResult = (output, context) => {
40831
40916
  const contents = {};
40832
40917
  if (output.trafficMirrorFilterSet === "") {
@@ -53830,6 +53915,12 @@ const de_TrafficMirrorFilterRule = (output, context) => {
53830
53915
  if (output[_de] != null) {
53831
53916
  contents[_De] = __expectString(output[_de]);
53832
53917
  }
53918
+ if (output.tagSet === "") {
53919
+ contents[_Ta] = [];
53920
+ }
53921
+ else if (output[_tS] != null && output[_tS][_i] != null) {
53922
+ contents[_Ta] = de_TagList(__getArrayIfSingleItem(output[_tS][_i]), context);
53923
+ }
53833
53924
  return contents;
53834
53925
  };
53835
53926
  const de_TrafficMirrorFilterRuleList = (output, context) => {
@@ -53839,6 +53930,13 @@ const de_TrafficMirrorFilterRuleList = (output, context) => {
53839
53930
  return de_TrafficMirrorFilterRule(entry, context);
53840
53931
  });
53841
53932
  };
53933
+ const de_TrafficMirrorFilterRuleSet = (output, context) => {
53934
+ return (output || [])
53935
+ .filter((e) => e != null)
53936
+ .map((entry) => {
53937
+ return de_TrafficMirrorFilterRule(entry, context);
53938
+ });
53939
+ };
53842
53940
  const de_TrafficMirrorFilterSet = (output, context) => {
53843
53941
  return (output || [])
53844
53942
  .filter((e) => e != null)
@@ -57426,6 +57524,7 @@ const _DTI = "DisassociateTrunkInterface";
57426
57524
  const _DTIA = "DescribeTrunkInterfaceAssociations";
57427
57525
  const _DTMF = "DeleteTrafficMirrorFilter";
57428
57526
  const _DTMFR = "DeleteTrafficMirrorFilterRule";
57527
+ const _DTMFRe = "DescribeTrafficMirrorFilterRules";
57429
57528
  const _DTMFe = "DescribeTrafficMirrorFilters";
57430
57529
  const _DTMS = "DeleteTrafficMirrorSession";
57431
57530
  const _DTMSe = "DescribeTrafficMirrorSessions";
@@ -58972,6 +59071,8 @@ const _TMFI = "TrafficMirrorFilterId";
58972
59071
  const _TMFIr = "TrafficMirrorFilterIds";
58973
59072
  const _TMFR = "TrafficMirrorFilterRule";
58974
59073
  const _TMFRI = "TrafficMirrorFilterRuleId";
59074
+ const _TMFRIr = "TrafficMirrorFilterRuleIds";
59075
+ const _TMFRr = "TrafficMirrorFilterRules";
58975
59076
  const _TMFr = "TrafficMirrorFilters";
58976
59077
  const _TMMIMB = "TotalMediaMemoryInMiB";
58977
59078
  const _TMS = "TrafficMirrorSession";
@@ -60639,6 +60740,7 @@ const _tMF = "trafficMirrorFilter";
60639
60740
  const _tMFI = "trafficMirrorFilterId";
60640
60741
  const _tMFR = "trafficMirrorFilterRule";
60641
60742
  const _tMFRI = "trafficMirrorFilterRuleId";
60743
+ const _tMFRS = "trafficMirrorFilterRuleSet";
60642
60744
  const _tMFS = "trafficMirrorFilterSet";
60643
60745
  const _tMMIMB = "totalMediaMemoryInMiB";
60644
60746
  const _tMS = "trafficMirrorSession";
@@ -332,6 +332,7 @@ import { DescribeStaleSecurityGroupsCommandInput, DescribeStaleSecurityGroupsCom
332
332
  import { DescribeStoreImageTasksCommandInput, DescribeStoreImageTasksCommandOutput } from "./commands/DescribeStoreImageTasksCommand";
333
333
  import { DescribeSubnetsCommandInput, DescribeSubnetsCommandOutput } from "./commands/DescribeSubnetsCommand";
334
334
  import { DescribeTagsCommandInput, DescribeTagsCommandOutput } from "./commands/DescribeTagsCommand";
335
+ import { DescribeTrafficMirrorFilterRulesCommandInput, DescribeTrafficMirrorFilterRulesCommandOutput } from "./commands/DescribeTrafficMirrorFilterRulesCommand";
335
336
  import { DescribeTrafficMirrorFiltersCommandInput, DescribeTrafficMirrorFiltersCommandOutput } from "./commands/DescribeTrafficMirrorFiltersCommand";
336
337
  import { DescribeTrafficMirrorSessionsCommandInput, DescribeTrafficMirrorSessionsCommandOutput } from "./commands/DescribeTrafficMirrorSessionsCommand";
337
338
  import { DescribeTrafficMirrorTargetsCommandInput, DescribeTrafficMirrorTargetsCommandOutput } from "./commands/DescribeTrafficMirrorTargetsCommand";
@@ -2739,6 +2740,13 @@ export interface EC2 {
2739
2740
  describeTags(args: DescribeTagsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeTagsCommandOutput>;
2740
2741
  describeTags(args: DescribeTagsCommandInput, cb: (err: any, data?: DescribeTagsCommandOutput) => void): void;
2741
2742
  describeTags(args: DescribeTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTagsCommandOutput) => void): void;
2743
+ /**
2744
+ * @see {@link DescribeTrafficMirrorFilterRulesCommand}
2745
+ */
2746
+ describeTrafficMirrorFilterRules(): Promise<DescribeTrafficMirrorFilterRulesCommandOutput>;
2747
+ describeTrafficMirrorFilterRules(args: DescribeTrafficMirrorFilterRulesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeTrafficMirrorFilterRulesCommandOutput>;
2748
+ describeTrafficMirrorFilterRules(args: DescribeTrafficMirrorFilterRulesCommandInput, cb: (err: any, data?: DescribeTrafficMirrorFilterRulesCommandOutput) => void): void;
2749
+ describeTrafficMirrorFilterRules(args: DescribeTrafficMirrorFilterRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTrafficMirrorFilterRulesCommandOutput) => void): void;
2742
2750
  /**
2743
2751
  * @see {@link DescribeTrafficMirrorFiltersCommand}
2744
2752
  */