aws-sdk-wafv2 1.2.0 → 1.3.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f8717603935e63c74d97f8d18bffeb98bcccee7c
4
- data.tar.gz: 5ee02ef35e00382ddc04fbdabda11c6d405d385c
3
+ metadata.gz: 4982a5fd073f9fefccdc7736d83f6f21f481f556
4
+ data.tar.gz: 708114f6fdabd60c9256d2b92d624559badc6120
5
5
  SHA512:
6
- metadata.gz: f5a9436b80ba35b7b033e7c4bdf57202ddc27c1838e1238b74bc6d1b7c09383794a1d14eaf92ccf24adfc21a1cfc23806386bb08f5e7875831748806162a2e6c
7
- data.tar.gz: d33d2035c0497bf63ecf39ba8b1c208101f1aedab5014066487d52d85a859dd2e67bc60a832b06600cffab6ca51f521fbf2a7ed5a098bdfca460fad6025ab95c
6
+ metadata.gz: 6b908d182531bd51065dc5b8c391302e80b8d749016781f071440ed3de6dcedd7ba60879d8348e93fb9b2bef5c68bca8271cffbe54381fd7057e9424e50925b6
7
+ data.tar.gz: 497e8a123bc9ffd49eca018830bf19ef83da8ccc1de6a54eb44db59ba591ef04c8a6d3ea0e22d95179aa6de5d70358a42121500d4020b2371ce0d959bc90b73f
@@ -45,6 +45,6 @@ require_relative 'aws-sdk-wafv2/customizations'
45
45
  # @service
46
46
  module Aws::WAFV2
47
47
 
48
- GEM_VERSION = '1.2.0'
48
+ GEM_VERSION = '1.3.0'
49
49
 
50
50
  end
@@ -32,11 +32,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:wafv2)
32
32
  module Aws::WAFV2
33
33
  # An API client for WAFV2. To construct a client, you need to configure a `:region` and `:credentials`.
34
34
  #
35
- # client = Aws::WAFV2::Client.new(
36
- # region: region_name,
37
- # credentials: credentials,
38
- # # ...
39
- # )
35
+ # client = Aws::WAFV2::Client.new(
36
+ # region: region_name,
37
+ # credentials: credentials,
38
+ # # ...
39
+ # )
40
40
  #
41
41
  # For details on configuring region and credentials see
42
42
  # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
@@ -229,15 +229,19 @@ module Aws::WAFV2
229
229
  #
230
230
  # @option options [String] :retry_mode ("legacy")
231
231
  # Specifies which retry algorithm to use. Values are:
232
- # * `legacy` - The pre-existing retry behavior. This is default value if
233
- # no retry mode is provided.
234
- # * `standard` - A standardized set of retry rules across the AWS SDKs.
235
- # This includes support for retry quotas, which limit the number of
236
- # unsuccessful retries a client can make.
237
- # * `adaptive` - An experimental retry mode that includes all the
238
- # functionality of `standard` mode along with automatic client side
239
- # throttling. This is a provisional mode that may change behavior
240
- # in the future.
232
+ #
233
+ # * `legacy` - The pre-existing retry behavior. This is default value if
234
+ # no retry mode is provided.
235
+ #
236
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
237
+ # This includes support for retry quotas, which limit the number of
238
+ # unsuccessful retries a client can make.
239
+ #
240
+ # * `adaptive` - An experimental retry mode that includes all the
241
+ # functionality of `standard` mode along with automatic client side
242
+ # throttling. This is a provisional mode that may change behavior
243
+ # in the future.
244
+ #
241
245
  #
242
246
  # @option options [String] :secret_access_key
243
247
  #
@@ -275,8 +279,7 @@ module Aws::WAFV2
275
279
  #
276
280
  # @option options [Integer] :http_read_timeout (60) The default
277
281
  # number of seconds to wait for response data. This value can
278
- # safely be set
279
- # per-request on the session yielded by {#session_for}.
282
+ # safely be set per-request on the session.
280
283
  #
281
284
  # @option options [Float] :http_idle_timeout (5) The number of
282
285
  # seconds a connection is allowed to sit idle before it is
@@ -288,7 +291,7 @@ module Aws::WAFV2
288
291
  # request body. This option has no effect unless the request has
289
292
  # "Expect" header set to "100-continue". Defaults to `nil` which
290
293
  # disables this behaviour. This value can safely be set per
291
- # request on the session yielded by {#session_for}.
294
+ # request on the session.
292
295
  #
293
296
  # @option options [Boolean] :http_wire_trace (false) When `true`,
294
297
  # HTTP debug output will be sent to the `:logger`.
@@ -326,9 +329,11 @@ module Aws::WAFV2
326
329
  # the resource. A regional application can be an Application Load
327
330
  # Balancer (ALB) or an API Gateway stage.
328
331
  #
329
- # For AWS CloudFront, you can associate the Web ACL by providing the
330
- # `ARN` of the WebACL to the CloudFront API call `UpdateDistribution`.
331
- # For information, see [UpdateDistribution][2].
332
+ # For AWS CloudFront, don't use this call. Instead, use your CloudFront
333
+ # distribution configuration. To associate a Web ACL, in the CloudFront
334
+ # call `UpdateDistribution`, set the web ACL ID to the Amazon Resource
335
+ # Name (ARN) of the Web ACL. For information, see
336
+ # [UpdateDistribution][2].
332
337
  #
333
338
  #
334
339
  #
@@ -402,7 +407,7 @@ module Aws::WAFV2
402
407
  # To work with CloudFront, you must also specify the Region US East (N.
403
408
  # Virginia) as follows:
404
409
  #
405
- # * CLI - Specify the region when you use the CloudFront scope:
410
+ # * CLI - Specify the Region when you use the CloudFront scope:
406
411
  # `--scope=CLOUDFRONT --region=us-east-1`.
407
412
  #
408
413
  # * API and SDKs - For all calls, use the Region endpoint us-east-1.
@@ -663,8 +668,8 @@ module Aws::WAFV2
663
668
  # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
664
669
  #
665
670
  # @option params [required, String] :name
666
- # A friendly name of the IP set. You cannot change the name of an
667
- # `IPSet` after you create it.
671
+ # The name of the IP set. You cannot change the name of an `IPSet` after
672
+ # you create it.
668
673
  #
669
674
  # @option params [required, String] :scope
670
675
  # Specifies whether this is for an AWS CloudFront distribution or for a
@@ -674,14 +679,14 @@ module Aws::WAFV2
674
679
  # To work with CloudFront, you must also specify the Region US East (N.
675
680
  # Virginia) as follows:
676
681
  #
677
- # * CLI - Specify the region when you use the CloudFront scope:
682
+ # * CLI - Specify the Region when you use the CloudFront scope:
678
683
  # `--scope=CLOUDFRONT --region=us-east-1`.
679
684
  #
680
685
  # * API and SDKs - For all calls, use the Region endpoint us-east-1.
681
686
  #
682
687
  # @option params [String] :description
683
- # A friendly description of the IP set. You cannot change the
684
- # description of an IP set after you create it.
688
+ # A description of the IP set that helps with identification. You cannot
689
+ # change the description of an IP set after you create it.
685
690
  #
686
691
  # @option params [required, String] :ip_address_version
687
692
  # Specify IPV4 or IPV6.
@@ -774,8 +779,8 @@ module Aws::WAFV2
774
779
  # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
775
780
  #
776
781
  # @option params [required, String] :name
777
- # A friendly name of the set. You cannot change the name after you
778
- # create the set.
782
+ # The name of the set. You cannot change the name after you create the
783
+ # set.
779
784
  #
780
785
  # @option params [required, String] :scope
781
786
  # Specifies whether this is for an AWS CloudFront distribution or for a
@@ -785,14 +790,14 @@ module Aws::WAFV2
785
790
  # To work with CloudFront, you must also specify the Region US East (N.
786
791
  # Virginia) as follows:
787
792
  #
788
- # * CLI - Specify the region when you use the CloudFront scope:
793
+ # * CLI - Specify the Region when you use the CloudFront scope:
789
794
  # `--scope=CLOUDFRONT --region=us-east-1`.
790
795
  #
791
796
  # * API and SDKs - For all calls, use the Region endpoint us-east-1.
792
797
  #
793
798
  # @option params [String] :description
794
- # A friendly description of the set. You cannot change the description
795
- # of a set after you create it.
799
+ # A description of the set that helps with identification. You cannot
800
+ # change the description of a set after you create it.
796
801
  #
797
802
  # @option params [required, Array<Types::Regex>] :regular_expression_list
798
803
  # Array of regular expression strings.
@@ -860,8 +865,8 @@ module Aws::WAFV2
860
865
  # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
861
866
  #
862
867
  # @option params [required, String] :name
863
- # A friendly name of the rule group. You cannot change the name of a
864
- # rule group after you create it.
868
+ # The name of the rule group. You cannot change the name of a rule group
869
+ # after you create it.
865
870
  #
866
871
  # @option params [required, String] :scope
867
872
  # Specifies whether this is for an AWS CloudFront distribution or for a
@@ -871,7 +876,7 @@ module Aws::WAFV2
871
876
  # To work with CloudFront, you must also specify the Region US East (N.
872
877
  # Virginia) as follows:
873
878
  #
874
- # * CLI - Specify the region when you use the CloudFront scope:
879
+ # * CLI - Specify the Region when you use the CloudFront scope:
875
880
  # `--scope=CLOUDFRONT --region=us-east-1`.
876
881
  #
877
882
  # * API and SDKs - For all calls, use the Region endpoint us-east-1.
@@ -894,8 +899,8 @@ module Aws::WAFV2
894
899
  # ACLs is 1,500.
895
900
  #
896
901
  # @option params [String] :description
897
- # A friendly description of the rule group. You cannot change the
898
- # description of a rule group after you create it.
902
+ # A description of the rule group that helps with identification. You
903
+ # cannot change the description of a rule group after you create it.
899
904
  #
900
905
  # @option params [Array<Types::Rule>] :rules
901
906
  # The Rule statements used to identify the web requests that you want to
@@ -1186,8 +1191,8 @@ module Aws::WAFV2
1186
1191
  # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
1187
1192
  #
1188
1193
  # @option params [required, String] :name
1189
- # A friendly name of the Web ACL. You cannot change the name of a Web
1190
- # ACL after you create it.
1194
+ # The name of the Web ACL. You cannot change the name of a Web ACL after
1195
+ # you create it.
1191
1196
  #
1192
1197
  # @option params [required, String] :scope
1193
1198
  # Specifies whether this is for an AWS CloudFront distribution or for a
@@ -1197,7 +1202,7 @@ module Aws::WAFV2
1197
1202
  # To work with CloudFront, you must also specify the Region US East (N.
1198
1203
  # Virginia) as follows:
1199
1204
  #
1200
- # * CLI - Specify the region when you use the CloudFront scope:
1205
+ # * CLI - Specify the Region when you use the CloudFront scope:
1201
1206
  # `--scope=CLOUDFRONT --region=us-east-1`.
1202
1207
  #
1203
1208
  # * API and SDKs - For all calls, use the Region endpoint us-east-1.
@@ -1207,8 +1212,8 @@ module Aws::WAFV2
1207
1212
  # match.
1208
1213
  #
1209
1214
  # @option params [String] :description
1210
- # A friendly description of the Web ACL. You cannot change the
1211
- # description of a Web ACL after you create it.
1215
+ # A description of the Web ACL that helps with identification. You
1216
+ # cannot change the description of a Web ACL after you create it.
1212
1217
  #
1213
1218
  # @option params [Array<Types::Rule>] :rules
1214
1219
  # The Rule statements used to identify the web requests that you want to
@@ -1480,6 +1485,49 @@ module Aws::WAFV2
1480
1485
  req.send_request(options)
1481
1486
  end
1482
1487
 
1488
+ # Deletes all rule groups that are managed by AWS Firewall Manager for
1489
+ # the specified web ACL.
1490
+ #
1491
+ # You can only use this if `ManagedByFirewallManager` is false in the
1492
+ # specified WebACL.
1493
+ #
1494
+ # @option params [required, String] :web_acl_arn
1495
+ # The Amazon Resource Name (ARN) of the web ACL.
1496
+ #
1497
+ # @option params [required, String] :web_acl_lock_token
1498
+ # A token used for optimistic locking. AWS WAF returns a token to your
1499
+ # get and list requests, to mark the state of the entity at the time of
1500
+ # the request. To make changes to the entity associated with the token,
1501
+ # you provide the token to operations like update and delete. AWS WAF
1502
+ # uses the token to ensure that no changes have been made to the entity
1503
+ # since you last retrieved it. If a change has been made, the update
1504
+ # fails with a `WAFOptimisticLockException`. If this happens, perform
1505
+ # another get, and use the new token returned by that operation.
1506
+ #
1507
+ # @return [Types::DeleteFirewallManagerRuleGroupsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1508
+ #
1509
+ # * {Types::DeleteFirewallManagerRuleGroupsResponse#next_web_acl_lock_token #next_web_acl_lock_token} => String
1510
+ #
1511
+ # @example Request syntax with placeholder values
1512
+ #
1513
+ # resp = client.delete_firewall_manager_rule_groups({
1514
+ # web_acl_arn: "ResourceArn", # required
1515
+ # web_acl_lock_token: "LockToken", # required
1516
+ # })
1517
+ #
1518
+ # @example Response structure
1519
+ #
1520
+ # resp.next_web_acl_lock_token #=> String
1521
+ #
1522
+ # @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/DeleteFirewallManagerRuleGroups AWS API Documentation
1523
+ #
1524
+ # @overload delete_firewall_manager_rule_groups(params = {})
1525
+ # @param [Hash] params ({})
1526
+ def delete_firewall_manager_rule_groups(params = {}, options = {})
1527
+ req = build_request(:delete_firewall_manager_rule_groups, params)
1528
+ req.send_request(options)
1529
+ end
1530
+
1483
1531
  # <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
1484
1532
  # in November, 2019. For information, including how to migrate your AWS
1485
1533
  # WAF resources from the prior release, see the [AWS WAF Developer
@@ -1494,8 +1542,8 @@ module Aws::WAFV2
1494
1542
  # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
1495
1543
  #
1496
1544
  # @option params [required, String] :name
1497
- # A friendly name of the IP set. You cannot change the name of an
1498
- # `IPSet` after you create it.
1545
+ # The name of the IP set. You cannot change the name of an `IPSet` after
1546
+ # you create it.
1499
1547
  #
1500
1548
  # @option params [required, String] :scope
1501
1549
  # Specifies whether this is for an AWS CloudFront distribution or for a
@@ -1505,7 +1553,7 @@ module Aws::WAFV2
1505
1553
  # To work with CloudFront, you must also specify the Region US East (N.
1506
1554
  # Virginia) as follows:
1507
1555
  #
1508
- # * CLI - Specify the region when you use the CloudFront scope:
1556
+ # * CLI - Specify the Region when you use the CloudFront scope:
1509
1557
  # `--scope=CLOUDFRONT --region=us-east-1`.
1510
1558
  #
1511
1559
  # * API and SDKs - For all calls, use the Region endpoint us-east-1.
@@ -1579,6 +1627,33 @@ module Aws::WAFV2
1579
1627
  req.send_request(options)
1580
1628
  end
1581
1629
 
1630
+ # Permanently deletes an IAM policy from the specified rule group.
1631
+ #
1632
+ # You must be the owner of the rule group to perform this operation.
1633
+ #
1634
+ # @option params [required, String] :resource_arn
1635
+ # The Amazon Resource Name (ARN) of the rule group from which you want
1636
+ # to delete the policy.
1637
+ #
1638
+ # You must be the owner of the rule group to perform this operation.
1639
+ #
1640
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1641
+ #
1642
+ # @example Request syntax with placeholder values
1643
+ #
1644
+ # resp = client.delete_permission_policy({
1645
+ # resource_arn: "ResourceArn", # required
1646
+ # })
1647
+ #
1648
+ # @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/DeletePermissionPolicy AWS API Documentation
1649
+ #
1650
+ # @overload delete_permission_policy(params = {})
1651
+ # @param [Hash] params ({})
1652
+ def delete_permission_policy(params = {}, options = {})
1653
+ req = build_request(:delete_permission_policy, params)
1654
+ req.send_request(options)
1655
+ end
1656
+
1582
1657
  # <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
1583
1658
  # in November, 2019. For information, including how to migrate your AWS
1584
1659
  # WAF resources from the prior release, see the [AWS WAF Developer
@@ -1593,8 +1668,8 @@ module Aws::WAFV2
1593
1668
  # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
1594
1669
  #
1595
1670
  # @option params [required, String] :name
1596
- # A friendly name of the set. You cannot change the name after you
1597
- # create the set.
1671
+ # The name of the set. You cannot change the name after you create the
1672
+ # set.
1598
1673
  #
1599
1674
  # @option params [required, String] :scope
1600
1675
  # Specifies whether this is for an AWS CloudFront distribution or for a
@@ -1604,7 +1679,7 @@ module Aws::WAFV2
1604
1679
  # To work with CloudFront, you must also specify the Region US East (N.
1605
1680
  # Virginia) as follows:
1606
1681
  #
1607
- # * CLI - Specify the region when you use the CloudFront scope:
1682
+ # * CLI - Specify the Region when you use the CloudFront scope:
1608
1683
  # `--scope=CLOUDFRONT --region=us-east-1`.
1609
1684
  #
1610
1685
  # * API and SDKs - For all calls, use the Region endpoint us-east-1.
@@ -1658,8 +1733,8 @@ module Aws::WAFV2
1658
1733
  # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
1659
1734
  #
1660
1735
  # @option params [required, String] :name
1661
- # A friendly name of the rule group. You cannot change the name of a
1662
- # rule group after you create it.
1736
+ # The name of the rule group. You cannot change the name of a rule group
1737
+ # after you create it.
1663
1738
  #
1664
1739
  # @option params [required, String] :scope
1665
1740
  # Specifies whether this is for an AWS CloudFront distribution or for a
@@ -1669,7 +1744,7 @@ module Aws::WAFV2
1669
1744
  # To work with CloudFront, you must also specify the Region US East (N.
1670
1745
  # Virginia) as follows:
1671
1746
  #
1672
- # * CLI - Specify the region when you use the CloudFront scope:
1747
+ # * CLI - Specify the Region when you use the CloudFront scope:
1673
1748
  # `--scope=CLOUDFRONT --region=us-east-1`.
1674
1749
  #
1675
1750
  # * API and SDKs - For all calls, use the Region endpoint us-east-1.
@@ -1718,13 +1793,16 @@ module Aws::WAFV2
1718
1793
  #
1719
1794
  # Deletes the specified WebACL.
1720
1795
  #
1796
+ # You can only use this if `ManagedByFirewallManager` is false in the
1797
+ # specified WebACL.
1798
+ #
1721
1799
  #
1722
1800
  #
1723
1801
  # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
1724
1802
  #
1725
1803
  # @option params [required, String] :name
1726
- # A friendly name of the Web ACL. You cannot change the name of a Web
1727
- # ACL after you create it.
1804
+ # The name of the Web ACL. You cannot change the name of a Web ACL after
1805
+ # you create it.
1728
1806
  #
1729
1807
  # @option params [required, String] :scope
1730
1808
  # Specifies whether this is for an AWS CloudFront distribution or for a
@@ -1734,7 +1812,7 @@ module Aws::WAFV2
1734
1812
  # To work with CloudFront, you must also specify the Region US East (N.
1735
1813
  # Virginia) as follows:
1736
1814
  #
1737
- # * CLI - Specify the region when you use the CloudFront scope:
1815
+ # * CLI - Specify the Region when you use the CloudFront scope:
1738
1816
  # `--scope=CLOUDFRONT --region=us-east-1`.
1739
1817
  #
1740
1818
  # * API and SDKs - For all calls, use the Region endpoint us-east-1.
@@ -1804,7 +1882,7 @@ module Aws::WAFV2
1804
1882
  # To work with CloudFront, you must also specify the Region US East (N.
1805
1883
  # Virginia) as follows:
1806
1884
  #
1807
- # * CLI - Specify the region when you use the CloudFront scope:
1885
+ # * CLI - Specify the Region when you use the CloudFront scope:
1808
1886
  # `--scope=CLOUDFRONT --region=us-east-1`.
1809
1887
  #
1810
1888
  # * API and SDKs - For all calls, use the Region endpoint us-east-1.
@@ -1848,8 +1926,9 @@ module Aws::WAFV2
1848
1926
  # regional application can be an Application Load Balancer (ALB) or an
1849
1927
  # API Gateway stage.
1850
1928
  #
1851
- # For AWS CloudFront, you can disassociate the Web ACL by providing an
1852
- # empty web ACL ARN in the CloudFront API call `UpdateDistribution`. For
1929
+ # For AWS CloudFront, don't use this call. Instead, use your CloudFront
1930
+ # distribution configuration. To disassociate a Web ACL, provide an
1931
+ # empty web ACL ID in the CloudFront call `UpdateDistribution`. For
1853
1932
  # information, see [UpdateDistribution][2].
1854
1933
  #
1855
1934
  #
@@ -1901,8 +1980,8 @@ module Aws::WAFV2
1901
1980
  # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
1902
1981
  #
1903
1982
  # @option params [required, String] :name
1904
- # A friendly name of the IP set. You cannot change the name of an
1905
- # `IPSet` after you create it.
1983
+ # The name of the IP set. You cannot change the name of an `IPSet` after
1984
+ # you create it.
1906
1985
  #
1907
1986
  # @option params [required, String] :scope
1908
1987
  # Specifies whether this is for an AWS CloudFront distribution or for a
@@ -1912,7 +1991,7 @@ module Aws::WAFV2
1912
1991
  # To work with CloudFront, you must also specify the Region US East (N.
1913
1992
  # Virginia) as follows:
1914
1993
  #
1915
- # * CLI - Specify the region when you use the CloudFront scope:
1994
+ # * CLI - Specify the Region when you use the CloudFront scope:
1916
1995
  # `--scope=CLOUDFRONT --region=us-east-1`.
1917
1996
  #
1918
1997
  # * API and SDKs - For all calls, use the Region endpoint us-east-1.
@@ -2000,6 +2079,37 @@ module Aws::WAFV2
2000
2079
  req.send_request(options)
2001
2080
  end
2002
2081
 
2082
+ # Returns the IAM policy that is attached to the specified rule group.
2083
+ #
2084
+ # You must be the owner of the rule group to perform this operation.
2085
+ #
2086
+ # @option params [required, String] :resource_arn
2087
+ # The Amazon Resource Name (ARN) of the rule group for which you want to
2088
+ # get the policy.
2089
+ #
2090
+ # @return [Types::GetPermissionPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2091
+ #
2092
+ # * {Types::GetPermissionPolicyResponse#policy #policy} => String
2093
+ #
2094
+ # @example Request syntax with placeholder values
2095
+ #
2096
+ # resp = client.get_permission_policy({
2097
+ # resource_arn: "ResourceArn", # required
2098
+ # })
2099
+ #
2100
+ # @example Response structure
2101
+ #
2102
+ # resp.policy #=> String
2103
+ #
2104
+ # @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/GetPermissionPolicy AWS API Documentation
2105
+ #
2106
+ # @overload get_permission_policy(params = {})
2107
+ # @param [Hash] params ({})
2108
+ def get_permission_policy(params = {}, options = {})
2109
+ req = build_request(:get_permission_policy, params)
2110
+ req.send_request(options)
2111
+ end
2112
+
2003
2113
  # <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
2004
2114
  # in November, 2019. For information, including how to migrate your AWS
2005
2115
  # WAF resources from the prior release, see the [AWS WAF Developer
@@ -2024,14 +2134,14 @@ module Aws::WAFV2
2024
2134
  # To work with CloudFront, you must also specify the Region US East (N.
2025
2135
  # Virginia) as follows:
2026
2136
  #
2027
- # * CLI - Specify the region when you use the CloudFront scope:
2137
+ # * CLI - Specify the Region when you use the CloudFront scope:
2028
2138
  # `--scope=CLOUDFRONT --region=us-east-1`.
2029
2139
  #
2030
2140
  # * API and SDKs - For all calls, use the Region endpoint us-east-1.
2031
2141
  #
2032
2142
  # @option params [required, String] :web_acl_name
2033
- # A friendly name of the Web ACL. You cannot change the name of a Web
2034
- # ACL after you create it.
2143
+ # The name of the Web ACL. You cannot change the name of a Web ACL after
2144
+ # you create it.
2035
2145
  #
2036
2146
  # @option params [required, String] :web_acl_id
2037
2147
  # The unique identifier for the Web ACL. This ID is returned in the
@@ -2087,8 +2197,8 @@ module Aws::WAFV2
2087
2197
  # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
2088
2198
  #
2089
2199
  # @option params [required, String] :name
2090
- # A friendly name of the set. You cannot change the name after you
2091
- # create the set.
2200
+ # The name of the set. You cannot change the name after you create the
2201
+ # set.
2092
2202
  #
2093
2203
  # @option params [required, String] :scope
2094
2204
  # Specifies whether this is for an AWS CloudFront distribution or for a
@@ -2098,7 +2208,7 @@ module Aws::WAFV2
2098
2208
  # To work with CloudFront, you must also specify the Region US East (N.
2099
2209
  # Virginia) as follows:
2100
2210
  #
2101
- # * CLI - Specify the region when you use the CloudFront scope:
2211
+ # * CLI - Specify the Region when you use the CloudFront scope:
2102
2212
  # `--scope=CLOUDFRONT --region=us-east-1`.
2103
2213
  #
2104
2214
  # * API and SDKs - For all calls, use the Region endpoint us-east-1.
@@ -2154,8 +2264,8 @@ module Aws::WAFV2
2154
2264
  # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
2155
2265
  #
2156
2266
  # @option params [required, String] :name
2157
- # A friendly name of the rule group. You cannot change the name of a
2158
- # rule group after you create it.
2267
+ # The name of the rule group. You cannot change the name of a rule group
2268
+ # after you create it.
2159
2269
  #
2160
2270
  # @option params [required, String] :scope
2161
2271
  # Specifies whether this is for an AWS CloudFront distribution or for a
@@ -2165,7 +2275,7 @@ module Aws::WAFV2
2165
2275
  # To work with CloudFront, you must also specify the Region US East (N.
2166
2276
  # Virginia) as follows:
2167
2277
  #
2168
- # * CLI - Specify the region when you use the CloudFront scope:
2278
+ # * CLI - Specify the Region when you use the CloudFront scope:
2169
2279
  # `--scope=CLOUDFRONT --region=us-east-1`.
2170
2280
  #
2171
2281
  # * API and SDKs - For all calls, use the Region endpoint us-east-1.
@@ -2303,7 +2413,7 @@ module Aws::WAFV2
2303
2413
  # To work with CloudFront, you must also specify the Region US East (N.
2304
2414
  # Virginia) as follows:
2305
2415
  #
2306
- # * CLI - Specify the region when you use the CloudFront scope:
2416
+ # * CLI - Specify the Region when you use the CloudFront scope:
2307
2417
  # `--scope=CLOUDFRONT --region=us-east-1`.
2308
2418
  #
2309
2419
  # * API and SDKs - For all calls, use the Region endpoint us-east-1.
@@ -2383,8 +2493,8 @@ module Aws::WAFV2
2383
2493
  # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
2384
2494
  #
2385
2495
  # @option params [required, String] :name
2386
- # A friendly name of the Web ACL. You cannot change the name of a Web
2387
- # ACL after you create it.
2496
+ # The name of the Web ACL. You cannot change the name of a Web ACL after
2497
+ # you create it.
2388
2498
  #
2389
2499
  # @option params [required, String] :scope
2390
2500
  # Specifies whether this is for an AWS CloudFront distribution or for a
@@ -2394,7 +2504,7 @@ module Aws::WAFV2
2394
2504
  # To work with CloudFront, you must also specify the Region US East (N.
2395
2505
  # Virginia) as follows:
2396
2506
  #
2397
- # * CLI - Specify the region when you use the CloudFront scope:
2507
+ # * CLI - Specify the Region when you use the CloudFront scope:
2398
2508
  # `--scope=CLOUDFRONT --region=us-east-1`.
2399
2509
  #
2400
2510
  # * API and SDKs - For all calls, use the Region endpoint us-east-1.
@@ -2481,6 +2591,33 @@ module Aws::WAFV2
2481
2591
  # resp.web_acl.visibility_config.cloud_watch_metrics_enabled #=> Boolean
2482
2592
  # resp.web_acl.visibility_config.metric_name #=> String
2483
2593
  # resp.web_acl.capacity #=> Integer
2594
+ # resp.web_acl.pre_process_firewall_manager_rule_groups #=> Array
2595
+ # resp.web_acl.pre_process_firewall_manager_rule_groups[0].name #=> String
2596
+ # resp.web_acl.pre_process_firewall_manager_rule_groups[0].priority #=> Integer
2597
+ # resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.vendor_name #=> String
2598
+ # resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.name #=> String
2599
+ # resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.excluded_rules #=> Array
2600
+ # resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.excluded_rules[0].name #=> String
2601
+ # resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.rule_group_reference_statement.arn #=> String
2602
+ # resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.rule_group_reference_statement.excluded_rules #=> Array
2603
+ # resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.rule_group_reference_statement.excluded_rules[0].name #=> String
2604
+ # resp.web_acl.pre_process_firewall_manager_rule_groups[0].visibility_config.sampled_requests_enabled #=> Boolean
2605
+ # resp.web_acl.pre_process_firewall_manager_rule_groups[0].visibility_config.cloud_watch_metrics_enabled #=> Boolean
2606
+ # resp.web_acl.pre_process_firewall_manager_rule_groups[0].visibility_config.metric_name #=> String
2607
+ # resp.web_acl.post_process_firewall_manager_rule_groups #=> Array
2608
+ # resp.web_acl.post_process_firewall_manager_rule_groups[0].name #=> String
2609
+ # resp.web_acl.post_process_firewall_manager_rule_groups[0].priority #=> Integer
2610
+ # resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.vendor_name #=> String
2611
+ # resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.name #=> String
2612
+ # resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.excluded_rules #=> Array
2613
+ # resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.excluded_rules[0].name #=> String
2614
+ # resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.rule_group_reference_statement.arn #=> String
2615
+ # resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.rule_group_reference_statement.excluded_rules #=> Array
2616
+ # resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.rule_group_reference_statement.excluded_rules[0].name #=> String
2617
+ # resp.web_acl.post_process_firewall_manager_rule_groups[0].visibility_config.sampled_requests_enabled #=> Boolean
2618
+ # resp.web_acl.post_process_firewall_manager_rule_groups[0].visibility_config.cloud_watch_metrics_enabled #=> Boolean
2619
+ # resp.web_acl.post_process_firewall_manager_rule_groups[0].visibility_config.metric_name #=> String
2620
+ # resp.web_acl.managed_by_firewall_manager #=> Boolean
2484
2621
  # resp.lock_token #=> String
2485
2622
  #
2486
2623
  # @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/GetWebACL AWS API Documentation
@@ -2582,6 +2719,33 @@ module Aws::WAFV2
2582
2719
  # resp.web_acl.visibility_config.cloud_watch_metrics_enabled #=> Boolean
2583
2720
  # resp.web_acl.visibility_config.metric_name #=> String
2584
2721
  # resp.web_acl.capacity #=> Integer
2722
+ # resp.web_acl.pre_process_firewall_manager_rule_groups #=> Array
2723
+ # resp.web_acl.pre_process_firewall_manager_rule_groups[0].name #=> String
2724
+ # resp.web_acl.pre_process_firewall_manager_rule_groups[0].priority #=> Integer
2725
+ # resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.vendor_name #=> String
2726
+ # resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.name #=> String
2727
+ # resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.excluded_rules #=> Array
2728
+ # resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.excluded_rules[0].name #=> String
2729
+ # resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.rule_group_reference_statement.arn #=> String
2730
+ # resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.rule_group_reference_statement.excluded_rules #=> Array
2731
+ # resp.web_acl.pre_process_firewall_manager_rule_groups[0].firewall_manager_statement.rule_group_reference_statement.excluded_rules[0].name #=> String
2732
+ # resp.web_acl.pre_process_firewall_manager_rule_groups[0].visibility_config.sampled_requests_enabled #=> Boolean
2733
+ # resp.web_acl.pre_process_firewall_manager_rule_groups[0].visibility_config.cloud_watch_metrics_enabled #=> Boolean
2734
+ # resp.web_acl.pre_process_firewall_manager_rule_groups[0].visibility_config.metric_name #=> String
2735
+ # resp.web_acl.post_process_firewall_manager_rule_groups #=> Array
2736
+ # resp.web_acl.post_process_firewall_manager_rule_groups[0].name #=> String
2737
+ # resp.web_acl.post_process_firewall_manager_rule_groups[0].priority #=> Integer
2738
+ # resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.vendor_name #=> String
2739
+ # resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.name #=> String
2740
+ # resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.excluded_rules #=> Array
2741
+ # resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.managed_rule_group_statement.excluded_rules[0].name #=> String
2742
+ # resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.rule_group_reference_statement.arn #=> String
2743
+ # resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.rule_group_reference_statement.excluded_rules #=> Array
2744
+ # resp.web_acl.post_process_firewall_manager_rule_groups[0].firewall_manager_statement.rule_group_reference_statement.excluded_rules[0].name #=> String
2745
+ # resp.web_acl.post_process_firewall_manager_rule_groups[0].visibility_config.sampled_requests_enabled #=> Boolean
2746
+ # resp.web_acl.post_process_firewall_manager_rule_groups[0].visibility_config.cloud_watch_metrics_enabled #=> Boolean
2747
+ # resp.web_acl.post_process_firewall_manager_rule_groups[0].visibility_config.metric_name #=> String
2748
+ # resp.web_acl.managed_by_firewall_manager #=> Boolean
2585
2749
  #
2586
2750
  # @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/GetWebACLForResource AWS API Documentation
2587
2751
  #
@@ -2615,7 +2779,7 @@ module Aws::WAFV2
2615
2779
  # To work with CloudFront, you must also specify the Region US East (N.
2616
2780
  # Virginia) as follows:
2617
2781
  #
2618
- # * CLI - Specify the region when you use the CloudFront scope:
2782
+ # * CLI - Specify the Region when you use the CloudFront scope:
2619
2783
  # `--scope=CLOUDFRONT --region=us-east-1`.
2620
2784
  #
2621
2785
  # * API and SDKs - For all calls, use the Region endpoint us-east-1.
@@ -2685,7 +2849,7 @@ module Aws::WAFV2
2685
2849
  # To work with CloudFront, you must also specify the Region US East (N.
2686
2850
  # Virginia) as follows:
2687
2851
  #
2688
- # * CLI - Specify the region when you use the CloudFront scope:
2852
+ # * CLI - Specify the Region when you use the CloudFront scope:
2689
2853
  # `--scope=CLOUDFRONT --region=us-east-1`.
2690
2854
  #
2691
2855
  # * API and SDKs - For all calls, use the Region endpoint us-east-1.
@@ -2756,7 +2920,7 @@ module Aws::WAFV2
2756
2920
  # To work with CloudFront, you must also specify the Region US East (N.
2757
2921
  # Virginia) as follows:
2758
2922
  #
2759
- # * CLI - Specify the region when you use the CloudFront scope:
2923
+ # * CLI - Specify the Region when you use the CloudFront scope:
2760
2924
  # `--scope=CLOUDFRONT --region=us-east-1`.
2761
2925
  #
2762
2926
  # * API and SDKs - For all calls, use the Region endpoint us-east-1.
@@ -2829,7 +2993,7 @@ module Aws::WAFV2
2829
2993
  # To work with CloudFront, you must also specify the Region US East (N.
2830
2994
  # Virginia) as follows:
2831
2995
  #
2832
- # * CLI - Specify the region when you use the CloudFront scope:
2996
+ # * CLI - Specify the Region when you use the CloudFront scope:
2833
2997
  # `--scope=CLOUDFRONT --region=us-east-1`.
2834
2998
  #
2835
2999
  # * API and SDKs - For all calls, use the Region endpoint us-east-1.
@@ -2950,7 +3114,7 @@ module Aws::WAFV2
2950
3114
  # To work with CloudFront, you must also specify the Region US East (N.
2951
3115
  # Virginia) as follows:
2952
3116
  #
2953
- # * CLI - Specify the region when you use the CloudFront scope:
3117
+ # * CLI - Specify the Region when you use the CloudFront scope:
2954
3118
  # `--scope=CLOUDFRONT --region=us-east-1`.
2955
3119
  #
2956
3120
  # * API and SDKs - For all calls, use the Region endpoint us-east-1.
@@ -3081,7 +3245,7 @@ module Aws::WAFV2
3081
3245
  # To work with CloudFront, you must also specify the Region US East (N.
3082
3246
  # Virginia) as follows:
3083
3247
  #
3084
- # * CLI - Specify the region when you use the CloudFront scope:
3248
+ # * CLI - Specify the Region when you use the CloudFront scope:
3085
3249
  # `--scope=CLOUDFRONT --region=us-east-1`.
3086
3250
  #
3087
3251
  # * API and SDKs - For all calls, use the Region endpoint us-east-1.
@@ -3146,7 +3310,7 @@ module Aws::WAFV2
3146
3310
  #
3147
3311
  # 1. Create an Amazon Kinesis Data Firehose.
3148
3312
  #
3149
- # Create the data firehose with a PUT source and in the region that
3313
+ # Create the data firehose with a PUT source and in the Region that
3150
3314
  # you are operating. If you are capturing logs for Amazon
3151
3315
  # CloudFront, always create the firehose in US East (N. Virginia).
3152
3316
  #
@@ -3222,6 +3386,68 @@ module Aws::WAFV2
3222
3386
  req.send_request(options)
3223
3387
  end
3224
3388
 
3389
+ # Attaches an IAM policy to the specified resource. Use this to share a
3390
+ # rule group across accounts.
3391
+ #
3392
+ # You must be the owner of the rule group to perform this operation.
3393
+ #
3394
+ # This action is subject to the following restrictions:
3395
+ #
3396
+ # * You can attach only one policy with each `PutPermissionPolicy`
3397
+ # request.
3398
+ #
3399
+ # * The ARN in the request must be a valid WAF RuleGroup ARN and the
3400
+ # rule group must exist in the same region.
3401
+ #
3402
+ # * The user making the request must be the owner of the rule group.
3403
+ #
3404
+ # @option params [required, String] :resource_arn
3405
+ # The Amazon Resource Name (ARN) of the RuleGroup to which you want to
3406
+ # attach the policy.
3407
+ #
3408
+ # @option params [required, String] :policy
3409
+ # The policy to attach to the specified rule group.
3410
+ #
3411
+ # The policy specifications must conform to the following:
3412
+ #
3413
+ # * The policy must be composed using IAM Policy version 2012-10-17 or
3414
+ # version 2015-01-01.
3415
+ #
3416
+ # * The policy must include specifications for `Effect`, `Action`, and
3417
+ # `Principal`.
3418
+ #
3419
+ # * `Effect` must specify `Allow`.
3420
+ #
3421
+ # * `Action` must specify `wafv2:CreateWebACL`, `wafv2:UpdateWebACL`,
3422
+ # and `wafv2:PutFirewallManagerRuleGroups`. AWS WAF rejects any extra
3423
+ # actions or wildcard actions in the policy.
3424
+ #
3425
+ # * The policy must not include a `Resource` parameter.
3426
+ #
3427
+ # For more information, see [IAM Policies][1].
3428
+ #
3429
+ #
3430
+ #
3431
+ # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html
3432
+ #
3433
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3434
+ #
3435
+ # @example Request syntax with placeholder values
3436
+ #
3437
+ # resp = client.put_permission_policy({
3438
+ # resource_arn: "ResourceArn", # required
3439
+ # policy: "PolicyString", # required
3440
+ # })
3441
+ #
3442
+ # @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/PutPermissionPolicy AWS API Documentation
3443
+ #
3444
+ # @overload put_permission_policy(params = {})
3445
+ # @param [Hash] params ({})
3446
+ def put_permission_policy(params = {}, options = {})
3447
+ req = build_request(:put_permission_policy, params)
3448
+ req.send_request(options)
3449
+ end
3450
+
3225
3451
  # <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
3226
3452
  # in November, 2019. For information, including how to migrate your AWS
3227
3453
  # WAF resources from the prior release, see the [AWS WAF Developer
@@ -3324,8 +3550,8 @@ module Aws::WAFV2
3324
3550
  # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
3325
3551
  #
3326
3552
  # @option params [required, String] :name
3327
- # A friendly name of the IP set. You cannot change the name of an
3328
- # `IPSet` after you create it.
3553
+ # The name of the IP set. You cannot change the name of an `IPSet` after
3554
+ # you create it.
3329
3555
  #
3330
3556
  # @option params [required, String] :scope
3331
3557
  # Specifies whether this is for an AWS CloudFront distribution or for a
@@ -3335,7 +3561,7 @@ module Aws::WAFV2
3335
3561
  # To work with CloudFront, you must also specify the Region US East (N.
3336
3562
  # Virginia) as follows:
3337
3563
  #
3338
- # * CLI - Specify the region when you use the CloudFront scope:
3564
+ # * CLI - Specify the Region when you use the CloudFront scope:
3339
3565
  # `--scope=CLOUDFRONT --region=us-east-1`.
3340
3566
  #
3341
3567
  # * API and SDKs - For all calls, use the Region endpoint us-east-1.
@@ -3346,8 +3572,8 @@ module Aws::WAFV2
3346
3572
  # and delete.
3347
3573
  #
3348
3574
  # @option params [String] :description
3349
- # A friendly description of the IP set. You cannot change the
3350
- # description of an IP set after you create it.
3575
+ # A description of the IP set that helps with identification. You cannot
3576
+ # change the description of an IP set after you create it.
3351
3577
  #
3352
3578
  # @option params [required, Array<String>] :addresses
3353
3579
  # Contains an array of strings that specify one or more IP addresses or
@@ -3433,8 +3659,8 @@ module Aws::WAFV2
3433
3659
  # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
3434
3660
  #
3435
3661
  # @option params [required, String] :name
3436
- # A friendly name of the set. You cannot change the name after you
3437
- # create the set.
3662
+ # The name of the set. You cannot change the name after you create the
3663
+ # set.
3438
3664
  #
3439
3665
  # @option params [required, String] :scope
3440
3666
  # Specifies whether this is for an AWS CloudFront distribution or for a
@@ -3444,7 +3670,7 @@ module Aws::WAFV2
3444
3670
  # To work with CloudFront, you must also specify the Region US East (N.
3445
3671
  # Virginia) as follows:
3446
3672
  #
3447
- # * CLI - Specify the region when you use the CloudFront scope:
3673
+ # * CLI - Specify the Region when you use the CloudFront scope:
3448
3674
  # `--scope=CLOUDFRONT --region=us-east-1`.
3449
3675
  #
3450
3676
  # * API and SDKs - For all calls, use the Region endpoint us-east-1.
@@ -3455,8 +3681,8 @@ module Aws::WAFV2
3455
3681
  # and delete.
3456
3682
  #
3457
3683
  # @option params [String] :description
3458
- # A friendly description of the set. You cannot change the description
3459
- # of a set after you create it.
3684
+ # A description of the set that helps with identification. You cannot
3685
+ # change the description of a set after you create it.
3460
3686
  #
3461
3687
  # @option params [required, Array<Types::Regex>] :regular_expression_list
3462
3688
  #
@@ -3522,8 +3748,8 @@ module Aws::WAFV2
3522
3748
  # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
3523
3749
  #
3524
3750
  # @option params [required, String] :name
3525
- # A friendly name of the rule group. You cannot change the name of a
3526
- # rule group after you create it.
3751
+ # The name of the rule group. You cannot change the name of a rule group
3752
+ # after you create it.
3527
3753
  #
3528
3754
  # @option params [required, String] :scope
3529
3755
  # Specifies whether this is for an AWS CloudFront distribution or for a
@@ -3533,7 +3759,7 @@ module Aws::WAFV2
3533
3759
  # To work with CloudFront, you must also specify the Region US East (N.
3534
3760
  # Virginia) as follows:
3535
3761
  #
3536
- # * CLI - Specify the region when you use the CloudFront scope:
3762
+ # * CLI - Specify the Region when you use the CloudFront scope:
3537
3763
  # `--scope=CLOUDFRONT --region=us-east-1`.
3538
3764
  #
3539
3765
  # * API and SDKs - For all calls, use the Region endpoint us-east-1.
@@ -3544,8 +3770,8 @@ module Aws::WAFV2
3544
3770
  # like update and delete.
3545
3771
  #
3546
3772
  # @option params [String] :description
3547
- # A friendly description of the rule group. You cannot change the
3548
- # description of a rule group after you create it.
3773
+ # A description of the rule group that helps with identification. You
3774
+ # cannot change the description of a rule group after you create it.
3549
3775
  #
3550
3776
  # @option params [Array<Types::Rule>] :rules
3551
3777
  # The Rule statements used to identify the web requests that you want to
@@ -3834,8 +4060,8 @@ module Aws::WAFV2
3834
4060
  # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
3835
4061
  #
3836
4062
  # @option params [required, String] :name
3837
- # A friendly name of the Web ACL. You cannot change the name of a Web
3838
- # ACL after you create it.
4063
+ # The name of the Web ACL. You cannot change the name of a Web ACL after
4064
+ # you create it.
3839
4065
  #
3840
4066
  # @option params [required, String] :scope
3841
4067
  # Specifies whether this is for an AWS CloudFront distribution or for a
@@ -3845,7 +4071,7 @@ module Aws::WAFV2
3845
4071
  # To work with CloudFront, you must also specify the Region US East (N.
3846
4072
  # Virginia) as follows:
3847
4073
  #
3848
- # * CLI - Specify the region when you use the CloudFront scope:
4074
+ # * CLI - Specify the Region when you use the CloudFront scope:
3849
4075
  # `--scope=CLOUDFRONT --region=us-east-1`.
3850
4076
  #
3851
4077
  # * API and SDKs - For all calls, use the Region endpoint us-east-1.
@@ -3860,8 +4086,8 @@ module Aws::WAFV2
3860
4086
  # match.
3861
4087
  #
3862
4088
  # @option params [String] :description
3863
- # A friendly description of the Web ACL. You cannot change the
3864
- # description of a Web ACL after you create it.
4089
+ # A description of the Web ACL that helps with identification. You
4090
+ # cannot change the description of a Web ACL after you create it.
3865
4091
  #
3866
4092
  # @option params [Array<Types::Rule>] :rules
3867
4093
  # The Rule statements used to identify the web requests that you want to
@@ -4145,7 +4371,7 @@ module Aws::WAFV2
4145
4371
  params: params,
4146
4372
  config: config)
4147
4373
  context[:gem_name] = 'aws-sdk-wafv2'
4148
- context[:gem_version] = '1.2.0'
4374
+ context[:gem_version] = '1.3.0'
4149
4375
  Seahorse::Client::Request.new(handlers, context)
4150
4376
  end
4151
4377