aws-sdk-wafv2 1.22.0 → 1.26.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dab7933e9d430af9bc8673674fc1bb2ec619819bf13a9d4b8921bdbe67f9d490
4
- data.tar.gz: 320bf5a0b2398365856bd19ebec2a7225ed5b8356d5c5cd51ee1a965e94e8abd
3
+ metadata.gz: c01cb4efa4631f585d688dd9c4e9944b2bfada503466284fe6e0cedf9b157b08
4
+ data.tar.gz: cb4f619aebbc1dd1fb8f953ad6d5fc9da8acd51deb1005670a2ce8303abbc9da
5
5
  SHA512:
6
- metadata.gz: 1a597e69dc5147978bc23cbe21c2fc40fda9bd04db27a18a33f8fcb709b0c83efeba4dd74f042bf429648524a00402b7ef72b1988c48a840f2a99f72dd4b58e5
7
- data.tar.gz: f6970840207a1c9154b35c7bfa255b18255a40acae455a247069ff4d9cd7c9e3379e92a79ab37a0f00f5909ace62063d50663b350495860464f587589c67cbb5
6
+ metadata.gz: 0ab84e826ad092a4a406cf7b324d50a1d78cf84feac1ae8432c3eb4f9800c87bc9f1218fa53d54a91de42f977f68c2153227564f3ee026adce8cf3c0ed18aeb8
7
+ data.tar.gz: 284c2c4a0eb71d94eef5df5e6770bbedc7136508adee7d4e2e37295186754a5971713d31ae1db2d4b7e05982105e08a6cae65530eb0843fa8573d484879dd528
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.26.0 (2021-09-14)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for including rate based rules in a rule group.
8
+
9
+ 1.25.0 (2021-09-01)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.24.0 (2021-08-09)
15
+ ------------------
16
+
17
+ * Feature - This release adds APIs to support versioning feature of AWS WAF Managed rule groups
18
+
19
+ 1.23.0 (2021-07-30)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
4
24
  1.22.0 (2021-07-28)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.22.0
1
+ 1.26.0
@@ -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
- # Specify IPV4 or IPV6.
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 the
1840
- # request. To make changes to the entity associated with the token, you
1841
- # provide the token to operations like update and delete. WAF uses the
1842
- # token to ensure that no changes have been made to the entity since you
1843
- # last retrieved it. If a change has been made, the update fails with a
1844
- # `WAFOptimisticLockException`. If this happens, perform another get,
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 the
1899
- # request. To make changes to the entity associated with the token, you
1900
- # provide the token to operations like update and delete. WAF uses the
1901
- # token to ensure that no changes have been made to the entity since you
1902
- # last retrieved it. If a change has been made, the update fails with a
1903
- # `WAFOptimisticLockException`. If this happens, perform another get,
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 the
2004
- # request. To make changes to the entity associated with the token, you
2005
- # provide the token to operations like update and delete. WAF uses the
2006
- # token to ensure that no changes have been made to the entity since you
2007
- # last retrieved it. If a change has been made, the update fails with a
2008
- # `WAFOptimisticLockException`. If this happens, perform another get,
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 the
2059
- # request. To make changes to the entity associated with the token, you
2060
- # provide the token to operations like update and delete. WAF uses the
2061
- # token to ensure that no changes have been made to the entity since you
2062
- # last retrieved it. If a change has been made, the update fails with a
2063
- # `WAFOptimisticLockException`. If this happens, perform another get,
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 the
2117
- # request. To make changes to the entity associated with the token, you
2118
- # provide the token to operations like update and delete. WAF uses the
2119
- # token to ensure that no changes have been made to the entity since you
2120
- # last retrieved it. If a change has been made, the update fails with a
2121
- # `WAFOptimisticLockException`. If this happens, perform another get,
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&lt;Types::RuleSummary&gt;
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 Amazon Web Services 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.
@@ -2394,10 +2485,24 @@ module Aws::WAFV2
2394
2485
  req.send_request(options)
2395
2486
  end
2396
2487
 
2397
- # Retrieves the keys that are currently blocked by a rate-based rule.
2398
- # The maximum number of managed keys that can be blocked for a single
2399
- # rate-based rule is 10,000. If more than 10,000 addresses exceed the
2400
- # rate limit, those with the highest rates are blocked.
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.
2401
2506
  #
2402
2507
  # @option params [required, String] :scope
2403
2508
  # Specifies whether this is for an Amazon CloudFront distribution or for
@@ -2422,8 +2527,16 @@ module Aws::WAFV2
2422
2527
  # responses to create and list commands. You provide it to operations
2423
2528
  # like update and delete.
2424
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
+ #
2425
2535
  # @option params [required, String] :rule_name
2426
- # 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`.
2427
2540
  #
2428
2541
  # @return [Types::GetRateBasedStatementManagedKeysResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2429
2542
  #
@@ -2436,6 +2549,7 @@ module Aws::WAFV2
2436
2549
  # scope: "CLOUDFRONT", # required, accepts CLOUDFRONT, REGIONAL
2437
2550
  # web_acl_name: "EntityName", # required
2438
2551
  # web_acl_id: "EntityId", # required
2552
+ # rule_group_rule_name: "EntityName",
2439
2553
  # rule_name: "EntityName", # required
2440
2554
  # })
2441
2555
  #
@@ -2639,6 +2753,7 @@ module Aws::WAFV2
2639
2753
  # resp.rule_group.rules[0].statement.not_statement.statement #=> Types::Statement
2640
2754
  # resp.rule_group.rules[0].statement.managed_rule_group_statement.vendor_name #=> String
2641
2755
  # resp.rule_group.rules[0].statement.managed_rule_group_statement.name #=> String
2756
+ # resp.rule_group.rules[0].statement.managed_rule_group_statement.version #=> String
2642
2757
  # resp.rule_group.rules[0].statement.managed_rule_group_statement.excluded_rules #=> Array
2643
2758
  # resp.rule_group.rules[0].statement.managed_rule_group_statement.excluded_rules[0].name #=> String
2644
2759
  # resp.rule_group.rules[0].statement.managed_rule_group_statement.scope_down_statement #=> Types::Statement
@@ -2917,6 +3032,7 @@ module Aws::WAFV2
2917
3032
  # resp.web_acl.rules[0].statement.not_statement.statement #=> Types::Statement
2918
3033
  # resp.web_acl.rules[0].statement.managed_rule_group_statement.vendor_name #=> String
2919
3034
  # resp.web_acl.rules[0].statement.managed_rule_group_statement.name #=> String
3035
+ # resp.web_acl.rules[0].statement.managed_rule_group_statement.version #=> String
2920
3036
  # resp.web_acl.rules[0].statement.managed_rule_group_statement.excluded_rules #=> Array
2921
3037
  # resp.web_acl.rules[0].statement.managed_rule_group_statement.excluded_rules[0].name #=> String
2922
3038
  # resp.web_acl.rules[0].statement.managed_rule_group_statement.scope_down_statement #=> Types::Statement
@@ -2950,6 +3066,7 @@ module Aws::WAFV2
2950
3066
  # resp.web_acl.pre_process_firewall_manager_rule_groups[0].priority #=> Integer
2951
3067
  # resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.vendor_name #=> String
2952
3068
  # resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.name #=> String
3069
+ # resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.version #=> String
2953
3070
  # resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.excluded_rules #=> Array
2954
3071
  # resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.excluded_rules[0].name #=> String
2955
3072
  # 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 +3157,7 @@ module Aws::WAFV2
3040
3157
  # resp.web_acl.post_process_firewall_manager_rule_groups[0].priority #=> Integer
3041
3158
  # resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.vendor_name #=> String
3042
3159
  # resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.name #=> String
3160
+ # resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.version #=> String
3043
3161
  # resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.excluded_rules #=> Array
3044
3162
  # resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.excluded_rules[0].name #=> String
3045
3163
  # 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 +3364,7 @@ module Aws::WAFV2
3246
3364
  # resp.web_acl.rules[0].statement.not_statement.statement #=> Types::Statement
3247
3365
  # resp.web_acl.rules[0].statement.managed_rule_group_statement.vendor_name #=> String
3248
3366
  # resp.web_acl.rules[0].statement.managed_rule_group_statement.name #=> String
3367
+ # resp.web_acl.rules[0].statement.managed_rule_group_statement.version #=> String
3249
3368
  # resp.web_acl.rules[0].statement.managed_rule_group_statement.excluded_rules #=> Array
3250
3369
  # resp.web_acl.rules[0].statement.managed_rule_group_statement.excluded_rules[0].name #=> String
3251
3370
  # resp.web_acl.rules[0].statement.managed_rule_group_statement.scope_down_statement #=> Types::Statement
@@ -3279,6 +3398,7 @@ module Aws::WAFV2
3279
3398
  # resp.web_acl.pre_process_firewall_manager_rule_groups[0].priority #=> Integer
3280
3399
  # resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.vendor_name #=> String
3281
3400
  # resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.name #=> String
3401
+ # resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.version #=> String
3282
3402
  # resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.excluded_rules #=> Array
3283
3403
  # resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.excluded_rules[0].name #=> String
3284
3404
  # 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 +3489,7 @@ module Aws::WAFV2
3369
3489
  # resp.web_acl.post_process_firewall_manager_rule_groups[0].priority #=> Integer
3370
3490
  # resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.vendor_name #=> String
3371
3491
  # resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.name #=> String
3492
+ # resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.version #=> String
3372
3493
  # resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.excluded_rules #=> Array
3373
3494
  # resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.excluded_rules[0].name #=> String
3374
3495
  # 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 +3590,79 @@ module Aws::WAFV2
3469
3590
  req.send_request(options)
3470
3591
  end
3471
3592
 
3593
+ # Returns a list of the available versions for the specified managed
3594
+ # rule group.
3595
+ #
3596
+ # @option params [required, String] :vendor_name
3597
+ # The name of the managed rule group vendor. You use this, along with
3598
+ # the rule group name, to identify the rule group.
3599
+ #
3600
+ # @option params [required, String] :name
3601
+ # The name of the managed rule group. You use this, along with the
3602
+ # vendor name, to identify the rule group.
3603
+ #
3604
+ # @option params [required, String] :scope
3605
+ # Specifies whether this is for an Amazon CloudFront distribution or for
3606
+ # a regional application. A regional application can be an Application
3607
+ # Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync
3608
+ # GraphQL API.
3609
+ #
3610
+ # To work with CloudFront, you must also specify the Region US East (N.
3611
+ # Virginia) as follows:
3612
+ #
3613
+ # * CLI - Specify the Region when you use the CloudFront scope:
3614
+ # `--scope=CLOUDFRONT --region=us-east-1`.
3615
+ #
3616
+ # * API and SDKs - For all calls, use the Region endpoint us-east-1.
3617
+ #
3618
+ # @option params [String] :next_marker
3619
+ # When you request a list of objects with a `Limit` setting, if the
3620
+ # number of objects that are still available for retrieval exceeds the
3621
+ # limit, WAF returns a `NextMarker` value in the response. To retrieve
3622
+ # the next batch of objects, provide the marker from the prior call in
3623
+ # your next request.
3624
+ #
3625
+ # @option params [Integer] :limit
3626
+ # The maximum number of objects that you want WAF to return for this
3627
+ # request. If more objects are available, in the response, WAF provides
3628
+ # a `NextMarker` value that you can use in a subsequent call to get the
3629
+ # next batch of objects.
3630
+ #
3631
+ # @return [Types::ListAvailableManagedRuleGroupVersionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3632
+ #
3633
+ # * {Types::ListAvailableManagedRuleGroupVersionsResponse#next_marker #next_marker} => String
3634
+ # * {Types::ListAvailableManagedRuleGroupVersionsResponse#versions #versions} => Array&lt;Types::ManagedRuleGroupVersion&gt;
3635
+ #
3636
+ # @example Request syntax with placeholder values
3637
+ #
3638
+ # resp = client.list_available_managed_rule_group_versions({
3639
+ # vendor_name: "VendorName", # required
3640
+ # name: "EntityName", # required
3641
+ # scope: "CLOUDFRONT", # required, accepts CLOUDFRONT, REGIONAL
3642
+ # next_marker: "NextMarker",
3643
+ # limit: 1,
3644
+ # })
3645
+ #
3646
+ # @example Response structure
3647
+ #
3648
+ # resp.next_marker #=> String
3649
+ # resp.versions #=> Array
3650
+ # resp.versions[0].name #=> String
3651
+ # resp.versions[0].last_update_timestamp #=> Time
3652
+ #
3653
+ # @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/ListAvailableManagedRuleGroupVersions AWS API Documentation
3654
+ #
3655
+ # @overload list_available_managed_rule_group_versions(params = {})
3656
+ # @param [Hash] params ({})
3657
+ def list_available_managed_rule_group_versions(params = {}, options = {})
3658
+ req = build_request(:list_available_managed_rule_group_versions, params)
3659
+ req.send_request(options)
3660
+ end
3661
+
3472
3662
  # Retrieves an array of managed rule groups that are available for you
3473
3663
  # to use. This list includes all Amazon Web Services Managed Rules rule
3474
- # groups and the Marketplace managed rule groups that you're subscribed
3475
- # to.
3664
+ # groups and all of the Amazon Web Services Marketplace managed rule
3665
+ # groups that you're subscribed to.
3476
3666
  #
3477
3667
  # @option params [required, String] :scope
3478
3668
  # Specifies whether this is for an Amazon CloudFront distribution or for
@@ -3667,6 +3857,79 @@ module Aws::WAFV2
3667
3857
  req.send_request(options)
3668
3858
  end
3669
3859
 
3860
+ # Retrieves the managed rule sets that you own.
3861
+ #
3862
+ # <note markdown="1"> This is intended for use only by vendors of managed rule sets. Vendors
3863
+ # are Amazon Web Services and Amazon Web Services Marketplace sellers.
3864
+ #
3865
+ # Vendors, you can use the managed rule set APIs to provide controlled
3866
+ # rollout of your versioned managed rule group offerings for your
3867
+ # customers. The APIs are `ListManagedRuleSets`, `GetManagedRuleSet`,
3868
+ # `PutManagedRuleSetVersions`, and
3869
+ # `UpdateManagedRuleSetVersionExpiryDate`.
3870
+ #
3871
+ # </note>
3872
+ #
3873
+ # @option params [required, String] :scope
3874
+ # Specifies whether this is for an Amazon CloudFront distribution or for
3875
+ # a regional application. A regional application can be an Application
3876
+ # Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync
3877
+ # GraphQL API.
3878
+ #
3879
+ # To work with CloudFront, you must also specify the Region US East (N.
3880
+ # Virginia) as follows:
3881
+ #
3882
+ # * CLI - Specify the Region when you use the CloudFront scope:
3883
+ # `--scope=CLOUDFRONT --region=us-east-1`.
3884
+ #
3885
+ # * API and SDKs - For all calls, use the Region endpoint us-east-1.
3886
+ #
3887
+ # @option params [String] :next_marker
3888
+ # When you request a list of objects with a `Limit` setting, if the
3889
+ # number of objects that are still available for retrieval exceeds the
3890
+ # limit, WAF returns a `NextMarker` value in the response. To retrieve
3891
+ # the next batch of objects, provide the marker from the prior call in
3892
+ # your next request.
3893
+ #
3894
+ # @option params [Integer] :limit
3895
+ # The maximum number of objects that you want WAF to return for this
3896
+ # request. If more objects are available, in the response, WAF provides
3897
+ # a `NextMarker` value that you can use in a subsequent call to get the
3898
+ # next batch of objects.
3899
+ #
3900
+ # @return [Types::ListManagedRuleSetsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3901
+ #
3902
+ # * {Types::ListManagedRuleSetsResponse#next_marker #next_marker} => String
3903
+ # * {Types::ListManagedRuleSetsResponse#managed_rule_sets #managed_rule_sets} => Array&lt;Types::ManagedRuleSetSummary&gt;
3904
+ #
3905
+ # @example Request syntax with placeholder values
3906
+ #
3907
+ # resp = client.list_managed_rule_sets({
3908
+ # scope: "CLOUDFRONT", # required, accepts CLOUDFRONT, REGIONAL
3909
+ # next_marker: "NextMarker",
3910
+ # limit: 1,
3911
+ # })
3912
+ #
3913
+ # @example Response structure
3914
+ #
3915
+ # resp.next_marker #=> String
3916
+ # resp.managed_rule_sets #=> Array
3917
+ # resp.managed_rule_sets[0].name #=> String
3918
+ # resp.managed_rule_sets[0].id #=> String
3919
+ # resp.managed_rule_sets[0].description #=> String
3920
+ # resp.managed_rule_sets[0].lock_token #=> String
3921
+ # resp.managed_rule_sets[0].arn #=> String
3922
+ # resp.managed_rule_sets[0].label_namespace #=> String
3923
+ #
3924
+ # @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/ListManagedRuleSets AWS API Documentation
3925
+ #
3926
+ # @overload list_managed_rule_sets(params = {})
3927
+ # @param [Hash] params ({})
3928
+ def list_managed_rule_sets(params = {}, options = {})
3929
+ req = build_request(:list_managed_rule_sets, params)
3930
+ req.send_request(options)
3931
+ end
3932
+
3670
3933
  # Retrieves an array of RegexPatternSetSummary objects for the regex
3671
3934
  # pattern sets that you manage.
3672
3935
  #
@@ -4084,6 +4347,110 @@ module Aws::WAFV2
4084
4347
  req.send_request(options)
4085
4348
  end
4086
4349
 
4350
+ # Defines the versions of your managed rule set that you are offering to
4351
+ # the customers. Customers see your offerings as managed rule groups
4352
+ # with versioning.
4353
+ #
4354
+ # <note markdown="1"> This is intended for use only by vendors of managed rule sets. Vendors
4355
+ # are Amazon Web Services and Amazon Web Services Marketplace sellers.
4356
+ #
4357
+ # Vendors, you can use the managed rule set APIs to provide controlled
4358
+ # rollout of your versioned managed rule group offerings for your
4359
+ # customers. The APIs are `ListManagedRuleSets`, `GetManagedRuleSet`,
4360
+ # `PutManagedRuleSetVersions`, and
4361
+ # `UpdateManagedRuleSetVersionExpiryDate`.
4362
+ #
4363
+ # </note>
4364
+ #
4365
+ # Customers retrieve their managed rule group list by calling
4366
+ # ListAvailableManagedRuleGroups. The name that you provide here for
4367
+ # your managed rule set is the name the customer sees for the
4368
+ # corresponding managed rule group. Customers can retrieve the available
4369
+ # versions for a managed rule group by calling
4370
+ # ListAvailableManagedRuleGroupVersions. You provide a rule group
4371
+ # specification for each version. For each managed rule set, you must
4372
+ # specify a version that you recommend using.
4373
+ #
4374
+ # To initiate the expiration of a managed rule group version, use
4375
+ # UpdateManagedRuleSetVersionExpiryDate.
4376
+ #
4377
+ # @option params [required, String] :name
4378
+ # The name of the managed rule set. You use this, along with the rule
4379
+ # set ID, to identify the rule set.
4380
+ #
4381
+ # This name is assigned to the corresponding managed rule group, which
4382
+ # your customers can access and use.
4383
+ #
4384
+ # @option params [required, String] :scope
4385
+ # Specifies whether this is for an Amazon CloudFront distribution or for
4386
+ # a regional application. A regional application can be an Application
4387
+ # Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync
4388
+ # GraphQL API.
4389
+ #
4390
+ # To work with CloudFront, you must also specify the Region US East (N.
4391
+ # Virginia) as follows:
4392
+ #
4393
+ # * CLI - Specify the Region when you use the CloudFront scope:
4394
+ # `--scope=CLOUDFRONT --region=us-east-1`.
4395
+ #
4396
+ # * API and SDKs - For all calls, use the Region endpoint us-east-1.
4397
+ #
4398
+ # @option params [required, String] :id
4399
+ # A unique identifier for the managed rule set. The ID is returned in
4400
+ # the responses to commands like `list`. You provide it to operations
4401
+ # like `get` and `update`.
4402
+ #
4403
+ # @option params [required, String] :lock_token
4404
+ # A token used for optimistic locking. WAF returns a token to your `get`
4405
+ # and `list` requests, to mark the state of the entity at the time of
4406
+ # the request. To make changes to the entity associated with the token,
4407
+ # you provide the token to operations like `update` and `delete`. WAF
4408
+ # uses the token to ensure that no changes have been made to the entity
4409
+ # since you last retrieved it. If a change has been made, the update
4410
+ # fails with a `WAFOptimisticLockException`. If this happens, perform
4411
+ # another `get`, and use the new token returned by that operation.
4412
+ #
4413
+ # @option params [String] :recommended_version
4414
+ # The version of the named managed rule group that you'd like your
4415
+ # customers to choose, from among your version offerings.
4416
+ #
4417
+ # @option params [Hash<String,Types::VersionToPublish>] :versions_to_publish
4418
+ # The versions of the named managed rule group that you want to offer to
4419
+ # your customers.
4420
+ #
4421
+ # @return [Types::PutManagedRuleSetVersionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4422
+ #
4423
+ # * {Types::PutManagedRuleSetVersionsResponse#next_lock_token #next_lock_token} => String
4424
+ #
4425
+ # @example Request syntax with placeholder values
4426
+ #
4427
+ # resp = client.put_managed_rule_set_versions({
4428
+ # name: "EntityName", # required
4429
+ # scope: "CLOUDFRONT", # required, accepts CLOUDFRONT, REGIONAL
4430
+ # id: "EntityId", # required
4431
+ # lock_token: "LockToken", # required
4432
+ # recommended_version: "VersionKeyString",
4433
+ # versions_to_publish: {
4434
+ # "VersionKeyString" => {
4435
+ # associated_rule_group_arn: "ResourceArn",
4436
+ # forecasted_lifetime: 1,
4437
+ # },
4438
+ # },
4439
+ # })
4440
+ #
4441
+ # @example Response structure
4442
+ #
4443
+ # resp.next_lock_token #=> String
4444
+ #
4445
+ # @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/PutManagedRuleSetVersions AWS API Documentation
4446
+ #
4447
+ # @overload put_managed_rule_set_versions(params = {})
4448
+ # @param [Hash] params ({})
4449
+ def put_managed_rule_set_versions(params = {}, options = {})
4450
+ req = build_request(:put_managed_rule_set_versions, params)
4451
+ req.send_request(options)
4452
+ end
4453
+
4087
4454
  # Attaches an IAM policy to the specified resource. Use this to share a
4088
4455
  # rule group across accounts.
4089
4456
  #
@@ -4285,14 +4652,14 @@ module Aws::WAFV2
4285
4652
  # [1]: https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing
4286
4653
  #
4287
4654
  # @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 the
4290
- # request. To make changes to the entity associated with the token, you
4291
- # provide the token to operations like update and delete. WAF uses the
4292
- # token to ensure that no changes have been made to the entity since you
4293
- # last retrieved it. If a change has been made, the update fails with a
4294
- # `WAFOptimisticLockException`. If this happens, perform another get,
4295
- # and use the new token returned by that operation.
4655
+ # A token used for optimistic locking. WAF returns a token to your `get`
4656
+ # and `list` requests, to mark the state of the entity at the time of
4657
+ # the request. To make changes to the entity associated with the token,
4658
+ # you provide the token to operations like `update` and `delete`. WAF
4659
+ # uses the token to ensure that no changes have been made to the entity
4660
+ # since you last retrieved it. If a change has been made, the update
4661
+ # fails with a `WAFOptimisticLockException`. If this happens, perform
4662
+ # another `get`, and use the new token returned by that operation.
4296
4663
  #
4297
4664
  # @return [Types::UpdateIPSetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4298
4665
  #
@@ -4322,6 +4689,101 @@ module Aws::WAFV2
4322
4689
  req.send_request(options)
4323
4690
  end
4324
4691
 
4692
+ # Updates the expiration information for your managed rule set. Use this
4693
+ # to initiate the expiration of a managed rule group version. After you
4694
+ # initiate expiration for a version, WAF excludes it from the reponse to
4695
+ # ListAvailableManagedRuleGroupVersions for the managed rule group.
4696
+ #
4697
+ # <note markdown="1"> This is intended for use only by vendors of managed rule sets. Vendors
4698
+ # are Amazon Web Services and Amazon Web Services Marketplace sellers.
4699
+ #
4700
+ # Vendors, you can use the managed rule set APIs to provide controlled
4701
+ # rollout of your versioned managed rule group offerings for your
4702
+ # customers. The APIs are `ListManagedRuleSets`, `GetManagedRuleSet`,
4703
+ # `PutManagedRuleSetVersions`, and
4704
+ # `UpdateManagedRuleSetVersionExpiryDate`.
4705
+ #
4706
+ # </note>
4707
+ #
4708
+ # @option params [required, String] :name
4709
+ # The name of the managed rule set. You use this, along with the rule
4710
+ # set ID, to identify the rule set.
4711
+ #
4712
+ # This name is assigned to the corresponding managed rule group, which
4713
+ # your customers can access and use.
4714
+ #
4715
+ # @option params [required, String] :scope
4716
+ # Specifies whether this is for an Amazon CloudFront distribution or for
4717
+ # a regional application. A regional application can be an Application
4718
+ # Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync
4719
+ # GraphQL API.
4720
+ #
4721
+ # To work with CloudFront, you must also specify the Region US East (N.
4722
+ # Virginia) as follows:
4723
+ #
4724
+ # * CLI - Specify the Region when you use the CloudFront scope:
4725
+ # `--scope=CLOUDFRONT --region=us-east-1`.
4726
+ #
4727
+ # * API and SDKs - For all calls, use the Region endpoint us-east-1.
4728
+ #
4729
+ # @option params [required, String] :id
4730
+ # A unique identifier for the managed rule set. The ID is returned in
4731
+ # the responses to commands like `list`. You provide it to operations
4732
+ # like `get` and `update`.
4733
+ #
4734
+ # @option params [required, String] :lock_token
4735
+ # A token used for optimistic locking. WAF returns a token to your `get`
4736
+ # and `list` requests, to mark the state of the entity at the time of
4737
+ # the request. To make changes to the entity associated with the token,
4738
+ # you provide the token to operations like `update` and `delete`. WAF
4739
+ # uses the token to ensure that no changes have been made to the entity
4740
+ # since you last retrieved it. If a change has been made, the update
4741
+ # fails with a `WAFOptimisticLockException`. If this happens, perform
4742
+ # another `get`, and use the new token returned by that operation.
4743
+ #
4744
+ # @option params [required, String] :version_to_expire
4745
+ # The version that you want to remove from your list of offerings for
4746
+ # the named managed rule group.
4747
+ #
4748
+ # @option params [required, Time,DateTime,Date,Integer,String] :expiry_timestamp
4749
+ # The time that you want the version to expire.
4750
+ #
4751
+ # Times are in Coordinated Universal Time (UTC) format. UTC format
4752
+ # includes the special designator, Z. For example,
4753
+ # "2016-09-27T14:50Z".
4754
+ #
4755
+ # @return [Types::UpdateManagedRuleSetVersionExpiryDateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4756
+ #
4757
+ # * {Types::UpdateManagedRuleSetVersionExpiryDateResponse#expiring_version #expiring_version} => String
4758
+ # * {Types::UpdateManagedRuleSetVersionExpiryDateResponse#expiry_timestamp #expiry_timestamp} => Time
4759
+ # * {Types::UpdateManagedRuleSetVersionExpiryDateResponse#next_lock_token #next_lock_token} => String
4760
+ #
4761
+ # @example Request syntax with placeholder values
4762
+ #
4763
+ # resp = client.update_managed_rule_set_version_expiry_date({
4764
+ # name: "EntityName", # required
4765
+ # scope: "CLOUDFRONT", # required, accepts CLOUDFRONT, REGIONAL
4766
+ # id: "EntityId", # required
4767
+ # lock_token: "LockToken", # required
4768
+ # version_to_expire: "VersionKeyString", # required
4769
+ # expiry_timestamp: Time.now, # required
4770
+ # })
4771
+ #
4772
+ # @example Response structure
4773
+ #
4774
+ # resp.expiring_version #=> String
4775
+ # resp.expiry_timestamp #=> Time
4776
+ # resp.next_lock_token #=> String
4777
+ #
4778
+ # @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/UpdateManagedRuleSetVersionExpiryDate AWS API Documentation
4779
+ #
4780
+ # @overload update_managed_rule_set_version_expiry_date(params = {})
4781
+ # @param [Hash] params ({})
4782
+ def update_managed_rule_set_version_expiry_date(params = {}, options = {})
4783
+ req = build_request(:update_managed_rule_set_version_expiry_date, params)
4784
+ req.send_request(options)
4785
+ end
4786
+
4325
4787
  # Updates the specified RegexPatternSet.
4326
4788
  #
4327
4789
  # <note markdown="1"> This operation completely replaces the mutable specifications that you
@@ -4361,14 +4823,14 @@ module Aws::WAFV2
4361
4823
  # @option params [required, Array<Types::Regex>] :regular_expression_list
4362
4824
  #
4363
4825
  # @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 the
4366
- # request. To make changes to the entity associated with the token, you
4367
- # provide the token to operations like update and delete. WAF uses the
4368
- # token to ensure that no changes have been made to the entity since you
4369
- # last retrieved it. If a change has been made, the update fails with a
4370
- # `WAFOptimisticLockException`. If this happens, perform another get,
4371
- # and use the new token returned by that operation.
4826
+ # A token used for optimistic locking. WAF returns a token to your `get`
4827
+ # and `list` requests, to mark the state of the entity at the time of
4828
+ # the request. To make changes to the entity associated with the token,
4829
+ # you provide the token to operations like `update` and `delete`. WAF
4830
+ # uses the token to ensure that no changes have been made to the entity
4831
+ # since you last retrieved it. If a change has been made, the update
4832
+ # fails with a `WAFOptimisticLockException`. If this happens, perform
4833
+ # another `get`, and use the new token returned by that operation.
4372
4834
  #
4373
4835
  # @return [Types::UpdateRegexPatternSetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4374
4836
  #
@@ -4455,14 +4917,14 @@ module Aws::WAFV2
4455
4917
  # collection.
4456
4918
  #
4457
4919
  # @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 the
4460
- # request. To make changes to the entity associated with the token, you
4461
- # provide the token to operations like update and delete. WAF uses the
4462
- # token to ensure that no changes have been made to the entity since you
4463
- # last retrieved it. If a change has been made, the update fails with a
4464
- # `WAFOptimisticLockException`. If this happens, perform another get,
4465
- # and use the new token returned by that operation.
4920
+ # A token used for optimistic locking. WAF returns a token to your `get`
4921
+ # and `list` requests, to mark the state of the entity at the time of
4922
+ # the request. To make changes to the entity associated with the token,
4923
+ # you provide the token to operations like `update` and `delete`. WAF
4924
+ # uses the token to ensure that no changes have been made to the entity
4925
+ # since you last retrieved it. If a change has been made, the update
4926
+ # fails with a `WAFOptimisticLockException`. If this happens, perform
4927
+ # another `get`, and use the new token returned by that operation.
4466
4928
  #
4467
4929
  # @option params [Hash<String,Types::CustomResponseBody>] :custom_response_bodies
4468
4930
  # A map of custom response keys and content bodies. When you create a
@@ -4736,6 +5198,7 @@ module Aws::WAFV2
4736
5198
  # managed_rule_group_statement: {
4737
5199
  # vendor_name: "VendorName", # required
4738
5200
  # name: "EntityName", # required
5201
+ # version: "VersionKeyString",
4739
5202
  # excluded_rules: [
4740
5203
  # {
4741
5204
  # name: "EntityName", # required
@@ -4899,14 +5362,14 @@ module Aws::WAFV2
4899
5362
  # collection.
4900
5363
  #
4901
5364
  # @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 the
4904
- # request. To make changes to the entity associated with the token, you
4905
- # provide the token to operations like update and delete. WAF uses the
4906
- # token to ensure that no changes have been made to the entity since you
4907
- # last retrieved it. If a change has been made, the update fails with a
4908
- # `WAFOptimisticLockException`. If this happens, perform another get,
4909
- # and use the new token returned by that operation.
5365
+ # A token used for optimistic locking. WAF returns a token to your `get`
5366
+ # and `list` requests, to mark the state of the entity at the time of
5367
+ # the request. To make changes to the entity associated with the token,
5368
+ # you provide the token to operations like `update` and `delete`. WAF
5369
+ # uses the token to ensure that no changes have been made to the entity
5370
+ # since you last retrieved it. If a change has been made, the update
5371
+ # fails with a `WAFOptimisticLockException`. If this happens, perform
5372
+ # another `get`, and use the new token returned by that operation.
4910
5373
  #
4911
5374
  # @option params [Hash<String,Types::CustomResponseBody>] :custom_response_bodies
4912
5375
  # A map of custom response keys and content bodies. When you create a
@@ -5204,6 +5667,7 @@ module Aws::WAFV2
5204
5667
  # managed_rule_group_statement: {
5205
5668
  # vendor_name: "VendorName", # required
5206
5669
  # name: "EntityName", # required
5670
+ # version: "VersionKeyString",
5207
5671
  # excluded_rules: [
5208
5672
  # {
5209
5673
  # name: "EntityName", # required
@@ -5318,7 +5782,7 @@ module Aws::WAFV2
5318
5782
  params: params,
5319
5783
  config: config)
5320
5784
  context[:gem_name] = 'aws-sdk-wafv2'
5321
- context[:gem_version] = '1.22.0'
5785
+ context[:gem_version] = '1.26.0'
5322
5786
  Seahorse::Client::Request.new(handlers, context)
5323
5787
  end
5324
5788