@aws-sdk/client-wafv2 3.1068.0 → 3.1070.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
@@ -9,6 +9,7 @@ export declare const ActionValue: {
9
9
  readonly CHALLENGE: "CHALLENGE";
10
10
  readonly COUNT: "COUNT";
11
11
  readonly EXCLUDED_AS_COUNT: "EXCLUDED_AS_COUNT";
12
+ readonly MONETIZE: "MONETIZE";
12
13
  };
13
14
  /**
14
15
  * @public
@@ -563,12 +564,15 @@ export declare const ParameterExceptionField: {
563
564
  readonly MANAGED_RULE_SET_STATEMENT: "MANAGED_RULE_SET_STATEMENT";
564
565
  readonly MAP_MATCH_SCOPE: "MAP_MATCH_SCOPE";
565
566
  readonly METRIC_NAME: "METRIC_NAME";
567
+ readonly MONETIZATION_CONFIG: "MONETIZATION_CONFIG";
566
568
  readonly NOT_STATEMENT: "NOT_STATEMENT";
567
569
  readonly OR_STATEMENT: "OR_STATEMENT";
568
570
  readonly OVERRIDE_ACTION: "OVERRIDE_ACTION";
569
571
  readonly OVERSIZE_HANDLING: "OVERSIZE_HANDLING";
570
572
  readonly PAYLOAD_TYPE: "PAYLOAD_TYPE";
573
+ readonly PAYMENT_NETWORK: "PAYMENT_NETWORK";
571
574
  readonly POSITION: "POSITION";
575
+ readonly PRICE_AMOUNT: "PRICE_AMOUNT";
572
576
  readonly RATE_BASED_STATEMENT: "RATE_BASED_STATEMENT";
573
577
  readonly REGEX_PATTERN_REFERENCE_STATEMENT: "REGEX_PATTERN_REFERENCE_STATEMENT";
574
578
  readonly REGEX_PATTERN_SET: "REGEX_PATTERN_SET";
@@ -590,6 +594,7 @@ export declare const ParameterExceptionField: {
590
594
  readonly TAG_KEYS: "TAG_KEYS";
591
595
  readonly TEXT_TRANSFORMATION: "TEXT_TRANSFORMATION";
592
596
  readonly TOKEN_DOMAIN: "TOKEN_DOMAIN";
597
+ readonly WALLET_ADDRESS: "WALLET_ADDRESS";
593
598
  readonly WEB_ACL: "WEB_ACL";
594
599
  readonly XSS_MATCH_STATEMENT: "XSS_MATCH_STATEMENT";
595
600
  };
@@ -648,6 +653,43 @@ export declare const ResponseContentType: {
648
653
  * @public
649
654
  */
650
655
  export type ResponseContentType = (typeof ResponseContentType)[keyof typeof ResponseContentType];
656
+ /**
657
+ * @public
658
+ * @enum
659
+ */
660
+ export declare const BlockchainChain: {
661
+ readonly BASE: "BASE";
662
+ readonly BASE_SEPOLIA: "BASE_SEPOLIA";
663
+ readonly SOLANA: "SOLANA";
664
+ readonly SOLANA_DEVNET: "SOLANA_DEVNET";
665
+ };
666
+ /**
667
+ * @public
668
+ */
669
+ export type BlockchainChain = (typeof BlockchainChain)[keyof typeof BlockchainChain];
670
+ /**
671
+ * @public
672
+ * @enum
673
+ */
674
+ export declare const CryptoCurrency: {
675
+ readonly USDC: "USDC";
676
+ };
677
+ /**
678
+ * @public
679
+ */
680
+ export type CryptoCurrency = (typeof CryptoCurrency)[keyof typeof CryptoCurrency];
681
+ /**
682
+ * @public
683
+ * @enum
684
+ */
685
+ export declare const CurrencyMode: {
686
+ readonly REAL: "REAL";
687
+ readonly TEST: "TEST";
688
+ };
689
+ /**
690
+ * @public
691
+ */
692
+ export type CurrencyMode = (typeof CurrencyMode)[keyof typeof CurrencyMode];
651
693
  /**
652
694
  * @public
653
695
  * @enum
@@ -747,6 +789,95 @@ export declare const FilterRequirement: {
747
789
  * @public
748
790
  */
749
791
  export type FilterRequirement = (typeof FilterRequirement)[keyof typeof FilterRequirement];
792
+ /**
793
+ * @public
794
+ * @enum
795
+ */
796
+ export declare const Currency: {
797
+ readonly USDC: "USDC";
798
+ };
799
+ /**
800
+ * @public
801
+ */
802
+ export type Currency = (typeof Currency)[keyof typeof Currency];
803
+ /**
804
+ * @public
805
+ * @enum
806
+ */
807
+ export declare const GroupByType: {
808
+ readonly CATEGORY: "CATEGORY";
809
+ readonly INTENT: "INTENT";
810
+ readonly NAME: "NAME";
811
+ readonly ORGANIZATION: "ORGANIZATION";
812
+ readonly WEBACL: "WEBACL";
813
+ };
814
+ /**
815
+ * @public
816
+ */
817
+ export type GroupByType = (typeof GroupByType)[keyof typeof GroupByType];
818
+ /**
819
+ * @public
820
+ * @enum
821
+ */
822
+ export declare const RankingSortBy: {
823
+ readonly NAME: "NAME";
824
+ readonly PERCENTAGE: "PERCENTAGE";
825
+ readonly REVENUE: "REVENUE";
826
+ };
827
+ /**
828
+ * @public
829
+ */
830
+ export type RankingSortBy = (typeof RankingSortBy)[keyof typeof RankingSortBy];
831
+ /**
832
+ * @public
833
+ * @enum
834
+ */
835
+ export declare const SortOrder: {
836
+ readonly ASC: "ASC";
837
+ readonly DESC: "DESC";
838
+ };
839
+ /**
840
+ * @public
841
+ */
842
+ export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
843
+ /**
844
+ * @public
845
+ * @enum
846
+ */
847
+ export declare const RankingStatisticType: {
848
+ readonly TOP_PATHS_BY_REVENUE: "TOP_PATHS_BY_REVENUE";
849
+ readonly TOP_SOURCES_BY_REVENUE: "TOP_SOURCES_BY_REVENUE";
850
+ };
851
+ /**
852
+ * @public
853
+ */
854
+ export type RankingStatisticType = (typeof RankingStatisticType)[keyof typeof RankingStatisticType];
855
+ /**
856
+ * @public
857
+ * @enum
858
+ */
859
+ export declare const IntervalType: {
860
+ readonly DAILY: "DAILY";
861
+ readonly FIVE_MINUTELY: "FIVE_MINUTELY";
862
+ readonly HOURLY: "HOURLY";
863
+ readonly MINUTELY: "MINUTELY";
864
+ };
865
+ /**
866
+ * @public
867
+ */
868
+ export type IntervalType = (typeof IntervalType)[keyof typeof IntervalType];
869
+ /**
870
+ * @public
871
+ * @enum
872
+ */
873
+ export declare const TimeSeriesStatisticType: {
874
+ readonly DATE_HISTOGRAM: "DATE_HISTOGRAM";
875
+ readonly PAYMENT_TRAFFIC: "PAYMENT_TRAFFIC";
876
+ };
877
+ /**
878
+ * @public
879
+ */
880
+ export type TimeSeriesStatisticType = (typeof TimeSeriesStatisticType)[keyof typeof TimeSeriesStatisticType];
750
881
  /**
751
882
  * @public
752
883
  * @enum
@@ -778,3 +909,33 @@ export declare const ResourceType: {
778
909
  * @public
779
910
  */
780
911
  export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
912
+ /**
913
+ * @public
914
+ * @enum
915
+ */
916
+ export declare const SettlementSortBy: {
917
+ readonly AMOUNT: "AMOUNT";
918
+ readonly NAME: "NAME";
919
+ readonly STATUS: "STATUS";
920
+ readonly TIMESTAMP: "TIMESTAMP";
921
+ };
922
+ /**
923
+ * @public
924
+ */
925
+ export type SettlementSortBy = (typeof SettlementSortBy)[keyof typeof SettlementSortBy];
926
+ /**
927
+ * @public
928
+ * @enum
929
+ */
930
+ export declare const SettlementStatus: {
931
+ readonly DUPLICATE: "DUPLICATE";
932
+ readonly FAILED: "FAILED";
933
+ readonly PENDING: "PENDING";
934
+ readonly SERVICE_ERROR: "SERVICE_ERROR";
935
+ readonly SETTLED: "SETTLED";
936
+ readonly SKIPPED_ORIGIN_ERROR: "SKIPPED_ORIGIN_ERROR";
937
+ };
938
+ /**
939
+ * @public
940
+ */
941
+ export type SettlementStatus = (typeof SettlementStatus)[keyof typeof SettlementStatus];