@aws-sdk/client-wafv2 3.1067.0 → 3.1069.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 (53) hide show
  1. package/README.md +28 -0
  2. package/dist-cjs/auth/httpAuthSchemeProvider.js +9 -15
  3. package/dist-cjs/endpoint/bdd.js +2 -5
  4. package/dist-cjs/endpoint/endpointResolver.js +7 -11
  5. package/dist-cjs/index.js +338 -225
  6. package/dist-cjs/models/WAFV2ServiceException.js +4 -8
  7. package/dist-cjs/models/errors.js +41 -64
  8. package/dist-cjs/runtimeConfig.browser.js +22 -26
  9. package/dist-cjs/runtimeConfig.js +30 -34
  10. package/dist-cjs/runtimeConfig.native.js +4 -7
  11. package/dist-cjs/runtimeConfig.shared.js +20 -24
  12. package/dist-cjs/schemas/schemas_0.js +970 -492
  13. package/dist-es/WAFV2.js +8 -0
  14. package/dist-es/commands/GetRevenueStatisticsCommand.js +16 -0
  15. package/dist-es/commands/GetRevenueStatisticsSummaryCommand.js +16 -0
  16. package/dist-es/commands/GetRevenueStatisticsTimeSeriesCommand.js +16 -0
  17. package/dist-es/commands/ListSettlementRecordsCommand.js +16 -0
  18. package/dist-es/commands/index.js +4 -0
  19. package/dist-es/models/enums.js +65 -0
  20. package/dist-es/schemas/schemas_0.js +216 -21
  21. package/dist-types/WAFV2.d.ts +28 -0
  22. package/dist-types/WAFV2Client.d.ts +6 -2
  23. package/dist-types/commands/CheckCapacityCommand.d.ts +12 -0
  24. package/dist-types/commands/CreateRuleGroupCommand.d.ts +29 -0
  25. package/dist-types/commands/CreateWebACLCommand.d.ts +29 -0
  26. package/dist-types/commands/DescribeManagedRuleGroupCommand.d.ts +3 -0
  27. package/dist-types/commands/GetLoggingConfigurationCommand.d.ts +1 -1
  28. package/dist-types/commands/GetRevenueStatisticsCommand.d.ts +150 -0
  29. package/dist-types/commands/GetRevenueStatisticsSummaryCommand.d.ts +130 -0
  30. package/dist-types/commands/GetRevenueStatisticsTimeSeriesCommand.d.ts +139 -0
  31. package/dist-types/commands/GetRuleGroupCommand.d.ts +29 -0
  32. package/dist-types/commands/GetWebACLCommand.d.ts +29 -0
  33. package/dist-types/commands/GetWebACLForResourceCommand.d.ts +29 -0
  34. package/dist-types/commands/ListLoggingConfigurationsCommand.d.ts +1 -1
  35. package/dist-types/commands/ListSettlementRecordsCommand.d.ts +148 -0
  36. package/dist-types/commands/PutLoggingConfigurationCommand.d.ts +2 -2
  37. package/dist-types/commands/UpdateRuleGroupCommand.d.ts +29 -0
  38. package/dist-types/commands/UpdateWebACLCommand.d.ts +29 -0
  39. package/dist-types/commands/index.d.ts +4 -0
  40. package/dist-types/models/enums.d.ts +161 -0
  41. package/dist-types/models/models_0.d.ts +843 -114
  42. package/dist-types/schemas/schemas_0.d.ts +23 -0
  43. package/dist-types/ts3.4/WAFV2.d.ts +68 -0
  44. package/dist-types/ts3.4/WAFV2Client.d.ts +24 -0
  45. package/dist-types/ts3.4/commands/GetRevenueStatisticsCommand.d.ts +53 -0
  46. package/dist-types/ts3.4/commands/GetRevenueStatisticsSummaryCommand.d.ts +53 -0
  47. package/dist-types/ts3.4/commands/GetRevenueStatisticsTimeSeriesCommand.d.ts +53 -0
  48. package/dist-types/ts3.4/commands/ListSettlementRecordsCommand.d.ts +53 -0
  49. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  50. package/dist-types/ts3.4/models/enums.d.ts +83 -0
  51. package/dist-types/ts3.4/models/models_0.d.ts +154 -4
  52. package/dist-types/ts3.4/schemas/schemas_0.d.ts +23 -0
  53. package/package.json +8 -8
@@ -27,6 +27,9 @@ import { type GetMobileSdkReleaseCommandInput, type GetMobileSdkReleaseCommandOu
27
27
  import { type GetPermissionPolicyCommandInput, type GetPermissionPolicyCommandOutput } from "./commands/GetPermissionPolicyCommand";
28
28
  import { type GetRateBasedStatementManagedKeysCommandInput, type GetRateBasedStatementManagedKeysCommandOutput } from "./commands/GetRateBasedStatementManagedKeysCommand";
29
29
  import { type GetRegexPatternSetCommandInput, type GetRegexPatternSetCommandOutput } from "./commands/GetRegexPatternSetCommand";
30
+ import { type GetRevenueStatisticsCommandInput, type GetRevenueStatisticsCommandOutput } from "./commands/GetRevenueStatisticsCommand";
31
+ import { type GetRevenueStatisticsSummaryCommandInput, type GetRevenueStatisticsSummaryCommandOutput } from "./commands/GetRevenueStatisticsSummaryCommand";
32
+ import { type GetRevenueStatisticsTimeSeriesCommandInput, type GetRevenueStatisticsTimeSeriesCommandOutput } from "./commands/GetRevenueStatisticsTimeSeriesCommand";
30
33
  import { type GetRuleGroupCommandInput, type GetRuleGroupCommandOutput } from "./commands/GetRuleGroupCommand";
31
34
  import { type GetSampledRequestsCommandInput, type GetSampledRequestsCommandOutput } from "./commands/GetSampledRequestsCommand";
32
35
  import { type GetTopPathStatisticsByTrafficCommandInput, type GetTopPathStatisticsByTrafficCommandOutput } from "./commands/GetTopPathStatisticsByTrafficCommand";
@@ -42,6 +45,7 @@ import { type ListMobileSdkReleasesCommandInput, type ListMobileSdkReleasesComma
42
45
  import { type ListRegexPatternSetsCommandInput, type ListRegexPatternSetsCommandOutput } from "./commands/ListRegexPatternSetsCommand";
43
46
  import { type ListResourcesForWebACLCommandInput, type ListResourcesForWebACLCommandOutput } from "./commands/ListResourcesForWebACLCommand";
44
47
  import { type ListRuleGroupsCommandInput, type ListRuleGroupsCommandOutput } from "./commands/ListRuleGroupsCommand";
48
+ import { type ListSettlementRecordsCommandInput, type ListSettlementRecordsCommandOutput } from "./commands/ListSettlementRecordsCommand";
45
49
  import { type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
46
50
  import { type ListWebACLsCommandInput, type ListWebACLsCommandOutput } from "./commands/ListWebACLsCommand";
47
51
  import { type PutLoggingConfigurationCommandInput, type PutLoggingConfigurationCommandOutput } from "./commands/PutLoggingConfigurationCommand";
@@ -224,6 +228,24 @@ export interface WAFV2 {
224
228
  getRegexPatternSet(args: GetRegexPatternSetCommandInput, options?: __HttpHandlerOptions): Promise<GetRegexPatternSetCommandOutput>;
225
229
  getRegexPatternSet(args: GetRegexPatternSetCommandInput, cb: (err: any, data?: GetRegexPatternSetCommandOutput) => void): void;
226
230
  getRegexPatternSet(args: GetRegexPatternSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRegexPatternSetCommandOutput) => void): void;
231
+ /**
232
+ * @see {@link GetRevenueStatisticsCommand}
233
+ */
234
+ getRevenueStatistics(args: GetRevenueStatisticsCommandInput, options?: __HttpHandlerOptions): Promise<GetRevenueStatisticsCommandOutput>;
235
+ getRevenueStatistics(args: GetRevenueStatisticsCommandInput, cb: (err: any, data?: GetRevenueStatisticsCommandOutput) => void): void;
236
+ getRevenueStatistics(args: GetRevenueStatisticsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRevenueStatisticsCommandOutput) => void): void;
237
+ /**
238
+ * @see {@link GetRevenueStatisticsSummaryCommand}
239
+ */
240
+ getRevenueStatisticsSummary(args: GetRevenueStatisticsSummaryCommandInput, options?: __HttpHandlerOptions): Promise<GetRevenueStatisticsSummaryCommandOutput>;
241
+ getRevenueStatisticsSummary(args: GetRevenueStatisticsSummaryCommandInput, cb: (err: any, data?: GetRevenueStatisticsSummaryCommandOutput) => void): void;
242
+ getRevenueStatisticsSummary(args: GetRevenueStatisticsSummaryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRevenueStatisticsSummaryCommandOutput) => void): void;
243
+ /**
244
+ * @see {@link GetRevenueStatisticsTimeSeriesCommand}
245
+ */
246
+ getRevenueStatisticsTimeSeries(args: GetRevenueStatisticsTimeSeriesCommandInput, options?: __HttpHandlerOptions): Promise<GetRevenueStatisticsTimeSeriesCommandOutput>;
247
+ getRevenueStatisticsTimeSeries(args: GetRevenueStatisticsTimeSeriesCommandInput, cb: (err: any, data?: GetRevenueStatisticsTimeSeriesCommandOutput) => void): void;
248
+ getRevenueStatisticsTimeSeries(args: GetRevenueStatisticsTimeSeriesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRevenueStatisticsTimeSeriesCommandOutput) => void): void;
227
249
  /**
228
250
  * @see {@link GetRuleGroupCommand}
229
251
  */
@@ -316,6 +338,12 @@ export interface WAFV2 {
316
338
  listRuleGroups(args: ListRuleGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListRuleGroupsCommandOutput>;
317
339
  listRuleGroups(args: ListRuleGroupsCommandInput, cb: (err: any, data?: ListRuleGroupsCommandOutput) => void): void;
318
340
  listRuleGroups(args: ListRuleGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRuleGroupsCommandOutput) => void): void;
341
+ /**
342
+ * @see {@link ListSettlementRecordsCommand}
343
+ */
344
+ listSettlementRecords(args: ListSettlementRecordsCommandInput, options?: __HttpHandlerOptions): Promise<ListSettlementRecordsCommandOutput>;
345
+ listSettlementRecords(args: ListSettlementRecordsCommandInput, cb: (err: any, data?: ListSettlementRecordsCommandOutput) => void): void;
346
+ listSettlementRecords(args: ListSettlementRecordsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSettlementRecordsCommandOutput) => void): void;
319
347
  /**
320
348
  * @see {@link ListTagsForResourceCommand}
321
349
  */
@@ -34,6 +34,9 @@ import type { GetMobileSdkReleaseCommandInput, GetMobileSdkReleaseCommandOutput
34
34
  import type { GetPermissionPolicyCommandInput, GetPermissionPolicyCommandOutput } from "./commands/GetPermissionPolicyCommand";
35
35
  import type { GetRateBasedStatementManagedKeysCommandInput, GetRateBasedStatementManagedKeysCommandOutput } from "./commands/GetRateBasedStatementManagedKeysCommand";
36
36
  import type { GetRegexPatternSetCommandInput, GetRegexPatternSetCommandOutput } from "./commands/GetRegexPatternSetCommand";
37
+ import type { GetRevenueStatisticsCommandInput, GetRevenueStatisticsCommandOutput } from "./commands/GetRevenueStatisticsCommand";
38
+ import type { GetRevenueStatisticsSummaryCommandInput, GetRevenueStatisticsSummaryCommandOutput } from "./commands/GetRevenueStatisticsSummaryCommand";
39
+ import type { GetRevenueStatisticsTimeSeriesCommandInput, GetRevenueStatisticsTimeSeriesCommandOutput } from "./commands/GetRevenueStatisticsTimeSeriesCommand";
37
40
  import type { GetRuleGroupCommandInput, GetRuleGroupCommandOutput } from "./commands/GetRuleGroupCommand";
38
41
  import type { GetSampledRequestsCommandInput, GetSampledRequestsCommandOutput } from "./commands/GetSampledRequestsCommand";
39
42
  import type { GetTopPathStatisticsByTrafficCommandInput, GetTopPathStatisticsByTrafficCommandOutput } from "./commands/GetTopPathStatisticsByTrafficCommand";
@@ -49,6 +52,7 @@ import type { ListMobileSdkReleasesCommandInput, ListMobileSdkReleasesCommandOut
49
52
  import type { ListRegexPatternSetsCommandInput, ListRegexPatternSetsCommandOutput } from "./commands/ListRegexPatternSetsCommand";
50
53
  import type { ListResourcesForWebACLCommandInput, ListResourcesForWebACLCommandOutput } from "./commands/ListResourcesForWebACLCommand";
51
54
  import type { ListRuleGroupsCommandInput, ListRuleGroupsCommandOutput } from "./commands/ListRuleGroupsCommand";
55
+ import type { ListSettlementRecordsCommandInput, ListSettlementRecordsCommandOutput } from "./commands/ListSettlementRecordsCommand";
52
56
  import type { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
53
57
  import type { ListWebACLsCommandInput, ListWebACLsCommandOutput } from "./commands/ListWebACLsCommand";
54
58
  import type { PutLoggingConfigurationCommandInput, PutLoggingConfigurationCommandOutput } from "./commands/PutLoggingConfigurationCommand";
@@ -67,11 +71,11 @@ export { __Client };
67
71
  /**
68
72
  * @public
69
73
  */
70
- export type ServiceInputTypes = AssociateWebACLCommandInput | CheckCapacityCommandInput | CreateAPIKeyCommandInput | CreateIPSetCommandInput | CreateRegexPatternSetCommandInput | CreateRuleGroupCommandInput | CreateWebACLCommandInput | DeleteAPIKeyCommandInput | DeleteFirewallManagerRuleGroupsCommandInput | DeleteIPSetCommandInput | DeleteLoggingConfigurationCommandInput | DeletePermissionPolicyCommandInput | DeleteRegexPatternSetCommandInput | DeleteRuleGroupCommandInput | DeleteWebACLCommandInput | DescribeAllManagedProductsCommandInput | DescribeManagedProductsByVendorCommandInput | DescribeManagedRuleGroupCommandInput | DisassociateWebACLCommandInput | GenerateMobileSdkReleaseUrlCommandInput | GetDecryptedAPIKeyCommandInput | GetIPSetCommandInput | GetLoggingConfigurationCommandInput | GetManagedRuleSetCommandInput | GetMobileSdkReleaseCommandInput | GetPermissionPolicyCommandInput | GetRateBasedStatementManagedKeysCommandInput | GetRegexPatternSetCommandInput | GetRuleGroupCommandInput | GetSampledRequestsCommandInput | GetTopPathStatisticsByTrafficCommandInput | GetWebACLCommandInput | GetWebACLForResourceCommandInput | ListAPIKeysCommandInput | ListAvailableManagedRuleGroupVersionsCommandInput | ListAvailableManagedRuleGroupsCommandInput | ListIPSetsCommandInput | ListLoggingConfigurationsCommandInput | ListManagedRuleSetsCommandInput | ListMobileSdkReleasesCommandInput | ListRegexPatternSetsCommandInput | ListResourcesForWebACLCommandInput | ListRuleGroupsCommandInput | ListTagsForResourceCommandInput | ListWebACLsCommandInput | PutLoggingConfigurationCommandInput | PutManagedRuleSetVersionsCommandInput | PutPermissionPolicyCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateIPSetCommandInput | UpdateManagedRuleSetVersionExpiryDateCommandInput | UpdateRegexPatternSetCommandInput | UpdateRuleGroupCommandInput | UpdateWebACLCommandInput;
74
+ export type ServiceInputTypes = AssociateWebACLCommandInput | CheckCapacityCommandInput | CreateAPIKeyCommandInput | CreateIPSetCommandInput | CreateRegexPatternSetCommandInput | CreateRuleGroupCommandInput | CreateWebACLCommandInput | DeleteAPIKeyCommandInput | DeleteFirewallManagerRuleGroupsCommandInput | DeleteIPSetCommandInput | DeleteLoggingConfigurationCommandInput | DeletePermissionPolicyCommandInput | DeleteRegexPatternSetCommandInput | DeleteRuleGroupCommandInput | DeleteWebACLCommandInput | DescribeAllManagedProductsCommandInput | DescribeManagedProductsByVendorCommandInput | DescribeManagedRuleGroupCommandInput | DisassociateWebACLCommandInput | GenerateMobileSdkReleaseUrlCommandInput | GetDecryptedAPIKeyCommandInput | GetIPSetCommandInput | GetLoggingConfigurationCommandInput | GetManagedRuleSetCommandInput | GetMobileSdkReleaseCommandInput | GetPermissionPolicyCommandInput | GetRateBasedStatementManagedKeysCommandInput | GetRegexPatternSetCommandInput | GetRevenueStatisticsCommandInput | GetRevenueStatisticsSummaryCommandInput | GetRevenueStatisticsTimeSeriesCommandInput | GetRuleGroupCommandInput | GetSampledRequestsCommandInput | GetTopPathStatisticsByTrafficCommandInput | GetWebACLCommandInput | GetWebACLForResourceCommandInput | ListAPIKeysCommandInput | ListAvailableManagedRuleGroupVersionsCommandInput | ListAvailableManagedRuleGroupsCommandInput | ListIPSetsCommandInput | ListLoggingConfigurationsCommandInput | ListManagedRuleSetsCommandInput | ListMobileSdkReleasesCommandInput | ListRegexPatternSetsCommandInput | ListResourcesForWebACLCommandInput | ListRuleGroupsCommandInput | ListSettlementRecordsCommandInput | ListTagsForResourceCommandInput | ListWebACLsCommandInput | PutLoggingConfigurationCommandInput | PutManagedRuleSetVersionsCommandInput | PutPermissionPolicyCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateIPSetCommandInput | UpdateManagedRuleSetVersionExpiryDateCommandInput | UpdateRegexPatternSetCommandInput | UpdateRuleGroupCommandInput | UpdateWebACLCommandInput;
71
75
  /**
72
76
  * @public
73
77
  */
74
- export type ServiceOutputTypes = AssociateWebACLCommandOutput | CheckCapacityCommandOutput | CreateAPIKeyCommandOutput | CreateIPSetCommandOutput | CreateRegexPatternSetCommandOutput | CreateRuleGroupCommandOutput | CreateWebACLCommandOutput | DeleteAPIKeyCommandOutput | DeleteFirewallManagerRuleGroupsCommandOutput | DeleteIPSetCommandOutput | DeleteLoggingConfigurationCommandOutput | DeletePermissionPolicyCommandOutput | DeleteRegexPatternSetCommandOutput | DeleteRuleGroupCommandOutput | DeleteWebACLCommandOutput | DescribeAllManagedProductsCommandOutput | DescribeManagedProductsByVendorCommandOutput | DescribeManagedRuleGroupCommandOutput | DisassociateWebACLCommandOutput | GenerateMobileSdkReleaseUrlCommandOutput | GetDecryptedAPIKeyCommandOutput | GetIPSetCommandOutput | GetLoggingConfigurationCommandOutput | GetManagedRuleSetCommandOutput | GetMobileSdkReleaseCommandOutput | GetPermissionPolicyCommandOutput | GetRateBasedStatementManagedKeysCommandOutput | GetRegexPatternSetCommandOutput | GetRuleGroupCommandOutput | GetSampledRequestsCommandOutput | GetTopPathStatisticsByTrafficCommandOutput | GetWebACLCommandOutput | GetWebACLForResourceCommandOutput | ListAPIKeysCommandOutput | ListAvailableManagedRuleGroupVersionsCommandOutput | ListAvailableManagedRuleGroupsCommandOutput | ListIPSetsCommandOutput | ListLoggingConfigurationsCommandOutput | ListManagedRuleSetsCommandOutput | ListMobileSdkReleasesCommandOutput | ListRegexPatternSetsCommandOutput | ListResourcesForWebACLCommandOutput | ListRuleGroupsCommandOutput | ListTagsForResourceCommandOutput | ListWebACLsCommandOutput | PutLoggingConfigurationCommandOutput | PutManagedRuleSetVersionsCommandOutput | PutPermissionPolicyCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateIPSetCommandOutput | UpdateManagedRuleSetVersionExpiryDateCommandOutput | UpdateRegexPatternSetCommandOutput | UpdateRuleGroupCommandOutput | UpdateWebACLCommandOutput;
78
+ export type ServiceOutputTypes = AssociateWebACLCommandOutput | CheckCapacityCommandOutput | CreateAPIKeyCommandOutput | CreateIPSetCommandOutput | CreateRegexPatternSetCommandOutput | CreateRuleGroupCommandOutput | CreateWebACLCommandOutput | DeleteAPIKeyCommandOutput | DeleteFirewallManagerRuleGroupsCommandOutput | DeleteIPSetCommandOutput | DeleteLoggingConfigurationCommandOutput | DeletePermissionPolicyCommandOutput | DeleteRegexPatternSetCommandOutput | DeleteRuleGroupCommandOutput | DeleteWebACLCommandOutput | DescribeAllManagedProductsCommandOutput | DescribeManagedProductsByVendorCommandOutput | DescribeManagedRuleGroupCommandOutput | DisassociateWebACLCommandOutput | GenerateMobileSdkReleaseUrlCommandOutput | GetDecryptedAPIKeyCommandOutput | GetIPSetCommandOutput | GetLoggingConfigurationCommandOutput | GetManagedRuleSetCommandOutput | GetMobileSdkReleaseCommandOutput | GetPermissionPolicyCommandOutput | GetRateBasedStatementManagedKeysCommandOutput | GetRegexPatternSetCommandOutput | GetRevenueStatisticsCommandOutput | GetRevenueStatisticsSummaryCommandOutput | GetRevenueStatisticsTimeSeriesCommandOutput | GetRuleGroupCommandOutput | GetSampledRequestsCommandOutput | GetTopPathStatisticsByTrafficCommandOutput | GetWebACLCommandOutput | GetWebACLForResourceCommandOutput | ListAPIKeysCommandOutput | ListAvailableManagedRuleGroupVersionsCommandOutput | ListAvailableManagedRuleGroupsCommandOutput | ListIPSetsCommandOutput | ListLoggingConfigurationsCommandOutput | ListManagedRuleSetsCommandOutput | ListMobileSdkReleasesCommandOutput | ListRegexPatternSetsCommandOutput | ListResourcesForWebACLCommandOutput | ListRuleGroupsCommandOutput | ListSettlementRecordsCommandOutput | ListTagsForResourceCommandOutput | ListWebACLsCommandOutput | PutLoggingConfigurationCommandOutput | PutManagedRuleSetVersionsCommandOutput | PutPermissionPolicyCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateIPSetCommandOutput | UpdateManagedRuleSetVersionExpiryDateCommandOutput | UpdateRegexPatternSetCommandOutput | UpdateRuleGroupCommandOutput | UpdateWebACLCommandOutput;
75
79
  /**
76
80
  * @public
77
81
  */
@@ -409,6 +409,9 @@ declare const CheckCapacityCommand_base: {
409
409
  * ],
410
410
  * },
411
411
  * },
412
+ * Monetize: { // MonetizeAction
413
+ * PriceMultiplier: "STRING_VALUE",
414
+ * },
412
415
  * },
413
416
  * },
414
417
  * ],
@@ -553,6 +556,9 @@ declare const CheckCapacityCommand_base: {
553
556
  * Challenge: {
554
557
  * CustomRequestHandling: "<CustomRequestHandling>",
555
558
  * },
559
+ * Monetize: {
560
+ * PriceMultiplier: "STRING_VALUE",
561
+ * },
556
562
  * },
557
563
  * },
558
564
  * ],
@@ -803,6 +809,9 @@ declare const CheckCapacityCommand_base: {
803
809
  * Challenge: {
804
810
  * CustomRequestHandling: "<CustomRequestHandling>",
805
811
  * },
812
+ * Monetize: {
813
+ * PriceMultiplier: "STRING_VALUE",
814
+ * },
806
815
  * },
807
816
  * },
808
817
  * ],
@@ -1042,6 +1051,9 @@ declare const CheckCapacityCommand_base: {
1042
1051
  * Challenge: {
1043
1052
  * CustomRequestHandling: "<CustomRequestHandling>",
1044
1053
  * },
1054
+ * Monetize: {
1055
+ * PriceMultiplier: "STRING_VALUE",
1056
+ * },
1045
1057
  * },
1046
1058
  * },
1047
1059
  * ],
@@ -402,6 +402,9 @@ declare const CreateRuleGroupCommand_base: {
402
402
  * ],
403
403
  * },
404
404
  * },
405
+ * Monetize: { // MonetizeAction
406
+ * PriceMultiplier: "STRING_VALUE",
407
+ * },
405
408
  * },
406
409
  * },
407
410
  * ],
@@ -546,6 +549,9 @@ declare const CreateRuleGroupCommand_base: {
546
549
  * Challenge: {
547
550
  * CustomRequestHandling: "<CustomRequestHandling>",
548
551
  * },
552
+ * Monetize: {
553
+ * PriceMultiplier: "STRING_VALUE",
554
+ * },
549
555
  * },
550
556
  * },
551
557
  * ],
@@ -796,6 +802,9 @@ declare const CreateRuleGroupCommand_base: {
796
802
  * Challenge: {
797
803
  * CustomRequestHandling: "<CustomRequestHandling>",
798
804
  * },
805
+ * Monetize: {
806
+ * PriceMultiplier: "STRING_VALUE",
807
+ * },
799
808
  * },
800
809
  * },
801
810
  * ],
@@ -1035,6 +1044,9 @@ declare const CreateRuleGroupCommand_base: {
1035
1044
  * Challenge: {
1036
1045
  * CustomRequestHandling: "<CustomRequestHandling>",
1037
1046
  * },
1047
+ * Monetize: {
1048
+ * PriceMultiplier: "STRING_VALUE",
1049
+ * },
1038
1050
  * },
1039
1051
  * },
1040
1052
  * ],
@@ -1099,6 +1111,23 @@ declare const CreateRuleGroupCommand_base: {
1099
1111
  * Content: "STRING_VALUE", // required
1100
1112
  * },
1101
1113
  * },
1114
+ * MonetizationConfig: { // MonetizationConfig
1115
+ * CryptoConfig: { // CryptoConfig
1116
+ * PaymentNetworks: [ // PaymentNetworks // required
1117
+ * { // PaymentNetwork
1118
+ * Chain: "BASE" || "SOLANA" || "BASE_SEPOLIA" || "SOLANA_DEVNET", // required
1119
+ * WalletAddress: "STRING_VALUE", // required
1120
+ * Prices: [ // Prices // required
1121
+ * { // Price
1122
+ * Amount: "STRING_VALUE", // required
1123
+ * Currency: "USDC", // required
1124
+ * },
1125
+ * ],
1126
+ * },
1127
+ * ],
1128
+ * },
1129
+ * CurrencyMode: "REAL" || "TEST",
1130
+ * },
1102
1131
  * };
1103
1132
  * const command = new CreateRuleGroupCommand(input);
1104
1133
  * const response = await client.send(command);
@@ -415,6 +415,9 @@ declare const CreateWebACLCommand_base: {
415
415
  * InsertHeaders: "<CustomHTTPHeaders>", // required
416
416
  * },
417
417
  * },
418
+ * Monetize: { // MonetizeAction
419
+ * PriceMultiplier: "STRING_VALUE",
420
+ * },
418
421
  * },
419
422
  * },
420
423
  * ],
@@ -549,6 +552,9 @@ declare const CreateWebACLCommand_base: {
549
552
  * Challenge: {
550
553
  * CustomRequestHandling: "<CustomRequestHandling>",
551
554
  * },
555
+ * Monetize: {
556
+ * PriceMultiplier: "STRING_VALUE",
557
+ * },
552
558
  * },
553
559
  * },
554
560
  * ],
@@ -791,6 +797,9 @@ declare const CreateWebACLCommand_base: {
791
797
  * Challenge: {
792
798
  * CustomRequestHandling: "<CustomRequestHandling>",
793
799
  * },
800
+ * Monetize: {
801
+ * PriceMultiplier: "STRING_VALUE",
802
+ * },
794
803
  * },
795
804
  * },
796
805
  * ],
@@ -1022,6 +1031,9 @@ declare const CreateWebACLCommand_base: {
1022
1031
  * Challenge: {
1023
1032
  * CustomRequestHandling: "<CustomRequestHandling>",
1024
1033
  * },
1034
+ * Monetize: {
1035
+ * PriceMultiplier: "STRING_VALUE",
1036
+ * },
1025
1037
  * },
1026
1038
  * },
1027
1039
  * ],
@@ -1134,6 +1146,23 @@ declare const CreateWebACLCommand_base: {
1134
1146
  * },
1135
1147
  * ],
1136
1148
  * },
1149
+ * MonetizationConfig: { // MonetizationConfig
1150
+ * CryptoConfig: { // CryptoConfig
1151
+ * PaymentNetworks: [ // PaymentNetworks // required
1152
+ * { // PaymentNetwork
1153
+ * Chain: "BASE" || "SOLANA" || "BASE_SEPOLIA" || "SOLANA_DEVNET", // required
1154
+ * WalletAddress: "STRING_VALUE", // required
1155
+ * Prices: [ // Prices // required
1156
+ * { // Price
1157
+ * Amount: "STRING_VALUE", // required
1158
+ * Currency: "USDC", // required
1159
+ * },
1160
+ * ],
1161
+ * },
1162
+ * ],
1163
+ * },
1164
+ * CurrencyMode: "REAL" || "TEST",
1165
+ * },
1137
1166
  * };
1138
1167
  * const command = new CreateWebACLCommand(input);
1139
1168
  * const response = await client.send(command);
@@ -106,6 +106,9 @@ declare const DescribeManagedRuleGroupCommand_base: {
106
106
  * // ],
107
107
  * // },
108
108
  * // },
109
+ * // Monetize: { // MonetizeAction
110
+ * // PriceMultiplier: "STRING_VALUE",
111
+ * // },
109
112
  * // },
110
113
  * // },
111
114
  * // ],
@@ -126,7 +126,7 @@ declare const GetLoggingConfigurationCommand_base: {
126
126
  * // Conditions: [ // Conditions // required
127
127
  * // { // Condition
128
128
  * // ActionCondition: { // ActionCondition
129
- * // Action: "ALLOW" || "BLOCK" || "COUNT" || "CAPTCHA" || "CHALLENGE" || "EXCLUDED_AS_COUNT", // required
129
+ * // Action: "ALLOW" || "BLOCK" || "COUNT" || "CAPTCHA" || "CHALLENGE" || "MONETIZE" || "EXCLUDED_AS_COUNT", // required
130
130
  * // },
131
131
  * // LabelNameCondition: { // LabelNameCondition
132
132
  * // LabelName: "STRING_VALUE", // required
@@ -0,0 +1,150 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { GetRevenueStatisticsRequest, GetRevenueStatisticsResponse } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetRevenueStatisticsCommand}.
14
+ */
15
+ export interface GetRevenueStatisticsCommandInput extends GetRevenueStatisticsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetRevenueStatisticsCommand}.
21
+ */
22
+ export interface GetRevenueStatisticsCommandOutput extends GetRevenueStatisticsResponse, __MetadataBearer {
23
+ }
24
+ declare const GetRevenueStatisticsCommand_base: {
25
+ new (input: GetRevenueStatisticsCommandInput): import("@smithy/core/client").CommandImpl<GetRevenueStatisticsCommandInput, GetRevenueStatisticsCommandOutput, WAFV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetRevenueStatisticsCommandInput): import("@smithy/core/client").CommandImpl<GetRevenueStatisticsCommandInput, GetRevenueStatisticsCommandOutput, WAFV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * <p>Retrieves ranked monetization statistics. Use the <code>StatisticType</code> parameter to specify the ranking: <code>TOP_SOURCES_BY_REVENUE</code> for top sources by revenue, or <code>TOP_PATHS_BY_REVENUE</code> for top content paths by revenue. This operation is only available for <code>CLOUDFRONT</code> scope. The maximum supported time window is 90 days. When no <code>CurrencyMode</code> filter is provided, results default to <code>REAL</code>. To retrieve test data, include a <code>CurrencyMode</code> filter with the value <code>TEST</code>.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { WAFV2Client, GetRevenueStatisticsCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
37
+ * // const { WAFV2Client, GetRevenueStatisticsCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
38
+ * // import type { WAFV2ClientConfig } from "@aws-sdk/client-wafv2";
39
+ * const config = {}; // type is WAFV2ClientConfig
40
+ * const client = new WAFV2Client(config);
41
+ * const input = { // GetRevenueStatisticsRequest
42
+ * StatisticType: "TOP_SOURCES_BY_REVENUE" || "TOP_PATHS_BY_REVENUE", // required
43
+ * TimeWindow: { // TimeWindow
44
+ * StartTime: new Date("TIMESTAMP"), // required
45
+ * EndTime: new Date("TIMESTAMP"), // required
46
+ * },
47
+ * Scope: "CLOUDFRONT" || "REGIONAL", // required
48
+ * Currency: "USDC", // required
49
+ * GroupBy: "NAME" || "CATEGORY" || "INTENT" || "ORGANIZATION" || "WEBACL",
50
+ * Filters: [ // MonetizationFilterList
51
+ * { // MonetizationFilter
52
+ * Name: "STRING_VALUE", // required
53
+ * Values: [ // MonetizationFilterValueList // required
54
+ * "STRING_VALUE",
55
+ * ],
56
+ * },
57
+ * ],
58
+ * NextMarker: "STRING_VALUE",
59
+ * Limit: Number("int"),
60
+ * SortBy: "REVENUE" || "PERCENTAGE" || "NAME",
61
+ * SortOrder: "ASC" || "DESC",
62
+ * };
63
+ * const command = new GetRevenueStatisticsCommand(input);
64
+ * const response = await client.send(command);
65
+ * // { // GetRevenueStatisticsResponse
66
+ * // SourceStatistics: [ // SourceStatisticsList
67
+ * // { // SourceStatistics
68
+ * // SourceName: "STRING_VALUE", // required
69
+ * // Percentage: Number("double"), // required
70
+ * // Amount: "STRING_VALUE", // required
71
+ * // RequestCount: Number("long"), // required
72
+ * // SourceCategory: "STRING_VALUE",
73
+ * // Intent: "STRING_VALUE",
74
+ * // Organization: "STRING_VALUE",
75
+ * // Verified: true || false,
76
+ * // GroupByValue: "STRING_VALUE",
77
+ * // },
78
+ * // ],
79
+ * // RevenuePathStatistics: [ // RevenuePathStatisticsList
80
+ * // { // RevenuePathStatistics
81
+ * // Path: "STRING_VALUE", // required
82
+ * // Percentage: Number("double"), // required
83
+ * // Amount: "STRING_VALUE", // required
84
+ * // RequestCount: Number("long"), // required
85
+ * // },
86
+ * // ],
87
+ * // NextMarker: "STRING_VALUE",
88
+ * // };
89
+ *
90
+ * ```
91
+ *
92
+ * @param GetRevenueStatisticsCommandInput - {@link GetRevenueStatisticsCommandInput}
93
+ * @returns {@link GetRevenueStatisticsCommandOutput}
94
+ * @see {@link GetRevenueStatisticsCommandInput} for command's `input` shape.
95
+ * @see {@link GetRevenueStatisticsCommandOutput} for command's `response` shape.
96
+ * @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
97
+ *
98
+ * @throws {@link WAFInternalErrorException} (server fault)
99
+ * <p>Your request is valid, but WAF couldn’t perform the operation because of a system
100
+ * problem. Retry your request. </p>
101
+ *
102
+ * @throws {@link WAFInvalidOperationException} (client fault)
103
+ * <p>The operation isn't valid. </p>
104
+ *
105
+ * @throws {@link WAFInvalidParameterException} (client fault)
106
+ * <p>The operation failed because WAF didn't recognize a parameter in the request. For
107
+ * example: </p>
108
+ * <ul>
109
+ * <li>
110
+ * <p>You specified a parameter name or value that isn't valid.</p>
111
+ * </li>
112
+ * <li>
113
+ * <p>Your nested statement isn't valid. You might have tried to nest a statement that
114
+ * can’t be nested. </p>
115
+ * </li>
116
+ * <li>
117
+ * <p>You tried to update a <code>WebACL</code> with a <code>DefaultAction</code> that
118
+ * isn't among the types available at <a>DefaultAction</a>.</p>
119
+ * </li>
120
+ * <li>
121
+ * <p>Your request references an ARN that is malformed, or corresponds to a resource
122
+ * with which a web ACL can't be associated.</p>
123
+ * </li>
124
+ * </ul>
125
+ *
126
+ * @throws {@link WAFNonexistentItemException} (client fault)
127
+ * <p>WAF couldn’t perform the operation because your resource doesn't exist.
128
+ * If you've just created a resource that you're using in this operation, you might
129
+ * just need to wait a few minutes. It can take from a few seconds to a number of minutes
130
+ * for changes to propagate. </p>
131
+ *
132
+ * @throws {@link WAFV2ServiceException}
133
+ * <p>Base exception class for all service exceptions from WAFV2 service.</p>
134
+ *
135
+ *
136
+ * @public
137
+ */
138
+ export declare class GetRevenueStatisticsCommand extends GetRevenueStatisticsCommand_base {
139
+ /** @internal type navigation helper, not in runtime. */
140
+ protected static __types: {
141
+ api: {
142
+ input: GetRevenueStatisticsRequest;
143
+ output: GetRevenueStatisticsResponse;
144
+ };
145
+ sdk: {
146
+ input: GetRevenueStatisticsCommandInput;
147
+ output: GetRevenueStatisticsCommandOutput;
148
+ };
149
+ };
150
+ }
@@ -0,0 +1,130 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { GetRevenueStatisticsSummaryRequest, GetRevenueStatisticsSummaryResponse } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetRevenueStatisticsSummaryCommand}.
14
+ */
15
+ export interface GetRevenueStatisticsSummaryCommandInput extends GetRevenueStatisticsSummaryRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetRevenueStatisticsSummaryCommand}.
21
+ */
22
+ export interface GetRevenueStatisticsSummaryCommandOutput extends GetRevenueStatisticsSummaryResponse, __MetadataBearer {
23
+ }
24
+ declare const GetRevenueStatisticsSummaryCommand_base: {
25
+ new (input: GetRevenueStatisticsSummaryCommandInput): import("@smithy/core/client").CommandImpl<GetRevenueStatisticsSummaryCommandInput, GetRevenueStatisticsSummaryCommandOutput, WAFV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetRevenueStatisticsSummaryCommandInput): import("@smithy/core/client").CommandImpl<GetRevenueStatisticsSummaryCommandInput, GetRevenueStatisticsSummaryCommandOutput, WAFV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * <p>Retrieves a summary of monetization revenue for the specified time window. Returns total revenue, revenue by verification tier, total settlements, and total HTTP 402 responses served. This operation is only available for <code>CLOUDFRONT</code> scope. The maximum supported time window is 90 days. When no <code>CurrencyMode</code> filter is provided, results default to <code>REAL</code>. To retrieve test data, include a <code>CurrencyMode</code> filter with the value <code>TEST</code>.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { WAFV2Client, GetRevenueStatisticsSummaryCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
37
+ * // const { WAFV2Client, GetRevenueStatisticsSummaryCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
38
+ * // import type { WAFV2ClientConfig } from "@aws-sdk/client-wafv2";
39
+ * const config = {}; // type is WAFV2ClientConfig
40
+ * const client = new WAFV2Client(config);
41
+ * const input = { // GetRevenueStatisticsSummaryRequest
42
+ * TimeWindow: { // TimeWindow
43
+ * StartTime: new Date("TIMESTAMP"), // required
44
+ * EndTime: new Date("TIMESTAMP"), // required
45
+ * },
46
+ * Scope: "CLOUDFRONT" || "REGIONAL", // required
47
+ * Currency: "USDC", // required
48
+ * Filters: [ // MonetizationFilterList
49
+ * { // MonetizationFilter
50
+ * Name: "STRING_VALUE", // required
51
+ * Values: [ // MonetizationFilterValueList // required
52
+ * "STRING_VALUE",
53
+ * ],
54
+ * },
55
+ * ],
56
+ * };
57
+ * const command = new GetRevenueStatisticsSummaryCommand(input);
58
+ * const response = await client.send(command);
59
+ * // { // GetRevenueStatisticsSummaryResponse
60
+ * // RevenueBreakdown: { // RevenueBreakdown
61
+ * // TotalAmount: "STRING_VALUE",
62
+ * // VerifiedAmount: "STRING_VALUE",
63
+ * // UnverifiedAmount: "STRING_VALUE",
64
+ * // Currency: "USDC",
65
+ * // TotalSettled: Number("long"),
66
+ * // TotalMonetizeServed: Number("long"),
67
+ * // },
68
+ * // };
69
+ *
70
+ * ```
71
+ *
72
+ * @param GetRevenueStatisticsSummaryCommandInput - {@link GetRevenueStatisticsSummaryCommandInput}
73
+ * @returns {@link GetRevenueStatisticsSummaryCommandOutput}
74
+ * @see {@link GetRevenueStatisticsSummaryCommandInput} for command's `input` shape.
75
+ * @see {@link GetRevenueStatisticsSummaryCommandOutput} for command's `response` shape.
76
+ * @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
77
+ *
78
+ * @throws {@link WAFInternalErrorException} (server fault)
79
+ * <p>Your request is valid, but WAF couldn’t perform the operation because of a system
80
+ * problem. Retry your request. </p>
81
+ *
82
+ * @throws {@link WAFInvalidOperationException} (client fault)
83
+ * <p>The operation isn't valid. </p>
84
+ *
85
+ * @throws {@link WAFInvalidParameterException} (client fault)
86
+ * <p>The operation failed because WAF didn't recognize a parameter in the request. For
87
+ * example: </p>
88
+ * <ul>
89
+ * <li>
90
+ * <p>You specified a parameter name or value that isn't valid.</p>
91
+ * </li>
92
+ * <li>
93
+ * <p>Your nested statement isn't valid. You might have tried to nest a statement that
94
+ * can’t be nested. </p>
95
+ * </li>
96
+ * <li>
97
+ * <p>You tried to update a <code>WebACL</code> with a <code>DefaultAction</code> that
98
+ * isn't among the types available at <a>DefaultAction</a>.</p>
99
+ * </li>
100
+ * <li>
101
+ * <p>Your request references an ARN that is malformed, or corresponds to a resource
102
+ * with which a web ACL can't be associated.</p>
103
+ * </li>
104
+ * </ul>
105
+ *
106
+ * @throws {@link WAFNonexistentItemException} (client fault)
107
+ * <p>WAF couldn’t perform the operation because your resource doesn't exist.
108
+ * If you've just created a resource that you're using in this operation, you might
109
+ * just need to wait a few minutes. It can take from a few seconds to a number of minutes
110
+ * for changes to propagate. </p>
111
+ *
112
+ * @throws {@link WAFV2ServiceException}
113
+ * <p>Base exception class for all service exceptions from WAFV2 service.</p>
114
+ *
115
+ *
116
+ * @public
117
+ */
118
+ export declare class GetRevenueStatisticsSummaryCommand extends GetRevenueStatisticsSummaryCommand_base {
119
+ /** @internal type navigation helper, not in runtime. */
120
+ protected static __types: {
121
+ api: {
122
+ input: GetRevenueStatisticsSummaryRequest;
123
+ output: GetRevenueStatisticsSummaryResponse;
124
+ };
125
+ sdk: {
126
+ input: GetRevenueStatisticsSummaryCommandInput;
127
+ output: GetRevenueStatisticsSummaryCommandOutput;
128
+ };
129
+ };
130
+ }