aws-sdk-wafv2 1.54.0 → 1.56.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: 7a8a6944fc39216091d4f73c48d8c61babb1e29e32bbcbdc4e3c47e24cc4a67a
4
- data.tar.gz: 32654d272457f0facc444f3b683347bfefe30e081e85dd4d5888e7bf090008fe
3
+ metadata.gz: 7d044b4ad5c6e0b94af6b727b4f4e2fc6bc8abca43cb5140ca5702a83190a9a2
4
+ data.tar.gz: 3616b201a8527541257a9ebbe74387b28331cde680adcda0f561c557046e1204
5
5
  SHA512:
6
- metadata.gz: b5b4b98e2a1748450a0d6f90b264363e03ead02c7c36d60da95841d92c06bc1cd8de701a36be2eed37d812f4d9a0e3e80d772a7e77a31a817b2eec87f9ba955d
7
- data.tar.gz: 72e221e8fd4c4e5cde5bf93c630ddc58f831083e1ef0ca1c998060f71bd38bf5858b4244fcb91e6c6256a1acd688eafc7e01fbca003ed6f4cab6fccce779ae4d
6
+ metadata.gz: 4eb269e68588ed12a56fb505a2f01e6c68c8ff4c846b04b732120d92c5b3e5ef0a6966fbcf7ea24def62bddd54d2792ba8b3fd0fccaa9dc99e3885732034f807
7
+ data.tar.gz: 277041506470c6a050b718d89d150bc69ddcd184c438e9cd550e472dfc82bf5ed7b9399036f307babaa3a50d828b4f9c90673cdac8cdc4f568a3e77336ac208a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.56.0 (2023-04-28)
5
+ ------------------
6
+
7
+ * Feature - You can now associate a web ACL with a Verified Access instance.
8
+
9
+ 1.55.0 (2023-04-20)
10
+ ------------------
11
+
12
+ * Feature - You can now create encrypted API keys to use in a client application integration of the JavaScript CAPTCHA API . You can also retrieve a list of your API keys and the JavaScript application integration URL.
13
+
4
14
  1.54.0 (2023-04-11)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.54.0
1
+ 1.56.0
@@ -381,7 +381,8 @@ module Aws::WAFV2
381
381
  # Associates a web ACL with a regional application resource, to protect
382
382
  # the resource. A regional application can be an Application Load
383
383
  # Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL
384
- # API, an Amazon Cognito user pool, or an App Runner service.
384
+ # API, an Amazon Cognito user pool, an App Runner service, or an Amazon
385
+ # Web Services Verified Access instance.
385
386
  #
386
387
  # For Amazon CloudFront, don't use this call. Instead, use your
387
388
  # CloudFront distribution configuration. To associate a web ACL, in the
@@ -435,6 +436,10 @@ module Aws::WAFV2
435
436
  # `arn:partition:apprunner:region:account-id:service/apprunner-service-name/apprunner-service-id
436
437
  # `
437
438
  #
439
+ # * For an Amazon Web Services Verified Access instance:
440
+ # `arn:partition:ec2:region:account-id:verified-access-instance/instance-id
441
+ # `
442
+ #
438
443
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
439
444
  #
440
445
  # @example Request syntax with placeholder values
@@ -474,7 +479,8 @@ module Aws::WAFV2
474
479
  # Specifies whether this is for an Amazon CloudFront distribution or for
475
480
  # a regional application. A regional application can be an Application
476
481
  # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
477
- # GraphQL API, an Amazon Cognito user pool, or an App Runner service.
482
+ # GraphQL API, an Amazon Cognito user pool, an App Runner service, or an
483
+ # Amazon Web Services Verified Access instance.
478
484
  #
479
485
  # To work with CloudFront, you must also specify the Region US East (N.
480
486
  # Virginia) as follows:
@@ -1191,6 +1197,69 @@ module Aws::WAFV2
1191
1197
  req.send_request(options)
1192
1198
  end
1193
1199
 
1200
+ # Creates an API key that contains a set of token domains.
1201
+ #
1202
+ # API keys are required for the integration of the CAPTCHA API in your
1203
+ # JavaScript client applications. The API lets you customize the
1204
+ # placement and characteristics of the CAPTCHA puzzle for your end
1205
+ # users. For more information about the CAPTCHA JavaScript integration,
1206
+ # see [WAF client application integration][1] in the *WAF Developer
1207
+ # Guide*.
1208
+ #
1209
+ # You can use a single key for up to 5 domains. After you generate a
1210
+ # key, you can copy it for use in your JavaScript integration.
1211
+ #
1212
+ #
1213
+ #
1214
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-application-integration.html
1215
+ #
1216
+ # @option params [required, String] :scope
1217
+ # Specifies whether this is for an Amazon CloudFront distribution or for
1218
+ # a regional application. A regional application can be an Application
1219
+ # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
1220
+ # GraphQL API, an Amazon Cognito user pool, an App Runner service, or an
1221
+ # Amazon Web Services Verified Access instance.
1222
+ #
1223
+ # To work with CloudFront, you must also specify the Region US East (N.
1224
+ # Virginia) as follows:
1225
+ #
1226
+ # * CLI - Specify the Region when you use the CloudFront scope:
1227
+ # `--scope=CLOUDFRONT --region=us-east-1`.
1228
+ #
1229
+ # * API and SDKs - For all calls, use the Region endpoint us-east-1.
1230
+ #
1231
+ # @option params [required, Array<String>] :token_domains
1232
+ # The client application domains that you want to use this API key for.
1233
+ #
1234
+ # Example JSON: `"TokenDomains": ["abc.com", "store.abc.com"]`
1235
+ #
1236
+ # Public suffixes aren't allowed. For example, you can't use `usa.gov`
1237
+ # or `co.uk` as token domains.
1238
+ #
1239
+ # @return [Types::CreateAPIKeyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1240
+ #
1241
+ # * {Types::CreateAPIKeyResponse#api_key #api_key} => String
1242
+ #
1243
+ # @example Request syntax with placeholder values
1244
+ #
1245
+ # resp = client.create_api_key({
1246
+ # scope: "CLOUDFRONT", # required, accepts CLOUDFRONT, REGIONAL
1247
+ # token_domains: ["TokenDomain"], # required
1248
+ # })
1249
+ #
1250
+ # @example Response structure
1251
+ #
1252
+ # resp.api_key #=> String
1253
+ #
1254
+ # @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/CreateAPIKey AWS API Documentation
1255
+ #
1256
+ # @overload create_api_key(params = {})
1257
+ # @param [Hash] params ({})
1258
+ def create_api_key(params = {}, options = {})
1259
+ req = build_request(:create_api_key, params)
1260
+ req.send_request(options)
1261
+ end
1262
+
1194
1263
  # Creates an IPSet, which you use to identify web requests that
1195
1264
  # originate from specific IP addresses or ranges of IP addresses. For
1196
1265
  # example, if you're receiving a lot of requests from a ranges of IP
@@ -1205,7 +1274,8 @@ module Aws::WAFV2
1205
1274
  # Specifies whether this is for an Amazon CloudFront distribution or for
1206
1275
  # a regional application. A regional application can be an Application
1207
1276
  # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
1208
- # GraphQL API, an Amazon Cognito user pool, or an App Runner service.
1277
+ # GraphQL API, an Amazon Cognito user pool, an App Runner service, or an
1278
+ # Amazon Web Services Verified Access instance.
1209
1279
  #
1210
1280
  # To work with CloudFront, you must also specify the Region US East (N.
1211
1281
  # Virginia) as follows:
@@ -1315,7 +1385,8 @@ module Aws::WAFV2
1315
1385
  # Specifies whether this is for an Amazon CloudFront distribution or for
1316
1386
  # a regional application. A regional application can be an Application
1317
1387
  # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
1318
- # GraphQL API, an Amazon Cognito user pool, or an App Runner service.
1388
+ # GraphQL API, an Amazon Cognito user pool, an App Runner service, or an
1389
+ # Amazon Web Services Verified Access instance.
1319
1390
  #
1320
1391
  # To work with CloudFront, you must also specify the Region US East (N.
1321
1392
  # Virginia) as follows:
@@ -1390,7 +1461,8 @@ module Aws::WAFV2
1390
1461
  # Specifies whether this is for an Amazon CloudFront distribution or for
1391
1462
  # a regional application. A regional application can be an Application
1392
1463
  # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
1393
- # GraphQL API, an Amazon Cognito user pool, or an App Runner service.
1464
+ # GraphQL API, an Amazon Cognito user pool, an App Runner service, or an
1465
+ # Amazon Web Services Verified Access instance.
1394
1466
  #
1395
1467
  # To work with CloudFront, you must also specify the Region US East (N.
1396
1468
  # Virginia) as follows:
@@ -2194,7 +2266,8 @@ module Aws::WAFV2
2194
2266
  # can associate a web ACL with one or more Amazon Web Services resources
2195
2267
  # to protect. The resources can be an Amazon CloudFront distribution, an
2196
2268
  # Amazon API Gateway REST API, an Application Load Balancer, an AppSync
2197
- # GraphQL API, an Amazon Cognito user pool, or an App Runner service.
2269
+ # GraphQL API, an Amazon Cognito user pool, an App Runner service, or an
2270
+ # Amazon Web Services Verified Access instance.
2198
2271
  #
2199
2272
  # @option params [required, String] :name
2200
2273
  # The name of the web ACL. You cannot change the name of a web ACL after
@@ -2204,7 +2277,8 @@ module Aws::WAFV2
2204
2277
  # Specifies whether this is for an Amazon CloudFront distribution or for
2205
2278
  # a regional application. A regional application can be an Application
2206
2279
  # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
2207
- # GraphQL API, an Amazon Cognito user pool, or an App Runner service.
2280
+ # GraphQL API, an Amazon Cognito user pool, an App Runner service, or an
2281
+ # Amazon Web Services Verified Access instance.
2208
2282
  #
2209
2283
  # To work with CloudFront, you must also specify the Region US East (N.
2210
2284
  # Virginia) as follows:
@@ -3118,7 +3192,8 @@ module Aws::WAFV2
3118
3192
  # Specifies whether this is for an Amazon CloudFront distribution or for
3119
3193
  # a regional application. A regional application can be an Application
3120
3194
  # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
3121
- # GraphQL API, an Amazon Cognito user pool, or an App Runner service.
3195
+ # GraphQL API, an Amazon Cognito user pool, an App Runner service, or an
3196
+ # Amazon Web Services Verified Access instance.
3122
3197
  #
3123
3198
  # To work with CloudFront, you must also specify the Region US East (N.
3124
3199
  # Virginia) as follows:
@@ -3223,7 +3298,8 @@ module Aws::WAFV2
3223
3298
  # Specifies whether this is for an Amazon CloudFront distribution or for
3224
3299
  # a regional application. A regional application can be an Application
3225
3300
  # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
3226
- # GraphQL API, an Amazon Cognito user pool, or an App Runner service.
3301
+ # GraphQL API, an Amazon Cognito user pool, an App Runner service, or an
3302
+ # Amazon Web Services Verified Access instance.
3227
3303
  #
3228
3304
  # To work with CloudFront, you must also specify the Region US East (N.
3229
3305
  # Virginia) as follows:
@@ -3278,7 +3354,8 @@ module Aws::WAFV2
3278
3354
  # Specifies whether this is for an Amazon CloudFront distribution or for
3279
3355
  # a regional application. A regional application can be an Application
3280
3356
  # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
3281
- # GraphQL API, an Amazon Cognito user pool, or an App Runner service.
3357
+ # GraphQL API, an Amazon Cognito user pool, an App Runner service, or an
3358
+ # Amazon Web Services Verified Access instance.
3282
3359
  #
3283
3360
  # To work with CloudFront, you must also specify the Region US East (N.
3284
3361
  # Virginia) as follows:
@@ -3363,7 +3440,8 @@ module Aws::WAFV2
3363
3440
  # Specifies whether this is for an Amazon CloudFront distribution or for
3364
3441
  # a regional application. A regional application can be an Application
3365
3442
  # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
3366
- # GraphQL API, an Amazon Cognito user pool, or an App Runner service.
3443
+ # GraphQL API, an Amazon Cognito user pool, an App Runner service, or an
3444
+ # Amazon Web Services Verified Access instance.
3367
3445
  #
3368
3446
  # To work with CloudFront, you must also specify the Region US East (N.
3369
3447
  # Virginia) as follows:
@@ -3423,7 +3501,8 @@ module Aws::WAFV2
3423
3501
  # Specifies whether this is for an Amazon CloudFront distribution or for
3424
3502
  # a regional application. A regional application can be an Application
3425
3503
  # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
3426
- # GraphQL API, an Amazon Cognito user pool, or an App Runner service.
3504
+ # GraphQL API, an Amazon Cognito user pool, an App Runner service, or an
3505
+ # Amazon Web Services Verified Access instance.
3427
3506
  #
3428
3507
  # To work with CloudFront, you must also specify the Region US East (N.
3429
3508
  # Virginia) as follows:
@@ -3500,7 +3579,8 @@ module Aws::WAFV2
3500
3579
  # existing web ACL association. A resource can have at most one web ACL
3501
3580
  # association. A regional application can be an Application Load
3502
3581
  # Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL
3503
- # API, an Amazon Cognito user pool, or an App Runner service.
3582
+ # API, an Amazon Cognito user pool, an App Runner service, or an Amazon
3583
+ # Web Services Verified Access instance.
3504
3584
  #
3505
3585
  # For Amazon CloudFront, don't use this call. Instead, use your
3506
3586
  # CloudFront distribution configuration. To disassociate a web ACL,
@@ -3536,6 +3616,10 @@ module Aws::WAFV2
3536
3616
  # `arn:partition:apprunner:region:account-id:service/apprunner-service-name/apprunner-service-id
3537
3617
  # `
3538
3618
  #
3619
+ # * For an Amazon Web Services Verified Access instance:
3620
+ # `arn:partition:ec2:region:account-id:verified-access-instance/instance-id
3621
+ # `
3622
+ #
3539
3623
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3540
3624
  #
3541
3625
  # @example Request syntax with placeholder values
@@ -3597,6 +3681,65 @@ module Aws::WAFV2
3597
3681
  req.send_request(options)
3598
3682
  end
3599
3683
 
3684
+ # Returns your API key in decrypted form. Use this to check the token
3685
+ # domains that you have defined for the key.
3686
+ #
3687
+ # API keys are required for the integration of the CAPTCHA API in your
3688
+ # JavaScript client applications. The API lets you customize the
3689
+ # placement and characteristics of the CAPTCHA puzzle for your end
3690
+ # users. For more information about the CAPTCHA JavaScript integration,
3691
+ # see [WAF client application integration][1] in the *WAF Developer
3692
+ # Guide*.
3693
+ #
3694
+ #
3695
+ #
3696
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-application-integration.html
3697
+ #
3698
+ # @option params [required, String] :scope
3699
+ # Specifies whether this is for an Amazon CloudFront distribution or for
3700
+ # a regional application. A regional application can be an Application
3701
+ # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
3702
+ # GraphQL API, an Amazon Cognito user pool, an App Runner service, or an
3703
+ # Amazon Web Services Verified Access instance.
3704
+ #
3705
+ # To work with CloudFront, you must also specify the Region US East (N.
3706
+ # Virginia) as follows:
3707
+ #
3708
+ # * CLI - Specify the Region when you use the CloudFront scope:
3709
+ # `--scope=CLOUDFRONT --region=us-east-1`.
3710
+ #
3711
+ # * API and SDKs - For all calls, use the Region endpoint us-east-1.
3712
+ #
3713
+ # @option params [required, String] :api_key
3714
+ # The encrypted API key.
3715
+ #
3716
+ # @return [Types::GetDecryptedAPIKeyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3717
+ #
3718
+ # * {Types::GetDecryptedAPIKeyResponse#token_domains #token_domains} => Array&lt;String&gt;
3719
+ # * {Types::GetDecryptedAPIKeyResponse#creation_timestamp #creation_timestamp} => Time
3720
+ #
3721
+ # @example Request syntax with placeholder values
3722
+ #
3723
+ # resp = client.get_decrypted_api_key({
3724
+ # scope: "CLOUDFRONT", # required, accepts CLOUDFRONT, REGIONAL
3725
+ # api_key: "APIKey", # required
3726
+ # })
3727
+ #
3728
+ # @example Response structure
3729
+ #
3730
+ # resp.token_domains #=> Array
3731
+ # resp.token_domains[0] #=> String
3732
+ # resp.creation_timestamp #=> Time
3733
+ #
3734
+ # @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/GetDecryptedAPIKey AWS API Documentation
3735
+ #
3736
+ # @overload get_decrypted_api_key(params = {})
3737
+ # @param [Hash] params ({})
3738
+ def get_decrypted_api_key(params = {}, options = {})
3739
+ req = build_request(:get_decrypted_api_key, params)
3740
+ req.send_request(options)
3741
+ end
3742
+
3600
3743
  # Retrieves the specified IPSet.
3601
3744
  #
3602
3745
  # @option params [required, String] :name
@@ -3607,7 +3750,8 @@ module Aws::WAFV2
3607
3750
  # Specifies whether this is for an Amazon CloudFront distribution or for
3608
3751
  # a regional application. A regional application can be an Application
3609
3752
  # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
3610
- # GraphQL API, an Amazon Cognito user pool, or an App Runner service.
3753
+ # GraphQL API, an Amazon Cognito user pool, an App Runner service, or an
3754
+ # Amazon Web Services Verified Access instance.
3611
3755
  #
3612
3756
  # To work with CloudFront, you must also specify the Region US East (N.
3613
3757
  # Virginia) as follows:
@@ -3739,7 +3883,8 @@ module Aws::WAFV2
3739
3883
  # Specifies whether this is for an Amazon CloudFront distribution or for
3740
3884
  # a regional application. A regional application can be an Application
3741
3885
  # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
3742
- # GraphQL API, an Amazon Cognito user pool, or an App Runner service.
3886
+ # GraphQL API, an Amazon Cognito user pool, an App Runner service, or an
3887
+ # Amazon Web Services Verified Access instance.
3743
3888
  #
3744
3889
  # To work with CloudFront, you must also specify the Region US East (N.
3745
3890
  # Virginia) as follows:
@@ -3896,7 +4041,8 @@ module Aws::WAFV2
3896
4041
  # Specifies whether this is for an Amazon CloudFront distribution or for
3897
4042
  # a regional application. A regional application can be an Application
3898
4043
  # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
3899
- # GraphQL API, an Amazon Cognito user pool, or an App Runner service.
4044
+ # GraphQL API, an Amazon Cognito user pool, an App Runner service, or an
4045
+ # Amazon Web Services Verified Access instance.
3900
4046
  #
3901
4047
  # To work with CloudFront, you must also specify the Region US East (N.
3902
4048
  # Virginia) as follows:
@@ -3969,7 +4115,8 @@ module Aws::WAFV2
3969
4115
  # Specifies whether this is for an Amazon CloudFront distribution or for
3970
4116
  # a regional application. A regional application can be an Application
3971
4117
  # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
3972
- # GraphQL API, an Amazon Cognito user pool, or an App Runner service.
4118
+ # GraphQL API, an Amazon Cognito user pool, an App Runner service, or an
4119
+ # Amazon Web Services Verified Access instance.
3973
4120
  #
3974
4121
  # To work with CloudFront, you must also specify the Region US East (N.
3975
4122
  # Virginia) as follows:
@@ -4026,7 +4173,8 @@ module Aws::WAFV2
4026
4173
  # Specifies whether this is for an Amazon CloudFront distribution or for
4027
4174
  # a regional application. A regional application can be an Application
4028
4175
  # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
4029
- # GraphQL API, an Amazon Cognito user pool, or an App Runner service.
4176
+ # GraphQL API, an Amazon Cognito user pool, an App Runner service, or an
4177
+ # Amazon Web Services Verified Access instance.
4030
4178
  #
4031
4179
  # To work with CloudFront, you must also specify the Region US East (N.
4032
4180
  # Virginia) as follows:
@@ -4382,7 +4530,8 @@ module Aws::WAFV2
4382
4530
  # Specifies whether this is for an Amazon CloudFront distribution or for
4383
4531
  # a regional application. A regional application can be an Application
4384
4532
  # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
4385
- # GraphQL API, an Amazon Cognito user pool, or an App Runner service.
4533
+ # GraphQL API, an Amazon Cognito user pool, an App Runner service, or an
4534
+ # Amazon Web Services Verified Access instance.
4386
4535
  #
4387
4536
  # To work with CloudFront, you must also specify the Region US East (N.
4388
4537
  # Virginia) as follows:
@@ -4478,7 +4627,8 @@ module Aws::WAFV2
4478
4627
  # Specifies whether this is for an Amazon CloudFront distribution or for
4479
4628
  # a regional application. A regional application can be an Application
4480
4629
  # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
4481
- # GraphQL API, an Amazon Cognito user pool, or an App Runner service.
4630
+ # GraphQL API, an Amazon Cognito user pool, an App Runner service, or an
4631
+ # Amazon Web Services Verified Access instance.
4482
4632
  #
4483
4633
  # To work with CloudFront, you must also specify the Region US East (N.
4484
4634
  # Virginia) as follows:
@@ -5386,6 +5536,10 @@ module Aws::WAFV2
5386
5536
  # `arn:partition:apprunner:region:account-id:service/apprunner-service-name/apprunner-service-id
5387
5537
  # `
5388
5538
  #
5539
+ # * For an Amazon Web Services Verified Access instance:
5540
+ # `arn:partition:ec2:region:account-id:verified-access-instance/instance-id
5541
+ # `
5542
+ #
5389
5543
  # @return [Types::GetWebACLForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5390
5544
  #
5391
5545
  # * {Types::GetWebACLForResourceResponse#web_acl #web_acl} => Types::WebACL
@@ -6247,6 +6401,82 @@ module Aws::WAFV2
6247
6401
  req.send_request(options)
6248
6402
  end
6249
6403
 
6404
+ # Retrieves a list of the API keys that you've defined for the
6405
+ # specified scope.
6406
+ #
6407
+ # API keys are required for the integration of the CAPTCHA API in your
6408
+ # JavaScript client applications. The API lets you customize the
6409
+ # placement and characteristics of the CAPTCHA puzzle for your end
6410
+ # users. For more information about the CAPTCHA JavaScript integration,
6411
+ # see [WAF client application integration][1] in the *WAF Developer
6412
+ # Guide*.
6413
+ #
6414
+ #
6415
+ #
6416
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-application-integration.html
6417
+ #
6418
+ # @option params [required, String] :scope
6419
+ # Specifies whether this is for an Amazon CloudFront distribution or for
6420
+ # a regional application. A regional application can be an Application
6421
+ # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
6422
+ # GraphQL API, an Amazon Cognito user pool, an App Runner service, or an
6423
+ # Amazon Web Services Verified Access instance.
6424
+ #
6425
+ # To work with CloudFront, you must also specify the Region US East (N.
6426
+ # Virginia) as follows:
6427
+ #
6428
+ # * CLI - Specify the Region when you use the CloudFront scope:
6429
+ # `--scope=CLOUDFRONT --region=us-east-1`.
6430
+ #
6431
+ # * API and SDKs - For all calls, use the Region endpoint us-east-1.
6432
+ #
6433
+ # @option params [String] :next_marker
6434
+ # When you request a list of objects with a `Limit` setting, if the
6435
+ # number of objects that are still available for retrieval exceeds the
6436
+ # limit, WAF returns a `NextMarker` value in the response. To retrieve
6437
+ # the next batch of objects, provide the marker from the prior call in
6438
+ # your next request.
6439
+ #
6440
+ # @option params [Integer] :limit
6441
+ # The maximum number of objects that you want WAF to return for this
6442
+ # request. If more objects are available, in the response, WAF provides
6443
+ # a `NextMarker` value that you can use in a subsequent call to get the
6444
+ # next batch of objects.
6445
+ #
6446
+ # @return [Types::ListAPIKeysResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6447
+ #
6448
+ # * {Types::ListAPIKeysResponse#next_marker #next_marker} => String
6449
+ # * {Types::ListAPIKeysResponse#api_key_summaries #api_key_summaries} => Array&lt;Types::APIKeySummary&gt;
6450
+ # * {Types::ListAPIKeysResponse#application_integration_url #application_integration_url} => String
6451
+ #
6452
+ # @example Request syntax with placeholder values
6453
+ #
6454
+ # resp = client.list_api_keys({
6455
+ # scope: "CLOUDFRONT", # required, accepts CLOUDFRONT, REGIONAL
6456
+ # next_marker: "NextMarker",
6457
+ # limit: 1,
6458
+ # })
6459
+ #
6460
+ # @example Response structure
6461
+ #
6462
+ # resp.next_marker #=> String
6463
+ # resp.api_key_summaries #=> Array
6464
+ # resp.api_key_summaries[0].token_domains #=> Array
6465
+ # resp.api_key_summaries[0].token_domains[0] #=> String
6466
+ # resp.api_key_summaries[0].api_key #=> String
6467
+ # resp.api_key_summaries[0].creation_timestamp #=> Time
6468
+ # resp.api_key_summaries[0].version #=> Integer
6469
+ # resp.application_integration_url #=> String
6470
+ #
6471
+ # @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/ListAPIKeys AWS API Documentation
6472
+ #
6473
+ # @overload list_api_keys(params = {})
6474
+ # @param [Hash] params ({})
6475
+ def list_api_keys(params = {}, options = {})
6476
+ req = build_request(:list_api_keys, params)
6477
+ req.send_request(options)
6478
+ end
6479
+
6250
6480
  # Returns a list of the available versions for the specified managed
6251
6481
  # rule group.
6252
6482
  #
@@ -6262,7 +6492,8 @@ module Aws::WAFV2
6262
6492
  # Specifies whether this is for an Amazon CloudFront distribution or for
6263
6493
  # a regional application. A regional application can be an Application
6264
6494
  # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
6265
- # GraphQL API, an Amazon Cognito user pool, or an App Runner service.
6495
+ # GraphQL API, an Amazon Cognito user pool, an App Runner service, or an
6496
+ # Amazon Web Services Verified Access instance.
6266
6497
  #
6267
6498
  # To work with CloudFront, you must also specify the Region US East (N.
6268
6499
  # Virginia) as follows:
@@ -6327,7 +6558,8 @@ module Aws::WAFV2
6327
6558
  # Specifies whether this is for an Amazon CloudFront distribution or for
6328
6559
  # a regional application. A regional application can be an Application
6329
6560
  # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
6330
- # GraphQL API, an Amazon Cognito user pool, or an App Runner service.
6561
+ # GraphQL API, an Amazon Cognito user pool, an App Runner service, or an
6562
+ # Amazon Web Services Verified Access instance.
6331
6563
  #
6332
6564
  # To work with CloudFront, you must also specify the Region US East (N.
6333
6565
  # Virginia) as follows:
@@ -6388,7 +6620,8 @@ module Aws::WAFV2
6388
6620
  # Specifies whether this is for an Amazon CloudFront distribution or for
6389
6621
  # a regional application. A regional application can be an Application
6390
6622
  # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
6391
- # GraphQL API, an Amazon Cognito user pool, or an App Runner service.
6623
+ # GraphQL API, an Amazon Cognito user pool, an App Runner service, or an
6624
+ # Amazon Web Services Verified Access instance.
6392
6625
  #
6393
6626
  # To work with CloudFront, you must also specify the Region US East (N.
6394
6627
  # Virginia) as follows:
@@ -6449,7 +6682,8 @@ module Aws::WAFV2
6449
6682
  # Specifies whether this is for an Amazon CloudFront distribution or for
6450
6683
  # a regional application. A regional application can be an Application
6451
6684
  # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
6452
- # GraphQL API, an Amazon Cognito user pool, or an App Runner service.
6685
+ # GraphQL API, an Amazon Cognito user pool, an App Runner service, or an
6686
+ # Amazon Web Services Verified Access instance.
6453
6687
  #
6454
6688
  # To work with CloudFront, you must also specify the Region US East (N.
6455
6689
  # Virginia) as follows:
@@ -6548,7 +6782,8 @@ module Aws::WAFV2
6548
6782
  # Specifies whether this is for an Amazon CloudFront distribution or for
6549
6783
  # a regional application. A regional application can be an Application
6550
6784
  # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
6551
- # GraphQL API, an Amazon Cognito user pool, or an App Runner service.
6785
+ # GraphQL API, an Amazon Cognito user pool, an App Runner service, or an
6786
+ # Amazon Web Services Verified Access instance.
6552
6787
  #
6553
6788
  # To work with CloudFront, you must also specify the Region US East (N.
6554
6789
  # Virginia) as follows:
@@ -6669,7 +6904,8 @@ module Aws::WAFV2
6669
6904
  # Specifies whether this is for an Amazon CloudFront distribution or for
6670
6905
  # a regional application. A regional application can be an Application
6671
6906
  # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
6672
- # GraphQL API, an Amazon Cognito user pool, or an App Runner service.
6907
+ # GraphQL API, an Amazon Cognito user pool, an App Runner service, or an
6908
+ # Amazon Web Services Verified Access instance.
6673
6909
  #
6674
6910
  # To work with CloudFront, you must also specify the Region US East (N.
6675
6911
  # Virginia) as follows:
@@ -6736,7 +6972,8 @@ module Aws::WAFV2
6736
6972
  # Used for web ACLs that are scoped for regional applications. A
6737
6973
  # regional application can be an Application Load Balancer (ALB), an
6738
6974
  # Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito
6739
- # user pool, or an App Runner service.
6975
+ # user pool, an App Runner service, or an Amazon Web Services Verified
6976
+ # Access instance.
6740
6977
  #
6741
6978
  # <note markdown="1"> If you don't provide a resource type, the call uses the resource type
6742
6979
  # `APPLICATION_LOAD_BALANCER`.
@@ -6753,7 +6990,7 @@ module Aws::WAFV2
6753
6990
  #
6754
6991
  # resp = client.list_resources_for_web_acl({
6755
6992
  # web_acl_arn: "ResourceArn", # required
6756
- # resource_type: "APPLICATION_LOAD_BALANCER", # accepts APPLICATION_LOAD_BALANCER, API_GATEWAY, APPSYNC, COGNITO_USER_POOL, APP_RUNNER_SERVICE
6993
+ # resource_type: "APPLICATION_LOAD_BALANCER", # accepts APPLICATION_LOAD_BALANCER, API_GATEWAY, APPSYNC, COGNITO_USER_POOL, APP_RUNNER_SERVICE, VERIFIED_ACCESS_INSTANCE
6757
6994
  # })
6758
6995
  #
6759
6996
  # @example Response structure
@@ -6777,7 +7014,8 @@ module Aws::WAFV2
6777
7014
  # Specifies whether this is for an Amazon CloudFront distribution or for
6778
7015
  # a regional application. A regional application can be an Application
6779
7016
  # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
6780
- # GraphQL API, an Amazon Cognito user pool, or an App Runner service.
7017
+ # GraphQL API, an Amazon Cognito user pool, an App Runner service, or an
7018
+ # Amazon Web Services Verified Access instance.
6781
7019
  #
6782
7020
  # To work with CloudFront, you must also specify the Region US East (N.
6783
7021
  # Virginia) as follows:
@@ -6896,7 +7134,8 @@ module Aws::WAFV2
6896
7134
  # Specifies whether this is for an Amazon CloudFront distribution or for
6897
7135
  # a regional application. A regional application can be an Application
6898
7136
  # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
6899
- # GraphQL API, an Amazon Cognito user pool, or an App Runner service.
7137
+ # GraphQL API, an Amazon Cognito user pool, an App Runner service, or an
7138
+ # Amazon Web Services Verified Access instance.
6900
7139
  #
6901
7140
  # To work with CloudFront, you must also specify the Region US East (N.
6902
7141
  # Virginia) as follows:
@@ -7173,7 +7412,8 @@ module Aws::WAFV2
7173
7412
  # Specifies whether this is for an Amazon CloudFront distribution or for
7174
7413
  # a regional application. A regional application can be an Application
7175
7414
  # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
7176
- # GraphQL API, an Amazon Cognito user pool, or an App Runner service.
7415
+ # GraphQL API, an Amazon Cognito user pool, an App Runner service, or an
7416
+ # Amazon Web Services Verified Access instance.
7177
7417
  #
7178
7418
  # To work with CloudFront, you must also specify the Region US East (N.
7179
7419
  # Virginia) as follows:
@@ -7411,7 +7651,8 @@ module Aws::WAFV2
7411
7651
  # Specifies whether this is for an Amazon CloudFront distribution or for
7412
7652
  # a regional application. A regional application can be an Application
7413
7653
  # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
7414
- # GraphQL API, an Amazon Cognito user pool, or an App Runner service.
7654
+ # GraphQL API, an Amazon Cognito user pool, an App Runner service, or an
7655
+ # Amazon Web Services Verified Access instance.
7415
7656
  #
7416
7657
  # To work with CloudFront, you must also specify the Region US East (N.
7417
7658
  # Virginia) as follows:
@@ -7536,7 +7777,8 @@ module Aws::WAFV2
7536
7777
  # Specifies whether this is for an Amazon CloudFront distribution or for
7537
7778
  # a regional application. A regional application can be an Application
7538
7779
  # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
7539
- # GraphQL API, an Amazon Cognito user pool, or an App Runner service.
7780
+ # GraphQL API, an Amazon Cognito user pool, an App Runner service, or an
7781
+ # Amazon Web Services Verified Access instance.
7540
7782
  #
7541
7783
  # To work with CloudFront, you must also specify the Region US East (N.
7542
7784
  # Virginia) as follows:
@@ -7642,7 +7884,8 @@ module Aws::WAFV2
7642
7884
  # Specifies whether this is for an Amazon CloudFront distribution or for
7643
7885
  # a regional application. A regional application can be an Application
7644
7886
  # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
7645
- # GraphQL API, an Amazon Cognito user pool, or an App Runner service.
7887
+ # GraphQL API, an Amazon Cognito user pool, an App Runner service, or an
7888
+ # Amazon Web Services Verified Access instance.
7646
7889
  #
7647
7890
  # To work with CloudFront, you must also specify the Region US East (N.
7648
7891
  # Virginia) as follows:
@@ -7748,7 +7991,8 @@ module Aws::WAFV2
7748
7991
  # Specifies whether this is for an Amazon CloudFront distribution or for
7749
7992
  # a regional application. A regional application can be an Application
7750
7993
  # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
7751
- # GraphQL API, an Amazon Cognito user pool, or an App Runner service.
7994
+ # GraphQL API, an Amazon Cognito user pool, an App Runner service, or an
7995
+ # Amazon Web Services Verified Access instance.
7752
7996
  #
7753
7997
  # To work with CloudFront, you must also specify the Region US East (N.
7754
7998
  # Virginia) as follows:
@@ -8564,7 +8808,8 @@ module Aws::WAFV2
8564
8808
  # can associate a web ACL with one or more Amazon Web Services resources
8565
8809
  # to protect. The resources can be an Amazon CloudFront distribution, an
8566
8810
  # Amazon API Gateway REST API, an Application Load Balancer, an AppSync
8567
- # GraphQL API, an Amazon Cognito user pool, or an App Runner service.
8811
+ # GraphQL API, an Amazon Cognito user pool, an App Runner service, or an
8812
+ # Amazon Web Services Verified Access instance.
8568
8813
  #
8569
8814
  # @option params [required, String] :name
8570
8815
  # The name of the web ACL. You cannot change the name of a web ACL after
@@ -8574,7 +8819,8 @@ module Aws::WAFV2
8574
8819
  # Specifies whether this is for an Amazon CloudFront distribution or for
8575
8820
  # a regional application. A regional application can be an Application
8576
8821
  # Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
8577
- # GraphQL API, an Amazon Cognito user pool, or an App Runner service.
8822
+ # GraphQL API, an Amazon Cognito user pool, an App Runner service, or an
8823
+ # Amazon Web Services Verified Access instance.
8578
8824
  #
8579
8825
  # To work with CloudFront, you must also specify the Region US East (N.
8580
8826
  # Virginia) as follows:
@@ -9452,7 +9698,7 @@ module Aws::WAFV2
9452
9698
  params: params,
9453
9699
  config: config)
9454
9700
  context[:gem_name] = 'aws-sdk-wafv2'
9455
- context[:gem_version] = '1.54.0'
9701
+ context[:gem_version] = '1.56.0'
9456
9702
  Seahorse::Client::Request.new(handlers, context)
9457
9703
  end
9458
9704