aws-sdk-wafv2 1.144.0 → 1.146.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a3e4ee4581b2e0819771af79ff1f680b8a53d69192036569c5fe63c8bf3b9223
4
- data.tar.gz: e60442868d679da069d2cf3ae40791b2207972251bfdb8ead92e7ff4635f45eb
3
+ metadata.gz: e9ca010a32d8abaf9339e4779620307212a3c5eff0ecf87a7ab66d8823e0315e
4
+ data.tar.gz: 265e9295ae8ce8ee2e7ebf9cfb12e0806cb2ea284d3548aea3989b4fb4b25151
5
5
  SHA512:
6
- metadata.gz: a3d19f61fe1954fc522ceb36d16694910d1b52bc3d5ab1592a01077fb671c3c92b535f2cfdb5559704300d0be1f83caa300d7eef92adcf4752a7b75108fa4458
7
- data.tar.gz: 30455dd8a42c395bacb5fd4546a0e55509de8cace195c719a6963051e3ba555d0af34adbedf43cbeb31a00c33c46f22f71663a45fd1d513c558c28ef52ba22c3
6
+ metadata.gz: 462fbeac4e8667a9216629b23a71fa3dd29ac2eea08c463b5bfd1cc698bbd241cbf7ecd98538151e16f32165a05287fa6e33a035cdf876ca9332339aa4e0417b
7
+ data.tar.gz: a2129fbb6ff89a6260eb42ecb85e9f63c620625d8fa5f361f55ed11f8903edbe2936ab25890779a403fca68aad4f3220a1be704b817c8426a2eaafaaeb7abe9a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.146.0 (2026-11-05)
5
+ ------------------
6
+
7
+ * Feature - AWS WAF customers who monetize AI traffic on Web ACLs can now configure payments through connected accounts (Stripe).
8
+
9
+ 1.145.0 (2026-11-04)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.144.0 (2026-10-29)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.144.0
1
+ 1.146.0
@@ -2875,6 +2875,22 @@ module Aws::WAFV2
2875
2875
  # },
2876
2876
  # ],
2877
2877
  # },
2878
+ # connected_account_configs: [
2879
+ # {
2880
+ # connected_account_arn: "ConnectedAccountArn", # required
2881
+ # payment_networks: [ # required
2882
+ # {
2883
+ # chain: "BASE", # required, accepts BASE, SOLANA
2884
+ # prices: [ # required
2885
+ # {
2886
+ # amount: "ConnectedAccountPriceAmount", # required
2887
+ # currency: "USDC", # required, accepts USDC
2888
+ # },
2889
+ # ],
2890
+ # },
2891
+ # ],
2892
+ # },
2893
+ # ],
2878
2894
  # currency_mode: "REAL", # accepts REAL, TEST
2879
2895
  # },
2880
2896
  # })
@@ -4985,6 +5001,13 @@ module Aws::WAFV2
4985
5001
  # resp.rule_group.monetization_config.crypto_config.payment_networks[0].prices #=> Array
4986
5002
  # resp.rule_group.monetization_config.crypto_config.payment_networks[0].prices[0].amount #=> String
4987
5003
  # resp.rule_group.monetization_config.crypto_config.payment_networks[0].prices[0].currency #=> String, one of "USDC"
5004
+ # resp.rule_group.monetization_config.connected_account_configs #=> Array
5005
+ # resp.rule_group.monetization_config.connected_account_configs[0].connected_account_arn #=> String
5006
+ # resp.rule_group.monetization_config.connected_account_configs[0].payment_networks #=> Array
5007
+ # resp.rule_group.monetization_config.connected_account_configs[0].payment_networks[0].chain #=> String, one of "BASE", "SOLANA"
5008
+ # resp.rule_group.monetization_config.connected_account_configs[0].payment_networks[0].prices #=> Array
5009
+ # resp.rule_group.monetization_config.connected_account_configs[0].payment_networks[0].prices[0].amount #=> String
5010
+ # resp.rule_group.monetization_config.connected_account_configs[0].payment_networks[0].prices[0].currency #=> String, one of "USDC"
4988
5011
  # resp.rule_group.monetization_config.currency_mode #=> String, one of "REAL", "TEST"
4989
5012
  # resp.lock_token #=> String
4990
5013
  #
@@ -8144,6 +8167,22 @@ module Aws::WAFV2
8144
8167
  # },
8145
8168
  # ],
8146
8169
  # },
8170
+ # connected_account_configs: [
8171
+ # {
8172
+ # connected_account_arn: "ConnectedAccountArn", # required
8173
+ # payment_networks: [ # required
8174
+ # {
8175
+ # chain: "BASE", # required, accepts BASE, SOLANA
8176
+ # prices: [ # required
8177
+ # {
8178
+ # amount: "ConnectedAccountPriceAmount", # required
8179
+ # currency: "USDC", # required, accepts USDC
8180
+ # },
8181
+ # ],
8182
+ # },
8183
+ # ],
8184
+ # },
8185
+ # ],
8147
8186
  # currency_mode: "REAL", # accepts REAL, TEST
8148
8187
  # },
8149
8188
  # })
@@ -8411,7 +8450,7 @@ module Aws::WAFV2
8411
8450
  tracer: tracer
8412
8451
  )
8413
8452
  context[:gem_name] = 'aws-sdk-wafv2'
8414
- context[:gem_version] = '1.144.0'
8453
+ context[:gem_version] = '1.146.0'
8415
8454
  Seahorse::Client::Request.new(handlers, context)
8416
8455
  end
8417
8456
 
@@ -69,6 +69,15 @@ module Aws::WAFV2
69
69
  ComparisonOperator = Shapes::StringShape.new(name: 'ComparisonOperator')
70
70
  Condition = Shapes::StructureShape.new(name: 'Condition')
71
71
  Conditions = Shapes::ListShape.new(name: 'Conditions')
72
+ ConnectedAccountArn = Shapes::StringShape.new(name: 'ConnectedAccountArn')
73
+ ConnectedAccountChain = Shapes::StringShape.new(name: 'ConnectedAccountChain')
74
+ ConnectedAccountChainConfig = Shapes::StructureShape.new(name: 'ConnectedAccountChainConfig')
75
+ ConnectedAccountConfig = Shapes::StructureShape.new(name: 'ConnectedAccountConfig')
76
+ ConnectedAccountConfigs = Shapes::ListShape.new(name: 'ConnectedAccountConfigs')
77
+ ConnectedAccountPaymentNetworks = Shapes::ListShape.new(name: 'ConnectedAccountPaymentNetworks')
78
+ ConnectedAccountPrice = Shapes::StructureShape.new(name: 'ConnectedAccountPrice')
79
+ ConnectedAccountPriceAmount = Shapes::StringShape.new(name: 'ConnectedAccountPriceAmount')
80
+ ConnectedAccountPrices = Shapes::ListShape.new(name: 'ConnectedAccountPrices')
72
81
  ConsumedCapacity = Shapes::IntegerShape.new(name: 'ConsumedCapacity')
73
82
  CookieMatchPattern = Shapes::StructureShape.new(name: 'CookieMatchPattern')
74
83
  CookieNames = Shapes::ListShape.new(name: 'CookieNames')
@@ -672,6 +681,24 @@ module Aws::WAFV2
672
681
 
673
682
  Conditions.member = Shapes::ShapeRef.new(shape: Condition)
674
683
 
684
+ ConnectedAccountChainConfig.add_member(:chain, Shapes::ShapeRef.new(shape: ConnectedAccountChain, required: true, location_name: "Chain"))
685
+ ConnectedAccountChainConfig.add_member(:prices, Shapes::ShapeRef.new(shape: ConnectedAccountPrices, required: true, location_name: "Prices"))
686
+ ConnectedAccountChainConfig.struct_class = Types::ConnectedAccountChainConfig
687
+
688
+ ConnectedAccountConfig.add_member(:connected_account_arn, Shapes::ShapeRef.new(shape: ConnectedAccountArn, required: true, location_name: "ConnectedAccountArn"))
689
+ ConnectedAccountConfig.add_member(:payment_networks, Shapes::ShapeRef.new(shape: ConnectedAccountPaymentNetworks, required: true, location_name: "PaymentNetworks"))
690
+ ConnectedAccountConfig.struct_class = Types::ConnectedAccountConfig
691
+
692
+ ConnectedAccountConfigs.member = Shapes::ShapeRef.new(shape: ConnectedAccountConfig)
693
+
694
+ ConnectedAccountPaymentNetworks.member = Shapes::ShapeRef.new(shape: ConnectedAccountChainConfig)
695
+
696
+ ConnectedAccountPrice.add_member(:amount, Shapes::ShapeRef.new(shape: ConnectedAccountPriceAmount, required: true, location_name: "Amount"))
697
+ ConnectedAccountPrice.add_member(:currency, Shapes::ShapeRef.new(shape: CryptoCurrency, required: true, location_name: "Currency"))
698
+ ConnectedAccountPrice.struct_class = Types::ConnectedAccountPrice
699
+
700
+ ConnectedAccountPrices.member = Shapes::ShapeRef.new(shape: ConnectedAccountPrice)
701
+
675
702
  CookieMatchPattern.add_member(:all, Shapes::ShapeRef.new(shape: All, location_name: "All"))
676
703
  CookieMatchPattern.add_member(:included_cookies, Shapes::ShapeRef.new(shape: CookieNames, location_name: "IncludedCookies"))
677
704
  CookieMatchPattern.add_member(:excluded_cookies, Shapes::ShapeRef.new(shape: CookieNames, location_name: "ExcludedCookies"))
@@ -1454,6 +1481,7 @@ module Aws::WAFV2
1454
1481
  MobileSdkRelease.struct_class = Types::MobileSdkRelease
1455
1482
 
1456
1483
  MonetizationConfig.add_member(:crypto_config, Shapes::ShapeRef.new(shape: CryptoConfig, location_name: "CryptoConfig"))
1484
+ MonetizationConfig.add_member(:connected_account_configs, Shapes::ShapeRef.new(shape: ConnectedAccountConfigs, location_name: "ConnectedAccountConfigs"))
1457
1485
  MonetizationConfig.add_member(:currency_mode, Shapes::ShapeRef.new(shape: CurrencyMode, location_name: "CurrencyMode"))
1458
1486
  MonetizationConfig.struct_class = Types::MonetizationConfig
1459
1487
 
@@ -1335,6 +1335,105 @@ module Aws::WAFV2
1335
1335
  include Aws::Structure
1336
1336
  end
1337
1337
 
1338
+ # A per-network configuration for a connected account, specifying the
1339
+ # blockchain network and the price per request. Unlike `PaymentNetwork`,
1340
+ # you do not provide a wallet address; the receiving address is managed
1341
+ # for the connected account.
1342
+ #
1343
+ # @!attribute [rw] chain
1344
+ # The blockchain network for receiving payments through the connected
1345
+ # account. Test networks are not supported for connected accounts.
1346
+ #
1347
+ # Valid values:
1348
+ #
1349
+ # * `BASE` - Base mainnet.
1350
+ #
1351
+ # * `SOLANA` - Solana mainnet.
1352
+ # @return [String]
1353
+ #
1354
+ # @!attribute [rw] prices
1355
+ # The price configuration for this network. Currently supports a
1356
+ # single price entry in USDC.
1357
+ # @return [Array<Types::ConnectedAccountPrice>]
1358
+ #
1359
+ # @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/ConnectedAccountChainConfig AWS API Documentation
1360
+ #
1361
+ class ConnectedAccountChainConfig < Struct.new(
1362
+ :chain,
1363
+ :prices)
1364
+ SENSITIVE = []
1365
+ include Aws::Structure
1366
+ end
1367
+
1368
+ # A connected account configuration for AI bot monetization. Specifies
1369
+ # the connected account that payments settle to and the per-network
1370
+ # pricing. Settlement through a connected account is an alternative to
1371
+ # the self-managed wallets in `CryptoConfig`; wallet addresses are
1372
+ # managed for the connected account rather than configured by you. If
1373
+ # the referenced connected account is not active or not enabled for
1374
+ # crypto settlement, the `CreateWebACL`, `UpdateWebACL`,
1375
+ # `CreateRuleGroup`, or `UpdateRuleGroup` request that includes it is
1376
+ # rejected. Specifically, a request that references the account is
1377
+ # rejected with `WAFInvalidOperationException` if the account or its
1378
+ # crypto settlement capability isn't active,
1379
+ # `WAFNonexistentItemException` if the ARN no longer exists,
1380
+ # `AccessDeniedException` if you don't have
1381
+ # `payments:GetConnectedAccount`, or `WAFInvalidParameterException` if
1382
+ # the ARN is invalid or the partition is unsupported. Connected accounts
1383
+ # are available only in the commercial Amazon Web Services partition.
1384
+ #
1385
+ # @!attribute [rw] connected_account_arn
1386
+ # The Amazon Resource Name (ARN) of the connected account that
1387
+ # payments settle to. You obtain this ARN from Payment preferences
1388
+ # &gt; Connected accounts in the Amazon Web Services Billing and Cost
1389
+ # Management console. For more information, see [Managing connected
1390
+ # accounts][1]. The connected account must be active and enabled for
1391
+ # crypto settlement; otherwise the request is rejected. To use a
1392
+ # connected account, you must have the `payments:GetConnectedAccount`
1393
+ # permission on this ARN.
1394
+ #
1395
+ #
1396
+ #
1397
+ # [1]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-connected-accounts.html
1398
+ # @return [String]
1399
+ #
1400
+ # @!attribute [rw] payment_networks
1401
+ # The per-network configurations for the connected account. You can
1402
+ # specify 1 to 2 networks. Each entry specifies a blockchain network
1403
+ # and the price for each request.
1404
+ # @return [Array<Types::ConnectedAccountChainConfig>]
1405
+ #
1406
+ # @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/ConnectedAccountConfig AWS API Documentation
1407
+ #
1408
+ class ConnectedAccountConfig < Struct.new(
1409
+ :connected_account_arn,
1410
+ :payment_networks)
1411
+ SENSITIVE = []
1412
+ include Aws::Structure
1413
+ end
1414
+
1415
+ # The price per request for a connected account payment network,
1416
+ # specifying the amount and cryptocurrency.
1417
+ #
1418
+ # @!attribute [rw] amount
1419
+ # The price per request as a decimal string in the specified currency.
1420
+ # Valid values range from 0.01 to 999999.99 USDC, with up to two
1421
+ # decimal places. Sub-cent amounts are not supported.
1422
+ # @return [String]
1423
+ #
1424
+ # @!attribute [rw] currency
1425
+ # The cryptocurrency for payment. Currently only `USDC` is supported.
1426
+ # @return [String]
1427
+ #
1428
+ # @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/ConnectedAccountPrice AWS API Documentation
1429
+ #
1430
+ class ConnectedAccountPrice < Struct.new(
1431
+ :amount,
1432
+ :currency)
1433
+ SENSITIVE = []
1434
+ include Aws::Structure
1435
+ end
1436
+
1338
1437
  # The filter to use to identify the subset of cookies to inspect in a
1339
1438
  # web request.
1340
1439
  #
@@ -7126,7 +7225,9 @@ module Aws::WAFV2
7126
7225
  end
7127
7226
 
7128
7227
  # The monetization configuration for a web ACL or rule group. Specifies
7129
- # the cryptocurrency payment networks and currency mode for AI bot
7228
+ # the payment settlement options (self-managed crypto wallets in
7229
+ # `CryptoConfig`, a connected account in `ConnectedAccountConfigs`, or
7230
+ # both) and the currency mode for artificial intelligence (AI) bot
7130
7231
  # monetization. You must provide this configuration when any rule in the
7131
7232
  # web ACL or rule group uses the `Monetize` action.
7132
7233
  #
@@ -7135,18 +7236,36 @@ module Aws::WAFV2
7135
7236
  # networks and wallet addresses where you receive payments.
7136
7237
  # @return [Types::CryptoConfig]
7137
7238
  #
7239
+ # @!attribute [rw] connected_account_configs
7240
+ # The connected account configurations for settling AI bot payments
7241
+ # through a connected account with a supported third-party payment
7242
+ # provider (Stripe), as an alternative to the self-managed wallets in
7243
+ # `CryptoConfig`. You can provide `CryptoConfig`,
7244
+ # `ConnectedAccountConfigs`, or both; however, a given blockchain
7245
+ # network (chain) can be used by only one of them. Currently supports
7246
+ # exactly one connected account.
7247
+ # @return [Array<Types::ConnectedAccountConfig>]
7248
+ #
7138
7249
  # @!attribute [rw] currency_mode
7139
- # Specifies whether the configuration uses real or test currency. Set
7140
- # to `REAL` to settle payments in USDC on production blockchain
7141
- # networks (Base, Solana). Set to `TEST` to settle on testnet networks
7142
- # (Base Sepolia, Solana Devnet) with tokens that have no monetary
7143
- # value. If not specified, defaults to `REAL`.
7250
+ # Specifies whether the configuration uses real or test currency. If
7251
+ # not specified, defaults to `REAL`. Connected account configurations
7252
+ # support production settlement only; `TEST` is not supported when
7253
+ # `ConnectedAccountConfigs` is present.
7254
+ #
7255
+ # Valid values:
7256
+ #
7257
+ # * `REAL` - Settle payments in USDC on production blockchain networks
7258
+ # (Base, Solana).
7259
+ #
7260
+ # * `TEST` - Settle on testnet networks (Base Sepolia, Solana Devnet)
7261
+ # with tokens that have no monetary value.
7144
7262
  # @return [String]
7145
7263
  #
7146
7264
  # @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/MonetizationConfig AWS API Documentation
7147
7265
  #
7148
7266
  class MonetizationConfig < Struct.new(
7149
7267
  :crypto_config,
7268
+ :connected_account_configs,
7150
7269
  :currency_mode)
7151
7270
  SENSITIVE = []
7152
7271
  include Aws::Structure
@@ -12087,7 +12206,7 @@ module Aws::WAFV2
12087
12206
  # @!attribute [rw] monetization_config
12088
12207
  # The monetization configuration for the web ACL. Required when any
12089
12208
  # rule in the web ACL uses the `Monetize` action. Specifies the
12090
- # cryptocurrency payment networks and currency mode for AI bot
12209
+ # payment settlement options and currency mode for AI bot
12091
12210
  # monetization.
12092
12211
  # @return [Types::MonetizationConfig]
12093
12212
  #
data/lib/aws-sdk-wafv2.rb CHANGED
@@ -54,7 +54,7 @@ module Aws::WAFV2
54
54
  autoload :EndpointProvider, 'aws-sdk-wafv2/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-wafv2/endpoints'
56
56
 
57
- GEM_VERSION = '1.144.0'
57
+ GEM_VERSION = '1.146.0'
58
58
 
59
59
  end
60
60
 
data/sig/params.rbs CHANGED
@@ -672,6 +672,9 @@ module Aws
672
672
 
673
673
  type monetization_config = {
674
674
  crypto_config: Params::crypto_config?,
675
+ connected_account_configs: Array[
676
+ Params::connected_account_config
677
+ ]?,
675
678
  currency_mode: ("REAL" | "TEST")?
676
679
  }
677
680
 
@@ -686,6 +689,21 @@ module Aws
686
689
  ]
687
690
  }
688
691
 
692
+ type connected_account_config = {
693
+ connected_account_arn: ::String,
694
+ payment_networks: Array[
695
+ {
696
+ chain: ("BASE" | "SOLANA"),
697
+ prices: Array[
698
+ {
699
+ amount: ::String,
700
+ currency: ("USDC")
701
+ }
702
+ ]
703
+ }
704
+ ]
705
+ }
706
+
689
707
  type default_action = {
690
708
  block: Params::block_action?,
691
709
  allow: Params::allow_action?
data/sig/types.rbs CHANGED
@@ -195,6 +195,24 @@ module Aws::WAFV2
195
195
  SENSITIVE: []
196
196
  end
197
197
 
198
+ class ConnectedAccountChainConfig
199
+ attr_accessor chain: ("BASE" | "SOLANA")
200
+ attr_accessor prices: ::Array[Types::ConnectedAccountPrice]
201
+ SENSITIVE: []
202
+ end
203
+
204
+ class ConnectedAccountConfig
205
+ attr_accessor connected_account_arn: ::String
206
+ attr_accessor payment_networks: ::Array[Types::ConnectedAccountChainConfig]
207
+ SENSITIVE: []
208
+ end
209
+
210
+ class ConnectedAccountPrice
211
+ attr_accessor amount: ::String
212
+ attr_accessor currency: ("USDC")
213
+ SENSITIVE: []
214
+ end
215
+
198
216
  class CookieMatchPattern
199
217
  attr_accessor all: Types::All
200
218
  attr_accessor included_cookies: ::Array[::String]
@@ -1212,6 +1230,7 @@ module Aws::WAFV2
1212
1230
 
1213
1231
  class MonetizationConfig
1214
1232
  attr_accessor crypto_config: Types::CryptoConfig
1233
+ attr_accessor connected_account_configs: ::Array[Types::ConnectedAccountConfig]
1215
1234
  attr_accessor currency_mode: ("REAL" | "TEST")
1216
1235
  SENSITIVE: []
1217
1236
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-wafv2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.144.0
4
+ version: 1.146.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.263.0
21
+ version: 3.264.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.263.0
31
+ version: 3.264.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement