aws-sdk-wafv2 1.25.0 → 1.26.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-wafv2/client.rb +35 -12
- data/lib/aws-sdk-wafv2/client_api.rb +1 -0
- data/lib/aws-sdk-wafv2/types.rb +89 -28
- 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: c01cb4efa4631f585d688dd9c4e9944b2bfada503466284fe6e0cedf9b157b08
|
4
|
+
data.tar.gz: cb4f619aebbc1dd1fb8f953ad6d5fc9da8acd51deb1005670a2ce8303abbc9da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ab84e826ad092a4a406cf7b324d50a1d78cf84feac1ae8432c3eb4f9800c87bc9f1218fa53d54a91de42f977f68c2153227564f3ee026adce8cf3c0ed18aeb8
|
7
|
+
data.tar.gz: 284c2c4a0eb71d94eef5df5e6770bbedc7136508adee7d4e2e37295186754a5971713d31ae1db2d4b7e05982105e08a6cae65530eb0843fa8573d484879dd528
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.26.0
|
data/lib/aws-sdk-wafv2/client.rb
CHANGED
@@ -2379,7 +2379,7 @@ module Aws::WAFV2
|
|
2379
2379
|
# Retrieves the specified managed rule set.
|
2380
2380
|
#
|
2381
2381
|
# <note markdown="1"> This is intended for use only by vendors of managed rule sets. Vendors
|
2382
|
-
# are Amazon Web Services and Marketplace sellers.
|
2382
|
+
# are Amazon Web Services and Amazon Web Services Marketplace sellers.
|
2383
2383
|
#
|
2384
2384
|
# Vendors, you can use the managed rule set APIs to provide controlled
|
2385
2385
|
# rollout of your versioned managed rule group offerings for your
|
@@ -2485,10 +2485,24 @@ module Aws::WAFV2
|
|
2485
2485
|
req.send_request(options)
|
2486
2486
|
end
|
2487
2487
|
|
2488
|
-
# Retrieves the keys that are currently blocked by a rate-based rule
|
2489
|
-
# The maximum number of managed keys that can be blocked for a
|
2490
|
-
# rate-based rule is 10,000. If more than 10,000
|
2491
|
-
# rate limit, those with the highest rates are
|
2488
|
+
# Retrieves the keys that are currently blocked by a rate-based rule
|
2489
|
+
# instance. The maximum number of managed keys that can be blocked for a
|
2490
|
+
# single rate-based rule instance is 10,000. If more than 10,000
|
2491
|
+
# addresses exceed the rate limit, those with the highest rates are
|
2492
|
+
# blocked.
|
2493
|
+
#
|
2494
|
+
# For a rate-based rule that you've defined inside a rule group,
|
2495
|
+
# provide the name of the rule group reference statement in your
|
2496
|
+
# request, in addition to the rate-based rule name and the web ACL name.
|
2497
|
+
#
|
2498
|
+
# WAF monitors web requests and manages keys independently for each
|
2499
|
+
# unique combination of web ACL, optional rule group, and rate-based
|
2500
|
+
# rule. For example, if you define a rate-based rule inside a rule
|
2501
|
+
# group, and then use the rule group in a web ACL, WAF monitors web
|
2502
|
+
# requests and manages keys for that web ACL, rule group reference
|
2503
|
+
# statement, and rate-based rule instance. If you use the same rule
|
2504
|
+
# group in a second web ACL, WAF monitors web requests and manages keys
|
2505
|
+
# for this second usage completely independent of your first.
|
2492
2506
|
#
|
2493
2507
|
# @option params [required, String] :scope
|
2494
2508
|
# Specifies whether this is for an Amazon CloudFront distribution or for
|
@@ -2513,8 +2527,16 @@ module Aws::WAFV2
|
|
2513
2527
|
# responses to create and list commands. You provide it to operations
|
2514
2528
|
# like update and delete.
|
2515
2529
|
#
|
2530
|
+
# @option params [String] :rule_group_rule_name
|
2531
|
+
# The name of the rule group reference statement in your web ACL. This
|
2532
|
+
# is required only when you have the rate-based rule nested inside a
|
2533
|
+
# rule group.
|
2534
|
+
#
|
2516
2535
|
# @option params [required, String] :rule_name
|
2517
|
-
# The name of the rate-based rule to get the keys for.
|
2536
|
+
# The name of the rate-based rule to get the keys for. If you have the
|
2537
|
+
# rule defined inside a rule group that you're using in your web ACL,
|
2538
|
+
# also provide the name of the rule group reference statement in the
|
2539
|
+
# request parameter `RuleGroupRuleName`.
|
2518
2540
|
#
|
2519
2541
|
# @return [Types::GetRateBasedStatementManagedKeysResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2520
2542
|
#
|
@@ -2527,6 +2549,7 @@ module Aws::WAFV2
|
|
2527
2549
|
# scope: "CLOUDFRONT", # required, accepts CLOUDFRONT, REGIONAL
|
2528
2550
|
# web_acl_name: "EntityName", # required
|
2529
2551
|
# web_acl_id: "EntityId", # required
|
2552
|
+
# rule_group_rule_name: "EntityName",
|
2530
2553
|
# rule_name: "EntityName", # required
|
2531
2554
|
# })
|
2532
2555
|
#
|
@@ -3638,8 +3661,8 @@ module Aws::WAFV2
|
|
3638
3661
|
|
3639
3662
|
# Retrieves an array of managed rule groups that are available for you
|
3640
3663
|
# to use. This list includes all Amazon Web Services Managed Rules rule
|
3641
|
-
# groups and all of the Marketplace managed rule
|
3642
|
-
# subscribed to.
|
3664
|
+
# groups and all of the Amazon Web Services Marketplace managed rule
|
3665
|
+
# groups that you're subscribed to.
|
3643
3666
|
#
|
3644
3667
|
# @option params [required, String] :scope
|
3645
3668
|
# Specifies whether this is for an Amazon CloudFront distribution or for
|
@@ -3837,7 +3860,7 @@ module Aws::WAFV2
|
|
3837
3860
|
# Retrieves the managed rule sets that you own.
|
3838
3861
|
#
|
3839
3862
|
# <note markdown="1"> This is intended for use only by vendors of managed rule sets. Vendors
|
3840
|
-
# are Amazon Web Services and Marketplace sellers.
|
3863
|
+
# are Amazon Web Services and Amazon Web Services Marketplace sellers.
|
3841
3864
|
#
|
3842
3865
|
# Vendors, you can use the managed rule set APIs to provide controlled
|
3843
3866
|
# rollout of your versioned managed rule group offerings for your
|
@@ -4329,7 +4352,7 @@ module Aws::WAFV2
|
|
4329
4352
|
# with versioning.
|
4330
4353
|
#
|
4331
4354
|
# <note markdown="1"> This is intended for use only by vendors of managed rule sets. Vendors
|
4332
|
-
# are Amazon Web Services and Marketplace sellers.
|
4355
|
+
# are Amazon Web Services and Amazon Web Services Marketplace sellers.
|
4333
4356
|
#
|
4334
4357
|
# Vendors, you can use the managed rule set APIs to provide controlled
|
4335
4358
|
# rollout of your versioned managed rule group offerings for your
|
@@ -4672,7 +4695,7 @@ module Aws::WAFV2
|
|
4672
4695
|
# ListAvailableManagedRuleGroupVersions for the managed rule group.
|
4673
4696
|
#
|
4674
4697
|
# <note markdown="1"> This is intended for use only by vendors of managed rule sets. Vendors
|
4675
|
-
# are Amazon Web Services and Marketplace sellers.
|
4698
|
+
# are Amazon Web Services and Amazon Web Services Marketplace sellers.
|
4676
4699
|
#
|
4677
4700
|
# Vendors, you can use the managed rule set APIs to provide controlled
|
4678
4701
|
# rollout of your versioned managed rule group offerings for your
|
@@ -5759,7 +5782,7 @@ module Aws::WAFV2
|
|
5759
5782
|
params: params,
|
5760
5783
|
config: config)
|
5761
5784
|
context[:gem_name] = 'aws-sdk-wafv2'
|
5762
|
-
context[:gem_version] = '1.
|
5785
|
+
context[:gem_version] = '1.26.0'
|
5763
5786
|
Seahorse::Client::Request.new(handlers, context)
|
5764
5787
|
end
|
5765
5788
|
|
@@ -560,6 +560,7 @@ module Aws::WAFV2
|
|
560
560
|
GetRateBasedStatementManagedKeysRequest.add_member(:scope, Shapes::ShapeRef.new(shape: Scope, required: true, location_name: "Scope"))
|
561
561
|
GetRateBasedStatementManagedKeysRequest.add_member(:web_acl_name, Shapes::ShapeRef.new(shape: EntityName, required: true, location_name: "WebACLName"))
|
562
562
|
GetRateBasedStatementManagedKeysRequest.add_member(:web_acl_id, Shapes::ShapeRef.new(shape: EntityId, required: true, location_name: "WebACLId"))
|
563
|
+
GetRateBasedStatementManagedKeysRequest.add_member(:rule_group_rule_name, Shapes::ShapeRef.new(shape: EntityName, location_name: "RuleGroupRuleName"))
|
563
564
|
GetRateBasedStatementManagedKeysRequest.add_member(:rule_name, Shapes::ShapeRef.new(shape: EntityName, required: true, location_name: "RuleName"))
|
564
565
|
GetRateBasedStatementManagedKeysRequest.struct_class = Types::GetRateBasedStatementManagedKeysRequest
|
565
566
|
|
data/lib/aws-sdk-wafv2/types.rb
CHANGED
@@ -39,6 +39,8 @@ module Aws::WAFV2
|
|
39
39
|
# This is used only to indicate the web request component for WAF to
|
40
40
|
# inspect, in the FieldToMatch specification.
|
41
41
|
#
|
42
|
+
# JSON specification: `"All": \{\}`
|
43
|
+
#
|
42
44
|
# @api private
|
43
45
|
#
|
44
46
|
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/All AWS API Documentation
|
@@ -50,6 +52,8 @@ module Aws::WAFV2
|
|
50
52
|
# This is used only to indicate the web request component for WAF to
|
51
53
|
# inspect, in the FieldToMatch specification.
|
52
54
|
#
|
55
|
+
# JSON specification: `"AllQueryArguments": \{\}`
|
56
|
+
#
|
53
57
|
# @api private
|
54
58
|
#
|
55
59
|
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/AllQueryArguments AWS API Documentation
|
@@ -462,6 +466,8 @@ module Aws::WAFV2
|
|
462
466
|
# This is used only to indicate the web request component for WAF to
|
463
467
|
# inspect, in the FieldToMatch specification.
|
464
468
|
#
|
469
|
+
# JSON specification: `"Body": \{\}`
|
470
|
+
#
|
465
471
|
# @api private
|
466
472
|
#
|
467
473
|
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/Body AWS API Documentation
|
@@ -2954,6 +2960,14 @@ module Aws::WAFV2
|
|
2954
2960
|
# requires it. To inspect more than one component of a web request,
|
2955
2961
|
# create a separate rule statement for each component.
|
2956
2962
|
#
|
2963
|
+
# JSON specification for a `QueryString` field to match:
|
2964
|
+
#
|
2965
|
+
# ` "FieldToMatch": \{ "QueryString": \{\} \}`
|
2966
|
+
#
|
2967
|
+
# Example JSON for a `Method` field to match specification:
|
2968
|
+
#
|
2969
|
+
# ` "FieldToMatch": \{ "Method": \{ "Name": "DELETE" \} \}`
|
2970
|
+
#
|
2957
2971
|
# @note When making an API call, you may pass FieldToMatch
|
2958
2972
|
# data as a hash:
|
2959
2973
|
#
|
@@ -3195,8 +3209,8 @@ module Aws::WAFV2
|
|
3195
3209
|
# provide the ARN of the rule group in this statement.
|
3196
3210
|
#
|
3197
3211
|
# You cannot nest a `RuleGroupReferenceStatement`, for example for use
|
3198
|
-
# inside a `NotStatement` or `OrStatement`.
|
3199
|
-
#
|
3212
|
+
# inside a `NotStatement` or `OrStatement`. You can only use a rule
|
3213
|
+
# group reference statement at the top level inside a web ACL.
|
3200
3214
|
# @return [Types::RuleGroupReferenceStatement]
|
3201
3215
|
#
|
3202
3216
|
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/FirewallManagerStatement AWS API Documentation
|
@@ -3525,6 +3539,7 @@ module Aws::WAFV2
|
|
3525
3539
|
# scope: "CLOUDFRONT", # required, accepts CLOUDFRONT, REGIONAL
|
3526
3540
|
# web_acl_name: "EntityName", # required
|
3527
3541
|
# web_acl_id: "EntityId", # required
|
3542
|
+
# rule_group_rule_name: "EntityName",
|
3528
3543
|
# rule_name: "EntityName", # required
|
3529
3544
|
# }
|
3530
3545
|
#
|
@@ -3554,8 +3569,17 @@ module Aws::WAFV2
|
|
3554
3569
|
# like update and delete.
|
3555
3570
|
# @return [String]
|
3556
3571
|
#
|
3572
|
+
# @!attribute [rw] rule_group_rule_name
|
3573
|
+
# The name of the rule group reference statement in your web ACL. This
|
3574
|
+
# is required only when you have the rate-based rule nested inside a
|
3575
|
+
# rule group.
|
3576
|
+
# @return [String]
|
3577
|
+
#
|
3557
3578
|
# @!attribute [rw] rule_name
|
3558
|
-
# The name of the rate-based rule to get the keys for.
|
3579
|
+
# The name of the rate-based rule to get the keys for. If you have the
|
3580
|
+
# rule defined inside a rule group that you're using in your web ACL,
|
3581
|
+
# also provide the name of the rule group reference statement in the
|
3582
|
+
# request parameter `RuleGroupRuleName`.
|
3559
3583
|
# @return [String]
|
3560
3584
|
#
|
3561
3585
|
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/GetRateBasedStatementManagedKeysRequest AWS API Documentation
|
@@ -3564,6 +3588,7 @@ module Aws::WAFV2
|
|
3564
3588
|
:scope,
|
3565
3589
|
:web_acl_name,
|
3566
3590
|
:web_acl_id,
|
3591
|
+
:rule_group_rule_name,
|
3567
3592
|
:rule_name)
|
3568
3593
|
SENSITIVE = []
|
3569
3594
|
include Aws::Structure
|
@@ -4283,6 +4308,9 @@ module Aws::WAFV2
|
|
4283
4308
|
# inspects only the parts of the JSON that result from the matches that
|
4284
4309
|
# you indicate.
|
4285
4310
|
#
|
4311
|
+
# Example JSON: `"JsonBody": \{ "MatchPattern": \{ "All": \{\} \},
|
4312
|
+
# "MatchScope": "ALL" \}`
|
4313
|
+
#
|
4286
4314
|
# @note When making an API call, you may pass JsonBody
|
4287
4315
|
# data as a hash:
|
4288
4316
|
#
|
@@ -5267,11 +5295,11 @@ module Aws::WAFV2
|
|
5267
5295
|
#
|
5268
5296
|
# @!attribute [rw] redacted_fields
|
5269
5297
|
# The parts of the request that you want to keep out of the logs. For
|
5270
|
-
# example, if you redact the `
|
5271
|
-
# firehose will be `xxx`.
|
5298
|
+
# example, if you redact the `SingleHeader` field, the `HEADER` field
|
5299
|
+
# in the firehose will be `xxx`.
|
5272
5300
|
#
|
5273
|
-
# <note markdown="1"> You
|
5274
|
-
# `
|
5301
|
+
# <note markdown="1"> You can specify only the following fields for redaction: `UriPath`,
|
5302
|
+
# `QueryString`, `SingleHeader`, `Method`, and `JsonBody`.
|
5275
5303
|
#
|
5276
5304
|
# </note>
|
5277
5305
|
# @return [Array<Types::FieldToMatch>]
|
@@ -5673,8 +5701,9 @@ module Aws::WAFV2
|
|
5673
5701
|
# name and vendor name, that you provide when you add a
|
5674
5702
|
# ManagedRuleGroupStatement to a web ACL. Managed rule groups include
|
5675
5703
|
# Amazon Web Services Managed Rules rule groups, which are free of
|
5676
|
-
# charge to WAF customers, and
|
5677
|
-
# you can subscribe to through
|
5704
|
+
# charge to WAF customers, and Amazon Web Services Marketplace managed
|
5705
|
+
# rule groups, which you can subscribe to through Amazon Web Services
|
5706
|
+
# Marketplace.
|
5678
5707
|
#
|
5679
5708
|
# @!attribute [rw] vendor_name
|
5680
5709
|
# The name of the managed rule group vendor. You use this, along with
|
@@ -5688,7 +5717,8 @@ module Aws::WAFV2
|
|
5688
5717
|
#
|
5689
5718
|
# @!attribute [rw] description
|
5690
5719
|
# The description of the managed rule group, provided by Amazon Web
|
5691
|
-
# Services Managed Rules or the
|
5720
|
+
# Services Managed Rules or the Amazon Web Services Marketplace seller
|
5721
|
+
# who manages it.
|
5692
5722
|
# @return [String]
|
5693
5723
|
#
|
5694
5724
|
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/ManagedRuleGroupSummary AWS API Documentation
|
@@ -5721,11 +5751,12 @@ module Aws::WAFV2
|
|
5721
5751
|
include Aws::Structure
|
5722
5752
|
end
|
5723
5753
|
|
5724
|
-
# A set of rules that is managed by Amazon Web Services and
|
5725
|
-
# sellers to provide versioned managed rule groups
|
5754
|
+
# A set of rules that is managed by Amazon Web Services and Amazon Web
|
5755
|
+
# Services Marketplace sellers to provide versioned managed rule groups
|
5756
|
+
# for customers of WAF.
|
5726
5757
|
#
|
5727
5758
|
# <note markdown="1"> This is intended for use only by vendors of managed rule sets. Vendors
|
5728
|
-
# are Amazon Web Services and Marketplace sellers.
|
5759
|
+
# are Amazon Web Services and Amazon Web Services Marketplace sellers.
|
5729
5760
|
#
|
5730
5761
|
# Vendors, you can use the managed rule set APIs to provide controlled
|
5731
5762
|
# rollout of your versioned managed rule group offerings for your
|
@@ -5801,7 +5832,7 @@ module Aws::WAFV2
|
|
5801
5832
|
# High-level information for a managed rule set.
|
5802
5833
|
#
|
5803
5834
|
# <note markdown="1"> This is intended for use only by vendors of managed rule sets. Vendors
|
5804
|
-
# are Amazon Web Services and Marketplace sellers.
|
5835
|
+
# are Amazon Web Services and Amazon Web Services Marketplace sellers.
|
5805
5836
|
#
|
5806
5837
|
# Vendors, you can use the managed rule set APIs to provide controlled
|
5807
5838
|
# rollout of your versioned managed rule group offerings for your
|
@@ -5879,7 +5910,7 @@ module Aws::WAFV2
|
|
5879
5910
|
# Information for a single version of a managed rule set.
|
5880
5911
|
#
|
5881
5912
|
# <note markdown="1"> This is intended for use only by vendors of managed rule sets. Vendors
|
5882
|
-
# are Amazon Web Services and Marketplace sellers.
|
5913
|
+
# are Amazon Web Services and Amazon Web Services Marketplace sellers.
|
5883
5914
|
#
|
5884
5915
|
# Vendors, you can use the managed rule set APIs to provide controlled
|
5885
5916
|
# rollout of your versioned managed rule group offerings for your
|
@@ -5955,6 +5986,8 @@ module Aws::WAFV2
|
|
5955
5986
|
# This is used only to indicate the web request component for WAF to
|
5956
5987
|
# inspect, in the FieldToMatch specification.
|
5957
5988
|
#
|
5989
|
+
# JSON specification: `"Method": \{\}`
|
5990
|
+
#
|
5958
5991
|
# @api private
|
5959
5992
|
#
|
5960
5993
|
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/Method AWS API Documentation
|
@@ -5968,6 +6001,8 @@ module Aws::WAFV2
|
|
5968
6001
|
# This is used in the context of other settings, for example to specify
|
5969
6002
|
# values for RuleAction and web ACL DefaultAction.
|
5970
6003
|
#
|
6004
|
+
# JSON specification: `"None": \{\}`
|
6005
|
+
#
|
5971
6006
|
# @api private
|
5972
6007
|
#
|
5973
6008
|
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/NoneAction AWS API Documentation
|
@@ -6812,6 +6847,8 @@ module Aws::WAFV2
|
|
6812
6847
|
# This is used only to indicate the web request component for WAF to
|
6813
6848
|
# inspect, in the FieldToMatch specification.
|
6814
6849
|
#
|
6850
|
+
# JSON specification: `"QueryString": \{\}`
|
6851
|
+
#
|
6815
6852
|
# @api private
|
6816
6853
|
#
|
6817
6854
|
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/QueryString AWS API Documentation
|
@@ -6824,6 +6861,15 @@ module Aws::WAFV2
|
|
6824
6861
|
# You can use this to put a temporary block on requests from an IP
|
6825
6862
|
# address that is sending excessive requests.
|
6826
6863
|
#
|
6864
|
+
# WAF tracks and manages web requests separately for each instance of a
|
6865
|
+
# rate-based rule that you use. For example, if you provide the same
|
6866
|
+
# rate-based rule settings in two web ACLs, each of the two rule
|
6867
|
+
# statements represents a separate instance of the rate-based rule and
|
6868
|
+
# gets its own tracking and management by WAF. If you define a
|
6869
|
+
# rate-based rule inside a rule group, and then use that rule group in
|
6870
|
+
# multiple places, each use creates a separate instance of the
|
6871
|
+
# rate-based rule that gets its own tracking and management by WAF.
|
6872
|
+
#
|
6827
6873
|
# When the rule action triggers, WAF blocks additional requests from the
|
6828
6874
|
# IP address until the request rate falls below the limit.
|
6829
6875
|
#
|
@@ -6847,9 +6893,9 @@ module Aws::WAFV2
|
|
6847
6893
|
# not meet both conditions are not counted towards the rate limit and
|
6848
6894
|
# are not affected by this rule.
|
6849
6895
|
#
|
6850
|
-
# You cannot nest a `RateBasedStatement
|
6851
|
-
# `NotStatement` or `OrStatement`.
|
6852
|
-
#
|
6896
|
+
# You cannot nest a `RateBasedStatement` inside another statement, for
|
6897
|
+
# example inside a `NotStatement` or `OrStatement`. You can define a
|
6898
|
+
# `RateBasedStatement` inside a web ACL and inside a rule group.
|
6853
6899
|
#
|
6854
6900
|
# @note When making an API call, you may pass RateBasedStatement
|
6855
6901
|
# data as a hash:
|
@@ -7167,8 +7213,8 @@ module Aws::WAFV2
|
|
7167
7213
|
include Aws::Structure
|
7168
7214
|
end
|
7169
7215
|
|
7170
|
-
# The set of IP addresses that are currently blocked for a
|
7171
|
-
#
|
7216
|
+
# The set of IP addresses that are currently blocked for a
|
7217
|
+
# RateBasedStatement.
|
7172
7218
|
#
|
7173
7219
|
# @!attribute [rw] ip_address_version
|
7174
7220
|
# The version of the IP addresses, either `IPV4` or `IPV6`.
|
@@ -7996,8 +8042,8 @@ module Aws::WAFV2
|
|
7996
8042
|
# provide the ARN of the rule group in this statement.
|
7997
8043
|
#
|
7998
8044
|
# You cannot nest a `RuleGroupReferenceStatement`, for example for use
|
7999
|
-
# inside a `NotStatement` or `OrStatement`.
|
8000
|
-
#
|
8045
|
+
# inside a `NotStatement` or `OrStatement`. You can only use a rule
|
8046
|
+
# group reference statement at the top level inside a web ACL.
|
8001
8047
|
#
|
8002
8048
|
# @note When making an API call, you may pass RuleGroupReferenceStatement
|
8003
8049
|
# data as a hash:
|
@@ -8179,6 +8225,8 @@ module Aws::WAFV2
|
|
8179
8225
|
# This is used only to indicate the web request component for WAF to
|
8180
8226
|
# inspect, in the FieldToMatch specification.
|
8181
8227
|
#
|
8228
|
+
# Example JSON: `"SingleHeader": \{ "Name": "haystack" \}`
|
8229
|
+
#
|
8182
8230
|
# @note When making an API call, you may pass SingleHeader
|
8183
8231
|
# data as a hash:
|
8184
8232
|
#
|
@@ -8202,6 +8250,8 @@ module Aws::WAFV2
|
|
8202
8250
|
# *UserName* or *SalesRegion*. The name can be up to 30 characters long
|
8203
8251
|
# and isn't case sensitive.
|
8204
8252
|
#
|
8253
|
+
# Example JSON: `"SingleQueryArgument": \{ "Name": "myArgument" \}`
|
8254
|
+
#
|
8205
8255
|
# @note When making an API call, you may pass SingleQueryArgument
|
8206
8256
|
# data as a hash:
|
8207
8257
|
#
|
@@ -9913,8 +9963,8 @@ module Aws::WAFV2
|
|
9913
9963
|
# provide the ARN of the rule group in this statement.
|
9914
9964
|
#
|
9915
9965
|
# You cannot nest a `RuleGroupReferenceStatement`, for example for use
|
9916
|
-
# inside a `NotStatement` or `OrStatement`.
|
9917
|
-
#
|
9966
|
+
# inside a `NotStatement` or `OrStatement`. You can only use a rule
|
9967
|
+
# group reference statement at the top level inside a web ACL.
|
9918
9968
|
# @return [Types::RuleGroupReferenceStatement]
|
9919
9969
|
#
|
9920
9970
|
# @!attribute [rw] ip_set_reference_statement
|
@@ -9952,6 +10002,15 @@ module Aws::WAFV2
|
|
9952
10002
|
# time span. You can use this to put a temporary block on requests
|
9953
10003
|
# from an IP address that is sending excessive requests.
|
9954
10004
|
#
|
10005
|
+
# WAF tracks and manages web requests separately for each instance of
|
10006
|
+
# a rate-based rule that you use. For example, if you provide the same
|
10007
|
+
# rate-based rule settings in two web ACLs, each of the two rule
|
10008
|
+
# statements represents a separate instance of the rate-based rule and
|
10009
|
+
# gets its own tracking and management by WAF. If you define a
|
10010
|
+
# rate-based rule inside a rule group, and then use that rule group in
|
10011
|
+
# multiple places, each use creates a separate instance of the
|
10012
|
+
# rate-based rule that gets its own tracking and management by WAF.
|
10013
|
+
#
|
9955
10014
|
# When the rule action triggers, WAF blocks additional requests from
|
9956
10015
|
# the IP address until the request rate falls below the limit.
|
9957
10016
|
#
|
@@ -9975,9 +10034,9 @@ module Aws::WAFV2
|
|
9975
10034
|
# do not meet both conditions are not counted towards the rate limit
|
9976
10035
|
# and are not affected by this rule.
|
9977
10036
|
#
|
9978
|
-
# You cannot nest a `RateBasedStatement
|
9979
|
-
# `NotStatement` or `OrStatement`.
|
9980
|
-
#
|
10037
|
+
# You cannot nest a `RateBasedStatement` inside another statement, for
|
10038
|
+
# example inside a `NotStatement` or `OrStatement`. You can define a
|
10039
|
+
# `RateBasedStatement` inside a web ACL and inside a rule group.
|
9981
10040
|
# @return [Types::RateBasedStatement]
|
9982
10041
|
#
|
9983
10042
|
# @!attribute [rw] and_statement
|
@@ -11623,6 +11682,8 @@ module Aws::WAFV2
|
|
11623
11682
|
# This is used only to indicate the web request component for WAF to
|
11624
11683
|
# inspect, in the FieldToMatch specification.
|
11625
11684
|
#
|
11685
|
+
# JSON specification: `"UriPath": \{\}`
|
11686
|
+
#
|
11626
11687
|
# @api private
|
11627
11688
|
#
|
11628
11689
|
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/UriPath AWS API Documentation
|
@@ -11633,7 +11694,7 @@ module Aws::WAFV2
|
|
11633
11694
|
# vendor publishes for use by customers.
|
11634
11695
|
#
|
11635
11696
|
# <note markdown="1"> This is intended for use only by vendors of managed rule sets. Vendors
|
11636
|
-
# are Amazon Web Services and Marketplace sellers.
|
11697
|
+
# are Amazon Web Services and Amazon Web Services Marketplace sellers.
|
11637
11698
|
#
|
11638
11699
|
# Vendors, you can use the managed rule set APIs to provide controlled
|
11639
11700
|
# rollout of your versioned managed rule group offerings for your
|
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.26.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: 2021-09-
|
11
|
+
date: 2021-09-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|