aws-sdk-wafv2 1.40.0 → 1.41.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: 4855a0e2977f335d6c1140cd0f82c060f271d768115ca22040c0ebc6d3e66910
4
- data.tar.gz: 94864a8664f62a351becbbd152a65bbf3ef59eeda88ccf74c0fef1ca2cc4f3e0
3
+ metadata.gz: 0436147414eb3deb9945cd5e3b36f926a2ff14b20e4b595dda404b76ffd63c63
4
+ data.tar.gz: b4fa864a6ad2d5fd16a5eb44e20ab68bbb0d33101e26b057ef4b8c629e5009bf
5
5
  SHA512:
6
- metadata.gz: d625cd9710e00169c4325b34dae5673af20a5aae346087dcb82a09a83223700aa605c488839cd7678911d9029e8227b60f61c2f066cbcbe4f72609c579acfff2
7
- data.tar.gz: e399714ade4f8ee4402d179f35e45dd362d87d86307a31849689f1aa06aa0d029b6daf9edea06ad9dc689a9ff4aff038e5395b79af2f61221cbb0a59ac691b12
6
+ metadata.gz: 38db8fa0245ee0bd00c2187ffacd06c654ea138fa5aa1ffbde03a364c8012d07b19dfda8c2f826212a2c07c1233f698d326937cf169a841647aa4fc4893307ce
7
+ data.tar.gz: 43f77575d462757e77c876dda8ed41f567c2209a5df331590b3b78f99434f2839a4348f45d856ae3ee0db0260832b28462b0068b814666a97c7cd27e0b202fc8
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.41.0 (2022-08-03)
5
+ ------------------
6
+
7
+ * Feature - You can now associate an AWS WAF web ACL with an Amazon Cognito user pool.
8
+
4
9
  1.40.0 (2022-07-15)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.40.0
1
+ 1.41.0
@@ -363,8 +363,8 @@ module Aws::WAFV2
363
363
 
364
364
  # Associates a web ACL with a regional application resource, to protect
365
365
  # the resource. A regional application can be an Application Load
366
- # Balancer (ALB), an Amazon API Gateway REST API, or an AppSync GraphQL
367
- # API.
366
+ # Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL
367
+ # API, or an Amazon Cognito user pool.
368
368
  #
369
369
  # For Amazon CloudFront, don't use this call. Instead, use your
370
370
  # CloudFront distribution configuration. To associate a web ACL, in the
@@ -410,6 +410,9 @@ module Aws::WAFV2
410
410
  # * For an AppSync GraphQL API:
411
411
  # `arn:aws:appsync:region:account-id:apis/GraphQLApiId `
412
412
  #
413
+ # * For an Amazon Cognito user pool:
414
+ # `arn:aws:cognito-idp:region:account-id:userpool/user-pool-id `
415
+ #
413
416
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
414
417
  #
415
418
  # @example Request syntax with placeholder values
@@ -443,8 +446,8 @@ module Aws::WAFV2
443
446
  # @option params [required, String] :scope
444
447
  # Specifies whether this is for an Amazon CloudFront distribution or for
445
448
  # a regional application. A regional application can be an Application
446
- # Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync
447
- # GraphQL API.
449
+ # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
450
+ # GraphQL API, or an Amazon Cognito user pool.
448
451
  #
449
452
  # To work with CloudFront, you must also specify the Region US East (N.
450
453
  # Virginia) as follows:
@@ -1006,8 +1009,8 @@ module Aws::WAFV2
1006
1009
  # @option params [required, String] :scope
1007
1010
  # Specifies whether this is for an Amazon CloudFront distribution or for
1008
1011
  # a regional application. A regional application can be an Application
1009
- # Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync
1010
- # GraphQL API.
1012
+ # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
1013
+ # GraphQL API, or an Amazon Cognito user pool.
1011
1014
  #
1012
1015
  # To work with CloudFront, you must also specify the Region US East (N.
1013
1016
  # Virginia) as follows:
@@ -1115,8 +1118,8 @@ module Aws::WAFV2
1115
1118
  # @option params [required, String] :scope
1116
1119
  # Specifies whether this is for an Amazon CloudFront distribution or for
1117
1120
  # a regional application. A regional application can be an Application
1118
- # Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync
1119
- # GraphQL API.
1121
+ # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
1122
+ # GraphQL API, or an Amazon Cognito user pool.
1120
1123
  #
1121
1124
  # To work with CloudFront, you must also specify the Region US East (N.
1122
1125
  # Virginia) as follows:
@@ -1190,8 +1193,8 @@ module Aws::WAFV2
1190
1193
  # @option params [required, String] :scope
1191
1194
  # Specifies whether this is for an Amazon CloudFront distribution or for
1192
1195
  # a regional application. A regional application can be an Application
1193
- # Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync
1194
- # GraphQL API.
1196
+ # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
1197
+ # GraphQL API, or an Amazon Cognito user pool.
1195
1198
  #
1196
1199
  # To work with CloudFront, you must also specify the Region US East (N.
1197
1200
  # Virginia) as follows:
@@ -1822,8 +1825,8 @@ module Aws::WAFV2
1822
1825
  # combination of the types Rule, RuleGroup, and managed rule group. You
1823
1826
  # can associate a web ACL with one or more Amazon Web Services resources
1824
1827
  # to protect. The resources can be an Amazon CloudFront distribution, an
1825
- # Amazon API Gateway REST API, an Application Load Balancer, or an
1826
- # AppSync GraphQL API.
1828
+ # Amazon API Gateway REST API, an Application Load Balancer, an AppSync
1829
+ # GraphQL API, or an Amazon Cognito user pool.
1827
1830
  #
1828
1831
  # @option params [required, String] :name
1829
1832
  # The name of the web ACL. You cannot change the name of a web ACL after
@@ -1832,8 +1835,8 @@ module Aws::WAFV2
1832
1835
  # @option params [required, String] :scope
1833
1836
  # Specifies whether this is for an Amazon CloudFront distribution or for
1834
1837
  # a regional application. A regional application can be an Application
1835
- # Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync
1836
- # GraphQL API.
1838
+ # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
1839
+ # GraphQL API, or an Amazon Cognito user pool.
1837
1840
  #
1838
1841
  # To work with CloudFront, you must also specify the Region US East (N.
1839
1842
  # Virginia) as follows:
@@ -2527,8 +2530,8 @@ module Aws::WAFV2
2527
2530
  # @option params [required, String] :scope
2528
2531
  # Specifies whether this is for an Amazon CloudFront distribution or for
2529
2532
  # a regional application. A regional application can be an Application
2530
- # Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync
2531
- # GraphQL API.
2533
+ # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
2534
+ # GraphQL API, or an Amazon Cognito user pool.
2532
2535
  #
2533
2536
  # To work with CloudFront, you must also specify the Region US East (N.
2534
2537
  # Virginia) as follows:
@@ -2632,8 +2635,8 @@ module Aws::WAFV2
2632
2635
  # @option params [required, String] :scope
2633
2636
  # Specifies whether this is for an Amazon CloudFront distribution or for
2634
2637
  # a regional application. A regional application can be an Application
2635
- # Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync
2636
- # GraphQL API.
2638
+ # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
2639
+ # GraphQL API, or an Amazon Cognito user pool.
2637
2640
  #
2638
2641
  # To work with CloudFront, you must also specify the Region US East (N.
2639
2642
  # Virginia) as follows:
@@ -2687,8 +2690,8 @@ module Aws::WAFV2
2687
2690
  # @option params [required, String] :scope
2688
2691
  # Specifies whether this is for an Amazon CloudFront distribution or for
2689
2692
  # a regional application. A regional application can be an Application
2690
- # Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync
2691
- # GraphQL API.
2693
+ # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
2694
+ # GraphQL API, or an Amazon Cognito user pool.
2692
2695
  #
2693
2696
  # To work with CloudFront, you must also specify the Region US East (N.
2694
2697
  # Virginia) as follows:
@@ -2771,8 +2774,8 @@ module Aws::WAFV2
2771
2774
  # @option params [required, String] :scope
2772
2775
  # Specifies whether this is for an Amazon CloudFront distribution or for
2773
2776
  # a regional application. A regional application can be an Application
2774
- # Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync
2775
- # GraphQL API.
2777
+ # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
2778
+ # GraphQL API, or an Amazon Cognito user pool.
2776
2779
  #
2777
2780
  # To work with CloudFront, you must also specify the Region US East (N.
2778
2781
  # Virginia) as follows:
@@ -2831,8 +2834,8 @@ module Aws::WAFV2
2831
2834
  # @option params [required, String] :scope
2832
2835
  # Specifies whether this is for an Amazon CloudFront distribution or for
2833
2836
  # a regional application. A regional application can be an Application
2834
- # Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync
2835
- # GraphQL API.
2837
+ # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
2838
+ # GraphQL API, or an Amazon Cognito user pool.
2836
2839
  #
2837
2840
  # To work with CloudFront, you must also specify the Region US East (N.
2838
2841
  # Virginia) as follows:
@@ -2905,8 +2908,8 @@ module Aws::WAFV2
2905
2908
  # Disassociates the specified regional application resource from any
2906
2909
  # existing web ACL association. A resource can have at most one web ACL
2907
2910
  # association. A regional application can be an Application Load
2908
- # Balancer (ALB), an Amazon API Gateway REST API, or an AppSync GraphQL
2909
- # API.
2911
+ # Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL
2912
+ # API, or an Amazon Cognito user pool.
2910
2913
  #
2911
2914
  # For Amazon CloudFront, don't use this call. Instead, use your
2912
2915
  # CloudFront distribution configuration. To disassociate a web ACL,
@@ -2933,6 +2936,9 @@ module Aws::WAFV2
2933
2936
  # * For an AppSync GraphQL API:
2934
2937
  # `arn:aws:appsync:region:account-id:apis/GraphQLApiId `
2935
2938
  #
2939
+ # * For an Amazon Cognito user pool:
2940
+ # `arn:aws:cognito-idp:region:account-id:userpool/user-pool-id `
2941
+ #
2936
2942
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2937
2943
  #
2938
2944
  # @example Request syntax with placeholder values
@@ -3003,8 +3009,8 @@ module Aws::WAFV2
3003
3009
  # @option params [required, String] :scope
3004
3010
  # Specifies whether this is for an Amazon CloudFront distribution or for
3005
3011
  # a regional application. A regional application can be an Application
3006
- # Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync
3007
- # GraphQL API.
3012
+ # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
3013
+ # GraphQL API, or an Amazon Cognito user pool.
3008
3014
  #
3009
3015
  # To work with CloudFront, you must also specify the Region US East (N.
3010
3016
  # Virginia) as follows:
@@ -3135,8 +3141,8 @@ module Aws::WAFV2
3135
3141
  # @option params [required, String] :scope
3136
3142
  # Specifies whether this is for an Amazon CloudFront distribution or for
3137
3143
  # a regional application. A regional application can be an Application
3138
- # Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync
3139
- # GraphQL API.
3144
+ # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
3145
+ # GraphQL API, or an Amazon Cognito user pool.
3140
3146
  #
3141
3147
  # To work with CloudFront, you must also specify the Region US East (N.
3142
3148
  # Virginia) as follows:
@@ -3292,8 +3298,8 @@ module Aws::WAFV2
3292
3298
  # @option params [required, String] :scope
3293
3299
  # Specifies whether this is for an Amazon CloudFront distribution or for
3294
3300
  # a regional application. A regional application can be an Application
3295
- # Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync
3296
- # GraphQL API.
3301
+ # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
3302
+ # GraphQL API, or an Amazon Cognito user pool.
3297
3303
  #
3298
3304
  # To work with CloudFront, you must also specify the Region US East (N.
3299
3305
  # Virginia) as follows:
@@ -3365,8 +3371,8 @@ module Aws::WAFV2
3365
3371
  # @option params [required, String] :scope
3366
3372
  # Specifies whether this is for an Amazon CloudFront distribution or for
3367
3373
  # a regional application. A regional application can be an Application
3368
- # Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync
3369
- # GraphQL API.
3374
+ # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
3375
+ # GraphQL API, or an Amazon Cognito user pool.
3370
3376
  #
3371
3377
  # To work with CloudFront, you must also specify the Region US East (N.
3372
3378
  # Virginia) as follows:
@@ -3422,8 +3428,8 @@ module Aws::WAFV2
3422
3428
  # @option params [String] :scope
3423
3429
  # Specifies whether this is for an Amazon CloudFront distribution or for
3424
3430
  # a regional application. A regional application can be an Application
3425
- # Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync
3426
- # GraphQL API.
3431
+ # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
3432
+ # GraphQL API, or an Amazon Cognito user pool.
3427
3433
  #
3428
3434
  # To work with CloudFront, you must also specify the Region US East (N.
3429
3435
  # Virginia) as follows:
@@ -3713,8 +3719,8 @@ module Aws::WAFV2
3713
3719
  # @option params [required, String] :scope
3714
3720
  # Specifies whether this is for an Amazon CloudFront distribution or for
3715
3721
  # a regional application. A regional application can be an Application
3716
- # Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync
3717
- # GraphQL API.
3722
+ # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
3723
+ # GraphQL API, or an Amazon Cognito user pool.
3718
3724
  #
3719
3725
  # To work with CloudFront, you must also specify the Region US East (N.
3720
3726
  # Virginia) as follows:
@@ -3805,8 +3811,8 @@ module Aws::WAFV2
3805
3811
  # @option params [required, String] :scope
3806
3812
  # Specifies whether this is for an Amazon CloudFront distribution or for
3807
3813
  # a regional application. A regional application can be an Application
3808
- # Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync
3809
- # GraphQL API.
3814
+ # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
3815
+ # GraphQL API, or an Amazon Cognito user pool.
3810
3816
  #
3811
3817
  # To work with CloudFront, you must also specify the Region US East (N.
3812
3818
  # Virginia) as follows:
@@ -4461,7 +4467,23 @@ module Aws::WAFV2
4461
4467
  # Retrieves the WebACL for the specified resource.
4462
4468
  #
4463
4469
  # @option params [required, String] :resource_arn
4464
- # The ARN (Amazon Resource Name) of the resource.
4470
+ # The Amazon Resource Name (ARN) of the resource whose web ACL you want
4471
+ # to retrieve.
4472
+ #
4473
+ # The ARN must be in one of the following formats:
4474
+ #
4475
+ # * For an Application Load Balancer:
4476
+ # `arn:aws:elasticloadbalancing:region:account-id:loadbalancer/app/load-balancer-name/load-balancer-id
4477
+ # `
4478
+ #
4479
+ # * For an Amazon API Gateway REST API:
4480
+ # `arn:aws:apigateway:region::/restapis/api-id/stages/stage-name `
4481
+ #
4482
+ # * For an AppSync GraphQL API:
4483
+ # `arn:aws:appsync:region:account-id:apis/GraphQLApiId `
4484
+ #
4485
+ # * For an Amazon Cognito user pool:
4486
+ # `arn:aws:cognito-idp:region:account-id:userpool/user-pool-id `
4465
4487
  #
4466
4488
  # @return [Types::GetWebACLForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4467
4489
  #
@@ -5108,8 +5130,8 @@ module Aws::WAFV2
5108
5130
  # @option params [required, String] :scope
5109
5131
  # Specifies whether this is for an Amazon CloudFront distribution or for
5110
5132
  # a regional application. A regional application can be an Application
5111
- # Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync
5112
- # GraphQL API.
5133
+ # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
5134
+ # GraphQL API, or an Amazon Cognito user pool.
5113
5135
  #
5114
5136
  # To work with CloudFront, you must also specify the Region US East (N.
5115
5137
  # Virginia) as follows:
@@ -5173,8 +5195,8 @@ module Aws::WAFV2
5173
5195
  # @option params [required, String] :scope
5174
5196
  # Specifies whether this is for an Amazon CloudFront distribution or for
5175
5197
  # a regional application. A regional application can be an Application
5176
- # Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync
5177
- # GraphQL API.
5198
+ # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
5199
+ # GraphQL API, or an Amazon Cognito user pool.
5178
5200
  #
5179
5201
  # To work with CloudFront, you must also specify the Region US East (N.
5180
5202
  # Virginia) as follows:
@@ -5234,8 +5256,8 @@ module Aws::WAFV2
5234
5256
  # @option params [required, String] :scope
5235
5257
  # Specifies whether this is for an Amazon CloudFront distribution or for
5236
5258
  # a regional application. A regional application can be an Application
5237
- # Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync
5238
- # GraphQL API.
5259
+ # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
5260
+ # GraphQL API, or an Amazon Cognito user pool.
5239
5261
  #
5240
5262
  # To work with CloudFront, you must also specify the Region US East (N.
5241
5263
  # Virginia) as follows:
@@ -5295,8 +5317,8 @@ module Aws::WAFV2
5295
5317
  # @option params [required, String] :scope
5296
5318
  # Specifies whether this is for an Amazon CloudFront distribution or for
5297
5319
  # a regional application. A regional application can be an Application
5298
- # Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync
5299
- # GraphQL API.
5320
+ # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
5321
+ # GraphQL API, or an Amazon Cognito user pool.
5300
5322
  #
5301
5323
  # To work with CloudFront, you must also specify the Region US East (N.
5302
5324
  # Virginia) as follows:
@@ -5394,8 +5416,8 @@ module Aws::WAFV2
5394
5416
  # @option params [required, String] :scope
5395
5417
  # Specifies whether this is for an Amazon CloudFront distribution or for
5396
5418
  # a regional application. A regional application can be an Application
5397
- # Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync
5398
- # GraphQL API.
5419
+ # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
5420
+ # GraphQL API, or an Amazon Cognito user pool.
5399
5421
  #
5400
5422
  # To work with CloudFront, you must also specify the Region US East (N.
5401
5423
  # Virginia) as follows:
@@ -5515,8 +5537,8 @@ module Aws::WAFV2
5515
5537
  # @option params [required, String] :scope
5516
5538
  # Specifies whether this is for an Amazon CloudFront distribution or for
5517
5539
  # a regional application. A regional application can be an Application
5518
- # Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync
5519
- # GraphQL API.
5540
+ # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
5541
+ # GraphQL API, or an Amazon Cognito user pool.
5520
5542
  #
5521
5543
  # To work with CloudFront, you must also specify the Region US East (N.
5522
5544
  # Virginia) as follows:
@@ -5582,7 +5604,8 @@ module Aws::WAFV2
5582
5604
  # @option params [String] :resource_type
5583
5605
  # Used for web ACLs that are scoped for regional applications. A
5584
5606
  # regional application can be an Application Load Balancer (ALB), an
5585
- # Amazon API Gateway REST API, or an AppSync GraphQL API.
5607
+ # Amazon API Gateway REST API, an AppSync GraphQL API, or an Amazon
5608
+ # Cognito user pool.
5586
5609
  #
5587
5610
  # @return [Types::ListResourcesForWebACLResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5588
5611
  #
@@ -5592,7 +5615,7 @@ module Aws::WAFV2
5592
5615
  #
5593
5616
  # resp = client.list_resources_for_web_acl({
5594
5617
  # web_acl_arn: "ResourceArn", # required
5595
- # resource_type: "APPLICATION_LOAD_BALANCER", # accepts APPLICATION_LOAD_BALANCER, API_GATEWAY, APPSYNC
5618
+ # resource_type: "APPLICATION_LOAD_BALANCER", # accepts APPLICATION_LOAD_BALANCER, API_GATEWAY, APPSYNC, COGNITO_USER_POOL
5596
5619
  # })
5597
5620
  #
5598
5621
  # @example Response structure
@@ -5615,8 +5638,8 @@ module Aws::WAFV2
5615
5638
  # @option params [required, String] :scope
5616
5639
  # Specifies whether this is for an Amazon CloudFront distribution or for
5617
5640
  # a regional application. A regional application can be an Application
5618
- # Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync
5619
- # GraphQL API.
5641
+ # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
5642
+ # GraphQL API, or an Amazon Cognito user pool.
5620
5643
  #
5621
5644
  # To work with CloudFront, you must also specify the Region US East (N.
5622
5645
  # Virginia) as follows:
@@ -5734,8 +5757,8 @@ module Aws::WAFV2
5734
5757
  # @option params [required, String] :scope
5735
5758
  # Specifies whether this is for an Amazon CloudFront distribution or for
5736
5759
  # a regional application. A regional application can be an Application
5737
- # Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync
5738
- # GraphQL API.
5760
+ # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
5761
+ # GraphQL API, or an Amazon Cognito user pool.
5739
5762
  #
5740
5763
  # To work with CloudFront, you must also specify the Region US East (N.
5741
5764
  # Virginia) as follows:
@@ -6000,8 +6023,8 @@ module Aws::WAFV2
6000
6023
  # @option params [required, String] :scope
6001
6024
  # Specifies whether this is for an Amazon CloudFront distribution or for
6002
6025
  # a regional application. A regional application can be an Application
6003
- # Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync
6004
- # GraphQL API.
6026
+ # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
6027
+ # GraphQL API, or an Amazon Cognito user pool.
6005
6028
  #
6006
6029
  # To work with CloudFront, you must also specify the Region US East (N.
6007
6030
  # Virginia) as follows:
@@ -6233,8 +6256,8 @@ module Aws::WAFV2
6233
6256
  # @option params [required, String] :scope
6234
6257
  # Specifies whether this is for an Amazon CloudFront distribution or for
6235
6258
  # a regional application. A regional application can be an Application
6236
- # Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync
6237
- # GraphQL API.
6259
+ # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
6260
+ # GraphQL API, or an Amazon Cognito user pool.
6238
6261
  #
6239
6262
  # To work with CloudFront, you must also specify the Region US East (N.
6240
6263
  # Virginia) as follows:
@@ -6357,8 +6380,8 @@ module Aws::WAFV2
6357
6380
  # @option params [required, String] :scope
6358
6381
  # Specifies whether this is for an Amazon CloudFront distribution or for
6359
6382
  # a regional application. A regional application can be an Application
6360
- # Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync
6361
- # GraphQL API.
6383
+ # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
6384
+ # GraphQL API, or an Amazon Cognito user pool.
6362
6385
  #
6363
6386
  # To work with CloudFront, you must also specify the Region US East (N.
6364
6387
  # Virginia) as follows:
@@ -6457,8 +6480,8 @@ module Aws::WAFV2
6457
6480
  # @option params [required, String] :scope
6458
6481
  # Specifies whether this is for an Amazon CloudFront distribution or for
6459
6482
  # a regional application. A regional application can be an Application
6460
- # Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync
6461
- # GraphQL API.
6483
+ # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
6484
+ # GraphQL API, or an Amazon Cognito user pool.
6462
6485
  #
6463
6486
  # To work with CloudFront, you must also specify the Region US East (N.
6464
6487
  # Virginia) as follows:
@@ -6557,8 +6580,8 @@ module Aws::WAFV2
6557
6580
  # @option params [required, String] :scope
6558
6581
  # Specifies whether this is for an Amazon CloudFront distribution or for
6559
6582
  # a regional application. A regional application can be an Application
6560
- # Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync
6561
- # GraphQL API.
6583
+ # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
6584
+ # GraphQL API, or an Amazon Cognito user pool.
6562
6585
  #
6563
6586
  # To work with CloudFront, you must also specify the Region US East (N.
6564
6587
  # Virginia) as follows:
@@ -7200,8 +7223,8 @@ module Aws::WAFV2
7200
7223
  # combination of the types Rule, RuleGroup, and managed rule group. You
7201
7224
  # can associate a web ACL with one or more Amazon Web Services resources
7202
7225
  # to protect. The resources can be an Amazon CloudFront distribution, an
7203
- # Amazon API Gateway REST API, an Application Load Balancer, or an
7204
- # AppSync GraphQL API.
7226
+ # Amazon API Gateway REST API, an Application Load Balancer, an AppSync
7227
+ # GraphQL API, or an Amazon Cognito user pool.
7205
7228
  #
7206
7229
  # @option params [required, String] :name
7207
7230
  # The name of the web ACL. You cannot change the name of a web ACL after
@@ -7210,8 +7233,8 @@ module Aws::WAFV2
7210
7233
  # @option params [required, String] :scope
7211
7234
  # Specifies whether this is for an Amazon CloudFront distribution or for
7212
7235
  # a regional application. A regional application can be an Application
7213
- # Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync
7214
- # GraphQL API.
7236
+ # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
7237
+ # GraphQL API, or an Amazon Cognito user pool.
7215
7238
  #
7216
7239
  # To work with CloudFront, you must also specify the Region US East (N.
7217
7240
  # Virginia) as follows:
@@ -7870,7 +7893,7 @@ module Aws::WAFV2
7870
7893
  params: params,
7871
7894
  config: config)
7872
7895
  context[:gem_name] = 'aws-sdk-wafv2'
7873
- context[:gem_version] = '1.40.0'
7896
+ context[:gem_version] = '1.41.0'
7874
7897
  Seahorse::Client::Request.new(handlers, context)
7875
7898
  end
7876
7899
 
@@ -1402,6 +1402,7 @@ module Aws::WAFV2
1402
1402
  o.errors << Shapes::ShapeRef.new(shape: WAFUnavailableEntityException)
1403
1403
  o.errors << Shapes::ShapeRef.new(shape: WAFSubscriptionNotFoundException)
1404
1404
  o.errors << Shapes::ShapeRef.new(shape: WAFExpiredManagedRuleGroupVersionException)
1405
+ o.errors << Shapes::ShapeRef.new(shape: WAFInvalidOperationException)
1405
1406
  end)
1406
1407
 
1407
1408
  api.add_operation(:create_ip_set, Seahorse::Model::Operation.new.tap do |o|
@@ -583,6 +583,9 @@ module Aws::WAFV2
583
583
  #
584
584
  # * For an AppSync GraphQL API:
585
585
  # `arn:aws:appsync:region:account-id:apis/GraphQLApiId `
586
+ #
587
+ # * For an Amazon Cognito user pool:
588
+ # `arn:aws:cognito-idp:region:account-id:userpool/user-pool-id `
586
589
  # @return [String]
587
590
  #
588
591
  # @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/AssociateWebACLRequest AWS API Documentation
@@ -1496,8 +1499,8 @@ module Aws::WAFV2
1496
1499
  # @!attribute [rw] scope
1497
1500
  # Specifies whether this is for an Amazon CloudFront distribution or
1498
1501
  # for a regional application. A regional application can be an
1499
- # Application Load Balancer (ALB), an Amazon API Gateway REST API, or
1500
- # an AppSync GraphQL API.
1502
+ # Application Load Balancer (ALB), an Amazon API Gateway REST API, an
1503
+ # AppSync GraphQL API, or an Amazon Cognito user pool.
1501
1504
  #
1502
1505
  # To work with CloudFront, you must also specify the Region US East
1503
1506
  # (N. Virginia) as follows:
@@ -1748,8 +1751,8 @@ module Aws::WAFV2
1748
1751
  # @!attribute [rw] scope
1749
1752
  # Specifies whether this is for an Amazon CloudFront distribution or
1750
1753
  # for a regional application. A regional application can be an
1751
- # Application Load Balancer (ALB), an Amazon API Gateway REST API, or
1752
- # an AppSync GraphQL API.
1754
+ # Application Load Balancer (ALB), an Amazon API Gateway REST API, an
1755
+ # AppSync GraphQL API, or an Amazon Cognito user pool.
1753
1756
  #
1754
1757
  # To work with CloudFront, you must also specify the Region US East
1755
1758
  # (N. Virginia) as follows:
@@ -1874,8 +1877,8 @@ module Aws::WAFV2
1874
1877
  # @!attribute [rw] scope
1875
1878
  # Specifies whether this is for an Amazon CloudFront distribution or
1876
1879
  # for a regional application. A regional application can be an
1877
- # Application Load Balancer (ALB), an Amazon API Gateway REST API, or
1878
- # an AppSync GraphQL API.
1880
+ # Application Load Balancer (ALB), an Amazon API Gateway REST API, an
1881
+ # AppSync GraphQL API, or an Amazon Cognito user pool.
1879
1882
  #
1880
1883
  # To work with CloudFront, you must also specify the Region US East
1881
1884
  # (N. Virginia) as follows:
@@ -2473,8 +2476,8 @@ module Aws::WAFV2
2473
2476
  # @!attribute [rw] scope
2474
2477
  # Specifies whether this is for an Amazon CloudFront distribution or
2475
2478
  # for a regional application. A regional application can be an
2476
- # Application Load Balancer (ALB), an Amazon API Gateway REST API, or
2477
- # an AppSync GraphQL API.
2479
+ # Application Load Balancer (ALB), an Amazon API Gateway REST API, an
2480
+ # AppSync GraphQL API, or an Amazon Cognito user pool.
2478
2481
  #
2479
2482
  # To work with CloudFront, you must also specify the Region US East
2480
2483
  # (N. Virginia) as follows:
@@ -3150,8 +3153,8 @@ module Aws::WAFV2
3150
3153
  # @!attribute [rw] scope
3151
3154
  # Specifies whether this is for an Amazon CloudFront distribution or
3152
3155
  # for a regional application. A regional application can be an
3153
- # Application Load Balancer (ALB), an Amazon API Gateway REST API, or
3154
- # an AppSync GraphQL API.
3156
+ # Application Load Balancer (ALB), an Amazon API Gateway REST API, an
3157
+ # AppSync GraphQL API, or an Amazon Cognito user pool.
3155
3158
  #
3156
3159
  # To work with CloudFront, you must also specify the Region US East
3157
3160
  # (N. Virginia) as follows:
@@ -3562,8 +3565,8 @@ module Aws::WAFV2
3562
3565
  # @!attribute [rw] scope
3563
3566
  # Specifies whether this is for an Amazon CloudFront distribution or
3564
3567
  # for a regional application. A regional application can be an
3565
- # Application Load Balancer (ALB), an Amazon API Gateway REST API, or
3566
- # an AppSync GraphQL API.
3568
+ # Application Load Balancer (ALB), an Amazon API Gateway REST API, an
3569
+ # AppSync GraphQL API, or an Amazon Cognito user pool.
3567
3570
  #
3568
3571
  # To work with CloudFront, you must also specify the Region US East
3569
3572
  # (N. Virginia) as follows:
@@ -3675,8 +3678,8 @@ module Aws::WAFV2
3675
3678
  # @!attribute [rw] scope
3676
3679
  # Specifies whether this is for an Amazon CloudFront distribution or
3677
3680
  # for a regional application. A regional application can be an
3678
- # Application Load Balancer (ALB), an Amazon API Gateway REST API, or
3679
- # an AppSync GraphQL API.
3681
+ # Application Load Balancer (ALB), an Amazon API Gateway REST API, an
3682
+ # AppSync GraphQL API, or an Amazon Cognito user pool.
3680
3683
  #
3681
3684
  # To work with CloudFront, you must also specify the Region US East
3682
3685
  # (N. Virginia) as follows:
@@ -3738,8 +3741,8 @@ module Aws::WAFV2
3738
3741
  # @!attribute [rw] scope
3739
3742
  # Specifies whether this is for an Amazon CloudFront distribution or
3740
3743
  # for a regional application. A regional application can be an
3741
- # Application Load Balancer (ALB), an Amazon API Gateway REST API, or
3742
- # an AppSync GraphQL API.
3744
+ # Application Load Balancer (ALB), an Amazon API Gateway REST API, an
3745
+ # AppSync GraphQL API, or an Amazon Cognito user pool.
3743
3746
  #
3744
3747
  # To work with CloudFront, you must also specify the Region US East
3745
3748
  # (N. Virginia) as follows:
@@ -3801,8 +3804,8 @@ module Aws::WAFV2
3801
3804
  # @!attribute [rw] scope
3802
3805
  # Specifies whether this is for an Amazon CloudFront distribution or
3803
3806
  # for a regional application. A regional application can be an
3804
- # Application Load Balancer (ALB), an Amazon API Gateway REST API, or
3805
- # an AppSync GraphQL API.
3807
+ # Application Load Balancer (ALB), an Amazon API Gateway REST API, an
3808
+ # AppSync GraphQL API, or an Amazon Cognito user pool.
3806
3809
  #
3807
3810
  # To work with CloudFront, you must also specify the Region US East
3808
3811
  # (N. Virginia) as follows:
@@ -3869,8 +3872,8 @@ module Aws::WAFV2
3869
3872
  # @!attribute [rw] scope
3870
3873
  # Specifies whether this is for an Amazon CloudFront distribution or
3871
3874
  # for a regional application. A regional application can be an
3872
- # Application Load Balancer (ALB), an Amazon API Gateway REST API, or
3873
- # an AppSync GraphQL API.
3875
+ # Application Load Balancer (ALB), an Amazon API Gateway REST API, an
3876
+ # AppSync GraphQL API, or an Amazon Cognito user pool.
3874
3877
  #
3875
3878
  # To work with CloudFront, you must also specify the Region US East
3876
3879
  # (N. Virginia) as follows:
@@ -3994,6 +3997,9 @@ module Aws::WAFV2
3994
3997
  #
3995
3998
  # * For an AppSync GraphQL API:
3996
3999
  # `arn:aws:appsync:region:account-id:apis/GraphQLApiId `
4000
+ #
4001
+ # * For an Amazon Cognito user pool:
4002
+ # `arn:aws:cognito-idp:region:account-id:userpool/user-pool-id `
3997
4003
  # @return [String]
3998
4004
  #
3999
4005
  # @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/DisassociateWebACLRequest AWS API Documentation
@@ -4500,8 +4506,8 @@ module Aws::WAFV2
4500
4506
  # @!attribute [rw] scope
4501
4507
  # Specifies whether this is for an Amazon CloudFront distribution or
4502
4508
  # for a regional application. A regional application can be an
4503
- # Application Load Balancer (ALB), an Amazon API Gateway REST API, or
4504
- # an AppSync GraphQL API.
4509
+ # Application Load Balancer (ALB), an Amazon API Gateway REST API, an
4510
+ # AppSync GraphQL API, or an Amazon Cognito user pool.
4505
4511
  #
4506
4512
  # To work with CloudFront, you must also specify the Region US East
4507
4513
  # (N. Virginia) as follows:
@@ -4604,8 +4610,8 @@ module Aws::WAFV2
4604
4610
  # @!attribute [rw] scope
4605
4611
  # Specifies whether this is for an Amazon CloudFront distribution or
4606
4612
  # for a regional application. A regional application can be an
4607
- # Application Load Balancer (ALB), an Amazon API Gateway REST API, or
4608
- # an AppSync GraphQL API.
4613
+ # Application Load Balancer (ALB), an Amazon API Gateway REST API, an
4614
+ # AppSync GraphQL API, or an Amazon Cognito user pool.
4609
4615
  #
4610
4616
  # To work with CloudFront, you must also specify the Region US East
4611
4617
  # (N. Virginia) as follows:
@@ -4742,8 +4748,8 @@ module Aws::WAFV2
4742
4748
  # @!attribute [rw] scope
4743
4749
  # Specifies whether this is for an Amazon CloudFront distribution or
4744
4750
  # for a regional application. A regional application can be an
4745
- # Application Load Balancer (ALB), an Amazon API Gateway REST API, or
4746
- # an AppSync GraphQL API.
4751
+ # Application Load Balancer (ALB), an Amazon API Gateway REST API, an
4752
+ # AppSync GraphQL API, or an Amazon Cognito user pool.
4747
4753
  #
4748
4754
  # To work with CloudFront, you must also specify the Region US East
4749
4755
  # (N. Virginia) as follows:
@@ -4824,8 +4830,8 @@ module Aws::WAFV2
4824
4830
  # @!attribute [rw] scope
4825
4831
  # Specifies whether this is for an Amazon CloudFront distribution or
4826
4832
  # for a regional application. A regional application can be an
4827
- # Application Load Balancer (ALB), an Amazon API Gateway REST API, or
4828
- # an AppSync GraphQL API.
4833
+ # Application Load Balancer (ALB), an Amazon API Gateway REST API, an
4834
+ # AppSync GraphQL API, or an Amazon Cognito user pool.
4829
4835
  #
4830
4836
  # To work with CloudFront, you must also specify the Region US East
4831
4837
  # (N. Virginia) as follows:
@@ -4894,8 +4900,8 @@ module Aws::WAFV2
4894
4900
  # @!attribute [rw] scope
4895
4901
  # Specifies whether this is for an Amazon CloudFront distribution or
4896
4902
  # for a regional application. A regional application can be an
4897
- # Application Load Balancer (ALB), an Amazon API Gateway REST API, or
4898
- # an AppSync GraphQL API.
4903
+ # Application Load Balancer (ALB), an Amazon API Gateway REST API, an
4904
+ # AppSync GraphQL API, or an Amazon Cognito user pool.
4899
4905
  #
4900
4906
  # To work with CloudFront, you must also specify the Region US East
4901
4907
  # (N. Virginia) as follows:
@@ -4978,8 +4984,8 @@ module Aws::WAFV2
4978
4984
  # @!attribute [rw] scope
4979
4985
  # Specifies whether this is for an Amazon CloudFront distribution or
4980
4986
  # for a regional application. A regional application can be an
4981
- # Application Load Balancer (ALB), an Amazon API Gateway REST API, or
4982
- # an AppSync GraphQL API.
4987
+ # Application Load Balancer (ALB), an Amazon API Gateway REST API, an
4988
+ # AppSync GraphQL API, or an Amazon Cognito user pool.
4983
4989
  #
4984
4990
  # To work with CloudFront, you must also specify the Region US East
4985
4991
  # (N. Virginia) as follows:
@@ -5059,7 +5065,23 @@ module Aws::WAFV2
5059
5065
  # }
5060
5066
  #
5061
5067
  # @!attribute [rw] resource_arn
5062
- # The ARN (Amazon Resource Name) of the resource.
5068
+ # The Amazon Resource Name (ARN) of the resource whose web ACL you
5069
+ # want to retrieve.
5070
+ #
5071
+ # The ARN must be in one of the following formats:
5072
+ #
5073
+ # * For an Application Load Balancer:
5074
+ # `arn:aws:elasticloadbalancing:region:account-id:loadbalancer/app/load-balancer-name/load-balancer-id
5075
+ # `
5076
+ #
5077
+ # * For an Amazon API Gateway REST API:
5078
+ # `arn:aws:apigateway:region::/restapis/api-id/stages/stage-name `
5079
+ #
5080
+ # * For an AppSync GraphQL API:
5081
+ # `arn:aws:appsync:region:account-id:apis/GraphQLApiId `
5082
+ #
5083
+ # * For an Amazon Cognito user pool:
5084
+ # `arn:aws:cognito-idp:region:account-id:userpool/user-pool-id `
5063
5085
  # @return [String]
5064
5086
  #
5065
5087
  # @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/GetWebACLForResourceRequest AWS API Documentation
@@ -5100,8 +5122,8 @@ module Aws::WAFV2
5100
5122
  # @!attribute [rw] scope
5101
5123
  # Specifies whether this is for an Amazon CloudFront distribution or
5102
5124
  # for a regional application. A regional application can be an
5103
- # Application Load Balancer (ALB), an Amazon API Gateway REST API, or
5104
- # an AppSync GraphQL API.
5125
+ # Application Load Balancer (ALB), an Amazon API Gateway REST API, an
5126
+ # AppSync GraphQL API, or an Amazon Cognito user pool.
5105
5127
  #
5106
5128
  # To work with CloudFront, you must also specify the Region US East
5107
5129
  # (N. Virginia) as follows:
@@ -5964,8 +5986,8 @@ module Aws::WAFV2
5964
5986
  # @!attribute [rw] scope
5965
5987
  # Specifies whether this is for an Amazon CloudFront distribution or
5966
5988
  # for a regional application. A regional application can be an
5967
- # Application Load Balancer (ALB), an Amazon API Gateway REST API, or
5968
- # an AppSync GraphQL API.
5989
+ # Application Load Balancer (ALB), an Amazon API Gateway REST API, an
5990
+ # AppSync GraphQL API, or an Amazon Cognito user pool.
5969
5991
  #
5970
5992
  # To work with CloudFront, you must also specify the Region US East
5971
5993
  # (N. Virginia) as follows:
@@ -6042,8 +6064,8 @@ module Aws::WAFV2
6042
6064
  # @!attribute [rw] scope
6043
6065
  # Specifies whether this is for an Amazon CloudFront distribution or
6044
6066
  # for a regional application. A regional application can be an
6045
- # Application Load Balancer (ALB), an Amazon API Gateway REST API, or
6046
- # an AppSync GraphQL API.
6067
+ # Application Load Balancer (ALB), an Amazon API Gateway REST API, an
6068
+ # AppSync GraphQL API, or an Amazon Cognito user pool.
6047
6069
  #
6048
6070
  # To work with CloudFront, you must also specify the Region US East
6049
6071
  # (N. Virginia) as follows:
@@ -6111,8 +6133,8 @@ module Aws::WAFV2
6111
6133
  # @!attribute [rw] scope
6112
6134
  # Specifies whether this is for an Amazon CloudFront distribution or
6113
6135
  # for a regional application. A regional application can be an
6114
- # Application Load Balancer (ALB), an Amazon API Gateway REST API, or
6115
- # an AppSync GraphQL API.
6136
+ # Application Load Balancer (ALB), an Amazon API Gateway REST API, an
6137
+ # AppSync GraphQL API, or an Amazon Cognito user pool.
6116
6138
  #
6117
6139
  # To work with CloudFront, you must also specify the Region US East
6118
6140
  # (N. Virginia) as follows:
@@ -6182,8 +6204,8 @@ module Aws::WAFV2
6182
6204
  # @!attribute [rw] scope
6183
6205
  # Specifies whether this is for an Amazon CloudFront distribution or
6184
6206
  # for a regional application. A regional application can be an
6185
- # Application Load Balancer (ALB), an Amazon API Gateway REST API, or
6186
- # an AppSync GraphQL API.
6207
+ # Application Load Balancer (ALB), an Amazon API Gateway REST API, an
6208
+ # AppSync GraphQL API, or an Amazon Cognito user pool.
6187
6209
  #
6188
6210
  # To work with CloudFront, you must also specify the Region US East
6189
6211
  # (N. Virginia) as follows:
@@ -6251,8 +6273,8 @@ module Aws::WAFV2
6251
6273
  # @!attribute [rw] scope
6252
6274
  # Specifies whether this is for an Amazon CloudFront distribution or
6253
6275
  # for a regional application. A regional application can be an
6254
- # Application Load Balancer (ALB), an Amazon API Gateway REST API, or
6255
- # an AppSync GraphQL API.
6276
+ # Application Load Balancer (ALB), an Amazon API Gateway REST API, an
6277
+ # AppSync GraphQL API, or an Amazon Cognito user pool.
6256
6278
  #
6257
6279
  # To work with CloudFront, you must also specify the Region US East
6258
6280
  # (N. Virginia) as follows:
@@ -6380,8 +6402,8 @@ module Aws::WAFV2
6380
6402
  # @!attribute [rw] scope
6381
6403
  # Specifies whether this is for an Amazon CloudFront distribution or
6382
6404
  # for a regional application. A regional application can be an
6383
- # Application Load Balancer (ALB), an Amazon API Gateway REST API, or
6384
- # an AppSync GraphQL API.
6405
+ # Application Load Balancer (ALB), an Amazon API Gateway REST API, an
6406
+ # AppSync GraphQL API, or an Amazon Cognito user pool.
6385
6407
  #
6386
6408
  # To work with CloudFront, you must also specify the Region US East
6387
6409
  # (N. Virginia) as follows:
@@ -6442,7 +6464,7 @@ module Aws::WAFV2
6442
6464
  #
6443
6465
  # {
6444
6466
  # web_acl_arn: "ResourceArn", # required
6445
- # resource_type: "APPLICATION_LOAD_BALANCER", # accepts APPLICATION_LOAD_BALANCER, API_GATEWAY, APPSYNC
6467
+ # resource_type: "APPLICATION_LOAD_BALANCER", # accepts APPLICATION_LOAD_BALANCER, API_GATEWAY, APPSYNC, COGNITO_USER_POOL
6446
6468
  # }
6447
6469
  #
6448
6470
  # @!attribute [rw] web_acl_arn
@@ -6452,7 +6474,8 @@ module Aws::WAFV2
6452
6474
  # @!attribute [rw] resource_type
6453
6475
  # Used for web ACLs that are scoped for regional applications. A
6454
6476
  # regional application can be an Application Load Balancer (ALB), an
6455
- # Amazon API Gateway REST API, or an AppSync GraphQL API.
6477
+ # Amazon API Gateway REST API, an AppSync GraphQL API, or an Amazon
6478
+ # Cognito user pool.
6456
6479
  # @return [String]
6457
6480
  #
6458
6481
  # @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/ListResourcesForWebACLRequest AWS API Documentation
@@ -6489,8 +6512,8 @@ module Aws::WAFV2
6489
6512
  # @!attribute [rw] scope
6490
6513
  # Specifies whether this is for an Amazon CloudFront distribution or
6491
6514
  # for a regional application. A regional application can be an
6492
- # Application Load Balancer (ALB), an Amazon API Gateway REST API, or
6493
- # an AppSync GraphQL API.
6515
+ # Application Load Balancer (ALB), an Amazon API Gateway REST API, an
6516
+ # AppSync GraphQL API, or an Amazon Cognito user pool.
6494
6517
  #
6495
6518
  # To work with CloudFront, you must also specify the Region US East
6496
6519
  # (N. Virginia) as follows:
@@ -6617,8 +6640,8 @@ module Aws::WAFV2
6617
6640
  # @!attribute [rw] scope
6618
6641
  # Specifies whether this is for an Amazon CloudFront distribution or
6619
6642
  # for a regional application. A regional application can be an
6620
- # Application Load Balancer (ALB), an Amazon API Gateway REST API, or
6621
- # an AppSync GraphQL API.
6643
+ # Application Load Balancer (ALB), an Amazon API Gateway REST API, an
6644
+ # AppSync GraphQL API, or an Amazon Cognito user pool.
6622
6645
  #
6623
6646
  # To work with CloudFront, you must also specify the Region US East
6624
6647
  # (N. Virginia) as follows:
@@ -6901,6 +6924,8 @@ module Aws::WAFV2
6901
6924
  # provide the following individual configuration objects: `LoginPath`,
6902
6925
  # `PasswordField`, `PayloadType` and `UsernameField`.
6903
6926
  #
6927
+ # For example specifications, see the examples section of CreateWebACL.
6928
+ #
6904
6929
  # @note When making an API call, you may pass ManagedRuleGroupConfig
6905
6930
  # data as a hash:
6906
6931
  #
@@ -8956,8 +8981,8 @@ module Aws::WAFV2
8956
8981
  # @!attribute [rw] scope
8957
8982
  # Specifies whether this is for an Amazon CloudFront distribution or
8958
8983
  # for a regional application. A regional application can be an
8959
- # Application Load Balancer (ALB), an Amazon API Gateway REST API, or
8960
- # an AppSync GraphQL API.
8984
+ # Application Load Balancer (ALB), an Amazon API Gateway REST API, an
8985
+ # AppSync GraphQL API, or an Amazon Cognito user pool.
8961
8986
  #
8962
8987
  # To work with CloudFront, you must also specify the Region US East
8963
8988
  # (N. Virginia) as follows:
@@ -11278,6 +11303,8 @@ module Aws::WAFV2
11278
11303
  # The processing guidance for a Rule, used by WAF to determine whether a
11279
11304
  # web request matches the rule.
11280
11305
  #
11306
+ # For example specifications, see the examples section of CreateWebACL.
11307
+ #
11281
11308
  # @note When making an API call, you may pass Statement
11282
11309
  # data as a hash:
11283
11310
  #
@@ -14381,8 +14408,8 @@ module Aws::WAFV2
14381
14408
  # @!attribute [rw] scope
14382
14409
  # Specifies whether this is for an Amazon CloudFront distribution or
14383
14410
  # for a regional application. A regional application can be an
14384
- # Application Load Balancer (ALB), an Amazon API Gateway REST API, or
14385
- # an AppSync GraphQL API.
14411
+ # Application Load Balancer (ALB), an Amazon API Gateway REST API, an
14412
+ # AppSync GraphQL API, or an Amazon Cognito user pool.
14386
14413
  #
14387
14414
  # To work with CloudFront, you must also specify the Region US East
14388
14415
  # (N. Virginia) as follows:
@@ -14511,8 +14538,8 @@ module Aws::WAFV2
14511
14538
  # @!attribute [rw] scope
14512
14539
  # Specifies whether this is for an Amazon CloudFront distribution or
14513
14540
  # for a regional application. A regional application can be an
14514
- # Application Load Balancer (ALB), an Amazon API Gateway REST API, or
14515
- # an AppSync GraphQL API.
14541
+ # Application Load Balancer (ALB), an Amazon API Gateway REST API, an
14542
+ # AppSync GraphQL API, or an Amazon Cognito user pool.
14516
14543
  #
14517
14544
  # To work with CloudFront, you must also specify the Region US East
14518
14545
  # (N. Virginia) as follows:
@@ -14625,8 +14652,8 @@ module Aws::WAFV2
14625
14652
  # @!attribute [rw] scope
14626
14653
  # Specifies whether this is for an Amazon CloudFront distribution or
14627
14654
  # for a regional application. A regional application can be an
14628
- # Application Load Balancer (ALB), an Amazon API Gateway REST API, or
14629
- # an AppSync GraphQL API.
14655
+ # Application Load Balancer (ALB), an Amazon API Gateway REST API, an
14656
+ # AppSync GraphQL API, or an Amazon Cognito user pool.
14630
14657
  #
14631
14658
  # To work with CloudFront, you must also specify the Region US East
14632
14659
  # (N. Virginia) as follows:
@@ -15231,8 +15258,8 @@ module Aws::WAFV2
15231
15258
  # @!attribute [rw] scope
15232
15259
  # Specifies whether this is for an Amazon CloudFront distribution or
15233
15260
  # for a regional application. A regional application can be an
15234
- # Application Load Balancer (ALB), an Amazon API Gateway REST API, or
15235
- # an AppSync GraphQL API.
15261
+ # Application Load Balancer (ALB), an Amazon API Gateway REST API, an
15262
+ # AppSync GraphQL API, or an Amazon Cognito user pool.
15236
15263
  #
15237
15264
  # To work with CloudFront, you must also specify the Region US East
15238
15265
  # (N. Virginia) as follows:
@@ -15898,8 +15925,8 @@ module Aws::WAFV2
15898
15925
  # @!attribute [rw] scope
15899
15926
  # Specifies whether this is for an Amazon CloudFront distribution or
15900
15927
  # for a regional application. A regional application can be an
15901
- # Application Load Balancer (ALB), an Amazon API Gateway REST API, or
15902
- # an AppSync GraphQL API.
15928
+ # Application Load Balancer (ALB), an Amazon API Gateway REST API, an
15929
+ # AppSync GraphQL API, or an Amazon Cognito user pool.
15903
15930
  #
15904
15931
  # To work with CloudFront, you must also specify the Region US East
15905
15932
  # (N. Virginia) as follows:
@@ -16134,11 +16161,6 @@ module Aws::WAFV2
16134
16161
  # WAF couldn’t perform the operation because your resource is being used
16135
16162
  # by another resource or it’s associated with another resource.
16136
16163
  #
16137
- # For `DeleteWebACL`, you will only get this exception if the web ACL is
16138
- # still associated with a regional resource. Deleting a web ACL that is
16139
- # still associated with an Amazon CloudFront distribution won't get
16140
- # this exception.
16141
- #
16142
16164
  # @!attribute [rw] message
16143
16165
  # @return [String]
16144
16166
  #
@@ -16477,8 +16499,8 @@ module Aws::WAFV2
16477
16499
  # combination of the types Rule, RuleGroup, and managed rule group. You
16478
16500
  # can associate a web ACL with one or more Amazon Web Services resources
16479
16501
  # to protect. The resources can be an Amazon CloudFront distribution, an
16480
- # Amazon API Gateway REST API, an Application Load Balancer, or an
16481
- # AppSync GraphQL API.
16502
+ # Amazon API Gateway REST API, an Application Load Balancer, an AppSync
16503
+ # GraphQL API, or an Amazon Cognito user pool.
16482
16504
  #
16483
16505
  # @!attribute [rw] name
16484
16506
  # The name of the web ACL. You cannot change the name of a web ACL
data/lib/aws-sdk-wafv2.rb CHANGED
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-wafv2/customizations'
48
48
  # @!group service
49
49
  module Aws::WAFV2
50
50
 
51
- GEM_VERSION = '1.40.0'
51
+ GEM_VERSION = '1.41.0'
52
52
 
53
53
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-wafv2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.40.0
4
+ version: 1.41.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-15 00:00:00.000000000 Z
11
+ date: 2022-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core