aws-sdk-wafv2 1.9.0 → 1.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-wafv2.rb +3 -2
- data/lib/aws-sdk-wafv2/client.rb +97 -46
- data/lib/aws-sdk-wafv2/client_api.rb +1 -0
- data/lib/aws-sdk-wafv2/types.rb +83 -38
- metadata +4 -4
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 3222f85c3e2de0ef0a6549850adec758bb9ef89811f7e89e4f8c949f381e4db3
         | 
| 4 | 
            +
              data.tar.gz: 5e6396431c68d0514dc647218bf9b9e8c4cd1c736a3443f840f526c1a10a0f3c
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: e2da24c94a98fef65504eb98d4ace3e65f0b7a8b6fc1a2e01e2864dd75307bb40527c97fef228aa58288c9c0c99759b0cbea9e80255be52ed1ef1686b0097882
         | 
| 7 | 
            +
              data.tar.gz: 1536f8a7f11c678c71f3b8c8ec4ef4ca065f68a7d458aa5a8e2fd6c5cc44a4785af5a0c09609e9ecc3353bb698d5b306c0ebdcc78e7719b68b68334b50f17458
         | 
    
        data/lib/aws-sdk-wafv2.rb
    CHANGED
    
    | @@ -7,6 +7,7 @@ | |
| 7 7 | 
             
            #
         | 
| 8 8 | 
             
            # WARNING ABOUT GENERATED CODE
         | 
| 9 9 |  | 
| 10 | 
            +
             | 
| 10 11 | 
             
            require 'aws-sdk-core'
         | 
| 11 12 | 
             
            require 'aws-sigv4'
         | 
| 12 13 |  | 
| @@ -44,9 +45,9 @@ require_relative 'aws-sdk-wafv2/customizations' | |
| 44 45 | 
             
            #
         | 
| 45 46 | 
             
            # See {Errors} for more information.
         | 
| 46 47 | 
             
            #
         | 
| 47 | 
            -
            #  | 
| 48 | 
            +
            # @!group service
         | 
| 48 49 | 
             
            module Aws::WAFV2
         | 
| 49 50 |  | 
| 50 | 
            -
              GEM_VERSION = '1. | 
| 51 | 
            +
              GEM_VERSION = '1.14.0'
         | 
| 51 52 |  | 
| 52 53 | 
             
            end
         | 
    
        data/lib/aws-sdk-wafv2/client.rb
    CHANGED
    
    | @@ -85,13 +85,28 @@ module Aws::WAFV2 | |
| 85 85 | 
             
                #     * `Aws::Credentials` - Used for configuring static, non-refreshing
         | 
| 86 86 | 
             
                #       credentials.
         | 
| 87 87 | 
             
                #
         | 
| 88 | 
            +
                #     * `Aws::SharedCredentials` - Used for loading static credentials from a
         | 
| 89 | 
            +
                #       shared file, such as `~/.aws/config`.
         | 
| 90 | 
            +
                #
         | 
| 91 | 
            +
                #     * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
         | 
| 92 | 
            +
                #
         | 
| 93 | 
            +
                #     * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
         | 
| 94 | 
            +
                #       assume a role after providing credentials via the web.
         | 
| 95 | 
            +
                #
         | 
| 96 | 
            +
                #     * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
         | 
| 97 | 
            +
                #       access token generated from `aws login`.
         | 
| 98 | 
            +
                #
         | 
| 99 | 
            +
                #     * `Aws::ProcessCredentials` - Used for loading credentials from a
         | 
| 100 | 
            +
                #       process that outputs to stdout.
         | 
| 101 | 
            +
                #
         | 
| 88 102 | 
             
                #     * `Aws::InstanceProfileCredentials` - Used for loading credentials
         | 
| 89 103 | 
             
                #       from an EC2 IMDS on an EC2 instance.
         | 
| 90 104 | 
             
                #
         | 
| 91 | 
            -
                #     * `Aws:: | 
| 92 | 
            -
                #        | 
| 105 | 
            +
                #     * `Aws::ECSCredentials` - Used for loading credentials from
         | 
| 106 | 
            +
                #       instances running in ECS.
         | 
| 93 107 | 
             
                #
         | 
| 94 | 
            -
                #     * `Aws:: | 
| 108 | 
            +
                #     * `Aws::CognitoIdentityCredentials` - Used for loading credentials
         | 
| 109 | 
            +
                #       from the Cognito Identity service.
         | 
| 95 110 | 
             
                #
         | 
| 96 111 | 
             
                #     When `:credentials` are not configured directly, the following
         | 
| 97 112 | 
             
                #     locations will be searched for credentials:
         | 
| @@ -101,10 +116,10 @@ module Aws::WAFV2 | |
| 101 116 | 
             
                #     * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
         | 
| 102 117 | 
             
                #     * `~/.aws/credentials`
         | 
| 103 118 | 
             
                #     * `~/.aws/config`
         | 
| 104 | 
            -
                #     * EC2 IMDS instance profile - When used by default, the timeouts | 
| 105 | 
            -
                #       very aggressive. Construct and pass an instance of
         | 
| 106 | 
            -
                #       `Aws::InstanceProfileCredentails`  | 
| 107 | 
            -
                #       timeouts.
         | 
| 119 | 
            +
                #     * EC2/ECS IMDS instance profile - When used by default, the timeouts
         | 
| 120 | 
            +
                #       are very aggressive. Construct and pass an instance of
         | 
| 121 | 
            +
                #       `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
         | 
| 122 | 
            +
                #       enable retries and extended timeouts.
         | 
| 108 123 | 
             
                #
         | 
| 109 124 | 
             
                #   @option options [required, String] :region
         | 
| 110 125 | 
             
                #     The AWS region to connect to.  The configured `:region` is
         | 
| @@ -331,7 +346,7 @@ module Aws::WAFV2 | |
| 331 346 | 
             
                #
         | 
| 332 347 | 
             
                # Associates a Web ACL with a regional application resource, to protect
         | 
| 333 348 | 
             
                # the resource. A regional application can be an Application Load
         | 
| 334 | 
            -
                # Balancer (ALB)  | 
| 349 | 
            +
                # Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL API.
         | 
| 335 350 | 
             
                #
         | 
| 336 351 | 
             
                # For AWS CloudFront, don't use this call. Instead, use your CloudFront
         | 
| 337 352 | 
             
                # distribution configuration. To associate a Web ACL, in the CloudFront
         | 
| @@ -358,9 +373,12 @@ module Aws::WAFV2 | |
| 358 373 | 
             
                #     `arn:aws:elasticloadbalancing:region:account-id:loadbalancer/app/load-balancer-name/load-balancer-id
         | 
| 359 374 | 
             
                #     `
         | 
| 360 375 | 
             
                #
         | 
| 361 | 
            -
                #   * For an  | 
| 376 | 
            +
                #   * For an API Gateway REST API:
         | 
| 362 377 | 
             
                #     `arn:aws:apigateway:region::/restapis/api-id/stages/stage-name `
         | 
| 363 378 | 
             
                #
         | 
| 379 | 
            +
                #   * For an AppSync GraphQL API:
         | 
| 380 | 
            +
                #     `arn:aws:appsync:region:account-id:apis/GraphQLApiId `
         | 
| 381 | 
            +
                #
         | 
| 364 382 | 
             
                # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
         | 
| 365 383 | 
             
                #
         | 
| 366 384 | 
             
                # @example Request syntax with placeholder values
         | 
| @@ -406,7 +424,8 @@ module Aws::WAFV2 | |
| 406 424 | 
             
                # @option params [required, String] :scope
         | 
| 407 425 | 
             
                #   Specifies whether this is for an AWS CloudFront distribution or for a
         | 
| 408 426 | 
             
                #   regional application. A regional application can be an Application
         | 
| 409 | 
            -
                #   Load Balancer (ALB)  | 
| 427 | 
            +
                #   Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
         | 
| 428 | 
            +
                #   API.
         | 
| 410 429 | 
             
                #
         | 
| 411 430 | 
             
                #   To work with CloudFront, you must also specify the Region US East (N.
         | 
| 412 431 | 
             
                #   Virginia) as follows:
         | 
| @@ -691,7 +710,8 @@ module Aws::WAFV2 | |
| 691 710 | 
             
                # @option params [required, String] :scope
         | 
| 692 711 | 
             
                #   Specifies whether this is for an AWS CloudFront distribution or for a
         | 
| 693 712 | 
             
                #   regional application. A regional application can be an Application
         | 
| 694 | 
            -
                #   Load Balancer (ALB)  | 
| 713 | 
            +
                #   Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
         | 
| 714 | 
            +
                #   API.
         | 
| 695 715 | 
             
                #
         | 
| 696 716 | 
             
                #   To work with CloudFront, you must also specify the Region US East (N.
         | 
| 697 717 | 
             
                #   Virginia) as follows:
         | 
| @@ -802,7 +822,8 @@ module Aws::WAFV2 | |
| 802 822 | 
             
                # @option params [required, String] :scope
         | 
| 803 823 | 
             
                #   Specifies whether this is for an AWS CloudFront distribution or for a
         | 
| 804 824 | 
             
                #   regional application. A regional application can be an Application
         | 
| 805 | 
            -
                #   Load Balancer (ALB)  | 
| 825 | 
            +
                #   Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
         | 
| 826 | 
            +
                #   API.
         | 
| 806 827 | 
             
                #
         | 
| 807 828 | 
             
                #   To work with CloudFront, you must also specify the Region US East (N.
         | 
| 808 829 | 
             
                #   Virginia) as follows:
         | 
| @@ -888,7 +909,8 @@ module Aws::WAFV2 | |
| 888 909 | 
             
                # @option params [required, String] :scope
         | 
| 889 910 | 
             
                #   Specifies whether this is for an AWS CloudFront distribution or for a
         | 
| 890 911 | 
             
                #   regional application. A regional application can be an Application
         | 
| 891 | 
            -
                #   Load Balancer (ALB)  | 
| 912 | 
            +
                #   Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
         | 
| 913 | 
            +
                #   API.
         | 
| 892 914 | 
             
                #
         | 
| 893 915 | 
             
                #   To work with CloudFront, you must also specify the Region US East (N.
         | 
| 894 916 | 
             
                #   Virginia) as follows:
         | 
| @@ -1213,8 +1235,8 @@ module Aws::WAFV2 | |
| 1213 1235 | 
             
                # does not match any of the rules. The rules in a Web ACL can be a
         | 
| 1214 1236 | 
             
                # combination of the types Rule, RuleGroup, and managed rule group. You
         | 
| 1215 1237 | 
             
                # can associate a Web ACL with one or more AWS resources to protect. The
         | 
| 1216 | 
            -
                # resources can be Amazon CloudFront, an Amazon API Gateway API,  | 
| 1217 | 
            -
                # Application Load Balancer.
         | 
| 1238 | 
            +
                # resources can be Amazon CloudFront, an Amazon API Gateway REST API, an
         | 
| 1239 | 
            +
                # Application Load Balancer, or an AWS AppSync GraphQL API.
         | 
| 1218 1240 | 
             
                #
         | 
| 1219 1241 | 
             
                #
         | 
| 1220 1242 | 
             
                #
         | 
| @@ -1227,7 +1249,8 @@ module Aws::WAFV2 | |
| 1227 1249 | 
             
                # @option params [required, String] :scope
         | 
| 1228 1250 | 
             
                #   Specifies whether this is for an AWS CloudFront distribution or for a
         | 
| 1229 1251 | 
             
                #   regional application. A regional application can be an Application
         | 
| 1230 | 
            -
                #   Load Balancer (ALB)  | 
| 1252 | 
            +
                #   Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
         | 
| 1253 | 
            +
                #   API.
         | 
| 1231 1254 | 
             
                #
         | 
| 1232 1255 | 
             
                #   To work with CloudFront, you must also specify the Region US East (N.
         | 
| 1233 1256 | 
             
                #   Virginia) as follows:
         | 
| @@ -1591,7 +1614,8 @@ module Aws::WAFV2 | |
| 1591 1614 | 
             
                # @option params [required, String] :scope
         | 
| 1592 1615 | 
             
                #   Specifies whether this is for an AWS CloudFront distribution or for a
         | 
| 1593 1616 | 
             
                #   regional application. A regional application can be an Application
         | 
| 1594 | 
            -
                #   Load Balancer (ALB)  | 
| 1617 | 
            +
                #   Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
         | 
| 1618 | 
            +
                #   API.
         | 
| 1595 1619 | 
             
                #
         | 
| 1596 1620 | 
             
                #   To work with CloudFront, you must also specify the Region US East (N.
         | 
| 1597 1621 | 
             
                #   Virginia) as follows:
         | 
| @@ -1717,7 +1741,8 @@ module Aws::WAFV2 | |
| 1717 1741 | 
             
                # @option params [required, String] :scope
         | 
| 1718 1742 | 
             
                #   Specifies whether this is for an AWS CloudFront distribution or for a
         | 
| 1719 1743 | 
             
                #   regional application. A regional application can be an Application
         | 
| 1720 | 
            -
                #   Load Balancer (ALB)  | 
| 1744 | 
            +
                #   Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
         | 
| 1745 | 
            +
                #   API.
         | 
| 1721 1746 | 
             
                #
         | 
| 1722 1747 | 
             
                #   To work with CloudFront, you must also specify the Region US East (N.
         | 
| 1723 1748 | 
             
                #   Virginia) as follows:
         | 
| @@ -1782,7 +1807,8 @@ module Aws::WAFV2 | |
| 1782 1807 | 
             
                # @option params [required, String] :scope
         | 
| 1783 1808 | 
             
                #   Specifies whether this is for an AWS CloudFront distribution or for a
         | 
| 1784 1809 | 
             
                #   regional application. A regional application can be an Application
         | 
| 1785 | 
            -
                #   Load Balancer (ALB)  | 
| 1810 | 
            +
                #   Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
         | 
| 1811 | 
            +
                #   API.
         | 
| 1786 1812 | 
             
                #
         | 
| 1787 1813 | 
             
                #   To work with CloudFront, you must also specify the Region US East (N.
         | 
| 1788 1814 | 
             
                #   Virginia) as follows:
         | 
| @@ -1850,7 +1876,8 @@ module Aws::WAFV2 | |
| 1850 1876 | 
             
                # @option params [required, String] :scope
         | 
| 1851 1877 | 
             
                #   Specifies whether this is for an AWS CloudFront distribution or for a
         | 
| 1852 1878 | 
             
                #   regional application. A regional application can be an Application
         | 
| 1853 | 
            -
                #   Load Balancer (ALB)  | 
| 1879 | 
            +
                #   Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
         | 
| 1880 | 
            +
                #   API.
         | 
| 1854 1881 | 
             
                #
         | 
| 1855 1882 | 
             
                #   To work with CloudFront, you must also specify the Region US East (N.
         | 
| 1856 1883 | 
             
                #   Virginia) as follows:
         | 
| @@ -1920,7 +1947,8 @@ module Aws::WAFV2 | |
| 1920 1947 | 
             
                # @option params [required, String] :scope
         | 
| 1921 1948 | 
             
                #   Specifies whether this is for an AWS CloudFront distribution or for a
         | 
| 1922 1949 | 
             
                #   regional application. A regional application can be an Application
         | 
| 1923 | 
            -
                #   Load Balancer (ALB)  | 
| 1950 | 
            +
                #   Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
         | 
| 1951 | 
            +
                #   API.
         | 
| 1924 1952 | 
             
                #
         | 
| 1925 1953 | 
             
                #   To work with CloudFront, you must also specify the Region US East (N.
         | 
| 1926 1954 | 
             
                #   Virginia) as follows:
         | 
| @@ -1966,8 +1994,8 @@ module Aws::WAFV2 | |
| 1966 1994 | 
             
                #  </note>
         | 
| 1967 1995 | 
             
                #
         | 
| 1968 1996 | 
             
                # Disassociates a Web ACL from a regional application resource. A
         | 
| 1969 | 
            -
                # regional application can be an Application Load Balancer (ALB)  | 
| 1970 | 
            -
                # API  | 
| 1997 | 
            +
                # regional application can be an Application Load Balancer (ALB), an API
         | 
| 1998 | 
            +
                # Gateway REST API, or an AppSync GraphQL API.
         | 
| 1971 1999 | 
             
                #
         | 
| 1972 2000 | 
             
                # For AWS CloudFront, don't use this call. Instead, use your CloudFront
         | 
| 1973 2001 | 
             
                # distribution configuration. To disassociate a Web ACL, provide an
         | 
| @@ -1989,9 +2017,12 @@ module Aws::WAFV2 | |
| 1989 2017 | 
             
                #     `arn:aws:elasticloadbalancing:region:account-id:loadbalancer/app/load-balancer-name/load-balancer-id
         | 
| 1990 2018 | 
             
                #     `
         | 
| 1991 2019 | 
             
                #
         | 
| 1992 | 
            -
                #   * For an  | 
| 2020 | 
            +
                #   * For an API Gateway REST API:
         | 
| 1993 2021 | 
             
                #     `arn:aws:apigateway:region::/restapis/api-id/stages/stage-name `
         | 
| 1994 2022 | 
             
                #
         | 
| 2023 | 
            +
                #   * For an AppSync GraphQL API:
         | 
| 2024 | 
            +
                #     `arn:aws:appsync:region:account-id:apis/GraphQLApiId `
         | 
| 2025 | 
            +
                #
         | 
| 1995 2026 | 
             
                # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
         | 
| 1996 2027 | 
             
                #
         | 
| 1997 2028 | 
             
                # @example Request syntax with placeholder values
         | 
| @@ -2029,7 +2060,8 @@ module Aws::WAFV2 | |
| 2029 2060 | 
             
                # @option params [required, String] :scope
         | 
| 2030 2061 | 
             
                #   Specifies whether this is for an AWS CloudFront distribution or for a
         | 
| 2031 2062 | 
             
                #   regional application. A regional application can be an Application
         | 
| 2032 | 
            -
                #   Load Balancer (ALB)  | 
| 2063 | 
            +
                #   Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
         | 
| 2064 | 
            +
                #   API.
         | 
| 2033 2065 | 
             
                #
         | 
| 2034 2066 | 
             
                #   To work with CloudFront, you must also specify the Region US East (N.
         | 
| 2035 2067 | 
             
                #   Virginia) as follows:
         | 
| @@ -2112,6 +2144,7 @@ module Aws::WAFV2 | |
| 2112 2144 | 
             
                #   resp.logging_configuration.redacted_fields #=> Array
         | 
| 2113 2145 | 
             
                #   resp.logging_configuration.redacted_fields[0].single_header.name #=> String
         | 
| 2114 2146 | 
             
                #   resp.logging_configuration.redacted_fields[0].single_query_argument.name #=> String
         | 
| 2147 | 
            +
                #   resp.logging_configuration.managed_by_firewall_manager #=> Boolean
         | 
| 2115 2148 | 
             
                #
         | 
| 2116 2149 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/GetLoggingConfiguration AWS API Documentation
         | 
| 2117 2150 | 
             
                #
         | 
| @@ -2172,7 +2205,8 @@ module Aws::WAFV2 | |
| 2172 2205 | 
             
                # @option params [required, String] :scope
         | 
| 2173 2206 | 
             
                #   Specifies whether this is for an AWS CloudFront distribution or for a
         | 
| 2174 2207 | 
             
                #   regional application. A regional application can be an Application
         | 
| 2175 | 
            -
                #   Load Balancer (ALB)  | 
| 2208 | 
            +
                #   Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
         | 
| 2209 | 
            +
                #   API.
         | 
| 2176 2210 | 
             
                #
         | 
| 2177 2211 | 
             
                #   To work with CloudFront, you must also specify the Region US East (N.
         | 
| 2178 2212 | 
             
                #   Virginia) as follows:
         | 
| @@ -2246,7 +2280,8 @@ module Aws::WAFV2 | |
| 2246 2280 | 
             
                # @option params [required, String] :scope
         | 
| 2247 2281 | 
             
                #   Specifies whether this is for an AWS CloudFront distribution or for a
         | 
| 2248 2282 | 
             
                #   regional application. A regional application can be an Application
         | 
| 2249 | 
            -
                #   Load Balancer (ALB)  | 
| 2283 | 
            +
                #   Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
         | 
| 2284 | 
            +
                #   API.
         | 
| 2250 2285 | 
             
                #
         | 
| 2251 2286 | 
             
                #   To work with CloudFront, you must also specify the Region US East (N.
         | 
| 2252 2287 | 
             
                #   Virginia) as follows:
         | 
| @@ -2313,7 +2348,8 @@ module Aws::WAFV2 | |
| 2313 2348 | 
             
                # @option params [required, String] :scope
         | 
| 2314 2349 | 
             
                #   Specifies whether this is for an AWS CloudFront distribution or for a
         | 
| 2315 2350 | 
             
                #   regional application. A regional application can be an Application
         | 
| 2316 | 
            -
                #   Load Balancer (ALB)  | 
| 2351 | 
            +
                #   Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
         | 
| 2352 | 
            +
                #   API.
         | 
| 2317 2353 | 
             
                #
         | 
| 2318 2354 | 
             
                #   To work with CloudFront, you must also specify the Region US East (N.
         | 
| 2319 2355 | 
             
                #   Virginia) as follows:
         | 
| @@ -2458,7 +2494,8 @@ module Aws::WAFV2 | |
| 2458 2494 | 
             
                # @option params [required, String] :scope
         | 
| 2459 2495 | 
             
                #   Specifies whether this is for an AWS CloudFront distribution or for a
         | 
| 2460 2496 | 
             
                #   regional application. A regional application can be an Application
         | 
| 2461 | 
            -
                #   Load Balancer (ALB)  | 
| 2497 | 
            +
                #   Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
         | 
| 2498 | 
            +
                #   API.
         | 
| 2462 2499 | 
             
                #
         | 
| 2463 2500 | 
             
                #   To work with CloudFront, you must also specify the Region US East (N.
         | 
| 2464 2501 | 
             
                #   Virginia) as follows:
         | 
| @@ -2550,7 +2587,8 @@ module Aws::WAFV2 | |
| 2550 2587 | 
             
                # @option params [required, String] :scope
         | 
| 2551 2588 | 
             
                #   Specifies whether this is for an AWS CloudFront distribution or for a
         | 
| 2552 2589 | 
             
                #   regional application. A regional application can be an Application
         | 
| 2553 | 
            -
                #   Load Balancer (ALB)  | 
| 2590 | 
            +
                #   Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
         | 
| 2591 | 
            +
                #   API.
         | 
| 2554 2592 | 
             
                #
         | 
| 2555 2593 | 
             
                #   To work with CloudFront, you must also specify the Region US East (N.
         | 
| 2556 2594 | 
             
                #   Virginia) as follows:
         | 
| @@ -2839,7 +2877,8 @@ module Aws::WAFV2 | |
| 2839 2877 | 
             
                # @option params [required, String] :scope
         | 
| 2840 2878 | 
             
                #   Specifies whether this is for an AWS CloudFront distribution or for a
         | 
| 2841 2879 | 
             
                #   regional application. A regional application can be an Application
         | 
| 2842 | 
            -
                #   Load Balancer (ALB)  | 
| 2880 | 
            +
                #   Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
         | 
| 2881 | 
            +
                #   API.
         | 
| 2843 2882 | 
             
                #
         | 
| 2844 2883 | 
             
                #   To work with CloudFront, you must also specify the Region US East (N.
         | 
| 2845 2884 | 
             
                #   Virginia) as follows:
         | 
| @@ -2909,7 +2948,8 @@ module Aws::WAFV2 | |
| 2909 2948 | 
             
                # @option params [required, String] :scope
         | 
| 2910 2949 | 
             
                #   Specifies whether this is for an AWS CloudFront distribution or for a
         | 
| 2911 2950 | 
             
                #   regional application. A regional application can be an Application
         | 
| 2912 | 
            -
                #   Load Balancer (ALB)  | 
| 2951 | 
            +
                #   Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
         | 
| 2952 | 
            +
                #   API.
         | 
| 2913 2953 | 
             
                #
         | 
| 2914 2954 | 
             
                #   To work with CloudFront, you must also specify the Region US East (N.
         | 
| 2915 2955 | 
             
                #   Virginia) as follows:
         | 
| @@ -2980,7 +3020,8 @@ module Aws::WAFV2 | |
| 2980 3020 | 
             
                # @option params [String] :scope
         | 
| 2981 3021 | 
             
                #   Specifies whether this is for an AWS CloudFront distribution or for a
         | 
| 2982 3022 | 
             
                #   regional application. A regional application can be an Application
         | 
| 2983 | 
            -
                #   Load Balancer (ALB)  | 
| 3023 | 
            +
                #   Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
         | 
| 3024 | 
            +
                #   API.
         | 
| 2984 3025 | 
             
                #
         | 
| 2985 3026 | 
             
                #   To work with CloudFront, you must also specify the Region US East (N.
         | 
| 2986 3027 | 
             
                #   Virginia) as follows:
         | 
| @@ -3025,6 +3066,7 @@ module Aws::WAFV2 | |
| 3025 3066 | 
             
                #   resp.logging_configurations[0].redacted_fields #=> Array
         | 
| 3026 3067 | 
             
                #   resp.logging_configurations[0].redacted_fields[0].single_header.name #=> String
         | 
| 3027 3068 | 
             
                #   resp.logging_configurations[0].redacted_fields[0].single_query_argument.name #=> String
         | 
| 3069 | 
            +
                #   resp.logging_configurations[0].managed_by_firewall_manager #=> Boolean
         | 
| 3028 3070 | 
             
                #   resp.next_marker #=> String
         | 
| 3029 3071 | 
             
                #
         | 
| 3030 3072 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/ListLoggingConfigurations AWS API Documentation
         | 
| @@ -3053,7 +3095,8 @@ module Aws::WAFV2 | |
| 3053 3095 | 
             
                # @option params [required, String] :scope
         | 
| 3054 3096 | 
             
                #   Specifies whether this is for an AWS CloudFront distribution or for a
         | 
| 3055 3097 | 
             
                #   regional application. A regional application can be an Application
         | 
| 3056 | 
            -
                #   Load Balancer (ALB)  | 
| 3098 | 
            +
                #   Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
         | 
| 3099 | 
            +
                #   API.
         | 
| 3057 3100 | 
             
                #
         | 
| 3058 3101 | 
             
                #   To work with CloudFront, you must also specify the Region US East (N.
         | 
| 3059 3102 | 
             
                #   Virginia) as follows:
         | 
| @@ -3129,8 +3172,8 @@ module Aws::WAFV2 | |
| 3129 3172 | 
             
                #
         | 
| 3130 3173 | 
             
                # @option params [String] :resource_type
         | 
| 3131 3174 | 
             
                #   Used for web ACLs that are scoped for regional applications. A
         | 
| 3132 | 
            -
                #   regional application can be an Application Load Balancer (ALB)  | 
| 3133 | 
            -
                #   API  | 
| 3175 | 
            +
                #   regional application can be an Application Load Balancer (ALB), an API
         | 
| 3176 | 
            +
                #   Gateway REST API, or an AppSync GraphQL API.
         | 
| 3134 3177 | 
             
                #
         | 
| 3135 3178 | 
             
                # @return [Types::ListResourcesForWebACLResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
         | 
| 3136 3179 | 
             
                #
         | 
| @@ -3140,7 +3183,7 @@ module Aws::WAFV2 | |
| 3140 3183 | 
             
                #
         | 
| 3141 3184 | 
             
                #   resp = client.list_resources_for_web_acl({
         | 
| 3142 3185 | 
             
                #     web_acl_arn: "ResourceArn", # required
         | 
| 3143 | 
            -
                #     resource_type: "APPLICATION_LOAD_BALANCER", # accepts APPLICATION_LOAD_BALANCER, API_GATEWAY
         | 
| 3186 | 
            +
                #     resource_type: "APPLICATION_LOAD_BALANCER", # accepts APPLICATION_LOAD_BALANCER, API_GATEWAY, APPSYNC
         | 
| 3144 3187 | 
             
                #   })
         | 
| 3145 3188 | 
             
                #
         | 
| 3146 3189 | 
             
                # @example Response structure
         | 
| @@ -3174,7 +3217,8 @@ module Aws::WAFV2 | |
| 3174 3217 | 
             
                # @option params [required, String] :scope
         | 
| 3175 3218 | 
             
                #   Specifies whether this is for an AWS CloudFront distribution or for a
         | 
| 3176 3219 | 
             
                #   regional application. A regional application can be an Application
         | 
| 3177 | 
            -
                #   Load Balancer (ALB)  | 
| 3220 | 
            +
                #   Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
         | 
| 3221 | 
            +
                #   API.
         | 
| 3178 3222 | 
             
                #
         | 
| 3179 3223 | 
             
                #   To work with CloudFront, you must also specify the Region US East (N.
         | 
| 3180 3224 | 
             
                #   Virginia) as follows:
         | 
| @@ -3314,7 +3358,8 @@ module Aws::WAFV2 | |
| 3314 3358 | 
             
                # @option params [required, String] :scope
         | 
| 3315 3359 | 
             
                #   Specifies whether this is for an AWS CloudFront distribution or for a
         | 
| 3316 3360 | 
             
                #   regional application. A regional application can be an Application
         | 
| 3317 | 
            -
                #   Load Balancer (ALB)  | 
| 3361 | 
            +
                #   Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
         | 
| 3362 | 
            +
                #   API.
         | 
| 3318 3363 | 
             
                #
         | 
| 3319 3364 | 
             
                #   To work with CloudFront, you must also specify the Region US East (N.
         | 
| 3320 3365 | 
             
                #   Virginia) as follows:
         | 
| @@ -3442,6 +3487,7 @@ module Aws::WAFV2 | |
| 3442 3487 | 
             
                #           },
         | 
| 3443 3488 | 
             
                #         },
         | 
| 3444 3489 | 
             
                #       ],
         | 
| 3490 | 
            +
                #       managed_by_firewall_manager: false,
         | 
| 3445 3491 | 
             
                #     },
         | 
| 3446 3492 | 
             
                #   })
         | 
| 3447 3493 | 
             
                #
         | 
| @@ -3453,6 +3499,7 @@ module Aws::WAFV2 | |
| 3453 3499 | 
             
                #   resp.logging_configuration.redacted_fields #=> Array
         | 
| 3454 3500 | 
             
                #   resp.logging_configuration.redacted_fields[0].single_header.name #=> String
         | 
| 3455 3501 | 
             
                #   resp.logging_configuration.redacted_fields[0].single_query_argument.name #=> String
         | 
| 3502 | 
            +
                #   resp.logging_configuration.managed_by_firewall_manager #=> Boolean
         | 
| 3456 3503 | 
             
                #
         | 
| 3457 3504 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/PutLoggingConfiguration AWS API Documentation
         | 
| 3458 3505 | 
             
                #
         | 
| @@ -3638,7 +3685,8 @@ module Aws::WAFV2 | |
| 3638 3685 | 
             
                # @option params [required, String] :scope
         | 
| 3639 3686 | 
             
                #   Specifies whether this is for an AWS CloudFront distribution or for a
         | 
| 3640 3687 | 
             
                #   regional application. A regional application can be an Application
         | 
| 3641 | 
            -
                #   Load Balancer (ALB)  | 
| 3688 | 
            +
                #   Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
         | 
| 3689 | 
            +
                #   API.
         | 
| 3642 3690 | 
             
                #
         | 
| 3643 3691 | 
             
                #   To work with CloudFront, you must also specify the Region US East (N.
         | 
| 3644 3692 | 
             
                #   Virginia) as follows:
         | 
| @@ -3747,7 +3795,8 @@ module Aws::WAFV2 | |
| 3747 3795 | 
             
                # @option params [required, String] :scope
         | 
| 3748 3796 | 
             
                #   Specifies whether this is for an AWS CloudFront distribution or for a
         | 
| 3749 3797 | 
             
                #   regional application. A regional application can be an Application
         | 
| 3750 | 
            -
                #   Load Balancer (ALB)  | 
| 3798 | 
            +
                #   Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
         | 
| 3799 | 
            +
                #   API.
         | 
| 3751 3800 | 
             
                #
         | 
| 3752 3801 | 
             
                #   To work with CloudFront, you must also specify the Region US East (N.
         | 
| 3753 3802 | 
             
                #   Virginia) as follows:
         | 
| @@ -3836,7 +3885,8 @@ module Aws::WAFV2 | |
| 3836 3885 | 
             
                # @option params [required, String] :scope
         | 
| 3837 3886 | 
             
                #   Specifies whether this is for an AWS CloudFront distribution or for a
         | 
| 3838 3887 | 
             
                #   regional application. A regional application can be an Application
         | 
| 3839 | 
            -
                #   Load Balancer (ALB)  | 
| 3888 | 
            +
                #   Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
         | 
| 3889 | 
            +
                #   API.
         | 
| 3840 3890 | 
             
                #
         | 
| 3841 3891 | 
             
                #   To work with CloudFront, you must also specify the Region US East (N.
         | 
| 3842 3892 | 
             
                #   Virginia) as follows:
         | 
| @@ -4147,8 +4197,8 @@ module Aws::WAFV2 | |
| 4147 4197 | 
             
                # does not match any of the rules. The rules in a Web ACL can be a
         | 
| 4148 4198 | 
             
                # combination of the types Rule, RuleGroup, and managed rule group. You
         | 
| 4149 4199 | 
             
                # can associate a Web ACL with one or more AWS resources to protect. The
         | 
| 4150 | 
            -
                # resources can be Amazon CloudFront, an Amazon API Gateway API,  | 
| 4151 | 
            -
                # Application Load Balancer.
         | 
| 4200 | 
            +
                # resources can be Amazon CloudFront, an Amazon API Gateway REST API, an
         | 
| 4201 | 
            +
                # Application Load Balancer, or an AWS AppSync GraphQL API.
         | 
| 4152 4202 | 
             
                #
         | 
| 4153 4203 | 
             
                #
         | 
| 4154 4204 | 
             
                #
         | 
| @@ -4161,7 +4211,8 @@ module Aws::WAFV2 | |
| 4161 4211 | 
             
                # @option params [required, String] :scope
         | 
| 4162 4212 | 
             
                #   Specifies whether this is for an AWS CloudFront distribution or for a
         | 
| 4163 4213 | 
             
                #   regional application. A regional application can be an Application
         | 
| 4164 | 
            -
                #   Load Balancer (ALB)  | 
| 4214 | 
            +
                #   Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
         | 
| 4215 | 
            +
                #   API.
         | 
| 4165 4216 | 
             
                #
         | 
| 4166 4217 | 
             
                #   To work with CloudFront, you must also specify the Region US East (N.
         | 
| 4167 4218 | 
             
                #   Virginia) as follows:
         | 
| @@ -4479,7 +4530,7 @@ module Aws::WAFV2 | |
| 4479 4530 | 
             
                    params: params,
         | 
| 4480 4531 | 
             
                    config: config)
         | 
| 4481 4532 | 
             
                  context[:gem_name] = 'aws-sdk-wafv2'
         | 
| 4482 | 
            -
                  context[:gem_version] = '1. | 
| 4533 | 
            +
                  context[:gem_version] = '1.14.0'
         | 
| 4483 4534 | 
             
                  Seahorse::Client::Request.new(handlers, context)
         | 
| 4484 4535 | 
             
                end
         | 
| 4485 4536 |  | 
| @@ -611,6 +611,7 @@ module Aws::WAFV2 | |
| 611 611 | 
             
                LoggingConfiguration.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
         | 
| 612 612 | 
             
                LoggingConfiguration.add_member(:log_destination_configs, Shapes::ShapeRef.new(shape: LogDestinationConfigs, required: true, location_name: "LogDestinationConfigs"))
         | 
| 613 613 | 
             
                LoggingConfiguration.add_member(:redacted_fields, Shapes::ShapeRef.new(shape: RedactedFields, location_name: "RedactedFields"))
         | 
| 614 | 
            +
                LoggingConfiguration.add_member(:managed_by_firewall_manager, Shapes::ShapeRef.new(shape: Boolean, location_name: "ManagedByFirewallManager"))
         | 
| 614 615 | 
             
                LoggingConfiguration.struct_class = Types::LoggingConfiguration
         | 
| 615 616 |  | 
| 616 617 | 
             
                LoggingConfigurations.member = Shapes::ShapeRef.new(shape: LoggingConfiguration)
         | 
    
        data/lib/aws-sdk-wafv2/types.rb
    CHANGED
    
    | @@ -308,8 +308,11 @@ module Aws::WAFV2 | |
| 308 308 | 
             
                #     `arn:aws:elasticloadbalancing:region:account-id:loadbalancer/app/load-balancer-name/load-balancer-id
         | 
| 309 309 | 
             
                #     `
         | 
| 310 310 | 
             
                #
         | 
| 311 | 
            -
                #   * For an  | 
| 311 | 
            +
                #   * For an API Gateway REST API:
         | 
| 312 312 | 
             
                #     `arn:aws:apigateway:region::/restapis/api-id/stages/stage-name `
         | 
| 313 | 
            +
                #
         | 
| 314 | 
            +
                #   * For an AppSync GraphQL API:
         | 
| 315 | 
            +
                #     `arn:aws:appsync:region:account-id:apis/GraphQLApiId `
         | 
| 313 316 | 
             
                #   @return [String]
         | 
| 314 317 | 
             
                #
         | 
| 315 318 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/AssociateWebACLRequest AWS API Documentation
         | 
| @@ -756,7 +759,8 @@ module Aws::WAFV2 | |
| 756 759 | 
             
                # @!attribute [rw] scope
         | 
| 757 760 | 
             
                #   Specifies whether this is for an AWS CloudFront distribution or for
         | 
| 758 761 | 
             
                #   a regional application. A regional application can be an Application
         | 
| 759 | 
            -
                #   Load Balancer (ALB)  | 
| 762 | 
            +
                #   Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
         | 
| 763 | 
            +
                #   API.
         | 
| 760 764 | 
             
                #
         | 
| 761 765 | 
             
                #   To work with CloudFront, you must also specify the Region US East
         | 
| 762 766 | 
             
                #   (N. Virginia) as follows:
         | 
| @@ -840,7 +844,8 @@ module Aws::WAFV2 | |
| 840 844 | 
             
                # @!attribute [rw] scope
         | 
| 841 845 | 
             
                #   Specifies whether this is for an AWS CloudFront distribution or for
         | 
| 842 846 | 
             
                #   a regional application. A regional application can be an Application
         | 
| 843 | 
            -
                #   Load Balancer (ALB)  | 
| 847 | 
            +
                #   Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
         | 
| 848 | 
            +
                #   API.
         | 
| 844 849 | 
             
                #
         | 
| 845 850 | 
             
                #   To work with CloudFront, you must also specify the Region US East
         | 
| 846 851 | 
             
                #   (N. Virginia) as follows:
         | 
| @@ -955,7 +960,8 @@ module Aws::WAFV2 | |
| 955 960 | 
             
                # @!attribute [rw] scope
         | 
| 956 961 | 
             
                #   Specifies whether this is for an AWS CloudFront distribution or for
         | 
| 957 962 | 
             
                #   a regional application. A regional application can be an Application
         | 
| 958 | 
            -
                #   Load Balancer (ALB)  | 
| 963 | 
            +
                #   Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
         | 
| 964 | 
            +
                #   API.
         | 
| 959 965 | 
             
                #
         | 
| 960 966 | 
             
                #   To work with CloudFront, you must also specify the Region US East
         | 
| 961 967 | 
             
                #   (N. Virginia) as follows:
         | 
| @@ -1260,7 +1266,8 @@ module Aws::WAFV2 | |
| 1260 1266 | 
             
                # @!attribute [rw] scope
         | 
| 1261 1267 | 
             
                #   Specifies whether this is for an AWS CloudFront distribution or for
         | 
| 1262 1268 | 
             
                #   a regional application. A regional application can be an Application
         | 
| 1263 | 
            -
                #   Load Balancer (ALB)  | 
| 1269 | 
            +
                #   Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
         | 
| 1270 | 
            +
                #   API.
         | 
| 1264 1271 | 
             
                #
         | 
| 1265 1272 | 
             
                #   To work with CloudFront, you must also specify the Region US East
         | 
| 1266 1273 | 
             
                #   (N. Virginia) as follows:
         | 
| @@ -1598,7 +1605,8 @@ module Aws::WAFV2 | |
| 1598 1605 | 
             
                # @!attribute [rw] scope
         | 
| 1599 1606 | 
             
                #   Specifies whether this is for an AWS CloudFront distribution or for
         | 
| 1600 1607 | 
             
                #   a regional application. A regional application can be an Application
         | 
| 1601 | 
            -
                #   Load Balancer (ALB)  | 
| 1608 | 
            +
                #   Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
         | 
| 1609 | 
            +
                #   API.
         | 
| 1602 1610 | 
             
                #
         | 
| 1603 1611 | 
             
                #   To work with CloudFront, you must also specify the Region US East
         | 
| 1604 1612 | 
             
                #   (N. Virginia) as follows:
         | 
| @@ -1777,7 +1785,8 @@ module Aws::WAFV2 | |
| 1777 1785 | 
             
                # @!attribute [rw] scope
         | 
| 1778 1786 | 
             
                #   Specifies whether this is for an AWS CloudFront distribution or for
         | 
| 1779 1787 | 
             
                #   a regional application. A regional application can be an Application
         | 
| 1780 | 
            -
                #   Load Balancer (ALB)  | 
| 1788 | 
            +
                #   Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
         | 
| 1789 | 
            +
                #   API.
         | 
| 1781 1790 | 
             
                #
         | 
| 1782 1791 | 
             
                #   To work with CloudFront, you must also specify the Region US East
         | 
| 1783 1792 | 
             
                #   (N. Virginia) as follows:
         | 
| @@ -1889,7 +1898,8 @@ module Aws::WAFV2 | |
| 1889 1898 | 
             
                # @!attribute [rw] scope
         | 
| 1890 1899 | 
             
                #   Specifies whether this is for an AWS CloudFront distribution or for
         | 
| 1891 1900 | 
             
                #   a regional application. A regional application can be an Application
         | 
| 1892 | 
            -
                #   Load Balancer (ALB)  | 
| 1901 | 
            +
                #   Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
         | 
| 1902 | 
            +
                #   API.
         | 
| 1893 1903 | 
             
                #
         | 
| 1894 1904 | 
             
                #   To work with CloudFront, you must also specify the Region US East
         | 
| 1895 1905 | 
             
                #   (N. Virginia) as follows:
         | 
| @@ -1951,7 +1961,8 @@ module Aws::WAFV2 | |
| 1951 1961 | 
             
                # @!attribute [rw] scope
         | 
| 1952 1962 | 
             
                #   Specifies whether this is for an AWS CloudFront distribution or for
         | 
| 1953 1963 | 
             
                #   a regional application. A regional application can be an Application
         | 
| 1954 | 
            -
                #   Load Balancer (ALB)  | 
| 1964 | 
            +
                #   Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
         | 
| 1965 | 
            +
                #   API.
         | 
| 1955 1966 | 
             
                #
         | 
| 1956 1967 | 
             
                #   To work with CloudFront, you must also specify the Region US East
         | 
| 1957 1968 | 
             
                #   (N. Virginia) as follows:
         | 
| @@ -2013,7 +2024,8 @@ module Aws::WAFV2 | |
| 2013 2024 | 
             
                # @!attribute [rw] scope
         | 
| 2014 2025 | 
             
                #   Specifies whether this is for an AWS CloudFront distribution or for
         | 
| 2015 2026 | 
             
                #   a regional application. A regional application can be an Application
         | 
| 2016 | 
            -
                #   Load Balancer (ALB)  | 
| 2027 | 
            +
                #   Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
         | 
| 2028 | 
            +
                #   API.
         | 
| 2017 2029 | 
             
                #
         | 
| 2018 2030 | 
             
                #   To work with CloudFront, you must also specify the Region US East
         | 
| 2019 2031 | 
             
                #   (N. Virginia) as follows:
         | 
| @@ -2079,7 +2091,8 @@ module Aws::WAFV2 | |
| 2079 2091 | 
             
                # @!attribute [rw] scope
         | 
| 2080 2092 | 
             
                #   Specifies whether this is for an AWS CloudFront distribution or for
         | 
| 2081 2093 | 
             
                #   a regional application. A regional application can be an Application
         | 
| 2082 | 
            -
                #   Load Balancer (ALB)  | 
| 2094 | 
            +
                #   Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
         | 
| 2095 | 
            +
                #   API.
         | 
| 2083 2096 | 
             
                #
         | 
| 2084 2097 | 
             
                #   To work with CloudFront, you must also specify the Region US East
         | 
| 2085 2098 | 
             
                #   (N. Virginia) as follows:
         | 
| @@ -2139,8 +2152,11 @@ module Aws::WAFV2 | |
| 2139 2152 | 
             
                #     `arn:aws:elasticloadbalancing:region:account-id:loadbalancer/app/load-balancer-name/load-balancer-id
         | 
| 2140 2153 | 
             
                #     `
         | 
| 2141 2154 | 
             
                #
         | 
| 2142 | 
            -
                #   * For an  | 
| 2155 | 
            +
                #   * For an API Gateway REST API:
         | 
| 2143 2156 | 
             
                #     `arn:aws:apigateway:region::/restapis/api-id/stages/stage-name `
         | 
| 2157 | 
            +
                #
         | 
| 2158 | 
            +
                #   * For an AppSync GraphQL API:
         | 
| 2159 | 
            +
                #     `arn:aws:appsync:region:account-id:apis/GraphQLApiId `
         | 
| 2144 2160 | 
             
                #   @return [String]
         | 
| 2145 2161 | 
             
                #
         | 
| 2146 2162 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/DisassociateWebACLRequest AWS API Documentation
         | 
| @@ -2551,7 +2567,8 @@ module Aws::WAFV2 | |
| 2551 2567 | 
             
                # @!attribute [rw] scope
         | 
| 2552 2568 | 
             
                #   Specifies whether this is for an AWS CloudFront distribution or for
         | 
| 2553 2569 | 
             
                #   a regional application. A regional application can be an Application
         | 
| 2554 | 
            -
                #   Load Balancer (ALB)  | 
| 2570 | 
            +
                #   Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
         | 
| 2571 | 
            +
                #   API.
         | 
| 2555 2572 | 
             
                #
         | 
| 2556 2573 | 
             
                #   To work with CloudFront, you must also specify the Region US East
         | 
| 2557 2574 | 
             
                #   (N. Virginia) as follows:
         | 
| @@ -2679,7 +2696,8 @@ module Aws::WAFV2 | |
| 2679 2696 | 
             
                # @!attribute [rw] scope
         | 
| 2680 2697 | 
             
                #   Specifies whether this is for an AWS CloudFront distribution or for
         | 
| 2681 2698 | 
             
                #   a regional application. A regional application can be an Application
         | 
| 2682 | 
            -
                #   Load Balancer (ALB)  | 
| 2699 | 
            +
                #   Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
         | 
| 2700 | 
            +
                #   API.
         | 
| 2683 2701 | 
             
                #
         | 
| 2684 2702 | 
             
                #   To work with CloudFront, you must also specify the Region US East
         | 
| 2685 2703 | 
             
                #   (N. Virginia) as follows:
         | 
| @@ -2750,7 +2768,8 @@ module Aws::WAFV2 | |
| 2750 2768 | 
             
                # @!attribute [rw] scope
         | 
| 2751 2769 | 
             
                #   Specifies whether this is for an AWS CloudFront distribution or for
         | 
| 2752 2770 | 
             
                #   a regional application. A regional application can be an Application
         | 
| 2753 | 
            -
                #   Load Balancer (ALB)  | 
| 2771 | 
            +
                #   Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
         | 
| 2772 | 
            +
                #   API.
         | 
| 2754 2773 | 
             
                #
         | 
| 2755 2774 | 
             
                #   To work with CloudFront, you must also specify the Region US East
         | 
| 2756 2775 | 
             
                #   (N. Virginia) as follows:
         | 
| @@ -2818,7 +2837,8 @@ module Aws::WAFV2 | |
| 2818 2837 | 
             
                # @!attribute [rw] scope
         | 
| 2819 2838 | 
             
                #   Specifies whether this is for an AWS CloudFront distribution or for
         | 
| 2820 2839 | 
             
                #   a regional application. A regional application can be an Application
         | 
| 2821 | 
            -
                #   Load Balancer (ALB)  | 
| 2840 | 
            +
                #   Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
         | 
| 2841 | 
            +
                #   API.
         | 
| 2822 2842 | 
             
                #
         | 
| 2823 2843 | 
             
                #   To work with CloudFront, you must also specify the Region US East
         | 
| 2824 2844 | 
             
                #   (N. Virginia) as follows:
         | 
| @@ -2896,7 +2916,8 @@ module Aws::WAFV2 | |
| 2896 2916 | 
             
                # @!attribute [rw] scope
         | 
| 2897 2917 | 
             
                #   Specifies whether this is for an AWS CloudFront distribution or for
         | 
| 2898 2918 | 
             
                #   a regional application. A regional application can be an Application
         | 
| 2899 | 
            -
                #   Load Balancer (ALB)  | 
| 2919 | 
            +
                #   Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
         | 
| 2920 | 
            +
                #   API.
         | 
| 2900 2921 | 
             
                #
         | 
| 2901 2922 | 
             
                #   To work with CloudFront, you must also specify the Region US East
         | 
| 2902 2923 | 
             
                #   (N. Virginia) as follows:
         | 
| @@ -3016,7 +3037,8 @@ module Aws::WAFV2 | |
| 3016 3037 | 
             
                # @!attribute [rw] scope
         | 
| 3017 3038 | 
             
                #   Specifies whether this is for an AWS CloudFront distribution or for
         | 
| 3018 3039 | 
             
                #   a regional application. A regional application can be an Application
         | 
| 3019 | 
            -
                #   Load Balancer (ALB)  | 
| 3040 | 
            +
                #   Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
         | 
| 3041 | 
            +
                #   API.
         | 
| 3020 3042 | 
             
                #
         | 
| 3021 3043 | 
             
                #   To work with CloudFront, you must also specify the Region US East
         | 
| 3022 3044 | 
             
                #   (N. Virginia) as follows:
         | 
| @@ -3477,7 +3499,8 @@ module Aws::WAFV2 | |
| 3477 3499 | 
             
                # @!attribute [rw] scope
         | 
| 3478 3500 | 
             
                #   Specifies whether this is for an AWS CloudFront distribution or for
         | 
| 3479 3501 | 
             
                #   a regional application. A regional application can be an Application
         | 
| 3480 | 
            -
                #   Load Balancer (ALB)  | 
| 3502 | 
            +
                #   Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
         | 
| 3503 | 
            +
                #   API.
         | 
| 3481 3504 | 
             
                #
         | 
| 3482 3505 | 
             
                #   To work with CloudFront, you must also specify the Region US East
         | 
| 3483 3506 | 
             
                #   (N. Virginia) as follows:
         | 
| @@ -3545,7 +3568,8 @@ module Aws::WAFV2 | |
| 3545 3568 | 
             
                # @!attribute [rw] scope
         | 
| 3546 3569 | 
             
                #   Specifies whether this is for an AWS CloudFront distribution or for
         | 
| 3547 3570 | 
             
                #   a regional application. A regional application can be an Application
         | 
| 3548 | 
            -
                #   Load Balancer (ALB)  | 
| 3571 | 
            +
                #   Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
         | 
| 3572 | 
            +
                #   API.
         | 
| 3549 3573 | 
             
                #
         | 
| 3550 3574 | 
             
                #   To work with CloudFront, you must also specify the Region US East
         | 
| 3551 3575 | 
             
                #   (N. Virginia) as follows:
         | 
| @@ -3615,7 +3639,8 @@ module Aws::WAFV2 | |
| 3615 3639 | 
             
                # @!attribute [rw] scope
         | 
| 3616 3640 | 
             
                #   Specifies whether this is for an AWS CloudFront distribution or for
         | 
| 3617 3641 | 
             
                #   a regional application. A regional application can be an Application
         | 
| 3618 | 
            -
                #   Load Balancer (ALB)  | 
| 3642 | 
            +
                #   Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
         | 
| 3643 | 
            +
                #   API.
         | 
| 3619 3644 | 
             
                #
         | 
| 3620 3645 | 
             
                #   To work with CloudFront, you must also specify the Region US East
         | 
| 3621 3646 | 
             
                #   (N. Virginia) as follows:
         | 
| @@ -3683,7 +3708,8 @@ module Aws::WAFV2 | |
| 3683 3708 | 
             
                # @!attribute [rw] scope
         | 
| 3684 3709 | 
             
                #   Specifies whether this is for an AWS CloudFront distribution or for
         | 
| 3685 3710 | 
             
                #   a regional application. A regional application can be an Application
         | 
| 3686 | 
            -
                #   Load Balancer (ALB)  | 
| 3711 | 
            +
                #   Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
         | 
| 3712 | 
            +
                #   API.
         | 
| 3687 3713 | 
             
                #
         | 
| 3688 3714 | 
             
                #   To work with CloudFront, you must also specify the Region US East
         | 
| 3689 3715 | 
             
                #   (N. Virginia) as follows:
         | 
| @@ -3744,7 +3770,7 @@ module Aws::WAFV2 | |
| 3744 3770 | 
             
                #
         | 
| 3745 3771 | 
             
                #       {
         | 
| 3746 3772 | 
             
                #         web_acl_arn: "ResourceArn", # required
         | 
| 3747 | 
            -
                #         resource_type: "APPLICATION_LOAD_BALANCER", # accepts APPLICATION_LOAD_BALANCER, API_GATEWAY
         | 
| 3773 | 
            +
                #         resource_type: "APPLICATION_LOAD_BALANCER", # accepts APPLICATION_LOAD_BALANCER, API_GATEWAY, APPSYNC
         | 
| 3748 3774 | 
             
                #       }
         | 
| 3749 3775 | 
             
                #
         | 
| 3750 3776 | 
             
                # @!attribute [rw] web_acl_arn
         | 
| @@ -3753,8 +3779,8 @@ module Aws::WAFV2 | |
| 3753 3779 | 
             
                #
         | 
| 3754 3780 | 
             
                # @!attribute [rw] resource_type
         | 
| 3755 3781 | 
             
                #   Used for web ACLs that are scoped for regional applications. A
         | 
| 3756 | 
            -
                #   regional application can be an Application Load Balancer (ALB)  | 
| 3757 | 
            -
                #   API Gateway  | 
| 3782 | 
            +
                #   regional application can be an Application Load Balancer (ALB), an
         | 
| 3783 | 
            +
                #   API Gateway REST API, or an AppSync GraphQL API.
         | 
| 3758 3784 | 
             
                #   @return [String]
         | 
| 3759 3785 | 
             
                #
         | 
| 3760 3786 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/ListResourcesForWebACLRequest AWS API Documentation
         | 
| @@ -3791,7 +3817,8 @@ module Aws::WAFV2 | |
| 3791 3817 | 
             
                # @!attribute [rw] scope
         | 
| 3792 3818 | 
             
                #   Specifies whether this is for an AWS CloudFront distribution or for
         | 
| 3793 3819 | 
             
                #   a regional application. A regional application can be an Application
         | 
| 3794 | 
            -
                #   Load Balancer (ALB)  | 
| 3820 | 
            +
                #   Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
         | 
| 3821 | 
            +
                #   API.
         | 
| 3795 3822 | 
             
                #
         | 
| 3796 3823 | 
             
                #   To work with CloudFront, you must also specify the Region US East
         | 
| 3797 3824 | 
             
                #   (N. Virginia) as follows:
         | 
| @@ -3918,7 +3945,8 @@ module Aws::WAFV2 | |
| 3918 3945 | 
             
                # @!attribute [rw] scope
         | 
| 3919 3946 | 
             
                #   Specifies whether this is for an AWS CloudFront distribution or for
         | 
| 3920 3947 | 
             
                #   a regional application. A regional application can be an Application
         | 
| 3921 | 
            -
                #   Load Balancer (ALB)  | 
| 3948 | 
            +
                #   Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
         | 
| 3949 | 
            +
                #   API.
         | 
| 3922 3950 | 
             
                #
         | 
| 3923 3951 | 
             
                #   To work with CloudFront, you must also specify the Region US East
         | 
| 3924 3952 | 
             
                #   (N. Virginia) as follows:
         | 
| @@ -4016,6 +4044,7 @@ module Aws::WAFV2 | |
| 4016 4044 | 
             
                #             },
         | 
| 4017 4045 | 
             
                #           },
         | 
| 4018 4046 | 
             
                #         ],
         | 
| 4047 | 
            +
                #         managed_by_firewall_manager: false,
         | 
| 4019 4048 | 
             
                #       }
         | 
| 4020 4049 | 
             
                #
         | 
| 4021 4050 | 
             
                # @!attribute [rw] resource_arn
         | 
| @@ -4030,16 +4059,28 @@ module Aws::WAFV2 | |
| 4030 4059 | 
             
                #
         | 
| 4031 4060 | 
             
                # @!attribute [rw] redacted_fields
         | 
| 4032 4061 | 
             
                #   The parts of the request that you want to keep out of the logs. For
         | 
| 4033 | 
            -
                #   example, if you redact the  | 
| 4062 | 
            +
                #   example, if you redact the `HEADER` field, the `HEADER` field in the
         | 
| 4034 4063 | 
             
                #   firehose will be `xxx`.
         | 
| 4064 | 
            +
                #
         | 
| 4065 | 
            +
                #   <note markdown="1"> You must use one of the following values: `URI`, `QUERY_STRING`,
         | 
| 4066 | 
            +
                #   `HEADER`, or `METHOD`.
         | 
| 4067 | 
            +
                #
         | 
| 4068 | 
            +
                #    </note>
         | 
| 4035 4069 | 
             
                #   @return [Array<Types::FieldToMatch>]
         | 
| 4036 4070 | 
             
                #
         | 
| 4071 | 
            +
                # @!attribute [rw] managed_by_firewall_manager
         | 
| 4072 | 
            +
                #   Indicates whether the logging configuration was created by AWS
         | 
| 4073 | 
            +
                #   Firewall Manager, as part of an AWS WAF policy configuration. If
         | 
| 4074 | 
            +
                #   true, only Firewall Manager can modify or delete the configuration.
         | 
| 4075 | 
            +
                #   @return [Boolean]
         | 
| 4076 | 
            +
                #
         | 
| 4037 4077 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/LoggingConfiguration AWS API Documentation
         | 
| 4038 4078 | 
             
                #
         | 
| 4039 4079 | 
             
                class LoggingConfiguration < Struct.new(
         | 
| 4040 4080 | 
             
                  :resource_arn,
         | 
| 4041 4081 | 
             
                  :log_destination_configs,
         | 
| 4042 | 
            -
                  :redacted_fields | 
| 4082 | 
            +
                  :redacted_fields,
         | 
| 4083 | 
            +
                  :managed_by_firewall_manager)
         | 
| 4043 4084 | 
             
                  SENSITIVE = []
         | 
| 4044 4085 | 
             
                  include Aws::Structure
         | 
| 4045 4086 | 
             
                end
         | 
| @@ -4727,6 +4768,7 @@ module Aws::WAFV2 | |
| 4727 4768 | 
             
                #               },
         | 
| 4728 4769 | 
             
                #             },
         | 
| 4729 4770 | 
             
                #           ],
         | 
| 4771 | 
            +
                #           managed_by_firewall_manager: false,
         | 
| 4730 4772 | 
             
                #         },
         | 
| 4731 4773 | 
             
                #       }
         | 
| 4732 4774 | 
             
                #
         | 
| @@ -6039,7 +6081,7 @@ module Aws::WAFV2 | |
| 6039 6081 | 
             
                #   groups, the format for this name is `<vendor name>#<managed rule
         | 
| 6040 6082 | 
             
                #   group name>#<rule name>`. For your own rule groups, the format for
         | 
| 6041 6083 | 
             
                #   this name is `<rule group name>#<rule name>`. If the rule is not in
         | 
| 6042 | 
            -
                #   a rule group,  | 
| 6084 | 
            +
                #   a rule group, this field is absent.
         | 
| 6043 6085 | 
             
                #   @return [String]
         | 
| 6044 6086 | 
             
                #
         | 
| 6045 6087 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/SampledHTTPRequest AWS API Documentation
         | 
| @@ -7799,7 +7841,8 @@ module Aws::WAFV2 | |
| 7799 7841 | 
             
                # @!attribute [rw] scope
         | 
| 7800 7842 | 
             
                #   Specifies whether this is for an AWS CloudFront distribution or for
         | 
| 7801 7843 | 
             
                #   a regional application. A regional application can be an Application
         | 
| 7802 | 
            -
                #   Load Balancer (ALB)  | 
| 7844 | 
            +
                #   Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
         | 
| 7845 | 
            +
                #   API.
         | 
| 7803 7846 | 
             
                #
         | 
| 7804 7847 | 
             
                #   To work with CloudFront, you must also specify the Region US East
         | 
| 7805 7848 | 
             
                #   (N. Virginia) as follows:
         | 
| @@ -7919,7 +7962,8 @@ module Aws::WAFV2 | |
| 7919 7962 | 
             
                # @!attribute [rw] scope
         | 
| 7920 7963 | 
             
                #   Specifies whether this is for an AWS CloudFront distribution or for
         | 
| 7921 7964 | 
             
                #   a regional application. A regional application can be an Application
         | 
| 7922 | 
            -
                #   Load Balancer (ALB)  | 
| 7965 | 
            +
                #   Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
         | 
| 7966 | 
            +
                #   API.
         | 
| 7923 7967 | 
             
                #
         | 
| 7924 7968 | 
             
                #   To work with CloudFront, you must also specify the Region US East
         | 
| 7925 7969 | 
             
                #   (N. Virginia) as follows:
         | 
| @@ -8231,7 +8275,8 @@ module Aws::WAFV2 | |
| 8231 8275 | 
             
                # @!attribute [rw] scope
         | 
| 8232 8276 | 
             
                #   Specifies whether this is for an AWS CloudFront distribution or for
         | 
| 8233 8277 | 
             
                #   a regional application. A regional application can be an Application
         | 
| 8234 | 
            -
                #   Load Balancer (ALB)  | 
| 8278 | 
            +
                #   Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
         | 
| 8279 | 
            +
                #   API.
         | 
| 8235 8280 | 
             
                #
         | 
| 8236 8281 | 
             
                #   To work with CloudFront, you must also specify the Region US East
         | 
| 8237 8282 | 
             
                #   (N. Virginia) as follows:
         | 
| @@ -8559,7 +8604,8 @@ module Aws::WAFV2 | |
| 8559 8604 | 
             
                # @!attribute [rw] scope
         | 
| 8560 8605 | 
             
                #   Specifies whether this is for an AWS CloudFront distribution or for
         | 
| 8561 8606 | 
             
                #   a regional application. A regional application can be an Application
         | 
| 8562 | 
            -
                #   Load Balancer (ALB)  | 
| 8607 | 
            +
                #   Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
         | 
| 8608 | 
            +
                #   API.
         | 
| 8563 8609 | 
             
                #
         | 
| 8564 8610 | 
             
                #   To work with CloudFront, you must also specify the Region US East
         | 
| 8565 8611 | 
             
                #   (N. Virginia) as follows:
         | 
| @@ -8707,8 +8753,7 @@ module Aws::WAFV2 | |
| 8707 8753 | 
             
                #   characters: A-Z, a-z, 0-9, - (hyphen), and \_ (underscore). The name
         | 
| 8708 8754 | 
             
                #   can be from one to 128 characters long. It can't contain whitespace
         | 
| 8709 8755 | 
             
                #   or metric names reserved for AWS WAF, for example "All" and
         | 
| 8710 | 
            -
                #   "Default\_Action." | 
| 8711 | 
            -
                #   create a `VisibilityConfig`.
         | 
| 8756 | 
            +
                #   "Default\_Action."
         | 
| 8712 8757 | 
             
                #   @return [String]
         | 
| 8713 8758 | 
             
                #
         | 
| 8714 8759 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/VisibilityConfig AWS API Documentation
         | 
| @@ -9000,8 +9045,8 @@ module Aws::WAFV2 | |
| 9000 9045 | 
             
                # does not match any of the rules. The rules in a Web ACL can be a
         | 
| 9001 9046 | 
             
                # combination of the types Rule, RuleGroup, and managed rule group. You
         | 
| 9002 9047 | 
             
                # can associate a Web ACL with one or more AWS resources to protect. The
         | 
| 9003 | 
            -
                # resources can be Amazon CloudFront, an Amazon API Gateway API,  | 
| 9004 | 
            -
                # Application Load Balancer.
         | 
| 9048 | 
            +
                # resources can be Amazon CloudFront, an Amazon API Gateway REST API, an
         | 
| 9049 | 
            +
                # Application Load Balancer, or an AWS AppSync GraphQL API.
         | 
| 9005 9050 | 
             
                #
         | 
| 9006 9051 | 
             
                #
         | 
| 9007 9052 | 
             
                #
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: aws-sdk-wafv2
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 1. | 
| 4 | 
            +
              version: 1.14.0
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Amazon Web Services
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2020- | 
| 11 | 
            +
            date: 2020-10-01 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: aws-sdk-core
         | 
| @@ -19,7 +19,7 @@ dependencies: | |
| 19 19 | 
             
                    version: '3'
         | 
| 20 20 | 
             
                - - ">="
         | 
| 21 21 | 
             
                  - !ruby/object:Gem::Version
         | 
| 22 | 
            -
                    version: 3. | 
| 22 | 
            +
                    version: 3.109.0
         | 
| 23 23 | 
             
              type: :runtime
         | 
| 24 24 | 
             
              prerelease: false
         | 
| 25 25 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| @@ -29,7 +29,7 @@ dependencies: | |
| 29 29 | 
             
                    version: '3'
         | 
| 30 30 | 
             
                - - ">="
         | 
| 31 31 | 
             
                  - !ruby/object:Gem::Version
         | 
| 32 | 
            -
                    version: 3. | 
| 32 | 
            +
                    version: 3.109.0
         | 
| 33 33 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 34 34 | 
             
              name: aws-sigv4
         | 
| 35 35 | 
             
              requirement: !ruby/object:Gem::Requirement
         |