aws-sdk-wafv2 1.23.0 → 1.24.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.rb +1 -1
- data/lib/aws-sdk-wafv2/client.rb +517 -76
- data/lib/aws-sdk-wafv2/client_api.rb +188 -0
- data/lib/aws-sdk-wafv2/errors.rb +16 -0
- data/lib/aws-sdk-wafv2/types.rb +980 -178
- 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: 1b2e98100247d8e8206ffdfe6a626a73e62a31b8dc7edc970fd79915d7550de3
|
4
|
+
data.tar.gz: 5ca93383a554697cb25bc02128b53a3bd97aed01b87c08cb03783bed76c6e00e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 784c05b0000108fafda8a061383405aa78fea6268c1c796319fab7b6bc271eb77c0c6532251eace3e1de3711fcba2e1186dcff1a9bcd46ae07662eabebdfe112
|
7
|
+
data.tar.gz: 264eb31a91d6d5458240bd0c13743911a7bef12e1cbb28a867b1abab672f45aea0d2e0ce24acdf9262ca326316ea6f407f313eb1cc224aaf28edd5d34902b366
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.24.0
|
data/lib/aws-sdk-wafv2.rb
CHANGED
data/lib/aws-sdk-wafv2/client.rb
CHANGED
@@ -669,6 +669,7 @@ module Aws::WAFV2
|
|
669
669
|
# managed_rule_group_statement: {
|
670
670
|
# vendor_name: "VendorName", # required
|
671
671
|
# name: "EntityName", # required
|
672
|
+
# version: "VersionKeyString",
|
672
673
|
# excluded_rules: [
|
673
674
|
# {
|
674
675
|
# name: "EntityName", # required
|
@@ -786,7 +787,7 @@ module Aws::WAFV2
|
|
786
787
|
# A description of the IP set that helps with identification.
|
787
788
|
#
|
788
789
|
# @option params [required, String] :ip_address_version
|
789
|
-
#
|
790
|
+
# The version of the IP addresses, either `IPV4` or `IPV6`.
|
790
791
|
#
|
791
792
|
# @option params [required, Array<String>] :addresses
|
792
793
|
# Contains an array of strings that specify one or more IP addresses or
|
@@ -1259,6 +1260,7 @@ module Aws::WAFV2
|
|
1259
1260
|
# managed_rule_group_statement: {
|
1260
1261
|
# vendor_name: "VendorName", # required
|
1261
1262
|
# name: "EntityName", # required
|
1263
|
+
# version: "VersionKeyString",
|
1262
1264
|
# excluded_rules: [
|
1263
1265
|
# {
|
1264
1266
|
# name: "EntityName", # required
|
@@ -1715,6 +1717,7 @@ module Aws::WAFV2
|
|
1715
1717
|
# managed_rule_group_statement: {
|
1716
1718
|
# vendor_name: "VendorName", # required
|
1717
1719
|
# name: "EntityName", # required
|
1720
|
+
# version: "VersionKeyString",
|
1718
1721
|
# excluded_rules: [
|
1719
1722
|
# {
|
1720
1723
|
# name: "EntityName", # required
|
@@ -1835,14 +1838,14 @@ module Aws::WAFV2
|
|
1835
1838
|
# The Amazon Resource Name (ARN) of the web ACL.
|
1836
1839
|
#
|
1837
1840
|
# @option params [required, String] :web_acl_lock_token
|
1838
|
-
# A token used for optimistic locking. WAF returns a token to your get
|
1839
|
-
# and list requests, to mark the state of the entity at the time of
|
1840
|
-
# request. To make changes to the entity associated with the token,
|
1841
|
-
# provide the token to operations like update and delete
|
1842
|
-
# token to ensure that no changes have been made to the entity
|
1843
|
-
# last retrieved it. If a change has been made, the update
|
1844
|
-
# `WAFOptimisticLockException`. If this happens, perform
|
1845
|
-
# and use the new token returned by that operation.
|
1841
|
+
# A token used for optimistic locking. WAF returns a token to your `get`
|
1842
|
+
# and `list` requests, to mark the state of the entity at the time of
|
1843
|
+
# the request. To make changes to the entity associated with the token,
|
1844
|
+
# you provide the token to operations like `update` and `delete`. WAF
|
1845
|
+
# uses the token to ensure that no changes have been made to the entity
|
1846
|
+
# since you last retrieved it. If a change has been made, the update
|
1847
|
+
# fails with a `WAFOptimisticLockException`. If this happens, perform
|
1848
|
+
# another `get`, and use the new token returned by that operation.
|
1846
1849
|
#
|
1847
1850
|
# @return [Types::DeleteFirewallManagerRuleGroupsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1848
1851
|
#
|
@@ -1894,14 +1897,14 @@ module Aws::WAFV2
|
|
1894
1897
|
# and delete.
|
1895
1898
|
#
|
1896
1899
|
# @option params [required, String] :lock_token
|
1897
|
-
# A token used for optimistic locking. WAF returns a token to your get
|
1898
|
-
# and list requests, to mark the state of the entity at the time of
|
1899
|
-
# request. To make changes to the entity associated with the token,
|
1900
|
-
# provide the token to operations like update and delete
|
1901
|
-
# token to ensure that no changes have been made to the entity
|
1902
|
-
# last retrieved it. If a change has been made, the update
|
1903
|
-
# `WAFOptimisticLockException`. If this happens, perform
|
1904
|
-
# and use the new token returned by that operation.
|
1900
|
+
# A token used for optimistic locking. WAF returns a token to your `get`
|
1901
|
+
# and `list` requests, to mark the state of the entity at the time of
|
1902
|
+
# the request. To make changes to the entity associated with the token,
|
1903
|
+
# you provide the token to operations like `update` and `delete`. WAF
|
1904
|
+
# uses the token to ensure that no changes have been made to the entity
|
1905
|
+
# since you last retrieved it. If a change has been made, the update
|
1906
|
+
# fails with a `WAFOptimisticLockException`. If this happens, perform
|
1907
|
+
# another `get`, and use the new token returned by that operation.
|
1905
1908
|
#
|
1906
1909
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1907
1910
|
#
|
@@ -1999,14 +2002,14 @@ module Aws::WAFV2
|
|
1999
2002
|
# and delete.
|
2000
2003
|
#
|
2001
2004
|
# @option params [required, String] :lock_token
|
2002
|
-
# A token used for optimistic locking. WAF returns a token to your get
|
2003
|
-
# and list requests, to mark the state of the entity at the time of
|
2004
|
-
# request. To make changes to the entity associated with the token,
|
2005
|
-
# provide the token to operations like update and delete
|
2006
|
-
# token to ensure that no changes have been made to the entity
|
2007
|
-
# last retrieved it. If a change has been made, the update
|
2008
|
-
# `WAFOptimisticLockException`. If this happens, perform
|
2009
|
-
# and use the new token returned by that operation.
|
2005
|
+
# A token used for optimistic locking. WAF returns a token to your `get`
|
2006
|
+
# and `list` requests, to mark the state of the entity at the time of
|
2007
|
+
# the request. To make changes to the entity associated with the token,
|
2008
|
+
# you provide the token to operations like `update` and `delete`. WAF
|
2009
|
+
# uses the token to ensure that no changes have been made to the entity
|
2010
|
+
# since you last retrieved it. If a change has been made, the update
|
2011
|
+
# fails with a `WAFOptimisticLockException`. If this happens, perform
|
2012
|
+
# another `get`, and use the new token returned by that operation.
|
2010
2013
|
#
|
2011
2014
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2012
2015
|
#
|
@@ -2054,14 +2057,14 @@ module Aws::WAFV2
|
|
2054
2057
|
# like update and delete.
|
2055
2058
|
#
|
2056
2059
|
# @option params [required, String] :lock_token
|
2057
|
-
# A token used for optimistic locking. WAF returns a token to your get
|
2058
|
-
# and list requests, to mark the state of the entity at the time of
|
2059
|
-
# request. To make changes to the entity associated with the token,
|
2060
|
-
# provide the token to operations like update and delete
|
2061
|
-
# token to ensure that no changes have been made to the entity
|
2062
|
-
# last retrieved it. If a change has been made, the update
|
2063
|
-
# `WAFOptimisticLockException`. If this happens, perform
|
2064
|
-
# and use the new token returned by that operation.
|
2060
|
+
# A token used for optimistic locking. WAF returns a token to your `get`
|
2061
|
+
# and `list` requests, to mark the state of the entity at the time of
|
2062
|
+
# the request. To make changes to the entity associated with the token,
|
2063
|
+
# you provide the token to operations like `update` and `delete`. WAF
|
2064
|
+
# uses the token to ensure that no changes have been made to the entity
|
2065
|
+
# since you last retrieved it. If a change has been made, the update
|
2066
|
+
# fails with a `WAFOptimisticLockException`. If this happens, perform
|
2067
|
+
# another `get`, and use the new token returned by that operation.
|
2065
2068
|
#
|
2066
2069
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2067
2070
|
#
|
@@ -2112,14 +2115,14 @@ module Aws::WAFV2
|
|
2112
2115
|
# like update and delete.
|
2113
2116
|
#
|
2114
2117
|
# @option params [required, String] :lock_token
|
2115
|
-
# A token used for optimistic locking. WAF returns a token to your get
|
2116
|
-
# and list requests, to mark the state of the entity at the time of
|
2117
|
-
# request. To make changes to the entity associated with the token,
|
2118
|
-
# provide the token to operations like update and delete
|
2119
|
-
# token to ensure that no changes have been made to the entity
|
2120
|
-
# last retrieved it. If a change has been made, the update
|
2121
|
-
# `WAFOptimisticLockException`. If this happens, perform
|
2122
|
-
# and use the new token returned by that operation.
|
2118
|
+
# A token used for optimistic locking. WAF returns a token to your `get`
|
2119
|
+
# and `list` requests, to mark the state of the entity at the time of
|
2120
|
+
# the request. To make changes to the entity associated with the token,
|
2121
|
+
# you provide the token to operations like `update` and `delete`. WAF
|
2122
|
+
# uses the token to ensure that no changes have been made to the entity
|
2123
|
+
# since you last retrieved it. If a change has been made, the update
|
2124
|
+
# fails with a `WAFOptimisticLockException`. If this happens, perform
|
2125
|
+
# another `get`, and use the new token returned by that operation.
|
2123
2126
|
#
|
2124
2127
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2125
2128
|
#
|
@@ -2166,8 +2169,15 @@ module Aws::WAFV2
|
|
2166
2169
|
#
|
2167
2170
|
# * API and SDKs - For all calls, use the Region endpoint us-east-1.
|
2168
2171
|
#
|
2172
|
+
# @option params [String] :version_name
|
2173
|
+
# The version of the rule group. You can only use a version that is not
|
2174
|
+
# scheduled for expiration. If you don't provide this, WAF uses the
|
2175
|
+
# vendor's default version.
|
2176
|
+
#
|
2169
2177
|
# @return [Types::DescribeManagedRuleGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2170
2178
|
#
|
2179
|
+
# * {Types::DescribeManagedRuleGroupResponse#version_name #version_name} => String
|
2180
|
+
# * {Types::DescribeManagedRuleGroupResponse#sns_topic_arn #sns_topic_arn} => String
|
2171
2181
|
# * {Types::DescribeManagedRuleGroupResponse#capacity #capacity} => Integer
|
2172
2182
|
# * {Types::DescribeManagedRuleGroupResponse#rules #rules} => Array<Types::RuleSummary>
|
2173
2183
|
# * {Types::DescribeManagedRuleGroupResponse#label_namespace #label_namespace} => String
|
@@ -2180,10 +2190,13 @@ module Aws::WAFV2
|
|
2180
2190
|
# vendor_name: "VendorName", # required
|
2181
2191
|
# name: "EntityName", # required
|
2182
2192
|
# scope: "CLOUDFRONT", # required, accepts CLOUDFRONT, REGIONAL
|
2193
|
+
# version_name: "VersionKeyString",
|
2183
2194
|
# })
|
2184
2195
|
#
|
2185
2196
|
# @example Response structure
|
2186
2197
|
#
|
2198
|
+
# resp.version_name #=> String
|
2199
|
+
# resp.sns_topic_arn #=> String
|
2187
2200
|
# resp.capacity #=> Integer
|
2188
2201
|
# resp.rules #=> Array
|
2189
2202
|
# resp.rules[0].name #=> String
|
@@ -2363,6 +2376,84 @@ module Aws::WAFV2
|
|
2363
2376
|
req.send_request(options)
|
2364
2377
|
end
|
2365
2378
|
|
2379
|
+
# Retrieves the specified managed rule set.
|
2380
|
+
#
|
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.
|
2383
|
+
#
|
2384
|
+
# Vendors, you can use the managed rule set APIs to provide controlled
|
2385
|
+
# rollout of your versioned managed rule group offerings for your
|
2386
|
+
# customers. The APIs are `ListManagedRuleSets`, `GetManagedRuleSet`,
|
2387
|
+
# `PutManagedRuleSetVersions`, and
|
2388
|
+
# `UpdateManagedRuleSetVersionExpiryDate`.
|
2389
|
+
#
|
2390
|
+
# </note>
|
2391
|
+
#
|
2392
|
+
# @option params [required, String] :name
|
2393
|
+
# The name of the managed rule set. You use this, along with the rule
|
2394
|
+
# set ID, to identify the rule set.
|
2395
|
+
#
|
2396
|
+
# This name is assigned to the corresponding managed rule group, which
|
2397
|
+
# your customers can access and use.
|
2398
|
+
#
|
2399
|
+
# @option params [required, String] :scope
|
2400
|
+
# Specifies whether this is for an Amazon CloudFront distribution or for
|
2401
|
+
# a regional application. A regional application can be an Application
|
2402
|
+
# Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync
|
2403
|
+
# GraphQL API.
|
2404
|
+
#
|
2405
|
+
# To work with CloudFront, you must also specify the Region US East (N.
|
2406
|
+
# Virginia) as follows:
|
2407
|
+
#
|
2408
|
+
# * CLI - Specify the Region when you use the CloudFront scope:
|
2409
|
+
# `--scope=CLOUDFRONT --region=us-east-1`.
|
2410
|
+
#
|
2411
|
+
# * API and SDKs - For all calls, use the Region endpoint us-east-1.
|
2412
|
+
#
|
2413
|
+
# @option params [required, String] :id
|
2414
|
+
# A unique identifier for the managed rule set. The ID is returned in
|
2415
|
+
# the responses to commands like `list`. You provide it to operations
|
2416
|
+
# like `get` and `update`.
|
2417
|
+
#
|
2418
|
+
# @return [Types::GetManagedRuleSetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2419
|
+
#
|
2420
|
+
# * {Types::GetManagedRuleSetResponse#managed_rule_set #managed_rule_set} => Types::ManagedRuleSet
|
2421
|
+
# * {Types::GetManagedRuleSetResponse#lock_token #lock_token} => String
|
2422
|
+
#
|
2423
|
+
# @example Request syntax with placeholder values
|
2424
|
+
#
|
2425
|
+
# resp = client.get_managed_rule_set({
|
2426
|
+
# name: "EntityName", # required
|
2427
|
+
# scope: "CLOUDFRONT", # required, accepts CLOUDFRONT, REGIONAL
|
2428
|
+
# id: "EntityId", # required
|
2429
|
+
# })
|
2430
|
+
#
|
2431
|
+
# @example Response structure
|
2432
|
+
#
|
2433
|
+
# resp.managed_rule_set.name #=> String
|
2434
|
+
# resp.managed_rule_set.id #=> String
|
2435
|
+
# resp.managed_rule_set.arn #=> String
|
2436
|
+
# resp.managed_rule_set.description #=> String
|
2437
|
+
# resp.managed_rule_set.published_versions #=> Hash
|
2438
|
+
# resp.managed_rule_set.published_versions["VersionKeyString"].associated_rule_group_arn #=> String
|
2439
|
+
# resp.managed_rule_set.published_versions["VersionKeyString"].capacity #=> Integer
|
2440
|
+
# resp.managed_rule_set.published_versions["VersionKeyString"].forecasted_lifetime #=> Integer
|
2441
|
+
# resp.managed_rule_set.published_versions["VersionKeyString"].publish_timestamp #=> Time
|
2442
|
+
# resp.managed_rule_set.published_versions["VersionKeyString"].last_update_timestamp #=> Time
|
2443
|
+
# resp.managed_rule_set.published_versions["VersionKeyString"].expiry_timestamp #=> Time
|
2444
|
+
# resp.managed_rule_set.recommended_version #=> String
|
2445
|
+
# resp.managed_rule_set.label_namespace #=> String
|
2446
|
+
# resp.lock_token #=> String
|
2447
|
+
#
|
2448
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/GetManagedRuleSet AWS API Documentation
|
2449
|
+
#
|
2450
|
+
# @overload get_managed_rule_set(params = {})
|
2451
|
+
# @param [Hash] params ({})
|
2452
|
+
def get_managed_rule_set(params = {}, options = {})
|
2453
|
+
req = build_request(:get_managed_rule_set, params)
|
2454
|
+
req.send_request(options)
|
2455
|
+
end
|
2456
|
+
|
2366
2457
|
# Returns the IAM policy that is attached to the specified rule group.
|
2367
2458
|
#
|
2368
2459
|
# You must be the owner of the rule group to perform this operation.
|
@@ -2639,6 +2730,7 @@ module Aws::WAFV2
|
|
2639
2730
|
# resp.rule_group.rules[0].statement.not_statement.statement #=> Types::Statement
|
2640
2731
|
# resp.rule_group.rules[0].statement.managed_rule_group_statement.vendor_name #=> String
|
2641
2732
|
# resp.rule_group.rules[0].statement.managed_rule_group_statement.name #=> String
|
2733
|
+
# resp.rule_group.rules[0].statement.managed_rule_group_statement.version #=> String
|
2642
2734
|
# resp.rule_group.rules[0].statement.managed_rule_group_statement.excluded_rules #=> Array
|
2643
2735
|
# resp.rule_group.rules[0].statement.managed_rule_group_statement.excluded_rules[0].name #=> String
|
2644
2736
|
# resp.rule_group.rules[0].statement.managed_rule_group_statement.scope_down_statement #=> Types::Statement
|
@@ -2917,6 +3009,7 @@ module Aws::WAFV2
|
|
2917
3009
|
# resp.web_acl.rules[0].statement.not_statement.statement #=> Types::Statement
|
2918
3010
|
# resp.web_acl.rules[0].statement.managed_rule_group_statement.vendor_name #=> String
|
2919
3011
|
# resp.web_acl.rules[0].statement.managed_rule_group_statement.name #=> String
|
3012
|
+
# resp.web_acl.rules[0].statement.managed_rule_group_statement.version #=> String
|
2920
3013
|
# resp.web_acl.rules[0].statement.managed_rule_group_statement.excluded_rules #=> Array
|
2921
3014
|
# resp.web_acl.rules[0].statement.managed_rule_group_statement.excluded_rules[0].name #=> String
|
2922
3015
|
# resp.web_acl.rules[0].statement.managed_rule_group_statement.scope_down_statement #=> Types::Statement
|
@@ -2950,6 +3043,7 @@ module Aws::WAFV2
|
|
2950
3043
|
# resp.web_acl.pre_process_firewall_manager_rule_groups[0].priority #=> Integer
|
2951
3044
|
# resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.vendor_name #=> String
|
2952
3045
|
# resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.name #=> String
|
3046
|
+
# resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.version #=> String
|
2953
3047
|
# resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.excluded_rules #=> Array
|
2954
3048
|
# resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.excluded_rules[0].name #=> String
|
2955
3049
|
# resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.scope_down_statement.byte_match_statement.search_string #=> String
|
@@ -3040,6 +3134,7 @@ module Aws::WAFV2
|
|
3040
3134
|
# resp.web_acl.post_process_firewall_manager_rule_groups[0].priority #=> Integer
|
3041
3135
|
# resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.vendor_name #=> String
|
3042
3136
|
# resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.name #=> String
|
3137
|
+
# resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.version #=> String
|
3043
3138
|
# resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.excluded_rules #=> Array
|
3044
3139
|
# resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.excluded_rules[0].name #=> String
|
3045
3140
|
# resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.scope_down_statement.byte_match_statement.search_string #=> String
|
@@ -3246,6 +3341,7 @@ module Aws::WAFV2
|
|
3246
3341
|
# resp.web_acl.rules[0].statement.not_statement.statement #=> Types::Statement
|
3247
3342
|
# resp.web_acl.rules[0].statement.managed_rule_group_statement.vendor_name #=> String
|
3248
3343
|
# resp.web_acl.rules[0].statement.managed_rule_group_statement.name #=> String
|
3344
|
+
# resp.web_acl.rules[0].statement.managed_rule_group_statement.version #=> String
|
3249
3345
|
# resp.web_acl.rules[0].statement.managed_rule_group_statement.excluded_rules #=> Array
|
3250
3346
|
# resp.web_acl.rules[0].statement.managed_rule_group_statement.excluded_rules[0].name #=> String
|
3251
3347
|
# resp.web_acl.rules[0].statement.managed_rule_group_statement.scope_down_statement #=> Types::Statement
|
@@ -3279,6 +3375,7 @@ module Aws::WAFV2
|
|
3279
3375
|
# resp.web_acl.pre_process_firewall_manager_rule_groups[0].priority #=> Integer
|
3280
3376
|
# resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.vendor_name #=> String
|
3281
3377
|
# resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.name #=> String
|
3378
|
+
# resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.version #=> String
|
3282
3379
|
# resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.excluded_rules #=> Array
|
3283
3380
|
# resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.excluded_rules[0].name #=> String
|
3284
3381
|
# resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.scope_down_statement.byte_match_statement.search_string #=> String
|
@@ -3369,6 +3466,7 @@ module Aws::WAFV2
|
|
3369
3466
|
# resp.web_acl.post_process_firewall_manager_rule_groups[0].priority #=> Integer
|
3370
3467
|
# resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.vendor_name #=> String
|
3371
3468
|
# resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.name #=> String
|
3469
|
+
# resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.version #=> String
|
3372
3470
|
# resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.excluded_rules #=> Array
|
3373
3471
|
# resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.excluded_rules[0].name #=> String
|
3374
3472
|
# resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.scope_down_statement.byte_match_statement.search_string #=> String
|
@@ -3469,10 +3567,79 @@ module Aws::WAFV2
|
|
3469
3567
|
req.send_request(options)
|
3470
3568
|
end
|
3471
3569
|
|
3570
|
+
# Returns a list of the available versions for the specified managed
|
3571
|
+
# rule group.
|
3572
|
+
#
|
3573
|
+
# @option params [required, String] :vendor_name
|
3574
|
+
# The name of the managed rule group vendor. You use this, along with
|
3575
|
+
# the rule group name, to identify the rule group.
|
3576
|
+
#
|
3577
|
+
# @option params [required, String] :name
|
3578
|
+
# The name of the managed rule group. You use this, along with the
|
3579
|
+
# vendor name, to identify the rule group.
|
3580
|
+
#
|
3581
|
+
# @option params [required, String] :scope
|
3582
|
+
# Specifies whether this is for an Amazon CloudFront distribution or for
|
3583
|
+
# a regional application. A regional application can be an Application
|
3584
|
+
# Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync
|
3585
|
+
# GraphQL API.
|
3586
|
+
#
|
3587
|
+
# To work with CloudFront, you must also specify the Region US East (N.
|
3588
|
+
# Virginia) as follows:
|
3589
|
+
#
|
3590
|
+
# * CLI - Specify the Region when you use the CloudFront scope:
|
3591
|
+
# `--scope=CLOUDFRONT --region=us-east-1`.
|
3592
|
+
#
|
3593
|
+
# * API and SDKs - For all calls, use the Region endpoint us-east-1.
|
3594
|
+
#
|
3595
|
+
# @option params [String] :next_marker
|
3596
|
+
# When you request a list of objects with a `Limit` setting, if the
|
3597
|
+
# number of objects that are still available for retrieval exceeds the
|
3598
|
+
# limit, WAF returns a `NextMarker` value in the response. To retrieve
|
3599
|
+
# the next batch of objects, provide the marker from the prior call in
|
3600
|
+
# your next request.
|
3601
|
+
#
|
3602
|
+
# @option params [Integer] :limit
|
3603
|
+
# The maximum number of objects that you want WAF to return for this
|
3604
|
+
# request. If more objects are available, in the response, WAF provides
|
3605
|
+
# a `NextMarker` value that you can use in a subsequent call to get the
|
3606
|
+
# next batch of objects.
|
3607
|
+
#
|
3608
|
+
# @return [Types::ListAvailableManagedRuleGroupVersionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3609
|
+
#
|
3610
|
+
# * {Types::ListAvailableManagedRuleGroupVersionsResponse#next_marker #next_marker} => String
|
3611
|
+
# * {Types::ListAvailableManagedRuleGroupVersionsResponse#versions #versions} => Array<Types::ManagedRuleGroupVersion>
|
3612
|
+
#
|
3613
|
+
# @example Request syntax with placeholder values
|
3614
|
+
#
|
3615
|
+
# resp = client.list_available_managed_rule_group_versions({
|
3616
|
+
# vendor_name: "VendorName", # required
|
3617
|
+
# name: "EntityName", # required
|
3618
|
+
# scope: "CLOUDFRONT", # required, accepts CLOUDFRONT, REGIONAL
|
3619
|
+
# next_marker: "NextMarker",
|
3620
|
+
# limit: 1,
|
3621
|
+
# })
|
3622
|
+
#
|
3623
|
+
# @example Response structure
|
3624
|
+
#
|
3625
|
+
# resp.next_marker #=> String
|
3626
|
+
# resp.versions #=> Array
|
3627
|
+
# resp.versions[0].name #=> String
|
3628
|
+
# resp.versions[0].last_update_timestamp #=> Time
|
3629
|
+
#
|
3630
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/ListAvailableManagedRuleGroupVersions AWS API Documentation
|
3631
|
+
#
|
3632
|
+
# @overload list_available_managed_rule_group_versions(params = {})
|
3633
|
+
# @param [Hash] params ({})
|
3634
|
+
def list_available_managed_rule_group_versions(params = {}, options = {})
|
3635
|
+
req = build_request(:list_available_managed_rule_group_versions, params)
|
3636
|
+
req.send_request(options)
|
3637
|
+
end
|
3638
|
+
|
3472
3639
|
# Retrieves an array of managed rule groups that are available for you
|
3473
3640
|
# to use. This list includes all Amazon Web Services Managed Rules rule
|
3474
|
-
# groups and the Marketplace managed rule groups that you're
|
3475
|
-
# to.
|
3641
|
+
# groups and all of the Marketplace managed rule groups that you're
|
3642
|
+
# subscribed to.
|
3476
3643
|
#
|
3477
3644
|
# @option params [required, String] :scope
|
3478
3645
|
# Specifies whether this is for an Amazon CloudFront distribution or for
|
@@ -3667,6 +3834,79 @@ module Aws::WAFV2
|
|
3667
3834
|
req.send_request(options)
|
3668
3835
|
end
|
3669
3836
|
|
3837
|
+
# Retrieves the managed rule sets that you own.
|
3838
|
+
#
|
3839
|
+
# <note markdown="1"> This is intended for use only by vendors of managed rule sets. Vendors
|
3840
|
+
# are Amazon Web Services and Marketplace sellers.
|
3841
|
+
#
|
3842
|
+
# Vendors, you can use the managed rule set APIs to provide controlled
|
3843
|
+
# rollout of your versioned managed rule group offerings for your
|
3844
|
+
# customers. The APIs are `ListManagedRuleSets`, `GetManagedRuleSet`,
|
3845
|
+
# `PutManagedRuleSetVersions`, and
|
3846
|
+
# `UpdateManagedRuleSetVersionExpiryDate`.
|
3847
|
+
#
|
3848
|
+
# </note>
|
3849
|
+
#
|
3850
|
+
# @option params [required, String] :scope
|
3851
|
+
# Specifies whether this is for an Amazon CloudFront distribution or for
|
3852
|
+
# a regional application. A regional application can be an Application
|
3853
|
+
# Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync
|
3854
|
+
# GraphQL API.
|
3855
|
+
#
|
3856
|
+
# To work with CloudFront, you must also specify the Region US East (N.
|
3857
|
+
# Virginia) as follows:
|
3858
|
+
#
|
3859
|
+
# * CLI - Specify the Region when you use the CloudFront scope:
|
3860
|
+
# `--scope=CLOUDFRONT --region=us-east-1`.
|
3861
|
+
#
|
3862
|
+
# * API and SDKs - For all calls, use the Region endpoint us-east-1.
|
3863
|
+
#
|
3864
|
+
# @option params [String] :next_marker
|
3865
|
+
# When you request a list of objects with a `Limit` setting, if the
|
3866
|
+
# number of objects that are still available for retrieval exceeds the
|
3867
|
+
# limit, WAF returns a `NextMarker` value in the response. To retrieve
|
3868
|
+
# the next batch of objects, provide the marker from the prior call in
|
3869
|
+
# your next request.
|
3870
|
+
#
|
3871
|
+
# @option params [Integer] :limit
|
3872
|
+
# The maximum number of objects that you want WAF to return for this
|
3873
|
+
# request. If more objects are available, in the response, WAF provides
|
3874
|
+
# a `NextMarker` value that you can use in a subsequent call to get the
|
3875
|
+
# next batch of objects.
|
3876
|
+
#
|
3877
|
+
# @return [Types::ListManagedRuleSetsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3878
|
+
#
|
3879
|
+
# * {Types::ListManagedRuleSetsResponse#next_marker #next_marker} => String
|
3880
|
+
# * {Types::ListManagedRuleSetsResponse#managed_rule_sets #managed_rule_sets} => Array<Types::ManagedRuleSetSummary>
|
3881
|
+
#
|
3882
|
+
# @example Request syntax with placeholder values
|
3883
|
+
#
|
3884
|
+
# resp = client.list_managed_rule_sets({
|
3885
|
+
# scope: "CLOUDFRONT", # required, accepts CLOUDFRONT, REGIONAL
|
3886
|
+
# next_marker: "NextMarker",
|
3887
|
+
# limit: 1,
|
3888
|
+
# })
|
3889
|
+
#
|
3890
|
+
# @example Response structure
|
3891
|
+
#
|
3892
|
+
# resp.next_marker #=> String
|
3893
|
+
# resp.managed_rule_sets #=> Array
|
3894
|
+
# resp.managed_rule_sets[0].name #=> String
|
3895
|
+
# resp.managed_rule_sets[0].id #=> String
|
3896
|
+
# resp.managed_rule_sets[0].description #=> String
|
3897
|
+
# resp.managed_rule_sets[0].lock_token #=> String
|
3898
|
+
# resp.managed_rule_sets[0].arn #=> String
|
3899
|
+
# resp.managed_rule_sets[0].label_namespace #=> String
|
3900
|
+
#
|
3901
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/ListManagedRuleSets AWS API Documentation
|
3902
|
+
#
|
3903
|
+
# @overload list_managed_rule_sets(params = {})
|
3904
|
+
# @param [Hash] params ({})
|
3905
|
+
def list_managed_rule_sets(params = {}, options = {})
|
3906
|
+
req = build_request(:list_managed_rule_sets, params)
|
3907
|
+
req.send_request(options)
|
3908
|
+
end
|
3909
|
+
|
3670
3910
|
# Retrieves an array of RegexPatternSetSummary objects for the regex
|
3671
3911
|
# pattern sets that you manage.
|
3672
3912
|
#
|
@@ -4084,6 +4324,110 @@ module Aws::WAFV2
|
|
4084
4324
|
req.send_request(options)
|
4085
4325
|
end
|
4086
4326
|
|
4327
|
+
# Defines the versions of your managed rule set that you are offering to
|
4328
|
+
# the customers. Customers see your offerings as managed rule groups
|
4329
|
+
# with versioning.
|
4330
|
+
#
|
4331
|
+
# <note markdown="1"> This is intended for use only by vendors of managed rule sets. Vendors
|
4332
|
+
# are Amazon Web Services and Marketplace sellers.
|
4333
|
+
#
|
4334
|
+
# Vendors, you can use the managed rule set APIs to provide controlled
|
4335
|
+
# rollout of your versioned managed rule group offerings for your
|
4336
|
+
# customers. The APIs are `ListManagedRuleSets`, `GetManagedRuleSet`,
|
4337
|
+
# `PutManagedRuleSetVersions`, and
|
4338
|
+
# `UpdateManagedRuleSetVersionExpiryDate`.
|
4339
|
+
#
|
4340
|
+
# </note>
|
4341
|
+
#
|
4342
|
+
# Customers retrieve their managed rule group list by calling
|
4343
|
+
# ListAvailableManagedRuleGroups. The name that you provide here for
|
4344
|
+
# your managed rule set is the name the customer sees for the
|
4345
|
+
# corresponding managed rule group. Customers can retrieve the available
|
4346
|
+
# versions for a managed rule group by calling
|
4347
|
+
# ListAvailableManagedRuleGroupVersions. You provide a rule group
|
4348
|
+
# specification for each version. For each managed rule set, you must
|
4349
|
+
# specify a version that you recommend using.
|
4350
|
+
#
|
4351
|
+
# To initiate the expiration of a managed rule group version, use
|
4352
|
+
# UpdateManagedRuleSetVersionExpiryDate.
|
4353
|
+
#
|
4354
|
+
# @option params [required, String] :name
|
4355
|
+
# The name of the managed rule set. You use this, along with the rule
|
4356
|
+
# set ID, to identify the rule set.
|
4357
|
+
#
|
4358
|
+
# This name is assigned to the corresponding managed rule group, which
|
4359
|
+
# your customers can access and use.
|
4360
|
+
#
|
4361
|
+
# @option params [required, String] :scope
|
4362
|
+
# Specifies whether this is for an Amazon CloudFront distribution or for
|
4363
|
+
# a regional application. A regional application can be an Application
|
4364
|
+
# Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync
|
4365
|
+
# GraphQL API.
|
4366
|
+
#
|
4367
|
+
# To work with CloudFront, you must also specify the Region US East (N.
|
4368
|
+
# Virginia) as follows:
|
4369
|
+
#
|
4370
|
+
# * CLI - Specify the Region when you use the CloudFront scope:
|
4371
|
+
# `--scope=CLOUDFRONT --region=us-east-1`.
|
4372
|
+
#
|
4373
|
+
# * API and SDKs - For all calls, use the Region endpoint us-east-1.
|
4374
|
+
#
|
4375
|
+
# @option params [required, String] :id
|
4376
|
+
# A unique identifier for the managed rule set. The ID is returned in
|
4377
|
+
# the responses to commands like `list`. You provide it to operations
|
4378
|
+
# like `get` and `update`.
|
4379
|
+
#
|
4380
|
+
# @option params [required, String] :lock_token
|
4381
|
+
# A token used for optimistic locking. WAF returns a token to your `get`
|
4382
|
+
# and `list` requests, to mark the state of the entity at the time of
|
4383
|
+
# the request. To make changes to the entity associated with the token,
|
4384
|
+
# you provide the token to operations like `update` and `delete`. WAF
|
4385
|
+
# uses the token to ensure that no changes have been made to the entity
|
4386
|
+
# since you last retrieved it. If a change has been made, the update
|
4387
|
+
# fails with a `WAFOptimisticLockException`. If this happens, perform
|
4388
|
+
# another `get`, and use the new token returned by that operation.
|
4389
|
+
#
|
4390
|
+
# @option params [String] :recommended_version
|
4391
|
+
# The version of the named managed rule group that you'd like your
|
4392
|
+
# customers to choose, from among your version offerings.
|
4393
|
+
#
|
4394
|
+
# @option params [Hash<String,Types::VersionToPublish>] :versions_to_publish
|
4395
|
+
# The versions of the named managed rule group that you want to offer to
|
4396
|
+
# your customers.
|
4397
|
+
#
|
4398
|
+
# @return [Types::PutManagedRuleSetVersionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4399
|
+
#
|
4400
|
+
# * {Types::PutManagedRuleSetVersionsResponse#next_lock_token #next_lock_token} => String
|
4401
|
+
#
|
4402
|
+
# @example Request syntax with placeholder values
|
4403
|
+
#
|
4404
|
+
# resp = client.put_managed_rule_set_versions({
|
4405
|
+
# name: "EntityName", # required
|
4406
|
+
# scope: "CLOUDFRONT", # required, accepts CLOUDFRONT, REGIONAL
|
4407
|
+
# id: "EntityId", # required
|
4408
|
+
# lock_token: "LockToken", # required
|
4409
|
+
# recommended_version: "VersionKeyString",
|
4410
|
+
# versions_to_publish: {
|
4411
|
+
# "VersionKeyString" => {
|
4412
|
+
# associated_rule_group_arn: "ResourceArn",
|
4413
|
+
# forecasted_lifetime: 1,
|
4414
|
+
# },
|
4415
|
+
# },
|
4416
|
+
# })
|
4417
|
+
#
|
4418
|
+
# @example Response structure
|
4419
|
+
#
|
4420
|
+
# resp.next_lock_token #=> String
|
4421
|
+
#
|
4422
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/PutManagedRuleSetVersions AWS API Documentation
|
4423
|
+
#
|
4424
|
+
# @overload put_managed_rule_set_versions(params = {})
|
4425
|
+
# @param [Hash] params ({})
|
4426
|
+
def put_managed_rule_set_versions(params = {}, options = {})
|
4427
|
+
req = build_request(:put_managed_rule_set_versions, params)
|
4428
|
+
req.send_request(options)
|
4429
|
+
end
|
4430
|
+
|
4087
4431
|
# Attaches an IAM policy to the specified resource. Use this to share a
|
4088
4432
|
# rule group across accounts.
|
4089
4433
|
#
|
@@ -4285,14 +4629,14 @@ module Aws::WAFV2
|
|
4285
4629
|
# [1]: https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing
|
4286
4630
|
#
|
4287
4631
|
# @option params [required, String] :lock_token
|
4288
|
-
# A token used for optimistic locking. WAF returns a token to your get
|
4289
|
-
# and list requests, to mark the state of the entity at the time of
|
4290
|
-
# request. To make changes to the entity associated with the token,
|
4291
|
-
# provide the token to operations like update and delete
|
4292
|
-
# token to ensure that no changes have been made to the entity
|
4293
|
-
# last retrieved it. If a change has been made, the update
|
4294
|
-
# `WAFOptimisticLockException`. If this happens, perform
|
4295
|
-
# and use the new token returned by that operation.
|
4632
|
+
# A token used for optimistic locking. WAF returns a token to your `get`
|
4633
|
+
# and `list` requests, to mark the state of the entity at the time of
|
4634
|
+
# the request. To make changes to the entity associated with the token,
|
4635
|
+
# you provide the token to operations like `update` and `delete`. WAF
|
4636
|
+
# uses the token to ensure that no changes have been made to the entity
|
4637
|
+
# since you last retrieved it. If a change has been made, the update
|
4638
|
+
# fails with a `WAFOptimisticLockException`. If this happens, perform
|
4639
|
+
# another `get`, and use the new token returned by that operation.
|
4296
4640
|
#
|
4297
4641
|
# @return [Types::UpdateIPSetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4298
4642
|
#
|
@@ -4322,6 +4666,101 @@ module Aws::WAFV2
|
|
4322
4666
|
req.send_request(options)
|
4323
4667
|
end
|
4324
4668
|
|
4669
|
+
# Updates the expiration information for your managed rule set. Use this
|
4670
|
+
# to initiate the expiration of a managed rule group version. After you
|
4671
|
+
# initiate expiration for a version, WAF excludes it from the reponse to
|
4672
|
+
# ListAvailableManagedRuleGroupVersions for the managed rule group.
|
4673
|
+
#
|
4674
|
+
# <note markdown="1"> This is intended for use only by vendors of managed rule sets. Vendors
|
4675
|
+
# are Amazon Web Services and Marketplace sellers.
|
4676
|
+
#
|
4677
|
+
# Vendors, you can use the managed rule set APIs to provide controlled
|
4678
|
+
# rollout of your versioned managed rule group offerings for your
|
4679
|
+
# customers. The APIs are `ListManagedRuleSets`, `GetManagedRuleSet`,
|
4680
|
+
# `PutManagedRuleSetVersions`, and
|
4681
|
+
# `UpdateManagedRuleSetVersionExpiryDate`.
|
4682
|
+
#
|
4683
|
+
# </note>
|
4684
|
+
#
|
4685
|
+
# @option params [required, String] :name
|
4686
|
+
# The name of the managed rule set. You use this, along with the rule
|
4687
|
+
# set ID, to identify the rule set.
|
4688
|
+
#
|
4689
|
+
# This name is assigned to the corresponding managed rule group, which
|
4690
|
+
# your customers can access and use.
|
4691
|
+
#
|
4692
|
+
# @option params [required, String] :scope
|
4693
|
+
# Specifies whether this is for an Amazon CloudFront distribution or for
|
4694
|
+
# a regional application. A regional application can be an Application
|
4695
|
+
# Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync
|
4696
|
+
# GraphQL API.
|
4697
|
+
#
|
4698
|
+
# To work with CloudFront, you must also specify the Region US East (N.
|
4699
|
+
# Virginia) as follows:
|
4700
|
+
#
|
4701
|
+
# * CLI - Specify the Region when you use the CloudFront scope:
|
4702
|
+
# `--scope=CLOUDFRONT --region=us-east-1`.
|
4703
|
+
#
|
4704
|
+
# * API and SDKs - For all calls, use the Region endpoint us-east-1.
|
4705
|
+
#
|
4706
|
+
# @option params [required, String] :id
|
4707
|
+
# A unique identifier for the managed rule set. The ID is returned in
|
4708
|
+
# the responses to commands like `list`. You provide it to operations
|
4709
|
+
# like `get` and `update`.
|
4710
|
+
#
|
4711
|
+
# @option params [required, String] :lock_token
|
4712
|
+
# A token used for optimistic locking. WAF returns a token to your `get`
|
4713
|
+
# and `list` requests, to mark the state of the entity at the time of
|
4714
|
+
# the request. To make changes to the entity associated with the token,
|
4715
|
+
# you provide the token to operations like `update` and `delete`. WAF
|
4716
|
+
# uses the token to ensure that no changes have been made to the entity
|
4717
|
+
# since you last retrieved it. If a change has been made, the update
|
4718
|
+
# fails with a `WAFOptimisticLockException`. If this happens, perform
|
4719
|
+
# another `get`, and use the new token returned by that operation.
|
4720
|
+
#
|
4721
|
+
# @option params [required, String] :version_to_expire
|
4722
|
+
# The version that you want to remove from your list of offerings for
|
4723
|
+
# the named managed rule group.
|
4724
|
+
#
|
4725
|
+
# @option params [required, Time,DateTime,Date,Integer,String] :expiry_timestamp
|
4726
|
+
# The time that you want the version to expire.
|
4727
|
+
#
|
4728
|
+
# Times are in Coordinated Universal Time (UTC) format. UTC format
|
4729
|
+
# includes the special designator, Z. For example,
|
4730
|
+
# "2016-09-27T14:50Z".
|
4731
|
+
#
|
4732
|
+
# @return [Types::UpdateManagedRuleSetVersionExpiryDateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4733
|
+
#
|
4734
|
+
# * {Types::UpdateManagedRuleSetVersionExpiryDateResponse#expiring_version #expiring_version} => String
|
4735
|
+
# * {Types::UpdateManagedRuleSetVersionExpiryDateResponse#expiry_timestamp #expiry_timestamp} => Time
|
4736
|
+
# * {Types::UpdateManagedRuleSetVersionExpiryDateResponse#next_lock_token #next_lock_token} => String
|
4737
|
+
#
|
4738
|
+
# @example Request syntax with placeholder values
|
4739
|
+
#
|
4740
|
+
# resp = client.update_managed_rule_set_version_expiry_date({
|
4741
|
+
# name: "EntityName", # required
|
4742
|
+
# scope: "CLOUDFRONT", # required, accepts CLOUDFRONT, REGIONAL
|
4743
|
+
# id: "EntityId", # required
|
4744
|
+
# lock_token: "LockToken", # required
|
4745
|
+
# version_to_expire: "VersionKeyString", # required
|
4746
|
+
# expiry_timestamp: Time.now, # required
|
4747
|
+
# })
|
4748
|
+
#
|
4749
|
+
# @example Response structure
|
4750
|
+
#
|
4751
|
+
# resp.expiring_version #=> String
|
4752
|
+
# resp.expiry_timestamp #=> Time
|
4753
|
+
# resp.next_lock_token #=> String
|
4754
|
+
#
|
4755
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/UpdateManagedRuleSetVersionExpiryDate AWS API Documentation
|
4756
|
+
#
|
4757
|
+
# @overload update_managed_rule_set_version_expiry_date(params = {})
|
4758
|
+
# @param [Hash] params ({})
|
4759
|
+
def update_managed_rule_set_version_expiry_date(params = {}, options = {})
|
4760
|
+
req = build_request(:update_managed_rule_set_version_expiry_date, params)
|
4761
|
+
req.send_request(options)
|
4762
|
+
end
|
4763
|
+
|
4325
4764
|
# Updates the specified RegexPatternSet.
|
4326
4765
|
#
|
4327
4766
|
# <note markdown="1"> This operation completely replaces the mutable specifications that you
|
@@ -4361,14 +4800,14 @@ module Aws::WAFV2
|
|
4361
4800
|
# @option params [required, Array<Types::Regex>] :regular_expression_list
|
4362
4801
|
#
|
4363
4802
|
# @option params [required, String] :lock_token
|
4364
|
-
# A token used for optimistic locking. WAF returns a token to your get
|
4365
|
-
# and list requests, to mark the state of the entity at the time of
|
4366
|
-
# request. To make changes to the entity associated with the token,
|
4367
|
-
# provide the token to operations like update and delete
|
4368
|
-
# token to ensure that no changes have been made to the entity
|
4369
|
-
# last retrieved it. If a change has been made, the update
|
4370
|
-
# `WAFOptimisticLockException`. If this happens, perform
|
4371
|
-
# and use the new token returned by that operation.
|
4803
|
+
# A token used for optimistic locking. WAF returns a token to your `get`
|
4804
|
+
# and `list` requests, to mark the state of the entity at the time of
|
4805
|
+
# the request. To make changes to the entity associated with the token,
|
4806
|
+
# you provide the token to operations like `update` and `delete`. WAF
|
4807
|
+
# uses the token to ensure that no changes have been made to the entity
|
4808
|
+
# since you last retrieved it. If a change has been made, the update
|
4809
|
+
# fails with a `WAFOptimisticLockException`. If this happens, perform
|
4810
|
+
# another `get`, and use the new token returned by that operation.
|
4372
4811
|
#
|
4373
4812
|
# @return [Types::UpdateRegexPatternSetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4374
4813
|
#
|
@@ -4455,14 +4894,14 @@ module Aws::WAFV2
|
|
4455
4894
|
# collection.
|
4456
4895
|
#
|
4457
4896
|
# @option params [required, String] :lock_token
|
4458
|
-
# A token used for optimistic locking. WAF returns a token to your get
|
4459
|
-
# and list requests, to mark the state of the entity at the time of
|
4460
|
-
# request. To make changes to the entity associated with the token,
|
4461
|
-
# provide the token to operations like update and delete
|
4462
|
-
# token to ensure that no changes have been made to the entity
|
4463
|
-
# last retrieved it. If a change has been made, the update
|
4464
|
-
# `WAFOptimisticLockException`. If this happens, perform
|
4465
|
-
# and use the new token returned by that operation.
|
4897
|
+
# A token used for optimistic locking. WAF returns a token to your `get`
|
4898
|
+
# and `list` requests, to mark the state of the entity at the time of
|
4899
|
+
# the request. To make changes to the entity associated with the token,
|
4900
|
+
# you provide the token to operations like `update` and `delete`. WAF
|
4901
|
+
# uses the token to ensure that no changes have been made to the entity
|
4902
|
+
# since you last retrieved it. If a change has been made, the update
|
4903
|
+
# fails with a `WAFOptimisticLockException`. If this happens, perform
|
4904
|
+
# another `get`, and use the new token returned by that operation.
|
4466
4905
|
#
|
4467
4906
|
# @option params [Hash<String,Types::CustomResponseBody>] :custom_response_bodies
|
4468
4907
|
# A map of custom response keys and content bodies. When you create a
|
@@ -4736,6 +5175,7 @@ module Aws::WAFV2
|
|
4736
5175
|
# managed_rule_group_statement: {
|
4737
5176
|
# vendor_name: "VendorName", # required
|
4738
5177
|
# name: "EntityName", # required
|
5178
|
+
# version: "VersionKeyString",
|
4739
5179
|
# excluded_rules: [
|
4740
5180
|
# {
|
4741
5181
|
# name: "EntityName", # required
|
@@ -4899,14 +5339,14 @@ module Aws::WAFV2
|
|
4899
5339
|
# collection.
|
4900
5340
|
#
|
4901
5341
|
# @option params [required, String] :lock_token
|
4902
|
-
# A token used for optimistic locking. WAF returns a token to your get
|
4903
|
-
# and list requests, to mark the state of the entity at the time of
|
4904
|
-
# request. To make changes to the entity associated with the token,
|
4905
|
-
# provide the token to operations like update and delete
|
4906
|
-
# token to ensure that no changes have been made to the entity
|
4907
|
-
# last retrieved it. If a change has been made, the update
|
4908
|
-
# `WAFOptimisticLockException`. If this happens, perform
|
4909
|
-
# and use the new token returned by that operation.
|
5342
|
+
# A token used for optimistic locking. WAF returns a token to your `get`
|
5343
|
+
# and `list` requests, to mark the state of the entity at the time of
|
5344
|
+
# the request. To make changes to the entity associated with the token,
|
5345
|
+
# you provide the token to operations like `update` and `delete`. WAF
|
5346
|
+
# uses the token to ensure that no changes have been made to the entity
|
5347
|
+
# since you last retrieved it. If a change has been made, the update
|
5348
|
+
# fails with a `WAFOptimisticLockException`. If this happens, perform
|
5349
|
+
# another `get`, and use the new token returned by that operation.
|
4910
5350
|
#
|
4911
5351
|
# @option params [Hash<String,Types::CustomResponseBody>] :custom_response_bodies
|
4912
5352
|
# A map of custom response keys and content bodies. When you create a
|
@@ -5204,6 +5644,7 @@ module Aws::WAFV2
|
|
5204
5644
|
# managed_rule_group_statement: {
|
5205
5645
|
# vendor_name: "VendorName", # required
|
5206
5646
|
# name: "EntityName", # required
|
5647
|
+
# version: "VersionKeyString",
|
5207
5648
|
# excluded_rules: [
|
5208
5649
|
# {
|
5209
5650
|
# name: "EntityName", # required
|
@@ -5318,7 +5759,7 @@ module Aws::WAFV2
|
|
5318
5759
|
params: params,
|
5319
5760
|
config: config)
|
5320
5761
|
context[:gem_name] = 'aws-sdk-wafv2'
|
5321
|
-
context[:gem_version] = '1.
|
5762
|
+
context[:gem_version] = '1.24.0'
|
5322
5763
|
Seahorse::Client::Request.new(handlers, context)
|
5323
5764
|
end
|
5324
5765
|
|