aws-sdk-wafv2 1.53.0 → 1.55.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-wafv2/client.rb +316 -84
- data/lib/aws-sdk-wafv2/client_api.rb +99 -0
- data/lib/aws-sdk-wafv2/endpoints.rb +42 -0
- data/lib/aws-sdk-wafv2/plugins/endpoints.rb +6 -0
- data/lib/aws-sdk-wafv2/types.rb +587 -199
- data/lib/aws-sdk-wafv2.rb +1 -1
- metadata +2 -2
data/lib/aws-sdk-wafv2/client.rb
CHANGED
@@ -381,13 +381,13 @@ module Aws::WAFV2
|
|
381
381
|
# Associates a web ACL with a regional application resource, to protect
|
382
382
|
# the resource. A regional application can be an Application Load
|
383
383
|
# Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL
|
384
|
-
# API,
|
384
|
+
# API, an Amazon Cognito user pool, or an App Runner service.
|
385
385
|
#
|
386
386
|
# For Amazon CloudFront, don't use this call. Instead, use your
|
387
387
|
# CloudFront distribution configuration. To associate a web ACL, in the
|
388
388
|
# CloudFront call `UpdateDistribution`, set the web ACL ID to the Amazon
|
389
389
|
# Resource Name (ARN) of the web ACL. For information, see
|
390
|
-
# [UpdateDistribution][1]
|
390
|
+
# [UpdateDistribution][1] in the *Amazon CloudFront Developer Guide*.
|
391
391
|
#
|
392
392
|
# When you make changes to web ACLs or web ACL components, like rules
|
393
393
|
# and rule groups, WAF propagates the changes everywhere that the web
|
@@ -418,20 +418,21 @@ module Aws::WAFV2
|
|
418
418
|
# The ARN must be in one of the following formats:
|
419
419
|
#
|
420
420
|
# * For an Application Load Balancer:
|
421
|
-
# `arn:
|
421
|
+
# `arn:partition:elasticloadbalancing:region:account-id:loadbalancer/app/load-balancer-name/load-balancer-id
|
422
422
|
# `
|
423
423
|
#
|
424
424
|
# * For an Amazon API Gateway REST API:
|
425
|
-
# `arn:
|
425
|
+
# `arn:partition:apigateway:region::/restapis/api-id/stages/stage-name
|
426
|
+
# `
|
426
427
|
#
|
427
428
|
# * For an AppSync GraphQL API:
|
428
|
-
# `arn:
|
429
|
+
# `arn:partition:appsync:region:account-id:apis/GraphQLApiId `
|
429
430
|
#
|
430
431
|
# * For an Amazon Cognito user pool:
|
431
|
-
# `arn:
|
432
|
+
# `arn:partition:cognito-idp:region:account-id:userpool/user-pool-id `
|
432
433
|
#
|
433
434
|
# * For an App Runner service:
|
434
|
-
# `arn:
|
435
|
+
# `arn:partition:apprunner:region:account-id:service/apprunner-service-name/apprunner-service-id
|
435
436
|
# `
|
436
437
|
#
|
437
438
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
@@ -462,13 +463,18 @@ module Aws::WAFV2
|
|
462
463
|
# of each rule. Simple rules that cost little to run use fewer WCUs than
|
463
464
|
# more complex rules that use more processing power. Rule group capacity
|
464
465
|
# is fixed at creation, which helps users plan their web ACL WCU usage
|
465
|
-
# when they use a rule group.
|
466
|
+
# when they use a rule group. For more information, see [WAF web ACL
|
467
|
+
# capacity units (WCU)][1] in the *WAF Developer Guide*.
|
468
|
+
#
|
469
|
+
#
|
470
|
+
#
|
471
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/aws-waf-capacity-units.html
|
466
472
|
#
|
467
473
|
# @option params [required, String] :scope
|
468
474
|
# Specifies whether this is for an Amazon CloudFront distribution or for
|
469
475
|
# a regional application. A regional application can be an Application
|
470
476
|
# Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
|
471
|
-
# GraphQL API,
|
477
|
+
# GraphQL API, an Amazon Cognito user pool, or an App Runner service.
|
472
478
|
#
|
473
479
|
# To work with CloudFront, you must also specify the Region US East (N.
|
474
480
|
# Virginia) as follows:
|
@@ -1185,6 +1191,63 @@ module Aws::WAFV2
|
|
1185
1191
|
req.send_request(options)
|
1186
1192
|
end
|
1187
1193
|
|
1194
|
+
# Creates an API key for use in the integration of the CAPTCHA API in
|
1195
|
+
# your JavaScript client applications. The integration lets you
|
1196
|
+
# customize the placement and characteristics of the CAPTCHA puzzle for
|
1197
|
+
# your end users. For more information about the CAPTCHA JavaScript
|
1198
|
+
# integration, see [WAF client application integration][1] in the *WAF
|
1199
|
+
# Developer Guide*.
|
1200
|
+
#
|
1201
|
+
# The CAPTCHA API requires a key that authorizes CAPTCHA use from the
|
1202
|
+
# client application domain. You can use a single key for up to 5
|
1203
|
+
# domains. After you generate a key, you can copy it for use in your
|
1204
|
+
# JavaScript integration.
|
1205
|
+
#
|
1206
|
+
#
|
1207
|
+
#
|
1208
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-application-integration.html
|
1209
|
+
#
|
1210
|
+
# @option params [required, String] :scope
|
1211
|
+
# Specifies whether this is for an Amazon CloudFront distribution or for
|
1212
|
+
# a regional application. A regional application can be an Application
|
1213
|
+
# Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
|
1214
|
+
# GraphQL API, an Amazon Cognito user pool, or an App Runner service.
|
1215
|
+
#
|
1216
|
+
# To work with CloudFront, you must also specify the Region US East (N.
|
1217
|
+
# Virginia) as follows:
|
1218
|
+
#
|
1219
|
+
# * CLI - Specify the Region when you use the CloudFront scope:
|
1220
|
+
# `--scope=CLOUDFRONT --region=us-east-1`.
|
1221
|
+
#
|
1222
|
+
# * API and SDKs - For all calls, use the Region endpoint us-east-1.
|
1223
|
+
#
|
1224
|
+
# @option params [required, Array<String>] :token_domains
|
1225
|
+
# The client application domains that you want to use this API key for.
|
1226
|
+
#
|
1227
|
+
# @return [Types::CreateAPIKeyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1228
|
+
#
|
1229
|
+
# * {Types::CreateAPIKeyResponse#api_key #api_key} => String
|
1230
|
+
#
|
1231
|
+
# @example Request syntax with placeholder values
|
1232
|
+
#
|
1233
|
+
# resp = client.create_api_key({
|
1234
|
+
# scope: "CLOUDFRONT", # required, accepts CLOUDFRONT, REGIONAL
|
1235
|
+
# token_domains: ["TokenDomain"], # required
|
1236
|
+
# })
|
1237
|
+
#
|
1238
|
+
# @example Response structure
|
1239
|
+
#
|
1240
|
+
# resp.api_key #=> String
|
1241
|
+
#
|
1242
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/CreateAPIKey AWS API Documentation
|
1243
|
+
#
|
1244
|
+
# @overload create_api_key(params = {})
|
1245
|
+
# @param [Hash] params ({})
|
1246
|
+
def create_api_key(params = {}, options = {})
|
1247
|
+
req = build_request(:create_api_key, params)
|
1248
|
+
req.send_request(options)
|
1249
|
+
end
|
1250
|
+
|
1188
1251
|
# Creates an IPSet, which you use to identify web requests that
|
1189
1252
|
# originate from specific IP addresses or ranges of IP addresses. For
|
1190
1253
|
# example, if you're receiving a lot of requests from a ranges of IP
|
@@ -1199,7 +1262,7 @@ module Aws::WAFV2
|
|
1199
1262
|
# Specifies whether this is for an Amazon CloudFront distribution or for
|
1200
1263
|
# a regional application. A regional application can be an Application
|
1201
1264
|
# Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
|
1202
|
-
# GraphQL API,
|
1265
|
+
# GraphQL API, an Amazon Cognito user pool, or an App Runner service.
|
1203
1266
|
#
|
1204
1267
|
# To work with CloudFront, you must also specify the Region US East (N.
|
1205
1268
|
# Virginia) as follows:
|
@@ -1309,7 +1372,7 @@ module Aws::WAFV2
|
|
1309
1372
|
# Specifies whether this is for an Amazon CloudFront distribution or for
|
1310
1373
|
# a regional application. A regional application can be an Application
|
1311
1374
|
# Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
|
1312
|
-
# GraphQL API,
|
1375
|
+
# GraphQL API, an Amazon Cognito user pool, or an App Runner service.
|
1313
1376
|
#
|
1314
1377
|
# To work with CloudFront, you must also specify the Region US East (N.
|
1315
1378
|
# Virginia) as follows:
|
@@ -1384,7 +1447,7 @@ module Aws::WAFV2
|
|
1384
1447
|
# Specifies whether this is for an Amazon CloudFront distribution or for
|
1385
1448
|
# a regional application. A regional application can be an Application
|
1386
1449
|
# Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
|
1387
|
-
# GraphQL API,
|
1450
|
+
# GraphQL API, an Amazon Cognito user pool, or an App Runner service.
|
1388
1451
|
#
|
1389
1452
|
# To work with CloudFront, you must also specify the Region US East (N.
|
1390
1453
|
# Virginia) as follows:
|
@@ -1408,7 +1471,12 @@ module Aws::WAFV2
|
|
1408
1471
|
# of each rule. Simple rules that cost little to run use fewer WCUs than
|
1409
1472
|
# more complex rules that use more processing power. Rule group capacity
|
1410
1473
|
# is fixed at creation, which helps users plan their web ACL WCU usage
|
1411
|
-
# when they use a rule group.
|
1474
|
+
# when they use a rule group. For more information, see [WAF web ACL
|
1475
|
+
# capacity units (WCU)][1] in the *WAF Developer Guide*.
|
1476
|
+
#
|
1477
|
+
#
|
1478
|
+
#
|
1479
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/aws-waf-capacity-units.html
|
1412
1480
|
#
|
1413
1481
|
# @option params [String] :description
|
1414
1482
|
# A description of the rule group that helps with identification.
|
@@ -1433,18 +1501,17 @@ module Aws::WAFV2
|
|
1433
1501
|
# rules that you define in the rule group.
|
1434
1502
|
#
|
1435
1503
|
# For information about customizing web requests and responses, see
|
1436
|
-
# [Customizing web requests and responses in WAF][1] in the
|
1437
|
-
# Developer Guide
|
1504
|
+
# [Customizing web requests and responses in WAF][1] in the *WAF
|
1505
|
+
# Developer Guide*.
|
1438
1506
|
#
|
1439
1507
|
# For information about the limits on count and size for custom request
|
1440
|
-
# and response settings, see [WAF quotas][
|
1441
|
-
# Guide
|
1508
|
+
# and response settings, see [WAF quotas][2] in the *WAF Developer
|
1509
|
+
# Guide*.
|
1442
1510
|
#
|
1443
1511
|
#
|
1444
1512
|
#
|
1445
1513
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html
|
1446
|
-
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
1447
|
-
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/limits.html
|
1514
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/limits.html
|
1448
1515
|
#
|
1449
1516
|
# @return [Types::CreateRuleGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1450
1517
|
#
|
@@ -2184,7 +2251,7 @@ module Aws::WAFV2
|
|
2184
2251
|
# can associate a web ACL with one or more Amazon Web Services resources
|
2185
2252
|
# to protect. The resources can be an Amazon CloudFront distribution, an
|
2186
2253
|
# Amazon API Gateway REST API, an Application Load Balancer, an AppSync
|
2187
|
-
# GraphQL API, Amazon Cognito user pool, or an App Runner service.
|
2254
|
+
# GraphQL API, an Amazon Cognito user pool, or an App Runner service.
|
2188
2255
|
#
|
2189
2256
|
# @option params [required, String] :name
|
2190
2257
|
# The name of the web ACL. You cannot change the name of a web ACL after
|
@@ -2194,7 +2261,7 @@ module Aws::WAFV2
|
|
2194
2261
|
# Specifies whether this is for an Amazon CloudFront distribution or for
|
2195
2262
|
# a regional application. A regional application can be an Application
|
2196
2263
|
# Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
|
2197
|
-
# GraphQL API,
|
2264
|
+
# GraphQL API, an Amazon Cognito user pool, or an App Runner service.
|
2198
2265
|
#
|
2199
2266
|
# To work with CloudFront, you must also specify the Region US East (N.
|
2200
2267
|
# Virginia) as follows:
|
@@ -2231,18 +2298,17 @@ module Aws::WAFV2
|
|
2231
2298
|
# rules and default actions that you define in the web ACL.
|
2232
2299
|
#
|
2233
2300
|
# For information about customizing web requests and responses, see
|
2234
|
-
# [Customizing web requests and responses in WAF][1] in the
|
2235
|
-
# Developer Guide
|
2301
|
+
# [Customizing web requests and responses in WAF][1] in the *WAF
|
2302
|
+
# Developer Guide*.
|
2236
2303
|
#
|
2237
2304
|
# For information about the limits on count and size for custom request
|
2238
|
-
# and response settings, see [WAF quotas][
|
2239
|
-
# Guide
|
2305
|
+
# and response settings, see [WAF quotas][2] in the *WAF Developer
|
2306
|
+
# Guide*.
|
2240
2307
|
#
|
2241
2308
|
#
|
2242
2309
|
#
|
2243
2310
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html
|
2244
|
-
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
2245
|
-
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/limits.html
|
2311
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/limits.html
|
2246
2312
|
#
|
2247
2313
|
# @option params [Types::CaptchaConfig] :captcha_config
|
2248
2314
|
# Specifies how WAF should handle `CAPTCHA` evaluations for rules that
|
@@ -2270,6 +2336,24 @@ module Aws::WAFV2
|
|
2270
2336
|
# Public suffixes aren't allowed. For example, you can't use `usa.gov`
|
2271
2337
|
# or `co.uk` as token domains.
|
2272
2338
|
#
|
2339
|
+
# @option params [Types::AssociationConfig] :association_config
|
2340
|
+
# Specifies custom configurations for the associations between the web
|
2341
|
+
# ACL and protected resources.
|
2342
|
+
#
|
2343
|
+
# Use this to customize the maximum size of the request body that your
|
2344
|
+
# protected CloudFront distributions forward to WAF for inspection. The
|
2345
|
+
# default is 16 KB (16,384 kilobytes).
|
2346
|
+
#
|
2347
|
+
# <note markdown="1"> You are charged additional fees when your protected resources forward
|
2348
|
+
# body sizes that are larger than the default. For more information, see
|
2349
|
+
# [WAF Pricing][1].
|
2350
|
+
#
|
2351
|
+
# </note>
|
2352
|
+
#
|
2353
|
+
#
|
2354
|
+
#
|
2355
|
+
# [1]: http://aws.amazon.com/waf/pricing/
|
2356
|
+
#
|
2273
2357
|
# @return [Types::CreateWebACLResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2274
2358
|
#
|
2275
2359
|
# * {Types::CreateWebACLResponse#summary #summary} => Types::WebACLSummary
|
@@ -3012,6 +3096,13 @@ module Aws::WAFV2
|
|
3012
3096
|
# },
|
3013
3097
|
# },
|
3014
3098
|
# token_domains: ["TokenDomain"],
|
3099
|
+
# association_config: {
|
3100
|
+
# request_body: {
|
3101
|
+
# "CLOUDFRONT" => {
|
3102
|
+
# default_size_inspection_limit: "KB_16", # required, accepts KB_16, KB_32, KB_48, KB_64
|
3103
|
+
# },
|
3104
|
+
# },
|
3105
|
+
# },
|
3015
3106
|
# })
|
3016
3107
|
#
|
3017
3108
|
# @example Response structure
|
@@ -3084,7 +3175,7 @@ module Aws::WAFV2
|
|
3084
3175
|
# Specifies whether this is for an Amazon CloudFront distribution or for
|
3085
3176
|
# a regional application. A regional application can be an Application
|
3086
3177
|
# Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
|
3087
|
-
# GraphQL API,
|
3178
|
+
# GraphQL API, an Amazon Cognito user pool, or an App Runner service.
|
3088
3179
|
#
|
3089
3180
|
# To work with CloudFront, you must also specify the Region US East (N.
|
3090
3181
|
# Virginia) as follows:
|
@@ -3189,7 +3280,7 @@ module Aws::WAFV2
|
|
3189
3280
|
# Specifies whether this is for an Amazon CloudFront distribution or for
|
3190
3281
|
# a regional application. A regional application can be an Application
|
3191
3282
|
# Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
|
3192
|
-
# GraphQL API,
|
3283
|
+
# GraphQL API, an Amazon Cognito user pool, or an App Runner service.
|
3193
3284
|
#
|
3194
3285
|
# To work with CloudFront, you must also specify the Region US East (N.
|
3195
3286
|
# Virginia) as follows:
|
@@ -3244,7 +3335,7 @@ module Aws::WAFV2
|
|
3244
3335
|
# Specifies whether this is for an Amazon CloudFront distribution or for
|
3245
3336
|
# a regional application. A regional application can be an Application
|
3246
3337
|
# Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
|
3247
|
-
# GraphQL API,
|
3338
|
+
# GraphQL API, an Amazon Cognito user pool, or an App Runner service.
|
3248
3339
|
#
|
3249
3340
|
# To work with CloudFront, you must also specify the Region US East (N.
|
3250
3341
|
# Virginia) as follows:
|
@@ -3303,7 +3394,8 @@ module Aws::WAFV2
|
|
3303
3394
|
#
|
3304
3395
|
# * For Amazon CloudFront distributions, use the CloudFront call
|
3305
3396
|
# `ListDistributionsByWebACLId`. For information, see
|
3306
|
-
# [ListDistributionsByWebACLId][1]
|
3397
|
+
# [ListDistributionsByWebACLId][1] in the *Amazon CloudFront API
|
3398
|
+
# Reference*.
|
3307
3399
|
#
|
3308
3400
|
# * To disassociate a resource from a web ACL, use the following calls:
|
3309
3401
|
#
|
@@ -3311,7 +3403,7 @@ module Aws::WAFV2
|
|
3311
3403
|
#
|
3312
3404
|
# * For Amazon CloudFront distributions, provide an empty web ACL ID
|
3313
3405
|
# in the CloudFront call `UpdateDistribution`. For information, see
|
3314
|
-
# [UpdateDistribution][2]
|
3406
|
+
# [UpdateDistribution][2] in the *Amazon CloudFront API Reference*.
|
3315
3407
|
#
|
3316
3408
|
# </note>
|
3317
3409
|
#
|
@@ -3328,7 +3420,7 @@ module Aws::WAFV2
|
|
3328
3420
|
# Specifies whether this is for an Amazon CloudFront distribution or for
|
3329
3421
|
# a regional application. A regional application can be an Application
|
3330
3422
|
# Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
|
3331
|
-
# GraphQL API,
|
3423
|
+
# GraphQL API, an Amazon Cognito user pool, or an App Runner service.
|
3332
3424
|
#
|
3333
3425
|
# To work with CloudFront, you must also specify the Region US East (N.
|
3334
3426
|
# Virginia) as follows:
|
@@ -3388,7 +3480,7 @@ module Aws::WAFV2
|
|
3388
3480
|
# Specifies whether this is for an Amazon CloudFront distribution or for
|
3389
3481
|
# a regional application. A regional application can be an Application
|
3390
3482
|
# Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
|
3391
|
-
# GraphQL API,
|
3483
|
+
# GraphQL API, an Amazon Cognito user pool, or an App Runner service.
|
3392
3484
|
#
|
3393
3485
|
# To work with CloudFront, you must also specify the Region US East (N.
|
3394
3486
|
# Virginia) as follows:
|
@@ -3465,12 +3557,13 @@ module Aws::WAFV2
|
|
3465
3557
|
# existing web ACL association. A resource can have at most one web ACL
|
3466
3558
|
# association. A regional application can be an Application Load
|
3467
3559
|
# Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL
|
3468
|
-
# API,
|
3560
|
+
# API, an Amazon Cognito user pool, or an App Runner service.
|
3469
3561
|
#
|
3470
3562
|
# For Amazon CloudFront, don't use this call. Instead, use your
|
3471
3563
|
# CloudFront distribution configuration. To disassociate a web ACL,
|
3472
3564
|
# provide an empty web ACL ID in the CloudFront call
|
3473
|
-
# `UpdateDistribution`. For information, see [UpdateDistribution][1]
|
3565
|
+
# `UpdateDistribution`. For information, see [UpdateDistribution][1] in
|
3566
|
+
# the *Amazon CloudFront API Reference*.
|
3474
3567
|
#
|
3475
3568
|
#
|
3476
3569
|
#
|
@@ -3483,20 +3576,21 @@ module Aws::WAFV2
|
|
3483
3576
|
# The ARN must be in one of the following formats:
|
3484
3577
|
#
|
3485
3578
|
# * For an Application Load Balancer:
|
3486
|
-
# `arn:
|
3579
|
+
# `arn:partition:elasticloadbalancing:region:account-id:loadbalancer/app/load-balancer-name/load-balancer-id
|
3487
3580
|
# `
|
3488
3581
|
#
|
3489
3582
|
# * For an Amazon API Gateway REST API:
|
3490
|
-
# `arn:
|
3583
|
+
# `arn:partition:apigateway:region::/restapis/api-id/stages/stage-name
|
3584
|
+
# `
|
3491
3585
|
#
|
3492
3586
|
# * For an AppSync GraphQL API:
|
3493
|
-
# `arn:
|
3587
|
+
# `arn:partition:appsync:region:account-id:apis/GraphQLApiId `
|
3494
3588
|
#
|
3495
3589
|
# * For an Amazon Cognito user pool:
|
3496
|
-
# `arn:
|
3590
|
+
# `arn:partition:cognito-idp:region:account-id:userpool/user-pool-id `
|
3497
3591
|
#
|
3498
3592
|
# * For an App Runner service:
|
3499
|
-
# `arn:
|
3593
|
+
# `arn:partition:apprunner:region:account-id:service/apprunner-service-name/apprunner-service-id
|
3500
3594
|
# `
|
3501
3595
|
#
|
3502
3596
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
@@ -3560,6 +3654,53 @@ module Aws::WAFV2
|
|
3560
3654
|
req.send_request(options)
|
3561
3655
|
end
|
3562
3656
|
|
3657
|
+
# Returns your API key in decrypted form. Use this to check the token
|
3658
|
+
# domains that you have defined for the key.
|
3659
|
+
#
|
3660
|
+
# @option params [required, String] :scope
|
3661
|
+
# Specifies whether this is for an Amazon CloudFront distribution or for
|
3662
|
+
# a regional application. A regional application can be an Application
|
3663
|
+
# Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
|
3664
|
+
# GraphQL API, an Amazon Cognito user pool, or an App Runner service.
|
3665
|
+
#
|
3666
|
+
# To work with CloudFront, you must also specify the Region US East (N.
|
3667
|
+
# Virginia) as follows:
|
3668
|
+
#
|
3669
|
+
# * CLI - Specify the Region when you use the CloudFront scope:
|
3670
|
+
# `--scope=CLOUDFRONT --region=us-east-1`.
|
3671
|
+
#
|
3672
|
+
# * API and SDKs - For all calls, use the Region endpoint us-east-1.
|
3673
|
+
#
|
3674
|
+
# @option params [required, String] :api_key
|
3675
|
+
# The encrypted API key.
|
3676
|
+
#
|
3677
|
+
# @return [Types::GetDecryptedAPIKeyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3678
|
+
#
|
3679
|
+
# * {Types::GetDecryptedAPIKeyResponse#token_domains #token_domains} => Array<String>
|
3680
|
+
# * {Types::GetDecryptedAPIKeyResponse#creation_timestamp #creation_timestamp} => Time
|
3681
|
+
#
|
3682
|
+
# @example Request syntax with placeholder values
|
3683
|
+
#
|
3684
|
+
# resp = client.get_decrypted_api_key({
|
3685
|
+
# scope: "CLOUDFRONT", # required, accepts CLOUDFRONT, REGIONAL
|
3686
|
+
# api_key: "APIKey", # required
|
3687
|
+
# })
|
3688
|
+
#
|
3689
|
+
# @example Response structure
|
3690
|
+
#
|
3691
|
+
# resp.token_domains #=> Array
|
3692
|
+
# resp.token_domains[0] #=> String
|
3693
|
+
# resp.creation_timestamp #=> Time
|
3694
|
+
#
|
3695
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/GetDecryptedAPIKey AWS API Documentation
|
3696
|
+
#
|
3697
|
+
# @overload get_decrypted_api_key(params = {})
|
3698
|
+
# @param [Hash] params ({})
|
3699
|
+
def get_decrypted_api_key(params = {}, options = {})
|
3700
|
+
req = build_request(:get_decrypted_api_key, params)
|
3701
|
+
req.send_request(options)
|
3702
|
+
end
|
3703
|
+
|
3563
3704
|
# Retrieves the specified IPSet.
|
3564
3705
|
#
|
3565
3706
|
# @option params [required, String] :name
|
@@ -3570,7 +3711,7 @@ module Aws::WAFV2
|
|
3570
3711
|
# Specifies whether this is for an Amazon CloudFront distribution or for
|
3571
3712
|
# a regional application. A regional application can be an Application
|
3572
3713
|
# Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
|
3573
|
-
# GraphQL API,
|
3714
|
+
# GraphQL API, an Amazon Cognito user pool, or an App Runner service.
|
3574
3715
|
#
|
3575
3716
|
# To work with CloudFront, you must also specify the Region US East (N.
|
3576
3717
|
# Virginia) as follows:
|
@@ -3702,7 +3843,7 @@ module Aws::WAFV2
|
|
3702
3843
|
# Specifies whether this is for an Amazon CloudFront distribution or for
|
3703
3844
|
# a regional application. A regional application can be an Application
|
3704
3845
|
# Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
|
3705
|
-
# GraphQL API,
|
3846
|
+
# GraphQL API, an Amazon Cognito user pool, or an App Runner service.
|
3706
3847
|
#
|
3707
3848
|
# To work with CloudFront, you must also specify the Region US East (N.
|
3708
3849
|
# Virginia) as follows:
|
@@ -3859,7 +4000,7 @@ module Aws::WAFV2
|
|
3859
4000
|
# Specifies whether this is for an Amazon CloudFront distribution or for
|
3860
4001
|
# a regional application. A regional application can be an Application
|
3861
4002
|
# Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
|
3862
|
-
# GraphQL API,
|
4003
|
+
# GraphQL API, an Amazon Cognito user pool, or an App Runner service.
|
3863
4004
|
#
|
3864
4005
|
# To work with CloudFront, you must also specify the Region US East (N.
|
3865
4006
|
# Virginia) as follows:
|
@@ -3932,7 +4073,7 @@ module Aws::WAFV2
|
|
3932
4073
|
# Specifies whether this is for an Amazon CloudFront distribution or for
|
3933
4074
|
# a regional application. A regional application can be an Application
|
3934
4075
|
# Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
|
3935
|
-
# GraphQL API,
|
4076
|
+
# GraphQL API, an Amazon Cognito user pool, or an App Runner service.
|
3936
4077
|
#
|
3937
4078
|
# To work with CloudFront, you must also specify the Region US East (N.
|
3938
4079
|
# Virginia) as follows:
|
@@ -3989,7 +4130,7 @@ module Aws::WAFV2
|
|
3989
4130
|
# Specifies whether this is for an Amazon CloudFront distribution or for
|
3990
4131
|
# a regional application. A regional application can be an Application
|
3991
4132
|
# Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
|
3992
|
-
# GraphQL API,
|
4133
|
+
# GraphQL API, an Amazon Cognito user pool, or an App Runner service.
|
3993
4134
|
#
|
3994
4135
|
# To work with CloudFront, you must also specify the Region US East (N.
|
3995
4136
|
# Virginia) as follows:
|
@@ -4345,7 +4486,7 @@ module Aws::WAFV2
|
|
4345
4486
|
# Specifies whether this is for an Amazon CloudFront distribution or for
|
4346
4487
|
# a regional application. A regional application can be an Application
|
4347
4488
|
# Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
|
4348
|
-
# GraphQL API,
|
4489
|
+
# GraphQL API, an Amazon Cognito user pool, or an App Runner service.
|
4349
4490
|
#
|
4350
4491
|
# To work with CloudFront, you must also specify the Region US East (N.
|
4351
4492
|
# Virginia) as follows:
|
@@ -4441,7 +4582,7 @@ module Aws::WAFV2
|
|
4441
4582
|
# Specifies whether this is for an Amazon CloudFront distribution or for
|
4442
4583
|
# a regional application. A regional application can be an Application
|
4443
4584
|
# Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
|
4444
|
-
# GraphQL API,
|
4585
|
+
# GraphQL API, an Amazon Cognito user pool, or an App Runner service.
|
4445
4586
|
#
|
4446
4587
|
# To work with CloudFront, you must also specify the Region US East (N.
|
4447
4588
|
# Virginia) as follows:
|
@@ -5309,6 +5450,8 @@ module Aws::WAFV2
|
|
5309
5450
|
# resp.web_acl.challenge_config.immunity_time_property.immunity_time #=> Integer
|
5310
5451
|
# resp.web_acl.token_domains #=> Array
|
5311
5452
|
# resp.web_acl.token_domains[0] #=> String
|
5453
|
+
# resp.web_acl.association_config.request_body #=> Hash
|
5454
|
+
# resp.web_acl.association_config.request_body["AssociatedResourceType"].default_size_inspection_limit #=> String, one of "KB_16", "KB_32", "KB_48", "KB_64"
|
5312
5455
|
# resp.lock_token #=> String
|
5313
5456
|
# resp.application_integration_url #=> String
|
5314
5457
|
#
|
@@ -5330,20 +5473,21 @@ module Aws::WAFV2
|
|
5330
5473
|
# The ARN must be in one of the following formats:
|
5331
5474
|
#
|
5332
5475
|
# * For an Application Load Balancer:
|
5333
|
-
# `arn:
|
5476
|
+
# `arn:partition:elasticloadbalancing:region:account-id:loadbalancer/app/load-balancer-name/load-balancer-id
|
5334
5477
|
# `
|
5335
5478
|
#
|
5336
5479
|
# * For an Amazon API Gateway REST API:
|
5337
|
-
# `arn:
|
5480
|
+
# `arn:partition:apigateway:region::/restapis/api-id/stages/stage-name
|
5481
|
+
# `
|
5338
5482
|
#
|
5339
5483
|
# * For an AppSync GraphQL API:
|
5340
|
-
# `arn:
|
5484
|
+
# `arn:partition:appsync:region:account-id:apis/GraphQLApiId `
|
5341
5485
|
#
|
5342
5486
|
# * For an Amazon Cognito user pool:
|
5343
|
-
# `arn:
|
5487
|
+
# `arn:partition:cognito-idp:region:account-id:userpool/user-pool-id `
|
5344
5488
|
#
|
5345
5489
|
# * For an App Runner service:
|
5346
|
-
# `arn:
|
5490
|
+
# `arn:partition:apprunner:region:account-id:service/apprunner-service-name/apprunner-service-id
|
5347
5491
|
# `
|
5348
5492
|
#
|
5349
5493
|
# @return [Types::GetWebACLForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -6195,6 +6339,8 @@ module Aws::WAFV2
|
|
6195
6339
|
# resp.web_acl.challenge_config.immunity_time_property.immunity_time #=> Integer
|
6196
6340
|
# resp.web_acl.token_domains #=> Array
|
6197
6341
|
# resp.web_acl.token_domains[0] #=> String
|
6342
|
+
# resp.web_acl.association_config.request_body #=> Hash
|
6343
|
+
# resp.web_acl.association_config.request_body["AssociatedResourceType"].default_size_inspection_limit #=> String, one of "KB_16", "KB_32", "KB_48", "KB_64"
|
6198
6344
|
#
|
6199
6345
|
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/GetWebACLForResource AWS API Documentation
|
6200
6346
|
#
|
@@ -6205,6 +6351,70 @@ module Aws::WAFV2
|
|
6205
6351
|
req.send_request(options)
|
6206
6352
|
end
|
6207
6353
|
|
6354
|
+
# Retrieves a list of the API keys that you've defined for the
|
6355
|
+
# specified scope.
|
6356
|
+
#
|
6357
|
+
# @option params [required, String] :scope
|
6358
|
+
# Specifies whether this is for an Amazon CloudFront distribution or for
|
6359
|
+
# a regional application. A regional application can be an Application
|
6360
|
+
# Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
|
6361
|
+
# GraphQL API, an Amazon Cognito user pool, or an App Runner service.
|
6362
|
+
#
|
6363
|
+
# To work with CloudFront, you must also specify the Region US East (N.
|
6364
|
+
# Virginia) as follows:
|
6365
|
+
#
|
6366
|
+
# * CLI - Specify the Region when you use the CloudFront scope:
|
6367
|
+
# `--scope=CLOUDFRONT --region=us-east-1`.
|
6368
|
+
#
|
6369
|
+
# * API and SDKs - For all calls, use the Region endpoint us-east-1.
|
6370
|
+
#
|
6371
|
+
# @option params [String] :next_marker
|
6372
|
+
# When you request a list of objects with a `Limit` setting, if the
|
6373
|
+
# number of objects that are still available for retrieval exceeds the
|
6374
|
+
# limit, WAF returns a `NextMarker` value in the response. To retrieve
|
6375
|
+
# the next batch of objects, provide the marker from the prior call in
|
6376
|
+
# your next request.
|
6377
|
+
#
|
6378
|
+
# @option params [Integer] :limit
|
6379
|
+
# The maximum number of objects that you want WAF to return for this
|
6380
|
+
# request. If more objects are available, in the response, WAF provides
|
6381
|
+
# a `NextMarker` value that you can use in a subsequent call to get the
|
6382
|
+
# next batch of objects.
|
6383
|
+
#
|
6384
|
+
# @return [Types::ListAPIKeysResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6385
|
+
#
|
6386
|
+
# * {Types::ListAPIKeysResponse#next_marker #next_marker} => String
|
6387
|
+
# * {Types::ListAPIKeysResponse#api_key_summaries #api_key_summaries} => Array<Types::APIKeySummary>
|
6388
|
+
# * {Types::ListAPIKeysResponse#application_integration_url #application_integration_url} => String
|
6389
|
+
#
|
6390
|
+
# @example Request syntax with placeholder values
|
6391
|
+
#
|
6392
|
+
# resp = client.list_api_keys({
|
6393
|
+
# scope: "CLOUDFRONT", # required, accepts CLOUDFRONT, REGIONAL
|
6394
|
+
# next_marker: "NextMarker",
|
6395
|
+
# limit: 1,
|
6396
|
+
# })
|
6397
|
+
#
|
6398
|
+
# @example Response structure
|
6399
|
+
#
|
6400
|
+
# resp.next_marker #=> String
|
6401
|
+
# resp.api_key_summaries #=> Array
|
6402
|
+
# resp.api_key_summaries[0].token_domains #=> Array
|
6403
|
+
# resp.api_key_summaries[0].token_domains[0] #=> String
|
6404
|
+
# resp.api_key_summaries[0].api_key #=> String
|
6405
|
+
# resp.api_key_summaries[0].creation_timestamp #=> Time
|
6406
|
+
# resp.api_key_summaries[0].version #=> Integer
|
6407
|
+
# resp.application_integration_url #=> String
|
6408
|
+
#
|
6409
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/ListAPIKeys AWS API Documentation
|
6410
|
+
#
|
6411
|
+
# @overload list_api_keys(params = {})
|
6412
|
+
# @param [Hash] params ({})
|
6413
|
+
def list_api_keys(params = {}, options = {})
|
6414
|
+
req = build_request(:list_api_keys, params)
|
6415
|
+
req.send_request(options)
|
6416
|
+
end
|
6417
|
+
|
6208
6418
|
# Returns a list of the available versions for the specified managed
|
6209
6419
|
# rule group.
|
6210
6420
|
#
|
@@ -6220,7 +6430,7 @@ module Aws::WAFV2
|
|
6220
6430
|
# Specifies whether this is for an Amazon CloudFront distribution or for
|
6221
6431
|
# a regional application. A regional application can be an Application
|
6222
6432
|
# Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
|
6223
|
-
# GraphQL API,
|
6433
|
+
# GraphQL API, an Amazon Cognito user pool, or an App Runner service.
|
6224
6434
|
#
|
6225
6435
|
# To work with CloudFront, you must also specify the Region US East (N.
|
6226
6436
|
# Virginia) as follows:
|
@@ -6285,7 +6495,7 @@ module Aws::WAFV2
|
|
6285
6495
|
# Specifies whether this is for an Amazon CloudFront distribution or for
|
6286
6496
|
# a regional application. A regional application can be an Application
|
6287
6497
|
# Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
|
6288
|
-
# GraphQL API,
|
6498
|
+
# GraphQL API, an Amazon Cognito user pool, or an App Runner service.
|
6289
6499
|
#
|
6290
6500
|
# To work with CloudFront, you must also specify the Region US East (N.
|
6291
6501
|
# Virginia) as follows:
|
@@ -6346,7 +6556,7 @@ module Aws::WAFV2
|
|
6346
6556
|
# Specifies whether this is for an Amazon CloudFront distribution or for
|
6347
6557
|
# a regional application. A regional application can be an Application
|
6348
6558
|
# Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
|
6349
|
-
# GraphQL API,
|
6559
|
+
# GraphQL API, an Amazon Cognito user pool, or an App Runner service.
|
6350
6560
|
#
|
6351
6561
|
# To work with CloudFront, you must also specify the Region US East (N.
|
6352
6562
|
# Virginia) as follows:
|
@@ -6407,7 +6617,7 @@ module Aws::WAFV2
|
|
6407
6617
|
# Specifies whether this is for an Amazon CloudFront distribution or for
|
6408
6618
|
# a regional application. A regional application can be an Application
|
6409
6619
|
# Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
|
6410
|
-
# GraphQL API,
|
6620
|
+
# GraphQL API, an Amazon Cognito user pool, or an App Runner service.
|
6411
6621
|
#
|
6412
6622
|
# To work with CloudFront, you must also specify the Region US East (N.
|
6413
6623
|
# Virginia) as follows:
|
@@ -6506,7 +6716,7 @@ module Aws::WAFV2
|
|
6506
6716
|
# Specifies whether this is for an Amazon CloudFront distribution or for
|
6507
6717
|
# a regional application. A regional application can be an Application
|
6508
6718
|
# Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
|
6509
|
-
# GraphQL API,
|
6719
|
+
# GraphQL API, an Amazon Cognito user pool, or an App Runner service.
|
6510
6720
|
#
|
6511
6721
|
# To work with CloudFront, you must also specify the Region US East (N.
|
6512
6722
|
# Virginia) as follows:
|
@@ -6627,7 +6837,7 @@ module Aws::WAFV2
|
|
6627
6837
|
# Specifies whether this is for an Amazon CloudFront distribution or for
|
6628
6838
|
# a regional application. A regional application can be an Application
|
6629
6839
|
# Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
|
6630
|
-
# GraphQL API,
|
6840
|
+
# GraphQL API, an Amazon Cognito user pool, or an App Runner service.
|
6631
6841
|
#
|
6632
6842
|
# To work with CloudFront, you must also specify the Region US East (N.
|
6633
6843
|
# Virginia) as follows:
|
@@ -6693,7 +6903,7 @@ module Aws::WAFV2
|
|
6693
6903
|
# @option params [String] :resource_type
|
6694
6904
|
# Used for web ACLs that are scoped for regional applications. A
|
6695
6905
|
# regional application can be an Application Load Balancer (ALB), an
|
6696
|
-
# Amazon API Gateway REST API, an AppSync GraphQL API,
|
6906
|
+
# Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito
|
6697
6907
|
# user pool, or an App Runner service.
|
6698
6908
|
#
|
6699
6909
|
# <note markdown="1"> If you don't provide a resource type, the call uses the resource type
|
@@ -6735,7 +6945,7 @@ module Aws::WAFV2
|
|
6735
6945
|
# Specifies whether this is for an Amazon CloudFront distribution or for
|
6736
6946
|
# a regional application. A regional application can be an Application
|
6737
6947
|
# Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
|
6738
|
-
# GraphQL API,
|
6948
|
+
# GraphQL API, an Amazon Cognito user pool, or an App Runner service.
|
6739
6949
|
#
|
6740
6950
|
# To work with CloudFront, you must also specify the Region US East (N.
|
6741
6951
|
# Virginia) as follows:
|
@@ -6854,7 +7064,7 @@ module Aws::WAFV2
|
|
6854
7064
|
# Specifies whether this is for an Amazon CloudFront distribution or for
|
6855
7065
|
# a regional application. A regional application can be an Application
|
6856
7066
|
# Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
|
6857
|
-
# GraphQL API,
|
7067
|
+
# GraphQL API, an Amazon Cognito user pool, or an App Runner service.
|
6858
7068
|
#
|
6859
7069
|
# To work with CloudFront, you must also specify the Region US East (N.
|
6860
7070
|
# Virginia) as follows:
|
@@ -7131,7 +7341,7 @@ module Aws::WAFV2
|
|
7131
7341
|
# Specifies whether this is for an Amazon CloudFront distribution or for
|
7132
7342
|
# a regional application. A regional application can be an Application
|
7133
7343
|
# Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
|
7134
|
-
# GraphQL API,
|
7344
|
+
# GraphQL API, an Amazon Cognito user pool, or an App Runner service.
|
7135
7345
|
#
|
7136
7346
|
# To work with CloudFront, you must also specify the Region US East (N.
|
7137
7347
|
# Virginia) as follows:
|
@@ -7221,8 +7431,7 @@ module Aws::WAFV2
|
|
7221
7431
|
#
|
7222
7432
|
# The policy specifications must conform to the following:
|
7223
7433
|
#
|
7224
|
-
# * The policy must be composed using IAM Policy version 2012-10-17
|
7225
|
-
# version 2015-01-01.
|
7434
|
+
# * The policy must be composed using IAM Policy version 2012-10-17.
|
7226
7435
|
#
|
7227
7436
|
# * The policy must include specifications for `Effect`, `Action`, and
|
7228
7437
|
# `Principal`.
|
@@ -7370,7 +7579,7 @@ module Aws::WAFV2
|
|
7370
7579
|
# Specifies whether this is for an Amazon CloudFront distribution or for
|
7371
7580
|
# a regional application. A regional application can be an Application
|
7372
7581
|
# Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
|
7373
|
-
# GraphQL API,
|
7582
|
+
# GraphQL API, an Amazon Cognito user pool, or an App Runner service.
|
7374
7583
|
#
|
7375
7584
|
# To work with CloudFront, you must also specify the Region US East (N.
|
7376
7585
|
# Virginia) as follows:
|
@@ -7495,7 +7704,7 @@ module Aws::WAFV2
|
|
7495
7704
|
# Specifies whether this is for an Amazon CloudFront distribution or for
|
7496
7705
|
# a regional application. A regional application can be an Application
|
7497
7706
|
# Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
|
7498
|
-
# GraphQL API,
|
7707
|
+
# GraphQL API, an Amazon Cognito user pool, or an App Runner service.
|
7499
7708
|
#
|
7500
7709
|
# To work with CloudFront, you must also specify the Region US East (N.
|
7501
7710
|
# Virginia) as follows:
|
@@ -7601,7 +7810,7 @@ module Aws::WAFV2
|
|
7601
7810
|
# Specifies whether this is for an Amazon CloudFront distribution or for
|
7602
7811
|
# a regional application. A regional application can be an Application
|
7603
7812
|
# Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
|
7604
|
-
# GraphQL API,
|
7813
|
+
# GraphQL API, an Amazon Cognito user pool, or an App Runner service.
|
7605
7814
|
#
|
7606
7815
|
# To work with CloudFront, you must also specify the Region US East (N.
|
7607
7816
|
# Virginia) as follows:
|
@@ -7707,7 +7916,7 @@ module Aws::WAFV2
|
|
7707
7916
|
# Specifies whether this is for an Amazon CloudFront distribution or for
|
7708
7917
|
# a regional application. A regional application can be an Application
|
7709
7918
|
# Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
|
7710
|
-
# GraphQL API,
|
7919
|
+
# GraphQL API, an Amazon Cognito user pool, or an App Runner service.
|
7711
7920
|
#
|
7712
7921
|
# To work with CloudFront, you must also specify the Region US East (N.
|
7713
7922
|
# Virginia) as follows:
|
@@ -7752,18 +7961,17 @@ module Aws::WAFV2
|
|
7752
7961
|
# rules that you define in the rule group.
|
7753
7962
|
#
|
7754
7963
|
# For information about customizing web requests and responses, see
|
7755
|
-
# [Customizing web requests and responses in WAF][1] in the
|
7756
|
-
# Developer Guide
|
7964
|
+
# [Customizing web requests and responses in WAF][1] in the *WAF
|
7965
|
+
# Developer Guide*.
|
7757
7966
|
#
|
7758
7967
|
# For information about the limits on count and size for custom request
|
7759
|
-
# and response settings, see [WAF quotas][
|
7760
|
-
# Guide
|
7968
|
+
# and response settings, see [WAF quotas][2] in the *WAF Developer
|
7969
|
+
# Guide*.
|
7761
7970
|
#
|
7762
7971
|
#
|
7763
7972
|
#
|
7764
7973
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html
|
7765
|
-
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
7766
|
-
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/limits.html
|
7974
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/limits.html
|
7767
7975
|
#
|
7768
7976
|
# @return [Types::UpdateRuleGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7769
7977
|
#
|
@@ -8524,7 +8732,7 @@ module Aws::WAFV2
|
|
8524
8732
|
# can associate a web ACL with one or more Amazon Web Services resources
|
8525
8733
|
# to protect. The resources can be an Amazon CloudFront distribution, an
|
8526
8734
|
# Amazon API Gateway REST API, an Application Load Balancer, an AppSync
|
8527
|
-
# GraphQL API, Amazon Cognito user pool, or an App Runner service.
|
8735
|
+
# GraphQL API, an Amazon Cognito user pool, or an App Runner service.
|
8528
8736
|
#
|
8529
8737
|
# @option params [required, String] :name
|
8530
8738
|
# The name of the web ACL. You cannot change the name of a web ACL after
|
@@ -8534,7 +8742,7 @@ module Aws::WAFV2
|
|
8534
8742
|
# Specifies whether this is for an Amazon CloudFront distribution or for
|
8535
8743
|
# a regional application. A regional application can be an Application
|
8536
8744
|
# Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
|
8537
|
-
# GraphQL API,
|
8745
|
+
# GraphQL API, an Amazon Cognito user pool, or an App Runner service.
|
8538
8746
|
#
|
8539
8747
|
# To work with CloudFront, you must also specify the Region US East (N.
|
8540
8748
|
# Virginia) as follows:
|
@@ -8583,18 +8791,17 @@ module Aws::WAFV2
|
|
8583
8791
|
# rules and default actions that you define in the web ACL.
|
8584
8792
|
#
|
8585
8793
|
# For information about customizing web requests and responses, see
|
8586
|
-
# [Customizing web requests and responses in WAF][1] in the
|
8587
|
-
# Developer Guide
|
8794
|
+
# [Customizing web requests and responses in WAF][1] in the *WAF
|
8795
|
+
# Developer Guide*.
|
8588
8796
|
#
|
8589
8797
|
# For information about the limits on count and size for custom request
|
8590
|
-
# and response settings, see [WAF quotas][
|
8591
|
-
# Guide
|
8798
|
+
# and response settings, see [WAF quotas][2] in the *WAF Developer
|
8799
|
+
# Guide*.
|
8592
8800
|
#
|
8593
8801
|
#
|
8594
8802
|
#
|
8595
8803
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html
|
8596
|
-
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
8597
|
-
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/limits.html
|
8804
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/limits.html
|
8598
8805
|
#
|
8599
8806
|
# @option params [Types::CaptchaConfig] :captcha_config
|
8600
8807
|
# Specifies how WAF should handle `CAPTCHA` evaluations for rules that
|
@@ -8622,6 +8829,24 @@ module Aws::WAFV2
|
|
8622
8829
|
# Public suffixes aren't allowed. For example, you can't use `usa.gov`
|
8623
8830
|
# or `co.uk` as token domains.
|
8624
8831
|
#
|
8832
|
+
# @option params [Types::AssociationConfig] :association_config
|
8833
|
+
# Specifies custom configurations for the associations between the web
|
8834
|
+
# ACL and protected resources.
|
8835
|
+
#
|
8836
|
+
# Use this to customize the maximum size of the request body that your
|
8837
|
+
# protected CloudFront distributions forward to WAF for inspection. The
|
8838
|
+
# default is 16 KB (16,384 kilobytes).
|
8839
|
+
#
|
8840
|
+
# <note markdown="1"> You are charged additional fees when your protected resources forward
|
8841
|
+
# body sizes that are larger than the default. For more information, see
|
8842
|
+
# [WAF Pricing][1].
|
8843
|
+
#
|
8844
|
+
# </note>
|
8845
|
+
#
|
8846
|
+
#
|
8847
|
+
#
|
8848
|
+
# [1]: http://aws.amazon.com/waf/pricing/
|
8849
|
+
#
|
8625
8850
|
# @return [Types::UpdateWebACLResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8626
8851
|
#
|
8627
8852
|
# * {Types::UpdateWebACLResponse#next_lock_token #next_lock_token} => String
|
@@ -9360,6 +9585,13 @@ module Aws::WAFV2
|
|
9360
9585
|
# },
|
9361
9586
|
# },
|
9362
9587
|
# token_domains: ["TokenDomain"],
|
9588
|
+
# association_config: {
|
9589
|
+
# request_body: {
|
9590
|
+
# "CLOUDFRONT" => {
|
9591
|
+
# default_size_inspection_limit: "KB_16", # required, accepts KB_16, KB_32, KB_48, KB_64
|
9592
|
+
# },
|
9593
|
+
# },
|
9594
|
+
# },
|
9363
9595
|
# })
|
9364
9596
|
#
|
9365
9597
|
# @example Response structure
|
@@ -9388,7 +9620,7 @@ module Aws::WAFV2
|
|
9388
9620
|
params: params,
|
9389
9621
|
config: config)
|
9390
9622
|
context[:gem_name] = 'aws-sdk-wafv2'
|
9391
|
-
context[:gem_version] = '1.
|
9623
|
+
context[:gem_version] = '1.55.0'
|
9392
9624
|
Seahorse::Client::Request.new(handlers, context)
|
9393
9625
|
end
|
9394
9626
|
|