aws-sdk-wafv2 1.35.0 → 1.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-wafv2/client.rb +55 -11
- data/lib/aws-sdk-wafv2/types.rb +91 -21
- data/lib/aws-sdk-wafv2.rb +1 -1
- 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: 1d973a73831a330731946dc07a6c2b3e29bbc307195b41420305996b5b7ad65e
|
|
4
|
+
data.tar.gz: 8021de5c4a20e79659c8108941d6e3fbce250760e793735e75051bfca3eb5930
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 370322bdb3c2f6c1f6eded02b34194c6750ae1a506bcd38653a437141cab66704cca355994b2130b02b01277eca8d7bb2fee3998476ec223b550fac2c53f7575
|
|
7
|
+
data.tar.gz: 5ea7f55d8403ddec9a0e6c72fd2a8016de84409ed2b68a740ed93f89a3ee37ded64f612ee7550d1f7ce616d80aad30495bb59de00a95723be3b0547ee624d3d3
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.36.0
|
data/lib/aws-sdk-wafv2/client.rb
CHANGED
|
@@ -875,11 +875,11 @@ module Aws::WAFV2
|
|
|
875
875
|
# The version of the IP addresses, either `IPV4` or `IPV6`.
|
|
876
876
|
#
|
|
877
877
|
# @option params [required, Array<String>] :addresses
|
|
878
|
-
# Contains an array of strings that
|
|
879
|
-
# blocks of IP addresses in Classless Inter-Domain Routing (CIDR)
|
|
878
|
+
# Contains an array of strings that specifies zero or more IP addresses
|
|
879
|
+
# or blocks of IP addresses in Classless Inter-Domain Routing (CIDR)
|
|
880
880
|
# notation. WAF supports all IPv4 and IPv6 CIDR ranges except for /0.
|
|
881
881
|
#
|
|
882
|
-
#
|
|
882
|
+
# Example address strings:
|
|
883
883
|
#
|
|
884
884
|
# * To configure WAF to allow, block, or count requests that originated
|
|
885
885
|
# from the IP address 192.0.2.44, specify `192.0.2.44/32`.
|
|
@@ -900,6 +900,17 @@ module Aws::WAFV2
|
|
|
900
900
|
# For more information about CIDR notation, see the Wikipedia entry
|
|
901
901
|
# [Classless Inter-Domain Routing][1].
|
|
902
902
|
#
|
|
903
|
+
# Example JSON `Addresses` specifications:
|
|
904
|
+
#
|
|
905
|
+
# * Empty array: `"Addresses": []`
|
|
906
|
+
#
|
|
907
|
+
# * Array with one address: `"Addresses": ["192.0.2.44/32"]`
|
|
908
|
+
#
|
|
909
|
+
# * Array with three addresses: `"Addresses": ["192.0.2.44/32",
|
|
910
|
+
# "192.0.2.0/24", "192.0.0.0/16"]`
|
|
911
|
+
#
|
|
912
|
+
# * INVALID specification: `"Addresses": [""]` INVALID
|
|
913
|
+
#
|
|
903
914
|
#
|
|
904
915
|
#
|
|
905
916
|
# [1]: https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing
|
|
@@ -2502,7 +2513,12 @@ module Aws::WAFV2
|
|
|
2502
2513
|
# The mobile SDK is not generally available. Customers who have access
|
|
2503
2514
|
# to the mobile SDK can use it to establish and manage Security Token
|
|
2504
2515
|
# Service (STS) security tokens for use in HTTP(S) requests from a
|
|
2505
|
-
# mobile device to WAF.
|
|
2516
|
+
# mobile device to WAF. For more information, see [WAF client
|
|
2517
|
+
# application integration][1] in the *WAF Developer Guide*.
|
|
2518
|
+
#
|
|
2519
|
+
#
|
|
2520
|
+
#
|
|
2521
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-application-integration.html
|
|
2506
2522
|
#
|
|
2507
2523
|
# @option params [required, String] :platform
|
|
2508
2524
|
# The device platform.
|
|
@@ -2723,7 +2739,12 @@ module Aws::WAFV2
|
|
|
2723
2739
|
# The mobile SDK is not generally available. Customers who have access
|
|
2724
2740
|
# to the mobile SDK can use it to establish and manage Security Token
|
|
2725
2741
|
# Service (STS) security tokens for use in HTTP(S) requests from a
|
|
2726
|
-
# mobile device to WAF.
|
|
2742
|
+
# mobile device to WAF. For more information, see [WAF client
|
|
2743
|
+
# application integration][1] in the *WAF Developer Guide*.
|
|
2744
|
+
#
|
|
2745
|
+
#
|
|
2746
|
+
#
|
|
2747
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-application-integration.html
|
|
2727
2748
|
#
|
|
2728
2749
|
# @option params [required, String] :platform
|
|
2729
2750
|
# The device platform.
|
|
@@ -4367,7 +4388,12 @@ module Aws::WAFV2
|
|
|
4367
4388
|
# The mobile SDK is not generally available. Customers who have access
|
|
4368
4389
|
# to the mobile SDK can use it to establish and manage Security Token
|
|
4369
4390
|
# Service (STS) security tokens for use in HTTP(S) requests from a
|
|
4370
|
-
# mobile device to WAF.
|
|
4391
|
+
# mobile device to WAF. For more information, see [WAF client
|
|
4392
|
+
# application integration][1] in the *WAF Developer Guide*.
|
|
4393
|
+
#
|
|
4394
|
+
#
|
|
4395
|
+
#
|
|
4396
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-application-integration.html
|
|
4371
4397
|
#
|
|
4372
4398
|
# @option params [required, String] :platform
|
|
4373
4399
|
# The device platform to retrieve the list for.
|
|
@@ -4698,7 +4724,11 @@ module Aws::WAFV2
|
|
|
4698
4724
|
# Enables the specified LoggingConfiguration, to start logging from a
|
|
4699
4725
|
# web ACL, according to the configuration provided.
|
|
4700
4726
|
#
|
|
4701
|
-
# You can
|
|
4727
|
+
# <note markdown="1"> You can define one logging destination per web ACL.
|
|
4728
|
+
#
|
|
4729
|
+
# </note>
|
|
4730
|
+
#
|
|
4731
|
+
# You can access information about the traffic that WAF inspects using
|
|
4702
4732
|
# the following steps:
|
|
4703
4733
|
#
|
|
4704
4734
|
# 1. Create your logging destination. You can use an Amazon CloudWatch
|
|
@@ -4718,6 +4748,9 @@ module Aws::WAFV2
|
|
|
4718
4748
|
# Amazon S3 bucket, WAF creates a bucket policy. For an Amazon Kinesis
|
|
4719
4749
|
# Data Firehose, WAF creates a service-linked role.
|
|
4720
4750
|
#
|
|
4751
|
+
# For additional information about web ACL logging, see [Logging web ACL
|
|
4752
|
+
# traffic information][1] in the *WAF Developer Guide*.
|
|
4753
|
+
#
|
|
4721
4754
|
# <note markdown="1"> This operation completely replaces the mutable specifications that you
|
|
4722
4755
|
# already have for the logging configuration with the ones that you
|
|
4723
4756
|
# provide to this call. To modify the logging configuration, retrieve it
|
|
@@ -5100,11 +5133,11 @@ module Aws::WAFV2
|
|
|
5100
5133
|
# A description of the IP set that helps with identification.
|
|
5101
5134
|
#
|
|
5102
5135
|
# @option params [required, Array<String>] :addresses
|
|
5103
|
-
# Contains an array of strings that
|
|
5104
|
-
# blocks of IP addresses in Classless Inter-Domain Routing (CIDR)
|
|
5136
|
+
# Contains an array of strings that specifies zero or more IP addresses
|
|
5137
|
+
# or blocks of IP addresses in Classless Inter-Domain Routing (CIDR)
|
|
5105
5138
|
# notation. WAF supports all IPv4 and IPv6 CIDR ranges except for /0.
|
|
5106
5139
|
#
|
|
5107
|
-
#
|
|
5140
|
+
# Example address strings:
|
|
5108
5141
|
#
|
|
5109
5142
|
# * To configure WAF to allow, block, or count requests that originated
|
|
5110
5143
|
# from the IP address 192.0.2.44, specify `192.0.2.44/32`.
|
|
@@ -5125,6 +5158,17 @@ module Aws::WAFV2
|
|
|
5125
5158
|
# For more information about CIDR notation, see the Wikipedia entry
|
|
5126
5159
|
# [Classless Inter-Domain Routing][1].
|
|
5127
5160
|
#
|
|
5161
|
+
# Example JSON `Addresses` specifications:
|
|
5162
|
+
#
|
|
5163
|
+
# * Empty array: `"Addresses": []`
|
|
5164
|
+
#
|
|
5165
|
+
# * Array with one address: `"Addresses": ["192.0.2.44/32"]`
|
|
5166
|
+
#
|
|
5167
|
+
# * Array with three addresses: `"Addresses": ["192.0.2.44/32",
|
|
5168
|
+
# "192.0.2.0/24", "192.0.0.0/16"]`
|
|
5169
|
+
#
|
|
5170
|
+
# * INVALID specification: `"Addresses": [""]` INVALID
|
|
5171
|
+
#
|
|
5128
5172
|
#
|
|
5129
5173
|
#
|
|
5130
5174
|
# [1]: https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing
|
|
@@ -6396,7 +6440,7 @@ module Aws::WAFV2
|
|
|
6396
6440
|
params: params,
|
|
6397
6441
|
config: config)
|
|
6398
6442
|
context[:gem_name] = 'aws-sdk-wafv2'
|
|
6399
|
-
context[:gem_version] = '1.
|
|
6443
|
+
context[:gem_version] = '1.36.0'
|
|
6400
6444
|
Seahorse::Client::Request.new(handlers, context)
|
|
6401
6445
|
end
|
|
6402
6446
|
|
data/lib/aws-sdk-wafv2/types.rb
CHANGED
|
@@ -1336,11 +1336,12 @@ module Aws::WAFV2
|
|
|
1336
1336
|
# @return [String]
|
|
1337
1337
|
#
|
|
1338
1338
|
# @!attribute [rw] addresses
|
|
1339
|
-
# Contains an array of strings that
|
|
1340
|
-
# or blocks of IP addresses in Classless Inter-Domain
|
|
1341
|
-
# notation. WAF supports all IPv4 and IPv6 CIDR ranges
|
|
1339
|
+
# Contains an array of strings that specifies zero or more IP
|
|
1340
|
+
# addresses or blocks of IP addresses in Classless Inter-Domain
|
|
1341
|
+
# Routing (CIDR) notation. WAF supports all IPv4 and IPv6 CIDR ranges
|
|
1342
|
+
# except for /0.
|
|
1342
1343
|
#
|
|
1343
|
-
#
|
|
1344
|
+
# Example address strings:
|
|
1344
1345
|
#
|
|
1345
1346
|
# * To configure WAF to allow, block, or count requests that
|
|
1346
1347
|
# originated from the IP address 192.0.2.44, specify
|
|
@@ -1364,6 +1365,17 @@ module Aws::WAFV2
|
|
|
1364
1365
|
# For more information about CIDR notation, see the Wikipedia entry
|
|
1365
1366
|
# [Classless Inter-Domain Routing][1].
|
|
1366
1367
|
#
|
|
1368
|
+
# Example JSON `Addresses` specifications:
|
|
1369
|
+
#
|
|
1370
|
+
# * Empty array: `"Addresses": []`
|
|
1371
|
+
#
|
|
1372
|
+
# * Array with one address: `"Addresses": ["192.0.2.44/32"]`
|
|
1373
|
+
#
|
|
1374
|
+
# * Array with three addresses: `"Addresses": ["192.0.2.44/32",
|
|
1375
|
+
# "192.0.2.0/24", "192.0.0.0/16"]`
|
|
1376
|
+
#
|
|
1377
|
+
# * INVALID specification: `"Addresses": [""]` INVALID
|
|
1378
|
+
#
|
|
1367
1379
|
#
|
|
1368
1380
|
#
|
|
1369
1381
|
# [1]: https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing
|
|
@@ -4400,7 +4412,7 @@ module Aws::WAFV2
|
|
|
4400
4412
|
# account takeover prevention managed rule group
|
|
4401
4413
|
# `AWSManagedRulesATPRuleSet`. This is only populated if you are using
|
|
4402
4414
|
# a rule group in your web ACL that integrates with your applications
|
|
4403
|
-
# in this way. For more information, see [WAF application
|
|
4415
|
+
# in this way. For more information, see [WAF client application
|
|
4404
4416
|
# integration][1] in the *WAF Developer Guide*.
|
|
4405
4417
|
#
|
|
4406
4418
|
#
|
|
@@ -4498,7 +4510,7 @@ module Aws::WAFV2
|
|
|
4498
4510
|
include Aws::Structure
|
|
4499
4511
|
end
|
|
4500
4512
|
|
|
4501
|
-
# Contains
|
|
4513
|
+
# Contains zero or more IP addresses or blocks of IP addresses specified
|
|
4502
4514
|
# in Classless Inter-Domain Routing (CIDR) notation. WAF supports all
|
|
4503
4515
|
# IPv4 and IPv6 CIDR ranges except for /0. For information about CIDR
|
|
4504
4516
|
# notation, see the Wikipedia entry [Classless Inter-Domain Routing][1].
|
|
@@ -4535,11 +4547,12 @@ module Aws::WAFV2
|
|
|
4535
4547
|
# @return [String]
|
|
4536
4548
|
#
|
|
4537
4549
|
# @!attribute [rw] addresses
|
|
4538
|
-
# Contains an array of strings that
|
|
4539
|
-
# or blocks of IP addresses in Classless Inter-Domain
|
|
4540
|
-
# notation. WAF supports all IPv4 and IPv6 CIDR ranges
|
|
4550
|
+
# Contains an array of strings that specifies zero or more IP
|
|
4551
|
+
# addresses or blocks of IP addresses in Classless Inter-Domain
|
|
4552
|
+
# Routing (CIDR) notation. WAF supports all IPv4 and IPv6 CIDR ranges
|
|
4553
|
+
# except for /0.
|
|
4541
4554
|
#
|
|
4542
|
-
#
|
|
4555
|
+
# Example address strings:
|
|
4543
4556
|
#
|
|
4544
4557
|
# * To configure WAF to allow, block, or count requests that
|
|
4545
4558
|
# originated from the IP address 192.0.2.44, specify
|
|
@@ -4563,6 +4576,17 @@ module Aws::WAFV2
|
|
|
4563
4576
|
# For more information about CIDR notation, see the Wikipedia entry
|
|
4564
4577
|
# [Classless Inter-Domain Routing][1].
|
|
4565
4578
|
#
|
|
4579
|
+
# Example JSON `Addresses` specifications:
|
|
4580
|
+
#
|
|
4581
|
+
# * Empty array: `"Addresses": []`
|
|
4582
|
+
#
|
|
4583
|
+
# * Array with one address: `"Addresses": ["192.0.2.44/32"]`
|
|
4584
|
+
#
|
|
4585
|
+
# * Array with three addresses: `"Addresses": ["192.0.2.44/32",
|
|
4586
|
+
# "192.0.2.0/24", "192.0.0.0/16"]`
|
|
4587
|
+
#
|
|
4588
|
+
# * INVALID specification: `"Addresses": [""]` INVALID
|
|
4589
|
+
#
|
|
4566
4590
|
#
|
|
4567
4591
|
#
|
|
4568
4592
|
# [1]: https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing
|
|
@@ -5768,8 +5792,32 @@ module Aws::WAFV2
|
|
|
5768
5792
|
# and you can specify filters so that you log only a subset of the
|
|
5769
5793
|
# logging records.
|
|
5770
5794
|
#
|
|
5771
|
-
#
|
|
5772
|
-
#
|
|
5795
|
+
# <note markdown="1"> You can define one logging destination per web ACL.
|
|
5796
|
+
#
|
|
5797
|
+
# </note>
|
|
5798
|
+
#
|
|
5799
|
+
# You can access information about the traffic that WAF inspects using
|
|
5800
|
+
# the following steps:
|
|
5801
|
+
#
|
|
5802
|
+
# 1. Create your logging destination. You can use an Amazon CloudWatch
|
|
5803
|
+
# Logs log group, an Amazon Simple Storage Service (Amazon S3)
|
|
5804
|
+
# bucket, or an Amazon Kinesis Data Firehose. For information about
|
|
5805
|
+
# configuring logging destinations and the permissions that are
|
|
5806
|
+
# required for each, see [Logging web ACL traffic information][1] in
|
|
5807
|
+
# the *WAF Developer Guide*.
|
|
5808
|
+
#
|
|
5809
|
+
# 2. Associate your logging destination to your web ACL using a
|
|
5810
|
+
# `PutLoggingConfiguration` request.
|
|
5811
|
+
#
|
|
5812
|
+
# When you successfully enable logging using a `PutLoggingConfiguration`
|
|
5813
|
+
# request, WAF creates an additional role or policy that is required to
|
|
5814
|
+
# write logs to the logging destination. For an Amazon CloudWatch Logs
|
|
5815
|
+
# log group, WAF creates a resource policy on the log group. For an
|
|
5816
|
+
# Amazon S3 bucket, WAF creates a bucket policy. For an Amazon Kinesis
|
|
5817
|
+
# Data Firehose, WAF creates a service-linked role.
|
|
5818
|
+
#
|
|
5819
|
+
# For additional information about web ACL logging, see [Logging web ACL
|
|
5820
|
+
# traffic information][1] in the *WAF Developer Guide*.
|
|
5773
5821
|
#
|
|
5774
5822
|
#
|
|
5775
5823
|
#
|
|
@@ -5838,8 +5886,12 @@ module Aws::WAFV2
|
|
|
5838
5886
|
# @return [String]
|
|
5839
5887
|
#
|
|
5840
5888
|
# @!attribute [rw] log_destination_configs
|
|
5841
|
-
# The
|
|
5842
|
-
#
|
|
5889
|
+
# The logging destination configuration that you want to associate
|
|
5890
|
+
# with the web ACL.
|
|
5891
|
+
#
|
|
5892
|
+
# <note markdown="1"> You can associate one logging destination to a web ACL.
|
|
5893
|
+
#
|
|
5894
|
+
# </note>
|
|
5843
5895
|
# @return [Array<String>]
|
|
5844
5896
|
#
|
|
5845
5897
|
# @!attribute [rw] redacted_fields
|
|
@@ -5947,8 +5999,9 @@ module Aws::WAFV2
|
|
|
5947
5999
|
# }
|
|
5948
6000
|
#
|
|
5949
6001
|
# @!attribute [rw] login_path
|
|
5950
|
-
# The login endpoint for your application. For example
|
|
5951
|
-
# `https://example.com/web/login
|
|
6002
|
+
# The path of the login endpoint for your application. For example,
|
|
6003
|
+
# for the URL `https://example.com/web/login`, you would provide the
|
|
6004
|
+
# path `/web/login`.
|
|
5952
6005
|
# @return [String]
|
|
5953
6006
|
#
|
|
5954
6007
|
# @!attribute [rw] payload_type
|
|
@@ -6671,7 +6724,12 @@ module Aws::WAFV2
|
|
|
6671
6724
|
# The mobile SDK is not generally available. Customers who have access
|
|
6672
6725
|
# to the mobile SDK can use it to establish and manage Security Token
|
|
6673
6726
|
# Service (STS) security tokens for use in HTTP(S) requests from a
|
|
6674
|
-
# mobile device to WAF.
|
|
6727
|
+
# mobile device to WAF. For more information, see [WAF client
|
|
6728
|
+
# application integration][1] in the *WAF Developer Guide*.
|
|
6729
|
+
#
|
|
6730
|
+
#
|
|
6731
|
+
#
|
|
6732
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-application-integration.html
|
|
6675
6733
|
#
|
|
6676
6734
|
# @!attribute [rw] release_version
|
|
6677
6735
|
# The release version.
|
|
@@ -11830,11 +11888,12 @@ module Aws::WAFV2
|
|
|
11830
11888
|
# @return [String]
|
|
11831
11889
|
#
|
|
11832
11890
|
# @!attribute [rw] addresses
|
|
11833
|
-
# Contains an array of strings that
|
|
11834
|
-
# or blocks of IP addresses in Classless Inter-Domain
|
|
11835
|
-
# notation. WAF supports all IPv4 and IPv6 CIDR ranges
|
|
11891
|
+
# Contains an array of strings that specifies zero or more IP
|
|
11892
|
+
# addresses or blocks of IP addresses in Classless Inter-Domain
|
|
11893
|
+
# Routing (CIDR) notation. WAF supports all IPv4 and IPv6 CIDR ranges
|
|
11894
|
+
# except for /0.
|
|
11836
11895
|
#
|
|
11837
|
-
#
|
|
11896
|
+
# Example address strings:
|
|
11838
11897
|
#
|
|
11839
11898
|
# * To configure WAF to allow, block, or count requests that
|
|
11840
11899
|
# originated from the IP address 192.0.2.44, specify
|
|
@@ -11858,6 +11917,17 @@ module Aws::WAFV2
|
|
|
11858
11917
|
# For more information about CIDR notation, see the Wikipedia entry
|
|
11859
11918
|
# [Classless Inter-Domain Routing][1].
|
|
11860
11919
|
#
|
|
11920
|
+
# Example JSON `Addresses` specifications:
|
|
11921
|
+
#
|
|
11922
|
+
# * Empty array: `"Addresses": []`
|
|
11923
|
+
#
|
|
11924
|
+
# * Array with one address: `"Addresses": ["192.0.2.44/32"]`
|
|
11925
|
+
#
|
|
11926
|
+
# * Array with three addresses: `"Addresses": ["192.0.2.44/32",
|
|
11927
|
+
# "192.0.2.0/24", "192.0.0.0/16"]`
|
|
11928
|
+
#
|
|
11929
|
+
# * INVALID specification: `"Addresses": [""]` INVALID
|
|
11930
|
+
#
|
|
11861
11931
|
#
|
|
11862
11932
|
#
|
|
11863
11933
|
# [1]: https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing
|
data/lib/aws-sdk-wafv2.rb
CHANGED
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.36.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-02-
|
|
11
|
+
date: 2022-02-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|