aws-sdk-wafv2 1.13.0 → 1.14.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/lib/aws-sdk-wafv2.rb +1 -1
- data/lib/aws-sdk-wafv2/client.rb +71 -39
- data/lib/aws-sdk-wafv2/types.rb +65 -33
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3222f85c3e2de0ef0a6549850adec758bb9ef89811f7e89e4f8c949f381e4db3
|
|
4
|
+
data.tar.gz: 5e6396431c68d0514dc647218bf9b9e8c4cd1c736a3443f840f526c1a10a0f3c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e2da24c94a98fef65504eb98d4ace3e65f0b7a8b6fc1a2e01e2864dd75307bb40527c97fef228aa58288c9c0c99759b0cbea9e80255be52ed1ef1686b0097882
|
|
7
|
+
data.tar.gz: 1536f8a7f11c678c71f3b8c8ec4ef4ca065f68a7d458aa5a8e2fd6c5cc44a4785af5a0c09609e9ecc3353bb698d5b306c0ebdcc78e7719b68b68334b50f17458
|
data/lib/aws-sdk-wafv2.rb
CHANGED
data/lib/aws-sdk-wafv2/client.rb
CHANGED
|
@@ -346,7 +346,7 @@ module Aws::WAFV2
|
|
|
346
346
|
#
|
|
347
347
|
# Associates a Web ACL with a regional application resource, to protect
|
|
348
348
|
# the resource. A regional application can be an Application Load
|
|
349
|
-
# Balancer (ALB)
|
|
349
|
+
# Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL API.
|
|
350
350
|
#
|
|
351
351
|
# For AWS CloudFront, don't use this call. Instead, use your CloudFront
|
|
352
352
|
# distribution configuration. To associate a Web ACL, in the CloudFront
|
|
@@ -373,9 +373,12 @@ module Aws::WAFV2
|
|
|
373
373
|
# `arn:aws:elasticloadbalancing:region:account-id:loadbalancer/app/load-balancer-name/load-balancer-id
|
|
374
374
|
# `
|
|
375
375
|
#
|
|
376
|
-
# * For an
|
|
376
|
+
# * For an API Gateway REST API:
|
|
377
377
|
# `arn:aws:apigateway:region::/restapis/api-id/stages/stage-name `
|
|
378
378
|
#
|
|
379
|
+
# * For an AppSync GraphQL API:
|
|
380
|
+
# `arn:aws:appsync:region:account-id:apis/GraphQLApiId `
|
|
381
|
+
#
|
|
379
382
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
380
383
|
#
|
|
381
384
|
# @example Request syntax with placeholder values
|
|
@@ -421,7 +424,8 @@ module Aws::WAFV2
|
|
|
421
424
|
# @option params [required, String] :scope
|
|
422
425
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
|
423
426
|
# regional application. A regional application can be an Application
|
|
424
|
-
# Load Balancer (ALB)
|
|
427
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
|
428
|
+
# API.
|
|
425
429
|
#
|
|
426
430
|
# To work with CloudFront, you must also specify the Region US East (N.
|
|
427
431
|
# Virginia) as follows:
|
|
@@ -706,7 +710,8 @@ module Aws::WAFV2
|
|
|
706
710
|
# @option params [required, String] :scope
|
|
707
711
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
|
708
712
|
# regional application. A regional application can be an Application
|
|
709
|
-
# Load Balancer (ALB)
|
|
713
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
|
714
|
+
# API.
|
|
710
715
|
#
|
|
711
716
|
# To work with CloudFront, you must also specify the Region US East (N.
|
|
712
717
|
# Virginia) as follows:
|
|
@@ -817,7 +822,8 @@ module Aws::WAFV2
|
|
|
817
822
|
# @option params [required, String] :scope
|
|
818
823
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
|
819
824
|
# regional application. A regional application can be an Application
|
|
820
|
-
# Load Balancer (ALB)
|
|
825
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
|
826
|
+
# API.
|
|
821
827
|
#
|
|
822
828
|
# To work with CloudFront, you must also specify the Region US East (N.
|
|
823
829
|
# Virginia) as follows:
|
|
@@ -903,7 +909,8 @@ module Aws::WAFV2
|
|
|
903
909
|
# @option params [required, String] :scope
|
|
904
910
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
|
905
911
|
# regional application. A regional application can be an Application
|
|
906
|
-
# Load Balancer (ALB)
|
|
912
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
|
913
|
+
# API.
|
|
907
914
|
#
|
|
908
915
|
# To work with CloudFront, you must also specify the Region US East (N.
|
|
909
916
|
# Virginia) as follows:
|
|
@@ -1228,8 +1235,8 @@ module Aws::WAFV2
|
|
|
1228
1235
|
# does not match any of the rules. The rules in a Web ACL can be a
|
|
1229
1236
|
# combination of the types Rule, RuleGroup, and managed rule group. You
|
|
1230
1237
|
# can associate a Web ACL with one or more AWS resources to protect. The
|
|
1231
|
-
# resources can be Amazon CloudFront, an Amazon API Gateway API,
|
|
1232
|
-
# Application Load Balancer.
|
|
1238
|
+
# resources can be Amazon CloudFront, an Amazon API Gateway REST API, an
|
|
1239
|
+
# Application Load Balancer, or an AWS AppSync GraphQL API.
|
|
1233
1240
|
#
|
|
1234
1241
|
#
|
|
1235
1242
|
#
|
|
@@ -1242,7 +1249,8 @@ module Aws::WAFV2
|
|
|
1242
1249
|
# @option params [required, String] :scope
|
|
1243
1250
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
|
1244
1251
|
# regional application. A regional application can be an Application
|
|
1245
|
-
# Load Balancer (ALB)
|
|
1252
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
|
1253
|
+
# API.
|
|
1246
1254
|
#
|
|
1247
1255
|
# To work with CloudFront, you must also specify the Region US East (N.
|
|
1248
1256
|
# Virginia) as follows:
|
|
@@ -1606,7 +1614,8 @@ module Aws::WAFV2
|
|
|
1606
1614
|
# @option params [required, String] :scope
|
|
1607
1615
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
|
1608
1616
|
# regional application. A regional application can be an Application
|
|
1609
|
-
# Load Balancer (ALB)
|
|
1617
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
|
1618
|
+
# API.
|
|
1610
1619
|
#
|
|
1611
1620
|
# To work with CloudFront, you must also specify the Region US East (N.
|
|
1612
1621
|
# Virginia) as follows:
|
|
@@ -1732,7 +1741,8 @@ module Aws::WAFV2
|
|
|
1732
1741
|
# @option params [required, String] :scope
|
|
1733
1742
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
|
1734
1743
|
# regional application. A regional application can be an Application
|
|
1735
|
-
# Load Balancer (ALB)
|
|
1744
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
|
1745
|
+
# API.
|
|
1736
1746
|
#
|
|
1737
1747
|
# To work with CloudFront, you must also specify the Region US East (N.
|
|
1738
1748
|
# Virginia) as follows:
|
|
@@ -1797,7 +1807,8 @@ module Aws::WAFV2
|
|
|
1797
1807
|
# @option params [required, String] :scope
|
|
1798
1808
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
|
1799
1809
|
# regional application. A regional application can be an Application
|
|
1800
|
-
# Load Balancer (ALB)
|
|
1810
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
|
1811
|
+
# API.
|
|
1801
1812
|
#
|
|
1802
1813
|
# To work with CloudFront, you must also specify the Region US East (N.
|
|
1803
1814
|
# Virginia) as follows:
|
|
@@ -1865,7 +1876,8 @@ module Aws::WAFV2
|
|
|
1865
1876
|
# @option params [required, String] :scope
|
|
1866
1877
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
|
1867
1878
|
# regional application. A regional application can be an Application
|
|
1868
|
-
# Load Balancer (ALB)
|
|
1879
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
|
1880
|
+
# API.
|
|
1869
1881
|
#
|
|
1870
1882
|
# To work with CloudFront, you must also specify the Region US East (N.
|
|
1871
1883
|
# Virginia) as follows:
|
|
@@ -1935,7 +1947,8 @@ module Aws::WAFV2
|
|
|
1935
1947
|
# @option params [required, String] :scope
|
|
1936
1948
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
|
1937
1949
|
# regional application. A regional application can be an Application
|
|
1938
|
-
# Load Balancer (ALB)
|
|
1950
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
|
1951
|
+
# API.
|
|
1939
1952
|
#
|
|
1940
1953
|
# To work with CloudFront, you must also specify the Region US East (N.
|
|
1941
1954
|
# Virginia) as follows:
|
|
@@ -1981,8 +1994,8 @@ module Aws::WAFV2
|
|
|
1981
1994
|
# </note>
|
|
1982
1995
|
#
|
|
1983
1996
|
# Disassociates a Web ACL from a regional application resource. A
|
|
1984
|
-
# regional application can be an Application Load Balancer (ALB)
|
|
1985
|
-
# API
|
|
1997
|
+
# regional application can be an Application Load Balancer (ALB), an API
|
|
1998
|
+
# Gateway REST API, or an AppSync GraphQL API.
|
|
1986
1999
|
#
|
|
1987
2000
|
# For AWS CloudFront, don't use this call. Instead, use your CloudFront
|
|
1988
2001
|
# distribution configuration. To disassociate a Web ACL, provide an
|
|
@@ -2004,9 +2017,12 @@ module Aws::WAFV2
|
|
|
2004
2017
|
# `arn:aws:elasticloadbalancing:region:account-id:loadbalancer/app/load-balancer-name/load-balancer-id
|
|
2005
2018
|
# `
|
|
2006
2019
|
#
|
|
2007
|
-
# * For an
|
|
2020
|
+
# * For an API Gateway REST API:
|
|
2008
2021
|
# `arn:aws:apigateway:region::/restapis/api-id/stages/stage-name `
|
|
2009
2022
|
#
|
|
2023
|
+
# * For an AppSync GraphQL API:
|
|
2024
|
+
# `arn:aws:appsync:region:account-id:apis/GraphQLApiId `
|
|
2025
|
+
#
|
|
2010
2026
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
2011
2027
|
#
|
|
2012
2028
|
# @example Request syntax with placeholder values
|
|
@@ -2044,7 +2060,8 @@ module Aws::WAFV2
|
|
|
2044
2060
|
# @option params [required, String] :scope
|
|
2045
2061
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
|
2046
2062
|
# regional application. A regional application can be an Application
|
|
2047
|
-
# Load Balancer (ALB)
|
|
2063
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
|
2064
|
+
# API.
|
|
2048
2065
|
#
|
|
2049
2066
|
# To work with CloudFront, you must also specify the Region US East (N.
|
|
2050
2067
|
# Virginia) as follows:
|
|
@@ -2188,7 +2205,8 @@ module Aws::WAFV2
|
|
|
2188
2205
|
# @option params [required, String] :scope
|
|
2189
2206
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
|
2190
2207
|
# regional application. A regional application can be an Application
|
|
2191
|
-
# Load Balancer (ALB)
|
|
2208
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
|
2209
|
+
# API.
|
|
2192
2210
|
#
|
|
2193
2211
|
# To work with CloudFront, you must also specify the Region US East (N.
|
|
2194
2212
|
# Virginia) as follows:
|
|
@@ -2262,7 +2280,8 @@ module Aws::WAFV2
|
|
|
2262
2280
|
# @option params [required, String] :scope
|
|
2263
2281
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
|
2264
2282
|
# regional application. A regional application can be an Application
|
|
2265
|
-
# Load Balancer (ALB)
|
|
2283
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
|
2284
|
+
# API.
|
|
2266
2285
|
#
|
|
2267
2286
|
# To work with CloudFront, you must also specify the Region US East (N.
|
|
2268
2287
|
# Virginia) as follows:
|
|
@@ -2329,7 +2348,8 @@ module Aws::WAFV2
|
|
|
2329
2348
|
# @option params [required, String] :scope
|
|
2330
2349
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
|
2331
2350
|
# regional application. A regional application can be an Application
|
|
2332
|
-
# Load Balancer (ALB)
|
|
2351
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
|
2352
|
+
# API.
|
|
2333
2353
|
#
|
|
2334
2354
|
# To work with CloudFront, you must also specify the Region US East (N.
|
|
2335
2355
|
# Virginia) as follows:
|
|
@@ -2474,7 +2494,8 @@ module Aws::WAFV2
|
|
|
2474
2494
|
# @option params [required, String] :scope
|
|
2475
2495
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
|
2476
2496
|
# regional application. A regional application can be an Application
|
|
2477
|
-
# Load Balancer (ALB)
|
|
2497
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
|
2498
|
+
# API.
|
|
2478
2499
|
#
|
|
2479
2500
|
# To work with CloudFront, you must also specify the Region US East (N.
|
|
2480
2501
|
# Virginia) as follows:
|
|
@@ -2566,7 +2587,8 @@ module Aws::WAFV2
|
|
|
2566
2587
|
# @option params [required, String] :scope
|
|
2567
2588
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
|
2568
2589
|
# regional application. A regional application can be an Application
|
|
2569
|
-
# Load Balancer (ALB)
|
|
2590
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
|
2591
|
+
# API.
|
|
2570
2592
|
#
|
|
2571
2593
|
# To work with CloudFront, you must also specify the Region US East (N.
|
|
2572
2594
|
# Virginia) as follows:
|
|
@@ -2855,7 +2877,8 @@ module Aws::WAFV2
|
|
|
2855
2877
|
# @option params [required, String] :scope
|
|
2856
2878
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
|
2857
2879
|
# regional application. A regional application can be an Application
|
|
2858
|
-
# Load Balancer (ALB)
|
|
2880
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
|
2881
|
+
# API.
|
|
2859
2882
|
#
|
|
2860
2883
|
# To work with CloudFront, you must also specify the Region US East (N.
|
|
2861
2884
|
# Virginia) as follows:
|
|
@@ -2925,7 +2948,8 @@ module Aws::WAFV2
|
|
|
2925
2948
|
# @option params [required, String] :scope
|
|
2926
2949
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
|
2927
2950
|
# regional application. A regional application can be an Application
|
|
2928
|
-
# Load Balancer (ALB)
|
|
2951
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
|
2952
|
+
# API.
|
|
2929
2953
|
#
|
|
2930
2954
|
# To work with CloudFront, you must also specify the Region US East (N.
|
|
2931
2955
|
# Virginia) as follows:
|
|
@@ -2996,7 +3020,8 @@ module Aws::WAFV2
|
|
|
2996
3020
|
# @option params [String] :scope
|
|
2997
3021
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
|
2998
3022
|
# regional application. A regional application can be an Application
|
|
2999
|
-
# Load Balancer (ALB)
|
|
3023
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
|
3024
|
+
# API.
|
|
3000
3025
|
#
|
|
3001
3026
|
# To work with CloudFront, you must also specify the Region US East (N.
|
|
3002
3027
|
# Virginia) as follows:
|
|
@@ -3070,7 +3095,8 @@ module Aws::WAFV2
|
|
|
3070
3095
|
# @option params [required, String] :scope
|
|
3071
3096
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
|
3072
3097
|
# regional application. A regional application can be an Application
|
|
3073
|
-
# Load Balancer (ALB)
|
|
3098
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
|
3099
|
+
# API.
|
|
3074
3100
|
#
|
|
3075
3101
|
# To work with CloudFront, you must also specify the Region US East (N.
|
|
3076
3102
|
# Virginia) as follows:
|
|
@@ -3146,8 +3172,8 @@ module Aws::WAFV2
|
|
|
3146
3172
|
#
|
|
3147
3173
|
# @option params [String] :resource_type
|
|
3148
3174
|
# Used for web ACLs that are scoped for regional applications. A
|
|
3149
|
-
# regional application can be an Application Load Balancer (ALB)
|
|
3150
|
-
# API
|
|
3175
|
+
# regional application can be an Application Load Balancer (ALB), an API
|
|
3176
|
+
# Gateway REST API, or an AppSync GraphQL API.
|
|
3151
3177
|
#
|
|
3152
3178
|
# @return [Types::ListResourcesForWebACLResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3153
3179
|
#
|
|
@@ -3157,7 +3183,7 @@ module Aws::WAFV2
|
|
|
3157
3183
|
#
|
|
3158
3184
|
# resp = client.list_resources_for_web_acl({
|
|
3159
3185
|
# web_acl_arn: "ResourceArn", # required
|
|
3160
|
-
# resource_type: "APPLICATION_LOAD_BALANCER", # accepts APPLICATION_LOAD_BALANCER, API_GATEWAY
|
|
3186
|
+
# resource_type: "APPLICATION_LOAD_BALANCER", # accepts APPLICATION_LOAD_BALANCER, API_GATEWAY, APPSYNC
|
|
3161
3187
|
# })
|
|
3162
3188
|
#
|
|
3163
3189
|
# @example Response structure
|
|
@@ -3191,7 +3217,8 @@ module Aws::WAFV2
|
|
|
3191
3217
|
# @option params [required, String] :scope
|
|
3192
3218
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
|
3193
3219
|
# regional application. A regional application can be an Application
|
|
3194
|
-
# Load Balancer (ALB)
|
|
3220
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
|
3221
|
+
# API.
|
|
3195
3222
|
#
|
|
3196
3223
|
# To work with CloudFront, you must also specify the Region US East (N.
|
|
3197
3224
|
# Virginia) as follows:
|
|
@@ -3331,7 +3358,8 @@ module Aws::WAFV2
|
|
|
3331
3358
|
# @option params [required, String] :scope
|
|
3332
3359
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
|
3333
3360
|
# regional application. A regional application can be an Application
|
|
3334
|
-
# Load Balancer (ALB)
|
|
3361
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
|
3362
|
+
# API.
|
|
3335
3363
|
#
|
|
3336
3364
|
# To work with CloudFront, you must also specify the Region US East (N.
|
|
3337
3365
|
# Virginia) as follows:
|
|
@@ -3657,7 +3685,8 @@ module Aws::WAFV2
|
|
|
3657
3685
|
# @option params [required, String] :scope
|
|
3658
3686
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
|
3659
3687
|
# regional application. A regional application can be an Application
|
|
3660
|
-
# Load Balancer (ALB)
|
|
3688
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
|
3689
|
+
# API.
|
|
3661
3690
|
#
|
|
3662
3691
|
# To work with CloudFront, you must also specify the Region US East (N.
|
|
3663
3692
|
# Virginia) as follows:
|
|
@@ -3766,7 +3795,8 @@ module Aws::WAFV2
|
|
|
3766
3795
|
# @option params [required, String] :scope
|
|
3767
3796
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
|
3768
3797
|
# regional application. A regional application can be an Application
|
|
3769
|
-
# Load Balancer (ALB)
|
|
3798
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
|
3799
|
+
# API.
|
|
3770
3800
|
#
|
|
3771
3801
|
# To work with CloudFront, you must also specify the Region US East (N.
|
|
3772
3802
|
# Virginia) as follows:
|
|
@@ -3855,7 +3885,8 @@ module Aws::WAFV2
|
|
|
3855
3885
|
# @option params [required, String] :scope
|
|
3856
3886
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
|
3857
3887
|
# regional application. A regional application can be an Application
|
|
3858
|
-
# Load Balancer (ALB)
|
|
3888
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
|
3889
|
+
# API.
|
|
3859
3890
|
#
|
|
3860
3891
|
# To work with CloudFront, you must also specify the Region US East (N.
|
|
3861
3892
|
# Virginia) as follows:
|
|
@@ -4166,8 +4197,8 @@ module Aws::WAFV2
|
|
|
4166
4197
|
# does not match any of the rules. The rules in a Web ACL can be a
|
|
4167
4198
|
# combination of the types Rule, RuleGroup, and managed rule group. You
|
|
4168
4199
|
# can associate a Web ACL with one or more AWS resources to protect. The
|
|
4169
|
-
# resources can be Amazon CloudFront, an Amazon API Gateway API,
|
|
4170
|
-
# Application Load Balancer.
|
|
4200
|
+
# resources can be Amazon CloudFront, an Amazon API Gateway REST API, an
|
|
4201
|
+
# Application Load Balancer, or an AWS AppSync GraphQL API.
|
|
4171
4202
|
#
|
|
4172
4203
|
#
|
|
4173
4204
|
#
|
|
@@ -4180,7 +4211,8 @@ module Aws::WAFV2
|
|
|
4180
4211
|
# @option params [required, String] :scope
|
|
4181
4212
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
|
4182
4213
|
# regional application. A regional application can be an Application
|
|
4183
|
-
# Load Balancer (ALB)
|
|
4214
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
|
4215
|
+
# API.
|
|
4184
4216
|
#
|
|
4185
4217
|
# To work with CloudFront, you must also specify the Region US East (N.
|
|
4186
4218
|
# Virginia) as follows:
|
|
@@ -4498,7 +4530,7 @@ module Aws::WAFV2
|
|
|
4498
4530
|
params: params,
|
|
4499
4531
|
config: config)
|
|
4500
4532
|
context[:gem_name] = 'aws-sdk-wafv2'
|
|
4501
|
-
context[:gem_version] = '1.
|
|
4533
|
+
context[:gem_version] = '1.14.0'
|
|
4502
4534
|
Seahorse::Client::Request.new(handlers, context)
|
|
4503
4535
|
end
|
|
4504
4536
|
|
data/lib/aws-sdk-wafv2/types.rb
CHANGED
|
@@ -308,8 +308,11 @@ module Aws::WAFV2
|
|
|
308
308
|
# `arn:aws:elasticloadbalancing:region:account-id:loadbalancer/app/load-balancer-name/load-balancer-id
|
|
309
309
|
# `
|
|
310
310
|
#
|
|
311
|
-
# * For an
|
|
311
|
+
# * For an API Gateway REST API:
|
|
312
312
|
# `arn:aws:apigateway:region::/restapis/api-id/stages/stage-name `
|
|
313
|
+
#
|
|
314
|
+
# * For an AppSync GraphQL API:
|
|
315
|
+
# `arn:aws:appsync:region:account-id:apis/GraphQLApiId `
|
|
313
316
|
# @return [String]
|
|
314
317
|
#
|
|
315
318
|
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/AssociateWebACLRequest AWS API Documentation
|
|
@@ -756,7 +759,8 @@ module Aws::WAFV2
|
|
|
756
759
|
# @!attribute [rw] scope
|
|
757
760
|
# Specifies whether this is for an AWS CloudFront distribution or for
|
|
758
761
|
# a regional application. A regional application can be an Application
|
|
759
|
-
# Load Balancer (ALB)
|
|
762
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
|
763
|
+
# API.
|
|
760
764
|
#
|
|
761
765
|
# To work with CloudFront, you must also specify the Region US East
|
|
762
766
|
# (N. Virginia) as follows:
|
|
@@ -840,7 +844,8 @@ module Aws::WAFV2
|
|
|
840
844
|
# @!attribute [rw] scope
|
|
841
845
|
# Specifies whether this is for an AWS CloudFront distribution or for
|
|
842
846
|
# a regional application. A regional application can be an Application
|
|
843
|
-
# Load Balancer (ALB)
|
|
847
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
|
848
|
+
# API.
|
|
844
849
|
#
|
|
845
850
|
# To work with CloudFront, you must also specify the Region US East
|
|
846
851
|
# (N. Virginia) as follows:
|
|
@@ -955,7 +960,8 @@ module Aws::WAFV2
|
|
|
955
960
|
# @!attribute [rw] scope
|
|
956
961
|
# Specifies whether this is for an AWS CloudFront distribution or for
|
|
957
962
|
# a regional application. A regional application can be an Application
|
|
958
|
-
# Load Balancer (ALB)
|
|
963
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
|
964
|
+
# API.
|
|
959
965
|
#
|
|
960
966
|
# To work with CloudFront, you must also specify the Region US East
|
|
961
967
|
# (N. Virginia) as follows:
|
|
@@ -1260,7 +1266,8 @@ module Aws::WAFV2
|
|
|
1260
1266
|
# @!attribute [rw] scope
|
|
1261
1267
|
# Specifies whether this is for an AWS CloudFront distribution or for
|
|
1262
1268
|
# a regional application. A regional application can be an Application
|
|
1263
|
-
# Load Balancer (ALB)
|
|
1269
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
|
1270
|
+
# API.
|
|
1264
1271
|
#
|
|
1265
1272
|
# To work with CloudFront, you must also specify the Region US East
|
|
1266
1273
|
# (N. Virginia) as follows:
|
|
@@ -1598,7 +1605,8 @@ module Aws::WAFV2
|
|
|
1598
1605
|
# @!attribute [rw] scope
|
|
1599
1606
|
# Specifies whether this is for an AWS CloudFront distribution or for
|
|
1600
1607
|
# a regional application. A regional application can be an Application
|
|
1601
|
-
# Load Balancer (ALB)
|
|
1608
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
|
1609
|
+
# API.
|
|
1602
1610
|
#
|
|
1603
1611
|
# To work with CloudFront, you must also specify the Region US East
|
|
1604
1612
|
# (N. Virginia) as follows:
|
|
@@ -1777,7 +1785,8 @@ module Aws::WAFV2
|
|
|
1777
1785
|
# @!attribute [rw] scope
|
|
1778
1786
|
# Specifies whether this is for an AWS CloudFront distribution or for
|
|
1779
1787
|
# a regional application. A regional application can be an Application
|
|
1780
|
-
# Load Balancer (ALB)
|
|
1788
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
|
1789
|
+
# API.
|
|
1781
1790
|
#
|
|
1782
1791
|
# To work with CloudFront, you must also specify the Region US East
|
|
1783
1792
|
# (N. Virginia) as follows:
|
|
@@ -1889,7 +1898,8 @@ module Aws::WAFV2
|
|
|
1889
1898
|
# @!attribute [rw] scope
|
|
1890
1899
|
# Specifies whether this is for an AWS CloudFront distribution or for
|
|
1891
1900
|
# a regional application. A regional application can be an Application
|
|
1892
|
-
# Load Balancer (ALB)
|
|
1901
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
|
1902
|
+
# API.
|
|
1893
1903
|
#
|
|
1894
1904
|
# To work with CloudFront, you must also specify the Region US East
|
|
1895
1905
|
# (N. Virginia) as follows:
|
|
@@ -1951,7 +1961,8 @@ module Aws::WAFV2
|
|
|
1951
1961
|
# @!attribute [rw] scope
|
|
1952
1962
|
# Specifies whether this is for an AWS CloudFront distribution or for
|
|
1953
1963
|
# a regional application. A regional application can be an Application
|
|
1954
|
-
# Load Balancer (ALB)
|
|
1964
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
|
1965
|
+
# API.
|
|
1955
1966
|
#
|
|
1956
1967
|
# To work with CloudFront, you must also specify the Region US East
|
|
1957
1968
|
# (N. Virginia) as follows:
|
|
@@ -2013,7 +2024,8 @@ module Aws::WAFV2
|
|
|
2013
2024
|
# @!attribute [rw] scope
|
|
2014
2025
|
# Specifies whether this is for an AWS CloudFront distribution or for
|
|
2015
2026
|
# a regional application. A regional application can be an Application
|
|
2016
|
-
# Load Balancer (ALB)
|
|
2027
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
|
2028
|
+
# API.
|
|
2017
2029
|
#
|
|
2018
2030
|
# To work with CloudFront, you must also specify the Region US East
|
|
2019
2031
|
# (N. Virginia) as follows:
|
|
@@ -2079,7 +2091,8 @@ module Aws::WAFV2
|
|
|
2079
2091
|
# @!attribute [rw] scope
|
|
2080
2092
|
# Specifies whether this is for an AWS CloudFront distribution or for
|
|
2081
2093
|
# a regional application. A regional application can be an Application
|
|
2082
|
-
# Load Balancer (ALB)
|
|
2094
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
|
2095
|
+
# API.
|
|
2083
2096
|
#
|
|
2084
2097
|
# To work with CloudFront, you must also specify the Region US East
|
|
2085
2098
|
# (N. Virginia) as follows:
|
|
@@ -2139,8 +2152,11 @@ module Aws::WAFV2
|
|
|
2139
2152
|
# `arn:aws:elasticloadbalancing:region:account-id:loadbalancer/app/load-balancer-name/load-balancer-id
|
|
2140
2153
|
# `
|
|
2141
2154
|
#
|
|
2142
|
-
# * For an
|
|
2155
|
+
# * For an API Gateway REST API:
|
|
2143
2156
|
# `arn:aws:apigateway:region::/restapis/api-id/stages/stage-name `
|
|
2157
|
+
#
|
|
2158
|
+
# * For an AppSync GraphQL API:
|
|
2159
|
+
# `arn:aws:appsync:region:account-id:apis/GraphQLApiId `
|
|
2144
2160
|
# @return [String]
|
|
2145
2161
|
#
|
|
2146
2162
|
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/DisassociateWebACLRequest AWS API Documentation
|
|
@@ -2551,7 +2567,8 @@ module Aws::WAFV2
|
|
|
2551
2567
|
# @!attribute [rw] scope
|
|
2552
2568
|
# Specifies whether this is for an AWS CloudFront distribution or for
|
|
2553
2569
|
# a regional application. A regional application can be an Application
|
|
2554
|
-
# Load Balancer (ALB)
|
|
2570
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
|
2571
|
+
# API.
|
|
2555
2572
|
#
|
|
2556
2573
|
# To work with CloudFront, you must also specify the Region US East
|
|
2557
2574
|
# (N. Virginia) as follows:
|
|
@@ -2679,7 +2696,8 @@ module Aws::WAFV2
|
|
|
2679
2696
|
# @!attribute [rw] scope
|
|
2680
2697
|
# Specifies whether this is for an AWS CloudFront distribution or for
|
|
2681
2698
|
# a regional application. A regional application can be an Application
|
|
2682
|
-
# Load Balancer (ALB)
|
|
2699
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
|
2700
|
+
# API.
|
|
2683
2701
|
#
|
|
2684
2702
|
# To work with CloudFront, you must also specify the Region US East
|
|
2685
2703
|
# (N. Virginia) as follows:
|
|
@@ -2750,7 +2768,8 @@ module Aws::WAFV2
|
|
|
2750
2768
|
# @!attribute [rw] scope
|
|
2751
2769
|
# Specifies whether this is for an AWS CloudFront distribution or for
|
|
2752
2770
|
# a regional application. A regional application can be an Application
|
|
2753
|
-
# Load Balancer (ALB)
|
|
2771
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
|
2772
|
+
# API.
|
|
2754
2773
|
#
|
|
2755
2774
|
# To work with CloudFront, you must also specify the Region US East
|
|
2756
2775
|
# (N. Virginia) as follows:
|
|
@@ -2818,7 +2837,8 @@ module Aws::WAFV2
|
|
|
2818
2837
|
# @!attribute [rw] scope
|
|
2819
2838
|
# Specifies whether this is for an AWS CloudFront distribution or for
|
|
2820
2839
|
# a regional application. A regional application can be an Application
|
|
2821
|
-
# Load Balancer (ALB)
|
|
2840
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
|
2841
|
+
# API.
|
|
2822
2842
|
#
|
|
2823
2843
|
# To work with CloudFront, you must also specify the Region US East
|
|
2824
2844
|
# (N. Virginia) as follows:
|
|
@@ -2896,7 +2916,8 @@ module Aws::WAFV2
|
|
|
2896
2916
|
# @!attribute [rw] scope
|
|
2897
2917
|
# Specifies whether this is for an AWS CloudFront distribution or for
|
|
2898
2918
|
# a regional application. A regional application can be an Application
|
|
2899
|
-
# Load Balancer (ALB)
|
|
2919
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
|
2920
|
+
# API.
|
|
2900
2921
|
#
|
|
2901
2922
|
# To work with CloudFront, you must also specify the Region US East
|
|
2902
2923
|
# (N. Virginia) as follows:
|
|
@@ -3016,7 +3037,8 @@ module Aws::WAFV2
|
|
|
3016
3037
|
# @!attribute [rw] scope
|
|
3017
3038
|
# Specifies whether this is for an AWS CloudFront distribution or for
|
|
3018
3039
|
# a regional application. A regional application can be an Application
|
|
3019
|
-
# Load Balancer (ALB)
|
|
3040
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
|
3041
|
+
# API.
|
|
3020
3042
|
#
|
|
3021
3043
|
# To work with CloudFront, you must also specify the Region US East
|
|
3022
3044
|
# (N. Virginia) as follows:
|
|
@@ -3477,7 +3499,8 @@ module Aws::WAFV2
|
|
|
3477
3499
|
# @!attribute [rw] scope
|
|
3478
3500
|
# Specifies whether this is for an AWS CloudFront distribution or for
|
|
3479
3501
|
# a regional application. A regional application can be an Application
|
|
3480
|
-
# Load Balancer (ALB)
|
|
3502
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
|
3503
|
+
# API.
|
|
3481
3504
|
#
|
|
3482
3505
|
# To work with CloudFront, you must also specify the Region US East
|
|
3483
3506
|
# (N. Virginia) as follows:
|
|
@@ -3545,7 +3568,8 @@ module Aws::WAFV2
|
|
|
3545
3568
|
# @!attribute [rw] scope
|
|
3546
3569
|
# Specifies whether this is for an AWS CloudFront distribution or for
|
|
3547
3570
|
# a regional application. A regional application can be an Application
|
|
3548
|
-
# Load Balancer (ALB)
|
|
3571
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
|
3572
|
+
# API.
|
|
3549
3573
|
#
|
|
3550
3574
|
# To work with CloudFront, you must also specify the Region US East
|
|
3551
3575
|
# (N. Virginia) as follows:
|
|
@@ -3615,7 +3639,8 @@ module Aws::WAFV2
|
|
|
3615
3639
|
# @!attribute [rw] scope
|
|
3616
3640
|
# Specifies whether this is for an AWS CloudFront distribution or for
|
|
3617
3641
|
# a regional application. A regional application can be an Application
|
|
3618
|
-
# Load Balancer (ALB)
|
|
3642
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
|
3643
|
+
# API.
|
|
3619
3644
|
#
|
|
3620
3645
|
# To work with CloudFront, you must also specify the Region US East
|
|
3621
3646
|
# (N. Virginia) as follows:
|
|
@@ -3683,7 +3708,8 @@ module Aws::WAFV2
|
|
|
3683
3708
|
# @!attribute [rw] scope
|
|
3684
3709
|
# Specifies whether this is for an AWS CloudFront distribution or for
|
|
3685
3710
|
# a regional application. A regional application can be an Application
|
|
3686
|
-
# Load Balancer (ALB)
|
|
3711
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
|
3712
|
+
# API.
|
|
3687
3713
|
#
|
|
3688
3714
|
# To work with CloudFront, you must also specify the Region US East
|
|
3689
3715
|
# (N. Virginia) as follows:
|
|
@@ -3744,7 +3770,7 @@ module Aws::WAFV2
|
|
|
3744
3770
|
#
|
|
3745
3771
|
# {
|
|
3746
3772
|
# web_acl_arn: "ResourceArn", # required
|
|
3747
|
-
# resource_type: "APPLICATION_LOAD_BALANCER", # accepts APPLICATION_LOAD_BALANCER, API_GATEWAY
|
|
3773
|
+
# resource_type: "APPLICATION_LOAD_BALANCER", # accepts APPLICATION_LOAD_BALANCER, API_GATEWAY, APPSYNC
|
|
3748
3774
|
# }
|
|
3749
3775
|
#
|
|
3750
3776
|
# @!attribute [rw] web_acl_arn
|
|
@@ -3753,8 +3779,8 @@ module Aws::WAFV2
|
|
|
3753
3779
|
#
|
|
3754
3780
|
# @!attribute [rw] resource_type
|
|
3755
3781
|
# Used for web ACLs that are scoped for regional applications. A
|
|
3756
|
-
# regional application can be an Application Load Balancer (ALB)
|
|
3757
|
-
# API Gateway
|
|
3782
|
+
# regional application can be an Application Load Balancer (ALB), an
|
|
3783
|
+
# API Gateway REST API, or an AppSync GraphQL API.
|
|
3758
3784
|
# @return [String]
|
|
3759
3785
|
#
|
|
3760
3786
|
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/ListResourcesForWebACLRequest AWS API Documentation
|
|
@@ -3791,7 +3817,8 @@ module Aws::WAFV2
|
|
|
3791
3817
|
# @!attribute [rw] scope
|
|
3792
3818
|
# Specifies whether this is for an AWS CloudFront distribution or for
|
|
3793
3819
|
# a regional application. A regional application can be an Application
|
|
3794
|
-
# Load Balancer (ALB)
|
|
3820
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
|
3821
|
+
# API.
|
|
3795
3822
|
#
|
|
3796
3823
|
# To work with CloudFront, you must also specify the Region US East
|
|
3797
3824
|
# (N. Virginia) as follows:
|
|
@@ -3918,7 +3945,8 @@ module Aws::WAFV2
|
|
|
3918
3945
|
# @!attribute [rw] scope
|
|
3919
3946
|
# Specifies whether this is for an AWS CloudFront distribution or for
|
|
3920
3947
|
# a regional application. A regional application can be an Application
|
|
3921
|
-
# Load Balancer (ALB)
|
|
3948
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
|
3949
|
+
# API.
|
|
3922
3950
|
#
|
|
3923
3951
|
# To work with CloudFront, you must also specify the Region US East
|
|
3924
3952
|
# (N. Virginia) as follows:
|
|
@@ -7813,7 +7841,8 @@ module Aws::WAFV2
|
|
|
7813
7841
|
# @!attribute [rw] scope
|
|
7814
7842
|
# Specifies whether this is for an AWS CloudFront distribution or for
|
|
7815
7843
|
# a regional application. A regional application can be an Application
|
|
7816
|
-
# Load Balancer (ALB)
|
|
7844
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
|
7845
|
+
# API.
|
|
7817
7846
|
#
|
|
7818
7847
|
# To work with CloudFront, you must also specify the Region US East
|
|
7819
7848
|
# (N. Virginia) as follows:
|
|
@@ -7933,7 +7962,8 @@ module Aws::WAFV2
|
|
|
7933
7962
|
# @!attribute [rw] scope
|
|
7934
7963
|
# Specifies whether this is for an AWS CloudFront distribution or for
|
|
7935
7964
|
# a regional application. A regional application can be an Application
|
|
7936
|
-
# Load Balancer (ALB)
|
|
7965
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
|
7966
|
+
# API.
|
|
7937
7967
|
#
|
|
7938
7968
|
# To work with CloudFront, you must also specify the Region US East
|
|
7939
7969
|
# (N. Virginia) as follows:
|
|
@@ -8245,7 +8275,8 @@ module Aws::WAFV2
|
|
|
8245
8275
|
# @!attribute [rw] scope
|
|
8246
8276
|
# Specifies whether this is for an AWS CloudFront distribution or for
|
|
8247
8277
|
# a regional application. A regional application can be an Application
|
|
8248
|
-
# Load Balancer (ALB)
|
|
8278
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
|
8279
|
+
# API.
|
|
8249
8280
|
#
|
|
8250
8281
|
# To work with CloudFront, you must also specify the Region US East
|
|
8251
8282
|
# (N. Virginia) as follows:
|
|
@@ -8573,7 +8604,8 @@ module Aws::WAFV2
|
|
|
8573
8604
|
# @!attribute [rw] scope
|
|
8574
8605
|
# Specifies whether this is for an AWS CloudFront distribution or for
|
|
8575
8606
|
# a regional application. A regional application can be an Application
|
|
8576
|
-
# Load Balancer (ALB)
|
|
8607
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
|
8608
|
+
# API.
|
|
8577
8609
|
#
|
|
8578
8610
|
# To work with CloudFront, you must also specify the Region US East
|
|
8579
8611
|
# (N. Virginia) as follows:
|
|
@@ -9013,8 +9045,8 @@ module Aws::WAFV2
|
|
|
9013
9045
|
# does not match any of the rules. The rules in a Web ACL can be a
|
|
9014
9046
|
# combination of the types Rule, RuleGroup, and managed rule group. You
|
|
9015
9047
|
# can associate a Web ACL with one or more AWS resources to protect. The
|
|
9016
|
-
# resources can be Amazon CloudFront, an Amazon API Gateway API,
|
|
9017
|
-
# Application Load Balancer.
|
|
9048
|
+
# resources can be Amazon CloudFront, an Amazon API Gateway REST API, an
|
|
9049
|
+
# Application Load Balancer, or an AWS AppSync GraphQL API.
|
|
9018
9050
|
#
|
|
9019
9051
|
#
|
|
9020
9052
|
#
|
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.
|
|
4
|
+
version: 1.14.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: 2020-
|
|
11
|
+
date: 2020-10-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|