@aws-sdk/client-wafv2 3.1161.0 → 3.1163.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.
- package/dist-cjs/index.js +55 -15
- package/dist-es/models/enums.js +7 -3
- package/dist-es/runtimeConfig.js +2 -1
- package/dist-es/schemas/schemas_0.js +41 -10
- package/dist-types/commands/CreateRuleGroupCommand.d.ts +16 -0
- package/dist-types/commands/CreateWebACLCommand.d.ts +16 -0
- package/dist-types/commands/GetRuleGroupCommand.d.ts +16 -0
- package/dist-types/commands/GetWebACLCommand.d.ts +16 -0
- package/dist-types/commands/GetWebACLForResourceCommand.d.ts +16 -0
- package/dist-types/commands/UpdateRuleGroupCommand.d.ts +16 -0
- package/dist-types/commands/UpdateWebACLCommand.d.ts +16 -0
- package/dist-types/models/enums.d.ts +16 -4
- package/dist-types/models/models_0.d.ts +79 -4
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +3 -0
- package/dist-types/ts3.4/models/enums.d.ts +10 -4
- package/dist-types/ts3.4/models/models_0.d.ts +14 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
1
|
+
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, getDefaultSocketTimeout, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
2
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin } = require("@smithy/core");
|
|
3
3
|
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
|
|
4
4
|
const { Command: $Command } = require("@smithy/core/client");
|
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1162.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -495,9 +495,16 @@ const _Be = "Behavior";
|
|
|
495
495
|
const _Bl = "Block";
|
|
496
496
|
const _C = "Capacity";
|
|
497
497
|
const _CA = "CaptchaAction";
|
|
498
|
+
const _CAA = "ConnectedAccountArn";
|
|
499
|
+
const _CAC = "ConnectedAccountConfig";
|
|
500
|
+
const _CACC = "ConnectedAccountChainConfig";
|
|
501
|
+
const _CACo = "ConnectedAccountConfigs";
|
|
502
|
+
const _CAP = "ConnectedAccountPrice";
|
|
498
503
|
const _CAPIK = "CreateAPIKey";
|
|
499
504
|
const _CAPIKR = "CreateAPIKeyRequest";
|
|
500
505
|
const _CAPIKRr = "CreateAPIKeyResponse";
|
|
506
|
+
const _CAPN = "ConnectedAccountPaymentNetworks";
|
|
507
|
+
const _CAPo = "ConnectedAccountPrices";
|
|
501
508
|
const _CAh = "ChallengeAction";
|
|
502
509
|
const _CAo = "CountAction";
|
|
503
510
|
const _CC = "CaptchaConfig";
|
|
@@ -874,8 +881,8 @@ const _Pe = "Percentage";
|
|
|
874
881
|
const _Pl = "Platform";
|
|
875
882
|
const _Po = "Policy";
|
|
876
883
|
const _Pos = "Position";
|
|
877
|
-
const _Pr = "
|
|
878
|
-
const _Pri = "
|
|
884
|
+
const _Pr = "Prices";
|
|
885
|
+
const _Pri = "Priority";
|
|
879
886
|
const _Pric = "Price";
|
|
880
887
|
const _QA = "QueryArgument";
|
|
881
888
|
const _QS = "QueryString";
|
|
@@ -1386,6 +1393,21 @@ var Condition$ = [3, n0, _Co,
|
|
|
1386
1393
|
[_AC, _LNC],
|
|
1387
1394
|
[() => ActionCondition$, () => LabelNameCondition$]
|
|
1388
1395
|
];
|
|
1396
|
+
var ConnectedAccountChainConfig$ = [3, n0, _CACC,
|
|
1397
|
+
0,
|
|
1398
|
+
[_Cha, _Pr],
|
|
1399
|
+
[0, () => ConnectedAccountPrices], 2
|
|
1400
|
+
];
|
|
1401
|
+
var ConnectedAccountConfig$ = [3, n0, _CAC,
|
|
1402
|
+
0,
|
|
1403
|
+
[_CAA, _PN],
|
|
1404
|
+
[0, () => ConnectedAccountPaymentNetworks], 2
|
|
1405
|
+
];
|
|
1406
|
+
var ConnectedAccountPrice$ = [3, n0, _CAP,
|
|
1407
|
+
0,
|
|
1408
|
+
[_Am, _Cu],
|
|
1409
|
+
[0, 0], 2
|
|
1410
|
+
];
|
|
1389
1411
|
var CookieMatchPattern$ = [3, n0, _CMP,
|
|
1390
1412
|
0,
|
|
1391
1413
|
[_Al, _IC, _EC],
|
|
@@ -1653,7 +1675,7 @@ var FilterSource$ = [3, n0, _FS,
|
|
|
1653
1675
|
];
|
|
1654
1676
|
var FirewallManagerRuleGroup$ = [3, n0, _FMRG,
|
|
1655
1677
|
0,
|
|
1656
|
-
[_N,
|
|
1678
|
+
[_N, _Pri, _FMS, _OA, _VC],
|
|
1657
1679
|
[0, 1, () => FirewallManagerStatement$, () => OverrideAction$, () => VisibilityConfig$], 5
|
|
1658
1680
|
];
|
|
1659
1681
|
var FirewallManagerStatement$ = [3, n0, _FMS,
|
|
@@ -2123,8 +2145,8 @@ var MobileSdkRelease$ = [3, n0, _MSR,
|
|
|
2123
2145
|
];
|
|
2124
2146
|
var MonetizationConfig$ = [3, n0, _MC,
|
|
2125
2147
|
0,
|
|
2126
|
-
[_CCr, _CM],
|
|
2127
|
-
[() => CryptoConfig$, 0]
|
|
2148
|
+
[_CCr, _CACo, _CM],
|
|
2149
|
+
[() => CryptoConfig$, () => ConnectedAccountConfigs, 0]
|
|
2128
2150
|
];
|
|
2129
2151
|
var MonetizationFilter$ = [3, n0, _MF,
|
|
2130
2152
|
0,
|
|
@@ -2173,7 +2195,7 @@ var PathStatistics$ = [3, n0, _PSa,
|
|
|
2173
2195
|
];
|
|
2174
2196
|
var PaymentNetwork$ = [3, n0, _PNa,
|
|
2175
2197
|
0,
|
|
2176
|
-
[_Cha, _WA,
|
|
2198
|
+
[_Cha, _WA, _Pr],
|
|
2177
2199
|
[0, 0, () => Prices], 3
|
|
2178
2200
|
];
|
|
2179
2201
|
var PhoneNumberField$ = [3, n0, _PNF,
|
|
@@ -2183,7 +2205,7 @@ var PhoneNumberField$ = [3, n0, _PNF,
|
|
|
2183
2205
|
];
|
|
2184
2206
|
var PreParseTextTransformation$ = [3, n0, _PPTTr,
|
|
2185
2207
|
0,
|
|
2186
|
-
[
|
|
2208
|
+
[_Pri, _Ty],
|
|
2187
2209
|
[1, 0], 2
|
|
2188
2210
|
];
|
|
2189
2211
|
var Price$ = [3, n0, _Pric,
|
|
@@ -2383,7 +2405,7 @@ var RevenuePathStatistics$ = [3, n0, _RPSe,
|
|
|
2383
2405
|
];
|
|
2384
2406
|
var Rule$ = [3, n0, _Rul,
|
|
2385
2407
|
0,
|
|
2386
|
-
[_N,
|
|
2408
|
+
[_N, _Pri, _St, _VC, _A, _OA, _RL, _CC, _CCh],
|
|
2387
2409
|
[0, 1, () => Statement$, () => VisibilityConfig$, () => RuleAction$, () => OverrideAction$, () => Labels, () => CaptchaConfig$, () => ChallengeConfig$], 4
|
|
2388
2410
|
];
|
|
2389
2411
|
var RuleAction$ = [3, n0, _RAu,
|
|
@@ -2478,7 +2500,7 @@ var TagResourceResponse$ = [3, n0, _TRRa,
|
|
|
2478
2500
|
];
|
|
2479
2501
|
var TextTransformation$ = [3, n0, _TTe,
|
|
2480
2502
|
0,
|
|
2481
|
-
[
|
|
2503
|
+
[_Pri, _Ty],
|
|
2482
2504
|
[1, 0], 2
|
|
2483
2505
|
];
|
|
2484
2506
|
var TimeWindow$ = [3, n0, _TW,
|
|
@@ -2601,6 +2623,15 @@ var BotStatisticsList = [1, n0, _BSL,
|
|
|
2601
2623
|
var Conditions = [1, n0, _Cond,
|
|
2602
2624
|
0, () => Condition$
|
|
2603
2625
|
];
|
|
2626
|
+
var ConnectedAccountConfigs = [1, n0, _CACo,
|
|
2627
|
+
0, () => ConnectedAccountConfig$
|
|
2628
|
+
];
|
|
2629
|
+
var ConnectedAccountPaymentNetworks = [1, n0, _CAPN,
|
|
2630
|
+
0, () => ConnectedAccountChainConfig$
|
|
2631
|
+
];
|
|
2632
|
+
var ConnectedAccountPrices = [1, n0, _CAPo,
|
|
2633
|
+
0, () => ConnectedAccountPrice$
|
|
2634
|
+
];
|
|
2604
2635
|
var CustomHTTPHeaders = [1, n0, _CHTTPHu,
|
|
2605
2636
|
0, () => CustomHTTPHeader$
|
|
2606
2637
|
];
|
|
@@ -2667,7 +2698,7 @@ var PhoneNumberFields = [1, n0, _PNFh,
|
|
|
2667
2698
|
var PreParseTextTransformations = [1, n0, _PPTT,
|
|
2668
2699
|
0, () => PreParseTextTransformation$
|
|
2669
2700
|
];
|
|
2670
|
-
var Prices = [1, n0,
|
|
2701
|
+
var Prices = [1, n0, _Pr,
|
|
2671
2702
|
0, () => Price$
|
|
2672
2703
|
];
|
|
2673
2704
|
var RateBasedStatementCustomKeys = [1, n0, _RBSCKa,
|
|
@@ -2965,6 +2996,7 @@ const getRuntimeConfig = (config) => {
|
|
|
2965
2996
|
authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
2966
2997
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
2967
2998
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
|
|
2999
|
+
defaultSocketTimeout: getDefaultSocketTimeout(config?.requestHandler, 300_000),
|
|
2968
3000
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
2969
3001
|
maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
2970
3002
|
region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
@@ -3790,15 +3822,19 @@ const ResponseContentType = {
|
|
|
3790
3822
|
TEXT_HTML: "TEXT_HTML",
|
|
3791
3823
|
TEXT_PLAIN: "TEXT_PLAIN",
|
|
3792
3824
|
};
|
|
3793
|
-
const
|
|
3825
|
+
const ConnectedAccountChain = {
|
|
3794
3826
|
BASE: "BASE",
|
|
3795
|
-
BASE_SEPOLIA: "BASE_SEPOLIA",
|
|
3796
3827
|
SOLANA: "SOLANA",
|
|
3797
|
-
SOLANA_DEVNET: "SOLANA_DEVNET",
|
|
3798
3828
|
};
|
|
3799
3829
|
const CryptoCurrency = {
|
|
3800
3830
|
USDC: "USDC",
|
|
3801
3831
|
};
|
|
3832
|
+
const BlockchainChain = {
|
|
3833
|
+
BASE: "BASE",
|
|
3834
|
+
BASE_SEPOLIA: "BASE_SEPOLIA",
|
|
3835
|
+
SOLANA: "SOLANA",
|
|
3836
|
+
SOLANA_DEVNET: "SOLANA_DEVNET",
|
|
3837
|
+
};
|
|
3802
3838
|
const CurrencyMode = {
|
|
3803
3839
|
REAL: "REAL",
|
|
3804
3840
|
TEST: "TEST",
|
|
@@ -3944,6 +3980,10 @@ exports.ClientSideAction$ = ClientSideAction$;
|
|
|
3944
3980
|
exports.ClientSideActionConfig$ = ClientSideActionConfig$;
|
|
3945
3981
|
exports.ComparisonOperator = ComparisonOperator;
|
|
3946
3982
|
exports.Condition$ = Condition$;
|
|
3983
|
+
exports.ConnectedAccountChain = ConnectedAccountChain;
|
|
3984
|
+
exports.ConnectedAccountChainConfig$ = ConnectedAccountChainConfig$;
|
|
3985
|
+
exports.ConnectedAccountConfig$ = ConnectedAccountConfig$;
|
|
3986
|
+
exports.ConnectedAccountPrice$ = ConnectedAccountPrice$;
|
|
3947
3987
|
exports.CookieMatchPattern$ = CookieMatchPattern$;
|
|
3948
3988
|
exports.Cookies$ = Cookies$;
|
|
3949
3989
|
exports.CountAction$ = CountAction$;
|
package/dist-es/models/enums.js
CHANGED
|
@@ -481,15 +481,19 @@ export const ResponseContentType = {
|
|
|
481
481
|
TEXT_HTML: "TEXT_HTML",
|
|
482
482
|
TEXT_PLAIN: "TEXT_PLAIN",
|
|
483
483
|
};
|
|
484
|
-
export const
|
|
484
|
+
export const ConnectedAccountChain = {
|
|
485
485
|
BASE: "BASE",
|
|
486
|
-
BASE_SEPOLIA: "BASE_SEPOLIA",
|
|
487
486
|
SOLANA: "SOLANA",
|
|
488
|
-
SOLANA_DEVNET: "SOLANA_DEVNET",
|
|
489
487
|
};
|
|
490
488
|
export const CryptoCurrency = {
|
|
491
489
|
USDC: "USDC",
|
|
492
490
|
};
|
|
491
|
+
export const BlockchainChain = {
|
|
492
|
+
BASE: "BASE",
|
|
493
|
+
BASE_SEPOLIA: "BASE_SEPOLIA",
|
|
494
|
+
SOLANA: "SOLANA",
|
|
495
|
+
SOLANA_DEVNET: "SOLANA_DEVNET",
|
|
496
|
+
};
|
|
493
497
|
export const CurrencyMode = {
|
|
494
498
|
REAL: "REAL",
|
|
495
499
|
TEST: "TEST",
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { createDefaultUserAgentProvider, emitWarningIfUnsupportedVersion as awsCheckVersion, NODE_APP_ID_CONFIG_OPTIONS, } from "@aws-sdk/core/client";
|
|
2
|
+
import { createDefaultUserAgentProvider, emitWarningIfUnsupportedVersion as awsCheckVersion, getDefaultSocketTimeout, NODE_APP_ID_CONFIG_OPTIONS, } from "@aws-sdk/core/client";
|
|
3
3
|
import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core/httpAuthSchemes";
|
|
4
4
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
5
5
|
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
@@ -26,6 +26,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
26
26
|
authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
27
27
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
28
28
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
|
|
29
|
+
defaultSocketTimeout: getDefaultSocketTimeout(config?.requestHandler, 300_000),
|
|
29
30
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
30
31
|
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
31
32
|
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
@@ -47,9 +47,16 @@ const _Be = "Behavior";
|
|
|
47
47
|
const _Bl = "Block";
|
|
48
48
|
const _C = "Capacity";
|
|
49
49
|
const _CA = "CaptchaAction";
|
|
50
|
+
const _CAA = "ConnectedAccountArn";
|
|
51
|
+
const _CAC = "ConnectedAccountConfig";
|
|
52
|
+
const _CACC = "ConnectedAccountChainConfig";
|
|
53
|
+
const _CACo = "ConnectedAccountConfigs";
|
|
54
|
+
const _CAP = "ConnectedAccountPrice";
|
|
50
55
|
const _CAPIK = "CreateAPIKey";
|
|
51
56
|
const _CAPIKR = "CreateAPIKeyRequest";
|
|
52
57
|
const _CAPIKRr = "CreateAPIKeyResponse";
|
|
58
|
+
const _CAPN = "ConnectedAccountPaymentNetworks";
|
|
59
|
+
const _CAPo = "ConnectedAccountPrices";
|
|
53
60
|
const _CAh = "ChallengeAction";
|
|
54
61
|
const _CAo = "CountAction";
|
|
55
62
|
const _CC = "CaptchaConfig";
|
|
@@ -426,8 +433,8 @@ const _Pe = "Percentage";
|
|
|
426
433
|
const _Pl = "Platform";
|
|
427
434
|
const _Po = "Policy";
|
|
428
435
|
const _Pos = "Position";
|
|
429
|
-
const _Pr = "
|
|
430
|
-
const _Pri = "
|
|
436
|
+
const _Pr = "Prices";
|
|
437
|
+
const _Pri = "Priority";
|
|
431
438
|
const _Pric = "Price";
|
|
432
439
|
const _QA = "QueryArgument";
|
|
433
440
|
const _QS = "QueryString";
|
|
@@ -941,6 +948,21 @@ export var Condition$ = [3, n0, _Co,
|
|
|
941
948
|
[_AC, _LNC],
|
|
942
949
|
[() => ActionCondition$, () => LabelNameCondition$]
|
|
943
950
|
];
|
|
951
|
+
export var ConnectedAccountChainConfig$ = [3, n0, _CACC,
|
|
952
|
+
0,
|
|
953
|
+
[_Cha, _Pr],
|
|
954
|
+
[0, () => ConnectedAccountPrices], 2
|
|
955
|
+
];
|
|
956
|
+
export var ConnectedAccountConfig$ = [3, n0, _CAC,
|
|
957
|
+
0,
|
|
958
|
+
[_CAA, _PN],
|
|
959
|
+
[0, () => ConnectedAccountPaymentNetworks], 2
|
|
960
|
+
];
|
|
961
|
+
export var ConnectedAccountPrice$ = [3, n0, _CAP,
|
|
962
|
+
0,
|
|
963
|
+
[_Am, _Cu],
|
|
964
|
+
[0, 0], 2
|
|
965
|
+
];
|
|
944
966
|
export var CookieMatchPattern$ = [3, n0, _CMP,
|
|
945
967
|
0,
|
|
946
968
|
[_Al, _IC, _EC],
|
|
@@ -1208,7 +1230,7 @@ export var FilterSource$ = [3, n0, _FS,
|
|
|
1208
1230
|
];
|
|
1209
1231
|
export var FirewallManagerRuleGroup$ = [3, n0, _FMRG,
|
|
1210
1232
|
0,
|
|
1211
|
-
[_N,
|
|
1233
|
+
[_N, _Pri, _FMS, _OA, _VC],
|
|
1212
1234
|
[0, 1, () => FirewallManagerStatement$, () => OverrideAction$, () => VisibilityConfig$], 5
|
|
1213
1235
|
];
|
|
1214
1236
|
export var FirewallManagerStatement$ = [3, n0, _FMS,
|
|
@@ -1678,8 +1700,8 @@ export var MobileSdkRelease$ = [3, n0, _MSR,
|
|
|
1678
1700
|
];
|
|
1679
1701
|
export var MonetizationConfig$ = [3, n0, _MC,
|
|
1680
1702
|
0,
|
|
1681
|
-
[_CCr, _CM],
|
|
1682
|
-
[() => CryptoConfig$, 0]
|
|
1703
|
+
[_CCr, _CACo, _CM],
|
|
1704
|
+
[() => CryptoConfig$, () => ConnectedAccountConfigs, 0]
|
|
1683
1705
|
];
|
|
1684
1706
|
export var MonetizationFilter$ = [3, n0, _MF,
|
|
1685
1707
|
0,
|
|
@@ -1728,7 +1750,7 @@ export var PathStatistics$ = [3, n0, _PSa,
|
|
|
1728
1750
|
];
|
|
1729
1751
|
export var PaymentNetwork$ = [3, n0, _PNa,
|
|
1730
1752
|
0,
|
|
1731
|
-
[_Cha, _WA,
|
|
1753
|
+
[_Cha, _WA, _Pr],
|
|
1732
1754
|
[0, 0, () => Prices], 3
|
|
1733
1755
|
];
|
|
1734
1756
|
export var PhoneNumberField$ = [3, n0, _PNF,
|
|
@@ -1738,7 +1760,7 @@ export var PhoneNumberField$ = [3, n0, _PNF,
|
|
|
1738
1760
|
];
|
|
1739
1761
|
export var PreParseTextTransformation$ = [3, n0, _PPTTr,
|
|
1740
1762
|
0,
|
|
1741
|
-
[
|
|
1763
|
+
[_Pri, _Ty],
|
|
1742
1764
|
[1, 0], 2
|
|
1743
1765
|
];
|
|
1744
1766
|
export var Price$ = [3, n0, _Pric,
|
|
@@ -1938,7 +1960,7 @@ export var RevenuePathStatistics$ = [3, n0, _RPSe,
|
|
|
1938
1960
|
];
|
|
1939
1961
|
export var Rule$ = [3, n0, _Rul,
|
|
1940
1962
|
0,
|
|
1941
|
-
[_N,
|
|
1963
|
+
[_N, _Pri, _St, _VC, _A, _OA, _RL, _CC, _CCh],
|
|
1942
1964
|
[0, 1, () => Statement$, () => VisibilityConfig$, () => RuleAction$, () => OverrideAction$, () => Labels, () => CaptchaConfig$, () => ChallengeConfig$], 4
|
|
1943
1965
|
];
|
|
1944
1966
|
export var RuleAction$ = [3, n0, _RAu,
|
|
@@ -2033,7 +2055,7 @@ export var TagResourceResponse$ = [3, n0, _TRRa,
|
|
|
2033
2055
|
];
|
|
2034
2056
|
export var TextTransformation$ = [3, n0, _TTe,
|
|
2035
2057
|
0,
|
|
2036
|
-
[
|
|
2058
|
+
[_Pri, _Ty],
|
|
2037
2059
|
[1, 0], 2
|
|
2038
2060
|
];
|
|
2039
2061
|
export var TimeWindow$ = [3, n0, _TW,
|
|
@@ -2159,6 +2181,15 @@ var BotStatisticsList = [1, n0, _BSL,
|
|
|
2159
2181
|
var Conditions = [1, n0, _Cond,
|
|
2160
2182
|
0, () => Condition$
|
|
2161
2183
|
];
|
|
2184
|
+
var ConnectedAccountConfigs = [1, n0, _CACo,
|
|
2185
|
+
0, () => ConnectedAccountConfig$
|
|
2186
|
+
];
|
|
2187
|
+
var ConnectedAccountPaymentNetworks = [1, n0, _CAPN,
|
|
2188
|
+
0, () => ConnectedAccountChainConfig$
|
|
2189
|
+
];
|
|
2190
|
+
var ConnectedAccountPrices = [1, n0, _CAPo,
|
|
2191
|
+
0, () => ConnectedAccountPrice$
|
|
2192
|
+
];
|
|
2162
2193
|
var CookieNames = 64 | 0;
|
|
2163
2194
|
var CountryCodes = 64 | 0;
|
|
2164
2195
|
var CustomHTTPHeaders = [1, n0, _CHTTPHu,
|
|
@@ -2233,7 +2264,7 @@ var PhoneNumberFields = [1, n0, _PNFh,
|
|
|
2233
2264
|
var PreParseTextTransformations = [1, n0, _PPTT,
|
|
2234
2265
|
0, () => PreParseTextTransformation$
|
|
2235
2266
|
];
|
|
2236
|
-
var Prices = [1, n0,
|
|
2267
|
+
var Prices = [1, n0, _Pr,
|
|
2237
2268
|
0, () => Price$
|
|
2238
2269
|
];
|
|
2239
2270
|
var RateBasedStatementCustomKeys = [1, n0, _RBSCKa,
|
|
@@ -1158,6 +1158,22 @@ declare const CreateRuleGroupCommand_base: {
|
|
|
1158
1158
|
* },
|
|
1159
1159
|
* ],
|
|
1160
1160
|
* },
|
|
1161
|
+
* ConnectedAccountConfigs: [ // ConnectedAccountConfigs
|
|
1162
|
+
* { // ConnectedAccountConfig
|
|
1163
|
+
* ConnectedAccountArn: "STRING_VALUE", // required
|
|
1164
|
+
* PaymentNetworks: [ // ConnectedAccountPaymentNetworks // required
|
|
1165
|
+
* { // ConnectedAccountChainConfig
|
|
1166
|
+
* Chain: "BASE" || "SOLANA", // required
|
|
1167
|
+
* Prices: [ // ConnectedAccountPrices // required
|
|
1168
|
+
* { // ConnectedAccountPrice
|
|
1169
|
+
* Amount: "STRING_VALUE", // required
|
|
1170
|
+
* Currency: "USDC", // required
|
|
1171
|
+
* },
|
|
1172
|
+
* ],
|
|
1173
|
+
* },
|
|
1174
|
+
* ],
|
|
1175
|
+
* },
|
|
1176
|
+
* ],
|
|
1161
1177
|
* CurrencyMode: "REAL" || "TEST",
|
|
1162
1178
|
* },
|
|
1163
1179
|
* };
|
|
@@ -1196,6 +1196,22 @@ declare const CreateWebACLCommand_base: {
|
|
|
1196
1196
|
* },
|
|
1197
1197
|
* ],
|
|
1198
1198
|
* },
|
|
1199
|
+
* ConnectedAccountConfigs: [ // ConnectedAccountConfigs
|
|
1200
|
+
* { // ConnectedAccountConfig
|
|
1201
|
+
* ConnectedAccountArn: "STRING_VALUE", // required
|
|
1202
|
+
* PaymentNetworks: [ // ConnectedAccountPaymentNetworks // required
|
|
1203
|
+
* { // ConnectedAccountChainConfig
|
|
1204
|
+
* Chain: "BASE" || "SOLANA", // required
|
|
1205
|
+
* Prices: [ // ConnectedAccountPrices // required
|
|
1206
|
+
* { // ConnectedAccountPrice
|
|
1207
|
+
* Amount: "STRING_VALUE", // required
|
|
1208
|
+
* Currency: "USDC", // required
|
|
1209
|
+
* },
|
|
1210
|
+
* ],
|
|
1211
|
+
* },
|
|
1212
|
+
* ],
|
|
1213
|
+
* },
|
|
1214
|
+
* ],
|
|
1199
1215
|
* CurrencyMode: "REAL" || "TEST",
|
|
1200
1216
|
* },
|
|
1201
1217
|
* };
|
|
@@ -1172,6 +1172,22 @@ declare const GetRuleGroupCommand_base: {
|
|
|
1172
1172
|
* // },
|
|
1173
1173
|
* // ],
|
|
1174
1174
|
* // },
|
|
1175
|
+
* // ConnectedAccountConfigs: [ // ConnectedAccountConfigs
|
|
1176
|
+
* // { // ConnectedAccountConfig
|
|
1177
|
+
* // ConnectedAccountArn: "STRING_VALUE", // required
|
|
1178
|
+
* // PaymentNetworks: [ // ConnectedAccountPaymentNetworks // required
|
|
1179
|
+
* // { // ConnectedAccountChainConfig
|
|
1180
|
+
* // Chain: "BASE" || "SOLANA", // required
|
|
1181
|
+
* // Prices: [ // ConnectedAccountPrices // required
|
|
1182
|
+
* // { // ConnectedAccountPrice
|
|
1183
|
+
* // Amount: "STRING_VALUE", // required
|
|
1184
|
+
* // Currency: "USDC", // required
|
|
1185
|
+
* // },
|
|
1186
|
+
* // ],
|
|
1187
|
+
* // },
|
|
1188
|
+
* // ],
|
|
1189
|
+
* // },
|
|
1190
|
+
* // ],
|
|
1175
1191
|
* // CurrencyMode: "REAL" || "TEST",
|
|
1176
1192
|
* // },
|
|
1177
1193
|
* // },
|
|
@@ -1427,6 +1427,22 @@ declare const GetWebACLCommand_base: {
|
|
|
1427
1427
|
* // },
|
|
1428
1428
|
* // ],
|
|
1429
1429
|
* // },
|
|
1430
|
+
* // ConnectedAccountConfigs: [ // ConnectedAccountConfigs
|
|
1431
|
+
* // { // ConnectedAccountConfig
|
|
1432
|
+
* // ConnectedAccountArn: "STRING_VALUE", // required
|
|
1433
|
+
* // PaymentNetworks: [ // ConnectedAccountPaymentNetworks // required
|
|
1434
|
+
* // { // ConnectedAccountChainConfig
|
|
1435
|
+
* // Chain: "BASE" || "SOLANA", // required
|
|
1436
|
+
* // Prices: [ // ConnectedAccountPrices // required
|
|
1437
|
+
* // { // ConnectedAccountPrice
|
|
1438
|
+
* // Amount: "STRING_VALUE", // required
|
|
1439
|
+
* // Currency: "USDC", // required
|
|
1440
|
+
* // },
|
|
1441
|
+
* // ],
|
|
1442
|
+
* // },
|
|
1443
|
+
* // ],
|
|
1444
|
+
* // },
|
|
1445
|
+
* // ],
|
|
1430
1446
|
* // CurrencyMode: "REAL" || "TEST",
|
|
1431
1447
|
* // },
|
|
1432
1448
|
* // },
|
|
@@ -1434,6 +1434,22 @@ declare const GetWebACLForResourceCommand_base: {
|
|
|
1434
1434
|
* // },
|
|
1435
1435
|
* // ],
|
|
1436
1436
|
* // },
|
|
1437
|
+
* // ConnectedAccountConfigs: [ // ConnectedAccountConfigs
|
|
1438
|
+
* // { // ConnectedAccountConfig
|
|
1439
|
+
* // ConnectedAccountArn: "STRING_VALUE", // required
|
|
1440
|
+
* // PaymentNetworks: [ // ConnectedAccountPaymentNetworks // required
|
|
1441
|
+
* // { // ConnectedAccountChainConfig
|
|
1442
|
+
* // Chain: "BASE" || "SOLANA", // required
|
|
1443
|
+
* // Prices: [ // ConnectedAccountPrices // required
|
|
1444
|
+
* // { // ConnectedAccountPrice
|
|
1445
|
+
* // Amount: "STRING_VALUE", // required
|
|
1446
|
+
* // Currency: "USDC", // required
|
|
1447
|
+
* // },
|
|
1448
|
+
* // ],
|
|
1449
|
+
* // },
|
|
1450
|
+
* // ],
|
|
1451
|
+
* // },
|
|
1452
|
+
* // ],
|
|
1437
1453
|
* // CurrencyMode: "REAL" || "TEST",
|
|
1438
1454
|
* // },
|
|
1439
1455
|
* // },
|
|
@@ -1188,6 +1188,22 @@ declare const UpdateRuleGroupCommand_base: {
|
|
|
1188
1188
|
* },
|
|
1189
1189
|
* ],
|
|
1190
1190
|
* },
|
|
1191
|
+
* ConnectedAccountConfigs: [ // ConnectedAccountConfigs
|
|
1192
|
+
* { // ConnectedAccountConfig
|
|
1193
|
+
* ConnectedAccountArn: "STRING_VALUE", // required
|
|
1194
|
+
* PaymentNetworks: [ // ConnectedAccountPaymentNetworks // required
|
|
1195
|
+
* { // ConnectedAccountChainConfig
|
|
1196
|
+
* Chain: "BASE" || "SOLANA", // required
|
|
1197
|
+
* Prices: [ // ConnectedAccountPrices // required
|
|
1198
|
+
* { // ConnectedAccountPrice
|
|
1199
|
+
* Amount: "STRING_VALUE", // required
|
|
1200
|
+
* Currency: "USDC", // required
|
|
1201
|
+
* },
|
|
1202
|
+
* ],
|
|
1203
|
+
* },
|
|
1204
|
+
* ],
|
|
1205
|
+
* },
|
|
1206
|
+
* ],
|
|
1191
1207
|
* CurrencyMode: "REAL" || "TEST",
|
|
1192
1208
|
* },
|
|
1193
1209
|
* };
|
|
@@ -1228,6 +1228,22 @@ declare const UpdateWebACLCommand_base: {
|
|
|
1228
1228
|
* },
|
|
1229
1229
|
* ],
|
|
1230
1230
|
* },
|
|
1231
|
+
* ConnectedAccountConfigs: [ // ConnectedAccountConfigs
|
|
1232
|
+
* { // ConnectedAccountConfig
|
|
1233
|
+
* ConnectedAccountArn: "STRING_VALUE", // required
|
|
1234
|
+
* PaymentNetworks: [ // ConnectedAccountPaymentNetworks // required
|
|
1235
|
+
* { // ConnectedAccountChainConfig
|
|
1236
|
+
* Chain: "BASE" || "SOLANA", // required
|
|
1237
|
+
* Prices: [ // ConnectedAccountPrices // required
|
|
1238
|
+
* { // ConnectedAccountPrice
|
|
1239
|
+
* Amount: "STRING_VALUE", // required
|
|
1240
|
+
* Currency: "USDC", // required
|
|
1241
|
+
* },
|
|
1242
|
+
* ],
|
|
1243
|
+
* },
|
|
1244
|
+
* ],
|
|
1245
|
+
* },
|
|
1246
|
+
* ],
|
|
1231
1247
|
* CurrencyMode: "REAL" || "TEST",
|
|
1232
1248
|
* },
|
|
1233
1249
|
* };
|
|
@@ -685,16 +685,14 @@ export type ResponseContentType = (typeof ResponseContentType)[keyof typeof Resp
|
|
|
685
685
|
* @public
|
|
686
686
|
* @enum
|
|
687
687
|
*/
|
|
688
|
-
export declare const
|
|
688
|
+
export declare const ConnectedAccountChain: {
|
|
689
689
|
readonly BASE: "BASE";
|
|
690
|
-
readonly BASE_SEPOLIA: "BASE_SEPOLIA";
|
|
691
690
|
readonly SOLANA: "SOLANA";
|
|
692
|
-
readonly SOLANA_DEVNET: "SOLANA_DEVNET";
|
|
693
691
|
};
|
|
694
692
|
/**
|
|
695
693
|
* @public
|
|
696
694
|
*/
|
|
697
|
-
export type
|
|
695
|
+
export type ConnectedAccountChain = (typeof ConnectedAccountChain)[keyof typeof ConnectedAccountChain];
|
|
698
696
|
/**
|
|
699
697
|
* @public
|
|
700
698
|
* @enum
|
|
@@ -706,6 +704,20 @@ export declare const CryptoCurrency: {
|
|
|
706
704
|
* @public
|
|
707
705
|
*/
|
|
708
706
|
export type CryptoCurrency = (typeof CryptoCurrency)[keyof typeof CryptoCurrency];
|
|
707
|
+
/**
|
|
708
|
+
* @public
|
|
709
|
+
* @enum
|
|
710
|
+
*/
|
|
711
|
+
export declare const BlockchainChain: {
|
|
712
|
+
readonly BASE: "BASE";
|
|
713
|
+
readonly BASE_SEPOLIA: "BASE_SEPOLIA";
|
|
714
|
+
readonly SOLANA: "SOLANA";
|
|
715
|
+
readonly SOLANA_DEVNET: "SOLANA_DEVNET";
|
|
716
|
+
};
|
|
717
|
+
/**
|
|
718
|
+
* @public
|
|
719
|
+
*/
|
|
720
|
+
export type BlockchainChain = (typeof BlockchainChain)[keyof typeof BlockchainChain];
|
|
709
721
|
/**
|
|
710
722
|
* @public
|
|
711
723
|
* @enum
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ActionValue, AssociatedResourceType, BlockchainChain, BodyParsingFallbackBehavior, ComparisonOperator, CountryCode, CryptoCurrency, Currency, CurrencyMode, DataProtectionAction, FailureReason, FallbackBehavior, FieldToProtectType, FilterBehavior, FilterRequirement, ForwardedIPPosition, GroupByType, InspectionLevel, IntervalType, IPAddressVersion, JsonMatchScope, LabelMatchScope, LogScope, LogType, LowReputationMode, MapMatchScope, OversizeHandling, PayloadType, Platform, PositionalConstraint, PreParseTextTransformationType, RankingSortBy, RankingStatisticType, RateBasedStatementAggregateKeyType, ResourceType, ResponseContentType, Scope, SensitivityLevel, SensitivityToAct, SettlementSortBy, SettlementStatus, SizeInspectionLimit, SortOrder, TextTransformationType, TimeSeriesStatisticType, UsageOfAction } from "./enums";
|
|
1
|
+
import type { ActionValue, AssociatedResourceType, BlockchainChain, BodyParsingFallbackBehavior, ComparisonOperator, ConnectedAccountChain, CountryCode, CryptoCurrency, Currency, CurrencyMode, DataProtectionAction, FailureReason, FallbackBehavior, FieldToProtectType, FilterBehavior, FilterRequirement, ForwardedIPPosition, GroupByType, InspectionLevel, IntervalType, IPAddressVersion, JsonMatchScope, LabelMatchScope, LogScope, LogType, LowReputationMode, MapMatchScope, OversizeHandling, PayloadType, Platform, PositionalConstraint, PreParseTextTransformationType, RankingSortBy, RankingStatisticType, RateBasedStatementAggregateKeyType, ResourceType, ResponseContentType, Scope, SensitivityLevel, SensitivityToAct, SettlementSortBy, SettlementStatus, SizeInspectionLimit, SortOrder, TextTransformationType, TimeSeriesStatisticType, UsageOfAction } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* <p>A single action condition for a <a>Condition</a> in a logging filter.</p>
|
|
4
4
|
* @public
|
|
@@ -3437,6 +3437,65 @@ export interface CustomResponseBody {
|
|
|
3437
3437
|
*/
|
|
3438
3438
|
Content: string | undefined;
|
|
3439
3439
|
}
|
|
3440
|
+
/**
|
|
3441
|
+
* <p>The price per request for a connected account payment network, specifying the amount and cryptocurrency.</p>
|
|
3442
|
+
* @public
|
|
3443
|
+
*/
|
|
3444
|
+
export interface ConnectedAccountPrice {
|
|
3445
|
+
/**
|
|
3446
|
+
* <p>The price per request as a decimal string in the specified currency. Valid values range from 0.01 to 999999.99 USDC, with up to two decimal places. Sub-cent amounts are not supported.</p>
|
|
3447
|
+
* @public
|
|
3448
|
+
*/
|
|
3449
|
+
Amount: string | undefined;
|
|
3450
|
+
/**
|
|
3451
|
+
* <p>The cryptocurrency for payment. Currently only <code>USDC</code> is supported.</p>
|
|
3452
|
+
* @public
|
|
3453
|
+
*/
|
|
3454
|
+
Currency: CryptoCurrency | undefined;
|
|
3455
|
+
}
|
|
3456
|
+
/**
|
|
3457
|
+
* <p>A per-network configuration for a connected account, specifying the blockchain network and the price per request. Unlike <code>PaymentNetwork</code>, you do not provide a wallet address; the receiving address is managed for the connected account.</p>
|
|
3458
|
+
* @public
|
|
3459
|
+
*/
|
|
3460
|
+
export interface ConnectedAccountChainConfig {
|
|
3461
|
+
/**
|
|
3462
|
+
* <p>The blockchain network for receiving payments through the connected account. Test networks are not supported for connected accounts.</p>
|
|
3463
|
+
* <p>Valid values:</p>
|
|
3464
|
+
* <ul>
|
|
3465
|
+
* <li>
|
|
3466
|
+
* <p>
|
|
3467
|
+
* <code>BASE</code> - Base mainnet.</p>
|
|
3468
|
+
* </li>
|
|
3469
|
+
* <li>
|
|
3470
|
+
* <p>
|
|
3471
|
+
* <code>SOLANA</code> - Solana mainnet.</p>
|
|
3472
|
+
* </li>
|
|
3473
|
+
* </ul>
|
|
3474
|
+
* @public
|
|
3475
|
+
*/
|
|
3476
|
+
Chain: ConnectedAccountChain | undefined;
|
|
3477
|
+
/**
|
|
3478
|
+
* <p>The price configuration for this network. Currently supports a single price entry in USDC.</p>
|
|
3479
|
+
* @public
|
|
3480
|
+
*/
|
|
3481
|
+
Prices: ConnectedAccountPrice[] | undefined;
|
|
3482
|
+
}
|
|
3483
|
+
/**
|
|
3484
|
+
* <p>A connected account configuration for AI bot monetization. Specifies the connected account that payments settle to and the per-network pricing. Settlement through a connected account is an alternative to the self-managed wallets in <code>CryptoConfig</code>; wallet addresses are managed for the connected account rather than configured by you. If the referenced connected account is not active or not enabled for crypto settlement, the <code>CreateWebACL</code>, <code>UpdateWebACL</code>, <code>CreateRuleGroup</code>, or <code>UpdateRuleGroup</code> request that includes it is rejected. Specifically, a request that references the account is rejected with <code>WAFInvalidOperationException</code> if the account or its crypto settlement capability isn't active, <code>WAFNonexistentItemException</code> if the ARN no longer exists, <code>AccessDeniedException</code> if you don't have <code>payments:GetConnectedAccount</code>, or <code>WAFInvalidParameterException</code> if the ARN is invalid or the partition is unsupported. Connected accounts are available only in the commercial Amazon Web Services partition.</p>
|
|
3485
|
+
* @public
|
|
3486
|
+
*/
|
|
3487
|
+
export interface ConnectedAccountConfig {
|
|
3488
|
+
/**
|
|
3489
|
+
* <p>The Amazon Resource Name (ARN) of the connected account that payments settle to. You obtain this ARN from Payment preferences > Connected accounts in the Amazon Web Services Billing and Cost Management console. For more information, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-connected-accounts.html">Managing connected accounts</a>. The connected account must be active and enabled for crypto settlement; otherwise the request is rejected. To use a connected account, you must have the <code>payments:GetConnectedAccount</code> permission on this ARN.</p>
|
|
3490
|
+
* @public
|
|
3491
|
+
*/
|
|
3492
|
+
ConnectedAccountArn: string | undefined;
|
|
3493
|
+
/**
|
|
3494
|
+
* <p>The per-network configurations for the connected account. You can specify 1 to 2 networks. Each entry specifies a blockchain network and the price for each request.</p>
|
|
3495
|
+
* @public
|
|
3496
|
+
*/
|
|
3497
|
+
PaymentNetworks: ConnectedAccountChainConfig[] | undefined;
|
|
3498
|
+
}
|
|
3440
3499
|
/**
|
|
3441
3500
|
* <p>The price per request for a payment network, specifying the amount and cryptocurrency.</p>
|
|
3442
3501
|
* @public
|
|
@@ -3487,7 +3546,7 @@ export interface CryptoConfig {
|
|
|
3487
3546
|
PaymentNetworks: PaymentNetwork[] | undefined;
|
|
3488
3547
|
}
|
|
3489
3548
|
/**
|
|
3490
|
-
* <p>The monetization configuration for a web ACL or rule group. Specifies the
|
|
3549
|
+
* <p>The monetization configuration for a web ACL or rule group. Specifies the payment settlement options (self-managed crypto wallets in <code>CryptoConfig</code>, a connected account in <code>ConnectedAccountConfigs</code>, or both) and the currency mode for artificial intelligence (AI) bot monetization. You must provide this configuration when any rule in the web ACL or rule group uses the <code>Monetize</code> action.</p>
|
|
3491
3550
|
* @public
|
|
3492
3551
|
*/
|
|
3493
3552
|
export interface MonetizationConfig {
|
|
@@ -3497,7 +3556,23 @@ export interface MonetizationConfig {
|
|
|
3497
3556
|
*/
|
|
3498
3557
|
CryptoConfig?: CryptoConfig | undefined;
|
|
3499
3558
|
/**
|
|
3500
|
-
* <p>
|
|
3559
|
+
* <p>The connected account configurations for settling AI bot payments through a connected account with a supported third-party payment provider (Stripe), as an alternative to the self-managed wallets in <code>CryptoConfig</code>. You can provide <code>CryptoConfig</code>, <code>ConnectedAccountConfigs</code>, or both; however, a given blockchain network (chain) can be used by only one of them. Currently supports exactly one connected account.</p>
|
|
3560
|
+
* @public
|
|
3561
|
+
*/
|
|
3562
|
+
ConnectedAccountConfigs?: ConnectedAccountConfig[] | undefined;
|
|
3563
|
+
/**
|
|
3564
|
+
* <p>Specifies whether the configuration uses real or test currency. If not specified, defaults to <code>REAL</code>. Connected account configurations support production settlement only; <code>TEST</code> is not supported when <code>ConnectedAccountConfigs</code> is present.</p>
|
|
3565
|
+
* <p>Valid values:</p>
|
|
3566
|
+
* <ul>
|
|
3567
|
+
* <li>
|
|
3568
|
+
* <p>
|
|
3569
|
+
* <code>REAL</code> - Settle payments in USDC on production blockchain networks (Base, Solana).</p>
|
|
3570
|
+
* </li>
|
|
3571
|
+
* <li>
|
|
3572
|
+
* <p>
|
|
3573
|
+
* <code>TEST</code> - Settle on testnet networks (Base Sepolia, Solana Devnet) with tokens that have no monetary value.</p>
|
|
3574
|
+
* </li>
|
|
3575
|
+
* </ul>
|
|
3501
3576
|
* @public
|
|
3502
3577
|
*/
|
|
3503
3578
|
CurrencyMode?: CurrencyMode | undefined;
|
|
@@ -8758,7 +8833,7 @@ export interface WebACL {
|
|
|
8758
8833
|
*/
|
|
8759
8834
|
ApplicationConfig?: ApplicationConfig | undefined;
|
|
8760
8835
|
/**
|
|
8761
|
-
* <p>The monetization configuration for the web ACL. Required when any rule in the web ACL uses the <code>Monetize</code> action. Specifies the
|
|
8836
|
+
* <p>The monetization configuration for the web ACL. Required when any rule in the web ACL uses the <code>Monetize</code> action. Specifies the payment settlement options and currency mode for AI bot monetization.</p>
|
|
8762
8837
|
* @public
|
|
8763
8838
|
*/
|
|
8764
8839
|
MonetizationConfig?: MonetizationConfig | undefined;
|
|
@@ -44,6 +44,7 @@ export declare const getRuntimeConfig: (config: WAFV2ClientConfig) => {
|
|
|
44
44
|
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
45
45
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
46
46
|
credentialDefaultProvider: ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider) | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider);
|
|
47
|
+
defaultSocketTimeout: number | undefined;
|
|
47
48
|
defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
48
49
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
49
50
|
region: string | import("@smithy/types").Provider<string>;
|
|
@@ -60,6 +60,9 @@ export declare var CheckCapacityResponse$: StaticStructureSchema;
|
|
|
60
60
|
export declare var ClientSideAction$: StaticStructureSchema;
|
|
61
61
|
export declare var ClientSideActionConfig$: StaticStructureSchema;
|
|
62
62
|
export declare var Condition$: StaticStructureSchema;
|
|
63
|
+
export declare var ConnectedAccountChainConfig$: StaticStructureSchema;
|
|
64
|
+
export declare var ConnectedAccountConfig$: StaticStructureSchema;
|
|
65
|
+
export declare var ConnectedAccountPrice$: StaticStructureSchema;
|
|
63
66
|
export declare var CookieMatchPattern$: StaticStructureSchema;
|
|
64
67
|
export declare var Cookies$: StaticStructureSchema;
|
|
65
68
|
export declare var CountAction$: StaticStructureSchema;
|
|
@@ -512,17 +512,23 @@ export declare const ResponseContentType: {
|
|
|
512
512
|
readonly TEXT_PLAIN: "TEXT_PLAIN";
|
|
513
513
|
};
|
|
514
514
|
export type ResponseContentType = (typeof ResponseContentType)[keyof typeof ResponseContentType];
|
|
515
|
-
export declare const
|
|
515
|
+
export declare const ConnectedAccountChain: {
|
|
516
516
|
readonly BASE: "BASE";
|
|
517
|
-
readonly BASE_SEPOLIA: "BASE_SEPOLIA";
|
|
518
517
|
readonly SOLANA: "SOLANA";
|
|
519
|
-
readonly SOLANA_DEVNET: "SOLANA_DEVNET";
|
|
520
518
|
};
|
|
521
|
-
export type
|
|
519
|
+
export type ConnectedAccountChain =
|
|
520
|
+
(typeof ConnectedAccountChain)[keyof typeof ConnectedAccountChain];
|
|
522
521
|
export declare const CryptoCurrency: {
|
|
523
522
|
readonly USDC: "USDC";
|
|
524
523
|
};
|
|
525
524
|
export type CryptoCurrency = (typeof CryptoCurrency)[keyof typeof CryptoCurrency];
|
|
525
|
+
export declare const BlockchainChain: {
|
|
526
|
+
readonly BASE: "BASE";
|
|
527
|
+
readonly BASE_SEPOLIA: "BASE_SEPOLIA";
|
|
528
|
+
readonly SOLANA: "SOLANA";
|
|
529
|
+
readonly SOLANA_DEVNET: "SOLANA_DEVNET";
|
|
530
|
+
};
|
|
531
|
+
export type BlockchainChain = (typeof BlockchainChain)[keyof typeof BlockchainChain];
|
|
526
532
|
export declare const CurrencyMode: {
|
|
527
533
|
readonly REAL: "REAL";
|
|
528
534
|
readonly TEST: "TEST";
|
|
@@ -4,6 +4,7 @@ import {
|
|
|
4
4
|
BlockchainChain,
|
|
5
5
|
BodyParsingFallbackBehavior,
|
|
6
6
|
ComparisonOperator,
|
|
7
|
+
ConnectedAccountChain,
|
|
7
8
|
CountryCode,
|
|
8
9
|
CryptoCurrency,
|
|
9
10
|
Currency,
|
|
@@ -489,6 +490,18 @@ export interface CustomResponseBody {
|
|
|
489
490
|
ContentType: ResponseContentType | undefined;
|
|
490
491
|
Content: string | undefined;
|
|
491
492
|
}
|
|
493
|
+
export interface ConnectedAccountPrice {
|
|
494
|
+
Amount: string | undefined;
|
|
495
|
+
Currency: CryptoCurrency | undefined;
|
|
496
|
+
}
|
|
497
|
+
export interface ConnectedAccountChainConfig {
|
|
498
|
+
Chain: ConnectedAccountChain | undefined;
|
|
499
|
+
Prices: ConnectedAccountPrice[] | undefined;
|
|
500
|
+
}
|
|
501
|
+
export interface ConnectedAccountConfig {
|
|
502
|
+
ConnectedAccountArn: string | undefined;
|
|
503
|
+
PaymentNetworks: ConnectedAccountChainConfig[] | undefined;
|
|
504
|
+
}
|
|
492
505
|
export interface Price {
|
|
493
506
|
Amount: string | undefined;
|
|
494
507
|
Currency: CryptoCurrency | undefined;
|
|
@@ -503,6 +516,7 @@ export interface CryptoConfig {
|
|
|
503
516
|
}
|
|
504
517
|
export interface MonetizationConfig {
|
|
505
518
|
CryptoConfig?: CryptoConfig | undefined;
|
|
519
|
+
ConnectedAccountConfigs?: ConnectedAccountConfig[] | undefined;
|
|
506
520
|
CurrencyMode?: CurrencyMode | undefined;
|
|
507
521
|
}
|
|
508
522
|
export interface RuleGroupSummary {
|
|
@@ -78,6 +78,7 @@ export declare const getRuntimeConfig: (config: WAFV2ClientConfig) => {
|
|
|
78
78
|
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
|
|
79
79
|
) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider)
|
|
80
80
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider);
|
|
81
|
+
defaultSocketTimeout: number | undefined;
|
|
81
82
|
defaultUserAgentProvider: (
|
|
82
83
|
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
83
84
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
@@ -55,6 +55,9 @@ export declare var CheckCapacityResponse$: StaticStructureSchema;
|
|
|
55
55
|
export declare var ClientSideAction$: StaticStructureSchema;
|
|
56
56
|
export declare var ClientSideActionConfig$: StaticStructureSchema;
|
|
57
57
|
export declare var Condition$: StaticStructureSchema;
|
|
58
|
+
export declare var ConnectedAccountChainConfig$: StaticStructureSchema;
|
|
59
|
+
export declare var ConnectedAccountConfig$: StaticStructureSchema;
|
|
60
|
+
export declare var ConnectedAccountPrice$: StaticStructureSchema;
|
|
58
61
|
export declare var CookieMatchPattern$: StaticStructureSchema;
|
|
59
62
|
export declare var Cookies$: StaticStructureSchema;
|
|
60
63
|
export declare var CountAction$: StaticStructureSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-wafv2",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1163.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Wafv2 Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-wafv2",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
49
|
+
"@aws-sdk/core": "^3.980.0",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.93",
|
|
51
51
|
"@aws-sdk/types": "^3.975.0",
|
|
52
52
|
"@smithy/core": "^3.38.0",
|
|
53
53
|
"@smithy/fetch-http-handler": "^5.8.0",
|