aws-sdk-wafregional 1.50.0 → 1.52.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-wafregional/client.rb +21 -16
- data/lib/aws-sdk-wafregional/endpoints.rb +1 -0
- data/lib/aws-sdk-wafregional/types.rb +36 -36
- data/lib/aws-sdk-wafregional.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae2645466f03c6d4d60ccce850e5bc61936d1a75dc6d8aadfbc1bbb13bfc0339
|
4
|
+
data.tar.gz: ed3e8d621d53ea88c44dc6b4470fbef9f0940043df6e76dd1d6b486bb6076c74
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4abbb359ea3760416e2da58234037a2539ec1747d45bdfcad4a4c08894917ebf4fec4b5329b328b9d7839215a5f326993549b441c194cb7513f855af627a8b09
|
7
|
+
data.tar.gz: 106c897a8c312de9183419393d9cf219e8865e7e0d88cd28aa8fb32c075bf4320ed898c86709b52db21499127823f55ccdf6e2be37cd479cf2ba6d0c71931292
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.52.0 (2023-06-15)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.51.0 (2023-05-31)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.50.0 (2023-01-18)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.52.0
|
@@ -275,6 +275,11 @@ module Aws::WAFRegional
|
|
275
275
|
# in the future.
|
276
276
|
#
|
277
277
|
#
|
278
|
+
# @option options [String] :sdk_ua_app_id
|
279
|
+
# A unique and opaque application ID that is appended to the
|
280
|
+
# User-Agent header as app/<sdk_ua_app_id>. It should have a
|
281
|
+
# maximum length of 50.
|
282
|
+
#
|
278
283
|
# @option options [String] :secret_access_key
|
279
284
|
#
|
280
285
|
# @option options [String] :session_token
|
@@ -703,7 +708,7 @@ module Aws::WAFRegional
|
|
703
708
|
# If you add more than one predicate to a `RateBasedRule`, a request not
|
704
709
|
# only must exceed the `RateLimit`, but it also must match all the
|
705
710
|
# conditions to be counted or blocked. For example, suppose you add the
|
706
|
-
# following to a `RateBasedRule
|
711
|
+
# following to a `RateBasedRule`:
|
707
712
|
#
|
708
713
|
# * An `IPSet` that matches the IP address `192.0.2.44/32`
|
709
714
|
#
|
@@ -723,7 +728,7 @@ module Aws::WAFRegional
|
|
723
728
|
#
|
724
729
|
# As a second example, suppose you want to limit requests to a
|
725
730
|
# particular page on your site. To do this, you could add the following
|
726
|
-
# to a `RateBasedRule
|
731
|
+
# to a `RateBasedRule`:
|
727
732
|
#
|
728
733
|
# * A `ByteMatchSet` with `FieldToMatch` of `URI`
|
729
734
|
#
|
@@ -1009,7 +1014,7 @@ module Aws::WAFRegional
|
|
1009
1014
|
# objects, and other predicates that identify the requests that you want
|
1010
1015
|
# to block. If you add more than one predicate to a `Rule`, a request
|
1011
1016
|
# must match all of the specifications to be allowed or blocked. For
|
1012
|
-
# example, suppose that you add the following to a `Rule
|
1017
|
+
# example, suppose that you add the following to a `Rule`:
|
1013
1018
|
#
|
1014
1019
|
# * An `IPSet` that matches the IP address `192.0.2.44/32`
|
1015
1020
|
#
|
@@ -2877,14 +2882,14 @@ module Aws::WAFRegional
|
|
2877
2882
|
# Returns the status of a `ChangeToken` that you got by calling
|
2878
2883
|
# GetChangeToken. `ChangeTokenStatus` is one of the following values:
|
2879
2884
|
#
|
2880
|
-
# * `PROVISIONED
|
2885
|
+
# * `PROVISIONED`: You requested the change token by calling
|
2881
2886
|
# `GetChangeToken`, but you haven't used it yet in a call to create,
|
2882
2887
|
# update, or delete an AWS WAF object.
|
2883
2888
|
#
|
2884
|
-
# * `PENDING
|
2889
|
+
# * `PENDING`: AWS WAF is propagating the create, update, or delete
|
2885
2890
|
# request to all AWS WAF servers.
|
2886
2891
|
#
|
2887
|
-
# * `INSYNC
|
2892
|
+
# * `INSYNC`: Propagation is complete.
|
2888
2893
|
#
|
2889
2894
|
#
|
2890
2895
|
#
|
@@ -5767,7 +5772,7 @@ module Aws::WAFRegional
|
|
5767
5772
|
# If you add more than one predicate to a `RateBasedRule`, a request
|
5768
5773
|
# must match all the predicates and exceed the `RateLimit` to be counted
|
5769
5774
|
# or blocked. For example, suppose you add the following to a
|
5770
|
-
# `RateBasedRule
|
5775
|
+
# `RateBasedRule`:
|
5771
5776
|
#
|
5772
5777
|
# * An `IPSet` that matches the IP address `192.0.2.44/32`
|
5773
5778
|
#
|
@@ -5785,7 +5790,7 @@ module Aws::WAFRegional
|
|
5785
5790
|
#
|
5786
5791
|
# As a second example, suppose you want to limit requests to a
|
5787
5792
|
# particular page on your site. To do this, you could add the following
|
5788
|
-
# to a `RateBasedRule
|
5793
|
+
# to a `RateBasedRule`:
|
5789
5794
|
#
|
5790
5795
|
# * A `ByteMatchSet` with `FieldToMatch` of `URI`
|
5791
5796
|
#
|
@@ -6068,7 +6073,7 @@ module Aws::WAFRegional
|
|
6068
6073
|
# that specifies the web requests that you want to allow, block, or
|
6069
6074
|
# count. If you add more than one predicate to a `Rule`, a request must
|
6070
6075
|
# match all of the specifications to be allowed, blocked, or counted.
|
6071
|
-
# For example, suppose that you add the following to a `Rule
|
6076
|
+
# For example, suppose that you add the following to a `Rule`:
|
6072
6077
|
#
|
6073
6078
|
# * A `ByteMatchSet` that matches the value `BadBot` in the `User-Agent`
|
6074
6079
|
# header
|
@@ -6454,15 +6459,15 @@ module Aws::WAFRegional
|
|
6454
6459
|
# SqlInjectionMatchSet. For each `SqlInjectionMatchTuple` object, you
|
6455
6460
|
# specify the following values:
|
6456
6461
|
#
|
6457
|
-
# * `Action
|
6462
|
+
# * `Action`: Whether to insert the object into or delete the object
|
6458
6463
|
# from the array. To change a `SqlInjectionMatchTuple`, you delete the
|
6459
6464
|
# existing object and add a new one.
|
6460
6465
|
#
|
6461
|
-
# * `FieldToMatch
|
6466
|
+
# * `FieldToMatch`: The part of web requests that you want AWS WAF to
|
6462
6467
|
# inspect and, if you want AWS WAF to inspect a header or custom query
|
6463
6468
|
# parameter, the name of the header or parameter.
|
6464
6469
|
#
|
6465
|
-
# * `TextTransformation
|
6470
|
+
# * `TextTransformation`: Which text transformation, if any, to perform
|
6466
6471
|
# on the web request before inspecting the request for snippets of
|
6467
6472
|
# malicious SQL code.
|
6468
6473
|
#
|
@@ -6778,15 +6783,15 @@ module Aws::WAFRegional
|
|
6778
6783
|
# Inserts or deletes XssMatchTuple objects (filters) in an XssMatchSet.
|
6779
6784
|
# For each `XssMatchTuple` object, you specify the following values:
|
6780
6785
|
#
|
6781
|
-
# * `Action
|
6786
|
+
# * `Action`: Whether to insert the object into or delete the object
|
6782
6787
|
# from the array. To change an `XssMatchTuple`, you delete the
|
6783
6788
|
# existing object and add a new one.
|
6784
6789
|
#
|
6785
|
-
# * `FieldToMatch
|
6790
|
+
# * `FieldToMatch`: The part of web requests that you want AWS WAF to
|
6786
6791
|
# inspect and, if you want AWS WAF to inspect a header or custom query
|
6787
6792
|
# parameter, the name of the header or parameter.
|
6788
6793
|
#
|
6789
|
-
# * `TextTransformation
|
6794
|
+
# * `TextTransformation`: Which text transformation, if any, to perform
|
6790
6795
|
# on the web request before inspecting the request for cross-site
|
6791
6796
|
# scripting attacks.
|
6792
6797
|
#
|
@@ -6914,7 +6919,7 @@ module Aws::WAFRegional
|
|
6914
6919
|
params: params,
|
6915
6920
|
config: config)
|
6916
6921
|
context[:gem_name] = 'aws-sdk-wafregional'
|
6917
|
-
context[:gem_version] = '1.
|
6922
|
+
context[:gem_version] = '1.52.0'
|
6918
6923
|
Seahorse::Client::Request.new(handlers, context)
|
6919
6924
|
end
|
6920
6925
|
|
@@ -54,12 +54,12 @@ module Aws::WAFRegional
|
|
54
54
|
# request matches the conditions in the `Rule`. Valid values for
|
55
55
|
# `Action` include the following:
|
56
56
|
#
|
57
|
-
# * `ALLOW
|
57
|
+
# * `ALLOW`: CloudFront responds with the requested object.
|
58
58
|
#
|
59
|
-
# * `BLOCK
|
59
|
+
# * `BLOCK`: CloudFront responds with an HTTP 403 (Forbidden) status
|
60
60
|
# code.
|
61
61
|
#
|
62
|
-
# * `COUNT
|
62
|
+
# * `COUNT`: AWS WAF increments a counter of requests that match the
|
63
63
|
# conditions in the rule and then continues to inspect the web
|
64
64
|
# request based on the remaining rules in the web ACL.
|
65
65
|
#
|
@@ -358,26 +358,26 @@ module Aws::WAFRegional
|
|
358
358
|
# in `FieldToMatch`. The maximum length of the value is 50 bytes.
|
359
359
|
#
|
360
360
|
# Valid values depend on the values that you specified for
|
361
|
-
# `FieldToMatch
|
361
|
+
# `FieldToMatch`:
|
362
362
|
#
|
363
|
-
# * `HEADER
|
363
|
+
# * `HEADER`: The value that you want AWS WAF to search for in the
|
364
364
|
# request header that you specified in FieldToMatch, for example,
|
365
365
|
# the value of the `User-Agent` or `Referer` header.
|
366
366
|
#
|
367
|
-
# * `METHOD
|
367
|
+
# * `METHOD`: The HTTP method, which indicates the type of operation
|
368
368
|
# specified in the request. CloudFront supports the following
|
369
369
|
# methods: `DELETE`, `GET`, `HEAD`, `OPTIONS`, `PATCH`, `POST`, and
|
370
370
|
# `PUT`.
|
371
371
|
#
|
372
|
-
# * `QUERY_STRING
|
372
|
+
# * `QUERY_STRING`: The value that you want AWS WAF to search for in
|
373
373
|
# the query string, which is the part of a URL that appears after a
|
374
374
|
# `?` character.
|
375
375
|
#
|
376
|
-
# * `URI
|
376
|
+
# * `URI`: The value that you want AWS WAF to search for in the part
|
377
377
|
# of a URL that identifies a resource, for example,
|
378
378
|
# `/images/daily-ad.jpg`.
|
379
379
|
#
|
380
|
-
# * `BODY
|
380
|
+
# * `BODY`: The part of a request that contains any additional data
|
381
381
|
# that you want to send to your web server as the HTTP request body,
|
382
382
|
# such as data from a form. The request body immediately follows the
|
383
383
|
# request headers. Note that only the first `8192` bytes of the
|
@@ -386,11 +386,11 @@ module Aws::WAFRegional
|
|
386
386
|
# size constraint set. For more information, see
|
387
387
|
# CreateSizeConstraintSet.
|
388
388
|
#
|
389
|
-
# * `SINGLE_QUERY_ARG
|
389
|
+
# * `SINGLE_QUERY_ARG`: The parameter in the query string that you
|
390
390
|
# will inspect, such as *UserName* or *SalesRegion*. The maximum
|
391
391
|
# length for `SINGLE_QUERY_ARG` is 30 characters.
|
392
392
|
#
|
393
|
-
# * `ALL_QUERY_ARGS
|
393
|
+
# * `ALL_QUERY_ARGS`: Similar to `SINGLE_QUERY_ARG`, but instead of
|
394
394
|
# inspecting a single parameter, AWS WAF inspects all parameters
|
395
395
|
# within the query string for the value or regex pattern that you
|
396
396
|
# specify in `TargetString`.
|
@@ -1665,22 +1665,22 @@ module Aws::WAFRegional
|
|
1665
1665
|
# specified string. Parts of a request that you can search include the
|
1666
1666
|
# following:
|
1667
1667
|
#
|
1668
|
-
# * `HEADER
|
1668
|
+
# * `HEADER`: A specified request header, for example, the value of
|
1669
1669
|
# the `User-Agent` or `Referer` header. If you choose `HEADER` for
|
1670
1670
|
# the type, specify the name of the header in `Data`.
|
1671
1671
|
#
|
1672
|
-
# * `METHOD
|
1672
|
+
# * `METHOD`: The HTTP method, which indicated the type of operation
|
1673
1673
|
# that the request is asking the origin to perform. Amazon
|
1674
1674
|
# CloudFront supports the following methods: `DELETE`, `GET`,
|
1675
1675
|
# `HEAD`, `OPTIONS`, `PATCH`, `POST`, and `PUT`.
|
1676
1676
|
#
|
1677
|
-
# * `QUERY_STRING
|
1677
|
+
# * `QUERY_STRING`: A query string, which is the part of a URL that
|
1678
1678
|
# appears after a `?` character, if any.
|
1679
1679
|
#
|
1680
|
-
# * `URI
|
1680
|
+
# * `URI`: The part of a web request that identifies a resource, for
|
1681
1681
|
# example, `/images/daily-ad.jpg`.
|
1682
1682
|
#
|
1683
|
-
# * `BODY
|
1683
|
+
# * `BODY`: The part of a request that contains any additional data
|
1684
1684
|
# that you want to send to your web server as the HTTP request body,
|
1685
1685
|
# such as data from a form. The request body immediately follows the
|
1686
1686
|
# request headers. Note that only the first `8192` bytes of the
|
@@ -1689,11 +1689,11 @@ module Aws::WAFRegional
|
|
1689
1689
|
# size constraint set. For more information, see
|
1690
1690
|
# CreateSizeConstraintSet.
|
1691
1691
|
#
|
1692
|
-
# * `SINGLE_QUERY_ARG
|
1692
|
+
# * `SINGLE_QUERY_ARG`: The parameter in the query string that you
|
1693
1693
|
# will inspect, such as *UserName* or *SalesRegion*. The maximum
|
1694
1694
|
# length for `SINGLE_QUERY_ARG` is 30 characters.
|
1695
1695
|
#
|
1696
|
-
# * `ALL_QUERY_ARGS
|
1696
|
+
# * `ALL_QUERY_ARGS`: Similar to `SINGLE_QUERY_ARG`, but rather than
|
1697
1697
|
# inspecting a single parameter, AWS WAF will inspect all parameters
|
1698
1698
|
# within the query for the value or regex pattern that you specify
|
1699
1699
|
# in `TargetString`.
|
@@ -1897,7 +1897,7 @@ module Aws::WAFRegional
|
|
1897
1897
|
# * ByteMatchSet: Contains `ByteMatchSetId`, `ByteMatchTuples`, and
|
1898
1898
|
# `Name`
|
1899
1899
|
#
|
1900
|
-
# * `ByteMatchTuples
|
1900
|
+
# * `ByteMatchTuples`: Contains an array of ByteMatchTuple objects.
|
1901
1901
|
# Each `ByteMatchTuple` object contains FieldToMatch,
|
1902
1902
|
# `PositionalConstraint`, `TargetString`, and `TextTransformation`
|
1903
1903
|
#
|
@@ -2005,7 +2005,7 @@ module Aws::WAFRegional
|
|
2005
2005
|
#
|
2006
2006
|
# * IPSet: Contains `IPSetDescriptors`, `IPSetId`, and `Name`
|
2007
2007
|
#
|
2008
|
-
# * `IPSetDescriptors
|
2008
|
+
# * `IPSetDescriptors`: Contains an array of IPSetDescriptor objects.
|
2009
2009
|
# Each `IPSetDescriptor` object contains `Type` and `Value`
|
2010
2010
|
# @return [Types::IPSet]
|
2011
2011
|
#
|
@@ -2344,7 +2344,7 @@ module Aws::WAFRegional
|
|
2344
2344
|
# * SizeConstraintSet: Contains `SizeConstraintSetId`,
|
2345
2345
|
# `SizeConstraints`, and `Name`
|
2346
2346
|
#
|
2347
|
-
# * `SizeConstraints
|
2347
|
+
# * `SizeConstraints`: Contains an array of SizeConstraint objects.
|
2348
2348
|
# Each `SizeConstraint` object contains FieldToMatch,
|
2349
2349
|
# `TextTransformation`, `ComparisonOperator`, and `Size`
|
2350
2350
|
#
|
@@ -2458,10 +2458,10 @@ module Aws::WAFRegional
|
|
2458
2458
|
#
|
2459
2459
|
# * `DefaultAction` (Data type is WafAction): Contains `Type`
|
2460
2460
|
#
|
2461
|
-
# * `Rules
|
2461
|
+
# * `Rules`: Contains an array of `ActivatedRule` objects, which
|
2462
2462
|
# contain `Action`, `Priority`, and `RuleId`
|
2463
2463
|
#
|
2464
|
-
# * `Action
|
2464
|
+
# * `Action`: Contains `Type`
|
2465
2465
|
# @return [Types::WebACL]
|
2466
2466
|
#
|
2467
2467
|
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetWebACLResponse AWS API Documentation
|
@@ -4716,23 +4716,23 @@ module Aws::WAFRegional
|
|
4716
4716
|
# size in bytes of `FieldToMatch`". If that expression is true, the
|
4717
4717
|
# `SizeConstraint` is considered to match.
|
4718
4718
|
#
|
4719
|
-
# **EQ
|
4719
|
+
# **EQ**: Used to test if the `Size` is equal to the size of the
|
4720
4720
|
# `FieldToMatch`
|
4721
4721
|
#
|
4722
|
-
# **NE
|
4722
|
+
# **NE**: Used to test if the `Size` is not equal to the size of the
|
4723
4723
|
# `FieldToMatch`
|
4724
4724
|
#
|
4725
|
-
# **LE
|
4726
|
-
# size of the `FieldToMatch`
|
4727
|
-
#
|
4728
|
-
# **LT**\: Used to test if the `Size` is strictly less than the size
|
4725
|
+
# **LE**: Used to test if the `Size` is less than or equal to the size
|
4729
4726
|
# of the `FieldToMatch`
|
4730
4727
|
#
|
4731
|
-
# **
|
4732
|
-
#
|
4728
|
+
# **LT**: Used to test if the `Size` is strictly less than the size of
|
4729
|
+
# the `FieldToMatch`
|
4733
4730
|
#
|
4734
|
-
# **
|
4731
|
+
# **GE**: Used to test if the `Size` is greater than or equal to the
|
4735
4732
|
# size of the `FieldToMatch`
|
4733
|
+
#
|
4734
|
+
# **GT**: Used to test if the `Size` is strictly greater than the size
|
4735
|
+
# of the `FieldToMatch`
|
4736
4736
|
# @return [String]
|
4737
4737
|
#
|
4738
4738
|
# @!attribute [rw] size
|
@@ -5955,7 +5955,7 @@ module Aws::WAFRegional
|
|
5955
5955
|
end
|
5956
5956
|
|
5957
5957
|
# The operation failed due to a problem with the migration. The failure
|
5958
|
-
# cause is provided in the exception, in the `MigrationErrorType
|
5958
|
+
# cause is provided in the exception, in the `MigrationErrorType`:
|
5959
5959
|
#
|
5960
5960
|
# * `ENTITY_NOT_SUPPORTED` - The web ACL has an unsupported entity but
|
5961
5961
|
# the `IgnoreUnsupportedType` is not set to true.
|
@@ -6354,11 +6354,11 @@ module Aws::WAFRegional
|
|
6354
6354
|
# Specifies how you want AWS WAF to respond to requests that match the
|
6355
6355
|
# settings in a `Rule`. Valid settings include the following:
|
6356
6356
|
#
|
6357
|
-
# * `ALLOW
|
6357
|
+
# * `ALLOW`: AWS WAF allows requests
|
6358
6358
|
#
|
6359
|
-
# * `BLOCK
|
6359
|
+
# * `BLOCK`: AWS WAF blocks requests
|
6360
6360
|
#
|
6361
|
-
# * `COUNT
|
6361
|
+
# * `COUNT`: AWS WAF increments a counter of the requests that match
|
6362
6362
|
# all of the conditions in the rule. AWS WAF then continues to
|
6363
6363
|
# inspect the web request based on the remaining rules in the web
|
6364
6364
|
# ACL. You can't specify `COUNT` for the default action for a
|
data/lib/aws-sdk-wafregional.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-wafregional
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.52.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: 2023-
|
11
|
+
date: 2023-06-15 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.
|
22
|
+
version: 3.174.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.
|
32
|
+
version: 3.174.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|