aws-sdk-wafv2 1.10.0 → 1.15.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 86839e5ef7b8188cbd682ad1b4d07433a02828162cace3746902bff5dc6b434a
4
- data.tar.gz: 4edba23c80eb54ad888398826395e1bb603fee69362020cd0e40bf30ad1d989e
3
+ metadata.gz: 3ad3911eafec69c77adebb445b5ed96fede1ff4aafdb1ed002b566d8b70c3be3
4
+ data.tar.gz: 21bf08e33b28355afde725348029529b1c0a2deea1a6dc3ff653f2b5ebc44356
5
5
  SHA512:
6
- metadata.gz: e4a6649edae717b23c8bade32e59f9ef532b053a65f4fc7d7b1cacc49842419b3ed13697dea71e5f8ad70decd9a958ca3c0528aae678a1854d2eaeebba29301b
7
- data.tar.gz: d3f758afc39b310a7bbdb8bec3dc5e047b5c19ee3cb12045ccf76094aab15c19497bf767334b3137f3d186ff3c94d223590151f9f4ba7163c1d0377200892251
6
+ metadata.gz: cae480ca239c6494405e60b39bebecf030efbe30c981c753b70d3b9ddbb2a3b8a7ec4db149b410aed81c7d11c5f3efdafd01c37534645836b074df22d13d5f1d
7
+ data.tar.gz: d288c3b7690e03d5b0b994d71c63d612e6a18839d71b23e3ec8414cada8d66b4ffd5467755ea6627896337ae60b638bb9f5ce329bf24cdd6b78f2dd3b373167d
data/lib/aws-sdk-wafv2.rb CHANGED
@@ -7,6 +7,7 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  require 'aws-sdk-core'
11
12
  require 'aws-sigv4'
12
13
 
@@ -44,9 +45,9 @@ require_relative 'aws-sdk-wafv2/customizations'
44
45
  #
45
46
  # See {Errors} for more information.
46
47
  #
47
- # @service
48
+ # @!group service
48
49
  module Aws::WAFV2
49
50
 
50
- GEM_VERSION = '1.10.0'
51
+ GEM_VERSION = '1.15.0'
51
52
 
52
53
  end
@@ -85,13 +85,28 @@ module Aws::WAFV2
85
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
86
86
  # credentials.
87
87
  #
88
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
89
+ # shared file, such as `~/.aws/config`.
90
+ #
91
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
92
+ #
93
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
94
+ # assume a role after providing credentials via the web.
95
+ #
96
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
97
+ # access token generated from `aws login`.
98
+ #
99
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
100
+ # process that outputs to stdout.
101
+ #
88
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
89
103
  # from an EC2 IMDS on an EC2 instance.
90
104
  #
91
- # * `Aws::SharedCredentials` - Used for loading credentials from a
92
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
93
107
  #
94
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
95
110
  #
96
111
  # When `:credentials` are not configured directly, the following
97
112
  # locations will be searched for credentials:
@@ -101,10 +116,10 @@ module Aws::WAFV2
101
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
102
117
  # * `~/.aws/credentials`
103
118
  # * `~/.aws/config`
104
- # * EC2 IMDS instance profile - When used by default, the timeouts are
105
- # very aggressive. Construct and pass an instance of
106
- # `Aws::InstanceProfileCredentails` to enable retries and extended
107
- # timeouts.
119
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
+ # are very aggressive. Construct and pass an instance of
121
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
+ # enable retries and extended timeouts.
108
123
  #
109
124
  # @option options [required, String] :region
110
125
  # The AWS region to connect to. The configured `:region` is
@@ -331,7 +346,7 @@ module Aws::WAFV2
331
346
  #
332
347
  # Associates a Web ACL with a regional application resource, to protect
333
348
  # the resource. A regional application can be an Application Load
334
- # Balancer (ALB) or an API Gateway stage.
349
+ # Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL API.
335
350
  #
336
351
  # For AWS CloudFront, don't use this call. Instead, use your CloudFront
337
352
  # distribution configuration. To associate a Web ACL, in the CloudFront
@@ -358,9 +373,12 @@ module Aws::WAFV2
358
373
  # `arn:aws:elasticloadbalancing:region:account-id:loadbalancer/app/load-balancer-name/load-balancer-id
359
374
  # `
360
375
  #
361
- # * For an Amazon API Gateway stage:
376
+ # * For an API Gateway REST API:
362
377
  # `arn:aws:apigateway:region::/restapis/api-id/stages/stage-name `
363
378
  #
379
+ # * For an AppSync GraphQL API:
380
+ # `arn:aws:appsync:region:account-id:apis/GraphQLApiId `
381
+ #
364
382
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
365
383
  #
366
384
  # @example Request syntax with placeholder values
@@ -406,7 +424,8 @@ module Aws::WAFV2
406
424
  # @option params [required, String] :scope
407
425
  # Specifies whether this is for an AWS CloudFront distribution or for a
408
426
  # regional application. A regional application can be an Application
409
- # Load Balancer (ALB) or an API Gateway stage.
427
+ # Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
428
+ # API.
410
429
  #
411
430
  # To work with CloudFront, you must also specify the Region US East (N.
412
431
  # Virginia) as follows:
@@ -691,7 +710,8 @@ module Aws::WAFV2
691
710
  # @option params [required, String] :scope
692
711
  # Specifies whether this is for an AWS CloudFront distribution or for a
693
712
  # regional application. A regional application can be an Application
694
- # Load Balancer (ALB) or an API Gateway stage.
713
+ # Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
714
+ # API.
695
715
  #
696
716
  # To work with CloudFront, you must also specify the Region US East (N.
697
717
  # Virginia) as follows:
@@ -802,7 +822,8 @@ module Aws::WAFV2
802
822
  # @option params [required, String] :scope
803
823
  # Specifies whether this is for an AWS CloudFront distribution or for a
804
824
  # regional application. A regional application can be an Application
805
- # Load Balancer (ALB) or an API Gateway stage.
825
+ # Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
826
+ # API.
806
827
  #
807
828
  # To work with CloudFront, you must also specify the Region US East (N.
808
829
  # Virginia) as follows:
@@ -888,7 +909,8 @@ module Aws::WAFV2
888
909
  # @option params [required, String] :scope
889
910
  # Specifies whether this is for an AWS CloudFront distribution or for a
890
911
  # regional application. A regional application can be an Application
891
- # Load Balancer (ALB) or an API Gateway stage.
912
+ # Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
913
+ # API.
892
914
  #
893
915
  # To work with CloudFront, you must also specify the Region US East (N.
894
916
  # Virginia) as follows:
@@ -1213,8 +1235,8 @@ module Aws::WAFV2
1213
1235
  # does not match any of the rules. The rules in a Web ACL can be a
1214
1236
  # combination of the types Rule, RuleGroup, and managed rule group. You
1215
1237
  # can associate a Web ACL with one or more AWS resources to protect. The
1216
- # resources can be Amazon CloudFront, an Amazon API Gateway API, or an
1217
- # 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.
1218
1240
  #
1219
1241
  #
1220
1242
  #
@@ -1227,7 +1249,8 @@ module Aws::WAFV2
1227
1249
  # @option params [required, String] :scope
1228
1250
  # Specifies whether this is for an AWS CloudFront distribution or for a
1229
1251
  # regional application. A regional application can be an Application
1230
- # Load Balancer (ALB) or an API Gateway stage.
1252
+ # Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
1253
+ # API.
1231
1254
  #
1232
1255
  # To work with CloudFront, you must also specify the Region US East (N.
1233
1256
  # Virginia) as follows:
@@ -1591,7 +1614,8 @@ module Aws::WAFV2
1591
1614
  # @option params [required, String] :scope
1592
1615
  # Specifies whether this is for an AWS CloudFront distribution or for a
1593
1616
  # regional application. A regional application can be an Application
1594
- # Load Balancer (ALB) or an API Gateway stage.
1617
+ # Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
1618
+ # API.
1595
1619
  #
1596
1620
  # To work with CloudFront, you must also specify the Region US East (N.
1597
1621
  # Virginia) as follows:
@@ -1717,7 +1741,8 @@ module Aws::WAFV2
1717
1741
  # @option params [required, String] :scope
1718
1742
  # Specifies whether this is for an AWS CloudFront distribution or for a
1719
1743
  # regional application. A regional application can be an Application
1720
- # Load Balancer (ALB) or an API Gateway stage.
1744
+ # Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
1745
+ # API.
1721
1746
  #
1722
1747
  # To work with CloudFront, you must also specify the Region US East (N.
1723
1748
  # Virginia) as follows:
@@ -1782,7 +1807,8 @@ module Aws::WAFV2
1782
1807
  # @option params [required, String] :scope
1783
1808
  # Specifies whether this is for an AWS CloudFront distribution or for a
1784
1809
  # regional application. A regional application can be an Application
1785
- # Load Balancer (ALB) or an API Gateway stage.
1810
+ # Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
1811
+ # API.
1786
1812
  #
1787
1813
  # To work with CloudFront, you must also specify the Region US East (N.
1788
1814
  # Virginia) as follows:
@@ -1850,7 +1876,8 @@ module Aws::WAFV2
1850
1876
  # @option params [required, String] :scope
1851
1877
  # Specifies whether this is for an AWS CloudFront distribution or for a
1852
1878
  # regional application. A regional application can be an Application
1853
- # Load Balancer (ALB) or an API Gateway stage.
1879
+ # Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
1880
+ # API.
1854
1881
  #
1855
1882
  # To work with CloudFront, you must also specify the Region US East (N.
1856
1883
  # Virginia) as follows:
@@ -1920,7 +1947,8 @@ module Aws::WAFV2
1920
1947
  # @option params [required, String] :scope
1921
1948
  # Specifies whether this is for an AWS CloudFront distribution or for a
1922
1949
  # regional application. A regional application can be an Application
1923
- # Load Balancer (ALB) or an API Gateway stage.
1950
+ # Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
1951
+ # API.
1924
1952
  #
1925
1953
  # To work with CloudFront, you must also specify the Region US East (N.
1926
1954
  # Virginia) as follows:
@@ -1966,8 +1994,8 @@ module Aws::WAFV2
1966
1994
  # </note>
1967
1995
  #
1968
1996
  # Disassociates a Web ACL from a regional application resource. A
1969
- # regional application can be an Application Load Balancer (ALB) or an
1970
- # API Gateway stage.
1997
+ # regional application can be an Application Load Balancer (ALB), an API
1998
+ # Gateway REST API, or an AppSync GraphQL API.
1971
1999
  #
1972
2000
  # For AWS CloudFront, don't use this call. Instead, use your CloudFront
1973
2001
  # distribution configuration. To disassociate a Web ACL, provide an
@@ -1989,9 +2017,12 @@ module Aws::WAFV2
1989
2017
  # `arn:aws:elasticloadbalancing:region:account-id:loadbalancer/app/load-balancer-name/load-balancer-id
1990
2018
  # `
1991
2019
  #
1992
- # * For an Amazon API Gateway stage:
2020
+ # * For an API Gateway REST API:
1993
2021
  # `arn:aws:apigateway:region::/restapis/api-id/stages/stage-name `
1994
2022
  #
2023
+ # * For an AppSync GraphQL API:
2024
+ # `arn:aws:appsync:region:account-id:apis/GraphQLApiId `
2025
+ #
1995
2026
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1996
2027
  #
1997
2028
  # @example Request syntax with placeholder values
@@ -2029,7 +2060,8 @@ module Aws::WAFV2
2029
2060
  # @option params [required, String] :scope
2030
2061
  # Specifies whether this is for an AWS CloudFront distribution or for a
2031
2062
  # regional application. A regional application can be an Application
2032
- # Load Balancer (ALB) or an API Gateway stage.
2063
+ # Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
2064
+ # API.
2033
2065
  #
2034
2066
  # To work with CloudFront, you must also specify the Region US East (N.
2035
2067
  # Virginia) as follows:
@@ -2173,7 +2205,8 @@ module Aws::WAFV2
2173
2205
  # @option params [required, String] :scope
2174
2206
  # Specifies whether this is for an AWS CloudFront distribution or for a
2175
2207
  # regional application. A regional application can be an Application
2176
- # Load Balancer (ALB) or an API Gateway stage.
2208
+ # Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
2209
+ # API.
2177
2210
  #
2178
2211
  # To work with CloudFront, you must also specify the Region US East (N.
2179
2212
  # Virginia) as follows:
@@ -2247,7 +2280,8 @@ module Aws::WAFV2
2247
2280
  # @option params [required, String] :scope
2248
2281
  # Specifies whether this is for an AWS CloudFront distribution or for a
2249
2282
  # regional application. A regional application can be an Application
2250
- # Load Balancer (ALB) or an API Gateway stage.
2283
+ # Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
2284
+ # API.
2251
2285
  #
2252
2286
  # To work with CloudFront, you must also specify the Region US East (N.
2253
2287
  # Virginia) as follows:
@@ -2314,7 +2348,8 @@ module Aws::WAFV2
2314
2348
  # @option params [required, String] :scope
2315
2349
  # Specifies whether this is for an AWS CloudFront distribution or for a
2316
2350
  # regional application. A regional application can be an Application
2317
- # Load Balancer (ALB) or an API Gateway stage.
2351
+ # Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
2352
+ # API.
2318
2353
  #
2319
2354
  # To work with CloudFront, you must also specify the Region US East (N.
2320
2355
  # Virginia) as follows:
@@ -2459,7 +2494,8 @@ module Aws::WAFV2
2459
2494
  # @option params [required, String] :scope
2460
2495
  # Specifies whether this is for an AWS CloudFront distribution or for a
2461
2496
  # regional application. A regional application can be an Application
2462
- # Load Balancer (ALB) or an API Gateway stage.
2497
+ # Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
2498
+ # API.
2463
2499
  #
2464
2500
  # To work with CloudFront, you must also specify the Region US East (N.
2465
2501
  # Virginia) as follows:
@@ -2551,7 +2587,8 @@ module Aws::WAFV2
2551
2587
  # @option params [required, String] :scope
2552
2588
  # Specifies whether this is for an AWS CloudFront distribution or for a
2553
2589
  # regional application. A regional application can be an Application
2554
- # Load Balancer (ALB) or an API Gateway stage.
2590
+ # Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
2591
+ # API.
2555
2592
  #
2556
2593
  # To work with CloudFront, you must also specify the Region US East (N.
2557
2594
  # Virginia) as follows:
@@ -2840,7 +2877,8 @@ module Aws::WAFV2
2840
2877
  # @option params [required, String] :scope
2841
2878
  # Specifies whether this is for an AWS CloudFront distribution or for a
2842
2879
  # regional application. A regional application can be an Application
2843
- # Load Balancer (ALB) or an API Gateway stage.
2880
+ # Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
2881
+ # API.
2844
2882
  #
2845
2883
  # To work with CloudFront, you must also specify the Region US East (N.
2846
2884
  # Virginia) as follows:
@@ -2910,7 +2948,8 @@ module Aws::WAFV2
2910
2948
  # @option params [required, String] :scope
2911
2949
  # Specifies whether this is for an AWS CloudFront distribution or for a
2912
2950
  # regional application. A regional application can be an Application
2913
- # Load Balancer (ALB) or an API Gateway stage.
2951
+ # Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
2952
+ # API.
2914
2953
  #
2915
2954
  # To work with CloudFront, you must also specify the Region US East (N.
2916
2955
  # Virginia) as follows:
@@ -2981,7 +3020,8 @@ module Aws::WAFV2
2981
3020
  # @option params [String] :scope
2982
3021
  # Specifies whether this is for an AWS CloudFront distribution or for a
2983
3022
  # regional application. A regional application can be an Application
2984
- # Load Balancer (ALB) or an API Gateway stage.
3023
+ # Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
3024
+ # API.
2985
3025
  #
2986
3026
  # To work with CloudFront, you must also specify the Region US East (N.
2987
3027
  # Virginia) as follows:
@@ -3055,7 +3095,8 @@ module Aws::WAFV2
3055
3095
  # @option params [required, String] :scope
3056
3096
  # Specifies whether this is for an AWS CloudFront distribution or for a
3057
3097
  # regional application. A regional application can be an Application
3058
- # Load Balancer (ALB) or an API Gateway stage.
3098
+ # Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
3099
+ # API.
3059
3100
  #
3060
3101
  # To work with CloudFront, you must also specify the Region US East (N.
3061
3102
  # Virginia) as follows:
@@ -3131,8 +3172,8 @@ module Aws::WAFV2
3131
3172
  #
3132
3173
  # @option params [String] :resource_type
3133
3174
  # Used for web ACLs that are scoped for regional applications. A
3134
- # regional application can be an Application Load Balancer (ALB) or an
3135
- # API Gateway stage.
3175
+ # regional application can be an Application Load Balancer (ALB), an API
3176
+ # Gateway REST API, or an AppSync GraphQL API.
3136
3177
  #
3137
3178
  # @return [Types::ListResourcesForWebACLResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3138
3179
  #
@@ -3142,7 +3183,7 @@ module Aws::WAFV2
3142
3183
  #
3143
3184
  # resp = client.list_resources_for_web_acl({
3144
3185
  # web_acl_arn: "ResourceArn", # required
3145
- # resource_type: "APPLICATION_LOAD_BALANCER", # accepts APPLICATION_LOAD_BALANCER, API_GATEWAY
3186
+ # resource_type: "APPLICATION_LOAD_BALANCER", # accepts APPLICATION_LOAD_BALANCER, API_GATEWAY, APPSYNC
3146
3187
  # })
3147
3188
  #
3148
3189
  # @example Response structure
@@ -3176,7 +3217,8 @@ module Aws::WAFV2
3176
3217
  # @option params [required, String] :scope
3177
3218
  # Specifies whether this is for an AWS CloudFront distribution or for a
3178
3219
  # regional application. A regional application can be an Application
3179
- # Load Balancer (ALB) or an API Gateway stage.
3220
+ # Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
3221
+ # API.
3180
3222
  #
3181
3223
  # To work with CloudFront, you must also specify the Region US East (N.
3182
3224
  # Virginia) as follows:
@@ -3316,7 +3358,8 @@ module Aws::WAFV2
3316
3358
  # @option params [required, String] :scope
3317
3359
  # Specifies whether this is for an AWS CloudFront distribution or for a
3318
3360
  # regional application. A regional application can be an Application
3319
- # Load Balancer (ALB) or an API Gateway stage.
3361
+ # Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
3362
+ # API.
3320
3363
  #
3321
3364
  # To work with CloudFront, you must also specify the Region US East (N.
3322
3365
  # Virginia) as follows:
@@ -3642,7 +3685,8 @@ module Aws::WAFV2
3642
3685
  # @option params [required, String] :scope
3643
3686
  # Specifies whether this is for an AWS CloudFront distribution or for a
3644
3687
  # regional application. A regional application can be an Application
3645
- # Load Balancer (ALB) or an API Gateway stage.
3688
+ # Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
3689
+ # API.
3646
3690
  #
3647
3691
  # To work with CloudFront, you must also specify the Region US East (N.
3648
3692
  # Virginia) as follows:
@@ -3751,7 +3795,8 @@ module Aws::WAFV2
3751
3795
  # @option params [required, String] :scope
3752
3796
  # Specifies whether this is for an AWS CloudFront distribution or for a
3753
3797
  # regional application. A regional application can be an Application
3754
- # Load Balancer (ALB) or an API Gateway stage.
3798
+ # Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
3799
+ # API.
3755
3800
  #
3756
3801
  # To work with CloudFront, you must also specify the Region US East (N.
3757
3802
  # Virginia) as follows:
@@ -3840,7 +3885,8 @@ module Aws::WAFV2
3840
3885
  # @option params [required, String] :scope
3841
3886
  # Specifies whether this is for an AWS CloudFront distribution or for a
3842
3887
  # regional application. A regional application can be an Application
3843
- # Load Balancer (ALB) or an API Gateway stage.
3888
+ # Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
3889
+ # API.
3844
3890
  #
3845
3891
  # To work with CloudFront, you must also specify the Region US East (N.
3846
3892
  # Virginia) as follows:
@@ -4151,8 +4197,8 @@ module Aws::WAFV2
4151
4197
  # does not match any of the rules. The rules in a Web ACL can be a
4152
4198
  # combination of the types Rule, RuleGroup, and managed rule group. You
4153
4199
  # can associate a Web ACL with one or more AWS resources to protect. The
4154
- # resources can be Amazon CloudFront, an Amazon API Gateway API, or an
4155
- # 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.
4156
4202
  #
4157
4203
  #
4158
4204
  #
@@ -4165,7 +4211,8 @@ module Aws::WAFV2
4165
4211
  # @option params [required, String] :scope
4166
4212
  # Specifies whether this is for an AWS CloudFront distribution or for a
4167
4213
  # regional application. A regional application can be an Application
4168
- # Load Balancer (ALB) or an API Gateway stage.
4214
+ # Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
4215
+ # API.
4169
4216
  #
4170
4217
  # To work with CloudFront, you must also specify the Region US East (N.
4171
4218
  # Virginia) as follows:
@@ -4483,7 +4530,7 @@ module Aws::WAFV2
4483
4530
  params: params,
4484
4531
  config: config)
4485
4532
  context[:gem_name] = 'aws-sdk-wafv2'
4486
- context[:gem_version] = '1.10.0'
4533
+ context[:gem_version] = '1.15.0'
4487
4534
  Seahorse::Client::Request.new(handlers, context)
4488
4535
  end
4489
4536
 
@@ -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 Amazon API Gateway stage:
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) or an API Gateway stage.
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) or an API Gateway stage.
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) or an API Gateway stage.
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) or an API Gateway stage.
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) or an API Gateway stage.
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) or an API Gateway stage.
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) or an API Gateway stage.
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) or an API Gateway stage.
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) or an API Gateway stage.
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) or an API Gateway stage.
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 Amazon API Gateway stage:
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) or an API Gateway stage.
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) or an API Gateway stage.
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) or an API Gateway stage.
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) or an API Gateway stage.
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) or an API Gateway stage.
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) or an API Gateway stage.
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) or an API Gateway stage.
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) or an API Gateway stage.
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) or an API Gateway stage.
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) or an API Gateway stage.
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) or an
3757
- # API Gateway stage.
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) or an API Gateway stage.
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) or an API Gateway stage.
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) or an API Gateway stage.
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) or an API Gateway stage.
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) or an API Gateway stage.
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) or an API Gateway stage.
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, or an
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.10.0
4
+ version: 1.15.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-07-31 00:00:00.000000000 Z
11
+ date: 2021-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.99.0
22
+ version: 3.112.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.99.0
32
+ version: 3.112.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement