{ "smithy": "2.0", "metadata": { "suppressions": [ { "id": "HttpMethodSemantics", "namespace": "*" }, { "id": "HttpResponseCodeSemantics", "namespace": "*" }, { "id": "PaginatedTrait", "namespace": "*" }, { "id": "HttpHeaderTrait", "namespace": "*" }, { "id": "HttpUriConflict", "namespace": "*" }, { "id": "Service", "namespace": "*" } ] }, "shapes": { "com.amazonaws.wafv2#APIKey": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 2048 }, "smithy.api#pattern": "\\S" } }, "com.amazonaws.wafv2#APIKeySummaries": { "type": "list", "member": { "target": "com.amazonaws.wafv2#APIKeySummary" } }, "com.amazonaws.wafv2#APIKeySummary": { "type": "structure", "members": { "TokenDomains": { "target": "com.amazonaws.wafv2#TokenDomains", "traits": { "smithy.api#documentation": "
The token domains that are defined in this API key.
" } }, "APIKey": { "target": "com.amazonaws.wafv2#APIKey", "traits": { "smithy.api#documentation": "The generated, encrypted API key. You can copy this for use in your JavaScript CAPTCHA integration.
" } }, "CreationTimestamp": { "target": "com.amazonaws.wafv2#Timestamp", "traits": { "smithy.api#documentation": "The date and time that the key was created.
" } }, "Version": { "target": "com.amazonaws.wafv2#APIKeyVersion", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "Internal value used by WAF to manage the key.
" } } }, "traits": { "smithy.api#documentation": "Information for a single API key.
\nAPI keys are required for the integration of the CAPTCHA API in your JavaScript client applications. \n The API lets you customize the placement and characteristics of the CAPTCHA puzzle for your end users. \n For more information about the CAPTCHA JavaScript integration, see WAF client application integration in the WAF Developer Guide.
" } }, "com.amazonaws.wafv2#APIKeyTokenDomains": { "type": "list", "member": { "target": "com.amazonaws.wafv2#TokenDomain" }, "traits": { "smithy.api#length": { "min": 1 } } }, "com.amazonaws.wafv2#APIKeyVersion": { "type": "integer", "traits": { "smithy.api#default": 0, "smithy.api#range": { "min": 0 } } }, "com.amazonaws.wafv2#ASN": { "type": "long", "traits": { "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 4294967295 } } }, "com.amazonaws.wafv2#AWSManagedRulesACFPRuleSet": { "type": "structure", "members": { "CreationPath": { "target": "com.amazonaws.wafv2#CreationPathString", "traits": { "smithy.api#documentation": "The path of the account creation endpoint for your application. This is the page on your website that accepts the completed registration form for a new user. This page must accept POST requests.
For example, for the URL https://example.com/web/newaccount, you would provide\n\tthe path /web/newaccount. Account creation page paths that\n\tstart with the path that you provide are considered a match. For example\n\t/web/newaccount matches the account creation paths\n\t\t/web/newaccount, /web/newaccount/,\n\t\t/web/newaccountPage, and\n\t\t/web/newaccount/thisPage, but doesn't match the path\n\t\t/home/web/newaccount or\n\t\t/website/newaccount.
The path of the account registration endpoint for your application. This is the page on your website that presents the registration form to new users.
\nThis page must accept GET text/html requests.
For example, for the URL https://example.com/web/registration, you would provide\n\tthe path /web/registration. Registration page paths that\n\tstart with the path that you provide are considered a match. For example\n\t /web/registration matches the registration paths\n\t /web/registration, /web/registration/,\n\t /web/registrationPage, and\n\t /web/registration/thisPage, but doesn't match the path\n\t /home/web/registration or\n\t /website/registration.
The criteria for inspecting account creation requests, used by the ACFP rule group to validate and track account creation attempts.
", "smithy.api#required": {} } }, "ResponseInspection": { "target": "com.amazonaws.wafv2#ResponseInspection", "traits": { "smithy.api#documentation": "The criteria for inspecting responses to account creation requests, used by the ACFP rule group to track account creation success rates.
\nResponse inspection is available only in web ACLs that protect Amazon CloudFront distributions.
\nThe ACFP rule group evaluates the responses that your protected resources send back to client account creation attempts, keeping count of successful and failed attempts from each IP address and client session. Using this information, the rule group labels \n and mitigates requests from client sessions and IP addresses that have had too many successful account creation attempts in a short amount of time.
" } }, "EnableRegexInPath": { "target": "com.amazonaws.wafv2#Boolean", "traits": { "smithy.api#default": false, "smithy.api#documentation": "Allow the use of regular expressions in the registration page path and the account creation path.
" } } }, "traits": { "smithy.api#documentation": "Details for your use of the account creation fraud prevention managed rule group, AWSManagedRulesACFPRuleSet. This configuration is used in ManagedRuleGroupConfig.
For additional information about this and the other intelligent threat mitigation rule groups, \n see Intelligent threat mitigation in WAF \n and Amazon Web Services Managed Rules rule groups list \n in the WAF Developer Guide.
" } }, "com.amazonaws.wafv2#AWSManagedRulesATPRuleSet": { "type": "structure", "members": { "LoginPath": { "target": "com.amazonaws.wafv2#String", "traits": { "smithy.api#documentation": "The path of the login endpoint for your application. For example, for the URL\n https://example.com/web/login, you would provide the path\n /web/login. Login paths that start with the path that you provide are considered a match. For example /web/login matches the login paths /web/login, /web/login/, /web/loginPage, and /web/login/thisPage, but doesn't match the login path /home/web/login or /website/login.
The rule group inspects only HTTP POST requests to your specified login endpoint.
The criteria for inspecting login requests, used by the ATP rule group to validate credentials usage.
" } }, "ResponseInspection": { "target": "com.amazonaws.wafv2#ResponseInspection", "traits": { "smithy.api#documentation": "The criteria for inspecting responses to login requests, used by the ATP rule group to track login failure rates.
\nResponse inspection is available only in web ACLs that protect Amazon CloudFront distributions.
\nThe ATP rule group evaluates the responses that your protected resources send back to client login attempts, keeping count of successful and failed attempts for each IP address and client session. Using this information, the rule group labels \n and mitigates requests from client sessions and IP addresses that have had too many failed login attempts in a short amount of time.
" } }, "EnableRegexInPath": { "target": "com.amazonaws.wafv2#Boolean", "traits": { "smithy.api#default": false, "smithy.api#documentation": "Allow the use of regular expressions in the login page path.
" } } }, "traits": { "smithy.api#documentation": "Details for your use of the account takeover prevention managed rule group, AWSManagedRulesATPRuleSet. This configuration is used in ManagedRuleGroupConfig.
For additional information about this and the other intelligent threat mitigation rule groups, \n see Intelligent threat mitigation in WAF \n and Amazon Web Services Managed Rules rule groups list \n in the WAF Developer Guide.
" } }, "com.amazonaws.wafv2#AWSManagedRulesAntiDDoSRuleSet": { "type": "structure", "members": { "ClientSideActionConfig": { "target": "com.amazonaws.wafv2#ClientSideActionConfig", "traits": { "smithy.api#documentation": "Configures the request handling that's applied by the managed rule group rules ChallengeAllDuringEvent and ChallengeDDoSRequests during a distributed denial of service (DDoS) attack.
The sensitivity that the rule group rule DDoSRequests uses when matching against the \n DDoS suspicion labeling on a request. The managed rule group adds the labeling during DDoS events, before the DDoSRequests rule runs. \n
The higher the sensitivity, the more levels of labeling that the rule matches:
\nLow sensitivity is less sensitive, causing the rule to match only on the most likely participants in an attack, which are the requests with the high suspicion label awswaf:managed:aws:anti-ddos:high-suspicion-ddos-request.
Medium sensitivity causes the rule to match on the medium and high suspicion labels.
\nHigh sensitivity causes the rule to match on all of the suspicion labels: low, medium, and high.
\nDefault: LOW\n
Configures the use of the anti-DDoS managed rule group, AWSManagedRulesAntiDDoSRuleSet. This configuration is used in ManagedRuleGroupConfig.
The configuration that you provide here determines whether and how the rules in the rule group are used.
\nFor additional information about this and the other intelligent threat mitigation rule groups, \n see Intelligent threat mitigation in WAF \n and Amazon Web Services Managed Rules rule groups list \n in the WAF Developer Guide.
" } }, "com.amazonaws.wafv2#AWSManagedRulesBotControlRuleSet": { "type": "structure", "members": { "InspectionLevel": { "target": "com.amazonaws.wafv2#InspectionLevel", "traits": { "smithy.api#documentation": "The inspection level to use for the Bot Control rule group. The common level is the least expensive. The \n targeted level includes all common level rules and adds rules with more advanced inspection criteria. For \n details, see WAF Bot Control rule group\n in the WAF Developer Guide.
", "smithy.api#required": {} } }, "EnableMachineLearning": { "target": "com.amazonaws.wafv2#EnableMachineLearning", "traits": { "smithy.api#default": true, "smithy.api#documentation": "Applies only to the targeted inspection level.
\nDetermines whether to use machine learning (ML) to\n analyze your web traffic for bot-related activity. Machine learning is required for the Bot Control rules TGT_ML_CoordinatedActivityLow and TGT_ML_CoordinatedActivityMedium, which\ninspect for anomalous behavior that might indicate distributed, coordinated bot activity.
For more information about this choice, see the listing for these rules in the table at Bot Control rules listing in the\n WAF Developer Guide.
\nDefault: TRUE\n
Details for your use of the Bot Control managed rule group, AWSManagedRulesBotControlRuleSet. This configuration is used in ManagedRuleGroupConfig.
For additional information about this and the other intelligent threat mitigation rule groups, \n see Intelligent threat mitigation in WAF \n and Amazon Web Services Managed Rules rule groups list \n in the WAF Developer Guide.
" } }, "com.amazonaws.wafv2#AWSWAF_20190729": { "type": "service", "version": "2019-07-29", "operations": [ { "target": "com.amazonaws.wafv2#AssociateWebACL" }, { "target": "com.amazonaws.wafv2#CheckCapacity" }, { "target": "com.amazonaws.wafv2#CreateAPIKey" }, { "target": "com.amazonaws.wafv2#CreateIPSet" }, { "target": "com.amazonaws.wafv2#CreateRegexPatternSet" }, { "target": "com.amazonaws.wafv2#CreateRuleGroup" }, { "target": "com.amazonaws.wafv2#CreateWebACL" }, { "target": "com.amazonaws.wafv2#DeleteAPIKey" }, { "target": "com.amazonaws.wafv2#DeleteFirewallManagerRuleGroups" }, { "target": "com.amazonaws.wafv2#DeleteIPSet" }, { "target": "com.amazonaws.wafv2#DeleteLoggingConfiguration" }, { "target": "com.amazonaws.wafv2#DeletePermissionPolicy" }, { "target": "com.amazonaws.wafv2#DeleteRegexPatternSet" }, { "target": "com.amazonaws.wafv2#DeleteRuleGroup" }, { "target": "com.amazonaws.wafv2#DeleteWebACL" }, { "target": "com.amazonaws.wafv2#DescribeAllManagedProducts" }, { "target": "com.amazonaws.wafv2#DescribeManagedProductsByVendor" }, { "target": "com.amazonaws.wafv2#DescribeManagedRuleGroup" }, { "target": "com.amazonaws.wafv2#DisassociateWebACL" }, { "target": "com.amazonaws.wafv2#GenerateMobileSdkReleaseUrl" }, { "target": "com.amazonaws.wafv2#GetDecryptedAPIKey" }, { "target": "com.amazonaws.wafv2#GetIPSet" }, { "target": "com.amazonaws.wafv2#GetLoggingConfiguration" }, { "target": "com.amazonaws.wafv2#GetManagedRuleSet" }, { "target": "com.amazonaws.wafv2#GetMobileSdkRelease" }, { "target": "com.amazonaws.wafv2#GetPermissionPolicy" }, { "target": "com.amazonaws.wafv2#GetRateBasedStatementManagedKeys" }, { "target": "com.amazonaws.wafv2#GetRegexPatternSet" }, { "target": "com.amazonaws.wafv2#GetRevenueStatistics" }, { "target": "com.amazonaws.wafv2#GetRevenueStatisticsSummary" }, { "target": "com.amazonaws.wafv2#GetRevenueStatisticsTimeSeries" }, { "target": "com.amazonaws.wafv2#GetRuleGroup" }, { "target": "com.amazonaws.wafv2#GetSampledRequests" }, { "target": "com.amazonaws.wafv2#GetTopPathStatisticsByTraffic" }, { "target": "com.amazonaws.wafv2#GetWebACL" }, { "target": "com.amazonaws.wafv2#GetWebACLForResource" }, { "target": "com.amazonaws.wafv2#ListAPIKeys" }, { "target": "com.amazonaws.wafv2#ListAvailableManagedRuleGroups" }, { "target": "com.amazonaws.wafv2#ListAvailableManagedRuleGroupVersions" }, { "target": "com.amazonaws.wafv2#ListIPSets" }, { "target": "com.amazonaws.wafv2#ListLoggingConfigurations" }, { "target": "com.amazonaws.wafv2#ListManagedRuleSets" }, { "target": "com.amazonaws.wafv2#ListMobileSdkReleases" }, { "target": "com.amazonaws.wafv2#ListRegexPatternSets" }, { "target": "com.amazonaws.wafv2#ListResourcesForWebACL" }, { "target": "com.amazonaws.wafv2#ListRuleGroups" }, { "target": "com.amazonaws.wafv2#ListSettlementRecords" }, { "target": "com.amazonaws.wafv2#ListTagsForResource" }, { "target": "com.amazonaws.wafv2#ListWebACLs" }, { "target": "com.amazonaws.wafv2#PutLoggingConfiguration" }, { "target": "com.amazonaws.wafv2#PutManagedRuleSetVersions" }, { "target": "com.amazonaws.wafv2#PutPermissionPolicy" }, { "target": "com.amazonaws.wafv2#TagResource" }, { "target": "com.amazonaws.wafv2#UntagResource" }, { "target": "com.amazonaws.wafv2#UpdateIPSet" }, { "target": "com.amazonaws.wafv2#UpdateManagedRuleSetVersionExpiryDate" }, { "target": "com.amazonaws.wafv2#UpdateRegexPatternSet" }, { "target": "com.amazonaws.wafv2#UpdateRuleGroup" }, { "target": "com.amazonaws.wafv2#UpdateWebACL" } ], "traits": { "aws.api#service": { "sdkId": "WAFV2", "arnNamespace": "wafv2", "cloudFormationName": "WAFv2", "cloudTrailEventSource": "wafv2.amazonaws.com", "endpointPrefix": "wafv2" }, "aws.auth#sigv4": { "name": "wafv2" }, "aws.protocols#awsJson1_1": {}, "smithy.api#documentation": "This is the latest version of the WAF API,\n released in November, 2019. The names of the entities that you use to access this API,\n like endpoints and namespaces, all have the versioning information added, like \"V2\" or\n \"v2\", to distinguish from the prior version. We recommend migrating your resources to\n this version, because it has a number of significant improvements.
\nIf you used WAF prior to this release, you can't use this WAFV2 API to access any\n WAF resources that you created before. WAF Classic support will end on September 30, 2025.
\nFor information about WAF, including how to migrate your WAF Classic resources to this version,\n see the WAF Developer Guide.
\nWAF is a web application firewall that lets you monitor the HTTP and HTTPS\n requests that are forwarded to a protected resource. Protected resource types include Amazon CloudFront distribution, Amazon API Gateway REST API, Application Load Balancer, AppSync\n GraphQL API, Amazon Cognito user pool, App Runner service, Amplify application, and Amazon Web Services Verified Access instance. WAF also lets you control access to your content,\n to protect the Amazon Web Services resource that WAF is monitoring. Based on conditions that\n you specify, such as the IP addresses that requests originate from or the values of query\n strings, the protected resource responds to requests with either the requested content, an HTTP 403 status code\n (Forbidden), or with a custom response.
\nThis API guide is for developers who need detailed information about WAF API actions,\n data types, and errors. For detailed information about WAF features and guidance for configuring and using \n WAF, see the WAF Developer\n Guide.
\nYou can make calls using the endpoints listed in WAF endpoints and quotas.
\nFor regional resources, you can use any of the endpoints in the list.\n A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance.
\nFor Amazon CloudFront and Amplify, you must use the API endpoint listed for\n US East (N. Virginia): us-east-1.
\nAlternatively, you can use one of the Amazon Web Services SDKs to access an API that's tailored to the\n programming language or platform that you're using. For more information, see Amazon Web Services SDKs.
", "smithy.api#title": "AWS WAFV2", "smithy.api#xmlNamespace": { "uri": "http://waf.amazonaws.com/doc/2019-07-29/" }, "smithy.rules#endpointBdd": { "version": "1.1", "parameters": { "Region": { "builtIn": "AWS::Region", "required": false, "documentation": "The AWS region used to dispatch the request.", "type": "string" }, "UseDualStack": { "builtIn": "AWS::UseDualStack", "required": true, "default": false, "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", "type": "boolean" }, "UseFIPS": { "builtIn": "AWS::UseFIPS", "required": true, "default": false, "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", "type": "boolean" }, "Endpoint": { "builtIn": "SDK::Endpoint", "required": false, "documentation": "Override the endpoint used to send this request", "type": "string" } }, "conditions": [ { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] }, { "fn": "isSet", "argv": [ { "ref": "Region" } ] }, { "fn": "aws.partition", "argv": [ { "ref": "Region" } ], "assign": "PartitionResult" }, { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, true ] }, { "fn": "booleanEquals", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsDualStack" ] }, true ] }, { "fn": "booleanEquals", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsFIPS" ] }, true ] } ], "results": [ { "conditions": [], "error": "Invalid Configuration: FIPS and custom endpoint are not supported", "type": "error" }, { "conditions": [], "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", "type": "error" }, { "conditions": [], "endpoint": { "url": { "ref": "Endpoint" }, "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "endpoint": { "url": "https://wafv2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" }, { "conditions": [], "endpoint": { "url": "https://wafv2-fips.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" }, { "conditions": [], "endpoint": { "url": "https://wafv2.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" }, { "conditions": [], "endpoint": { "url": "https://wafv2.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "error": "Invalid Configuration: Missing Region", "type": "error" } ], "root": 2, "nodeCount": 13, "nodes": "/////wAAAAH/////AAAAAAAAAAwAAAADAAAAAQAAAAQF9eELAAAAAgAAAAUF9eELAAAAAwAAAAgAAAAGAAAABAAAAAcF9eEKAAAABQX14QgF9eEJAAAABAAAAAoAAAAJAAAABgX14QYF9eEHAAAABQAAAAsF9eEFAAAABgX14QQF9eEFAAAAAwX14QEAAAANAAAABAX14QIF9eED" }, "smithy.rules#endpointRuleSet": { "version": "1.0", "parameters": { "Region": { "builtIn": "AWS::Region", "required": false, "documentation": "The AWS region used to dispatch the request.", "type": "string" }, "UseDualStack": { "builtIn": "AWS::UseDualStack", "required": true, "default": false, "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", "type": "boolean" }, "UseFIPS": { "builtIn": "AWS::UseFIPS", "required": true, "default": false, "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", "type": "boolean" }, "Endpoint": { "builtIn": "SDK::Endpoint", "required": false, "documentation": "Override the endpoint used to send this request", "type": "string" } }, "rules": [ { "conditions": [ { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] } ], "error": "Invalid Configuration: FIPS and custom endpoint are not supported", "type": "error" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, true ] } ], "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", "type": "error" }, { "conditions": [], "endpoint": { "url": { "ref": "Endpoint" }, "properties": {}, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [ { "fn": "isSet", "argv": [ { "ref": "Region" } ] } ], "rules": [ { "conditions": [ { "fn": "aws.partition", "argv": [ { "ref": "Region" } ], "assign": "PartitionResult" } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, true ] } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ true, { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsFIPS" ] } ] }, { "fn": "booleanEquals", "argv": [ true, { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsDualStack" ] } ] } ], "rules": [ { "conditions": [], "endpoint": { "url": "https://wafv2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } ], "type": "tree" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsFIPS" ] }, true ] } ], "rules": [ { "conditions": [], "endpoint": { "url": "https://wafv2-fips.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } ], "type": "tree" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, true ] } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ true, { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsDualStack" ] } ] } ], "rules": [ { "conditions": [], "endpoint": { "url": "https://wafv2.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } ], "type": "tree" }, { "conditions": [], "endpoint": { "url": "https://wafv2.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ], "type": "tree" } ], "type": "tree" }, { "conditions": [], "error": "Invalid Configuration: Missing Region", "type": "error" } ] }, "smithy.rules#endpointTests": { "testCases": [ { "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2.af-south-1.amazonaws.com" } }, "params": { "Region": "af-south-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region af-south-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2-fips.af-south-1.amazonaws.com" } }, "params": { "Region": "af-south-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2.ap-east-1.amazonaws.com" } }, "params": { "Region": "ap-east-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region ap-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2-fips.ap-east-1.amazonaws.com" } }, "params": { "Region": "ap-east-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2.ap-northeast-1.amazonaws.com" } }, "params": { "Region": "ap-northeast-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2-fips.ap-northeast-1.amazonaws.com" } }, "params": { "Region": "ap-northeast-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2.ap-northeast-2.amazonaws.com" } }, "params": { "Region": "ap-northeast-2", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2-fips.ap-northeast-2.amazonaws.com" } }, "params": { "Region": "ap-northeast-2", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region ap-northeast-3 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2.ap-northeast-3.amazonaws.com" } }, "params": { "Region": "ap-northeast-3", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region ap-northeast-3 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2-fips.ap-northeast-3.amazonaws.com" } }, "params": { "Region": "ap-northeast-3", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2.ap-south-1.amazonaws.com" } }, "params": { "Region": "ap-south-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region ap-south-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2-fips.ap-south-1.amazonaws.com" } }, "params": { "Region": "ap-south-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2.ap-southeast-1.amazonaws.com" } }, "params": { "Region": "ap-southeast-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2-fips.ap-southeast-1.amazonaws.com" } }, "params": { "Region": "ap-southeast-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2.ap-southeast-2.amazonaws.com" } }, "params": { "Region": "ap-southeast-2", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2-fips.ap-southeast-2.amazonaws.com" } }, "params": { "Region": "ap-southeast-2", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2.ap-southeast-3.amazonaws.com" } }, "params": { "Region": "ap-southeast-3", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region ap-southeast-3 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2-fips.ap-southeast-3.amazonaws.com" } }, "params": { "Region": "ap-southeast-3", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2.ca-central-1.amazonaws.com" } }, "params": { "Region": "ca-central-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region ca-central-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2-fips.ca-central-1.amazonaws.com" } }, "params": { "Region": "ca-central-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2.eu-central-1.amazonaws.com" } }, "params": { "Region": "eu-central-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region eu-central-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2-fips.eu-central-1.amazonaws.com" } }, "params": { "Region": "eu-central-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2.eu-north-1.amazonaws.com" } }, "params": { "Region": "eu-north-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region eu-north-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2-fips.eu-north-1.amazonaws.com" } }, "params": { "Region": "eu-north-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2.eu-south-1.amazonaws.com" } }, "params": { "Region": "eu-south-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region eu-south-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2-fips.eu-south-1.amazonaws.com" } }, "params": { "Region": "eu-south-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2.eu-west-1.amazonaws.com" } }, "params": { "Region": "eu-west-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region eu-west-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2-fips.eu-west-1.amazonaws.com" } }, "params": { "Region": "eu-west-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2.eu-west-2.amazonaws.com" } }, "params": { "Region": "eu-west-2", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region eu-west-2 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2-fips.eu-west-2.amazonaws.com" } }, "params": { "Region": "eu-west-2", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2.eu-west-3.amazonaws.com" } }, "params": { "Region": "eu-west-3", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region eu-west-3 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2-fips.eu-west-3.amazonaws.com" } }, "params": { "Region": "eu-west-3", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region me-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2.me-south-1.amazonaws.com" } }, "params": { "Region": "me-south-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region me-south-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2-fips.me-south-1.amazonaws.com" } }, "params": { "Region": "me-south-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2.sa-east-1.amazonaws.com" } }, "params": { "Region": "sa-east-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region sa-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2-fips.sa-east-1.amazonaws.com" } }, "params": { "Region": "sa-east-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2.us-east-1.amazonaws.com" } }, "params": { "Region": "us-east-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2-fips.us-east-1.amazonaws.com" } }, "params": { "Region": "us-east-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2.us-east-2.amazonaws.com" } }, "params": { "Region": "us-east-2", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2-fips.us-east-2.amazonaws.com" } }, "params": { "Region": "us-east-2", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2.us-west-1.amazonaws.com" } }, "params": { "Region": "us-west-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region us-west-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2-fips.us-west-1.amazonaws.com" } }, "params": { "Region": "us-west-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2.us-west-2.amazonaws.com" } }, "params": { "Region": "us-west-2", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2-fips.us-west-2.amazonaws.com" } }, "params": { "Region": "us-west-2", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { "url": "https://wafv2-fips.us-east-1.api.aws" } }, "params": { "Region": "us-east-1", "UseFIPS": true, "UseDualStack": true } }, { "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { "url": "https://wafv2.us-east-1.api.aws" } }, "params": { "Region": "us-east-1", "UseFIPS": false, "UseDualStack": true } }, { "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2.cn-north-1.amazonaws.com.cn" } }, "params": { "Region": "cn-north-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2-fips.cn-north-1.amazonaws.com.cn" } }, "params": { "Region": "cn-north-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2.cn-northwest-1.amazonaws.com.cn" } }, "params": { "Region": "cn-northwest-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region cn-northwest-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2-fips.cn-northwest-1.amazonaws.com.cn" } }, "params": { "Region": "cn-northwest-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { "url": "https://wafv2-fips.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { "Region": "cn-north-1", "UseFIPS": true, "UseDualStack": true } }, { "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { "url": "https://wafv2.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { "Region": "cn-north-1", "UseFIPS": false, "UseDualStack": true } }, { "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2.us-gov-east-1.amazonaws.com" } }, "params": { "Region": "us-gov-east-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2-fips.us-gov-east-1.amazonaws.com" } }, "params": { "Region": "us-gov-east-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2.us-gov-west-1.amazonaws.com" } }, "params": { "Region": "us-gov-west-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2-fips.us-gov-west-1.amazonaws.com" } }, "params": { "Region": "us-gov-west-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { "url": "https://wafv2-fips.us-gov-east-1.api.aws" } }, "params": { "Region": "us-gov-east-1", "UseFIPS": true, "UseDualStack": true } }, { "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { "url": "https://wafv2.us-gov-east-1.api.aws" } }, "params": { "Region": "us-gov-east-1", "UseFIPS": false, "UseDualStack": true } }, { "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { "Region": "us-iso-east-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2.us-iso-east-1.c2s.ic.gov" } }, "params": { "Region": "us-iso-east-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2-fips.us-isob-east-1.sc2s.sgov.gov" } }, "params": { "Region": "us-isob-east-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://wafv2.us-isob-east-1.sc2s.sgov.gov" } }, "params": { "Region": "us-isob-east-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" } }, "params": { "Region": "us-east-1", "UseFIPS": false, "UseDualStack": false, "Endpoint": "https://example.com" } }, { "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" } }, "params": { "UseFIPS": false, "UseDualStack": false, "Endpoint": "https://example.com" } }, { "documentation": "For custom endpoint with fips enabled and dualstack disabled", "expect": { "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { "Region": "us-east-1", "UseFIPS": true, "UseDualStack": false, "Endpoint": "https://example.com" } }, { "documentation": "For custom endpoint with fips disabled and dualstack enabled", "expect": { "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { "Region": "us-east-1", "UseFIPS": false, "UseDualStack": true, "Endpoint": "https://example.com" } }, { "documentation": "Missing region", "expect": { "error": "Invalid Configuration: Missing Region" } } ], "version": "1.0" } } }, "com.amazonaws.wafv2#Action": { "type": "string" }, "com.amazonaws.wafv2#ActionCondition": { "type": "structure", "members": { "Action": { "target": "com.amazonaws.wafv2#ActionValue", "traits": { "smithy.api#documentation": "The action setting that a log record must contain in order to meet the condition. This is the action that WAF applied to the web request.
\nFor rule groups, this is either the configured rule action setting, or if you've applied a rule action override to the rule, it's the override action. \n The value EXCLUDED_AS_COUNT matches on \n excluded rules and also on rules that have a rule action override of Count.
A single action condition for a Condition in a logging filter.
" } }, "com.amazonaws.wafv2#ActionValue": { "type": "enum", "members": { "ALLOW": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ALLOW" } }, "BLOCK": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "BLOCK" } }, "COUNT": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "COUNT" } }, "CAPTCHA": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "CAPTCHA" } }, "CHALLENGE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "CHALLENGE" } }, "MONETIZE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "MONETIZE" } }, "EXCLUDED_AS_COUNT": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "EXCLUDED_AS_COUNT" } } } }, "com.amazonaws.wafv2#AddressField": { "type": "structure", "members": { "Identifier": { "target": "com.amazonaws.wafv2#FieldIdentifier", "traits": { "smithy.api#documentation": "The name of a single primary address field.
\nHow you specify the address fields depends on the request inspection payload type.
\nFor JSON payloads, specify the field identifiers in JSON\n pointer syntax. For information about the JSON Pointer\n syntax, see the Internet Engineering Task Force (IETF)\n documentation JavaScript\n \tObject Notation (JSON) Pointer.
\nFor example, for the JSON payload { \"form\": { \"primaryaddressline1\": \"THE_ADDRESS1\", \"primaryaddressline2\": \"THE_ADDRESS2\", \"primaryaddressline3\": \"THE_ADDRESS3\" } }, \n the address field idenfiers are /form/primaryaddressline1, /form/primaryaddressline2, and /form/primaryaddressline3.
For form encoded payload types, use the HTML form names.
\nFor example, for an HTML form with input elements\n named primaryaddressline1, primaryaddressline2, and primaryaddressline3, the address fields identifiers are primaryaddressline1, primaryaddressline2, and primaryaddressline3.
The name of a field in the request payload that contains part or all of your customer's primary physical address.
\nThis data type is used in the RequestInspectionACFP data type.
Inspect all of the elements that WAF has parsed and extracted from the web request\n component that you've identified in your FieldToMatch specifications.
\nThis is used in the FieldToMatch specification for some web request component types.
\nJSON specification: \"All\": {}\n
Inspect all query arguments of the web request.
\nThis is used in the FieldToMatch specification for some web request component types.
\nJSON specification: \"AllQueryArguments\": {}\n
Defines custom handling for the web request.
\nFor information about customizing web requests and responses, \n see Customizing web requests and responses in WAF \n in the WAF Developer Guide.
" } } }, "traits": { "smithy.api#documentation": "Specifies that WAF should allow the request and optionally defines additional\n custom handling for the request.
\nThis is used in the context of other settings, for example to specify values for RuleAction and web ACL DefaultAction.
" } }, "com.amazonaws.wafv2#AnalyticsConfig": { "type": "structure", "members": { "Mode": { "target": "com.amazonaws.wafv2#AnalyticsMode", "traits": { "smithy.api#documentation": "The security analytics mode for the web ACL. Valid values:
\n\n CROSS_REGION - Enables security analytics. WAF transfers and stores the web ACL's request logs outside the Amazon Web Services Region where the web ACL is hosted, for aggregation and processing.
\n DISABLED - Disables security analytics. WAF stops transferring the web ACL's request logs.
Specifies the security analytics configuration for the web ACL. Security analytics shows the web ACL's request log data from multiple Amazon Web Services Regions in a single dashboard in the WAF console.
\nWhen you enable security analytics, you authorize Amazon Web Services to transfer and store full request logs outside the Amazon Web Services Region where the web ACL is hosted. For regional web ACLs, security analytics is disabled by default when you omit this configuration. For web ACLs that protect CloudFront distributions (global web ACLs), security analytics is enabled by default. For more information, see Enabling security analytics for a protection pack (web ACL) in the WAF Developer Guide.
" } }, "com.amazonaws.wafv2#AnalyticsMode": { "type": "enum", "members": { "CROSS_REGION": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "CROSS_REGION" } }, "DISABLED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "DISABLED" } } } }, "com.amazonaws.wafv2#AndStatement": { "type": "structure", "members": { "Statements": { "target": "com.amazonaws.wafv2#Statements", "traits": { "smithy.api#documentation": "The statements to combine with AND logic. You can use any statements that can be nested.\n
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "A logical rule statement used to combine other rule statements with AND logic. You provide more than one Statement within the AndStatement.
Specifies the attribute name.
" } }, "Values": { "target": "com.amazonaws.wafv2#AttributeValues", "traits": { "smithy.api#documentation": "Specifies the attribute value.
" } } }, "traits": { "smithy.api#documentation": "Application details defined during the web ACL creation process. Application attributes help WAF give recommendations for protection packs.
" } }, "com.amazonaws.wafv2#ApplicationAttributes": { "type": "list", "member": { "target": "com.amazonaws.wafv2#ApplicationAttribute" }, "traits": { "smithy.api#length": { "min": 1, "max": 10 } } }, "com.amazonaws.wafv2#ApplicationConfig": { "type": "structure", "members": { "Attributes": { "target": "com.amazonaws.wafv2#ApplicationAttributes", "traits": { "smithy.api#documentation": "Contains the attribute name and a list of values for that attribute.
" } } }, "traits": { "smithy.api#documentation": "A list of ApplicationAttributes that contains information about the application.
Contains one or more Autonomous System Numbers (ASNs). \n ASNs are unique identifiers assigned to large internet networks managed by organizations such as \n internet service providers, enterprises, universities, or government agencies.
", "smithy.api#required": {} } }, "ForwardedIPConfig": { "target": "com.amazonaws.wafv2#ForwardedIPConfig", "traits": { "smithy.api#documentation": "The configuration for inspecting IP addresses to match against an ASN in an HTTP header that you specify, \n instead of using the IP address that's reported by the web request origin. Commonly, this is the X-Forwarded-For (XFF) header, \n but you can specify any header name.
" } } }, "traits": { "smithy.api#documentation": "A rule statement that inspects web traffic based on the Autonomous System Number (ASN) associated with the request's IP address.
\nFor additional details, see ASN match rule statement in the WAF Developer Guide.
" } }, "com.amazonaws.wafv2#AssociateWebACL": { "type": "operation", "input": { "target": "com.amazonaws.wafv2#AssociateWebACLRequest" }, "output": { "target": "com.amazonaws.wafv2#AssociateWebACLResponse" }, "errors": [ { "target": "com.amazonaws.wafv2#WAFFeatureNotIncludedInPricingPlanException" }, { "target": "com.amazonaws.wafv2#WAFInternalErrorException" }, { "target": "com.amazonaws.wafv2#WAFInvalidOperationException" }, { "target": "com.amazonaws.wafv2#WAFInvalidParameterException" }, { "target": "com.amazonaws.wafv2#WAFLimitsExceededException" }, { "target": "com.amazonaws.wafv2#WAFNonexistentItemException" }, { "target": "com.amazonaws.wafv2#WAFUnavailableEntityException" } ], "traits": { "smithy.api#documentation": "Associates a web ACL with a resource, to protect the resource.
\nUse this for all resource types except for Amazon CloudFront distributions. For Amazon CloudFront, call UpdateDistribution for the distribution and provide the Amazon Resource Name (ARN) of the web ACL in the web ACL ID. For information, see UpdateDistribution in the Amazon CloudFront Developer Guide.
\n Required permissions for customer-managed IAM policies\n
\nThis call requires permissions that are specific to the protected resource type. \n For details, see Permissions for AssociateWebACL in the WAF Developer Guide.
\n\n Temporary inconsistencies during updates\n
\nWhen you create or change a web ACL or other WAF resources, the changes take a small amount of time to propagate to all areas where the resources are stored. The propagation time can be from a few seconds to a number of minutes.
\nThe following are examples of the temporary inconsistencies that you might notice during change propagation:
\nAfter you create a web ACL, if you try to associate it with a resource, you might get an exception indicating that the web ACL is unavailable.
\nAfter you add a rule group to a web ACL, the new rule group rules might be in effect in one area where the web ACL is used and not in another.
\nAfter you change a rule action setting, you might see the old action in some places and the new action in others.
\nAfter you add an IP address to an IP set that is in use in a blocking rule, the new address might be blocked in one area while still allowed in another.
\nThe Amazon Resource Name (ARN) of the web ACL that you want to associate with the\n resource.
", "smithy.api#required": {} } }, "ResourceArn": { "target": "com.amazonaws.wafv2#ResourceArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the resource to associate with the web ACL.
\nThe ARN must be in one of the following formats:
\nFor an Application Load Balancer: arn:partition:elasticloadbalancing:region:account-id:loadbalancer/app/load-balancer-name/load-balancer-id\n \n
For an Amazon API Gateway REST API: arn:partition:apigateway:region::/restapis/api-id/stages/stage-name\n \n
For an AppSync GraphQL API: arn:partition:appsync:region:account-id:apis/GraphQLApiId\n \n
For an Amazon Cognito user pool: arn:partition:cognito-idp:region:account-id:userpool/user-pool-id\n \n
For an App Runner service: arn:partition:apprunner:region:account-id:service/apprunner-service-name/apprunner-service-id\n \n
For an Amazon Web Services Verified Access instance: arn:partition:ec2:region:account-id:verified-access-instance/instance-id\n \n
For an Amplify application: arn:partition:amplify:region:account-id:apps/app-id\n \n
For an Amazon Bedrock AgentCore Gateway: arn:partition:bedrock-agentcore:region:account-id:gateway/gateway-id\n \n
Customizes the maximum size of the request body that your protected CloudFront, API Gateway, Amazon Cognito, App Runner, and Verified Access resources forward to WAF for inspection. The default size is 16 KB (16,384 bytes). You can change the setting for any of the available resource types.
\nYou are charged additional fees when your protected resources forward body sizes that are larger than the default. For more information, see WAF Pricing.
\nExample JSON: {\n \"API_GATEWAY\": \"KB_48\",\n \"APP_RUNNER_SERVICE\": \"KB_32\"\n }\n
For Application Load Balancer and AppSync, the limit is fixed at 8 KB (8,192 bytes).
" } }, "ChallengeJavascriptSdkInjection": { "target": "com.amazonaws.wafv2#ChallengeJavascriptSdkInjection", "traits": { "smithy.api#documentation": "Specifies the CloudFront distributions that insert the WAF challenge JavaScript SDK into the HTML responses that they return. When you enable this setting for a distribution, you do not add the SDK to your web pages yourself.
\nYou can configure this setting only for CloudFront distributions, using the CLOUDFRONT map key. WAF rejects any other resource type, and the setting is not available for regional resources. To configure it, use the CloudFront scope.
Your web ACL must also contain at least one of the following qualifying managed rule groups. WAF Bot Control qualifies only at the TARGETED inspection level, not at COMMON:
The WAF Bot Control managed rule group AWSManagedRulesBotControlRuleSet, with the inspection level set to TARGETED.
The WAF Fraud Control account takeover prevention (ATP) managed rule group AWSManagedRulesATPRuleSet.
The WAF Fraud Control account creation fraud prevention (ACFP) managed rule group AWSManagedRulesACFPRuleSet.
If you remove the last qualifying managed rule group from the web ACL, or lower the WAF Bot Control inspection level from TARGETED to COMMON, you must remove this setting in the same update. Otherwise, WAF rejects the update.
Example JSON: { \"CLOUDFRONT\": {} }\n
If you omit this setting, CloudFront does not insert the SDK. When you omit it from a web ACL that previously used it, cached HTML that already contains the SDK is still served until it expires, or until you invalidate the cache for that distribution. For more information, see Automatic SDK integration for CloudFront distributions in the WAF Developer Guide.
" } } }, "traits": { "smithy.api#documentation": "Specifies custom configurations for the associations between the web ACL and protected resources.
\nUse this to customize the maximum size of the request body that your protected resources forward to WAF for inspection. You can \n customize this setting for CloudFront, API Gateway, Amazon Cognito, App Runner, or Verified Access resources. The default setting is 16 KB (16,384 bytes).
\nYou are charged additional fees when your protected resources forward body sizes that are larger than the default. For more information, see WAF Pricing.
\nFor Application Load Balancer and AppSync, the limit is fixed at 8 KB (8,192 bytes).
\nYou can also use this to have your CloudFront distributions insert the WAF challenge JavaScript SDK into the HTML responses that they return. For more information, see the ChallengeJavascriptSdkInjection setting.
Defines a custom response for the web request.
\nFor information about customizing web requests and responses, \n see Customizing web requests and responses in WAF \n in the WAF Developer Guide.
" } } }, "traits": { "smithy.api#documentation": "Specifies that WAF should block the request and optionally defines additional\n custom handling for the response to the web request.
\nThis is used in the context of other settings, for example to specify values for RuleAction and web ACL DefaultAction.
" } }, "com.amazonaws.wafv2#BlockchainChain": { "type": "enum", "members": { "BASE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "BASE" } }, "SOLANA": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SOLANA" } }, "BASE_SEPOLIA": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "BASE_SEPOLIA" } }, "SOLANA_DEVNET": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SOLANA_DEVNET" } } } }, "com.amazonaws.wafv2#Body": { "type": "structure", "members": { "OversizeHandling": { "target": "com.amazonaws.wafv2#OversizeHandling", "traits": { "smithy.api#documentation": "What WAF should do if the body is larger than WAF can inspect.
\nWAF does not support inspecting the entire contents of the web request body if the body \n exceeds the limit for the resource type. When a web request body is larger than the limit, the underlying host service \n only forwards the contents that are within the limit to WAF for inspection.
\nFor Application Load Balancer and AppSync, the limit is fixed at 8 KB (8,192 bytes).
\nFor CloudFront, API Gateway, Amazon Cognito, App Runner, and Verified Access, the default limit is 16 KB (16,384 bytes), and \n you can increase the limit for each resource type in the web ACL AssociationConfig, for additional processing fees.
For Amplify, use the CloudFront limit.
\nThe options for oversize handling are the following:
\n\n CONTINUE - Inspect the available body contents normally, according to the rule inspection criteria.
\n MATCH - Treat the web request as matching the rule statement. WAF\n applies the rule action to the request.
\n NO_MATCH - Treat the web request as not matching the rule\n statement.
You can combine the MATCH or NO_MATCH\n settings for oversize handling with your rule and web ACL action settings, so that you block any request whose body is over the limit.
Default: CONTINUE\n
Inspect the body of the web request. The body immediately follows the request\n headers.
\nThis is used to indicate the web request component to inspect, in the FieldToMatch specification.
" } }, "com.amazonaws.wafv2#BodyParsingFallbackBehavior": { "type": "enum", "members": { "MATCH": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "MATCH" } }, "NO_MATCH": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "NO_MATCH" } }, "EVALUATE_AS_STRING": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "EVALUATE_AS_STRING" } } } }, "com.amazonaws.wafv2#Boolean": { "type": "boolean", "traits": { "smithy.api#default": false } }, "com.amazonaws.wafv2#BotStatistics": { "type": "structure", "members": { "BotName": { "target": "com.amazonaws.wafv2#FilterString", "traits": { "smithy.api#documentation": "The name of the bot. For example, gptbot or googlebot.
The number of requests from this bot to the associated path within the specified time window.
", "smithy.api#required": {} } }, "Percentage": { "target": "com.amazonaws.wafv2#PercentageValue", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "The percentage of total requests to the associated path that came from this bot.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Statistics about a specific bot's traffic to a path, including the bot name, request count, and percentage of traffic.
" } }, "com.amazonaws.wafv2#BotStatisticsList": { "type": "list", "member": { "target": "com.amazonaws.wafv2#BotStatistics" } }, "com.amazonaws.wafv2#ByteMatchStatement": { "type": "structure", "members": { "SearchString": { "target": "com.amazonaws.wafv2#SearchString", "traits": { "smithy.api#documentation": "A string value that you want WAF to search for. WAF searches only in the part of\n web requests that you designate for inspection in FieldToMatch. The\n maximum length of the value is 200 bytes.
\nValid values depend on the component that you specify for inspection in\n FieldToMatch:
\n Method: The HTTP method that you want WAF to search for. This\n indicates the type of operation specified in the request.
\n UriPath: The value that you want WAF to search for in the URI path,\n for example, /images/daily-ad.jpg.
\n JA3Fingerprint: Available for use with Amazon CloudFront distributions and Application Load Balancers. Match against the request's JA3 fingerprint. The JA3 fingerprint is a 32-character hash derived from the TLS Client Hello of an incoming request. This fingerprint serves as a unique identifier for the client's TLS configuration. You can use this choice with a ByteMatchStatement, \n RegexMatchStatement, RegexPatternSetReferenceStatement, or \n SizeConstraintStatement. You can't use it with SqliMatchStatement or \n XssMatchStatement.
You can obtain the JA3 fingerprint for client requests from the web ACL logs. \n\t\t\t\t\t\tIf WAF is able to calculate the fingerprint, it includes it in the logs. \n\t\t\t\t\t\tFor information about the logging fields, \nsee Log fields in the WAF Developer Guide.
\n\n HeaderOrder: The list of header names to match for. WAF creates a \n string that contains the ordered list of header names, from the headers in the web request, and then matches against that string.
If SearchString includes alphabetic characters A-Z and a-z, note that the\n value is case sensitive.
\n If you're using the WAF API\n
\nSpecify a base64-encoded version of the value. The maximum length of the value before\n you base64-encode it is 200 bytes.
\nFor example, suppose the value of Type is HEADER and the value\n of Data is User-Agent. If you want to search the\n User-Agent header for the value BadBot, you base64-encode\n BadBot using MIME base64-encoding and include the resulting value,\n QmFkQm90, in the value of SearchString.
\n If you're using the CLI or one of the Amazon Web Services SDKs\n
\nThe value that you want WAF to search for. The SDK automatically base64 encodes the\n value.
", "smithy.api#required": {} } }, "FieldToMatch": { "target": "com.amazonaws.wafv2#FieldToMatch", "traits": { "smithy.api#documentation": "The part of the web request that you want WAF to inspect.
", "smithy.api#required": {} } }, "TextTransformations": { "target": "com.amazonaws.wafv2#TextTransformations", "traits": { "smithy.api#documentation": "Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. Text transformations are used in rule match statements, to transform the FieldToMatch request component before inspecting it, and they're used in rate-based rule statements, to transform request components before using them as custom aggregation keys. If you specify one or more transformations to apply, WAF performs all transformations on the specified content, starting from the lowest priority setting, and then uses the transformed component contents.
Pre-parse text transformations normalize the raw query string before WAF parses it into individual\n query arguments. They are applied before the standard text transformations. Pre-parse text transformations\n are only supported when FieldToMatch is SingleQueryArgument or\n AllQueryArguments. You can specify up to 10 pre-parse text transformations per rule statement.
The area within the portion of the web request that you want WAF to search for\n SearchString. Valid values include the following:
\n CONTAINS\n
\nThe specified part of the web request must include the value of\n SearchString, but the location doesn't matter.
\n CONTAINS_WORD\n
\nThe specified part of the web request must include the value of\n SearchString, and SearchString must contain only alphanumeric\n characters or underscore (A-Z, a-z, 0-9, or _). In addition, SearchString must\n be a word, which means that both of the following are true:
\n SearchString is at the beginning of the specified part of the web\n request or is preceded by a character other than an alphanumeric character or\n underscore (_). Examples include the value of a header and\n ;BadBot.
\n SearchString is at the end of the specified part of the web request or\n is followed by a character other than an alphanumeric character or underscore (_),\n for example, BadBot; and -BadBot;.
\n EXACTLY\n
\nThe value of the specified part of the web request must exactly match the value of\n SearchString.
\n STARTS_WITH\n
\nThe value of SearchString must appear at the beginning of the specified\n part of the web request.
\n ENDS_WITH\n
\nThe value of SearchString must appear at the end of the specified part of\n the web request.
A rule statement that defines a string match search for WAF to apply to web requests. The byte match statement provides the bytes to search for, the location in requests that you want WAF to search, and other settings. The bytes to search for are typically a string that corresponds with ASCII characters. In the WAF console and the developer guide, this is called a string match statement.
" } }, "com.amazonaws.wafv2#CapacityUnit": { "type": "long", "traits": { "smithy.api#range": { "min": 1 } } }, "com.amazonaws.wafv2#CaptchaAction": { "type": "structure", "members": { "CustomRequestHandling": { "target": "com.amazonaws.wafv2#CustomRequestHandling", "traits": { "smithy.api#documentation": "Defines custom handling for the web request, used when the CAPTCHA inspection determines that the request's token is valid and unexpired.
For information about customizing web requests and responses, \n see Customizing web requests and responses in WAF \n in the WAF Developer Guide.
" } } }, "traits": { "smithy.api#documentation": "Specifies that WAF should run a CAPTCHA check against the request:
If the request includes a valid, unexpired CAPTCHA token,\n WAF applies any custom request handling and labels that you've configured and then allows the web request inspection to \n proceed to the next rule, similar to a CountAction.
If the request doesn't include a valid, unexpired token, WAF \n discontinues the web ACL evaluation of the request and blocks it from going to its intended destination.
\nWAF generates a response that it sends back to the client, which includes the following:
\nThe header x-amzn-waf-action with a value of captcha.
The HTTP status code 405 Method Not Allowed.
If the request contains an Accept header with a value of text/html, the response includes a CAPTCHA JavaScript page interstitial.
You can configure the expiration time \n in the CaptchaConfig\n ImmunityTimeProperty setting at the rule and web ACL level. The rule setting overrides the web ACL setting.
This action option is available for rules. It isn't available for web ACL default actions.
" } }, "com.amazonaws.wafv2#CaptchaConfig": { "type": "structure", "members": { "ImmunityTimeProperty": { "target": "com.amazonaws.wafv2#ImmunityTimeProperty", "traits": { "smithy.api#documentation": "Determines how long a CAPTCHA timestamp in the token remains valid after the client\n successfully solves a CAPTCHA puzzle.
Specifies how WAF should handle CAPTCHA evaluations. This is\n available at the web ACL level and in each rule.
The HTTP response code indicating the status of the CAPTCHA token in the\n web request. If the token is missing, invalid, or expired, this code is 405 Method\n Not Allowed.
The time that the CAPTCHA was last solved for the supplied token.
The reason for failure, populated when the evaluation of the token fails.
" } } }, "traits": { "smithy.api#documentation": "The result from the inspection of the web request for a valid CAPTCHA token.
Defines custom handling for the web request, used when the challenge inspection determines that the request's token is valid and unexpired.
\nFor information about customizing web requests and responses, \n see Customizing web requests and responses in WAF \n in the WAF Developer Guide.
" } } }, "traits": { "smithy.api#documentation": "Specifies that WAF should run a Challenge check against the request to verify that the request is coming from a legitimate client session:
If the request includes a valid, unexpired challenge token,\n WAF applies any custom request handling and labels that you've configured and then allows the web request inspection to \n proceed to the next rule, similar to a CountAction.
If the request doesn't include a valid, unexpired challenge token, WAF \n discontinues the web ACL evaluation of the request and blocks it from going to its intended destination.
\nWAF then generates a challenge response that it sends back to the client, which includes the following:
\nThe header x-amzn-waf-action with a value of challenge.
The HTTP status code 202 Request Accepted.
If the request contains an Accept header with a value of text/html, the response includes a JavaScript page interstitial with a challenge script.
Challenges run silent browser interrogations in the background, and don't generally affect the end user experience.
\nA challenge enforces token acquisition using an interstitial JavaScript challenge that inspects the client session for legitimate behavior. The challenge blocks bots or at least increases the cost of operating sophisticated bots.
\nAfter the client session successfully responds to \n the challenge, it receives a new token from WAF, which the challenge script uses to resubmit the original request.
\nYou can configure the expiration time \n in the ChallengeConfig\n ImmunityTimeProperty setting at the rule and web ACL level. The rule setting overrides the web ACL setting.
This action option is available for rules. It isn't available for web ACL default actions.
" } }, "com.amazonaws.wafv2#ChallengeConfig": { "type": "structure", "members": { "ImmunityTimeProperty": { "target": "com.amazonaws.wafv2#ImmunityTimeProperty", "traits": { "smithy.api#documentation": "Determines how long a challenge timestamp in the token remains valid after the client\n successfully responds to a challenge.
" } } }, "traits": { "smithy.api#documentation": "Specifies how WAF should handle Challenge evaluations. This is\n available at the web ACL level and in each rule.
Specifies whether the associated CloudFront distribution inserts the WAF challenge JavaScript SDK into the HTML responses that it returns. The structure is empty: including it turns insertion on, and removing it turns insertion off.
\nThis is used in the ChallengeJavascriptSdkInjection map of the AssociationConfig of the web ACL. The map key identifies the resource type and must be CLOUDFRONT.
JSON specification: \"CLOUDFRONT\": {}\n
The HTTP response code indicating the status of the challenge token in the\n web request. If the token is missing, invalid, or expired, this code is 202 Request Accepted.
The time that the challenge was last solved for the supplied token.
" } }, "FailureReason": { "target": "com.amazonaws.wafv2#FailureReason", "traits": { "smithy.api#documentation": "The reason for failure, populated when the evaluation of the token fails.
" } } }, "traits": { "smithy.api#documentation": "The result from the inspection of the web request for a valid challenge token.
" } }, "com.amazonaws.wafv2#CheckCapacity": { "type": "operation", "input": { "target": "com.amazonaws.wafv2#CheckCapacityRequest" }, "output": { "target": "com.amazonaws.wafv2#CheckCapacityResponse" }, "errors": [ { "target": "com.amazonaws.wafv2#WAFExpiredManagedRuleGroupVersionException" }, { "target": "com.amazonaws.wafv2#WAFInternalErrorException" }, { "target": "com.amazonaws.wafv2#WAFInvalidOperationException" }, { "target": "com.amazonaws.wafv2#WAFInvalidParameterException" }, { "target": "com.amazonaws.wafv2#WAFInvalidResourceException" }, { "target": "com.amazonaws.wafv2#WAFLimitsExceededException" }, { "target": "com.amazonaws.wafv2#WAFNonexistentItemException" }, { "target": "com.amazonaws.wafv2#WAFSubscriptionNotFoundException" }, { "target": "com.amazonaws.wafv2#WAFUnavailableEntityException" } ], "traits": { "smithy.api#documentation": "Returns the web ACL capacity unit (WCU) requirements for a specified scope and set of rules. \n You can use this to check the capacity requirements for the rules you want to use in a \n RuleGroup or WebACL. \n
\nWAF uses WCUs to calculate and control the operating\n resources that are used to run your rules, rule groups, and web ACLs. WAF\n calculates capacity differently for each rule type, to reflect the relative cost of each rule. \n Simple rules that cost little to run use fewer WCUs than more complex rules\n\t\t\t\tthat use more processing power. \n\t\t\t\tRule group capacity is fixed at creation, which helps users plan their \n web ACL WCU usage when they use a rule group. For more information, see WAF web ACL capacity units (WCU) \n in the WAF Developer Guide.
" } }, "com.amazonaws.wafv2#CheckCapacityRequest": { "type": "structure", "members": { "Scope": { "target": "com.amazonaws.wafv2#Scope", "traits": { "smithy.api#documentation": "Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For an Amplify application, use CLOUDFRONT.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
\nCLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1.
API and SDKs - For all calls, use the Region endpoint us-east-1.
\nAn array of Rule that you're configuring to use in a rule group or web\n ACL.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.wafv2#CheckCapacityResponse": { "type": "structure", "members": { "Capacity": { "target": "com.amazonaws.wafv2#ConsumedCapacity", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "The capacity required by the rules and scope.
" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.wafv2#ClientSideAction": { "type": "structure", "members": { "UsageOfAction": { "target": "com.amazonaws.wafv2#UsageOfAction", "traits": { "smithy.api#documentation": "Determines whether to use the AWSManagedRulesAntiDDoSRuleSet rules ChallengeAllDuringEvent and ChallengeDDoSRequests in the rule group evaluation and the related label awswaf:managed:aws:anti-ddos:challengeable-request.
If usage is enabled:
\nThe managed rule group adds the label awswaf:managed:aws:anti-ddos:challengeable-request to any web request that does not match the regular expressions provided in the \n ClientSideAction setting ExemptUriRegularExpressions.
The two rules are evaluated against web requests for protected resources that are experiencing a DDoS attack.\n The two rules only apply their action to matching requests that have the label awswaf:managed:aws:anti-ddos:challengeable-request.\n
If usage is disabled:
\nThe managed rule group doesn't add the label awswaf:managed:aws:anti-ddos:challengeable-request to any web requests.
The two rules are not evaluated.
\nNone of the other ClientSideAction settings have any effect.
This setting only enables or disables the use of the two anti-DDOS rules ChallengeAllDuringEvent and ChallengeDDoSRequests in the anti-DDoS managed rule group.
This setting doesn't alter the action setting in the two rules. To override the actions \n used by the rules ChallengeAllDuringEvent and ChallengeDDoSRequests, \n enable this setting, and then override the rule actions in the usual way, in your managed rule group configuration.
The sensitivity that the rule group rule ChallengeDDoSRequests uses when matching against the \n DDoS suspicion labeling on a request. The managed rule group adds the labeling during DDoS events, before the ChallengeDDoSRequests rule runs. \n
The higher the sensitivity, the more levels of labeling that the rule matches:
\nLow sensitivity is less sensitive, causing the rule to match only on the most likely participants in an attack, which are the requests with the high suspicion label awswaf:managed:aws:anti-ddos:high-suspicion-ddos-request.
Medium sensitivity causes the rule to match on the medium and high suspicion labels.
\nHigh sensitivity causes the rule to match on all of the suspicion labels: low, medium, and high.
\nDefault: HIGH\n
The regular expression to match against the request's host followed by its normalized URI path, used to identify requests \n that can't handle a silent browser challenge. When the ClientSideAction setting UsageOfAction is enabled, \n the managed rule group uses this setting to determine which requests to label with \n awswaf:managed:aws:anti-ddos:challengeable-request. If UsageOfAction is disabled, this setting\n has no effect and the managed rule group doesn't add the label to any requests.
WAF matches against the host immediately followed by the normalized URI path and doesn't include the scheme, \n the query string, or the fragment. For example, www.example.com/api/orders. Because the match begins with the host, \n a pattern anchored to the start of the path, such as ^/api/, never matches. WAF normalizes the path first, \n removing empty segments (including a trailing slash) and single-dot (.) segments and resolving double-dot (..) segments, \n so /api/ is evaluated as /api. Only GET requests are challengeable.
The anti-DDoS managed rule group doesn't \n evaluate the rules ChallengeDDoSRequests or ChallengeAllDuringEvent for web requests that match this regex. This \n is true regardless of whether you override the rule action for either of the rules in your web ACL configuration.
Amazon Web Services recommends using a regular expression.
\nThis setting is required if UsageOfAction is set to ENABLED. If required, you can provide \n between 1 and 5 regex objects in the array of settings.
Amazon Web Services recommends starting with the following setting. Review and update it for your application's needs:
\n\n \\/api(\\/|$)|\\.(acc|avi|css|gif|jpe?g|js|mp[34]|ogg|otf|pdf|png|tiff?|ttf|webm|webp|woff2?)$\n
This is part of the AWSManagedRulesAntiDDoSRuleSet\n ClientSideActionConfig configuration in ManagedRuleGroupConfig.
Configuration for the use of the AWSManagedRulesAntiDDoSRuleSet rules ChallengeAllDuringEvent and ChallengeDDoSRequests.
This setting isn't related to the configuration of the Challenge action itself. It only \n configures the use of the two anti-DDoS rules named here.
You can enable or disable the use of these rules, and you can configure how to use them when they are enabled.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "This is part of the configuration for the managed rules AWSManagedRulesAntiDDoSRuleSet \n in ManagedRuleGroupConfig.
A single action condition. This is the action setting that a log record must contain in order to meet the condition.
" } }, "LabelNameCondition": { "target": "com.amazonaws.wafv2#LabelNameCondition", "traits": { "smithy.api#documentation": "A single label name condition. This is the fully qualified label name that a log record must contain in order to meet the condition. \n Fully qualified labels have a prefix, optional namespaces, and label name. The prefix identifies the rule group or web ACL context of the rule that added the label.
" } } }, "traits": { "smithy.api#documentation": "A single match condition for a Filter.
" } }, "com.amazonaws.wafv2#Conditions": { "type": "list", "member": { "target": "com.amazonaws.wafv2#Condition" }, "traits": { "smithy.api#length": { "min": 1 } } }, "com.amazonaws.wafv2#ConnectedAccountArn": { "type": "string", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of a connected account used for AI bot monetization settlement. You obtain this ARN from Payment preferences > Connected accounts in the Amazon Web Services Billing and Cost Management console. For more information, see Managing connected accounts. The ARN is 56 to 140 characters.
", "smithy.api#length": { "min": 56, "max": 140 }, "smithy.api#pattern": "^arn:aws(-[a-z]+)*:payments::[0-9]{12}:connectedaccount/[a-zA-Z0-9][a-zA-Z0-9_-]{0,63}-[A-Za-z0-9]{6}$" } }, "com.amazonaws.wafv2#ConnectedAccountChain": { "type": "enum", "members": { "BASE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "BASE" } }, "SOLANA": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SOLANA" } } }, "traits": { "smithy.api#documentation": "The blockchain network for a connected account. Production networks only. Test networks are not supported because connected accounts settle production payments only.
\nValid values:
\n\n BASE - Base mainnet.
\n SOLANA - Solana mainnet.
The blockchain network for receiving payments through the connected account. Test networks are not supported for connected accounts.
\nValid values:
\n\n BASE - Base mainnet.
\n SOLANA - Solana mainnet.
The price configuration for this network. Currently supports a single price entry in USDC.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "A per-network configuration for a connected account, specifying the blockchain network and the price per request. Unlike PaymentNetwork, you do not provide a wallet address; the receiving address is managed for the connected account.
The Amazon Resource Name (ARN) of the connected account that payments settle to. You obtain this ARN from Payment preferences > Connected accounts in the Amazon Web Services Billing and Cost Management console. For more information, see Managing connected accounts. The connected account must be active and enabled for crypto settlement; otherwise the request is rejected. To use a connected account, you must have the payments:GetConnectedAccount permission on this ARN.
The per-network configurations for the connected account. You can specify 1 to 2 networks. Each entry specifies a blockchain network and the price for each request.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "A connected account configuration for AI bot monetization. Specifies the connected account that payments settle to and the per-network pricing. Settlement through a connected account is an alternative to the self-managed wallets in CryptoConfig; wallet addresses are managed for the connected account rather than configured by you. If the referenced connected account is not active or not enabled for crypto settlement, the CreateWebACL, UpdateWebACL, CreateRuleGroup, or UpdateRuleGroup request that includes it is rejected. Specifically, a request that references the account is rejected with WAFInvalidOperationException if the account or its crypto settlement capability isn't active, WAFNonexistentItemException if the ARN no longer exists, AccessDeniedException if you don't have payments:GetConnectedAccount, or WAFInvalidParameterException if the ARN is invalid or the partition is unsupported. Connected accounts are available only in the commercial Amazon Web Services partition.
The list of connected account configurations for AI bot monetization. Currently must contain exactly one entry.
", "smithy.api#length": { "min": 1, "max": 1 } } }, "com.amazonaws.wafv2#ConnectedAccountPaymentNetworks": { "type": "list", "member": { "target": "com.amazonaws.wafv2#ConnectedAccountChainConfig" }, "traits": { "smithy.api#documentation": "The per-network configurations for a connected account. Contains 1 to 2 entries.
", "smithy.api#length": { "min": 1, "max": 2 } } }, "com.amazonaws.wafv2#ConnectedAccountPrice": { "type": "structure", "members": { "Amount": { "target": "com.amazonaws.wafv2#ConnectedAccountPriceAmount", "traits": { "smithy.api#documentation": "The price per request as a decimal string in the specified currency. Valid values range from 0.01 to 999999.99 USDC, with up to two decimal places. Sub-cent amounts are not supported.
", "smithy.api#required": {} } }, "Currency": { "target": "com.amazonaws.wafv2#CryptoCurrency", "traits": { "smithy.api#documentation": "The cryptocurrency for payment. Currently only USDC is supported.
The price per request for a connected account payment network, specifying the amount and cryptocurrency.
" } }, "com.amazonaws.wafv2#ConnectedAccountPriceAmount": { "type": "string", "traits": { "smithy.api#documentation": "The price per request for a connected account, as a decimal string. Valid values range from 0.01 to 999999.99 USDC, with up to two decimal places. Sub-cent amounts are not supported.
", "smithy.api#length": { "min": 1, "max": 9 }, "smithy.api#pattern": "^([1-9][0-9]{0,5}(\\.[0-9]{1,2})?|0\\.(0[1-9]|[1-9][0-9]?))$" } }, "com.amazonaws.wafv2#ConnectedAccountPrices": { "type": "list", "member": { "target": "com.amazonaws.wafv2#ConnectedAccountPrice" }, "traits": { "smithy.api#documentation": "The list of per-request prices for a connected account payment network. Currently must contain exactly one entry in USDC.
Inspect all cookies.
" } }, "IncludedCookies": { "target": "com.amazonaws.wafv2#CookieNames", "traits": { "smithy.api#documentation": "Inspect only the cookies that have a key that matches one of the strings specified here.\n
" } }, "ExcludedCookies": { "target": "com.amazonaws.wafv2#CookieNames", "traits": { "smithy.api#documentation": "Inspect only the cookies whose keys don't match any of the strings specified here.\n
" } } }, "traits": { "smithy.api#documentation": "The filter to use to identify the subset of cookies to inspect in a web request.
\nYou must specify exactly one setting: either All, IncludedCookies, or ExcludedCookies.
Example JSON: \"MatchPattern\": { \"IncludedCookies\": [ \"session-id-time\", \"session-id\" ] }\n
The filter to use to identify the subset of cookies to inspect in a web request.
\nYou must specify exactly one setting: either All, IncludedCookies, or ExcludedCookies.
Example JSON: \"MatchPattern\": { \"IncludedCookies\": [ \"session-id-time\", \"session-id\" ] }\n
The parts of the cookies to inspect with the rule inspection criteria. If you specify\n ALL, WAF inspects both keys and values.
\n All does not require a match to be found in the keys\n and a match to be found in the values. It requires a match to be found in the keys \n or the values or both. To require a match in the keys and in the values, use a logical AND statement\n to combine two match rules, one that inspects the keys and another that inspects the values.
What WAF should do if the cookies of the request are more numerous or larger than WAF can inspect. \n WAF does not support inspecting the entire contents of request cookies \n when they exceed 8 KB (8192 bytes) or 200 total cookies. The underlying host service forwards a maximum of 200 cookies\n and at most 8 KB of cookie contents to WAF.
\nThe options for oversize handling are the following:
\n\n CONTINUE - Inspect the available cookies normally, according to the rule inspection criteria.
\n MATCH - Treat the web request as matching the rule statement. WAF\n applies the rule action to the request.
\n NO_MATCH - Treat the web request as not matching the rule\n statement.
Inspect the cookies in the web request. You can specify the parts of the cookies to\n inspect and you can narrow the set of cookies to inspect by including or excluding specific\n keys.
\nThis is used to indicate the web request component to inspect, in the FieldToMatch specification.
\nExample JSON: \"Cookies\": { \"MatchPattern\": { \"All\": {} }, \"MatchScope\": \"KEY\",\n \"OversizeHandling\": \"MATCH\" }\n
Defines custom handling for the web request.
\nFor information about customizing web requests and responses, \n see Customizing web requests and responses in WAF \n in the WAF Developer Guide.
" } } }, "traits": { "smithy.api#documentation": "Specifies that WAF should count the request. Optionally defines additional custom\n handling for the request.
\nThis is used in the context of other settings, for example to specify values for RuleAction and web ACL DefaultAction.
" } }, "com.amazonaws.wafv2#Country": { "type": "string" }, "com.amazonaws.wafv2#CountryCode": { "type": "enum", "members": { "AF": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "AF" } }, "AX": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "AX" } }, "AL": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "AL" } }, "DZ": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "DZ" } }, "AS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "AS" } }, "AD": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "AD" } }, "AO": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "AO" } }, "AI": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "AI" } }, "AQ": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "AQ" } }, "AG": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "AG" } }, "AR": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "AR" } }, "AM": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "AM" } }, "AW": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "AW" } }, "AU": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "AU" } }, "AT": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "AT" } }, "AZ": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "AZ" } }, "BS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "BS" } }, "BH": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "BH" } }, "BD": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "BD" } }, "BB": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "BB" } }, "BY": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "BY" } }, "BE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "BE" } }, "BZ": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "BZ" } }, "BJ": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "BJ" } }, "BM": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "BM" } }, "BT": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "BT" } }, "BO": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "BO" } }, "BQ": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "BQ" } }, "BA": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "BA" } }, "BW": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "BW" } }, "BV": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "BV" } }, "BR": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "BR" } }, "IO": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "IO" } }, "BN": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "BN" } }, "BG": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "BG" } }, "BF": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "BF" } }, "BI": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "BI" } }, "KH": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "KH" } }, "CM": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "CM" } }, "CA": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "CA" } }, "CV": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "CV" } }, "KY": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "KY" } }, "CF": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "CF" } }, "TD": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "TD" } }, "CL": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "CL" } }, "CN": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "CN" } }, "CX": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "CX" } }, "CC": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "CC" } }, "CO": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "CO" } }, "KM": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "KM" } }, "CG": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "CG" } }, "CD": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "CD" } }, "CK": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "CK" } }, "CR": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "CR" } }, "CI": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "CI" } }, "HR": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "HR" } }, "CU": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "CU" } }, "CW": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "CW" } }, "CY": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "CY" } }, "CZ": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "CZ" } }, "DK": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "DK" } }, "DJ": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "DJ" } }, "DM": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "DM" } }, "DO": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "DO" } }, "EC": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "EC" } }, "EG": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "EG" } }, "SV": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SV" } }, "GQ": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "GQ" } }, "ER": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ER" } }, "EE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "EE" } }, "ET": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ET" } }, "FK": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "FK" } }, "FO": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "FO" } }, "FJ": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "FJ" } }, "FI": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "FI" } }, "FR": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "FR" } }, "GF": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "GF" } }, "PF": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "PF" } }, "TF": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "TF" } }, "GA": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "GA" } }, "GM": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "GM" } }, "GE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "GE" } }, "DE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "DE" } }, "GH": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "GH" } }, "GI": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "GI" } }, "GR": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "GR" } }, "GL": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "GL" } }, "GD": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "GD" } }, "GP": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "GP" } }, "GU": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "GU" } }, "GT": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "GT" } }, "GG": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "GG" } }, "GN": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "GN" } }, "GW": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "GW" } }, "GY": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "GY" } }, "HT": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "HT" } }, "HM": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "HM" } }, "VA": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "VA" } }, "HN": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "HN" } }, "HK": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "HK" } }, "HU": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "HU" } }, "IS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "IS" } }, "IN": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "IN" } }, "ID": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ID" } }, "IR": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "IR" } }, "IQ": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "IQ" } }, "IE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "IE" } }, "IM": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "IM" } }, "IL": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "IL" } }, "IT": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "IT" } }, "JM": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "JM" } }, "JP": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "JP" } }, "JE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "JE" } }, "JO": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "JO" } }, "KZ": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "KZ" } }, "KE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "KE" } }, "KI": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "KI" } }, "KP": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "KP" } }, "KR": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "KR" } }, "KW": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "KW" } }, "KG": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "KG" } }, "LA": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "LA" } }, "LV": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "LV" } }, "LB": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "LB" } }, "LS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "LS" } }, "LR": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "LR" } }, "LY": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "LY" } }, "LI": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "LI" } }, "LT": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "LT" } }, "LU": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "LU" } }, "MO": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "MO" } }, "MK": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "MK" } }, "MG": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "MG" } }, "MW": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "MW" } }, "MY": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "MY" } }, "MV": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "MV" } }, "ML": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ML" } }, "MT": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "MT" } }, "MH": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "MH" } }, "MQ": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "MQ" } }, "MR": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "MR" } }, "MU": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "MU" } }, "YT": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "YT" } }, "MX": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "MX" } }, "FM": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "FM" } }, "MD": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "MD" } }, "MC": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "MC" } }, "MN": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "MN" } }, "ME": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ME" } }, "MS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "MS" } }, "MA": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "MA" } }, "MZ": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "MZ" } }, "MM": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "MM" } }, "NA": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "NA" } }, "NR": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "NR" } }, "NP": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "NP" } }, "NL": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "NL" } }, "NC": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "NC" } }, "NZ": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "NZ" } }, "NI": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "NI" } }, "NE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "NE" } }, "NG": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "NG" } }, "NU": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "NU" } }, "NF": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "NF" } }, "MP": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "MP" } }, "NO": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "NO" } }, "OM": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "OM" } }, "PK": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "PK" } }, "PW": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "PW" } }, "PS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "PS" } }, "PA": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "PA" } }, "PG": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "PG" } }, "PY": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "PY" } }, "PE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "PE" } }, "PH": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "PH" } }, "PN": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "PN" } }, "PL": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "PL" } }, "PT": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "PT" } }, "PR": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "PR" } }, "QA": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "QA" } }, "RE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "RE" } }, "RO": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "RO" } }, "RU": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "RU" } }, "RW": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "RW" } }, "BL": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "BL" } }, "SH": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SH" } }, "KN": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "KN" } }, "LC": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "LC" } }, "MF": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "MF" } }, "PM": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "PM" } }, "VC": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "VC" } }, "WS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "WS" } }, "SM": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SM" } }, "ST": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ST" } }, "SA": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SA" } }, "SN": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SN" } }, "RS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "RS" } }, "SC": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SC" } }, "SL": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SL" } }, "SG": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SG" } }, "SX": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SX" } }, "SK": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SK" } }, "SI": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SI" } }, "SB": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SB" } }, "SO": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SO" } }, "ZA": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ZA" } }, "GS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "GS" } }, "SS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SS" } }, "ES": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ES" } }, "LK": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "LK" } }, "SD": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SD" } }, "SR": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SR" } }, "SJ": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SJ" } }, "SZ": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SZ" } }, "SE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SE" } }, "CH": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "CH" } }, "SY": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SY" } }, "TW": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "TW" } }, "TJ": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "TJ" } }, "TZ": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "TZ" } }, "TH": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "TH" } }, "TL": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "TL" } }, "TG": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "TG" } }, "TK": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "TK" } }, "TO": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "TO" } }, "TT": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "TT" } }, "TN": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "TN" } }, "TR": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "TR" } }, "TM": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "TM" } }, "TC": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "TC" } }, "TV": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "TV" } }, "UG": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "UG" } }, "UA": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "UA" } }, "AE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "AE" } }, "GB": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "GB" } }, "US": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "US" } }, "UM": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "UM" } }, "UY": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "UY" } }, "UZ": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "UZ" } }, "VU": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "VU" } }, "VE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "VE" } }, "VN": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "VN" } }, "VG": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "VG" } }, "VI": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "VI" } }, "WF": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "WF" } }, "EH": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "EH" } }, "YE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "YE" } }, "ZM": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ZM" } }, "ZW": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ZW" } }, "XK": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "XK" } } } }, "com.amazonaws.wafv2#CountryCodes": { "type": "list", "member": { "target": "com.amazonaws.wafv2#CountryCode" }, "traits": { "smithy.api#length": { "min": 1 } } }, "com.amazonaws.wafv2#CreateAPIKey": { "type": "operation", "input": { "target": "com.amazonaws.wafv2#CreateAPIKeyRequest" }, "output": { "target": "com.amazonaws.wafv2#CreateAPIKeyResponse" }, "errors": [ { "target": "com.amazonaws.wafv2#WAFInternalErrorException" }, { "target": "com.amazonaws.wafv2#WAFInvalidOperationException" }, { "target": "com.amazonaws.wafv2#WAFInvalidParameterException" }, { "target": "com.amazonaws.wafv2#WAFLimitsExceededException" } ], "traits": { "smithy.api#documentation": "Creates an API key that contains a set of token domains.
\nAPI keys are required for the integration of the CAPTCHA API in your JavaScript client applications. \n The API lets you customize the placement and characteristics of the CAPTCHA puzzle for your end users. \n For more information about the CAPTCHA JavaScript integration, see WAF client application integration in the WAF Developer Guide.
\nYou can use a single key for up to 5 domains. After you generate a key, you can copy it for use in your JavaScript \n integration.
" } }, "com.amazonaws.wafv2#CreateAPIKeyRequest": { "type": "structure", "members": { "Scope": { "target": "com.amazonaws.wafv2#Scope", "traits": { "smithy.api#documentation": "Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For an Amplify application, use CLOUDFRONT.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
\nCLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1.
API and SDKs - For all calls, use the Region endpoint us-east-1.
\nThe client application domains that you want to use this API key for.
\nExample JSON: \"TokenDomains\": [\"abc.com\", \"store.abc.com\"]\n
Public suffixes aren't allowed. For example, you can't use gov.au or co.uk as token domains.
The generated, encrypted API key. You can copy this for use in your JavaScript CAPTCHA integration.
" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.wafv2#CreateIPSet": { "type": "operation", "input": { "target": "com.amazonaws.wafv2#CreateIPSetRequest" }, "output": { "target": "com.amazonaws.wafv2#CreateIPSetResponse" }, "errors": [ { "target": "com.amazonaws.wafv2#WAFDuplicateItemException" }, { "target": "com.amazonaws.wafv2#WAFInternalErrorException" }, { "target": "com.amazonaws.wafv2#WAFInvalidOperationException" }, { "target": "com.amazonaws.wafv2#WAFInvalidParameterException" }, { "target": "com.amazonaws.wafv2#WAFLimitsExceededException" }, { "target": "com.amazonaws.wafv2#WAFOptimisticLockException" }, { "target": "com.amazonaws.wafv2#WAFTagOperationException" }, { "target": "com.amazonaws.wafv2#WAFTagOperationInternalErrorException" } ], "traits": { "smithy.api#documentation": "Creates an IPSet, which you use to identify web requests that\n originate from specific IP addresses or ranges of IP addresses. For example, if you're\n receiving a lot of requests from a ranges of IP addresses, you can configure WAF to\n block them using an IPSet that lists those IP addresses.
" } }, "com.amazonaws.wafv2#CreateIPSetRequest": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.wafv2#EntityName", "traits": { "smithy.api#documentation": "The name of the IP set. You cannot change the name of an IPSet after you create it.
Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For an Amplify application, use CLOUDFRONT.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
\nCLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1.
API and SDKs - For all calls, use the Region endpoint us-east-1.
\nA description of the IP set that helps with identification.
" } }, "IPAddressVersion": { "target": "com.amazonaws.wafv2#IPAddressVersion", "traits": { "smithy.api#documentation": "The version of the IP addresses, either IPV4 or IPV6.
Contains an array of strings that specifies zero or more IP addresses or blocks of IP addresses that you want WAF to inspect for in incoming requests. All addresses must be specified using Classless Inter-Domain Routing (CIDR) notation. WAF supports all IPv4 and IPv6 CIDR ranges except for /0.
Example address strings:
\nFor requests that originated from the IP address 192.0.2.44, specify 192.0.2.44/32.
For requests that originated from IP addresses from 192.0.2.0 to 192.0.2.255, specify \n 192.0.2.0/24.
For requests that originated from the IP address 1111:0000:0000:0000:0000:0000:0000:0111, specify 1111:0000:0000:0000:0000:0000:0000:0111/128.
For requests that originated from IP addresses 1111:0000:0000:0000:0000:0000:0000:0000 to 1111:0000:0000:0000:ffff:ffff:ffff:ffff, specify 1111:0000:0000:0000:0000:0000:0000:0000/64.
For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.
\nExample JSON Addresses specifications:
Empty array: \"Addresses\": []\n
Array with one address: \"Addresses\": [\"192.0.2.44/32\"]\n
Array with three addresses: \"Addresses\": [\"192.0.2.44/32\", \"192.0.2.0/24\", \"192.0.0.0/16\"]\n
INVALID specification: \"Addresses\": [\"\"] INVALID
An array of key:value pairs to associate with the resource.
" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.wafv2#CreateIPSetResponse": { "type": "structure", "members": { "Summary": { "target": "com.amazonaws.wafv2#IPSetSummary", "traits": { "smithy.api#documentation": "High-level information about an IPSet, returned by operations like create and list. This provides information like the ID, that you can use to retrieve and manage an IPSet, and the ARN, that you provide to the IPSetReferenceStatement to use the address set in a Rule.
Creates a RegexPatternSet, which you reference in a RegexPatternSetReferenceStatement, to have WAF inspect a web request\n component for the specified patterns.
" } }, "com.amazonaws.wafv2#CreateRegexPatternSetRequest": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.wafv2#EntityName", "traits": { "smithy.api#documentation": "The name of the set. You cannot change the name after you create the set.
", "smithy.api#required": {} } }, "Scope": { "target": "com.amazonaws.wafv2#Scope", "traits": { "smithy.api#documentation": "Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For an Amplify application, use CLOUDFRONT.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
\nCLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1.
API and SDKs - For all calls, use the Region endpoint us-east-1.
\nA description of the set that helps with identification.
" } }, "RegularExpressionList": { "target": "com.amazonaws.wafv2#RegularExpressionList", "traits": { "smithy.api#documentation": "Array of regular expression strings.
", "smithy.api#required": {} } }, "Tags": { "target": "com.amazonaws.wafv2#TagList", "traits": { "smithy.api#documentation": "An array of key:value pairs to associate with the resource.
" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.wafv2#CreateRegexPatternSetResponse": { "type": "structure", "members": { "Summary": { "target": "com.amazonaws.wafv2#RegexPatternSetSummary", "traits": { "smithy.api#documentation": "High-level information about a RegexPatternSet, returned by operations like create and list. This provides information like the ID, that you can use to retrieve and manage a RegexPatternSet, and the ARN, that you provide to the RegexPatternSetReferenceStatement to use the pattern set in a Rule.
Creates a RuleGroup per the specifications provided.
\nA rule group defines a collection of rules to inspect and control web requests that you can use in a WebACL. When you create a rule group, you define an immutable capacity limit. If you update a rule group, you must stay within the capacity. This allows others to reuse the rule group with confidence in its capacity requirements.
" } }, "com.amazonaws.wafv2#CreateRuleGroupRequest": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.wafv2#EntityName", "traits": { "smithy.api#documentation": "The name of the rule group. You cannot change the name of a rule group after you create it.
", "smithy.api#required": {} } }, "Scope": { "target": "com.amazonaws.wafv2#Scope", "traits": { "smithy.api#documentation": "Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For an Amplify application, use CLOUDFRONT.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
\nCLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1.
API and SDKs - For all calls, use the Region endpoint us-east-1.
\nThe web ACL capacity units (WCUs) required for this rule group.
\nWhen you create your own rule group, you define this, and you cannot change it after creation. \n When you add or modify the rules in a rule group, WAF enforces this limit. You can check the capacity \n for a set of rules using CheckCapacity.
\nWAF uses WCUs to calculate and control the operating\n resources that are used to run your rules, rule groups, and web ACLs. WAF\n calculates capacity differently for each rule type, to reflect the relative cost of each rule. \n Simple rules that cost little to run use fewer WCUs than more complex rules\n\t\t\t\tthat use more processing power. \n\t\t\t\tRule group capacity is fixed at creation, which helps users plan their \n web ACL WCU usage when they use a rule group. For more information, see WAF web ACL capacity units (WCU) \n in the WAF Developer Guide.
", "smithy.api#required": {} } }, "Description": { "target": "com.amazonaws.wafv2#EntityDescription", "traits": { "smithy.api#documentation": "A description of the rule group that helps with identification.
" } }, "Rules": { "target": "com.amazonaws.wafv2#Rules", "traits": { "smithy.api#documentation": "The Rule statements used to identify the web requests that you \n want to manage. Each rule includes one top-level statement that WAF uses to identify matching \n web requests, and parameters that govern how WAF handles them. \n
" } }, "VisibilityConfig": { "target": "com.amazonaws.wafv2#VisibilityConfig", "traits": { "smithy.api#documentation": "Defines and enables Amazon CloudWatch metrics and web request sample collection.
", "smithy.api#required": {} } }, "Tags": { "target": "com.amazonaws.wafv2#TagList", "traits": { "smithy.api#documentation": "An array of key:value pairs to associate with the resource.
" } }, "CustomResponseBodies": { "target": "com.amazonaws.wafv2#CustomResponseBodies", "traits": { "smithy.api#documentation": "A map of custom response keys and content bodies. When you create a rule with a block action, you can send a custom response to the web request. You define these for the rule group, and then use them in the rules that you define in the rule group.
\nFor information about customizing web requests and responses, \n see Customizing web requests and responses in WAF \n in the WAF Developer Guide.
\nFor information about the limits on count and size for custom request and response settings, see WAF quotas \n in the WAF Developer Guide.
" } }, "MonetizationConfig": { "target": "com.amazonaws.wafv2#MonetizationConfig", "traits": { "smithy.api#documentation": "The monetization configuration for the rule group. Provide this when any rule in the rule group uses the Monetize action.
High-level information about a RuleGroup, returned by operations like create and list. This provides information like the ID, that you can use to retrieve and manage a RuleGroup, and the ARN, that you provide to the RuleGroupReferenceStatement to use the rule group in a Rule.
Creates a WebACL per the specifications provided.
\nA web ACL defines a collection of rules to use to inspect and control web requests. Each rule has a statement that defines what to look for in web requests and an action that WAF applies to requests that match the statement. In the web ACL, you assign a default action to take (allow, block) for any request that does not match any of the rules. The rules in a web ACL can be a combination of the types Rule, RuleGroup, and managed rule group. You can associate a web ACL with one or more Amazon Web Services resources to protect. The resource types include Amazon CloudFront distribution, Amazon API Gateway REST API, Application Load Balancer, AppSync GraphQL API, Amazon Cognito user pool, App Runner service, Amplify application, Amazon Web Services Verified Access instance, and Amazon Bedrock AgentCore Gateway.
" } }, "com.amazonaws.wafv2#CreateWebACLRequest": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.wafv2#EntityName", "traits": { "smithy.api#documentation": "The name of the web ACL. You cannot change the name of a web ACL after you create it.
", "smithy.api#required": {} } }, "Scope": { "target": "com.amazonaws.wafv2#Scope", "traits": { "smithy.api#documentation": "Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For an Amplify application, use CLOUDFRONT.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
\nCLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1.
API and SDKs - For all calls, use the Region endpoint us-east-1.
\nThe action to perform if none of the Rules contained in the WebACL match.
A description of the web ACL that helps with identification.
" } }, "Rules": { "target": "com.amazonaws.wafv2#Rules", "traits": { "smithy.api#documentation": "The Rule statements used to identify the web requests that you \n want to manage. Each rule includes one top-level statement that WAF uses to identify matching \n web requests, and parameters that govern how WAF handles them. \n
" } }, "VisibilityConfig": { "target": "com.amazonaws.wafv2#VisibilityConfig", "traits": { "smithy.api#documentation": "Defines and enables Amazon CloudWatch metrics and web request sample collection.
", "smithy.api#required": {} } }, "DataProtectionConfig": { "target": "com.amazonaws.wafv2#DataProtectionConfig", "traits": { "smithy.api#documentation": "Specifies data protection to apply to the web request data for the web ACL. This is a web ACL level data protection option.
\nThe data protection that you configure for the web ACL alters the data that's available for any other data collection activity, \n including your WAF logging destinations, web ACL request sampling, and Amazon Security Lake data collection and management. Your other option for data protection is in the logging configuration, which only affects logging.
" } }, "Tags": { "target": "com.amazonaws.wafv2#TagList", "traits": { "smithy.api#documentation": "An array of key:value pairs to associate with the resource.
" } }, "CustomResponseBodies": { "target": "com.amazonaws.wafv2#CustomResponseBodies", "traits": { "smithy.api#documentation": "A map of custom response keys and content bodies. When you create a rule with a block action, you can send a custom response to the web request. You define these for the web ACL, and then use them in the rules and default actions that you define in the web ACL.
\nFor information about customizing web requests and responses, \n see Customizing web requests and responses in WAF \n in the WAF Developer Guide.
\nFor information about the limits on count and size for custom request and response settings, see WAF quotas \n in the WAF Developer Guide.
" } }, "CaptchaConfig": { "target": "com.amazonaws.wafv2#CaptchaConfig", "traits": { "smithy.api#documentation": "Specifies how WAF should handle CAPTCHA evaluations for rules that don't have their own CaptchaConfig settings. If you don't specify this, WAF uses its default settings for CaptchaConfig.
Specifies how WAF should handle challenge evaluations for rules that don't have \ntheir own ChallengeConfig settings. If you don't specify this, WAF uses its default settings for ChallengeConfig.
Specifies the domains that WAF should accept in a web request token. This enables the use of tokens across multiple protected websites. When WAF provides a token, it uses the domain of the Amazon Web Services resource that the web ACL is protecting. If you don't specify a list of token domains, WAF accepts tokens only for the domain of the protected resource. With a token domain list, WAF accepts the resource's host domain plus all domains in the token domain list, including their prefixed subdomains.
\nExample JSON: \"TokenDomains\": { \"mywebsite.com\", \"myotherwebsite.com\" }\n
Public suffixes aren't allowed. For example, you can't use gov.au or co.uk as token domains.
Specifies custom configurations for the associations between the web ACL and protected resources.
\nUse this to customize the maximum size of the request body that your protected resources forward to WAF for inspection. You can \n customize this setting for CloudFront, API Gateway, Amazon Cognito, App Runner, or Verified Access resources. The default setting is 16 KB (16,384 bytes).
\nYou are charged additional fees when your protected resources forward body sizes that are larger than the default. For more information, see WAF Pricing.
\nFor Application Load Balancer and AppSync, the limit is fixed at 8 KB (8,192 bytes).
\nYou can also use this to have your CloudFront distributions insert the WAF challenge JavaScript SDK into the HTML responses that they return. For more information, see the ChallengeJavascriptSdkInjection setting.
Specifies the type of DDoS protection to apply to web request data for a web ACL. For most scenarios, it is recommended to use the default protection level, ACTIVE_UNDER_DDOS. \n If a web ACL is associated with multiple Application Load Balancers, the changes you make to DDoS protection in that web ACL will apply to all associated Application Load Balancers.
Configures the ability for the WAF console to store and retrieve application attributes during the web ACL creation process. Application attributes help WAF give recommendations for protection packs.
" } }, "MonetizationConfig": { "target": "com.amazonaws.wafv2#MonetizationConfig", "traits": { "smithy.api#documentation": "The monetization configuration for the web ACL. Provide this when any rule in the web ACL uses the Monetize action.
Specifies the security analytics configuration for the web ACL. For more information, see AnalyticsConfig.
" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.wafv2#CreateWebACLResponse": { "type": "structure", "members": { "Summary": { "target": "com.amazonaws.wafv2#WebACLSummary", "traits": { "smithy.api#documentation": "High-level information about a WebACL, returned by operations like create and list. This provides information like the ID, that you can use to retrieve and manage a WebACL, and the ARN, that you provide to operations like AssociateWebACL.
The blockchain payment networks configured to receive payments. You can specify 1 to 2 networks. All networks must be in the same environment-either all production networks (Base, Solana) or all test networks (Base Sepolia, Solana Devnet).
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "The cryptocurrency payment configuration for AI bot monetization. Contains the list of blockchain payment networks where you receive payments.
" } }, "com.amazonaws.wafv2#CryptoCurrency": { "type": "enum", "members": { "USDC": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "USDC" } } } }, "com.amazonaws.wafv2#Currency": { "type": "enum", "members": { "USDC": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "USDC" } } } }, "com.amazonaws.wafv2#CurrencyMode": { "type": "enum", "members": { "REAL": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "REAL" } }, "TEST": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "TEST" } } } }, "com.amazonaws.wafv2#CustomHTTPHeader": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.wafv2#CustomHTTPHeaderName", "traits": { "smithy.api#documentation": "The name of the custom header.
\nFor custom request header insertion, when WAF inserts the header into the request,\n it prefixes this name x-amzn-waf-, to avoid confusion with the headers that\n are already in the request. For example, for the header name sample, WAF\n inserts the header x-amzn-waf-sample.
The value of the custom header.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "A custom header for custom request and response handling. This is used in CustomResponse and CustomRequestHandling.
" } }, "com.amazonaws.wafv2#CustomHTTPHeaderName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 64 }, "smithy.api#pattern": "^[a-zA-Z0-9._$-]+$" } }, "com.amazonaws.wafv2#CustomHTTPHeaderValue": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 255 }, "smithy.api#pattern": ".*" } }, "com.amazonaws.wafv2#CustomHTTPHeaders": { "type": "list", "member": { "target": "com.amazonaws.wafv2#CustomHTTPHeader" }, "traits": { "smithy.api#length": { "min": 1 } } }, "com.amazonaws.wafv2#CustomRequestHandling": { "type": "structure", "members": { "InsertHeaders": { "target": "com.amazonaws.wafv2#CustomHTTPHeaders", "traits": { "smithy.api#documentation": "The HTTP headers to insert into the request. Duplicate header names are not allowed.
\nFor information about the limits on count and size for custom request and response settings, see WAF quotas \n in the WAF Developer Guide.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Custom request handling behavior that inserts custom headers into a web request. You can\n add custom request handling for WAF to use when the rule action doesn't block the request. \n For example, CaptchaAction for requests with valid t okens, and AllowAction.
For information about customizing web requests and responses, \n see Customizing web requests and responses in WAF \n in the WAF Developer Guide.
" } }, "com.amazonaws.wafv2#CustomResponse": { "type": "structure", "members": { "ResponseCode": { "target": "com.amazonaws.wafv2#ResponseStatusCode", "traits": { "smithy.api#documentation": "The HTTP status code to return to the client.
\nFor a list of status codes that you can use in your custom responses, see Supported status codes for custom response \n in the WAF Developer Guide.
", "smithy.api#required": {} } }, "CustomResponseBodyKey": { "target": "com.amazonaws.wafv2#EntityName", "traits": { "smithy.api#documentation": "References the response body that you want WAF to return to the web request\n client. You can define a custom response for a rule action or a default web ACL action that\n is set to block. To do this, you first define the response body key and value in the\n CustomResponseBodies setting for the WebACL or RuleGroup where you want to use it. Then, in the rule action or web ACL\n default action BlockAction setting, you reference the response body using this\n key.
The HTTP headers to use in the response. You can specify any header name except for content-type. Duplicate header names are not allowed.
For information about the limits on count and size for custom request and response settings, see WAF quotas \n in the WAF Developer Guide.
" } } }, "traits": { "smithy.api#documentation": "A custom response to send to the client. You can define a custom response for rule\n actions and default web ACL actions that are set to BlockAction.
\nFor information about customizing web requests and responses, \n see Customizing web requests and responses in WAF \n in the WAF Developer Guide.
" } }, "com.amazonaws.wafv2#CustomResponseBodies": { "type": "map", "key": { "target": "com.amazonaws.wafv2#EntityName" }, "value": { "target": "com.amazonaws.wafv2#CustomResponseBody" }, "traits": { "smithy.api#length": { "min": 1 } } }, "com.amazonaws.wafv2#CustomResponseBody": { "type": "structure", "members": { "ContentType": { "target": "com.amazonaws.wafv2#ResponseContentType", "traits": { "smithy.api#documentation": "The type of content in the payload that you are defining in the Content\n string.
The payload of the custom response.
\nYou can use JSON escape strings in JSON content. To do this, you must specify JSON\n content in the ContentType setting.
For information about the limits on count and size for custom request and response settings, see WAF quotas \n in the WAF Developer Guide.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "The response body to use in a custom response to a web request. This is referenced by\n key from CustomResponse\n CustomResponseBodyKey.
The timestamp for this data point.
" } }, "MonetizeServedCount": { "target": "com.amazonaws.wafv2#RequestCount", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "The number of HTTP 402 Payment Required responses served during this interval.
" } }, "SettledCount": { "target": "com.amazonaws.wafv2#RequestCount", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "The number of successfully settled payments during this interval.
" } }, "TotalAmount": { "target": "com.amazonaws.wafv2#MonetizationAmountValue", "traits": { "smithy.api#documentation": "The total revenue amount during this interval in the specified currency.
" } }, "Category": { "target": "com.amazonaws.wafv2#FilterString", "traits": { "smithy.api#documentation": "The bot category for this data point, when grouped by category.
" } }, "Intent": { "target": "com.amazonaws.wafv2#FilterString", "traits": { "smithy.api#documentation": "The intent classification for this data point, when grouped by intent.
" } }, "GroupByValue": { "target": "com.amazonaws.wafv2#FilterString", "traits": { "smithy.api#documentation": "The group-by dimension value for this data point.
" } } }, "traits": { "smithy.api#documentation": "A single data point in a revenue time series, representing aggregated monetization metrics for a specific time interval.
" } }, "com.amazonaws.wafv2#DataPointsList": { "type": "list", "member": { "target": "com.amazonaws.wafv2#DataPointEntry" } }, "com.amazonaws.wafv2#DataProtection": { "type": "structure", "members": { "Field": { "target": "com.amazonaws.wafv2#FieldToProtect", "traits": { "smithy.api#documentation": "Specifies the field type and optional keys to apply the protection behavior to.
", "smithy.api#required": {} } }, "Action": { "target": "com.amazonaws.wafv2#DataProtectionAction", "traits": { "smithy.api#documentation": "Specifies how to protect the field. WAF can apply a one-way hash to the field or hard code a string substitution.
\nOne-way hash example: ade099751dEXAMPLEHASH2ea9f3393f80dd5d3bEXAMPLEHASH966ae0d3cd5a1e\n
Substitution example: REDACTED\n
Specifies whether to also exclude any rule match details from the data protection you have enabled for a given field. WAF logs these details for non-terminating \n matching rules and for the terminating matching rule. For additional information, see \n Log fields for web ACL traffic in the\n WAF Developer Guide.
\nDefault: FALSE\n
Specifies whether to also exclude any rate-based rule details from the data protection you have enabled for a given field. If you specify this exception, RateBasedDetails will show the value of the field. \n For additional information, see the log field rateBasedRuleList at \n Log fields for web ACL traffic in the\n WAF Developer Guide.
Default: FALSE\n
Specifies the protection behavior for a field type. This is part of the data protection configuration for a web ACL.
" } }, "com.amazonaws.wafv2#DataProtectionAction": { "type": "enum", "members": { "SUBSTITUTION": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SUBSTITUTION" } }, "HASH": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "HASH" } } } }, "com.amazonaws.wafv2#DataProtectionConfig": { "type": "structure", "members": { "DataProtections": { "target": "com.amazonaws.wafv2#DataProtections", "traits": { "smithy.api#documentation": "An array of data protection configurations for specific web request field types. This is defined for each \n web ACL. WAF applies the specified protection to all web requests that the web ACL inspects.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Specifies data protection to apply to the web request data for the web ACL. This is a web ACL level data protection option.
\nThe data protection that you configure for the web ACL alters the data that's available for any other data collection activity, \n including your WAF logging destinations, web ACL request sampling, and Amazon Security Lake data collection and management. Your other option for data protection is in the logging configuration, which only affects logging.
\nThis is part of the data protection configuration for a web ACL.
" } }, "com.amazonaws.wafv2#DataProtections": { "type": "list", "member": { "target": "com.amazonaws.wafv2#DataProtection" }, "traits": { "smithy.api#length": { "min": 1, "max": 26 } } }, "com.amazonaws.wafv2#DefaultAction": { "type": "structure", "members": { "Block": { "target": "com.amazonaws.wafv2#BlockAction", "traits": { "smithy.api#documentation": "Specifies that WAF should block requests by default.
" } }, "Allow": { "target": "com.amazonaws.wafv2#AllowAction", "traits": { "smithy.api#documentation": "Specifies that WAF should allow requests by default.
" } } }, "traits": { "smithy.api#documentation": "In a WebACL, this is the action that you want WAF to perform\n when a web request doesn't match any of the rules in the WebACL. The default\n action must be a terminating action.
Deletes the specified API key.
\nAfter you delete a key, it can take up to 24 hours for WAF to disallow use of the key in all regions.
" } }, "com.amazonaws.wafv2#DeleteAPIKeyRequest": { "type": "structure", "members": { "Scope": { "target": "com.amazonaws.wafv2#Scope", "traits": { "smithy.api#documentation": "Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For an Amplify application, use CLOUDFRONT.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
\nCLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1.
API and SDKs - For all calls, use the Region endpoint us-east-1.
\nThe encrypted API key that you want to delete.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.wafv2#DeleteAPIKeyResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.wafv2#DeleteFirewallManagerRuleGroups": { "type": "operation", "input": { "target": "com.amazonaws.wafv2#DeleteFirewallManagerRuleGroupsRequest" }, "output": { "target": "com.amazonaws.wafv2#DeleteFirewallManagerRuleGroupsResponse" }, "errors": [ { "target": "com.amazonaws.wafv2#WAFInternalErrorException" }, { "target": "com.amazonaws.wafv2#WAFInvalidOperationException" }, { "target": "com.amazonaws.wafv2#WAFInvalidParameterException" }, { "target": "com.amazonaws.wafv2#WAFNonexistentItemException" }, { "target": "com.amazonaws.wafv2#WAFOptimisticLockException" } ], "traits": { "smithy.api#documentation": "Deletes all rule groups that are managed by Firewall Manager from the specified WebACL.
\nYou can only use this if ManagedByFirewallManager and RetrofittedByFirewallManager are both false in the web ACL.
The Amazon Resource Name (ARN) of the web ACL.
", "smithy.api#required": {} } }, "WebACLLockToken": { "target": "com.amazonaws.wafv2#LockToken", "traits": { "smithy.api#documentation": "A token used for optimistic locking. WAF returns a token to your get and list requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like update and delete. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException. If this happens, perform another get, and use the new token returned by that operation.
A token used for optimistic locking. WAF returns a token to your get and list requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like update and delete. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException. If this happens, perform another get, and use the new token returned by that operation.
Deletes the specified IPSet.
" } }, "com.amazonaws.wafv2#DeleteIPSetRequest": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.wafv2#EntityName", "traits": { "smithy.api#documentation": "The name of the IP set. You cannot change the name of an IPSet after you create it.
Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For an Amplify application, use CLOUDFRONT.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
\nCLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1.
API and SDKs - For all calls, use the Region endpoint us-east-1.
\nA unique identifier for the set. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.
", "smithy.api#required": {} } }, "LockToken": { "target": "com.amazonaws.wafv2#LockToken", "traits": { "smithy.api#documentation": "A token used for optimistic locking. WAF returns a token to your get and list requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like update and delete. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException. If this happens, perform another get, and use the new token returned by that operation.
Deletes the LoggingConfiguration from the specified web ACL.
" } }, "com.amazonaws.wafv2#DeleteLoggingConfigurationRequest": { "type": "structure", "members": { "ResourceArn": { "target": "com.amazonaws.wafv2#ResourceArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the web ACL from which you want to delete the LoggingConfiguration.
", "smithy.api#required": {} } }, "LogType": { "target": "com.amazonaws.wafv2#LogType", "traits": { "smithy.api#documentation": "Used to distinguish between various logging options. Currently, there is one option.
\nDefault: WAF_LOGS\n
The owner of the logging configuration, which must be set to CUSTOMER for the configurations that you manage.
The log scope SECURITY_LAKE indicates a configuration that is managed through Amazon Security Lake. You can use Security Lake to collect log and event data from various sources for normalization, analysis, and management. For information, see \n Collecting data from Amazon Web Services services\n in the Amazon Security Lake user guide.
The log scope CLOUDWATCH_TELEMETRY_RULE_MANAGED indicates a configuration that is managed through Amazon CloudWatch Logs for telemetry data collection and analysis. For information, see \n What is Amazon CloudWatch Logs ?\n in the Amazon CloudWatch Logs user guide.
Default: CUSTOMER\n
Permanently deletes an IAM policy from the specified rule group.
\nYou must be the owner of the rule group to perform this operation.
" } }, "com.amazonaws.wafv2#DeletePermissionPolicyRequest": { "type": "structure", "members": { "ResourceArn": { "target": "com.amazonaws.wafv2#ResourceArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the rule group from which you want to delete the\n policy.
\nYou must be the owner of the rule group to perform this operation.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.wafv2#DeletePermissionPolicyResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.wafv2#DeleteRegexPatternSet": { "type": "operation", "input": { "target": "com.amazonaws.wafv2#DeleteRegexPatternSetRequest" }, "output": { "target": "com.amazonaws.wafv2#DeleteRegexPatternSetResponse" }, "errors": [ { "target": "com.amazonaws.wafv2#WAFAssociatedItemException" }, { "target": "com.amazonaws.wafv2#WAFInternalErrorException" }, { "target": "com.amazonaws.wafv2#WAFInvalidOperationException" }, { "target": "com.amazonaws.wafv2#WAFInvalidParameterException" }, { "target": "com.amazonaws.wafv2#WAFNonexistentItemException" }, { "target": "com.amazonaws.wafv2#WAFOptimisticLockException" }, { "target": "com.amazonaws.wafv2#WAFTagOperationException" }, { "target": "com.amazonaws.wafv2#WAFTagOperationInternalErrorException" } ], "traits": { "smithy.api#documentation": "Deletes the specified RegexPatternSet.
" } }, "com.amazonaws.wafv2#DeleteRegexPatternSetRequest": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.wafv2#EntityName", "traits": { "smithy.api#documentation": "The name of the set. You cannot change the name after you create the set.
", "smithy.api#required": {} } }, "Scope": { "target": "com.amazonaws.wafv2#Scope", "traits": { "smithy.api#documentation": "Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For an Amplify application, use CLOUDFRONT.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
\nCLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1.
API and SDKs - For all calls, use the Region endpoint us-east-1.
\nA unique identifier for the set. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.
", "smithy.api#required": {} } }, "LockToken": { "target": "com.amazonaws.wafv2#LockToken", "traits": { "smithy.api#documentation": "A token used for optimistic locking. WAF returns a token to your get and list requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like update and delete. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException. If this happens, perform another get, and use the new token returned by that operation.
Deletes the specified RuleGroup.
" } }, "com.amazonaws.wafv2#DeleteRuleGroupRequest": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.wafv2#EntityName", "traits": { "smithy.api#documentation": "The name of the rule group. You cannot change the name of a rule group after you create it.
", "smithy.api#required": {} } }, "Scope": { "target": "com.amazonaws.wafv2#Scope", "traits": { "smithy.api#documentation": "Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For an Amplify application, use CLOUDFRONT.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
\nCLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1.
API and SDKs - For all calls, use the Region endpoint us-east-1.
\nA unique identifier for the rule group. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.
", "smithy.api#required": {} } }, "LockToken": { "target": "com.amazonaws.wafv2#LockToken", "traits": { "smithy.api#documentation": "A token used for optimistic locking. WAF returns a token to your get and list requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like update and delete. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException. If this happens, perform another get, and use the new token returned by that operation.
Deletes the specified WebACL.
\nYou can only use this if ManagedByFirewallManager is false in the web ACL.
Before deleting any web ACL, first disassociate it from all resources.
\nTo retrieve a list of the resources that are associated with a web ACL, use the\n following calls:
\nFor Amazon CloudFront distributions, use the CloudFront call\n ListDistributionsByWebACLId. For information, see ListDistributionsByWebACLId \n in the Amazon CloudFront API Reference.
For all other resources, call ListResourcesForWebACL.
\nTo disassociate a resource from a web ACL, use the following calls:
\nFor Amazon CloudFront distributions, provide an empty web ACL ID in the CloudFront call\n UpdateDistribution. For information, see UpdateDistribution\n in the Amazon CloudFront API Reference.
For all other resources, call DisassociateWebACL.
\nThe name of the web ACL. You cannot change the name of a web ACL after you create it.
", "smithy.api#required": {} } }, "Scope": { "target": "com.amazonaws.wafv2#Scope", "traits": { "smithy.api#documentation": "Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For an Amplify application, use CLOUDFRONT.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
\nCLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1.
API and SDKs - For all calls, use the Region endpoint us-east-1.
\nThe unique identifier for the web ACL. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.
", "smithy.api#required": {} } }, "LockToken": { "target": "com.amazonaws.wafv2#LockToken", "traits": { "smithy.api#documentation": "A token used for optimistic locking. WAF returns a token to your get and list requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like update and delete. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException. If this happens, perform another get, and use the new token returned by that operation.
Provides high-level information for the Amazon Web Services Managed Rules rule groups and Amazon Web Services Marketplace managed rule groups.
" } }, "com.amazonaws.wafv2#DescribeAllManagedProductsRequest": { "type": "structure", "members": { "Scope": { "target": "com.amazonaws.wafv2#Scope", "traits": { "smithy.api#documentation": "Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For an Amplify application, use CLOUDFRONT.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
\nCLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1.
API and SDKs - For all calls, use the Region endpoint us-east-1.
\nHigh-level information for the Amazon Web Services Managed Rules rule groups and Amazon Web Services Marketplace managed rule groups.
" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.wafv2#DescribeManagedProductsByVendor": { "type": "operation", "input": { "target": "com.amazonaws.wafv2#DescribeManagedProductsByVendorRequest" }, "output": { "target": "com.amazonaws.wafv2#DescribeManagedProductsByVendorResponse" }, "errors": [ { "target": "com.amazonaws.wafv2#WAFInternalErrorException" }, { "target": "com.amazonaws.wafv2#WAFInvalidOperationException" }, { "target": "com.amazonaws.wafv2#WAFInvalidParameterException" } ], "traits": { "smithy.api#documentation": "Provides high-level information for the managed rule groups owned by a specific vendor.
" } }, "com.amazonaws.wafv2#DescribeManagedProductsByVendorRequest": { "type": "structure", "members": { "VendorName": { "target": "com.amazonaws.wafv2#VendorName", "traits": { "smithy.api#documentation": "The name of the managed rule group vendor. You use this, along with the rule group name, to identify a rule group.
", "smithy.api#required": {} } }, "Scope": { "target": "com.amazonaws.wafv2#Scope", "traits": { "smithy.api#documentation": "Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For an Amplify application, use CLOUDFRONT.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
\nCLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1.
API and SDKs - For all calls, use the Region endpoint us-east-1.
\nHigh-level information for the managed rule groups owned by the specified vendor.
" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.wafv2#DescribeManagedRuleGroup": { "type": "operation", "input": { "target": "com.amazonaws.wafv2#DescribeManagedRuleGroupRequest" }, "output": { "target": "com.amazonaws.wafv2#DescribeManagedRuleGroupResponse" }, "errors": [ { "target": "com.amazonaws.wafv2#WAFExpiredManagedRuleGroupVersionException" }, { "target": "com.amazonaws.wafv2#WAFInternalErrorException" }, { "target": "com.amazonaws.wafv2#WAFInvalidOperationException" }, { "target": "com.amazonaws.wafv2#WAFInvalidParameterException" }, { "target": "com.amazonaws.wafv2#WAFInvalidResourceException" }, { "target": "com.amazonaws.wafv2#WAFNonexistentItemException" } ], "traits": { "smithy.api#documentation": "Provides high-level information for a managed rule group, including descriptions of the rules.
" } }, "com.amazonaws.wafv2#DescribeManagedRuleGroupRequest": { "type": "structure", "members": { "VendorName": { "target": "com.amazonaws.wafv2#VendorName", "traits": { "smithy.api#documentation": "The name of the managed rule group vendor. You use this, along with the rule group name, to identify a rule group.
", "smithy.api#required": {} } }, "Name": { "target": "com.amazonaws.wafv2#EntityName", "traits": { "smithy.api#documentation": "The name of the managed rule group. You use this, along with the vendor name, to identify the rule group.
", "smithy.api#required": {} } }, "Scope": { "target": "com.amazonaws.wafv2#Scope", "traits": { "smithy.api#documentation": "Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For an Amplify application, use CLOUDFRONT.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
\nCLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1.
API and SDKs - For all calls, use the Region endpoint us-east-1.
\nThe version of the rule group. You can only use a version that is not scheduled for\n expiration. If you don't provide this, WAF uses the vendor's default version.
" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.wafv2#DescribeManagedRuleGroupResponse": { "type": "structure", "members": { "VersionName": { "target": "com.amazonaws.wafv2#VersionKeyString", "traits": { "smithy.api#documentation": "The managed rule group's version.
" } }, "SnsTopicArn": { "target": "com.amazonaws.wafv2#ResourceArn", "traits": { "smithy.api#documentation": "The Amazon resource name (ARN) of the Amazon Simple Notification Service SNS topic that's used to provide notification of changes\n to the managed rule group. You can subscribe to the SNS topic to receive notifications when\n the managed rule group is modified, such as for new versions and for version expiration.\n For more information, see the Amazon Simple Notification Service Developer Guide.
" } }, "Capacity": { "target": "com.amazonaws.wafv2#CapacityUnit", "traits": { "smithy.api#documentation": "The web ACL capacity units (WCUs) required for this rule group.
\nWAF uses WCUs to calculate and control the operating\n resources that are used to run your rules, rule groups, and web ACLs. WAF\n calculates capacity differently for each rule type, to reflect the relative cost of each rule. \n Simple rules that cost little to run use fewer WCUs than more complex rules\n\t\t\t\tthat use more processing power. \n\t\t\t\tRule group capacity is fixed at creation, which helps users plan their \n web ACL WCU usage when they use a rule group. For more information, see WAF web ACL capacity units (WCU) \n in the WAF Developer Guide.
" } }, "Rules": { "target": "com.amazonaws.wafv2#RuleSummaries", "traits": { "smithy.api#documentation": "" } }, "LabelNamespace": { "target": "com.amazonaws.wafv2#LabelName", "traits": { "smithy.api#documentation": "The label namespace prefix for this rule group. All labels added by rules in this rule group have this prefix.
\nThe syntax for the label namespace prefix for a managed rule group is the following:
\n\n awswaf:managed::
When a rule with a label matches a web request, WAF adds the fully qualified label to the request. A fully qualified label is made up of the label namespace from the rule group or web ACL where the rule is defined and the label from the rule, separated by a colon:
\n\n \n
The labels that one or more rules in this rule group add to matching web requests. These labels are defined in the RuleLabels for a Rule.
The labels that one or more rules in this rule group match against in label match statements. These labels are defined in a LabelMatchStatement specification, in the Statement definition of a rule.
The name of the disallowed WAF feature.
" } }, "RequiredPricingPlan": { "target": "com.amazonaws.wafv2#RequiredPricingPlanName", "traits": { "smithy.api#documentation": "The name of the CloudFront pricing plan required to use the WAF feature.
" } } }, "traits": { "smithy.api#documentation": "A WAF feature that is not supported by the CloudFront pricing plan associated with the web ACL.
" } }, "com.amazonaws.wafv2#DisallowedFeatures": { "type": "list", "member": { "target": "com.amazonaws.wafv2#DisallowedFeature" }, "traits": { "smithy.api#length": { "min": 1 } } }, "com.amazonaws.wafv2#DisassociateWebACL": { "type": "operation", "input": { "target": "com.amazonaws.wafv2#DisassociateWebACLRequest" }, "output": { "target": "com.amazonaws.wafv2#DisassociateWebACLResponse" }, "errors": [ { "target": "com.amazonaws.wafv2#WAFInternalErrorException" }, { "target": "com.amazonaws.wafv2#WAFInvalidOperationException" }, { "target": "com.amazonaws.wafv2#WAFInvalidParameterException" }, { "target": "com.amazonaws.wafv2#WAFNonexistentItemException" } ], "traits": { "smithy.api#documentation": "Disassociates the specified resource from its web ACL\n association, if it has one.
\nUse this for all resource types except for Amazon CloudFront distributions. For Amazon CloudFront, call UpdateDistribution for the distribution and provide an empty web ACL ID. For information, see UpdateDistribution in the Amazon CloudFront API Reference.
\n Required permissions for customer-managed IAM policies\n
\nThis call requires permissions that are specific to the protected resource type. \n For details, see Permissions for DisassociateWebACL in the WAF Developer Guide.
" } }, "com.amazonaws.wafv2#DisassociateWebACLRequest": { "type": "structure", "members": { "ResourceArn": { "target": "com.amazonaws.wafv2#ResourceArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the resource to disassociate from the web ACL.
\nThe ARN must be in one of the following formats:
\nFor an Application Load Balancer: arn:partition:elasticloadbalancing:region:account-id:loadbalancer/app/load-balancer-name/load-balancer-id\n \n
For an Amazon API Gateway REST API: arn:partition:apigateway:region::/restapis/api-id/stages/stage-name\n \n
For an AppSync GraphQL API: arn:partition:appsync:region:account-id:apis/GraphQLApiId\n \n
For an Amazon Cognito user pool: arn:partition:cognito-idp:region:account-id:userpool/user-pool-id\n \n
For an App Runner service: arn:partition:apprunner:region:account-id:service/apprunner-service-name/apprunner-service-id\n \n
For an Amazon Web Services Verified Access instance: arn:partition:ec2:region:account-id:verified-access-instance/instance-id\n \n
For an Amplify application: arn:partition:amplify:region:account-id:apps/app-id\n \n
For an Amazon Bedrock AgentCore Gateway: arn:partition:bedrock-agentcore:region:account-id:gateway/gateway-id\n \n
The name of the email field.
\nHow you specify this depends on the request inspection payload type.
\nFor JSON payloads, specify the field name in JSON\n pointer syntax. For information about the JSON Pointer\n syntax, see the Internet Engineering Task Force (IETF)\n documentation JavaScript\n \tObject Notation (JSON) Pointer.
\nFor example, for the JSON payload { \"form\": { \"email\": \"THE_EMAIL\" } }, \n the email field specification is /form/email.
For form encoded payload types, use the HTML form names.
\nFor example, for an HTML form with the input element\n named email1, the email field specification is email1.
The name of the field in the request payload that contains your customer's email.
\nThis data type is used in the RequestInspectionACFP data type.
The name of the rule whose action you want to override to Count.
Specifies a single rule in a rule group whose action you want to override to Count.
Instead of this option, use RuleActionOverrides. It accepts any valid action setting, including Count.
Inspect a single header. Provide the name of the header to inspect, for example,\n User-Agent or Referer. This setting isn't case\n sensitive.
Example JSON: \"SingleHeader\": { \"Name\": \"haystack\" }\n
Alternately, you can filter and inspect all headers with the Headers\n FieldToMatch setting.
Inspect a single query argument. Provide the name of the query argument to inspect, such\n as UserName or SalesRegion. The name can be up to\n 30 characters long and isn't case sensitive.
\nExample JSON: \"SingleQueryArgument\": { \"Name\": \"myArgument\" }\n
Inspect all query arguments.
" } }, "UriPath": { "target": "com.amazonaws.wafv2#UriPath", "traits": { "smithy.api#documentation": "Inspect the request URI path. This is the part of the web request that identifies a\n resource, for example, /images/daily-ad.jpg.
Inspect the query string. This is the part of a URL that appears after a ?\n character, if any.
Inspect the request body as plain text. The request body immediately follows the request\n headers. This is the part of a request that contains any additional data that you want to\n send to your web server as the HTTP request body, such as data from a form.
\nWAF does not support inspecting the entire contents of the web request body if the body \n exceeds the limit for the resource type. When a web request body is larger than the limit, the underlying host service \n only forwards the contents that are within the limit to WAF for inspection.
\nFor Application Load Balancer and AppSync, the limit is fixed at 8 KB (8,192 bytes).
\nFor CloudFront, API Gateway, Amazon Cognito, App Runner, and Verified Access, the default limit is 16 KB (16,384 bytes), and \n you can increase the limit for each resource type in the web ACL AssociationConfig, for additional processing fees.
For Amplify, use the CloudFront limit.
\nFor information about how to handle oversized\n request bodies, see the Body object configuration.
Inspect the HTTP method. The method indicates the type of operation that the request is\n asking the origin to perform.
" } }, "JsonBody": { "target": "com.amazonaws.wafv2#JsonBody", "traits": { "smithy.api#documentation": "Inspect the request body as JSON. The request body immediately follows the request\n headers. This is the part of a request that contains any additional data that you want to\n send to your web server as the HTTP request body, such as data from a form.
\nWAF does not support inspecting the entire contents of the web request body if the body \n exceeds the limit for the resource type. When a web request body is larger than the limit, the underlying host service \n only forwards the contents that are within the limit to WAF for inspection.
\nFor Application Load Balancer and AppSync, the limit is fixed at 8 KB (8,192 bytes).
\nFor CloudFront, API Gateway, Amazon Cognito, App Runner, and Verified Access, the default limit is 16 KB (16,384 bytes), and \n you can increase the limit for each resource type in the web ACL AssociationConfig, for additional processing fees.
For Amplify, use the CloudFront limit.
\nFor information about how to handle oversized\n request bodies, see the JsonBody object configuration.
Inspect the request headers. You must configure scope and pattern matching filters in\n the Headers object, to define the set of headers to and the parts of the\n headers that WAF inspects.
Only the first 8 KB (8192 bytes) of a request's headers and only the first 200 headers\n are forwarded to WAF for inspection by the underlying host service. You must\n configure how to handle any oversize header content in the Headers object.\n WAF applies the pattern matching filters to the headers that it receives from the\n underlying host service.
Inspect the request cookies. You must configure scope and pattern matching filters in\n the Cookies object, to define the set of cookies and the parts of the cookies\n that WAF inspects.
Only the first 8 KB (8192 bytes) of a request's cookies and only the first 200 cookies\n are forwarded to WAF for inspection by the underlying host service. You must\n configure how to handle any oversize cookie content in the Cookies object.\n WAF applies the pattern matching filters to the cookies that it receives from the\n underlying host service.
Inspect a string containing the list of the request's header names, ordered as they appear in the web request\nthat WAF receives for inspection. \n WAF generates the string and then uses that as the field to match component in its inspection. \n WAF separates the header names in the string using colons and no added spaces, for example host:user-agent:accept:authorization:referer.
Available for use with Amazon CloudFront distributions and Application Load Balancers. Match against the request's JA3 fingerprint. The JA3 fingerprint is a 32-character hash derived from the TLS Client Hello of an incoming request. This fingerprint serves as a unique identifier for the client's TLS configuration. WAF calculates and logs this fingerprint for each\n\t\t\t\t\t\trequest that has enough TLS Client Hello information for the calculation. Almost \n all web requests include this information.
\nYou can use this choice with a ByteMatchStatement, \n RegexMatchStatement, RegexPatternSetReferenceStatement, or \n SizeConstraintStatement. You can't use it with SqliMatchStatement or \n XssMatchStatement.
You can obtain the JA3 fingerprint for client requests from the web ACL logs. \n\t\t\t\t\t\tIf WAF is able to calculate the fingerprint, it includes it in the logs. \n\t\t\t\t\t\tFor information about the logging fields, \nsee Log fields in the WAF Developer Guide.
\nProvide the JA3 fingerprint string from the logs in your string match statement\n\t\t\t\t\t\t\tspecification, to match with any future requests that have the same TLS configuration. \n To match a group of TLS configurations with a single pattern, use a regex statement.
" } }, "JA4Fingerprint": { "target": "com.amazonaws.wafv2#JA4Fingerprint", "traits": { "smithy.api#documentation": "Available for use with Amazon CloudFront distributions and Application Load Balancers. Match against the request's JA4 fingerprint. The JA4 fingerprint is a 36-character hash derived from the TLS Client Hello of an incoming request. This fingerprint serves as a unique identifier for the client's TLS configuration. WAF calculates and logs this fingerprint for each\n\t\t\t\t\t\trequest that has enough TLS Client Hello information for the calculation. Almost \n all web requests include this information.
\nYou can use this choice with a ByteMatchStatement, \n RegexMatchStatement, RegexPatternSetReferenceStatement, or \n SizeConstraintStatement. You can't use it with SqliMatchStatement or \n XssMatchStatement.
You can obtain the JA4 fingerprint for client requests from the web ACL logs. \n\t\t\t\t\t\tIf WAF is able to calculate the fingerprint, it includes it in the logs. \n\t\t\t\t\t\tFor information about the logging fields, \nsee Log fields in the WAF Developer Guide.
\nProvide the JA4 fingerprint string from the logs in your string match statement\n\t\t\t\t\t\t\tspecification, to match with any future requests that have the same TLS configuration. \n To match a group of TLS configurations with a single pattern, use a regex statement.
" } }, "UriFragment": { "target": "com.amazonaws.wafv2#UriFragment", "traits": { "smithy.api#documentation": "Inspect fragments of the request URI. You must configure scope and pattern matching filters in \n the UriFragment object, to define the fragment of a URI that WAF inspects.
Only the first 8 KB (8192 bytes) of a request's URI fragments and only the first 200 URI fragments\n are forwarded to WAF for inspection by the underlying host service. You must\n configure how to handle any oversize URI fragment content in the UriFragment object.\n WAF applies the pattern matching filters to the cookies that it receives from the\n underlying host service.
Specifies a web request component to be used in a rule match statement or in a logging configuration.
\nIn a rule statement, this is the part of the web request that you want WAF to inspect. Include the single\n FieldToMatch type that you want to inspect, with additional specifications\n as needed, according to the type. You specify a single request component in\n FieldToMatch for each rule statement that requires it. To inspect more than\n one component of the web request, create a separate rule statement for each\n component.
Example JSON for a QueryString field to match:
\n \"FieldToMatch\": { \"QueryString\": {} }\n
Example JSON for a Method field to match specification:
\n \"FieldToMatch\": { \"Method\": { \"Name\": \"DELETE\" } }\n
In a logging configuration, this is used in the RedactedFields property to specify a field to \n redact from the logging records. For this use case, note the following:
Even though all FieldToMatch settings \n are available, the only valid settings for field redaction are UriPath, QueryString, SingleHeader, and Method.
In this documentation, the descriptions of the individual fields talk about specifying the web request component to inspect, \n but for field redaction, you are specifying the component type to redact from the logs.
\nIf you have request sampling enabled, the redacted fields configuration for logging has no impact on sampling. \n You can only exclude fields from request sampling by disabling sampling in the web ACL visibility configuration \n or by configuring data protection for the web ACL.
\nSpecifies the web request component type to protect.
", "smithy.api#required": {} } }, "FieldKeys": { "target": "com.amazonaws.wafv2#FieldToProtectKeys", "traits": { "smithy.api#documentation": "Specifies the keys to protect for the specified field type.
\nRequired for SINGLE_HEADER, SINGLE_COOKIE, and\n SINGLE_QUERY_ARGUMENT: provide a non-empty array naming the specific headers,\n cookies, or query arguments to protect. There is no option to protect all keys of these\n field types, so enumerate each key you intend to protect.
Must be omitted for QUERY_STRING and BODY: the entire\n component is protected and these field types take no keys. Supplying\n FieldKeys for them is rejected.
Specifies a field type and keys to protect in stored web request data. This is part of the data protection configuration for a web ACL.
" } }, "com.amazonaws.wafv2#FieldToProtectKeyName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 64 }, "smithy.api#pattern": "\\S" } }, "com.amazonaws.wafv2#FieldToProtectKeys": { "type": "list", "member": { "target": "com.amazonaws.wafv2#FieldToProtectKeyName" }, "traits": { "smithy.api#length": { "min": 0, "max": 100 } } }, "com.amazonaws.wafv2#FieldToProtectType": { "type": "enum", "members": { "SINGLE_HEADER": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SINGLE_HEADER" } }, "SINGLE_COOKIE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SINGLE_COOKIE" } }, "SINGLE_QUERY_ARGUMENT": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SINGLE_QUERY_ARGUMENT" } }, "QUERY_STRING": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "QUERY_STRING" } }, "BODY": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "BODY" } } } }, "com.amazonaws.wafv2#Filter": { "type": "structure", "members": { "Behavior": { "target": "com.amazonaws.wafv2#FilterBehavior", "traits": { "smithy.api#documentation": "How to handle logs that satisfy the filter's conditions and requirement.
", "smithy.api#required": {} } }, "Requirement": { "target": "com.amazonaws.wafv2#FilterRequirement", "traits": { "smithy.api#documentation": "Logic to apply to the filtering conditions. You can specify that, in order to satisfy\n the filter, a log must match all conditions or must match at least one condition.
", "smithy.api#required": {} } }, "Conditions": { "target": "com.amazonaws.wafv2#Conditions", "traits": { "smithy.api#documentation": "Match conditions for the filter.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "A single logging filter, used in LoggingFilter.
" } }, "com.amazonaws.wafv2#FilterBehavior": { "type": "enum", "members": { "KEEP": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "KEEP" } }, "DROP": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "DROP" } } } }, "com.amazonaws.wafv2#FilterRequirement": { "type": "enum", "members": { "MEETS_ALL": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "MEETS_ALL" } }, "MEETS_ANY": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "MEETS_ANY" } } } }, "com.amazonaws.wafv2#FilterSource": { "type": "structure", "members": { "BotCategory": { "target": "com.amazonaws.wafv2#FilterString", "traits": { "smithy.api#documentation": "The bot category that was used to filter the results. For example, ai or search_engine.
The bot organization that was used to filter the results. For example, OpenAI or Google.
The bot name that was used to filter the results. For example, gptbot or googlebot.
Information about the bot filter that was applied to the request. This structure is populated in the response when you filter by bot category, organization, or name.
" } }, "com.amazonaws.wafv2#FilterString": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 256 }, "smithy.api#pattern": "\\S" } }, "com.amazonaws.wafv2#Filters": { "type": "list", "member": { "target": "com.amazonaws.wafv2#Filter" }, "traits": { "smithy.api#length": { "min": 1 } } }, "com.amazonaws.wafv2#FirewallManagerRuleGroup": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.wafv2#EntityName", "traits": { "smithy.api#documentation": "The name of the rule group. You cannot change the name of a rule group after you create it.
", "smithy.api#required": {} } }, "Priority": { "target": "com.amazonaws.wafv2#RulePriority", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "If you define more than one rule group in the first or last Firewall Manager rule groups, WAF\n evaluates each request against the rule groups in order, starting from the lowest priority\n setting. The priorities don't need to be consecutive, but they must all be\n different.
", "smithy.api#required": {} } }, "FirewallManagerStatement": { "target": "com.amazonaws.wafv2#FirewallManagerStatement", "traits": { "smithy.api#documentation": "The processing guidance for an Firewall Manager rule. This is like a regular rule Statement, but it can only contain a rule group reference.
", "smithy.api#required": {} } }, "OverrideAction": { "target": "com.amazonaws.wafv2#OverrideAction", "traits": { "smithy.api#documentation": "The action to use in the place of the action that results from the rule group evaluation. Set the override action to none to leave the result of the rule group alone. Set it to count to override the result to count only.
\nYou can only use this for rule statements that reference a rule group, like RuleGroupReferenceStatement and ManagedRuleGroupStatement.
This option is usually set to none. It does not affect how the rules in the rule group are evaluated. If you want the rules in the rule group to only count \n matches, do not use this and instead use the rule action override option, with Count action, in your rule group reference statement settings.
Defines and enables Amazon CloudWatch metrics and web request sample collection.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "A rule group that's defined for an Firewall Manager WAF policy.
" } }, "com.amazonaws.wafv2#FirewallManagerRuleGroups": { "type": "list", "member": { "target": "com.amazonaws.wafv2#FirewallManagerRuleGroup" } }, "com.amazonaws.wafv2#FirewallManagerStatement": { "type": "structure", "members": { "ManagedRuleGroupStatement": { "target": "com.amazonaws.wafv2#ManagedRuleGroupStatement", "traits": { "smithy.api#documentation": "A statement used by Firewall Manager to run the rules that are defined in a managed rule group. This is managed by Firewall Manager for an Firewall Manager WAF policy.
" } }, "RuleGroupReferenceStatement": { "target": "com.amazonaws.wafv2#RuleGroupReferenceStatement", "traits": { "smithy.api#documentation": "A statement used by Firewall Manager to run the rules that are defined in a rule group. This is managed by Firewall Manager for an Firewall Manager WAF policy.
" } } }, "traits": { "smithy.api#documentation": "The processing guidance for an Firewall Manager rule. This is like a regular rule Statement, but it can only contain a single rule group reference.
" } }, "com.amazonaws.wafv2#ForwardedIPConfig": { "type": "structure", "members": { "HeaderName": { "target": "com.amazonaws.wafv2#ForwardedIPHeaderName", "traits": { "smithy.api#documentation": "The name of the HTTP header to use for the IP address. For example, to use the X-Forwarded-For (XFF) header, set this to X-Forwarded-For.
If the specified header isn't present in the request, WAF doesn't apply the rule to the web request at all.
\nThe match status to assign to the web request if the request doesn't have a valid IP address in the specified position.
\nIf the specified header isn't present in the request, WAF doesn't apply the rule to the web request at all.
\nYou can specify the following fallback behaviors:
\n\n MATCH - Treat the web request as matching the rule statement. WAF applies the rule action to the request.
\n NO_MATCH - Treat the web request as not matching the rule statement.
The configuration for inspecting IP addresses in an HTTP header that you specify, instead of using the IP address that's reported by the web request origin. Commonly, this is the X-Forwarded-For (XFF) header, but you can specify any header name.
\nIf the specified header isn't present in the request, WAF doesn't apply the rule to the web request at all.
\nThis configuration is used for GeoMatchStatement, AsnMatchStatement, and \n RateBasedStatement. For IPSetReferenceStatement, use IPSetForwardedIPConfig instead.
\nWAF only evaluates the first IP address found in the specified HTTP header.\n
" } }, "com.amazonaws.wafv2#ForwardedIPHeaderName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 255 }, "smithy.api#pattern": "^[a-zA-Z0-9-]+$" } }, "com.amazonaws.wafv2#ForwardedIPPosition": { "type": "enum", "members": { "FIRST": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "FIRST" } }, "LAST": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "LAST" } }, "ANY": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ANY" } } } }, "com.amazonaws.wafv2#GenerateMobileSdkReleaseUrl": { "type": "operation", "input": { "target": "com.amazonaws.wafv2#GenerateMobileSdkReleaseUrlRequest" }, "output": { "target": "com.amazonaws.wafv2#GenerateMobileSdkReleaseUrlResponse" }, "errors": [ { "target": "com.amazonaws.wafv2#WAFInternalErrorException" }, { "target": "com.amazonaws.wafv2#WAFInvalidOperationException" }, { "target": "com.amazonaws.wafv2#WAFInvalidParameterException" }, { "target": "com.amazonaws.wafv2#WAFNonexistentItemException" } ], "traits": { "smithy.api#documentation": "Generates a presigned download URL for the specified release of the mobile SDK.
\nThe mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage WAF tokens for use in HTTP(S) requests from a mobile device to WAF. For more information, see \nWAF client application integration in the WAF Developer Guide.
" } }, "com.amazonaws.wafv2#GenerateMobileSdkReleaseUrlRequest": { "type": "structure", "members": { "Platform": { "target": "com.amazonaws.wafv2#Platform", "traits": { "smithy.api#documentation": "The device platform.
", "smithy.api#required": {} } }, "ReleaseVersion": { "target": "com.amazonaws.wafv2#VersionKeyString", "traits": { "smithy.api#documentation": "The release version. For the latest available version, specify\n LATEST.
The presigned download URL for the specified SDK release.
" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.wafv2#GeoMatchStatement": { "type": "structure", "members": { "CountryCodes": { "target": "com.amazonaws.wafv2#CountryCodes", "traits": { "smithy.api#documentation": "An array of two-character country codes that you want to match against, for example, [ \"US\", \"CN\" ], from\n the alpha-2 country ISO codes of the ISO 3166 international standard.
When you use a geo match statement just for the region and country labels that it adds to requests, you still have to supply a country code for the rule to evaluate. In this case, you configure the rule to only count matching requests, but it will still generate logging and count metrics for any matches. You can reduce the logging and metrics that the rule produces by specifying a country that's unlikely to be a source of traffic to your site.
" } }, "ForwardedIPConfig": { "target": "com.amazonaws.wafv2#ForwardedIPConfig", "traits": { "smithy.api#documentation": "The configuration for inspecting IP addresses in an HTTP header that you specify, instead of using the IP address that's reported by the web request origin. Commonly, this is the X-Forwarded-For (XFF) header, but you can specify any header name.
\nIf the specified header isn't present in the request, WAF doesn't apply the rule to the web request at all.
\nA rule statement that labels web requests by country and region and that matches against web requests based on country code. A geo match rule labels every request that it inspects regardless of whether it finds a match.
\nTo manage requests only by country, you can use this statement by itself and specify the countries that you want to match against in the CountryCodes array.
Otherwise, configure your geo match rule with Count action so that it only labels requests. Then, add one or more label match rules to run after the geo match rule and configure them to match against the geographic labels and handle the requests as needed.
\nWAF labels requests using the alpha-2 country and region codes from the International Organization for Standardization (ISO) 3166 standard. WAF determines the codes using either the IP address in the web request origin or, if you specify it, the address in the geo match ForwardedIPConfig.
If you use the web request origin, the label formats are awswaf:clientip:geo:region: and awswaf:clientip:geo:country:.
If you use a forwarded IP address, the label formats are awswaf:forwardedip:geo:region: and awswaf:forwardedip:geo:country:.
For additional details, see Geographic match rule statement in the WAF Developer Guide.
" } }, "com.amazonaws.wafv2#GetDecryptedAPIKey": { "type": "operation", "input": { "target": "com.amazonaws.wafv2#GetDecryptedAPIKeyRequest" }, "output": { "target": "com.amazonaws.wafv2#GetDecryptedAPIKeyResponse" }, "errors": [ { "target": "com.amazonaws.wafv2#WAFInternalErrorException" }, { "target": "com.amazonaws.wafv2#WAFInvalidOperationException" }, { "target": "com.amazonaws.wafv2#WAFInvalidParameterException" }, { "target": "com.amazonaws.wafv2#WAFInvalidResourceException" }, { "target": "com.amazonaws.wafv2#WAFNonexistentItemException" } ], "traits": { "smithy.api#documentation": "Returns your API key in decrypted form. Use this to check the token domains that you have defined for the key.
\nAPI keys are required for the integration of the CAPTCHA API in your JavaScript client applications. \n The API lets you customize the placement and characteristics of the CAPTCHA puzzle for your end users. \n For more information about the CAPTCHA JavaScript integration, see WAF client application integration in the WAF Developer Guide.
" } }, "com.amazonaws.wafv2#GetDecryptedAPIKeyRequest": { "type": "structure", "members": { "Scope": { "target": "com.amazonaws.wafv2#Scope", "traits": { "smithy.api#documentation": "Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For an Amplify application, use CLOUDFRONT.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
\nCLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1.
API and SDKs - For all calls, use the Region endpoint us-east-1.
\nThe encrypted API key.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.wafv2#GetDecryptedAPIKeyResponse": { "type": "structure", "members": { "TokenDomains": { "target": "com.amazonaws.wafv2#TokenDomains", "traits": { "smithy.api#documentation": "The token domains that are defined in this API key.
" } }, "CreationTimestamp": { "target": "com.amazonaws.wafv2#Timestamp", "traits": { "smithy.api#documentation": "The date and time that the key was created.
" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.wafv2#GetIPSet": { "type": "operation", "input": { "target": "com.amazonaws.wafv2#GetIPSetRequest" }, "output": { "target": "com.amazonaws.wafv2#GetIPSetResponse" }, "errors": [ { "target": "com.amazonaws.wafv2#WAFInternalErrorException" }, { "target": "com.amazonaws.wafv2#WAFInvalidOperationException" }, { "target": "com.amazonaws.wafv2#WAFInvalidParameterException" }, { "target": "com.amazonaws.wafv2#WAFNonexistentItemException" } ], "traits": { "smithy.api#documentation": "Retrieves the specified IPSet.
" } }, "com.amazonaws.wafv2#GetIPSetRequest": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.wafv2#EntityName", "traits": { "smithy.api#documentation": "The name of the IP set. You cannot change the name of an IPSet after you create it.
Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For an Amplify application, use CLOUDFRONT.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
\nCLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1.
API and SDKs - For all calls, use the Region endpoint us-east-1.
\nA unique identifier for the set. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.wafv2#GetIPSetResponse": { "type": "structure", "members": { "IPSet": { "target": "com.amazonaws.wafv2#IPSet", "traits": { "smithy.api#documentation": "" } }, "LockToken": { "target": "com.amazonaws.wafv2#LockToken", "traits": { "smithy.api#documentation": "A token used for optimistic locking. WAF returns a token to your get and list requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like update and delete. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException. If this happens, perform another get, and use the new token returned by that operation.
Returns the LoggingConfiguration for the specified web ACL.
" } }, "com.amazonaws.wafv2#GetLoggingConfigurationRequest": { "type": "structure", "members": { "ResourceArn": { "target": "com.amazonaws.wafv2#ResourceArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the web ACL for which you want to get the LoggingConfiguration.
", "smithy.api#required": {} } }, "LogType": { "target": "com.amazonaws.wafv2#LogType", "traits": { "smithy.api#documentation": "Used to distinguish between various logging options. Currently, there is one option.
\nDefault: WAF_LOGS\n
The owner of the logging configuration, which must be set to CUSTOMER for the configurations that you manage.
The log scope SECURITY_LAKE indicates a configuration that is managed through Amazon Security Lake. You can use Security Lake to collect log and event data from various sources for normalization, analysis, and management. For information, see \n Collecting data from Amazon Web Services services\n in the Amazon Security Lake user guide.
The log scope CLOUDWATCH_TELEMETRY_RULE_MANAGED indicates a configuration that is managed through Amazon CloudWatch Logs for telemetry data collection and analysis. For information, see \n What is Amazon CloudWatch Logs ?\n in the Amazon CloudWatch Logs user guide.
Default: CUSTOMER\n
The LoggingConfiguration for the specified web ACL.
" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.wafv2#GetManagedRuleSet": { "type": "operation", "input": { "target": "com.amazonaws.wafv2#GetManagedRuleSetRequest" }, "output": { "target": "com.amazonaws.wafv2#GetManagedRuleSetResponse" }, "errors": [ { "target": "com.amazonaws.wafv2#WAFInternalErrorException" }, { "target": "com.amazonaws.wafv2#WAFInvalidOperationException" }, { "target": "com.amazonaws.wafv2#WAFInvalidParameterException" }, { "target": "com.amazonaws.wafv2#WAFNonexistentItemException" } ], "traits": { "smithy.api#documentation": "Retrieves the specified managed rule set.
\nThis is intended for use only by vendors of managed rule sets. Vendors are Amazon Web Services and Amazon Web Services Marketplace sellers.
\nVendors, you can use the managed rule set APIs to provide controlled rollout of your versioned managed rule group offerings for your customers. The APIs are ListManagedRuleSets, GetManagedRuleSet, PutManagedRuleSetVersions, and UpdateManagedRuleSetVersionExpiryDate.
The name of the managed rule set. You use this, along with the rule set ID, to identify the rule set.
\nThis name is assigned to the corresponding managed rule group, which your customers can access and use.
", "smithy.api#required": {} } }, "Scope": { "target": "com.amazonaws.wafv2#Scope", "traits": { "smithy.api#documentation": "Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For an Amplify application, use CLOUDFRONT.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
\nCLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1.
API and SDKs - For all calls, use the Region endpoint us-east-1.
\nA unique identifier for the managed rule set. The ID is returned in the responses to commands like list. You provide it to operations like get and update.
The managed rule set that you requested.
" } }, "LockToken": { "target": "com.amazonaws.wafv2#LockToken", "traits": { "smithy.api#documentation": "A token used for optimistic locking. WAF returns a token to your get and list requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like update and delete. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException. If this happens, perform another get, and use the new token returned by that operation.
Retrieves information for the specified mobile SDK release, including release notes and\n tags.
\nThe mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage WAF tokens for use in HTTP(S) requests from a mobile device to WAF. For more information, see \nWAF client application integration in the WAF Developer Guide.
" } }, "com.amazonaws.wafv2#GetMobileSdkReleaseRequest": { "type": "structure", "members": { "Platform": { "target": "com.amazonaws.wafv2#Platform", "traits": { "smithy.api#documentation": "The device platform.
", "smithy.api#required": {} } }, "ReleaseVersion": { "target": "com.amazonaws.wafv2#VersionKeyString", "traits": { "smithy.api#documentation": "The release version. For the latest available version, specify\n LATEST.
Information for a specified SDK release, including release notes and tags.
" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.wafv2#GetPermissionPolicy": { "type": "operation", "input": { "target": "com.amazonaws.wafv2#GetPermissionPolicyRequest" }, "output": { "target": "com.amazonaws.wafv2#GetPermissionPolicyResponse" }, "errors": [ { "target": "com.amazonaws.wafv2#WAFInternalErrorException" }, { "target": "com.amazonaws.wafv2#WAFInvalidParameterException" }, { "target": "com.amazonaws.wafv2#WAFNonexistentItemException" } ], "traits": { "smithy.api#documentation": "Returns the IAM policy that is attached to the specified rule group.
\nYou must be the owner of the rule group to perform this operation.
" } }, "com.amazonaws.wafv2#GetPermissionPolicyRequest": { "type": "structure", "members": { "ResourceArn": { "target": "com.amazonaws.wafv2#ResourceArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the rule group for which you want to get the\n policy.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.wafv2#GetPermissionPolicyResponse": { "type": "structure", "members": { "Policy": { "target": "com.amazonaws.wafv2#PolicyString", "traits": { "smithy.api#documentation": "The IAM policy that is attached to the specified rule group.
" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.wafv2#GetRateBasedStatementManagedKeys": { "type": "operation", "input": { "target": "com.amazonaws.wafv2#GetRateBasedStatementManagedKeysRequest" }, "output": { "target": "com.amazonaws.wafv2#GetRateBasedStatementManagedKeysResponse" }, "errors": [ { "target": "com.amazonaws.wafv2#WAFInternalErrorException" }, { "target": "com.amazonaws.wafv2#WAFInvalidOperationException" }, { "target": "com.amazonaws.wafv2#WAFInvalidParameterException" }, { "target": "com.amazonaws.wafv2#WAFNonexistentItemException" }, { "target": "com.amazonaws.wafv2#WAFUnsupportedAggregateKeyTypeException" } ], "traits": { "smithy.api#documentation": "Retrieves the IP addresses that are currently blocked by a rate-based rule instance. This\n is only available for rate-based rules that aggregate solely on the IP address or on the forwarded IP \n address.
\nThe maximum\n number of addresses that can be blocked for a single rate-based rule instance is 10,000.\n If more than 10,000 addresses exceed the rate limit, those with the highest rates are\n blocked.
\nFor a rate-based rule that you've defined inside a rule group, provide the name of the\n rule group reference statement in your request, in addition to the rate-based rule name and\n the web ACL name.
\nWAF monitors web requests and manages keys independently for each unique combination\n of web ACL, optional rule group, and rate-based rule. For example, if you define a\n rate-based rule inside a rule group, and then use the rule group in a web ACL, WAF\n monitors web requests and manages keys for that web ACL, rule group reference statement,\n and rate-based rule instance. If you use the same rule group in a second web ACL, WAF\n monitors web requests and manages keys for this second usage completely independent of your\n first.
" } }, "com.amazonaws.wafv2#GetRateBasedStatementManagedKeysRequest": { "type": "structure", "members": { "Scope": { "target": "com.amazonaws.wafv2#Scope", "traits": { "smithy.api#documentation": "Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For an Amplify application, use CLOUDFRONT.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
\nCLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1.
API and SDKs - For all calls, use the Region endpoint us-east-1.
\nThe name of the web ACL. You cannot change the name of a web ACL after you create it.
", "smithy.api#required": {} } }, "WebACLId": { "target": "com.amazonaws.wafv2#EntityId", "traits": { "smithy.api#documentation": "The unique identifier for the web ACL. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.
", "smithy.api#required": {} } }, "RuleGroupRuleName": { "target": "com.amazonaws.wafv2#EntityName", "traits": { "smithy.api#documentation": "The name of the rule group reference statement in your web ACL. This is required only\n when you have the rate-based rule nested inside a rule group.
" } }, "RuleName": { "target": "com.amazonaws.wafv2#EntityName", "traits": { "smithy.api#documentation": "The name of the rate-based rule to get the keys for. If you have the rule defined inside\n a rule group that you're using in your web ACL, also provide the name of the rule group\n reference statement in the request parameter RuleGroupRuleName.
The keys that are of Internet Protocol version 4 (IPv4).
" } }, "ManagedKeysIPV6": { "target": "com.amazonaws.wafv2#RateBasedStatementManagedKeysIPSet", "traits": { "smithy.api#documentation": "The keys that are of Internet Protocol version 6 (IPv6).
" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.wafv2#GetRegexPatternSet": { "type": "operation", "input": { "target": "com.amazonaws.wafv2#GetRegexPatternSetRequest" }, "output": { "target": "com.amazonaws.wafv2#GetRegexPatternSetResponse" }, "errors": [ { "target": "com.amazonaws.wafv2#WAFInternalErrorException" }, { "target": "com.amazonaws.wafv2#WAFInvalidOperationException" }, { "target": "com.amazonaws.wafv2#WAFInvalidParameterException" }, { "target": "com.amazonaws.wafv2#WAFNonexistentItemException" } ], "traits": { "smithy.api#documentation": "Retrieves the specified RegexPatternSet.
" } }, "com.amazonaws.wafv2#GetRegexPatternSetRequest": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.wafv2#EntityName", "traits": { "smithy.api#documentation": "The name of the set. You cannot change the name after you create the set.
", "smithy.api#required": {} } }, "Scope": { "target": "com.amazonaws.wafv2#Scope", "traits": { "smithy.api#documentation": "Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For an Amplify application, use CLOUDFRONT.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
\nCLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1.
API and SDKs - For all calls, use the Region endpoint us-east-1.
\nA unique identifier for the set. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.wafv2#GetRegexPatternSetResponse": { "type": "structure", "members": { "RegexPatternSet": { "target": "com.amazonaws.wafv2#RegexPatternSet", "traits": { "smithy.api#documentation": "" } }, "LockToken": { "target": "com.amazonaws.wafv2#LockToken", "traits": { "smithy.api#documentation": "A token used for optimistic locking. WAF returns a token to your get and list requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like update and delete. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException. If this happens, perform another get, and use the new token returned by that operation.
Retrieves ranked monetization statistics. Use the StatisticType parameter to specify the ranking: TOP_SOURCES_BY_REVENUE for top sources by revenue, or TOP_PATHS_BY_REVENUE for top content paths by revenue. This operation is only available for CLOUDFRONT scope. The maximum supported time window is 90 days. When no CurrencyMode filter is provided, results default to REAL. To retrieve test data, include a CurrencyMode filter with the value TEST.
\n TOP_SOURCES_BY_REVENUE ranks revenue from AI bot traffic, grouped by the dimension you specify in the GroupBy parameter (NAME, CATEGORY, INTENT, ORGANIZATION, or WEBACL); GroupBy is required for this statistic type. TOP_PATHS_BY_REVENUE ranks revenue by path.
The time range for the query. Specify start and end timestamps.
", "smithy.api#required": {} } }, "Scope": { "target": "com.amazonaws.wafv2#Scope", "traits": { "smithy.api#documentation": "Specifies whether this is for a Amazon CloudFront distribution (CLOUDFRONT) or for a regional application (REGIONAL).
The currency for the revenue amounts in the response.
", "smithy.api#required": {} } }, "GroupBy": { "target": "com.amazonaws.wafv2#GroupByType", "traits": { "smithy.api#documentation": "The dimension to group results by: NAME, CATEGORY, INTENT, ORGANIZATION, or WEBACL. Required when StatisticType is TOP_SOURCES_BY_REVENUE. Not required for TOP_PATHS_BY_REVENUE, where results are grouped by content path. If StatisticType is TOP_SOURCES_BY_REVENUE and GroupBy is omitted, the request is rejected with a WAFInvalidParameterException.
Optional filters to narrow the results.
" } }, "NextMarker": { "target": "com.amazonaws.wafv2#NextMarker", "traits": { "smithy.api#documentation": "When you get a paginated response, this marker indicates that additional results are available. Use it in a subsequent request to retrieve the next page of results.
" } }, "Limit": { "target": "com.amazonaws.wafv2#PathStatisticsLimit", "traits": { "smithy.api#documentation": "The maximum number of results to return.
" } }, "SortBy": { "target": "com.amazonaws.wafv2#RankingSortBy", "traits": { "smithy.api#documentation": "The field to sort results by: REVENUE, PERCENTAGE, or NAME.
The sort order: ASC for ascending or DESC for descending.
Statistics for top revenue sources (AI bots). Populated when StatisticType is TOP_SOURCES_BY_REVENUE.
Statistics for top revenue paths. Populated when StatisticType is TOP_PATHS_BY_REVENUE.
When you get a paginated response, this marker indicates that additional results are available.
" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.wafv2#GetRevenueStatisticsSummary": { "type": "operation", "input": { "target": "com.amazonaws.wafv2#GetRevenueStatisticsSummaryRequest" }, "output": { "target": "com.amazonaws.wafv2#GetRevenueStatisticsSummaryResponse" }, "errors": [ { "target": "com.amazonaws.wafv2#WAFInternalErrorException" }, { "target": "com.amazonaws.wafv2#WAFInvalidOperationException" }, { "target": "com.amazonaws.wafv2#WAFInvalidParameterException" }, { "target": "com.amazonaws.wafv2#WAFNonexistentItemException" } ], "traits": { "smithy.api#documentation": "Retrieves a summary of monetization revenue for the specified time window. Returns total revenue, revenue by verification tier, total settlements, and total HTTP 402 responses served. This operation is only available for CLOUDFRONT scope. The maximum supported time window is 90 days. When no CurrencyMode filter is provided, results default to REAL. To retrieve test data, include a CurrencyMode filter with the value TEST.
The time range for the revenue summary query. Specify start and end timestamps.
", "smithy.api#required": {} } }, "Scope": { "target": "com.amazonaws.wafv2#Scope", "traits": { "smithy.api#documentation": "Specifies whether this is for a Amazon CloudFront distribution (CLOUDFRONT) or for a regional application (REGIONAL). AI bot monetization is only available for CLOUDFRONT scope.
The currency for the revenue amounts in the response. Currently only USDC is supported.
Optional filters to narrow the results. You can filter by source name, category, organization, intent, verified status, content path, web ACL ARN, or currency mode.
" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.wafv2#GetRevenueStatisticsSummaryResponse": { "type": "structure", "members": { "RevenueBreakdown": { "target": "com.amazonaws.wafv2#RevenueBreakdown", "traits": { "smithy.api#documentation": "The revenue breakdown summary for the specified time window and filters.
" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.wafv2#GetRevenueStatisticsTimeSeries": { "type": "operation", "input": { "target": "com.amazonaws.wafv2#GetRevenueStatisticsTimeSeriesRequest" }, "output": { "target": "com.amazonaws.wafv2#GetRevenueStatisticsTimeSeriesResponse" }, "errors": [ { "target": "com.amazonaws.wafv2#WAFInternalErrorException" }, { "target": "com.amazonaws.wafv2#WAFInvalidOperationException" }, { "target": "com.amazonaws.wafv2#WAFInvalidParameterException" }, { "target": "com.amazonaws.wafv2#WAFNonexistentItemException" } ], "traits": { "smithy.api#documentation": "Retrieves time series data for monetization revenue. Returns data points aggregated at the specified interval for the given time window. This operation is only available for CLOUDFRONT scope. The maximum supported time window is 90 days. When no CurrencyMode filter is provided, results default to REAL. To retrieve test data, include a CurrencyMode filter with the value TEST.
The type of time series data to retrieve: DATE_HISTOGRAM for revenue over time, or PAYMENT_TRAFFIC for payment traffic patterns.
The time range for the query. Specify start and end timestamps.
", "smithy.api#required": {} } }, "Scope": { "target": "com.amazonaws.wafv2#Scope", "traits": { "smithy.api#documentation": "Specifies whether this is for a Amazon CloudFront distribution (CLOUDFRONT) or for a regional application (REGIONAL).
The time interval for aggregating data points: MINUTELY, FIVE_MINUTELY, HOURLY, or DAILY.
The currency for the amounts in the response.
", "smithy.api#required": {} } }, "GroupBy": { "target": "com.amazonaws.wafv2#GroupByType", "traits": { "smithy.api#documentation": "The dimension to group results by.
" } }, "Filters": { "target": "com.amazonaws.wafv2#MonetizationFilterList", "traits": { "smithy.api#documentation": "Optional filters to narrow the results.
" } }, "Limit": { "target": "com.amazonaws.wafv2#MaxDataPoints", "traits": { "smithy.api#documentation": "The maximum number of data points to return. Minimum: 1. Maximum: 10000.
" } }, "NextMarker": { "target": "com.amazonaws.wafv2#NextMarker", "traits": { "smithy.api#documentation": "When you get a paginated response, this marker indicates that additional results are available.
" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.wafv2#GetRevenueStatisticsTimeSeriesResponse": { "type": "structure", "members": { "DataPoints": { "target": "com.amazonaws.wafv2#DataPointsList", "traits": { "smithy.api#documentation": "The list of time series data points.
" } }, "NextMarker": { "target": "com.amazonaws.wafv2#NextMarker", "traits": { "smithy.api#documentation": "When you get a paginated response, this marker indicates that additional results are available.
" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.wafv2#GetRuleGroup": { "type": "operation", "input": { "target": "com.amazonaws.wafv2#GetRuleGroupRequest" }, "output": { "target": "com.amazonaws.wafv2#GetRuleGroupResponse" }, "errors": [ { "target": "com.amazonaws.wafv2#WAFInternalErrorException" }, { "target": "com.amazonaws.wafv2#WAFInvalidOperationException" }, { "target": "com.amazonaws.wafv2#WAFInvalidParameterException" }, { "target": "com.amazonaws.wafv2#WAFNonexistentItemException" } ], "traits": { "smithy.api#documentation": "Retrieves the specified RuleGroup.
" } }, "com.amazonaws.wafv2#GetRuleGroupRequest": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.wafv2#EntityName", "traits": { "smithy.api#documentation": "The name of the rule group. You cannot change the name of a rule group after you create it.
" } }, "Scope": { "target": "com.amazonaws.wafv2#Scope", "traits": { "smithy.api#documentation": "Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For an Amplify application, use CLOUDFRONT.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
\nCLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1.
API and SDKs - For all calls, use the Region endpoint us-east-1.
\nA unique identifier for the rule group. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.
" } }, "ARN": { "target": "com.amazonaws.wafv2#ResourceArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the entity.
" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.wafv2#GetRuleGroupResponse": { "type": "structure", "members": { "RuleGroup": { "target": "com.amazonaws.wafv2#RuleGroup", "traits": { "smithy.api#documentation": "" } }, "LockToken": { "target": "com.amazonaws.wafv2#LockToken", "traits": { "smithy.api#documentation": "A token used for optimistic locking. WAF returns a token to your get and list requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like update and delete. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException. If this happens, perform another get, and use the new token returned by that operation.
Gets detailed information about a specified number of requests--a sample--that WAF\n randomly selects from among the first 5,000 requests that your Amazon Web Services resource received\n during a time range that you choose. You can specify a sample size of up to 500 requests,\n and you can specify any time range in the previous three hours.
\n\n GetSampledRequests returns a time range, which is usually the time range that\n you specified. However, if your resource (such as a CloudFront distribution) received 5,000\n requests before the specified time range elapsed, GetSampledRequests returns\n an updated time range. This new time range indicates the actual period during which WAF\n selected the requests in the sample.
The Amazon resource name (ARN) of the WebACL for which you want a sample of\n requests.
The metric name assigned to the Rule or RuleGroup dimension for which\n you want a sample of requests.
Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For an Amplify application, use CLOUDFRONT.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
\nCLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1.
API and SDKs - For all calls, use the Region endpoint us-east-1.
\nThe start date and time and the end date and time of the range for which you want\n GetSampledRequests to return a sample of requests. You must specify the\n times in Coordinated Universal Time (UTC) format. UTC format includes the special\n designator, Z. For example, \"2016-09-27T14:50Z\". You can specify\n any time range in the previous three hours. If you specify a start time that's earlier than\n three hours ago, WAF sets it to three hours ago.
The number of requests that you want WAF to return from among the first 5,000\n requests that your Amazon Web Services resource received during the time range. If your resource received\n fewer requests than the value of MaxItems, GetSampledRequests\n returns information about all of them.
A complex type that contains detailed information about each of the requests in the\n sample.
" } }, "PopulationSize": { "target": "com.amazonaws.wafv2#PopulationSize", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "The total number of requests from which GetSampledRequests got a sample of\n MaxItems requests. If PopulationSize is less than\n MaxItems, the sample includes every request that your Amazon Web Services resource\n received during the specified time range.
Usually, TimeWindow is the time range that you specified in the\n GetSampledRequests request. However, if your Amazon Web Services resource received more\n than 5,000 requests during the time range that you specified in the request,\n GetSampledRequests returns the time range for the first 5,000 requests.\n Times are in Coordinated Universal Time (UTC) format.
Retrieves aggregated statistics about the top URI paths accessed by bot traffic for a specified web ACL and time window. \n You can use this operation to analyze which paths on your web application receive the most bot traffic and identify the specific bots accessing those paths. \n The operation supports filtering by bot category, organization, or name, and allows you to drill down into specific path prefixes to view detailed URI-level statistics.
" } }, "com.amazonaws.wafv2#GetTopPathStatisticsByTrafficRequest": { "type": "structure", "members": { "WebAclArn": { "target": "com.amazonaws.wafv2#ResourceArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the web ACL for which you want to retrieve path statistics.
", "smithy.api#required": {} } }, "Scope": { "target": "com.amazonaws.wafv2#Scope", "traits": { "smithy.api#documentation": "Specifies whether the web ACL is for an Amazon Web Services CloudFront distribution or for a regional application. \n A regional application can be an Application Load Balancer, an AppSync GraphQL API, an Amazon Cognito user pool, \n an Amazon Web Services App Runner service, or an Amazon Web Services Verified Access instance.
", "smithy.api#required": {} } }, "UriPathPrefix": { "target": "com.amazonaws.wafv2#UriPathPrefixString", "traits": { "smithy.api#documentation": "A URI path prefix to filter the results. When you specify this parameter, the operation returns statistics for individual URIs within the specified path prefix. \n For example, if you specify /api, the response includes statistics for paths like /api/v1/users and /api/v2/orders. \n If you don't specify this parameter, the operation returns top-level path statistics.
The time window for which you want to retrieve path statistics. The time window must be within the data retention period for your web ACL.
", "smithy.api#required": {} } }, "BotCategory": { "target": "com.amazonaws.wafv2#FilterString", "traits": { "smithy.api#documentation": "Filters the results to include only traffic from bots in the specified category. For example, you can filter by ai \n to see only AI crawler traffic, or search_engine to see only search engine bot traffic. \n When you apply this filter, the Source field is populated in the response.
Filters the results to include only traffic from bots belonging to the specified organization. For example, you can filter by openai or google. \n When you apply this filter, the Source field is populated in the response.
Filters the results to include only traffic from the specified bot. For example, you can filter by gptbot or googlebot. \n When you apply this filter, the Source field is populated in the response.
The maximum number of path statistics to return. Valid values are 1 to 100.
", "smithy.api#required": {} } }, "NumberOfTopTrafficBotsPerPath": { "target": "com.amazonaws.wafv2#NumberOfTopTrafficBotsPerPath", "traits": { "smithy.api#documentation": "The maximum number of top bots to include in the statistics for each path. Valid values are 1 to 10.
", "smithy.api#required": {} } }, "NextMarker": { "target": "com.amazonaws.wafv2#NextMarker", "traits": { "smithy.api#documentation": "When you request a list of objects with a Limit setting, if the number of objects that are still available for retrieval exceeds the limit, WAF\n returns a NextMarker value in the response. To retrieve the next batch of objects, \n provide the marker from the prior call in your next request.
The list of path statistics, ordered by request count. Each entry includes the path, request count, \n percentage of total traffic, and the top bots accessing that path.
", "smithy.api#required": {} } }, "TotalRequestCount": { "target": "com.amazonaws.wafv2#RequestCount", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "The total number of requests that match the query criteria within the specified time window.
", "smithy.api#required": {} } }, "NextMarker": { "target": "com.amazonaws.wafv2#NextMarker", "traits": { "smithy.api#documentation": "When you request a list of objects with a Limit setting, if the number of objects that \n are still available for retrieval exceeds the limit, WAF returns a NextMarker value in the response. \n To retrieve the next batch of objects, provide the marker from the prior call in your next request.
Category-level aggregations for visualizing bot category to path relationships. This field is only populated when no bot filters are applied to the request. \n Each entry includes the bot category and the paths accessed by bots in that category.
" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.wafv2#GetWebACL": { "type": "operation", "input": { "target": "com.amazonaws.wafv2#GetWebACLRequest" }, "output": { "target": "com.amazonaws.wafv2#GetWebACLResponse" }, "errors": [ { "target": "com.amazonaws.wafv2#WAFInternalErrorException" }, { "target": "com.amazonaws.wafv2#WAFInvalidOperationException" }, { "target": "com.amazonaws.wafv2#WAFInvalidParameterException" }, { "target": "com.amazonaws.wafv2#WAFNonexistentItemException" } ], "traits": { "smithy.api#documentation": "Retrieves the specified WebACL.
" } }, "com.amazonaws.wafv2#GetWebACLForResource": { "type": "operation", "input": { "target": "com.amazonaws.wafv2#GetWebACLForResourceRequest" }, "output": { "target": "com.amazonaws.wafv2#GetWebACLForResourceResponse" }, "errors": [ { "target": "com.amazonaws.wafv2#WAFInternalErrorException" }, { "target": "com.amazonaws.wafv2#WAFInvalidOperationException" }, { "target": "com.amazonaws.wafv2#WAFInvalidParameterException" }, { "target": "com.amazonaws.wafv2#WAFNonexistentItemException" }, { "target": "com.amazonaws.wafv2#WAFUnavailableEntityException" } ], "traits": { "smithy.api#documentation": "Retrieves the WebACL for the specified resource.
\nThis call uses GetWebACL, to verify that your account has permission to access the retrieved web ACL. \n If you get an error that indicates that your account isn't authorized to perform wafv2:GetWebACL on the resource, \n that error won't be included in your CloudTrail event history.
For Amazon CloudFront, don't use this call. Instead, call the CloudFront action\n GetDistributionConfig. For information, see GetDistributionConfig in the Amazon CloudFront API Reference.
\n Required permissions for customer-managed IAM policies\n
\nThis call requires permissions that are specific to the protected resource type. \n For details, see Permissions for GetWebACLForResource in the WAF Developer Guide.
" } }, "com.amazonaws.wafv2#GetWebACLForResourceRequest": { "type": "structure", "members": { "ResourceArn": { "target": "com.amazonaws.wafv2#ResourceArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the resource whose web ACL you want to retrieve.
\nThe ARN must be in one of the following formats:
\nFor an Application Load Balancer: arn:partition:elasticloadbalancing:region:account-id:loadbalancer/app/load-balancer-name/load-balancer-id\n \n
For an Amazon API Gateway REST API: arn:partition:apigateway:region::/restapis/api-id/stages/stage-name\n \n
For an AppSync GraphQL API: arn:partition:appsync:region:account-id:apis/GraphQLApiId\n \n
For an Amazon Cognito user pool: arn:partition:cognito-idp:region:account-id:userpool/user-pool-id\n \n
For an App Runner service: arn:partition:apprunner:region:account-id:service/apprunner-service-name/apprunner-service-id\n \n
For an Amazon Web Services Verified Access instance: arn:partition:ec2:region:account-id:verified-access-instance/instance-id\n \n
For an Amplify application: arn:partition:amplify:region:account-id:apps/app-id\n \n
For an Amazon Bedrock AgentCore Gateway: arn:partition:bedrock-agentcore:region:account-id:gateway/gateway-id\n \n
The web ACL that is associated with the resource. If there is no associated resource,\n WAF returns a null web ACL.
" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.wafv2#GetWebACLRequest": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.wafv2#EntityName", "traits": { "smithy.api#documentation": "The name of the web ACL. You cannot change the name of a web ACL after you create it.
" } }, "Scope": { "target": "com.amazonaws.wafv2#Scope", "traits": { "smithy.api#documentation": "Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For an Amplify application, use CLOUDFRONT.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
\nCLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1.
API and SDKs - For all calls, use the Region endpoint us-east-1.
\nThe unique identifier for the web ACL. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.
" } }, "ARN": { "target": "com.amazonaws.wafv2#ResourceArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the web ACL that you want to retrieve.
" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.wafv2#GetWebACLResponse": { "type": "structure", "members": { "WebACL": { "target": "com.amazonaws.wafv2#WebACL", "traits": { "smithy.api#documentation": "The web ACL specification. You can modify the settings in this web ACL and use it to\n update this web ACL or create a new one.
" } }, "LockToken": { "target": "com.amazonaws.wafv2#LockToken", "traits": { "smithy.api#documentation": "A token used for optimistic locking. WAF returns a token to your get and list requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like update and delete. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException. If this happens, perform another get, and use the new token returned by that operation.
The URL to use in SDK integrations with Amazon Web Services managed rule groups. For example, you can use the integration SDKs with the account takeover prevention managed rule group AWSManagedRulesATPRuleSet and the account creation fraud prevention managed rule group AWSManagedRulesACFPRuleSet. This is only populated if you are using a rule group in your web ACL that integrates with your applications in this way. For more information, see WAF client application integration \nin the WAF Developer Guide.
The name of the HTTP header.
" } }, "Value": { "target": "com.amazonaws.wafv2#HeaderValue", "traits": { "smithy.api#documentation": "The value of the HTTP header.
" } } }, "traits": { "smithy.api#documentation": "Part of the response from GetSampledRequests. This is a complex type\n that appears as Headers in the response syntax. HTTPHeader\n contains the names and values of all of the headers that appear in one of the web requests.\n
The IP address that the request originated from. If the web ACL is associated with a\n CloudFront distribution, this is the value of one of the following fields in CloudFront access\n logs:
\n\n c-ip, if the viewer did not use an HTTP proxy or a load balancer to send\n the request
\n x-forwarded-for, if the viewer did use an HTTP proxy or a load balancer\n to send the request
The two-letter country code for the country that the request originated from. For a\n current list of country codes, see the Wikipedia entry ISO 3166-1\n alpha-2.
" } }, "URI": { "target": "com.amazonaws.wafv2#URIString", "traits": { "smithy.api#documentation": "The URI path of the request, which identifies the resource, for example,\n /images/daily-ad.jpg.
The HTTP method specified in the sampled web request.
" } }, "HTTPVersion": { "target": "com.amazonaws.wafv2#HTTPVersion", "traits": { "smithy.api#documentation": "The HTTP version specified in the sampled web request, for example,\n HTTP/1.1.
A complex type that contains the name and value for each header in the sampled web\n request.
" } } }, "traits": { "smithy.api#documentation": "Part of the response from GetSampledRequests. This is a complex type\n that appears as Request in the response syntax. HTTPRequest\n contains information about one of the web requests.
Inspect all headers.
" } }, "IncludedHeaders": { "target": "com.amazonaws.wafv2#HeaderNames", "traits": { "smithy.api#documentation": "Inspect only the headers that have a key that matches one of the strings specified here.\n
" } }, "ExcludedHeaders": { "target": "com.amazonaws.wafv2#HeaderNames", "traits": { "smithy.api#documentation": "Inspect only the headers whose keys don't match any of the strings specified here.\n
" } } }, "traits": { "smithy.api#documentation": "The filter to use to identify the subset of headers to inspect in a web request.
\nYou must specify exactly one setting: either All, IncludedHeaders, or ExcludedHeaders.
Example JSON: \"MatchPattern\": { \"ExcludedHeaders\": [ \"KeyToExclude1\", \"KeyToExclude2\" ] }\n
What WAF should do if the headers determined by your match scope are more numerous or larger than WAF can inspect. \n WAF does not support inspecting the entire contents of request headers \n when they exceed 8 KB (8192 bytes) or 200 total headers. The underlying host service forwards a maximum of 200 headers\n and at most 8 KB of header contents to WAF.
\nThe options for oversize handling are the following:
\n\n CONTINUE - Inspect the available headers normally, according to the rule inspection criteria.
\n MATCH - Treat the web request as matching the rule statement. WAF\n applies the rule action to the request.
\n NO_MATCH - Treat the web request as not matching the rule\n statement.
Inspect a string containing the list of the request's header names, ordered as they appear in the web request\nthat WAF receives for inspection. \n WAF generates the string and then uses that as the field to match component in its inspection. \n WAF separates the header names in the string using colons and no added spaces, for example host:user-agent:accept:authorization:referer.
The filter to use to identify the subset of headers to inspect in a web request.
\nYou must specify exactly one setting: either All, IncludedHeaders, or ExcludedHeaders.
Example JSON: \"MatchPattern\": { \"ExcludedHeaders\": [ \"KeyToExclude1\", \"KeyToExclude2\" ] }\n
The parts of the headers to match with the rule inspection criteria. If you specify\n ALL, WAF inspects both keys and values.
\n All does not require a match to be found in the keys\n and a match to be found in the values. It requires a match to be found in the keys \n or the values or both. To require a match in the keys and in the values, use a logical AND statement\n to combine two match rules, one that inspects the keys and another that inspects the values.
What WAF should do if the headers determined by your match scope are more numerous or larger than WAF can inspect. \n WAF does not support inspecting the entire contents of request headers \n when they exceed 8 KB (8192 bytes) or 200 total headers. The underlying host service forwards a maximum of 200 headers\n and at most 8 KB of header contents to WAF.
\nThe options for oversize handling are the following:
\n\n CONTINUE - Inspect the available headers normally, according to the rule inspection criteria.
\n MATCH - Treat the web request as matching the rule statement. WAF\n applies the rule action to the request.
\n NO_MATCH - Treat the web request as not matching the rule\n statement.
Inspect all headers in the web request. You can specify the parts of the headers to\n inspect and you can narrow the set of headers to inspect by including or excluding specific\n keys.
\nThis is used to indicate the web request component to inspect, in the FieldToMatch specification.
\nIf you want to inspect just the value of a single header, use the\n SingleHeader\n FieldToMatch setting instead.
Example JSON: \"Headers\": { \"MatchPattern\": { \"All\": {} }, \"MatchScope\": \"KEY\",\n \"OversizeHandling\": \"MATCH\" }\n
The name of the IP set. You cannot change the name of an IPSet after you create it.
A unique identifier for the set. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.
", "smithy.api#required": {} } }, "ARN": { "target": "com.amazonaws.wafv2#ResourceArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the entity.
", "smithy.api#required": {} } }, "Description": { "target": "com.amazonaws.wafv2#EntityDescription", "traits": { "smithy.api#documentation": "A description of the IP set that helps with identification.
" } }, "IPAddressVersion": { "target": "com.amazonaws.wafv2#IPAddressVersion", "traits": { "smithy.api#documentation": "The version of the IP addresses, either IPV4 or IPV6.
Contains an array of strings that specifies zero or more IP addresses or blocks of IP addresses that you want WAF to inspect for in incoming requests. All addresses must be specified using Classless Inter-Domain Routing (CIDR) notation. WAF supports all IPv4 and IPv6 CIDR ranges except for /0.
Example address strings:
\nFor requests that originated from the IP address 192.0.2.44, specify 192.0.2.44/32.
For requests that originated from IP addresses from 192.0.2.0 to 192.0.2.255, specify \n 192.0.2.0/24.
For requests that originated from the IP address 1111:0000:0000:0000:0000:0000:0000:0111, specify 1111:0000:0000:0000:0000:0000:0000:0111/128.
For requests that originated from IP addresses 1111:0000:0000:0000:0000:0000:0000:0000 to 1111:0000:0000:0000:ffff:ffff:ffff:ffff, specify 1111:0000:0000:0000:0000:0000:0000:0000/64.
For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.
\nExample JSON Addresses specifications:
Empty array: \"Addresses\": []\n
Array with one address: \"Addresses\": [\"192.0.2.44/32\"]\n
Array with three addresses: \"Addresses\": [\"192.0.2.44/32\", \"192.0.2.0/24\", \"192.0.0.0/16\"]\n
INVALID specification: \"Addresses\": [\"\"] INVALID
Contains zero or more IP addresses or blocks of IP addresses specified in Classless\n Inter-Domain Routing (CIDR) notation. WAF supports all IPv4 and IPv6 CIDR ranges\n except for /0. For information about CIDR notation, see the Wikipedia entry Classless\n Inter-Domain Routing.
\nWAF assigns an ARN to each IPSet that you create. To use an IP set in a\n rule, you provide the ARN to the Rule statement IPSetReferenceStatement.
The name of the HTTP header to use for the IP address. For example, to use the X-Forwarded-For (XFF) header, set this to X-Forwarded-For.
If the specified header isn't present in the request, WAF doesn't apply the rule to the web request at all.
\nThe match status to assign to the web request if the request doesn't have a valid IP address in the specified position.
\nIf the specified header isn't present in the request, WAF doesn't apply the rule to the web request at all.
\nYou can specify the following fallback behaviors:
\n\n MATCH - Treat the web request as matching the rule statement. WAF applies the rule action to the request.
\n NO_MATCH - Treat the web request as not matching the rule statement.
The position in the header to search for the IP address. The header can contain IP\n addresses of the original client and also of proxies. For example, the header value could\n be 10.1.1.1, 127.0.0.0, 10.10.10.10 where the first IP address identifies the\n original client and the rest identify proxies that the request went through.
The options for this setting are the following:
\nFIRST - Inspect the first IP address in the list of IP addresses in the\n header. This is usually the client's original IP.
\nLAST - Inspect the last IP address in the list of IP addresses in the\n header.
\nANY - Inspect all IP addresses in the header for a match. If the header\n contains more than 10 IP addresses, WAF inspects the last 10.
\nThe configuration for inspecting IP addresses in an HTTP header that you specify, instead of using the IP address that's reported by the web request origin. Commonly, this is the X-Forwarded-For (XFF) header, but you can specify any header name.
\nIf the specified header isn't present in the request, WAF doesn't apply the rule to the web request at all.
\nThis configuration is used only for IPSetReferenceStatement. For GeoMatchStatement and RateBasedStatement, use ForwardedIPConfig instead.
" } }, "com.amazonaws.wafv2#IPSetReferenceStatement": { "type": "structure", "members": { "ARN": { "target": "com.amazonaws.wafv2#ResourceArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the IPSet that this statement\n references.
", "smithy.api#required": {} } }, "IPSetForwardedIPConfig": { "target": "com.amazonaws.wafv2#IPSetForwardedIPConfig", "traits": { "smithy.api#documentation": "The configuration for inspecting IP addresses in an HTTP header that you specify, instead of using the IP address that's reported by the web request origin. Commonly, this is the X-Forwarded-For (XFF) header, but you can specify any header name.
\nIf the specified header isn't present in the request, WAF doesn't apply the rule to the web request at all.
\nA rule statement used to detect web requests coming from particular IP addresses or address ranges. To use this, create an IPSet that specifies the addresses you want to detect, then use the ARN of that set in this statement. To create an IP set, see CreateIPSet.
\nEach IP set rule statement references an IP set. You create and maintain the set independent of your rules. This allows you to use the single set in multiple rules. When you update the referenced set, WAF automatically updates all rules that reference it.
" } }, "com.amazonaws.wafv2#IPSetSummaries": { "type": "list", "member": { "target": "com.amazonaws.wafv2#IPSetSummary" } }, "com.amazonaws.wafv2#IPSetSummary": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.wafv2#EntityName", "traits": { "smithy.api#documentation": "The name of the IP set. You cannot change the name of an IPSet after you create it.
A unique identifier for the set. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.
" } }, "Description": { "target": "com.amazonaws.wafv2#EntityDescription", "traits": { "smithy.api#documentation": "A description of the IP set that helps with identification.
" } }, "LockToken": { "target": "com.amazonaws.wafv2#LockToken", "traits": { "smithy.api#documentation": "A token used for optimistic locking. WAF returns a token to your get and list requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like update and delete. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException. If this happens, perform another get, and use the new token returned by that operation.
The Amazon Resource Name (ARN) of the entity.
" } } }, "traits": { "smithy.api#documentation": "High-level information about an IPSet, returned by operations like create and list. This provides information like the ID, that you can use to retrieve and manage an IPSet, and the ARN, that you provide to the IPSetReferenceStatement to use the address set in a Rule.
The amount of time, in seconds, that a CAPTCHA or challenge timestamp is considered valid by WAF. The default\n setting is 300.
For the Challenge action, the minimum setting is 300.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Used for CAPTCHA and challenge token settings. Determines \n how long a CAPTCHA or challenge timestamp remains valid after WAF updates it for a successful CAPTCHA or challenge response.
The match status to assign to the web request if the request doesn't have a JA3 fingerprint.
\nYou can specify the following fallback behaviors:
\n\n MATCH - Treat the web request as matching the rule statement. WAF applies the rule action to the request.
\n NO_MATCH - Treat the web request as not matching the rule statement.
Available for use with Amazon CloudFront distributions and Application Load Balancers. Match against the request's JA3 fingerprint. The JA3 fingerprint is a 32-character hash derived from the TLS Client Hello of an incoming request. This fingerprint serves as a unique identifier for the client's TLS configuration. WAF calculates and logs this fingerprint for each\n\t\t\t\t\t\trequest that has enough TLS Client Hello information for the calculation. Almost \n all web requests include this information.
\nYou can use this choice with a ByteMatchStatement, \n RegexMatchStatement, RegexPatternSetReferenceStatement, or \n SizeConstraintStatement. You can't use it with SqliMatchStatement or \n XssMatchStatement.
You can obtain the JA3 fingerprint for client requests from the web ACL logs. \n\t\t\t\t\t\tIf WAF is able to calculate the fingerprint, it includes it in the logs. \n\t\t\t\t\t\tFor information about the logging fields, \nsee Log fields in the WAF Developer Guide.
\nProvide the JA3 fingerprint string from the logs in your string match statement\n\t\t\t\t\t\t\tspecification, to match with any future requests that have the same TLS configuration. \n To match a group of TLS configurations with a single pattern, use a regex statement.
" } }, "com.amazonaws.wafv2#JA4Fingerprint": { "type": "structure", "members": { "FallbackBehavior": { "target": "com.amazonaws.wafv2#FallbackBehavior", "traits": { "smithy.api#documentation": "The match status to assign to the web request if the request doesn't have a JA4 fingerprint.
\nYou can specify the following fallback behaviors:
\n\n MATCH - Treat the web request as matching the rule statement. WAF applies the rule action to the request.
\n NO_MATCH - Treat the web request as not matching the rule statement.
Available for use with Amazon CloudFront distributions and Application Load Balancers. Match against the request's JA4 fingerprint. The JA4 fingerprint is a 36-character hash derived from the TLS Client Hello of an incoming request. This fingerprint serves as a unique identifier for the client's TLS configuration. WAF calculates and logs this fingerprint for each\n\t\t\t\t\t\trequest that has enough TLS Client Hello information for the calculation. Almost \n all web requests include this information.
\nYou can use this choice with a ByteMatchStatement, \n RegexMatchStatement, RegexPatternSetReferenceStatement, or \n SizeConstraintStatement. You can't use it with SqliMatchStatement or \n XssMatchStatement.
You can obtain the JA4 fingerprint for client requests from the web ACL logs. \n\t\t\t\t\t\tIf WAF is able to calculate the fingerprint, it includes it in the logs. \n\t\t\t\t\t\tFor information about the logging fields, \nsee Log fields in the WAF Developer Guide.
\nProvide the JA4 fingerprint string from the logs in your string match statement\n\t\t\t\t\t\t\tspecification, to match with any future requests that have the same TLS configuration. \n To match a group of TLS configurations with a single pattern, use a regex statement.
" } }, "com.amazonaws.wafv2#JsonBody": { "type": "structure", "members": { "MatchPattern": { "target": "com.amazonaws.wafv2#JsonMatchPattern", "traits": { "smithy.api#documentation": "The patterns to look for in the JSON body. WAF inspects the results of these\n pattern matches against the rule inspection criteria.
", "smithy.api#required": {} } }, "MatchScope": { "target": "com.amazonaws.wafv2#JsonMatchScope", "traits": { "smithy.api#documentation": "The parts of the JSON to match against using the MatchPattern. If you\n specify ALL, WAF matches against keys and values.
\n All does not require a match to be found in the keys\n and a match to be found in the values. It requires a match to be found in the keys \n or the values or both. To require a match in the keys and in the values, use a logical AND statement\n to combine two match rules, one that inspects the keys and another that inspects the values.
What WAF should do if it fails to completely parse the JSON body. The options are\n the following:
\n\n EVALUATE_AS_STRING - Inspect the body as plain text. WAF\n applies the text transformations and inspection criteria that you defined for the\n JSON inspection to the body text string.
\n MATCH - Treat the web request as matching the rule statement.\n WAF applies the rule action to the request.
\n NO_MATCH - Treat the web request as not matching the rule\n statement.
If you don't provide this setting, WAF parses and evaluates the content only up to the\n first parsing failure that it encounters.
\nWAF parsing doesn't fully validate the input JSON string, so parsing can succeed even for invalid JSON. When \n parsing succeeds, WAF doesn't apply the fallback behavior. For more information, \n see JSON body \n in the WAF Developer Guide.
\nWhat WAF should do if the body is larger than WAF can inspect.
\nWAF does not support inspecting the entire contents of the web request body if the body \n exceeds the limit for the resource type. When a web request body is larger than the limit, the underlying host service \n only forwards the contents that are within the limit to WAF for inspection.
\nFor Application Load Balancer and AppSync, the limit is fixed at 8 KB (8,192 bytes).
\nFor CloudFront, API Gateway, Amazon Cognito, App Runner, and Verified Access, the default limit is 16 KB (16,384 bytes), and \n you can increase the limit for each resource type in the web ACL AssociationConfig, for additional processing fees.
For Amplify, use the CloudFront limit.
\nThe options for oversize handling are the following:
\n\n CONTINUE - Inspect the available body contents normally, according to the rule inspection criteria.
\n MATCH - Treat the web request as matching the rule statement. WAF\n applies the rule action to the request.
\n NO_MATCH - Treat the web request as not matching the rule\n statement.
You can combine the MATCH or NO_MATCH\n settings for oversize handling with your rule and web ACL action settings, so that you block any request whose body is over the limit.
Default: CONTINUE\n
Inspect the body of the web request as JSON. The body immediately follows the request\n headers.
\nThis is used to indicate the web request component to inspect, in the FieldToMatch specification.
\nUse the specifications in this object to indicate which parts of the JSON body to\n inspect using the rule's inspection criteria. WAF inspects only the parts of the JSON\n that result from the matches that you indicate.
\nExample JSON: \"JsonBody\": { \"MatchPattern\": { \"All\": {} }, \"MatchScope\": \"ALL\"\n }\n
For additional information about this request component option, see JSON body \n in the WAF Developer Guide.
" } }, "com.amazonaws.wafv2#JsonMatchPattern": { "type": "structure", "members": { "All": { "target": "com.amazonaws.wafv2#All", "traits": { "smithy.api#documentation": "Match all of the elements. See also\n MatchScope\n in JsonBody.
You must specify either this setting or the IncludedPaths setting, but not\n both.
Match only the specified include paths. See also\n MatchScope\n in JsonBody.
Provide the include paths using JSON Pointer syntax. For example, \"IncludedPaths\":\n [\"/dogs/0/name\", \"/dogs/1/name\"]. For information about this syntax, see the\n Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON)\n Pointer.
You must specify either this setting or the All setting, but not\n both.
Don't use this option to include all paths. Instead, use the All\n setting.
The patterns to look for in the JSON body. WAF inspects the results of these\n pattern matches against the rule inspection criteria. This is used with the FieldToMatch option JsonBody.
The label string.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "A single label container. This is used as an element of a label array in multiple\n contexts, for example, in RuleLabels inside a Rule and in\n Labels inside a SampledHTTPRequest.
Specify whether you want to match using the label name or just the namespace.
", "smithy.api#required": {} } }, "Key": { "target": "com.amazonaws.wafv2#LabelMatchKey", "traits": { "smithy.api#documentation": "The string to match against. The setting you provide for this depends on the match\n statement's Scope setting:
If the Scope indicates LABEL, then this specification\n must include the name and can include any number of preceding namespace\n specifications and prefix up to providing the fully qualified label name.
If the Scope indicates NAMESPACE, then this\n specification can include any number of contiguous namespace strings, and can include\n the entire label namespace prefix from the rule group or web ACL where the label\n originates.
Labels are case sensitive and components of a label must be separated by colon, for\n example NS1:NS2:name.
A rule statement to match against labels that have been added to the web request by rules that have already run in the web ACL.
\nThe label match statement provides the label or namespace string to search for. The label string can represent a part or all of the fully qualified label name that had been added to the web request. Fully qualified labels have a prefix, optional namespaces, and label name. The prefix identifies the rule group or web ACL context of the rule that added the label. If you do not provide the fully qualified name in your label match string, WAF performs the search for labels that were added in the same context as the label match statement.
" } }, "com.amazonaws.wafv2#LabelName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 1024 }, "smithy.api#pattern": "^[0-9A-Za-z_\\-:]+$" } }, "com.amazonaws.wafv2#LabelNameCondition": { "type": "structure", "members": { "LabelName": { "target": "com.amazonaws.wafv2#LabelName", "traits": { "smithy.api#documentation": "The label name that a log record must contain in order to meet the condition. This must\n be a fully qualified label name. Fully qualified labels have a prefix, optional namespaces, and label name. The prefix identifies the rule group or web ACL context of the rule that added the label.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "A single label name condition for a Condition in a logging\n filter.
" } }, "com.amazonaws.wafv2#LabelNamespace": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 1024 }, "smithy.api#pattern": "^[0-9A-Za-z_\\-:]+:$" } }, "com.amazonaws.wafv2#LabelSummaries": { "type": "list", "member": { "target": "com.amazonaws.wafv2#LabelSummary" } }, "com.amazonaws.wafv2#LabelSummary": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.wafv2#LabelName", "traits": { "smithy.api#documentation": "An individual label specification.
" } } }, "traits": { "smithy.api#documentation": "List of labels used by one or more of the rules of a RuleGroup. This\n summary object is used for the following rule group lists:
\n\n AvailableLabels - Labels that rules add to matching requests.\n These labels are defined in the RuleLabels for a Rule.
\n ConsumedLabels - Labels that rules match against.\n These labels are defined in a LabelMatchStatement specification, in the Statement definition of a rule.
Retrieves a list of the API keys that you've defined for the specified scope.
\nAPI keys are required for the integration of the CAPTCHA API in your JavaScript client applications. \n The API lets you customize the placement and characteristics of the CAPTCHA puzzle for your end users. \n For more information about the CAPTCHA JavaScript integration, see WAF client application integration in the WAF Developer Guide.
" } }, "com.amazonaws.wafv2#ListAPIKeysRequest": { "type": "structure", "members": { "Scope": { "target": "com.amazonaws.wafv2#Scope", "traits": { "smithy.api#documentation": "Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For an Amplify application, use CLOUDFRONT.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
\nCLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1.
API and SDKs - For all calls, use the Region endpoint us-east-1.
\nWhen you request a list of objects with a Limit setting, if the number of objects that are still available\n for retrieval exceeds the limit, WAF returns a NextMarker \n value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.
The maximum number of objects that you want WAF to return for this request. If more \n objects are available, in the response, WAF provides a \n NextMarker value that you can use in a subsequent call to get the next batch of objects.
When you request a list of objects with a Limit setting, if the number of objects that are still available\n for retrieval exceeds the limit, WAF returns a NextMarker \n value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.
The array of key summaries. If you specified a Limit in your request, this might not be the full list.
The CAPTCHA application integration URL, for use in your JavaScript implementation.
" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.wafv2#ListAvailableManagedRuleGroupVersions": { "type": "operation", "input": { "target": "com.amazonaws.wafv2#ListAvailableManagedRuleGroupVersionsRequest" }, "output": { "target": "com.amazonaws.wafv2#ListAvailableManagedRuleGroupVersionsResponse" }, "errors": [ { "target": "com.amazonaws.wafv2#WAFInternalErrorException" }, { "target": "com.amazonaws.wafv2#WAFInvalidOperationException" }, { "target": "com.amazonaws.wafv2#WAFInvalidParameterException" }, { "target": "com.amazonaws.wafv2#WAFNonexistentItemException" } ], "traits": { "smithy.api#documentation": "Returns a list of the available versions for the specified managed rule group.
" } }, "com.amazonaws.wafv2#ListAvailableManagedRuleGroupVersionsRequest": { "type": "structure", "members": { "VendorName": { "target": "com.amazonaws.wafv2#VendorName", "traits": { "smithy.api#documentation": "The name of the managed rule group vendor. You use this, along with the rule group name, to identify a rule group.
", "smithy.api#required": {} } }, "Name": { "target": "com.amazonaws.wafv2#EntityName", "traits": { "smithy.api#documentation": "The name of the managed rule group. You use this, along with the vendor name, to identify the rule group.
", "smithy.api#required": {} } }, "Scope": { "target": "com.amazonaws.wafv2#Scope", "traits": { "smithy.api#documentation": "Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For an Amplify application, use CLOUDFRONT.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
\nCLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1.
API and SDKs - For all calls, use the Region endpoint us-east-1.
\nWhen you request a list of objects with a Limit setting, if the number of objects that are still available\n for retrieval exceeds the limit, WAF returns a NextMarker \n value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.
The maximum number of objects that you want WAF to return for this request. If more \n objects are available, in the response, WAF provides a \n NextMarker value that you can use in a subsequent call to get the next batch of objects.
When you request a list of objects with a Limit setting, if the number of objects that are still available\n for retrieval exceeds the limit, WAF returns a NextMarker \n value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.
The versions that are currently available for the specified managed rule group. If you specified a Limit in your request, this might not be the full list.
The name of the version that's currently set as the default.
" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.wafv2#ListAvailableManagedRuleGroups": { "type": "operation", "input": { "target": "com.amazonaws.wafv2#ListAvailableManagedRuleGroupsRequest" }, "output": { "target": "com.amazonaws.wafv2#ListAvailableManagedRuleGroupsResponse" }, "errors": [ { "target": "com.amazonaws.wafv2#WAFInternalErrorException" }, { "target": "com.amazonaws.wafv2#WAFInvalidOperationException" }, { "target": "com.amazonaws.wafv2#WAFInvalidParameterException" } ], "traits": { "smithy.api#documentation": "Retrieves an array of managed rule groups that are available for you to use. This list\n includes all Amazon Web Services Managed Rules rule groups and all of the Amazon Web Services Marketplace managed rule groups that you're\n subscribed to.
" } }, "com.amazonaws.wafv2#ListAvailableManagedRuleGroupsRequest": { "type": "structure", "members": { "Scope": { "target": "com.amazonaws.wafv2#Scope", "traits": { "smithy.api#documentation": "Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For an Amplify application, use CLOUDFRONT.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
\nCLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1.
API and SDKs - For all calls, use the Region endpoint us-east-1.
\nWhen you request a list of objects with a Limit setting, if the number of objects that are still available\n for retrieval exceeds the limit, WAF returns a NextMarker \n value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.
The maximum number of objects that you want WAF to return for this request. If more \n objects are available, in the response, WAF provides a \n NextMarker value that you can use in a subsequent call to get the next batch of objects.
When you request a list of objects with a Limit setting, if the number of objects that are still available\n for retrieval exceeds the limit, WAF returns a NextMarker \n value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.
Array of managed rule groups that you can use. If you specified a Limit in your request, this might not be the full list.
Retrieves an array of IPSetSummary objects for the IP sets that you\n manage.
" } }, "com.amazonaws.wafv2#ListIPSetsRequest": { "type": "structure", "members": { "Scope": { "target": "com.amazonaws.wafv2#Scope", "traits": { "smithy.api#documentation": "Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For an Amplify application, use CLOUDFRONT.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
\nCLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1.
API and SDKs - For all calls, use the Region endpoint us-east-1.
\nWhen you request a list of objects with a Limit setting, if the number of objects that are still available\n for retrieval exceeds the limit, WAF returns a NextMarker \n value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.
The maximum number of objects that you want WAF to return for this request. If more \n objects are available, in the response, WAF provides a \n NextMarker value that you can use in a subsequent call to get the next batch of objects.
When you request a list of objects with a Limit setting, if the number of objects that are still available\n for retrieval exceeds the limit, WAF returns a NextMarker \n value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.
Array of IPSets. If you specified a Limit in your request, this might not be the full list.
Retrieves an array of your LoggingConfiguration objects.
" } }, "com.amazonaws.wafv2#ListLoggingConfigurationsRequest": { "type": "structure", "members": { "Scope": { "target": "com.amazonaws.wafv2#Scope", "traits": { "smithy.api#documentation": "Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For an Amplify application, use CLOUDFRONT.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
\nCLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1.
API and SDKs - For all calls, use the Region endpoint us-east-1.
\nWhen you request a list of objects with a Limit setting, if the number of objects that are still available\n for retrieval exceeds the limit, WAF returns a NextMarker \n value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.
The maximum number of objects that you want WAF to return for this request. If more \n objects are available, in the response, WAF provides a \n NextMarker value that you can use in a subsequent call to get the next batch of objects.
The owner of the logging configuration, which must be set to CUSTOMER for the configurations that you manage.
The log scope SECURITY_LAKE indicates a configuration that is managed through Amazon Security Lake. You can use Security Lake to collect log and event data from various sources for normalization, analysis, and management. For information, see \n Collecting data from Amazon Web Services services\n in the Amazon Security Lake user guide.
The log scope CLOUDWATCH_TELEMETRY_RULE_MANAGED indicates a configuration that is managed through Amazon CloudWatch Logs for telemetry data collection and analysis. For information, see \n What is Amazon CloudWatch Logs ?\n in the Amazon CloudWatch Logs user guide.
Default: CUSTOMER\n
Array of logging configurations. If you specified a Limit in your request, this might not be the full list.
When you request a list of objects with a Limit setting, if the number of objects that are still available\n for retrieval exceeds the limit, WAF returns a NextMarker \n value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.
Retrieves the managed rule sets that you own.
\nThis is intended for use only by vendors of managed rule sets. Vendors are Amazon Web Services and Amazon Web Services Marketplace sellers.
\nVendors, you can use the managed rule set APIs to provide controlled rollout of your versioned managed rule group offerings for your customers. The APIs are ListManagedRuleSets, GetManagedRuleSet, PutManagedRuleSetVersions, and UpdateManagedRuleSetVersionExpiryDate.
Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For an Amplify application, use CLOUDFRONT.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
\nCLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1.
API and SDKs - For all calls, use the Region endpoint us-east-1.
\nWhen you request a list of objects with a Limit setting, if the number of objects that are still available\n for retrieval exceeds the limit, WAF returns a NextMarker \n value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.
The maximum number of objects that you want WAF to return for this request. If more \n objects are available, in the response, WAF provides a \n NextMarker value that you can use in a subsequent call to get the next batch of objects.
When you request a list of objects with a Limit setting, if the number of objects that are still available\n for retrieval exceeds the limit, WAF returns a NextMarker \n value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.
Your managed rule sets. If you specified a Limit in your request, this might not be the full list.
Retrieves a list of the available releases for the mobile SDK and the specified device\n platform.
\nThe mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage WAF tokens for use in HTTP(S) requests from a mobile device to WAF. For more information, see \nWAF client application integration in the WAF Developer Guide.
" } }, "com.amazonaws.wafv2#ListMobileSdkReleasesRequest": { "type": "structure", "members": { "Platform": { "target": "com.amazonaws.wafv2#Platform", "traits": { "smithy.api#documentation": "The device platform to retrieve the list for.
", "smithy.api#required": {} } }, "NextMarker": { "target": "com.amazonaws.wafv2#NextMarker", "traits": { "smithy.api#documentation": "When you request a list of objects with a Limit setting, if the number of objects that are still available\n for retrieval exceeds the limit, WAF returns a NextMarker \n value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.
The maximum number of objects that you want WAF to return for this request. If more \n objects are available, in the response, WAF provides a \n NextMarker value that you can use in a subsequent call to get the next batch of objects.
The high level information for the available SDK releases. If you specified a Limit in your request, this might not be the full list.
When you request a list of objects with a Limit setting, if the number of objects that are still available\n for retrieval exceeds the limit, WAF returns a NextMarker \n value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.
Retrieves an array of RegexPatternSetSummary objects for the regex\n pattern sets that you manage.
" } }, "com.amazonaws.wafv2#ListRegexPatternSetsRequest": { "type": "structure", "members": { "Scope": { "target": "com.amazonaws.wafv2#Scope", "traits": { "smithy.api#documentation": "Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For an Amplify application, use CLOUDFRONT.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
\nCLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1.
API and SDKs - For all calls, use the Region endpoint us-east-1.
\nWhen you request a list of objects with a Limit setting, if the number of objects that are still available\n for retrieval exceeds the limit, WAF returns a NextMarker \n value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.
The maximum number of objects that you want WAF to return for this request. If more \n objects are available, in the response, WAF provides a \n NextMarker value that you can use in a subsequent call to get the next batch of objects.
When you request a list of objects with a Limit setting, if the number of objects that are still available\n for retrieval exceeds the limit, WAF returns a NextMarker \n value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.
Array of regex pattern sets. If you specified a Limit in your request, this might not be the full list.
Retrieves an array of the Amazon Resource Names (ARNs) for the resources that\n are associated with the specified web ACL.
\nFor Amazon CloudFront, don't use this call. Instead, use the CloudFront call\n ListDistributionsByWebACLId. For information, see ListDistributionsByWebACLId\n in the Amazon CloudFront API Reference.
\n Required permissions for customer-managed IAM policies\n
\nThis call requires permissions that are specific to the protected resource type. \n For details, see Permissions for ListResourcesForWebACL in the WAF Developer Guide.
" } }, "com.amazonaws.wafv2#ListResourcesForWebACLRequest": { "type": "structure", "members": { "WebACLArn": { "target": "com.amazonaws.wafv2#ResourceArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the web ACL.
", "smithy.api#required": {} } }, "ResourceType": { "target": "com.amazonaws.wafv2#ResourceType", "traits": { "smithy.api#documentation": "Retrieves the web ACLs that are used by the specified resource type.
\nFor Amazon CloudFront, don't use this call. Instead, use the CloudFront call\n ListDistributionsByWebACLId. For information, see ListDistributionsByWebACLId\n in the Amazon CloudFront API Reference.
If you don't provide a resource type, the call uses the resource type APPLICATION_LOAD_BALANCER.
Default: APPLICATION_LOAD_BALANCER\n
The array of Amazon Resource Names (ARNs) of the associated resources.
" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.wafv2#ListRuleGroups": { "type": "operation", "input": { "target": "com.amazonaws.wafv2#ListRuleGroupsRequest" }, "output": { "target": "com.amazonaws.wafv2#ListRuleGroupsResponse" }, "errors": [ { "target": "com.amazonaws.wafv2#WAFInternalErrorException" }, { "target": "com.amazonaws.wafv2#WAFInvalidOperationException" }, { "target": "com.amazonaws.wafv2#WAFInvalidParameterException" } ], "traits": { "smithy.api#documentation": "Retrieves an array of RuleGroupSummary objects for the rule groups\n that you manage.
" } }, "com.amazonaws.wafv2#ListRuleGroupsRequest": { "type": "structure", "members": { "Scope": { "target": "com.amazonaws.wafv2#Scope", "traits": { "smithy.api#documentation": "Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For an Amplify application, use CLOUDFRONT.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
\nCLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1.
API and SDKs - For all calls, use the Region endpoint us-east-1.
\nWhen you request a list of objects with a Limit setting, if the number of objects that are still available\n for retrieval exceeds the limit, WAF returns a NextMarker \n value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.
The maximum number of objects that you want WAF to return for this request. If more \n objects are available, in the response, WAF provides a \n NextMarker value that you can use in a subsequent call to get the next batch of objects.
When you request a list of objects with a Limit setting, if the number of objects that are still available\n for retrieval exceeds the limit, WAF returns a NextMarker \n value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.
Array of rule groups. If you specified a Limit in your request, this might not be the full list.
Retrieves individual settlement transaction records for monetization. Each record represents a single payment transaction between a client and your protected resource. This operation is only available for CLOUDFRONT scope. The maximum supported time window is 90 days. When no CurrencyMode filter is provided, results default to REAL. To retrieve test data, include a CurrencyMode filter with the value TEST.
The time range for the query. Specify start and end timestamps.
", "smithy.api#required": {} } }, "Scope": { "target": "com.amazonaws.wafv2#Scope", "traits": { "smithy.api#documentation": "Specifies whether this is for a Amazon CloudFront distribution (CLOUDFRONT) or for a regional application (REGIONAL).
The currency for the amounts in the response.
", "smithy.api#required": {} } }, "Filters": { "target": "com.amazonaws.wafv2#MonetizationFilterList", "traits": { "smithy.api#documentation": "Optional filters to narrow the results. You can filter by payer address, status, source name, network, or other settlement fields.
" } }, "SortBy": { "target": "com.amazonaws.wafv2#SettlementSortBy", "traits": { "smithy.api#documentation": "The field to sort settlement records by: TIMESTAMP, AMOUNT, NAME, or STATUS.
The sort order: ASC for ascending or DESC for descending.
The maximum number of settlement records to return. Minimum: 1. Maximum: 100.
" } }, "NextMarker": { "target": "com.amazonaws.wafv2#NextMarker", "traits": { "smithy.api#documentation": "When you get a paginated response, this marker indicates that additional results are available.
" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.wafv2#ListSettlementRecordsResponse": { "type": "structure", "members": { "Settlements": { "target": "com.amazonaws.wafv2#SettlementRecordList", "traits": { "smithy.api#documentation": "The list of settlement records.
" } }, "NextMarker": { "target": "com.amazonaws.wafv2#NextMarker", "traits": { "smithy.api#documentation": "When you get a paginated response, this marker indicates that additional results are available.
" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.wafv2#ListTagsForResource": { "type": "operation", "input": { "target": "com.amazonaws.wafv2#ListTagsForResourceRequest" }, "output": { "target": "com.amazonaws.wafv2#ListTagsForResourceResponse" }, "errors": [ { "target": "com.amazonaws.wafv2#WAFInternalErrorException" }, { "target": "com.amazonaws.wafv2#WAFInvalidOperationException" }, { "target": "com.amazonaws.wafv2#WAFInvalidParameterException" }, { "target": "com.amazonaws.wafv2#WAFNonexistentItemException" }, { "target": "com.amazonaws.wafv2#WAFTagOperationException" }, { "target": "com.amazonaws.wafv2#WAFTagOperationInternalErrorException" } ], "traits": { "smithy.api#documentation": "Retrieves the TagInfoForResource for the specified resource. Tags are\n key:value pairs that you can use to categorize and manage your resources, for purposes like\n billing. For example, you might set the tag key to \"customer\" and the value to the customer\n name or ID. You can specify one or more tags to add to each Amazon Web Services resource, up to 50 tags\n for a resource.
\nYou can tag the Amazon Web Services resources that you manage through WAF: web ACLs, rule\n groups, IP sets, and regex pattern sets. You can't manage or view tags through the WAF\n console.
" } }, "com.amazonaws.wafv2#ListTagsForResourceRequest": { "type": "structure", "members": { "NextMarker": { "target": "com.amazonaws.wafv2#NextMarker", "traits": { "smithy.api#documentation": "When you request a list of objects with a Limit setting, if the number of objects that are still available\n for retrieval exceeds the limit, WAF returns a NextMarker \n value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.
The maximum number of objects that you want WAF to return for this request. If more \n objects are available, in the response, WAF provides a \n NextMarker value that you can use in a subsequent call to get the next batch of objects.
The Amazon Resource Name (ARN) of the resource.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.wafv2#ListTagsForResourceResponse": { "type": "structure", "members": { "NextMarker": { "target": "com.amazonaws.wafv2#NextMarker", "traits": { "smithy.api#documentation": "When you request a list of objects with a Limit setting, if the number of objects that are still available\n for retrieval exceeds the limit, WAF returns a NextMarker \n value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.
The collection of tagging definitions for the resource. If you specified a Limit in your request, this might not be the full list.
Retrieves an array of WebACLSummary objects for the web ACLs that you\n manage.
", "smithy.test#smokeTests": [ { "id": "ListWebACLsSuccess", "params": { "Scope": "REGIONAL", "Limit": 20 }, "vendorParams": { "region": "us-east-1" }, "vendorParamsShape": "aws.test#AwsVendorParams", "expect": { "success": {} } } ] } }, "com.amazonaws.wafv2#ListWebACLsRequest": { "type": "structure", "members": { "Scope": { "target": "com.amazonaws.wafv2#Scope", "traits": { "smithy.api#documentation": "Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For an Amplify application, use CLOUDFRONT.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
\nCLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1.
API and SDKs - For all calls, use the Region endpoint us-east-1.
\nWhen you request a list of objects with a Limit setting, if the number of objects that are still available\n for retrieval exceeds the limit, WAF returns a NextMarker \n value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.
The maximum number of objects that you want WAF to return for this request. If more \n objects are available, in the response, WAF provides a \n NextMarker value that you can use in a subsequent call to get the next batch of objects.
When you request a list of objects with a Limit setting, if the number of objects that are still available\n for retrieval exceeds the limit, WAF returns a NextMarker \n value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.
Array of web ACLs. If you specified a Limit in your request, this might not be the full list.
The Amazon Resource Name (ARN) of the web ACL that you want to associate with\n LogDestinationConfigs.
The logging destination configuration that you want to associate with the web\n ACL.
\nYou can associate one logging destination to a web ACL.
\nThe parts of the request that you want to keep out of the logs.
\nFor example, if you\n redact the SingleHeader field, the HEADER field in the logs will\n be REDACTED for all rules that use the SingleHeader\n FieldToMatch setting.
If you configure data protection for the web ACL, the protection applies to the data that WAF sends to the logs.
\nRedaction applies only to the component that's specified in the rule's FieldToMatch setting, so the SingleHeader redaction \n doesn't apply to rules that use the Headers\n FieldToMatch.
You can specify only the following fields for redaction: UriPath,\n QueryString, SingleHeader, and Method.
This setting has no impact on request sampling. You can only exclude fields from request sampling by disabling sampling in the web ACL visibility configuration \n or by configuring data protection for the web ACL.
\nIndicates whether the logging configuration was created by Firewall Manager, as part of an\n WAF policy configuration. If true, only Firewall Manager can modify or delete the\n configuration.
\nThe logging configuration can be created by Firewall Manager for use with any web ACL that Firewall Manager is using for an WAF policy. \n Web ACLs that Firewall Manager creates and uses have their ManagedByFirewallManager property set to true. Web ACLs that were created \n by a customer account and then retrofitted by Firewall Manager for use by a policy have their RetrofittedByFirewallManager property set to true. \n For either case, any corresponding logging configuration will indicate ManagedByFirewallManager.
Filtering that specifies which web requests are kept in the logs and which are dropped.\n You can filter on the rule action and on the web request labels that were applied by\n matching rules during web ACL evaluation.
" } }, "LogType": { "target": "com.amazonaws.wafv2#LogType", "traits": { "smithy.api#documentation": "Used to distinguish between various logging options. Currently, there is one option.
\nDefault: WAF_LOGS\n
The owner of the logging configuration, which must be set to CUSTOMER for the configurations that you manage.
The log scope SECURITY_LAKE indicates a configuration that is managed through Amazon Security Lake. You can use Security Lake to collect log and event data from various sources for normalization, analysis, and management. For information, see \n Collecting data from Amazon Web Services services\n in the Amazon Security Lake user guide.
The log scope CLOUDWATCH_TELEMETRY_RULE_MANAGED indicates a configuration that is managed through Amazon CloudWatch Logs for telemetry data collection and analysis. For information, see \n What is Amazon CloudWatch Logs ?\n in the Amazon CloudWatch Logs user guide.
Default: CUSTOMER\n
Defines an association between logging destinations and a web ACL resource, for logging\n from WAF. As part of the association, you can specify parts of the standard logging\n fields to keep out of the logs and you can specify filters so that you log only a subset of\n the logging records.
\nIf you configure data protection for the web ACL, the protection applies to the data that WAF sends to the logs.
\nYou can define one logging destination per web ACL.
\nYou can access information about the traffic that WAF inspects using the following\n steps:
\nCreate your logging destination. You can use an Amazon CloudWatch Logs log group, an Amazon Simple Storage Service (Amazon S3) bucket, or an Amazon Kinesis Data Firehose.
\nThe name that you give the destination must start with aws-waf-logs-. Depending on the type of destination, you might need to configure additional settings or permissions.
For configuration requirements and pricing information for each destination type, see \n Logging web ACL traffic \n in the WAF Developer Guide.
\nAssociate your logging destination to your web ACL using a\n PutLoggingConfiguration request.
When you successfully enable logging using a PutLoggingConfiguration\n request, WAF creates an additional role or policy that is required to write\n logs to the logging destination. For an Amazon CloudWatch Logs log group, WAF creates a resource policy on the log group.\n For an Amazon S3 bucket, WAF creates a bucket policy. For an Amazon Kinesis Data Firehose, WAF creates a service-linked role.
For additional information about web ACL logging, see \n Logging web ACL traffic information \n in the WAF Developer Guide.
" } }, "com.amazonaws.wafv2#LoggingConfigurations": { "type": "list", "member": { "target": "com.amazonaws.wafv2#LoggingConfiguration" } }, "com.amazonaws.wafv2#LoggingFilter": { "type": "structure", "members": { "Filters": { "target": "com.amazonaws.wafv2#Filters", "traits": { "smithy.api#documentation": "The filters that you want to apply to the logs.
", "smithy.api#required": {} } }, "DefaultBehavior": { "target": "com.amazonaws.wafv2#FilterBehavior", "traits": { "smithy.api#documentation": "Default handling for logs that don't match any of the specified filtering conditions.\n
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Filtering that specifies which web requests are kept in the logs and which are dropped,\n defined for a web ACL's LoggingConfiguration.
\nYou can filter on the rule action and on the web request labels that were applied by\n matching rules during web ACL evaluation.
" } }, "com.amazonaws.wafv2#LoginPathString": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 256 }, "smithy.api#pattern": "\\S" } }, "com.amazonaws.wafv2#LowReputationMode": { "type": "enum", "members": { "ACTIVE_UNDER_DDOS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ACTIVE_UNDER_DDOS" } }, "ALWAYS_ON": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ALWAYS_ON" } } } }, "com.amazonaws.wafv2#ManagedProductDescriptor": { "type": "structure", "members": { "VendorName": { "target": "com.amazonaws.wafv2#VendorName", "traits": { "smithy.api#documentation": "The name of the managed rule group vendor. You use this, along with the rule group name, to identify a rule group.
" } }, "ManagedRuleSetName": { "target": "com.amazonaws.wafv2#EntityName", "traits": { "smithy.api#documentation": "The name of the managed rule group. For example, AWSManagedRulesAnonymousIpList or AWSManagedRulesATPRuleSet.
A unique identifier for the rule group. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.
" } }, "ProductLink": { "target": "com.amazonaws.wafv2#ProductLink", "traits": { "smithy.api#documentation": "For Amazon Web Services Marketplace managed rule groups only, the link to the rule group product page.
" } }, "ProductTitle": { "target": "com.amazonaws.wafv2#ProductTitle", "traits": { "smithy.api#documentation": "The display name for the managed rule group. For example, Anonymous IP list or Account takeover prevention.
A short description of the managed rule group.
" } }, "SnsTopicArn": { "target": "com.amazonaws.wafv2#ResourceArn", "traits": { "smithy.api#documentation": "The Amazon resource name (ARN) of the Amazon Simple Notification Service SNS topic that's used to provide notification of changes\n to the managed rule group. You can subscribe to the SNS topic to receive notifications when\n the managed rule group is modified, such as for new versions and for version expiration.\n For more information, see the Amazon Simple Notification Service Developer Guide.
" } }, "IsVersioningSupported": { "target": "com.amazonaws.wafv2#Boolean", "traits": { "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the rule group is versioned.
" } }, "IsAdvancedManagedRuleSet": { "target": "com.amazonaws.wafv2#Boolean", "traits": { "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the rule group provides an advanced set of protections, such as the the Amazon Web Services Managed Rules rule groups that \n are used for WAF intelligent threat mitigation.
" } } }, "traits": { "smithy.api#documentation": "The properties of a managed product, such as an Amazon Web Services Managed Rules rule group or an Amazon Web Services Marketplace managed rule group.
" } }, "com.amazonaws.wafv2#ManagedProductDescriptors": { "type": "list", "member": { "target": "com.amazonaws.wafv2#ManagedProductDescriptor" } }, "com.amazonaws.wafv2#ManagedRuleGroupConfig": { "type": "structure", "members": { "LoginPath": { "target": "com.amazonaws.wafv2#LoginPathString", "traits": { "smithy.api#deprecated": { "message": "Deprecated. Use AWSManagedRulesATPRuleSet LoginPath" }, "smithy.api#documentation": "Instead of this setting, provide your configuration under AWSManagedRulesATPRuleSet.
Instead of this setting, provide your configuration under the request inspection configuration for AWSManagedRulesATPRuleSet or AWSManagedRulesACFPRuleSet.
Instead of this setting, provide your configuration under the request inspection configuration for AWSManagedRulesATPRuleSet or AWSManagedRulesACFPRuleSet.
Instead of this setting, provide your configuration under the request inspection configuration for AWSManagedRulesATPRuleSet or AWSManagedRulesACFPRuleSet.
Additional configuration for using the Bot Control managed rule group. Use this to specify the \n inspection level that you want to use. For information \n about using the Bot Control managed rule group, see WAF Bot Control rule group \n and WAF Bot Control\n in the WAF Developer Guide.
" } }, "AWSManagedRulesATPRuleSet": { "target": "com.amazonaws.wafv2#AWSManagedRulesATPRuleSet", "traits": { "smithy.api#documentation": "Additional configuration for using the account takeover prevention (ATP) managed rule group, AWSManagedRulesATPRuleSet. \n Use this to provide login request information to the rule group. For web ACLs that protect CloudFront distributions, use this to also provide\n the information about how your distribution responds to login requests.
This configuration replaces the individual configuration fields in ManagedRuleGroupConfig and provides additional feature configuration.
For information \n about using the ATP managed rule group, see WAF Fraud Control account takeover prevention (ATP) rule group \n and WAF Fraud Control account takeover prevention (ATP)\n in the WAF Developer Guide.
" } }, "AWSManagedRulesACFPRuleSet": { "target": "com.amazonaws.wafv2#AWSManagedRulesACFPRuleSet", "traits": { "smithy.api#documentation": "Additional configuration for using the account creation fraud prevention (ACFP) managed rule group, AWSManagedRulesACFPRuleSet. \n Use this to provide account creation request information to the rule group. For web ACLs that protect CloudFront distributions, use this to also provide\n the information about how your distribution responds to account creation requests.
For information \n about using the ACFP managed rule group, see WAF Fraud Control account creation fraud prevention (ACFP) rule group \n and WAF Fraud Control account creation fraud prevention (ACFP)\n in the WAF Developer Guide.
" } }, "AWSManagedRulesAntiDDoSRuleSet": { "target": "com.amazonaws.wafv2#AWSManagedRulesAntiDDoSRuleSet", "traits": { "smithy.api#documentation": "Additional configuration for using the anti-DDoS managed rule group, AWSManagedRulesAntiDDoSRuleSet. \n Use this to configure anti-DDoS behavior for the rule group.
For information \n about using the anti-DDoS managed rule group, see WAF Anti-DDoS rule group \n and Distributed Denial of Service (DDoS) prevention\n in the WAF Developer Guide.
" } } }, "traits": { "smithy.api#documentation": "Additional information that's used by a managed rule group. Many managed rule groups don't require this.
\nThe rule groups used for intelligent threat mitigation require additional configuration:
\nUse the AWSManagedRulesACFPRuleSet configuration object to configure the account creation fraud prevention managed rule group. The configuration includes the registration and sign-up pages of your application and the locations in the account creation request payload of data, such as the user email and phone number fields.
Use the AWSManagedRulesAntiDDoSRuleSet configuration object to configure the anti-DDoS managed rule group. The configuration includes the sensitivity levels to use in the rules that typically block and challenge requests that might be participating in DDoS attacks and the specification to use to indicate whether a request can handle a silent browser challenge.
Use the AWSManagedRulesATPRuleSet configuration object to configure the account takeover prevention managed rule group. The configuration includes the sign-in page of your application and the locations in the login request payload of data such as the username and password.
Use the AWSManagedRulesBotControlRuleSet configuration object to configure the \n protection level that you want the Bot Control rule group to use.
For example specifications, see the examples section of CreateWebACL.
" } }, "com.amazonaws.wafv2#ManagedRuleGroupConfigs": { "type": "list", "member": { "target": "com.amazonaws.wafv2#ManagedRuleGroupConfig" } }, "com.amazonaws.wafv2#ManagedRuleGroupStatement": { "type": "structure", "members": { "VendorName": { "target": "com.amazonaws.wafv2#VendorName", "traits": { "smithy.api#documentation": "The name of the managed rule group vendor. You use this, along with the rule group name, to identify a rule group.
", "smithy.api#required": {} } }, "Name": { "target": "com.amazonaws.wafv2#EntityName", "traits": { "smithy.api#documentation": "The name of the managed rule group. You use this, along with the vendor name, to identify the rule group.
", "smithy.api#required": {} } }, "Version": { "target": "com.amazonaws.wafv2#VersionKeyString", "traits": { "smithy.api#documentation": "The version of the managed rule group to use. If you specify this, the version setting\n is fixed until you change it. If you don't specify this, WAF uses the vendor's\n default version, and then keeps the version at the vendor's default when the vendor updates\n the managed rule group settings.
" } }, "ExcludedRules": { "target": "com.amazonaws.wafv2#ExcludedRules", "traits": { "smithy.api#documentation": "Rules in the referenced rule group whose actions are set to Count.
Instead of this option, use RuleActionOverrides. It accepts any valid action setting, including Count.
An optional nested statement that narrows the scope of the web requests that are\n evaluated by the managed rule group. Requests are only evaluated by the rule group if they\n match the scope-down statement. You can use any nestable Statement in the\n scope-down statement, and you can nest statements at any level, the same as you can for a\n rule statement.
" } }, "ManagedRuleGroupConfigs": { "target": "com.amazonaws.wafv2#ManagedRuleGroupConfigs", "traits": { "smithy.api#documentation": "Additional information that's used by a managed rule group. Many managed rule groups don't require this.
\nThe rule groups used for intelligent threat mitigation require additional configuration:
\nUse the AWSManagedRulesACFPRuleSet configuration object to configure the account creation fraud prevention managed rule group. The configuration includes the registration and sign-up pages of your application and the locations in the account creation request payload of data, such as the user email and phone number fields.
Use the AWSManagedRulesAntiDDoSRuleSet configuration object to configure the anti-DDoS managed rule group. The configuration includes the sensitivity levels to use in the rules that typically block and challenge requests that might be participating in DDoS attacks and the specification to use to indicate whether a request can handle a silent browser challenge.
Use the AWSManagedRulesATPRuleSet configuration object to configure the account takeover prevention managed rule group. The configuration includes the sign-in page of your application and the locations in the login request payload of data such as the username and password.
Use the AWSManagedRulesBotControlRuleSet configuration object to configure the \n protection level that you want the Bot Control rule group to use.
Action settings to use in the place of the rule actions that are configured inside the rule group. You specify one override for each rule whose action you want to change.
\nVerify the rule names in your overrides carefully. With managed rule groups, WAF silently ignores any override that uses an invalid rule name. With customer-owned rule groups, invalid rule names in your overrides will cause web ACL updates to fail. An invalid rule name is any name that doesn't exactly match the case-sensitive name of an existing rule in the rule group.
\nYou can use overrides for testing, for example you can override all of rule actions to Count and then monitor the resulting count metrics to understand how the rule group would handle your web traffic. You can also permanently override some or all actions, to modify how the rule group manages your web traffic.
A rule statement used to run the rules that are defined in a managed rule group. To use this, provide the vendor name and the name of the rule group in this statement. You can retrieve the required names by calling ListAvailableManagedRuleGroups.
\nYou cannot nest a ManagedRuleGroupStatement, for example for use inside a NotStatement or OrStatement. You cannot use a managed rule group \n inside another rule group. You can only reference a managed rule group as a top-level statement within a rule that you define in a web ACL.
You are charged additional fees when you use the WAF Bot Control managed rule group AWSManagedRulesBotControlRuleSet, the WAF Fraud Control account takeover prevention (ATP) managed rule group AWSManagedRulesATPRuleSet, or the WAF Fraud Control account creation fraud prevention (ACFP) managed rule group AWSManagedRulesACFPRuleSet. For more information, see WAF Pricing.
The name of the managed rule group vendor. You use this, along with the rule group name, to identify a rule group.
" } }, "Name": { "target": "com.amazonaws.wafv2#EntityName", "traits": { "smithy.api#documentation": "The name of the managed rule group. You use this, along with the vendor name, to identify the rule group.
" } }, "VersioningSupported": { "target": "com.amazonaws.wafv2#Boolean", "traits": { "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the managed rule group is versioned. If it is, you can retrieve the\n versions list by calling ListAvailableManagedRuleGroupVersions.
" } }, "Description": { "target": "com.amazonaws.wafv2#EntityDescription", "traits": { "smithy.api#documentation": "The description of the managed rule group, provided by Amazon Web Services Managed Rules or the Amazon Web Services Marketplace seller who manages it.
" } } }, "traits": { "smithy.api#documentation": "High-level information about a managed rule group, returned by ListAvailableManagedRuleGroups. This provides information like the name and vendor name, that you provide when you add a ManagedRuleGroupStatement to a web ACL. Managed rule groups include Amazon Web Services Managed Rules rule groups and Amazon Web Services Marketplace managed rule groups. To use any Amazon Web Services Marketplace managed rule group, first subscribe to the rule group through Amazon Web Services Marketplace.
" } }, "com.amazonaws.wafv2#ManagedRuleGroupVersion": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.wafv2#VersionKeyString", "traits": { "smithy.api#documentation": "The version name.
" } }, "LastUpdateTimestamp": { "target": "com.amazonaws.wafv2#Timestamp", "traits": { "smithy.api#documentation": "The date and time that the managed rule group owner updated the rule group version\n information.
" } } }, "traits": { "smithy.api#documentation": "Describes a single version of a managed rule group.
" } }, "com.amazonaws.wafv2#ManagedRuleGroupVersions": { "type": "list", "member": { "target": "com.amazonaws.wafv2#ManagedRuleGroupVersion" } }, "com.amazonaws.wafv2#ManagedRuleSet": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.wafv2#EntityName", "traits": { "smithy.api#documentation": "The name of the managed rule set. You use this, along with the rule set ID, to identify the rule set.
\nThis name is assigned to the corresponding managed rule group, which your customers can access and use.
", "smithy.api#required": {} } }, "Id": { "target": "com.amazonaws.wafv2#EntityId", "traits": { "smithy.api#documentation": "A unique identifier for the managed rule set. The ID is returned in the responses to commands like list. You provide it to operations like get and update.
The Amazon Resource Name (ARN) of the entity.
", "smithy.api#required": {} } }, "Description": { "target": "com.amazonaws.wafv2#EntityDescription", "traits": { "smithy.api#documentation": "A description of the set that helps with identification.
" } }, "PublishedVersions": { "target": "com.amazonaws.wafv2#PublishedVersions", "traits": { "smithy.api#documentation": "The versions of this managed rule set that are available for use by customers.
" } }, "RecommendedVersion": { "target": "com.amazonaws.wafv2#VersionKeyString", "traits": { "smithy.api#documentation": "The version that you would like your customers to use.
" } }, "LabelNamespace": { "target": "com.amazonaws.wafv2#LabelName", "traits": { "smithy.api#documentation": "The label namespace prefix for the managed rule groups that are offered to customers from this managed rule set. All labels that are added by rules in the managed rule group have this prefix.
\nThe syntax for the label namespace prefix for a managed rule group is the following:
\n\n awswaf:managed::
When a rule with a label matches a web request, WAF adds the fully qualified label to the request. A fully qualified label is made up of the label namespace from the rule group or web ACL where the rule is defined and the label from the rule, separated by a colon:
\n\n \n
A set of rules that is managed by Amazon Web Services and Amazon Web Services Marketplace sellers to provide versioned managed\n rule groups for customers of WAF.
\nThis is intended for use only by vendors of managed rule sets. Vendors are Amazon Web Services and Amazon Web Services Marketplace sellers.
\nVendors, you can use the managed rule set APIs to provide controlled rollout of your versioned managed rule group offerings for your customers. The APIs are ListManagedRuleSets, GetManagedRuleSet, PutManagedRuleSetVersions, and UpdateManagedRuleSetVersionExpiryDate.
The name of the managed rule set. You use this, along with the rule set ID, to identify the rule set.
\nThis name is assigned to the corresponding managed rule group, which your customers can access and use.
" } }, "Id": { "target": "com.amazonaws.wafv2#EntityId", "traits": { "smithy.api#documentation": "A unique identifier for the managed rule set. The ID is returned in the responses to commands like list. You provide it to operations like get and update.
A description of the set that helps with identification.
" } }, "LockToken": { "target": "com.amazonaws.wafv2#LockToken", "traits": { "smithy.api#documentation": "A token used for optimistic locking. WAF returns a token to your get and list requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like update and delete. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException. If this happens, perform another get, and use the new token returned by that operation.
The Amazon Resource Name (ARN) of the entity.
" } }, "LabelNamespace": { "target": "com.amazonaws.wafv2#LabelName", "traits": { "smithy.api#documentation": "The label namespace prefix for the managed rule groups that are offered to customers from this managed rule set. All labels that are added by rules in the managed rule group have this prefix.
\nThe syntax for the label namespace prefix for a managed rule group is the following:
\n\n awswaf:managed::
When a rule with a label matches a web request, WAF adds the fully qualified label to the request. A fully qualified label is made up of the label namespace from the rule group or web ACL where the rule is defined and the label from the rule, separated by a colon:
\n\n \n
High-level information for a managed rule set.
\nThis is intended for use only by vendors of managed rule sets. Vendors are Amazon Web Services and Amazon Web Services Marketplace sellers.
\nVendors, you can use the managed rule set APIs to provide controlled rollout of your versioned managed rule group offerings for your customers. The APIs are ListManagedRuleSets, GetManagedRuleSet, PutManagedRuleSetVersions, and UpdateManagedRuleSetVersionExpiryDate.
The Amazon Resource Name (ARN) of the vendor rule group that's used to define the\n published version of your managed rule group.
" } }, "Capacity": { "target": "com.amazonaws.wafv2#CapacityUnit", "traits": { "smithy.api#documentation": "The web ACL capacity units (WCUs) required for this rule group.
\nWAF uses WCUs to calculate and control the operating\n resources that are used to run your rules, rule groups, and web ACLs. WAF\n calculates capacity differently for each rule type, to reflect the relative cost of each rule. \n Simple rules that cost little to run use fewer WCUs than more complex rules\n\t\t\t\tthat use more processing power. \n\t\t\t\tRule group capacity is fixed at creation, which helps users plan their \n web ACL WCU usage when they use a rule group. For more information, see WAF web ACL capacity units (WCU) \n in the WAF Developer Guide.
" } }, "ForecastedLifetime": { "target": "com.amazonaws.wafv2#TimeWindowDay", "traits": { "smithy.api#documentation": "The amount of time you expect this version of your managed rule group to last, in days.\n
" } }, "PublishTimestamp": { "target": "com.amazonaws.wafv2#Timestamp", "traits": { "smithy.api#documentation": "The time that you first published this version.
\nTimes are in Coordinated Universal Time (UTC) format. UTC format includes the special designator, Z. For example, \"2016-09-27T14:50Z\".
" } }, "LastUpdateTimestamp": { "target": "com.amazonaws.wafv2#Timestamp", "traits": { "smithy.api#documentation": "The last time that you updated this version.
\nTimes are in Coordinated Universal Time (UTC) format. UTC format includes the special designator, Z. For example, \"2016-09-27T14:50Z\".
" } }, "ExpiryTimestamp": { "target": "com.amazonaws.wafv2#Timestamp", "traits": { "smithy.api#documentation": "The time that this version is set to expire.
\nTimes are in Coordinated Universal Time (UTC) format. UTC format includes the special designator, Z. For example, \"2016-09-27T14:50Z\".
" } } }, "traits": { "smithy.api#documentation": "Information for a single version of a managed rule set.
\nThis is intended for use only by vendors of managed rule sets. Vendors are Amazon Web Services and Amazon Web Services Marketplace sellers.
\nVendors, you can use the managed rule set APIs to provide controlled rollout of your versioned managed rule group offerings for your customers. The APIs are ListManagedRuleSets, GetManagedRuleSet, PutManagedRuleSetVersions, and UpdateManagedRuleSetVersionExpiryDate.
Inspect the HTTP method of the web request. The method indicates the type of operation\n that the request is asking the origin to perform.
\nThis is used in the FieldToMatch specification for some web request component types.
\nJSON specification: \"Method\": {}\n
The release version.
" } }, "Timestamp": { "target": "com.amazonaws.wafv2#Timestamp", "traits": { "smithy.api#documentation": "The timestamp of the release.
" } }, "ReleaseNotes": { "target": "com.amazonaws.wafv2#ReleaseNotes", "traits": { "smithy.api#documentation": "Notes describing the release.
" } }, "Tags": { "target": "com.amazonaws.wafv2#TagList", "traits": { "smithy.api#documentation": "Tags that are associated with the release.
" } } }, "traits": { "smithy.api#documentation": "Information for a release of the mobile SDK, including release notes and tags.
\nThe mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage WAF tokens for use in HTTP(S) requests from a mobile device to WAF. For more information, see \nWAF client application integration in the WAF Developer Guide.
" } }, "com.amazonaws.wafv2#MonetizationAmountValue": { "type": "string" }, "com.amazonaws.wafv2#MonetizationConfig": { "type": "structure", "members": { "CryptoConfig": { "target": "com.amazonaws.wafv2#CryptoConfig", "traits": { "smithy.api#documentation": "The cryptocurrency payment configuration, including the blockchain networks and wallet addresses where you receive payments.
" } }, "ConnectedAccountConfigs": { "target": "com.amazonaws.wafv2#ConnectedAccountConfigs", "traits": { "smithy.api#documentation": "The connected account configurations for settling AI bot payments through a connected account with a supported third-party payment provider (Stripe), as an alternative to the self-managed wallets in CryptoConfig. You can provide CryptoConfig, ConnectedAccountConfigs, or both; however, a given blockchain network (chain) can be used by only one of them. Currently supports exactly one connected account.
Specifies whether the configuration uses real or test currency. If not specified, defaults to REAL. Connected account configurations support production settlement only; TEST is not supported when ConnectedAccountConfigs is present.
Valid values:
\n\n REAL - Settle payments in USDC on production blockchain networks (Base, Solana).
\n TEST - Settle on testnet networks (Base Sepolia, Solana Devnet) with tokens that have no monetary value.
The monetization configuration for a web ACL or rule group. Specifies the payment settlement options (self-managed crypto wallets in CryptoConfig, a connected account in ConnectedAccountConfigs, or both) and the currency mode for artificial intelligence (AI) bot monetization. You must provide this configuration when any rule in the web ACL or rule group uses the Monetize action.
The filter name. Format: Key is a string, Value is a list of strings.
\nEnum-restricted (invalid values rejected):
\n\n CurrencyMode: REAL, TEST\n
\n ChainName: BASE, SOLANA, BASE_SEPOLIA, SOLANA_DEVNET\n
\n SettlementStatus: SETTLED, PENDING, FAILED, SERVICE_ERROR, SKIPPED_ORIGIN_ERROR, DUPLICATE\n
\n HttpSourceName: CF, ALB, APIGW, APPRUNNER, COGNITO, VERIFIED_ACCESS\n
ARN-validated:
\n\n WebACLArn: valid WAFv2 web ACL ARN
Free-text (any string up to 256 chars):
\n\n SourceName: The name of the bot. Populated from Bot Control verified bot labels.
\n SourceCategory: The category classification of the bot. From Bot Control categorization.
\n Intent: The declared intent of the bot request.
\n Organization: The organization operating the bot.
\n UriPathPrefix: The URI path of the request that was monetized.
\n RequestId: The WAF request ID associated with the transaction. Matches the requestId in WAF logs. Pattern: ^[a-zA-Z0-9:._\\-=+/]+$\n
\n TransactionId: The blockchain transaction identifier. Pattern: ^[a-zA-Z0-9:._\\-=+/]+$\n
\n TerminatingRuleName: The name of the WAF rule that triggered the Monetize action.
\n PayerAddress: The blockchain wallet address of the paying client. Pattern: ^[a-zA-Z0-9:._\\-=+/]+$\n
\n HttpSourceId: The identifier of the Amazon Web Services resource associated with the web ACL (for example, CloudFront distribution ID).
The values to filter on. Specify as a list of strings. Results match any of the specified values (OR logic). Duplicate values are silently deduplicated. Maximum: 20 values per filter.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "A filter for narrowing monetization statistics and settlement record results. Specify a filter name and one or more values to match.
\nFilter behavior:
\nMultiple values within one filter: OR (match any)
\nMultiple filters: AND (all must match)
\nNo duplicate filter names allowed (rejected with error)
\nDuplicate values within a filter are silently deduplicated
\nIf no CurrencyMode filter is specified, defaults to REAL\n
An integer multiplier applied to the base price defined in the web ACL's MonetizationConfig. The effective price for the request is the base price multiplied by this value. Specify as a string. Valid values: 1 to 100.
Specifies the monetize action settings for a rule. When WAF applies this action, it returns an HTTP 402 Payment Required response containing pricing information that the requesting client uses to complete payment and gain access to the resource. This is a terminating action-if the client does not complete the 402 payment flow, the request is blocked. This action is available only for web ACLs associated with Amazon CloudFront distributions. You must configure a MonetizationConfig on the web ACL or rule group before adding rules that use this action. You cannot use the Monetize action for rate-based rules.
Specifies that WAF should do nothing. This is used for the\n OverrideAction setting on a Rule when the rule uses a\n rule group reference statement.
This is used in the context of other settings, for example to specify values for RuleAction and web ACL DefaultAction.
\nJSON specification: \"None\": {}\n
The statement to negate. You can use any statement that can be nested.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "A logical rule statement used to negate the results of another rule statement. You provide one Statement within the NotStatement.
The level of DDoS protection that applies to web ACLs associated with Application Load Balancers. ACTIVE_UNDER_DDOS protection is enabled by default whenever a web ACL is associated with an Application Load Balancer. \n In the event that an Application Load Balancer experiences high-load conditions or suspected DDoS attacks, the ACTIVE_UNDER_DDOS protection automatically rate limits traffic from known low reputation sources without disrupting Application Load Balancer availability. \n ALWAYS_ON protection provides constant, always-on monitoring of known low reputation sources for suspected DDoS attacks. While this provides a higher level of protection, there may be potential impacts on legitimate traffic.
Configures the level of DDoS protection that applies to web ACLs associated with Application Load Balancers.
" } }, "com.amazonaws.wafv2#OrStatement": { "type": "structure", "members": { "Statements": { "target": "com.amazonaws.wafv2#Statements", "traits": { "smithy.api#documentation": "The statements to combine with OR logic. You can use any statements that can be\n nested.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "A logical rule statement used to combine other rule statements with OR logic. You provide more than one Statement within the OrStatement.
Override the rule group evaluation result to count only.
\nThis option is usually set to none. It does not affect how the rules in the rule group are evaluated. If you want the rules in the rule group to only count \n matches, do not use this and instead use the rule action override option, with Count action, in your rule group reference statement settings.
Don't override the rule group evaluation result. This is the most common setting.
" } } }, "traits": { "smithy.api#documentation": "The action to use in the place of the action that results from the rule group evaluation. Set the override action to none to leave the result of the rule group alone. Set it to count to override the result to count only.
\nYou can only use this for rule statements that reference a rule group, like RuleGroupReferenceStatement and ManagedRuleGroupStatement.
This option is usually set to none. It does not affect how the rules in the rule group are evaluated. If you want the rules in the rule group to only count \n matches, do not use this and instead use the rule action override option, with Count action, in your rule group reference statement settings.
The name of the password field.
\nHow you specify this depends on the request inspection payload type.
\nFor JSON payloads, specify the field name in JSON\n pointer syntax. For information about the JSON Pointer\n syntax, see the Internet Engineering Task Force (IETF)\n documentation JavaScript\n \tObject Notation (JSON) Pointer.
\nFor example, for the JSON payload { \"form\": { \"password\": \"THE_PASSWORD\" } }, \n the password field specification is /form/password.
For form encoded payload types, use the HTML form names.
\nFor example, for an HTML form with the input element\n named password1, the password field specification is password1.
The name of the field in the request payload that contains your customer's password.
\nThis data type is used in the RequestInspection and RequestInspectionACFP data types.
Information about the bot filter that was applied to generate these statistics. This field is only populated when you filter by bot category, organization, or name.
" } }, "Path": { "target": "com.amazonaws.wafv2#PathString", "traits": { "smithy.api#documentation": "The URI path. For example, /api/ or /api/v1/users.
The number of requests to this path within the specified time window.
", "smithy.api#required": {} } }, "Percentage": { "target": "com.amazonaws.wafv2#PercentageValue", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "The percentage of total requests that were made to this path.
", "smithy.api#required": {} } }, "TopBots": { "target": "com.amazonaws.wafv2#BotStatisticsList", "traits": { "smithy.api#documentation": "The list of top bots accessing this path, ordered by request count. The number of bots included is determined by the \n NumberOfTopTrafficBotsPerPath parameter in the request.
Statistics about bot traffic to a specific URI path, including the path, request count, percentage of total traffic, and the top bots accessing that path.
" } }, "com.amazonaws.wafv2#PathStatisticsLimit": { "type": "integer", "traits": { "smithy.api#range": { "min": 1, "max": 100 } } }, "com.amazonaws.wafv2#PathStatisticsList": { "type": "list", "member": { "target": "com.amazonaws.wafv2#PathStatistics" } }, "com.amazonaws.wafv2#PathString": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 512 } } }, "com.amazonaws.wafv2#PayloadType": { "type": "enum", "members": { "JSON": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "JSON" } }, "FORM_ENCODED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "FORM_ENCODED" } } } }, "com.amazonaws.wafv2#PaymentNetwork": { "type": "structure", "members": { "Chain": { "target": "com.amazonaws.wafv2#BlockchainChain", "traits": { "smithy.api#documentation": "The blockchain network for receiving payments. Production networks: BASE (Base mainnet), SOLANA (Solana mainnet). Test networks: BASE_SEPOLIA (Base Sepolia testnet), SOLANA_DEVNET (Solana Devnet).
Your wallet address on the specified blockchain where payments are sent. For EVM chains (Base, Base Sepolia), provide a valid Ethereum address (42 characters including 0x prefix). For Solana chains, provide a valid Base58-encoded public key (32-44 characters).
\nFor EVM addresses, WAF performs EIP-55 checksum validation for typo detection when the address uses a mix of lower and upper case letters. You can bypass this validation by providing the address in all lowercase or all uppercase.
", "smithy.api#required": {} } }, "Prices": { "target": "com.amazonaws.wafv2#Prices", "traits": { "smithy.api#documentation": "The price configuration for this payment network. Currently supports a single price entry in USDC.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "A blockchain payment network configuration for receiving AI bot monetization payments. Specifies the blockchain chain, your wallet address on that chain, and the price per request.
" } }, "com.amazonaws.wafv2#PaymentNetworks": { "type": "list", "member": { "target": "com.amazonaws.wafv2#PaymentNetwork" }, "traits": { "smithy.api#length": { "min": 1, "max": 2 } } }, "com.amazonaws.wafv2#PercentageValue": { "type": "double", "traits": { "smithy.api#default": 0, "smithy.api#range": { "min": 0.0, "max": 100.0 } } }, "com.amazonaws.wafv2#PhoneNumberField": { "type": "structure", "members": { "Identifier": { "target": "com.amazonaws.wafv2#FieldIdentifier", "traits": { "smithy.api#documentation": "The name of a single primary phone number field.
\nHow you specify the phone number fields depends on the request inspection payload type.
\nFor JSON payloads, specify the field identifiers in JSON\n pointer syntax. For information about the JSON Pointer\n syntax, see the Internet Engineering Task Force (IETF)\n documentation JavaScript\n \tObject Notation (JSON) Pointer.
\nFor example, for the JSON payload { \"form\": { \"primaryphoneline1\": \"THE_PHONE1\", \"primaryphoneline2\": \"THE_PHONE2\", \"primaryphoneline3\": \"THE_PHONE3\" } }, \n the phone number field identifiers are /form/primaryphoneline1, /form/primaryphoneline2, and /form/primaryphoneline3.
For form encoded payload types, use the HTML form names.
\nFor example, for an HTML form with input elements\n named primaryphoneline1, primaryphoneline2, and primaryphoneline3, the phone number field identifiers are primaryphoneline1, primaryphoneline2, and primaryphoneline3.
The name of a field in the request payload that contains part or all of your customer's primary phone number.
\nThis data type is used in the RequestInspectionACFP data type.
Sets the relative processing order for the pre-parse text transformations that you define.\n WAF processes all transformations, from lowest priority value to highest,\n before inspecting the transformed content.
", "smithy.api#required": {} } }, "Type": { "target": "com.amazonaws.wafv2#PreParseTextTransformationType", "traits": { "smithy.api#documentation": "The type of pre-parse text transformation to apply to the raw query string.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "A pre-parse text transformation that normalizes the raw query string before WAF parses\n it into individual query arguments. Pre-parse text transformations are only supported when\n FieldToMatch is SingleQueryArgument or AllQueryArguments.
The price per request as a decimal string in the specified currency. Minimum: 0.001. Maximum: 999999999.999. Supports up to 3 decimal places.
", "smithy.api#required": {} } }, "Currency": { "target": "com.amazonaws.wafv2#CryptoCurrency", "traits": { "smithy.api#documentation": "The cryptocurrency for payment. Currently only USDC is supported.
The price per request for a payment network, specifying the amount and cryptocurrency.
" } }, "com.amazonaws.wafv2#PriceAmount": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 13 }, "smithy.api#pattern": "^([1-9][0-9]*(\\.[0-9]{1,3})?|0\\.([1-9][0-9]{0,2}|0[1-9][0-9]?|00[1-9]))$" } }, "com.amazonaws.wafv2#PriceMultiplier": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 3 }, "smithy.api#pattern": "^([1-9][0-9]?|100)$" } }, "com.amazonaws.wafv2#Prices": { "type": "list", "member": { "target": "com.amazonaws.wafv2#Price" }, "traits": { "smithy.api#length": { "min": 1, "max": 1 } } }, "com.amazonaws.wafv2#PricingPlanFeatureName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 128 }, "smithy.api#pattern": "^[\\w\\-]+$" } }, "com.amazonaws.wafv2#ProductDescription": { "type": "string", "traits": { "smithy.api#length": { "min": 1 }, "smithy.api#pattern": "\\S" } }, "com.amazonaws.wafv2#ProductId": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 128 }, "smithy.api#pattern": "\\S" } }, "com.amazonaws.wafv2#ProductLink": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 2048 }, "smithy.api#pattern": "\\S" } }, "com.amazonaws.wafv2#ProductTitle": { "type": "string", "traits": { "smithy.api#length": { "min": 1 }, "smithy.api#pattern": "\\S" } }, "com.amazonaws.wafv2#PublishedVersions": { "type": "map", "key": { "target": "com.amazonaws.wafv2#VersionKeyString" }, "value": { "target": "com.amazonaws.wafv2#ManagedRuleSetVersion" } }, "com.amazonaws.wafv2#PutLoggingConfiguration": { "type": "operation", "input": { "target": "com.amazonaws.wafv2#PutLoggingConfigurationRequest" }, "output": { "target": "com.amazonaws.wafv2#PutLoggingConfigurationResponse" }, "errors": [ { "target": "com.amazonaws.wafv2#WAFFeatureNotIncludedInPricingPlanException" }, { "target": "com.amazonaws.wafv2#WAFInternalErrorException" }, { "target": "com.amazonaws.wafv2#WAFInvalidOperationException" }, { "target": "com.amazonaws.wafv2#WAFInvalidParameterException" }, { "target": "com.amazonaws.wafv2#WAFLimitsExceededException" }, { "target": "com.amazonaws.wafv2#WAFLogDestinationPermissionIssueException" }, { "target": "com.amazonaws.wafv2#WAFNonexistentItemException" }, { "target": "com.amazonaws.wafv2#WAFOptimisticLockException" }, { "target": "com.amazonaws.wafv2#WAFServiceLinkedRoleErrorException" } ], "traits": { "smithy.api#documentation": "Enables the specified LoggingConfiguration, to start logging from a\n web ACL, according to the configuration provided.
\nIf you configure data protection for the web ACL, the protection applies to the data that WAF sends to the logs.
\nThis operation completely replaces any mutable specifications that you already have for a logging configuration with the ones that you provide to this call.
\nTo modify an existing logging configuration, do the following:
\nRetrieve it by calling GetLoggingConfiguration\n
\nUpdate its settings as needed
\nProvide the complete logging configuration specification to this call
\nYou can define one logging destination per web ACL.
\nYou can access information about the traffic that WAF inspects using the following\n steps:
\nCreate your logging destination. You can use an Amazon CloudWatch Logs log group, an Amazon Simple Storage Service (Amazon S3) bucket, or an Amazon Kinesis Data Firehose.
\nThe name that you give the destination must start with aws-waf-logs-. Depending on the type of destination, you might need to configure additional settings or permissions.
For configuration requirements and pricing information for each destination type, see \n Logging web ACL traffic \n in the WAF Developer Guide.
\nAssociate your logging destination to your web ACL using a\n PutLoggingConfiguration request.
When you successfully enable logging using a PutLoggingConfiguration\n request, WAF creates an additional role or policy that is required to write\n logs to the logging destination. For an Amazon CloudWatch Logs log group, WAF creates a resource policy on the log group.\n For an Amazon S3 bucket, WAF creates a bucket policy. For an Amazon Kinesis Data Firehose, WAF creates a service-linked role.
For additional information about web ACL logging, see \n Logging web ACL traffic information \n in the WAF Developer Guide.
" } }, "com.amazonaws.wafv2#PutLoggingConfigurationRequest": { "type": "structure", "members": { "LoggingConfiguration": { "target": "com.amazonaws.wafv2#LoggingConfiguration", "traits": { "smithy.api#documentation": "", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.wafv2#PutLoggingConfigurationResponse": { "type": "structure", "members": { "LoggingConfiguration": { "target": "com.amazonaws.wafv2#LoggingConfiguration", "traits": { "smithy.api#documentation": "" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.wafv2#PutManagedRuleSetVersions": { "type": "operation", "input": { "target": "com.amazonaws.wafv2#PutManagedRuleSetVersionsRequest" }, "output": { "target": "com.amazonaws.wafv2#PutManagedRuleSetVersionsResponse" }, "errors": [ { "target": "com.amazonaws.wafv2#WAFInternalErrorException" }, { "target": "com.amazonaws.wafv2#WAFInvalidOperationException" }, { "target": "com.amazonaws.wafv2#WAFInvalidParameterException" }, { "target": "com.amazonaws.wafv2#WAFNonexistentItemException" }, { "target": "com.amazonaws.wafv2#WAFOptimisticLockException" } ], "traits": { "smithy.api#documentation": "Defines the versions of your managed rule set that you are offering to the customers.\n Customers see your offerings as managed rule groups with versioning.
\nThis is intended for use only by vendors of managed rule sets. Vendors are Amazon Web Services and Amazon Web Services Marketplace sellers.
\nVendors, you can use the managed rule set APIs to provide controlled rollout of your versioned managed rule group offerings for your customers. The APIs are ListManagedRuleSets, GetManagedRuleSet, PutManagedRuleSetVersions, and UpdateManagedRuleSetVersionExpiryDate.
Customers retrieve their managed rule group list by calling ListAvailableManagedRuleGroups. The name that you provide here for your\n managed rule set is the name the customer sees for the corresponding managed rule group.\n Customers can retrieve the available versions for a managed rule group by calling ListAvailableManagedRuleGroupVersions. You provide a rule group\n specification for each version. For each managed rule set, you must specify a version that\n you recommend using.
\nTo initiate the expiration of a managed rule group version, use UpdateManagedRuleSetVersionExpiryDate.
" } }, "com.amazonaws.wafv2#PutManagedRuleSetVersionsRequest": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.wafv2#EntityName", "traits": { "smithy.api#documentation": "The name of the managed rule set. You use this, along with the rule set ID, to identify the rule set.
\nThis name is assigned to the corresponding managed rule group, which your customers can access and use.
", "smithy.api#required": {} } }, "Scope": { "target": "com.amazonaws.wafv2#Scope", "traits": { "smithy.api#documentation": "Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For an Amplify application, use CLOUDFRONT.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
\nCLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1.
API and SDKs - For all calls, use the Region endpoint us-east-1.
\nA unique identifier for the managed rule set. The ID is returned in the responses to commands like list. You provide it to operations like get and update.
A token used for optimistic locking. WAF returns a token to your get and list requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like update and delete. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException. If this happens, perform another get, and use the new token returned by that operation.
The version of the named managed rule group that you'd like your customers to choose,\n from among your version offerings.
" } }, "VersionsToPublish": { "target": "com.amazonaws.wafv2#VersionsToPublish", "traits": { "smithy.api#documentation": "The versions of the named managed rule group that you want to offer to your customers.\n
" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.wafv2#PutManagedRuleSetVersionsResponse": { "type": "structure", "members": { "NextLockToken": { "target": "com.amazonaws.wafv2#LockToken", "traits": { "smithy.api#documentation": "A token used for optimistic locking. WAF returns a token to your get and list requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like update and delete. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException. If this happens, perform another get, and use the new token returned by that operation.
Use this to share a rule group with other accounts.
\nThis action attaches an IAM policy to the specified resource. You must be the owner of the rule group to perform this operation.
\nThis action is subject to the following restrictions:
\nYou can attach only one policy with each PutPermissionPolicy\n request.
The ARN in the request must be a valid WAF RuleGroup ARN and the\n rule group must exist in the same Region.
\nThe user making the request must be the owner of the rule group.
\nIf a rule group has been shared with your account, you can access it through the call GetRuleGroup, \n and you can reference it in CreateWebACL and UpdateWebACL. \n Rule groups that are shared with you don't appear in your WAF console rule groups listing.
The Amazon Resource Name (ARN) of the RuleGroup to which you want to\n attach the policy.
", "smithy.api#required": {} } }, "Policy": { "target": "com.amazonaws.wafv2#PolicyString", "traits": { "smithy.api#documentation": "The policy to attach to the specified rule group.
\nThe policy specifications must conform to the following:
\nThe policy must be composed using IAM Policy version 2012-10-17.
\nThe policy must include specifications for Effect, Action, and Principal.
\n Effect must specify Allow.
\n Action must specify wafv2:CreateWebACL, wafv2:UpdateWebACL, and \n wafv2:PutFirewallManagerRuleGroups and may optionally specify wafv2:GetRuleGroup. \n WAF rejects any extra actions or wildcard actions in the policy.
The policy must not include a Resource parameter.
For more information, see IAM Policies.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.wafv2#PutPermissionPolicyResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.wafv2#QueryString": { "type": "structure", "members": {}, "traits": { "smithy.api#documentation": "Inspect the query string of the web request. This is the part of a URL that appears\n after a ? character, if any.
This is used in the FieldToMatch specification for some web request component types.
\nJSON specification: \"QueryString\": {}\n
The limit on requests during the specified evaluation window for a single aggregation instance for the rate-based rule. \n If the rate-based statement includes a ScopeDownStatement, this limit is applied only to the\n requests that match the statement.
Examples:
\nIf you aggregate on just the IP address, this is the limit on requests from any single IP address.
\nIf you aggregate on the HTTP method and the query argument name \"city\", then this is the limit on\n requests for any single method, city pair.
\nThe amount of time, in seconds, that WAF\n should include in its request counts, looking back from the current time. For example, \n for a setting of 120, when WAF checks the rate, it counts the requests for the 2 minutes immediately preceding \n the current time. Valid settings are 60, 120, 300, and 600.
\nThis setting doesn't determine how often WAF checks the rate, but how far back it looks each \n time it checks. WAF checks the rate about every 10 seconds.
\nDefault: 300 (5 minutes)
Setting that indicates how to aggregate the request counts.
\nWeb requests that are missing any of the components specified in the aggregation keys\n are omitted from the rate-based rule evaluation and handling.
\n\n CONSTANT - Count and limit the requests that match the rate-based rule's scope-down \n statement. With this option, the counted requests aren't further aggregated. The scope-down statement \n is the only specification used. When the count of all requests that satisfy the scope-down statement\n goes over the limit, WAF applies the rule action to all requests that satisfy the scope-down statement.
With this option, you must configure the ScopeDownStatement property.
\n CUSTOM_KEYS - Aggregate the request counts using one or more web request components as the aggregate keys.
With this option, you must specify the aggregate keys in the CustomKeys property.
To aggregate on only the IP address or only the forwarded IP address, don't use custom keys. Instead, set the aggregate\n key type to IP or FORWARDED_IP.
\n FORWARDED_IP - Aggregate the request counts on the first IP address in an HTTP header.
With this option, you must specify the header to use in the ForwardedIPConfig property.
To aggregate on a combination of the forwarded IP address with other aggregate keys, use CUSTOM_KEYS.
\n IP - Aggregate the request counts on the IP address from the web request\n origin.
To aggregate on a combination of the IP address with other aggregate keys, use CUSTOM_KEYS.
An optional nested statement that narrows the scope of the web requests that are\n evaluated and managed by the rate-based statement. When you use a scope-down statement, \n the rate-based rule only tracks and rate limits \n requests that match the scope-down statement. You can use any nestable Statement in the scope-down statement, and you can nest statements at any\n level, the same as you can for a rule statement.
" } }, "ForwardedIPConfig": { "target": "com.amazonaws.wafv2#ForwardedIPConfig", "traits": { "smithy.api#documentation": "The configuration for inspecting IP addresses in an HTTP header that you specify, instead of using the IP address that's reported by the web request origin. Commonly, this is the X-Forwarded-For (XFF) header, but you can specify any header name.
\nIf the specified header isn't present in the request, WAF doesn't apply the rule to the web request at all.
\nThis is required if you specify a forwarded IP in the rule's aggregate key settings.
" } }, "CustomKeys": { "target": "com.amazonaws.wafv2#RateBasedStatementCustomKeys", "traits": { "smithy.api#documentation": "Specifies the aggregate keys to use in a rate-base rule.
" } } }, "traits": { "smithy.api#documentation": "A rate-based rule counts incoming requests and rate limits requests when they are coming at too fast a rate. The rule categorizes requests according to your aggregation criteria, collects them into aggregation instances, and counts and rate limits the requests for each instance.
\nIf you change any of these settings in a rule that's currently in use, the change resets the rule's rate limiting counts. This can pause the rule's rate limiting activities for up to a minute.
\nYou can specify individual aggregation keys, like IP address or HTTP method. You can also specify aggregation key combinations, like IP address and HTTP method, or HTTP method, query argument, and cookie.
\nEach unique set of values for the aggregation keys that you specify is a separate aggregation instance, with the value from each key contributing to the aggregation instance definition.
\nFor example, assume the rule evaluates web requests with the following IP address and HTTP method values:
\nIP address 10.1.1.1, HTTP method POST
\nIP address 10.1.1.1, HTTP method GET
\nIP address 127.0.0.0, HTTP method POST
\nIP address 10.1.1.1, HTTP method GET
\nThe rule would create different aggregation instances according to your aggregation criteria, for example:
\nIf the aggregation criteria is just the IP address, then each individual address is an aggregation instance, and WAF counts requests separately for each. The aggregation instances and request counts for our example would be the following:
\nIP address 10.1.1.1: count 3
\nIP address 127.0.0.0: count 1
\nIf the aggregation criteria is HTTP method, then each individual HTTP method is an aggregation instance. The aggregation instances and request counts for our example would be the following:
\nHTTP method POST: count 2
\nHTTP method GET: count 2
\nIf the aggregation criteria is IP address and HTTP method, then each IP address and each HTTP method would contribute to the combined aggregation instance. The aggregation instances and request counts for our example would be the following:
\nIP address 10.1.1.1, HTTP method POST: count 1
\nIP address 10.1.1.1, HTTP method GET: count 2
\nIP address 127.0.0.0, HTTP method POST: count 1
\nFor any n-tuple of aggregation keys, each unique combination of values for the keys defines a separate aggregation instance, which WAF counts and rate-limits individually.
\nYou can optionally nest another statement inside the rate-based statement, to narrow the scope of the rule so that it only counts and rate limits requests that match the nested statement. You can use this nested scope-down statement in conjunction with your aggregation key specifications or you can just count and rate limit all requests that match the scope-down statement, without additional aggregation. When you choose to just manage all requests that match a scope-down statement, the aggregation instance is singular for the rule.
\nYou cannot nest a RateBasedStatement inside another statement, for example inside a NotStatement or OrStatement. You can define a RateBasedStatement inside a web ACL and inside a rule group.
For additional information about the options, see Rate limiting web requests using rate-based rules \n in the WAF Developer Guide.
\nIf you only aggregate on the individual IP address or forwarded IP address, you can retrieve the list of IP addresses that WAF \n is currently rate limiting for a rule through the API call GetRateBasedStatementManagedKeys. This option is not available\n for other aggregation configurations.
WAF tracks and manages web requests separately for each instance of a rate-based rule that you use. For example, if you provide the same rate-based rule settings in two web ACLs, each of the two rule statements represents a separate instance of the rate-based rule and gets its own tracking and management by WAF. If you define a rate-based rule inside a rule group, and then use that rule group in multiple places, each use creates a separate instance of the rate-based rule that gets its own tracking and management by WAF.
" } }, "com.amazonaws.wafv2#RateBasedStatementAggregateKeyType": { "type": "enum", "members": { "IP": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "IP" } }, "FORWARDED_IP": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "FORWARDED_IP" } }, "CUSTOM_KEYS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "CUSTOM_KEYS" } }, "CONSTANT": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "CONSTANT" } } } }, "com.amazonaws.wafv2#RateBasedStatementCustomKey": { "type": "structure", "members": { "Header": { "target": "com.amazonaws.wafv2#RateLimitHeader", "traits": { "smithy.api#documentation": "Use the value of a header in the request as an aggregate key. Each distinct value in the header contributes to the aggregation instance. If you use a single \n header as your custom key, then each value fully defines an aggregation instance.
" } }, "Cookie": { "target": "com.amazonaws.wafv2#RateLimitCookie", "traits": { "smithy.api#documentation": "Use the value of a cookie in the request as an aggregate key. Each distinct value in the cookie contributes to the aggregation instance. If you use a single\n cookie as your custom key, then each value fully defines an aggregation instance.
" } }, "QueryArgument": { "target": "com.amazonaws.wafv2#RateLimitQueryArgument", "traits": { "smithy.api#documentation": "Use the specified query argument as an aggregate key. Each distinct value for the named query argument contributes to the aggregation instance. If you \n use a single query argument as your custom key, then each value fully defines an aggregation instance.
" } }, "QueryString": { "target": "com.amazonaws.wafv2#RateLimitQueryString", "traits": { "smithy.api#documentation": "Use the request's query string as an aggregate key. Each distinct string contributes to the aggregation instance. If you use just the \n query string as your custom key, then each string fully defines an aggregation instance.
" } }, "HTTPMethod": { "target": "com.amazonaws.wafv2#RateLimitHTTPMethod", "traits": { "smithy.api#documentation": "Use the request's HTTP method as an aggregate key. Each distinct HTTP method contributes to the aggregation instance. If you use just the HTTP method\n as your custom key, then each method fully defines an aggregation instance.
" } }, "ForwardedIP": { "target": "com.amazonaws.wafv2#RateLimitForwardedIP", "traits": { "smithy.api#documentation": "Use the first IP address in an HTTP header as an aggregate key. Each distinct forwarded IP address contributes to the aggregation instance.
\nWhen you specify an IP or forwarded IP in the custom key settings, you must also specify at least one other key to use.\n You can aggregate on only the forwarded IP address by specifying FORWARDED_IP in your rate-based statement's AggregateKeyType.
With this option, you must specify the header to use in the rate-based rule's ForwardedIPConfig property.
Use the request's originating IP address as an aggregate key. Each distinct IP address contributes to the aggregation instance.
\nWhen you specify an IP or forwarded IP in the custom key settings, you must also specify at least one other key to use.\n You can aggregate on only the IP address by specifying IP in your rate-based statement's AggregateKeyType.
Use the specified label namespace as an aggregate key. Each distinct fully qualified label name that has the specified label namespace contributes to the aggregation instance. If you use just one label namespace as your custom key, then each label name fully defines an aggregation instance.
\nThis uses only labels that have been added to the request by rules that are evaluated before this rate-based rule in the web ACL.
\nFor information about label namespaces and names, see \n Label syntax and naming requirements in the WAF Developer Guide.
" } }, "UriPath": { "target": "com.amazonaws.wafv2#RateLimitUriPath", "traits": { "smithy.api#documentation": "Use the request's URI path as an aggregate key. Each distinct URI path contributes to the aggregation instance. If you use just the \n URI path as your custom key, then each URI path fully defines an aggregation instance.
" } }, "JA3Fingerprint": { "target": "com.amazonaws.wafv2#RateLimitJA3Fingerprint", "traits": { "smithy.api#documentation": "\n Use the request's JA3 fingerprint as an aggregate key. If you use a single\n JA3 fingerprint as your custom key, then each value fully defines an aggregation instance. \n
" } }, "JA4Fingerprint": { "target": "com.amazonaws.wafv2#RateLimitJA4Fingerprint", "traits": { "smithy.api#documentation": "Use the request's JA4 fingerprint as an aggregate key. If you use a single\n JA4 fingerprint as your custom key, then each value fully defines an aggregation instance.
" } }, "ASN": { "target": "com.amazonaws.wafv2#RateLimitAsn", "traits": { "smithy.api#documentation": "Use an Autonomous System Number (ASN) derived from the request's originating or forwarded IP address as an aggregate key. \n Each distinct ASN contributes to the aggregation instance.
" } } }, "traits": { "smithy.api#documentation": "Specifies a single custom aggregate key for a rate-base rule.
\nWeb requests that are missing any of the components specified in the aggregation keys\n are omitted from the rate-based rule evaluation and handling.
\nThe version of the IP addresses, either IPV4 or IPV6.
The IP addresses that are currently blocked.
" } } }, "traits": { "smithy.api#documentation": "The set of IP addresses that are currently blocked for a RateBasedStatement. This is only available for rate-based rules \n that aggregate on just the IP address, with the AggregateKeyType set to IP or FORWARDED_IP.
A rate-based rule applies its rule action to requests from IP addresses that are in the rule's managed keys list and that match the rule's scope-down statement. When a rule has no scope-down statement, it applies the action to all requests from the IP addresses that are in the list. The rule applies its rule action to rate limit the matching requests. The action is usually Block but it can be any valid rule action except for Allow.
\nThe maximum number of IP addresses that can be rate limited by a single rate-based rule instance is 10,000. If more than 10,000 addresses exceed the rate limit, WAF limits those with the highest rates.
" } }, "com.amazonaws.wafv2#RateLimit": { "type": "long", "traits": { "smithy.api#range": { "min": 10, "max": 2000000000 } } }, "com.amazonaws.wafv2#RateLimitAsn": { "type": "structure", "members": {}, "traits": { "smithy.api#documentation": "Specifies an Autonomous System Number (ASN) derived from the request's originating or forwarded IP address as an aggregate key for a rate-based rule. \n Each distinct ASN contributes to the aggregation instance. \n If you use a single ASN as your custom key, then each ASN fully defines an aggregation instance.
" } }, "com.amazonaws.wafv2#RateLimitCookie": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.wafv2#FieldToMatchData", "traits": { "smithy.api#documentation": "The name of the cookie to use.
", "smithy.api#required": {} } }, "TextTransformations": { "target": "com.amazonaws.wafv2#TextTransformations", "traits": { "smithy.api#documentation": "Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. Text transformations are used in rule match statements, to transform the FieldToMatch request component before inspecting it, and they're used in rate-based rule statements, to transform request components before using them as custom aggregation keys. If you specify one or more transformations to apply, WAF performs all transformations on the specified content, starting from the lowest priority setting, and then uses the transformed component contents.
Specifies a cookie as an aggregate key for a rate-based rule. Each distinct value in the cookie contributes to the aggregation instance. If you use a single\n cookie as your custom key, then each value fully defines an aggregation instance.
" } }, "com.amazonaws.wafv2#RateLimitForwardedIP": { "type": "structure", "members": {}, "traits": { "smithy.api#documentation": "Specifies the first IP address in an HTTP header as an aggregate key for a rate-based rule. Each distinct forwarded IP address contributes to the aggregation instance.
\nThis setting is used only in the RateBasedStatementCustomKey specification of a rate-based rule statement.\n When you specify an IP or forwarded IP in the custom key settings, you must also specify at least one other key to use.\n You can aggregate on only the forwarded IP address by specifying FORWARDED_IP in your rate-based statement's AggregateKeyType.
This data type supports using the forwarded IP address in the web request aggregation for a rate-based rule, in RateBasedStatementCustomKey. The JSON specification for using the forwarded IP address doesn't explicitly use this data type.
JSON specification: \"ForwardedIP\": {}\n
When you use this specification, you must also configure the forwarded IP address in the rate-based statement's ForwardedIPConfig.
Specifies the request's HTTP method as an aggregate key for a rate-based rule. Each distinct HTTP method contributes to the aggregation instance. If you use just the HTTP method\n as your custom key, then each method fully defines an aggregation instance.
\nJSON specification: \"RateLimitHTTPMethod\": {}\n
The name of the header to use.
", "smithy.api#required": {} } }, "TextTransformations": { "target": "com.amazonaws.wafv2#TextTransformations", "traits": { "smithy.api#documentation": "Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. Text transformations are used in rule match statements, to transform the FieldToMatch request component before inspecting it, and they're used in rate-based rule statements, to transform request components before using them as custom aggregation keys. If you specify one or more transformations to apply, WAF performs all transformations on the specified content, starting from the lowest priority setting, and then uses the transformed component contents.
Specifies a header as an aggregate key for a rate-based rule. Each distinct value in the header contributes to the aggregation instance. If you use a single \n header as your custom key, then each value fully defines an aggregation instance.
" } }, "com.amazonaws.wafv2#RateLimitIP": { "type": "structure", "members": {}, "traits": { "smithy.api#documentation": "Specifies the IP address in the web request as an aggregate key for a rate-based rule. Each distinct IP address contributes to the aggregation instance.
\nThis setting is used only in the RateBasedStatementCustomKey specification of a rate-based rule statement.\n To use this in the custom key settings, you must specify at least one other key to use, along with the IP address. \n To aggregate on only the IP address, in your rate-based statement's AggregateKeyType, specify IP.
JSON specification: \"RateLimitIP\": {}\n
The match status to assign to the web request if there is insufficient TSL Client Hello information to compute the JA3 fingerprint.
\nYou can specify the following fallback behaviors:
\n\n MATCH - Treat the web request as matching the rule statement. WAF applies the rule action to the request.
\n NO_MATCH - Treat the web request as not matching the rule statement.
\n Use the request's JA3 fingerprint derived from the TLS Client Hello of an incoming request as an aggregate key. If you use a single\n JA3 fingerprint as your custom key, then each value fully defines an aggregation instance.\n
" } }, "com.amazonaws.wafv2#RateLimitJA4Fingerprint": { "type": "structure", "members": { "FallbackBehavior": { "target": "com.amazonaws.wafv2#FallbackBehavior", "traits": { "smithy.api#documentation": "The match status to assign to the web request if there is insufficient TSL Client Hello information to compute the JA4 fingerprint.
\nYou can specify the following fallback behaviors:
\n\n MATCH - Treat the web request as matching the rule statement. WAF applies the rule action to the request.
\n NO_MATCH - Treat the web request as not matching the rule statement.
Use the request's JA4 fingerprint derived from the TLS Client Hello of an incoming request as an aggregate key. If you use a single\n JA4 fingerprint as your custom key, then each value fully defines an aggregation instance.
" } }, "com.amazonaws.wafv2#RateLimitLabelNamespace": { "type": "structure", "members": { "Namespace": { "target": "com.amazonaws.wafv2#LabelNamespace", "traits": { "smithy.api#documentation": "The namespace to use for aggregation.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Specifies a label namespace to use as an aggregate key for a rate-based rule. Each distinct fully qualified label name that has the specified label namespace contributes to the aggregation instance. If you use just one label namespace as your custom key, then each label name fully defines an aggregation instance.
\nThis uses only labels that have been added to the request by rules that are evaluated before this rate-based rule in the web ACL.
\nFor information about label namespaces and names, see \n Label syntax and naming requirements in the WAF Developer Guide.
" } }, "com.amazonaws.wafv2#RateLimitQueryArgument": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.wafv2#FieldToMatchData", "traits": { "smithy.api#documentation": "The name of the query argument to use.
", "smithy.api#required": {} } }, "TextTransformations": { "target": "com.amazonaws.wafv2#TextTransformations", "traits": { "smithy.api#documentation": "Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. Text transformations are used in rule match statements, to transform the FieldToMatch request component before inspecting it, and they're used in rate-based rule statements, to transform request components before using them as custom aggregation keys. If you specify one or more transformations to apply, WAF performs all transformations on the specified content, starting from the lowest priority setting, and then uses the transformed component contents.
Specifies a query argument in the request as an aggregate key for a rate-based rule. Each distinct value for the named query argument contributes to the aggregation instance. If you \n use a single query argument as your custom key, then each value fully defines an aggregation instance.
" } }, "com.amazonaws.wafv2#RateLimitQueryString": { "type": "structure", "members": { "TextTransformations": { "target": "com.amazonaws.wafv2#TextTransformations", "traits": { "smithy.api#documentation": "Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. Text transformations are used in rule match statements, to transform the FieldToMatch request component before inspecting it, and they're used in rate-based rule statements, to transform request components before using them as custom aggregation keys. If you specify one or more transformations to apply, WAF performs all transformations on the specified content, starting from the lowest priority setting, and then uses the transformed component contents.
Specifies the request's query string as an aggregate key for a rate-based rule. Each distinct string contributes to the aggregation instance. If you use just the \n query string as your custom key, then each string fully defines an aggregation instance.
" } }, "com.amazonaws.wafv2#RateLimitUriPath": { "type": "structure", "members": { "TextTransformations": { "target": "com.amazonaws.wafv2#TextTransformations", "traits": { "smithy.api#documentation": "Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. Text transformations are used in rule match statements, to transform the FieldToMatch request component before inspecting it, and they're used in rate-based rule statements, to transform request components before using them as custom aggregation keys. If you specify one or more transformations to apply, WAF performs all transformations on the specified content, starting from the lowest priority setting, and then uses the transformed component contents.
Specifies the request's URI path as an aggregate key for a rate-based rule. Each distinct URI path contributes to the aggregation instance. If you use just the \n URI path as your custom key, then each URI path fully defines an aggregation instance.
" } }, "com.amazonaws.wafv2#RedactedFields": { "type": "list", "member": { "target": "com.amazonaws.wafv2#FieldToMatch" }, "traits": { "smithy.api#length": { "min": 0, "max": 100 } } }, "com.amazonaws.wafv2#Regex": { "type": "structure", "members": { "RegexString": { "target": "com.amazonaws.wafv2#RegexPatternString", "traits": { "smithy.api#documentation": "The string representing the regular expression. WAF enforces a quota on the maximum number of characters in a regex pattern. For the current limit, see WAF quotas in the WAF Developer Guide.
" } } }, "traits": { "smithy.api#documentation": "A single regular expression. This is used in a RegexPatternSet and \n also in the configuration for the Amazon Web Services Managed Rules rule group AWSManagedRulesAntiDDoSRuleSet.
The string representing the regular expression. WAF enforces a quota on the maximum number of characters in a regex pattern. For the current limit, see WAF quotas in the WAF Developer Guide.
", "smithy.api#required": {} } }, "FieldToMatch": { "target": "com.amazonaws.wafv2#FieldToMatch", "traits": { "smithy.api#documentation": "The part of the web request that you want WAF to inspect.
", "smithy.api#required": {} } }, "TextTransformations": { "target": "com.amazonaws.wafv2#TextTransformations", "traits": { "smithy.api#documentation": "Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. Text transformations are used in rule match statements, to transform the FieldToMatch request component before inspecting it, and they're used in rate-based rule statements, to transform request components before using them as custom aggregation keys. If you specify one or more transformations to apply, WAF performs all transformations on the specified content, starting from the lowest priority setting, and then uses the transformed component contents.
Pre-parse text transformations normalize the raw query string before WAF parses it into individual\n query arguments. They are applied before the standard text transformations. Pre-parse text transformations\n are only supported when FieldToMatch is SingleQueryArgument or\n AllQueryArguments. You can specify up to 10 pre-parse text transformations per rule statement.
A rule statement used to search web request components for a match against a single regular expression.
" } }, "com.amazonaws.wafv2#RegexPatternSet": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.wafv2#EntityName", "traits": { "smithy.api#documentation": "The name of the set. You cannot change the name after you create the set.
" } }, "Id": { "target": "com.amazonaws.wafv2#EntityId", "traits": { "smithy.api#documentation": "A unique identifier for the set. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.
" } }, "ARN": { "target": "com.amazonaws.wafv2#ResourceArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the entity.
" } }, "Description": { "target": "com.amazonaws.wafv2#EntityDescription", "traits": { "smithy.api#documentation": "A description of the set that helps with identification.
" } }, "RegularExpressionList": { "target": "com.amazonaws.wafv2#RegularExpressionList", "traits": { "smithy.api#documentation": "The regular expression patterns in the set.
" } } }, "traits": { "smithy.api#documentation": "Contains one or more regular expressions.
\nWAF assigns an ARN to each RegexPatternSet that you create. To use a\n set in a rule, you provide the ARN to the Rule statement RegexPatternSetReferenceStatement.
The Amazon Resource Name (ARN) of the RegexPatternSet that this\n statement references.
", "smithy.api#required": {} } }, "FieldToMatch": { "target": "com.amazonaws.wafv2#FieldToMatch", "traits": { "smithy.api#documentation": "The part of the web request that you want WAF to inspect.
", "smithy.api#required": {} } }, "TextTransformations": { "target": "com.amazonaws.wafv2#TextTransformations", "traits": { "smithy.api#documentation": "Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. Text transformations are used in rule match statements, to transform the FieldToMatch request component before inspecting it, and they're used in rate-based rule statements, to transform request components before using them as custom aggregation keys. If you specify one or more transformations to apply, WAF performs all transformations on the specified content, starting from the lowest priority setting, and then uses the transformed component contents.
Pre-parse text transformations normalize the raw query string before WAF parses it into individual\n query arguments. They are applied before the standard text transformations. Pre-parse text transformations\n are only supported when FieldToMatch is SingleQueryArgument or\n AllQueryArguments. You can specify up to 10 pre-parse text transformations per rule statement.
A rule statement used to search web request components for matches with regular expressions. To use this, create a RegexPatternSet that specifies the expressions that you want to detect, then use the ARN of that set in this statement. A web request matches the pattern set rule statement if the request component matches any of the patterns in the set. To create a regex pattern set, see CreateRegexPatternSet.
\nEach regex pattern set rule statement references a regex pattern set. You create and maintain the set independent of your rules. This allows you to use the single set in multiple rules. When you update the referenced set, WAF automatically updates all rules that reference it.
" } }, "com.amazonaws.wafv2#RegexPatternSetSummaries": { "type": "list", "member": { "target": "com.amazonaws.wafv2#RegexPatternSetSummary" } }, "com.amazonaws.wafv2#RegexPatternSetSummary": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.wafv2#EntityName", "traits": { "smithy.api#documentation": "The name of the data type instance. You cannot change the name after you create the instance.
" } }, "Id": { "target": "com.amazonaws.wafv2#EntityId", "traits": { "smithy.api#documentation": "A unique identifier for the set. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.
" } }, "Description": { "target": "com.amazonaws.wafv2#EntityDescription", "traits": { "smithy.api#documentation": "A description of the set that helps with identification.
" } }, "LockToken": { "target": "com.amazonaws.wafv2#LockToken", "traits": { "smithy.api#documentation": "A token used for optimistic locking. WAF returns a token to your get and list requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like update and delete. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException. If this happens, perform another get, and use the new token returned by that operation.
The Amazon Resource Name (ARN) of the entity.
" } } }, "traits": { "smithy.api#documentation": "High-level information about a RegexPatternSet, returned by operations like create and list. This provides information like the ID, that you can use to retrieve and manage a RegexPatternSet, and the ARN, that you provide to the RegexPatternSetReferenceStatement to use the pattern set in a Rule.
The release version.
" } }, "Timestamp": { "target": "com.amazonaws.wafv2#Timestamp", "traits": { "smithy.api#documentation": "The timestamp of the release.
" } } }, "traits": { "smithy.api#documentation": "High level information for an SDK release.
" } }, "com.amazonaws.wafv2#RequestBody": { "type": "map", "key": { "target": "com.amazonaws.wafv2#AssociatedResourceType" }, "value": { "target": "com.amazonaws.wafv2#RequestBodyAssociatedResourceTypeConfig" } }, "com.amazonaws.wafv2#RequestBodyAssociatedResourceTypeConfig": { "type": "structure", "members": { "DefaultSizeInspectionLimit": { "target": "com.amazonaws.wafv2#SizeInspectionLimit", "traits": { "smithy.api#documentation": "Specifies the maximum size of the web request body component that an associated CloudFront, API Gateway, Amazon Cognito, App Runner, or Verified Access resource should send to WAF for inspection. This applies to statements in the web ACL that inspect the body or JSON body.
\nDefault: 16 KB (16,384 bytes)\n
Customizes the maximum size of the request body that your protected CloudFront, API Gateway, Amazon Cognito, App Runner, and Verified Access resources forward to WAF for inspection. The default size is 16 KB (16,384 bytes). You can change the setting for any of the available resource types.
\nYou are charged additional fees when your protected resources forward body sizes that are larger than the default. For more information, see WAF Pricing.
\nExample JSON: {\n \"API_GATEWAY\": \"KB_48\",\n \"APP_RUNNER_SERVICE\": \"KB_32\"\n }\n
For Application Load Balancer and AppSync, the limit is fixed at 8 KB (8,192 bytes).
\nThis is used in the AssociationConfig of the web ACL.
The payload type for your login endpoint, either JSON or form encoded.
", "smithy.api#required": {} } }, "UsernameField": { "target": "com.amazonaws.wafv2#UsernameField", "traits": { "smithy.api#documentation": "The name of the field in the request payload that contains your customer's username.
\nHow you specify this depends on the request inspection payload type.
\nFor JSON payloads, specify the field name in JSON\n pointer syntax. For information about the JSON Pointer\n syntax, see the Internet Engineering Task Force (IETF)\n documentation JavaScript\n \tObject Notation (JSON) Pointer.
\nFor example, for the JSON payload { \"form\": { \"username\": \"THE_USERNAME\" } }, \n the username field specification is /form/username.
For form encoded payload types, use the HTML form names.
\nFor example, for an HTML form with the input element\n named username1, the username field specification is\n username1\n
The name of the field in the request payload that contains your customer's password.
\nHow you specify this depends on the request inspection payload type.
\nFor JSON payloads, specify the field name in JSON\n pointer syntax. For information about the JSON Pointer\n syntax, see the Internet Engineering Task Force (IETF)\n documentation JavaScript\n \tObject Notation (JSON) Pointer.
\nFor example, for the JSON payload { \"form\": { \"password\": \"THE_PASSWORD\" } }, \n the password field specification is /form/password.
For form encoded payload types, use the HTML form names.
\nFor example, for an HTML form with the input element\n named password1, the password field specification is password1.
The criteria for inspecting login requests, used by the ATP rule group to validate credentials usage.
\nThis is part of the AWSManagedRulesATPRuleSet configuration in ManagedRuleGroupConfig.
In these settings, you specify how your application accepts login attempts\n by providing the request payload type and the names of the fields \n within the request body where the username and password are provided.
" } }, "com.amazonaws.wafv2#RequestInspectionACFP": { "type": "structure", "members": { "PayloadType": { "target": "com.amazonaws.wafv2#PayloadType", "traits": { "smithy.api#documentation": "The payload type for your account creation endpoint, either JSON or form encoded.
", "smithy.api#required": {} } }, "UsernameField": { "target": "com.amazonaws.wafv2#UsernameField", "traits": { "smithy.api#documentation": "The name of the field in the request payload that contains your customer's username.
\nHow you specify this depends on the request inspection payload type.
\nFor JSON payloads, specify the field name in JSON\n pointer syntax. For information about the JSON Pointer\n syntax, see the Internet Engineering Task Force (IETF)\n documentation JavaScript\n \tObject Notation (JSON) Pointer.
\nFor example, for the JSON payload { \"form\": { \"username\": \"THE_USERNAME\" } }, \n the username field specification is /form/username.
For form encoded payload types, use the HTML form names.
\nFor example, for an HTML form with the input element\n named username1, the username field specification is\n username1\n
The name of the field in the request payload that contains your customer's password.
\nHow you specify this depends on the request inspection payload type.
\nFor JSON payloads, specify the field name in JSON\n pointer syntax. For information about the JSON Pointer\n syntax, see the Internet Engineering Task Force (IETF)\n documentation JavaScript\n \tObject Notation (JSON) Pointer.
\nFor example, for the JSON payload { \"form\": { \"password\": \"THE_PASSWORD\" } }, \n the password field specification is /form/password.
For form encoded payload types, use the HTML form names.
\nFor example, for an HTML form with the input element\n named password1, the password field specification is password1.
The name of the field in the request payload that contains your customer's email.
\nHow you specify this depends on the request inspection payload type.
\nFor JSON payloads, specify the field name in JSON\n pointer syntax. For information about the JSON Pointer\n syntax, see the Internet Engineering Task Force (IETF)\n documentation JavaScript\n \tObject Notation (JSON) Pointer.
\nFor example, for the JSON payload { \"form\": { \"email\": \"THE_EMAIL\" } }, \n the email field specification is /form/email.
For form encoded payload types, use the HTML form names.
\nFor example, for an HTML form with the input element\n named email1, the email field specification is email1.
The names of the fields in the request payload that contain your customer's primary phone number.
\nOrder the phone number fields in the array exactly as they are ordered in the request payload.
\nHow you specify the phone number fields depends on the request inspection payload type.
\nFor JSON payloads, specify the field identifiers in JSON\n pointer syntax. For information about the JSON Pointer\n syntax, see the Internet Engineering Task Force (IETF)\n documentation JavaScript\n \tObject Notation (JSON) Pointer.
\nFor example, for the JSON payload { \"form\": { \"primaryphoneline1\": \"THE_PHONE1\", \"primaryphoneline2\": \"THE_PHONE2\", \"primaryphoneline3\": \"THE_PHONE3\" } }, \n the phone number field identifiers are /form/primaryphoneline1, /form/primaryphoneline2, and /form/primaryphoneline3.
For form encoded payload types, use the HTML form names.
\nFor example, for an HTML form with input elements\n named primaryphoneline1, primaryphoneline2, and primaryphoneline3, the phone number field identifiers are primaryphoneline1, primaryphoneline2, and primaryphoneline3.
The names of the fields in the request payload that contain your customer's primary physical address.
\nOrder the address fields in the array exactly as they are ordered in the request payload.
\nHow you specify the address fields depends on the request inspection payload type.
\nFor JSON payloads, specify the field identifiers in JSON\n pointer syntax. For information about the JSON Pointer\n syntax, see the Internet Engineering Task Force (IETF)\n documentation JavaScript\n \tObject Notation (JSON) Pointer.
\nFor example, for the JSON payload { \"form\": { \"primaryaddressline1\": \"THE_ADDRESS1\", \"primaryaddressline2\": \"THE_ADDRESS2\", \"primaryaddressline3\": \"THE_ADDRESS3\" } }, \n the address field idenfiers are /form/primaryaddressline1, /form/primaryaddressline2, and /form/primaryaddressline3.
For form encoded payload types, use the HTML form names.
\nFor example, for an HTML form with input elements\n named primaryaddressline1, primaryaddressline2, and primaryaddressline3, the address fields identifiers are primaryaddressline1, primaryaddressline2, and primaryaddressline3.
The criteria for inspecting account creation requests, used by the ACFP rule group to validate and track account creation attempts.
\nThis is part of the AWSManagedRulesACFPRuleSet configuration in ManagedRuleGroupConfig.
In these settings, you specify how your application accepts account creation attempts\n by providing the request payload type and the names of the fields \n within the request body where the username, password, email, and primary address and phone number fields are provided.
" } }, "com.amazonaws.wafv2#RequiredPricingPlanName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 64 }, "smithy.api#pattern": "^[\\w\\-]+$" } }, "com.amazonaws.wafv2#ResourceArn": { "type": "string", "traits": { "smithy.api#length": { "min": 20, "max": 2048 }, "smithy.api#pattern": "\\S" } }, "com.amazonaws.wafv2#ResourceArns": { "type": "list", "member": { "target": "com.amazonaws.wafv2#ResourceArn" } }, "com.amazonaws.wafv2#ResourceType": { "type": "enum", "members": { "APPLICATION_LOAD_BALANCER": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "APPLICATION_LOAD_BALANCER" } }, "API_GATEWAY": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "API_GATEWAY" } }, "APPSYNC": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "APPSYNC" } }, "COGNITIO_USER_POOL": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "COGNITO_USER_POOL" } }, "APP_RUNNER_SERVICE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "APP_RUNNER_SERVICE" } }, "VERIFIED_ACCESS_INSTANCE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "VERIFIED_ACCESS_INSTANCE" } }, "AMPLIFY": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "AMPLIFY" } }, "AGENTCORE_GATEWAY": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "AGENTCORE_GATEWAY" } } } }, "com.amazonaws.wafv2#ResponseCode": { "type": "integer" }, "com.amazonaws.wafv2#ResponseContent": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 10240 }, "smithy.api#pattern": "^[\\s\\S]*$" } }, "com.amazonaws.wafv2#ResponseContentType": { "type": "enum", "members": { "TEXT_PLAIN": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "TEXT_PLAIN" } }, "TEXT_HTML": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "TEXT_HTML" } }, "APPLICATION_JSON": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "APPLICATION_JSON" } } } }, "com.amazonaws.wafv2#ResponseInspection": { "type": "structure", "members": { "StatusCode": { "target": "com.amazonaws.wafv2#ResponseInspectionStatusCode", "traits": { "smithy.api#documentation": "Configures inspection of the response status code for success and failure indicators.
" } }, "Header": { "target": "com.amazonaws.wafv2#ResponseInspectionHeader", "traits": { "smithy.api#documentation": "Configures inspection of the response header for success and failure indicators.
" } }, "BodyContains": { "target": "com.amazonaws.wafv2#ResponseInspectionBodyContains", "traits": { "smithy.api#documentation": "Configures inspection of the response body for success and failure indicators. WAF can inspect the first 65,536 bytes (64 KB) of the response body.
" } }, "Json": { "target": "com.amazonaws.wafv2#ResponseInspectionJson", "traits": { "smithy.api#documentation": "Configures inspection of the response JSON for success and failure indicators. WAF can inspect the first 65,536 bytes (64 KB) of the response JSON.
" } } }, "traits": { "smithy.api#documentation": "The criteria for inspecting responses to login requests and account creation requests, used by the ATP and ACFP rule groups to track login and account creation success and failure rates.
\nResponse inspection is available only in web ACLs that protect Amazon CloudFront distributions.
\nThe rule groups evaluates the responses that your protected resources send back to client login and account creation attempts, keeping count of successful and failed attempts from each IP address and client session. Using this information, the rule group labels \n and mitigates requests from client sessions and IP addresses with too much suspicious activity in a short amount of time.
\nThis is part of the AWSManagedRulesATPRuleSet and AWSManagedRulesACFPRuleSet configurations in ManagedRuleGroupConfig.
Enable response inspection by configuring exactly one component of the response to inspect, for example, Header or StatusCode. You can't configure more than one component for inspection. If you don't configure any of the response inspection options, response inspection is disabled.
Strings in the body of the response that indicate a successful login or account creation attempt. To be counted as a success, the string can be anywhere in the body and must be an exact match, including case. Each string must be unique among the success and failure strings.
\nJSON examples: \"SuccessStrings\": [ \"Login successful\" ] and \"SuccessStrings\": [ \"Account creation successful\", \"Welcome to our site!\" ]\n
Strings in the body of the response that indicate a failed login or account creation attempt. To be counted as a failure, the string can be anywhere in the body and must be an exact match, including case. Each string must be unique among the success and failure strings.
\nJSON example: \"FailureStrings\": [ \"Request failed\" ]\n
Configures inspection of the response body. WAF can inspect the first 65,536 bytes (64 KB) of the response body. \n This is part of the ResponseInspection configuration for AWSManagedRulesATPRuleSet and AWSManagedRulesACFPRuleSet.
Response inspection is available only in web ACLs that protect Amazon CloudFront distributions.
\nThe name of the header to match against. The name must be an exact match, including case.
\nJSON example: \"Name\": [ \"RequestResult\" ]\n
Values in the response header with the specified name that indicate a successful login or account creation attempt. To be counted as a success, the value must be an exact match, including case. Each value must be unique among the success and failure values.
\nJSON examples: \"SuccessValues\": [ \"LoginPassed\", \"Successful login\" ] and \"SuccessValues\": [ \"AccountCreated\", \"Successful account creation\" ]\n
Values in the response header with the specified name that indicate a failed login or account creation attempt. To be counted as a failure, the value must be an exact match, including case. Each value must be unique among the success and failure values.
\nJSON examples: \"FailureValues\": [ \"LoginFailed\", \"Failed login\" ] and \"FailureValues\": [ \"AccountCreationFailed\" ]\n
Configures inspection of the response header. \n This is part of the ResponseInspection configuration for AWSManagedRulesATPRuleSet and AWSManagedRulesACFPRuleSet.
Response inspection is available only in web ACLs that protect Amazon CloudFront distributions.
\nThe identifier for the value to match against in the JSON. The identifier must be an exact match, including case.
\nJSON examples: \"Identifier\": [ \"/login/success\" ] and \"Identifier\": [ \"/sign-up/success\" ]\n
Values for the specified identifier in the response JSON that indicate a successful login or account creation attempt. To be counted as a success, the value must be an exact match, including case. Each value must be unique among the success and failure values.
\nJSON example: \"SuccessValues\": [ \"True\", \"Succeeded\" ]\n
Values for the specified identifier in the response JSON that indicate a failed login or account creation attempt. To be counted as a failure, the value must be an exact match, including case. Each value must be unique among the success and failure values.
\nJSON example: \"FailureValues\": [ \"False\", \"Failed\" ]\n
Configures inspection of the response JSON. WAF can inspect the first 65,536 bytes (64 KB) of the response JSON. \n This is part of the ResponseInspection configuration for AWSManagedRulesATPRuleSet and AWSManagedRulesACFPRuleSet.
Response inspection is available only in web ACLs that protect Amazon CloudFront distributions.
\nStatus codes in the response that indicate a successful login or account creation attempt. To be counted as a success, the response status code must match one of these. Each code must be unique among the success and failure status codes.
\nJSON example: \"SuccessCodes\": [ 200, 201 ]\n
Status codes in the response that indicate a failed login or account creation attempt. To be counted as a failure, the response status code must match one of these. Each code must be unique among the success and failure status codes.
\nJSON example: \"FailureCodes\": [ 400, 404 ]\n
Configures inspection of the response status code. \n This is part of the ResponseInspection configuration for AWSManagedRulesATPRuleSet and AWSManagedRulesACFPRuleSet.
Response inspection is available only in web ACLs that protect Amazon CloudFront distributions.
\nThe total revenue amount in the specified currency.
" } }, "VerifiedAmount": { "target": "com.amazonaws.wafv2#MonetizationAmountValue", "traits": { "smithy.api#documentation": "The revenue amount from verified AI bots.
" } }, "UnverifiedAmount": { "target": "com.amazonaws.wafv2#MonetizationAmountValue", "traits": { "smithy.api#documentation": "The revenue amount from unverified AI bots.
" } }, "Currency": { "target": "com.amazonaws.wafv2#Currency", "traits": { "smithy.api#documentation": "The currency of the revenue amounts.
" } }, "TotalSettled": { "target": "com.amazonaws.wafv2#RequestCount", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "The total number of successfully settled payment transactions.
" } }, "TotalMonetizeServed": { "target": "com.amazonaws.wafv2#RequestCount", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "The total number of HTTP 402 Payment Required responses served to AI agents.
" } } }, "traits": { "smithy.api#documentation": "A summary of AI bot monetization revenue, including total revenue, revenue by verification tier, and request counts.
" } }, "com.amazonaws.wafv2#RevenuePathStatistics": { "type": "structure", "members": { "Path": { "target": "com.amazonaws.wafv2#PathString", "traits": { "smithy.api#documentation": "The URI path.
", "smithy.api#required": {} } }, "Percentage": { "target": "com.amazonaws.wafv2#PercentageValue", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "The percentage of total revenue from this path.
", "smithy.api#required": {} } }, "Amount": { "target": "com.amazonaws.wafv2#MonetizationAmountValue", "traits": { "smithy.api#documentation": "The total revenue amount from this path in the specified currency.
", "smithy.api#required": {} } }, "RequestCount": { "target": "com.amazonaws.wafv2#RequestCount", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "The number of monetized requests to this path.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Revenue statistics for a single content path, including the path, revenue amount, and request count.
" } }, "com.amazonaws.wafv2#RevenuePathStatisticsList": { "type": "list", "member": { "target": "com.amazonaws.wafv2#RevenuePathStatistics" } }, "com.amazonaws.wafv2#Rule": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.wafv2#EntityName", "traits": { "smithy.api#documentation": "The name of the rule.
\nIf you change the name of a Rule after you create\n it and you want the rule's metric name to reflect the change, update the metric name in the rule's VisibilityConfig settings. WAF \n doesn't automatically update the metric name when you update the rule name.
If you define more than one Rule in a WebACL, WAF\n evaluates each request against the Rules in order based on the value of\n Priority. WAF processes rules with lower priority first. The priorities\n don't need to be consecutive, but they must all be different.
The WAF processing statement for the rule, for example ByteMatchStatement or SizeConstraintStatement.
", "smithy.api#required": {} } }, "Action": { "target": "com.amazonaws.wafv2#RuleAction", "traits": { "smithy.api#documentation": "The action that WAF should take on a web request when it matches the rule statement. Settings at the web ACL level can override the rule action setting.
\nThis is used only for rules whose statements do not reference a rule group. Rule statements that reference a rule group include RuleGroupReferenceStatement and ManagedRuleGroupStatement.
You must specify either this Action setting or the rule OverrideAction setting, but not both:
If the rule statement does not reference a rule group, use this rule action setting and not the rule override action setting.
\nIf the rule statement references a rule group, use the override action setting and not this action setting.
\nThe action to use in the place of the action that results from the rule group evaluation. Set the override action to none to leave the result of the rule group alone. Set it to count to override the result to count only.
\nYou can only use this for rule statements that reference a rule group, like RuleGroupReferenceStatement and ManagedRuleGroupStatement.
This option is usually set to none. It does not affect how the rules in the rule group are evaluated. If you want the rules in the rule group to only count \n matches, do not use this and instead use the rule action override option, with Count action, in your rule group reference statement settings.
Labels to apply to web requests that match the rule match statement. WAF applies\n fully qualified labels to matching web requests. A fully qualified label is the\n concatenation of a label namespace and a rule label. The rule's rule group or web ACL\n defines the label namespace.
\nAny rule that isn't a rule group reference statement or managed rule group statement can add labels to matching web requests.
\nRules that run after this rule in the web ACL can match against these labels using a\n LabelMatchStatement.
For each label, provide a case-sensitive string containing optional namespaces and a\n label name, according to the following guidelines:
\nSeparate each component of the label with a colon.
\nEach namespace or name can have up to 128 characters.
\nYou can specify up to 5 namespaces in a label.
\nDon't use the following reserved words in your label specification:\n aws, waf, managed, rulegroup,\n webacl, regexpatternset, or ipset.
For example, myLabelName or nameSpace1:nameSpace2:myLabelName.\n
Defines and enables Amazon CloudWatch metrics and web request sample collection.
\nIf you change the name of a Rule after you create\n it and you want the rule's metric name to reflect the change, update the metric name as well. WAF \n doesn't automatically update the metric name.
Specifies how WAF should handle CAPTCHA evaluations. If you don't specify this, WAF uses the CAPTCHA configuration that's defined for the web ACL.
Specifies how WAF should handle Challenge evaluations. If you don't specify this, WAF uses the challenge configuration that's defined for the web ACL.
A single rule, which you can use in a WebACL or RuleGroup to identify web requests that you want to manage in some way. \n Each rule includes one top-level Statement that WAF uses to\n identify matching web requests, and parameters that govern how WAF handles them.
" } }, "com.amazonaws.wafv2#RuleAction": { "type": "structure", "members": { "Block": { "target": "com.amazonaws.wafv2#BlockAction", "traits": { "smithy.api#documentation": "Instructs WAF to block the web request.
" } }, "Allow": { "target": "com.amazonaws.wafv2#AllowAction", "traits": { "smithy.api#documentation": "Instructs WAF to allow the web request.
" } }, "Count": { "target": "com.amazonaws.wafv2#CountAction", "traits": { "smithy.api#documentation": "Instructs WAF to count the web request and then continue evaluating the request using the remaining rules in the web ACL.
" } }, "Captcha": { "target": "com.amazonaws.wafv2#CaptchaAction", "traits": { "smithy.api#documentation": "Instructs WAF to run a CAPTCHA check against the web request.
Instructs WAF to run a Challenge check against the web request.
Instructs WAF to return an HTTP 402 Payment Required response with a price manifest. The requesting client can complete payment and resubmit the request to gain access. This is a terminating action-requests that do not complete payment are blocked. This action is available only for web ACLs associated with Amazon CloudFront distributions and requires a MonetizationConfig on the web ACL.
The action that WAF should take on a web request when it matches a rule's\n statement. Settings at the web ACL level can override the rule action setting.
" } }, "com.amazonaws.wafv2#RuleActionOverride": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.wafv2#EntityName", "traits": { "smithy.api#documentation": "The name of the rule to override.
\nVerify the rule names in your overrides carefully. With managed rule groups, WAF silently ignores any override that uses an invalid rule name. With customer-owned rule groups, invalid rule names in your overrides will cause web ACL updates to fail. An invalid rule name is any name that doesn't exactly match the case-sensitive name of an existing rule in the rule group.
\nThe override action to use, in place of the configured action of the rule in the rule group.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Action setting to use in the place of a rule action that is configured inside the rule group. You specify one override for each rule whose action you want to change.
\nVerify the rule names in your overrides carefully. With managed rule groups, WAF silently ignores any override that uses an invalid rule name. With customer-owned rule groups, invalid rule names in your overrides will cause web ACL updates to fail. An invalid rule name is any name that doesn't exactly match the case-sensitive name of an existing rule in the rule group.
\nYou can use overrides for testing, for example you can override all of rule actions to Count and then monitor the resulting count metrics to understand how the rule group would handle your web traffic. You can also permanently override some or all actions, to modify how the rule group manages your web traffic.
The name of the rule group. You cannot change the name of a rule group after you create it.
", "smithy.api#required": {} } }, "Id": { "target": "com.amazonaws.wafv2#EntityId", "traits": { "smithy.api#documentation": "A unique identifier for the rule group. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.
", "smithy.api#required": {} } }, "Capacity": { "target": "com.amazonaws.wafv2#CapacityUnit", "traits": { "smithy.api#documentation": "The web ACL capacity units (WCUs) required for this rule group.
\nWhen you create your own rule group, you define this, and you cannot change it after creation. \n When you add or modify the rules in a rule group, WAF enforces this limit. You can check the capacity \n for a set of rules using CheckCapacity.
\nWAF uses WCUs to calculate and control the operating\n resources that are used to run your rules, rule groups, and web ACLs. WAF\n calculates capacity differently for each rule type, to reflect the relative cost of each rule. \n Simple rules that cost little to run use fewer WCUs than more complex rules\n\t\t\t\tthat use more processing power. \n\t\t\t\tRule group capacity is fixed at creation, which helps users plan their \n web ACL WCU usage when they use a rule group. For more information, see WAF web ACL capacity units (WCU) \n in the WAF Developer Guide.
", "smithy.api#required": {} } }, "ARN": { "target": "com.amazonaws.wafv2#ResourceArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the entity.
", "smithy.api#required": {} } }, "Description": { "target": "com.amazonaws.wafv2#EntityDescription", "traits": { "smithy.api#documentation": "A description of the rule group that helps with identification.
" } }, "Rules": { "target": "com.amazonaws.wafv2#Rules", "traits": { "smithy.api#documentation": "The Rule statements used to identify the web requests that you \n want to manage. Each rule includes one top-level statement that WAF uses to identify matching \n web requests, and parameters that govern how WAF handles them. \n
" } }, "VisibilityConfig": { "target": "com.amazonaws.wafv2#VisibilityConfig", "traits": { "smithy.api#documentation": "Defines and enables Amazon CloudWatch metrics and web request sample collection.
", "smithy.api#required": {} } }, "LabelNamespace": { "target": "com.amazonaws.wafv2#LabelName", "traits": { "smithy.api#documentation": "The label namespace prefix for this rule group. All labels added by rules in this rule group have this prefix.
\nThe syntax for the label namespace prefix for your rule groups is the following:
\n\n awswaf:\n
When a rule with a label matches a web request, WAF adds the fully qualified label to the request. A fully qualified label is made up of the label namespace from the rule group or web ACL where the rule is defined and the label from the rule, separated by a colon:
\n\n \n
A map of custom response keys and content bodies. When you create a rule with a block action, you can send a custom response to the web request. You define these for the rule group, and then use them in the rules that you define in the rule group.
\nFor information about customizing web requests and responses, \n see Customizing web requests and responses in WAF \n in the WAF Developer Guide.
\nFor information about the limits on count and size for custom request and response settings, see WAF quotas \n in the WAF Developer Guide.
" } }, "AvailableLabels": { "target": "com.amazonaws.wafv2#LabelSummaries", "traits": { "smithy.api#documentation": "The labels that one or more rules in this rule group add to matching web requests. These labels are defined in the RuleLabels for a Rule.
The labels that one or more rules in this rule group match against in label match statements. These labels are defined in a LabelMatchStatement specification, in the Statement definition of a rule.
The monetization configuration for the rule group. Required when any rule in the rule group uses the Monetize action. When a rule group with a MonetizationConfig is used in a web ACL, the rule group's configuration applies to rules within that group unless overridden at the web ACL level.
A rule group defines a collection of rules to inspect and control web requests that you can use in a WebACL. When you create a rule group, you define an immutable capacity limit. If you update a rule group, you must stay within the capacity. This allows others to reuse the rule group with confidence in its capacity requirements.
" } }, "com.amazonaws.wafv2#RuleGroupReferenceStatement": { "type": "structure", "members": { "ARN": { "target": "com.amazonaws.wafv2#ResourceArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the entity.
", "smithy.api#required": {} } }, "ExcludedRules": { "target": "com.amazonaws.wafv2#ExcludedRules", "traits": { "smithy.api#documentation": "Rules in the referenced rule group whose actions are set to Count.
Instead of this option, use RuleActionOverrides. It accepts any valid action setting, including Count.
Action settings to use in the place of the rule actions that are configured inside the rule group. You specify one override for each rule whose action you want to change.
\nVerify the rule names in your overrides carefully. With managed rule groups, WAF silently ignores any override that uses an invalid rule name. With customer-owned rule groups, invalid rule names in your overrides will cause web ACL updates to fail. An invalid rule name is any name that doesn't exactly match the case-sensitive name of an existing rule in the rule group.
\nYou can use overrides for testing, for example you can override all of rule actions to Count and then monitor the resulting count metrics to understand how the rule group would handle your web traffic. You can also permanently override some or all actions, to modify how the rule group manages your web traffic.
A rule statement used to run the rules that are defined in a RuleGroup. To use this, create a rule group with your rules, then provide the ARN of the rule group in this statement.
\nYou cannot nest a RuleGroupReferenceStatement, for example for use inside a NotStatement or OrStatement. You cannot use a rule group\n reference statement inside another rule group. You can only reference a rule group as a top-level statement within a rule that you define in a web ACL.
The name of the data type instance. You cannot change the name after you create the instance.
" } }, "Id": { "target": "com.amazonaws.wafv2#EntityId", "traits": { "smithy.api#documentation": "A unique identifier for the rule group. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.
" } }, "Description": { "target": "com.amazonaws.wafv2#EntityDescription", "traits": { "smithy.api#documentation": "A description of the rule group that helps with identification.
" } }, "LockToken": { "target": "com.amazonaws.wafv2#LockToken", "traits": { "smithy.api#documentation": "A token used for optimistic locking. WAF returns a token to your get and list requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like update and delete. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException. If this happens, perform another get, and use the new token returned by that operation.
The Amazon Resource Name (ARN) of the entity.
" } } }, "traits": { "smithy.api#documentation": "High-level information about a RuleGroup, returned by operations like create and list. This provides information like the ID, that you can use to retrieve and manage a RuleGroup, and the ARN, that you provide to the RuleGroupReferenceStatement to use the rule group in a Rule.
The name of the rule.
" } }, "Action": { "target": "com.amazonaws.wafv2#RuleAction", "traits": { "smithy.api#documentation": "The action that WAF should take on a web request when it matches a rule's\n statement. Settings at the web ACL level can override the rule action setting.
" } } }, "traits": { "smithy.api#documentation": "High-level information about a Rule, returned by operations like DescribeManagedRuleGroup. This provides information like the ID, that you can use to retrieve and manage a RuleGroup, and the ARN, that you provide to the RuleGroupReferenceStatement to use the rule group in a Rule.
A complex type that contains detailed information about the request.
", "smithy.api#required": {} } }, "Weight": { "target": "com.amazonaws.wafv2#SampleWeight", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "A value that indicates how one result in the response relates proportionally to other\n results in the response. For example, a result that has a weight of 2\n represents roughly twice as many web requests as a result that has a weight of\n 1.
The time at which WAF received the request from your Amazon Web Services resource, in Unix time\n format (in seconds).
" } }, "Action": { "target": "com.amazonaws.wafv2#Action", "traits": { "smithy.api#documentation": "The action that WAF applied to the request.
" } }, "RuleNameWithinRuleGroup": { "target": "com.amazonaws.wafv2#EntityName", "traits": { "smithy.api#documentation": "The name of the Rule that the request matched. For managed rule groups, the\n format for this name is . For your own rule groups, the format for this name is . If the rule is not in a rule group, this field\n is absent.
Custom request headers inserted by WAF into the request, according to the custom\n request configuration for the matching rule action.
" } }, "ResponseCodeSent": { "target": "com.amazonaws.wafv2#ResponseStatusCode", "traits": { "smithy.api#documentation": "The response code that was sent for the request.
" } }, "Labels": { "target": "com.amazonaws.wafv2#Labels", "traits": { "smithy.api#documentation": "Labels applied to the web request by matching rules. WAF applies fully qualified\n labels to matching web requests. A fully qualified label is the concatenation of a label\n namespace and a rule label. The rule's rule group or web ACL defines the label namespace.
\nFor example,\n awswaf:111122223333:myRuleGroup:testRules:testNS1:testNS2:labelNameA or\n awswaf:managed:aws:managed-rule-set:header:encoding:utf8.
The CAPTCHA response for the request.
The Challenge response for the request.
Used only for rule group rules that have a rule action override in place in the web ACL. This is the action that the rule group rule is configured for, and not the action that was applied to the request. The action that WAF applied is the Action value.
Represents a single sampled web request. The response from GetSampledRequests includes a SampledHTTPRequests complex type\n that appears as SampledRequests in the response syntax.\n SampledHTTPRequests contains an array of SampledHTTPRequest\n objects.
The timestamp when the settlement was recorded.
", "smithy.api#required": {} } }, "PayerAddress": { "target": "com.amazonaws.wafv2#SettlementFilterString", "traits": { "smithy.api#documentation": "The blockchain wallet address of the paying AI agent.
" } }, "WalletAddress": { "target": "com.amazonaws.wafv2#SettlementFilterString", "traits": { "smithy.api#documentation": "Your receiving wallet address.
" } }, "Status": { "target": "com.amazonaws.wafv2#SettlementStatus", "traits": { "smithy.api#documentation": "The status of the settlement. Possible values:
\n\n SETTLED - The payment was successfully settled on the blockchain and the transfer from the payer's wallet to the publisher's wallet is confirmed. The TransactionId field contains the on-chain transaction hash. Content is served to the client.
\n PENDING - The blockchain transaction has been submitted but not yet confirmed on-chain. This is a transient state that automatically resolves to either SETTLED or FAILED. No action is required. While pending, content is not served and the API returns a 402 response. Clients can retry the request.
\n FAILED - The payment settlement was attempted but failed. Possible causes include insufficient funds, an expired payment authorization, or a reverted blockchain transaction. The failureReason field contains a machine-readable error code. Content is not served.
\n SERVICE_ERROR - Settlement could not be completed due to an internal service issue or an issue with the payment network. Content is not served. The client's payment authorization remains valid and the request can be retried.
\n SKIPPED_ORIGIN_ERROR - The origin returned a non-2xx response, so settlement was intentionally skipped. The client is not charged.
\n DUPLICATE - A prior request with the same payment payload has already been settled. This status typically appears when a previous attempt timed out but the payment was ultimately processed. The client is not charged again.
The payment amount in the specified currency.
", "smithy.api#required": {} } }, "Currency": { "target": "com.amazonaws.wafv2#Currency", "traits": { "smithy.api#documentation": "The currency of the payment amount.
" } }, "Network": { "target": "com.amazonaws.wafv2#SettlementFilterString", "traits": { "smithy.api#documentation": "The blockchain network on which the settlement occurred.
" } }, "TransactionId": { "target": "com.amazonaws.wafv2#SettlementIdString", "traits": { "smithy.api#documentation": "The blockchain transaction identifier. You can use this to verify the transaction on a blockchain explorer.
" } }, "RequestId": { "target": "com.amazonaws.wafv2#SettlementFilterString", "traits": { "smithy.api#documentation": "The WAF request ID associated with this settlement.
" } }, "SourceName": { "target": "com.amazonaws.wafv2#FilterString", "traits": { "smithy.api#documentation": "The name of the AI bot that made the payment.
" } }, "Organization": { "target": "com.amazonaws.wafv2#FilterString", "traits": { "smithy.api#documentation": "The organization associated with the AI bot.
" } }, "SourceCategory": { "target": "com.amazonaws.wafv2#FilterString", "traits": { "smithy.api#documentation": "The category of the AI bot source.
" } }, "Intent": { "target": "com.amazonaws.wafv2#FilterString", "traits": { "smithy.api#documentation": "The declared intent of the AI bot request.
" } }, "Verified": { "target": "com.amazonaws.wafv2#VerifiedStatus", "traits": { "smithy.api#default": false, "smithy.api#documentation": "Whether the AI bot's identity was verified.
" } }, "ContentPath": { "target": "com.amazonaws.wafv2#FilterString", "traits": { "smithy.api#documentation": "The content path that was accessed.
" } }, "WebAclArn": { "target": "com.amazonaws.wafv2#ResourceArn", "traits": { "smithy.api#documentation": "The ARN of the web ACL that processed the request.
" } }, "RequestTimestamp": { "target": "com.amazonaws.wafv2#Timestamp", "traits": { "smithy.api#documentation": "The timestamp of the original web request.
" } } }, "traits": { "smithy.api#documentation": "A single settlement transaction record for AI bot monetization. Contains details about the payment including timestamp, amount, status, and the parties involved.
" } }, "com.amazonaws.wafv2#SettlementRecordLimit": { "type": "integer", "traits": { "smithy.api#range": { "min": 1, "max": 100 } } }, "com.amazonaws.wafv2#SettlementRecordList": { "type": "list", "member": { "target": "com.amazonaws.wafv2#SettlementRecord" } }, "com.amazonaws.wafv2#SettlementSortBy": { "type": "enum", "members": { "TIMESTAMP": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "TIMESTAMP" } }, "AMOUNT": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "AMOUNT" } }, "NAME": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "NAME" } }, "STATUS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "STATUS" } } } }, "com.amazonaws.wafv2#SettlementStatus": { "type": "enum", "members": { "SETTLED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SETTLED" } }, "PENDING": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "PENDING" } }, "FAILED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "FAILED" } }, "SERVICE_ERROR": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SERVICE_ERROR" } }, "SKIPPED_ORIGIN_ERROR": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SKIPPED_ORIGIN_ERROR" } }, "DUPLICATE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "DUPLICATE" } } } }, "com.amazonaws.wafv2#SingleCookieName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 60 }, "smithy.api#pattern": "\\S" } }, "com.amazonaws.wafv2#SingleHeader": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.wafv2#FieldToMatchData", "traits": { "smithy.api#documentation": "The name of the query header to inspect.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Inspect one of the headers in the web request, identified by name, for example,\n User-Agent or Referer. The name isn't case sensitive.
You can filter and inspect all headers with the FieldToMatch setting\n Headers.
This is used to indicate the web request component to inspect, in the FieldToMatch specification.
\nExample JSON: \"SingleHeader\": { \"Name\": \"haystack\" }\n
The name of the query argument to inspect.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Inspect one query argument in the web request, identified by name, for example\n UserName or SalesRegion. The name isn't case\n sensitive.
\nThis is used to indicate the web request component to inspect, in the FieldToMatch specification.
\nExample JSON: \"SingleQueryArgument\": { \"Name\": \"myArgument\" }\n
The part of the web request that you want WAF to inspect.
", "smithy.api#required": {} } }, "ComparisonOperator": { "target": "com.amazonaws.wafv2#ComparisonOperator", "traits": { "smithy.api#documentation": "The operator to use to compare the request part to the size setting.
", "smithy.api#required": {} } }, "Size": { "target": "com.amazonaws.wafv2#Size", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "The size, in byte, to compare to the request part, after any transformations.
", "smithy.api#required": {} } }, "TextTransformations": { "target": "com.amazonaws.wafv2#TextTransformations", "traits": { "smithy.api#documentation": "Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. Text transformations are used in rule match statements, to transform the FieldToMatch request component before inspecting it, and they're used in rate-based rule statements, to transform request components before using them as custom aggregation keys. If you specify one or more transformations to apply, WAF performs all transformations on the specified content, starting from the lowest priority setting, and then uses the transformed component contents.
Pre-parse text transformations normalize the raw query string before WAF parses it into individual\n query arguments. They are applied before the standard text transformations. Pre-parse text transformations\n are only supported when FieldToMatch is SingleQueryArgument or\n AllQueryArguments. You can specify up to 10 pre-parse text transformations per rule statement.
A rule statement that compares a number of bytes against the size of a request component, using a comparison operator, such as greater than (>) or less than (<). For example, you can use a size constraint statement to look for query strings that are longer than 100 bytes.
\nIf you configure WAF to inspect the request body, WAF inspects only the number of bytes in the body up to the limit for the web ACL and protected resource type. If you know that the request body for your web requests should never exceed the inspection limit, you can use a size constraint statement to block requests that have a larger request body size. For more information about the inspection limits, see Body and JsonBody settings for the FieldToMatch data type.
If you choose URI for the value of Part of the request to filter on, the slash (/) in the URI counts as one character. For example, the URI /logo.jpg is nine characters long.
The name of the AI bot.
", "smithy.api#required": {} } }, "Percentage": { "target": "com.amazonaws.wafv2#PercentageValue", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "The percentage of total revenue from this source.
", "smithy.api#required": {} } }, "Amount": { "target": "com.amazonaws.wafv2#MonetizationAmountValue", "traits": { "smithy.api#documentation": "The total revenue amount from this source in the specified currency.
", "smithy.api#required": {} } }, "RequestCount": { "target": "com.amazonaws.wafv2#RequestCount", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "The number of monetized requests from this source.
", "smithy.api#required": {} } }, "SourceCategory": { "target": "com.amazonaws.wafv2#FilterString", "traits": { "smithy.api#documentation": "The category of this AI bot source.
" } }, "Intent": { "target": "com.amazonaws.wafv2#FilterString", "traits": { "smithy.api#documentation": "The declared intent of the AI bot (for example, summarize, index, or train).
" } }, "Organization": { "target": "com.amazonaws.wafv2#FilterString", "traits": { "smithy.api#documentation": "The organization associated with the AI bot.
" } }, "Verified": { "target": "com.amazonaws.wafv2#VerifiedStatus", "traits": { "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the AI bot's identity was verified \u2014 for example, through a cryptographically signed request (Web Bot Auth) or another published verification method. This value is meaningful only when GroupBy is NAME, where each result represents a single, identifiable bot. For all other GroupBy values (CATEGORY, INTENT, ORGANIZATION, or WEBACL), a result aggregates multiple bots that may have different verification states, so Verified is always returned as false and should be ignored. Type and required-ness are unchanged (Boolean, optional).
" } }, "GroupByValue": { "target": "com.amazonaws.wafv2#FilterString", "traits": { "smithy.api#documentation": "The value for the group-by dimension, when grouping is applied.
" } } }, "traits": { "smithy.api#documentation": "Revenue statistics for a single AI bot source, including the bot name, revenue amount, request count, and verification status.
" } }, "com.amazonaws.wafv2#SourceStatisticsList": { "type": "list", "member": { "target": "com.amazonaws.wafv2#SourceStatistics" } }, "com.amazonaws.wafv2#SourceType": { "type": "string" }, "com.amazonaws.wafv2#SqliMatchStatement": { "type": "structure", "members": { "FieldToMatch": { "target": "com.amazonaws.wafv2#FieldToMatch", "traits": { "smithy.api#documentation": "The part of the web request that you want WAF to inspect.
", "smithy.api#required": {} } }, "TextTransformations": { "target": "com.amazonaws.wafv2#TextTransformations", "traits": { "smithy.api#documentation": "Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. Text transformations are used in rule match statements, to transform the FieldToMatch request component before inspecting it, and they're used in rate-based rule statements, to transform request components before using them as custom aggregation keys. If you specify one or more transformations to apply, WAF performs all transformations on the specified content, starting from the lowest priority setting, and then uses the transformed component contents.
Pre-parse text transformations normalize the raw query string before WAF parses it into individual\n query arguments. They are applied before the standard text transformations. Pre-parse text transformations\n are only supported when FieldToMatch is SingleQueryArgument or\n AllQueryArguments. You can specify up to 10 pre-parse text transformations per rule statement.
The sensitivity that you want WAF to use to inspect for SQL injection attacks.
\n\n HIGH detects more attacks, but might generate more false positives, \n especially if your web requests frequently contain unusual strings. \n For information about identifying and mitigating false positives, see \n Testing and tuning in the \n WAF Developer Guide.
\n LOW is generally a better choice for resources that already have other \n protections against SQL injection attacks or that have a low tolerance for false positives.
Default: LOW\n
A rule statement that inspects for malicious SQL code. Attackers insert malicious SQL code into web requests to do things like modify your database or extract data from it.
" } }, "com.amazonaws.wafv2#Statement": { "type": "structure", "members": { "ByteMatchStatement": { "target": "com.amazonaws.wafv2#ByteMatchStatement", "traits": { "smithy.api#documentation": "A rule statement that defines a string match search for WAF to apply to web requests. The byte match statement provides the bytes to search for, the location in requests that you want WAF to search, and other settings. The bytes to search for are typically a string that corresponds with ASCII characters. In the WAF console and the developer guide, this is called a string match statement.
" } }, "SqliMatchStatement": { "target": "com.amazonaws.wafv2#SqliMatchStatement", "traits": { "smithy.api#documentation": "A rule statement that inspects for malicious SQL code. Attackers insert malicious SQL code into web requests to do things like modify your database or extract data from it.
" } }, "XssMatchStatement": { "target": "com.amazonaws.wafv2#XssMatchStatement", "traits": { "smithy.api#documentation": "A rule statement that inspects for cross-site scripting (XSS) attacks. In XSS attacks, the attacker \nuses vulnerabilities in a benign website as a vehicle to inject malicious client-site scripts into other legitimate web browsers.
" } }, "SizeConstraintStatement": { "target": "com.amazonaws.wafv2#SizeConstraintStatement", "traits": { "smithy.api#documentation": "A rule statement that compares a number of bytes against the size of a request component, using a comparison operator, such as greater than (>) or less than (<). For example, you can use a size constraint statement to look for query strings that are longer than 100 bytes.
\nIf you configure WAF to inspect the request body, WAF inspects only the number of bytes in the body up to the limit for the web ACL and protected resource type. If you know that the request body for your web requests should never exceed the inspection limit, you can use a size constraint statement to block requests that have a larger request body size. For more information about the inspection limits, see Body and JsonBody settings for the FieldToMatch data type.
If you choose URI for the value of Part of the request to filter on, the slash (/) in the URI counts as one character. For example, the URI /logo.jpg is nine characters long.
A rule statement that labels web requests by country and region and that matches against web requests based on country code. A geo match rule labels every request that it inspects regardless of whether it finds a match.
\nTo manage requests only by country, you can use this statement by itself and specify the countries that you want to match against in the CountryCodes array.
Otherwise, configure your geo match rule with Count action so that it only labels requests. Then, add one or more label match rules to run after the geo match rule and configure them to match against the geographic labels and handle the requests as needed.
\nWAF labels requests using the alpha-2 country and region codes from the International Organization for Standardization (ISO) 3166 standard. WAF determines the codes using either the IP address in the web request origin or, if you specify it, the address in the geo match ForwardedIPConfig.
If you use the web request origin, the label formats are awswaf:clientip:geo:region: and awswaf:clientip:geo:country:.
If you use a forwarded IP address, the label formats are awswaf:forwardedip:geo:region: and awswaf:forwardedip:geo:country:.
For additional details, see Geographic match rule statement in the WAF Developer Guide.
" } }, "RuleGroupReferenceStatement": { "target": "com.amazonaws.wafv2#RuleGroupReferenceStatement", "traits": { "smithy.api#documentation": "A rule statement used to run the rules that are defined in a RuleGroup. To use this, create a rule group with your rules, then provide the ARN of the rule group in this statement.
\nYou cannot nest a RuleGroupReferenceStatement, for example for use inside a NotStatement or OrStatement. You cannot use a rule group\n reference statement inside another rule group. You can only reference a rule group as a top-level statement within a rule that you define in a web ACL.
A rule statement used to detect web requests coming from particular IP addresses or address ranges. To use this, create an IPSet that specifies the addresses you want to detect, then use the ARN of that set in this statement. To create an IP set, see CreateIPSet.
\nEach IP set rule statement references an IP set. You create and maintain the set independent of your rules. This allows you to use the single set in multiple rules. When you update the referenced set, WAF automatically updates all rules that reference it.
" } }, "RegexPatternSetReferenceStatement": { "target": "com.amazonaws.wafv2#RegexPatternSetReferenceStatement", "traits": { "smithy.api#documentation": "A rule statement used to search web request components for matches with regular expressions. To use this, create a RegexPatternSet that specifies the expressions that you want to detect, then use the ARN of that set in this statement. A web request matches the pattern set rule statement if the request component matches any of the patterns in the set. To create a regex pattern set, see CreateRegexPatternSet.
\nEach regex pattern set rule statement references a regex pattern set. You create and maintain the set independent of your rules. This allows you to use the single set in multiple rules. When you update the referenced set, WAF automatically updates all rules that reference it.
" } }, "RateBasedStatement": { "target": "com.amazonaws.wafv2#RateBasedStatement", "traits": { "smithy.api#documentation": "A rate-based rule counts incoming requests and rate limits requests when they are coming at too fast a rate. The rule categorizes requests according to your aggregation criteria, collects them into aggregation instances, and counts and rate limits the requests for each instance.
\nIf you change any of these settings in a rule that's currently in use, the change resets the rule's rate limiting counts. This can pause the rule's rate limiting activities for up to a minute.
\nYou can specify individual aggregation keys, like IP address or HTTP method. You can also specify aggregation key combinations, like IP address and HTTP method, or HTTP method, query argument, and cookie.
\nEach unique set of values for the aggregation keys that you specify is a separate aggregation instance, with the value from each key contributing to the aggregation instance definition.
\nFor example, assume the rule evaluates web requests with the following IP address and HTTP method values:
\nIP address 10.1.1.1, HTTP method POST
\nIP address 10.1.1.1, HTTP method GET
\nIP address 127.0.0.0, HTTP method POST
\nIP address 10.1.1.1, HTTP method GET
\nThe rule would create different aggregation instances according to your aggregation criteria, for example:
\nIf the aggregation criteria is just the IP address, then each individual address is an aggregation instance, and WAF counts requests separately for each. The aggregation instances and request counts for our example would be the following:
\nIP address 10.1.1.1: count 3
\nIP address 127.0.0.0: count 1
\nIf the aggregation criteria is HTTP method, then each individual HTTP method is an aggregation instance. The aggregation instances and request counts for our example would be the following:
\nHTTP method POST: count 2
\nHTTP method GET: count 2
\nIf the aggregation criteria is IP address and HTTP method, then each IP address and each HTTP method would contribute to the combined aggregation instance. The aggregation instances and request counts for our example would be the following:
\nIP address 10.1.1.1, HTTP method POST: count 1
\nIP address 10.1.1.1, HTTP method GET: count 2
\nIP address 127.0.0.0, HTTP method POST: count 1
\nFor any n-tuple of aggregation keys, each unique combination of values for the keys defines a separate aggregation instance, which WAF counts and rate-limits individually.
\nYou can optionally nest another statement inside the rate-based statement, to narrow the scope of the rule so that it only counts and rate limits requests that match the nested statement. You can use this nested scope-down statement in conjunction with your aggregation key specifications or you can just count and rate limit all requests that match the scope-down statement, without additional aggregation. When you choose to just manage all requests that match a scope-down statement, the aggregation instance is singular for the rule.
\nYou cannot nest a RateBasedStatement inside another statement, for example inside a NotStatement or OrStatement. You can define a RateBasedStatement inside a web ACL and inside a rule group.
For additional information about the options, see Rate limiting web requests using rate-based rules \n in the WAF Developer Guide.
\nIf you only aggregate on the individual IP address or forwarded IP address, you can retrieve the list of IP addresses that WAF \n is currently rate limiting for a rule through the API call GetRateBasedStatementManagedKeys. This option is not available\n for other aggregation configurations.
WAF tracks and manages web requests separately for each instance of a rate-based rule that you use. For example, if you provide the same rate-based rule settings in two web ACLs, each of the two rule statements represents a separate instance of the rate-based rule and gets its own tracking and management by WAF. If you define a rate-based rule inside a rule group, and then use that rule group in multiple places, each use creates a separate instance of the rate-based rule that gets its own tracking and management by WAF.
" } }, "AndStatement": { "target": "com.amazonaws.wafv2#AndStatement", "traits": { "smithy.api#documentation": "A logical rule statement used to combine other rule statements with AND logic. You provide more than one Statement within the AndStatement.
A logical rule statement used to combine other rule statements with OR logic. You provide more than one Statement within the OrStatement.
A logical rule statement used to negate the results of another rule statement. You provide one Statement within the NotStatement.
A rule statement used to run the rules that are defined in a managed rule group. To use this, provide the vendor name and the name of the rule group in this statement. You can retrieve the required names by calling ListAvailableManagedRuleGroups.
\nYou cannot nest a ManagedRuleGroupStatement, for example for use inside a NotStatement or OrStatement. You cannot use a managed rule group \n inside another rule group. You can only reference a managed rule group as a top-level statement within a rule that you define in a web ACL.
You are charged additional fees when you use the WAF Bot Control managed rule group AWSManagedRulesBotControlRuleSet, the WAF Fraud Control account takeover prevention (ATP) managed rule group AWSManagedRulesATPRuleSet, or the WAF Fraud Control account creation fraud prevention (ACFP) managed rule group AWSManagedRulesACFPRuleSet. For more information, see WAF Pricing.
A rule statement to match against labels that have been added to the web request by rules that have already run in the web ACL.
\nThe label match statement provides the label or namespace string to search for. The label string can represent a part or all of the fully qualified label name that had been added to the web request. Fully qualified labels have a prefix, optional namespaces, and label name. The prefix identifies the rule group or web ACL context of the rule that added the label. If you do not provide the fully qualified name in your label match string, WAF performs the search for labels that were added in the same context as the label match statement.
" } }, "RegexMatchStatement": { "target": "com.amazonaws.wafv2#RegexMatchStatement", "traits": { "smithy.api#documentation": "A rule statement used to search web request components for a match against a single regular expression.
" } }, "AsnMatchStatement": { "target": "com.amazonaws.wafv2#AsnMatchStatement", "traits": { "smithy.api#documentation": "A rule statement that inspects web traffic based on the Autonomous System Number (ASN) associated with the request's IP address.
\nFor additional details, see ASN match rule statement in the WAF Developer Guide.
" } } }, "traits": { "smithy.api#documentation": "The processing guidance for a Rule, used by WAF to determine whether\n a web request matches the rule.
\nFor example specifications, see the examples section of CreateWebACL.
" } }, "com.amazonaws.wafv2#Statements": { "type": "list", "member": { "target": "com.amazonaws.wafv2#Statement" } }, "com.amazonaws.wafv2#String": { "type": "string" }, "com.amazonaws.wafv2#SuccessCode": { "type": "integer", "traits": { "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 999 } } }, "com.amazonaws.wafv2#SuccessValue": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 100 }, "smithy.api#pattern": "\\S" } }, "com.amazonaws.wafv2#Tag": { "type": "structure", "members": { "Key": { "target": "com.amazonaws.wafv2#TagKey", "traits": { "smithy.api#documentation": "Part of the key:value pair that defines a tag. You can use a tag key to describe a\n category of information, such as \"customer.\" Tag keys are case-sensitive.
", "smithy.api#required": {} } }, "Value": { "target": "com.amazonaws.wafv2#TagValue", "traits": { "smithy.api#documentation": "Part of the key:value pair that defines a tag. You can use a tag value to describe a\n specific value within a category, such as \"companyA\" or \"companyB.\" Tag values are\n case-sensitive.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "A tag associated with an Amazon Web Services resource. Tags are key:value pairs that you can use to\n categorize and manage your resources, for purposes like billing or other management.\n Typically, the tag key represents a category, such as \"environment\", and the tag value\n represents a specific value within that category, such as \"test,\" \"development,\" or\n \"production\". Or you might set the tag key to \"customer\" and the value to the customer name\n or ID. You can specify one or more tags to add to each Amazon Web Services resource, up to 50 tags for a\n resource.
\nYou can tag the Amazon Web Services resources that you manage through WAF: web ACLs, rule\n groups, IP sets, and regex pattern sets. You can't manage or view tags through the WAF\n console.
" } }, "com.amazonaws.wafv2#TagInfoForResource": { "type": "structure", "members": { "ResourceARN": { "target": "com.amazonaws.wafv2#ResourceArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the resource.
" } }, "TagList": { "target": "com.amazonaws.wafv2#TagList", "traits": { "smithy.api#documentation": "The array of Tag objects defined for the resource.
" } } }, "traits": { "smithy.api#documentation": "The collection of tagging definitions for an Amazon Web Services resource. Tags are key:value pairs\n that you can use to categorize and manage your resources, for purposes like billing or\n other management. Typically, the tag key represents a category, such as \"environment\", and\n the tag value represents a specific value within that category, such as \"test,\"\n \"development,\" or \"production\". Or you might set the tag key to \"customer\" and the value to\n the customer name or ID. You can specify one or more tags to add to each Amazon Web Services resource, up\n to 50 tags for a resource.
\nYou can tag the Amazon Web Services resources that you manage through WAF: web ACLs, rule\n groups, IP sets, and regex pattern sets. You can't manage or view tags through the WAF\n console.
" } }, "com.amazonaws.wafv2#TagKey": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 128 }, "smithy.api#pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" } }, "com.amazonaws.wafv2#TagKeyList": { "type": "list", "member": { "target": "com.amazonaws.wafv2#TagKey" }, "traits": { "smithy.api#length": { "min": 1 } } }, "com.amazonaws.wafv2#TagList": { "type": "list", "member": { "target": "com.amazonaws.wafv2#Tag" }, "traits": { "smithy.api#length": { "min": 1 } } }, "com.amazonaws.wafv2#TagResource": { "type": "operation", "input": { "target": "com.amazonaws.wafv2#TagResourceRequest" }, "output": { "target": "com.amazonaws.wafv2#TagResourceResponse" }, "errors": [ { "target": "com.amazonaws.wafv2#WAFInternalErrorException" }, { "target": "com.amazonaws.wafv2#WAFInvalidOperationException" }, { "target": "com.amazonaws.wafv2#WAFInvalidParameterException" }, { "target": "com.amazonaws.wafv2#WAFLimitsExceededException" }, { "target": "com.amazonaws.wafv2#WAFNonexistentItemException" }, { "target": "com.amazonaws.wafv2#WAFTagOperationException" }, { "target": "com.amazonaws.wafv2#WAFTagOperationInternalErrorException" } ], "traits": { "smithy.api#documentation": "Associates tags with the specified Amazon Web Services resource. Tags are key:value pairs that you can\n use to categorize and manage your resources, for purposes like billing. For example, you\n might set the tag key to \"customer\" and the value to the customer name or ID. You can\n specify one or more tags to add to each Amazon Web Services resource, up to 50 tags for a\n resource.
\nYou can tag the Amazon Web Services resources that you manage through WAF: web ACLs, rule\n groups, IP sets, and regex pattern sets. You can't manage or view tags through the WAF\n console.
" } }, "com.amazonaws.wafv2#TagResourceRequest": { "type": "structure", "members": { "ResourceARN": { "target": "com.amazonaws.wafv2#ResourceArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the resource.
", "smithy.api#required": {} } }, "Tags": { "target": "com.amazonaws.wafv2#TagList", "traits": { "smithy.api#documentation": "An array of key:value pairs to associate with the resource.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.wafv2#TagResourceResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.wafv2#TagValue": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 256 }, "smithy.api#pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" } }, "com.amazonaws.wafv2#TextTransformation": { "type": "structure", "members": { "Priority": { "target": "com.amazonaws.wafv2#TextTransformationPriority", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "Sets the relative processing order for multiple transformations.\n WAF processes all transformations, from lowest priority to highest,\n before inspecting the transformed content. The priorities don't need to be consecutive, but\n they must all be different.
", "smithy.api#required": {} } }, "Type": { "target": "com.amazonaws.wafv2#TextTransformationType", "traits": { "smithy.api#documentation": "For detailed descriptions of each of the transformation types, see Text transformations \n in the WAF Developer Guide.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Text transformations eliminate some of the unusual formatting that attackers use in web\n requests in an effort to bypass detection.
" } }, "com.amazonaws.wafv2#TextTransformationPriority": { "type": "integer", "traits": { "smithy.api#default": 0, "smithy.api#range": { "min": 0 } } }, "com.amazonaws.wafv2#TextTransformationType": { "type": "enum", "members": { "NONE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "NONE" } }, "COMPRESS_WHITE_SPACE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "COMPRESS_WHITE_SPACE" } }, "HTML_ENTITY_DECODE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "HTML_ENTITY_DECODE" } }, "LOWERCASE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "LOWERCASE" } }, "CMD_LINE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "CMD_LINE" } }, "URL_DECODE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "URL_DECODE" } }, "BASE64_DECODE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "BASE64_DECODE" } }, "HEX_DECODE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "HEX_DECODE" } }, "MD5": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "MD5" } }, "REPLACE_COMMENTS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "REPLACE_COMMENTS" } }, "ESCAPE_SEQ_DECODE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ESCAPE_SEQ_DECODE" } }, "SQL_HEX_DECODE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SQL_HEX_DECODE" } }, "CSS_DECODE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "CSS_DECODE" } }, "JS_DECODE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "JS_DECODE" } }, "NORMALIZE_PATH": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "NORMALIZE_PATH" } }, "NORMALIZE_PATH_WIN": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "NORMALIZE_PATH_WIN" } }, "REMOVE_NULLS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "REMOVE_NULLS" } }, "REPLACE_NULLS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "REPLACE_NULLS" } }, "BASE64_DECODE_EXT": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "BASE64_DECODE_EXT" } }, "URL_DECODE_UNI": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "URL_DECODE_UNI" } }, "UTF8_TO_UNICODE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "UTF8_TO_UNICODE" } }, "REMOVE_WHITESPACE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "REMOVE_WHITESPACE" } }, "TRIM": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "TRIM" } }, "TRIM_LEFT": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "TRIM_LEFT" } }, "TRIM_RIGHT": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "TRIM_RIGHT" } }, "REMOVE_COMMENTS_CHAR": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "REMOVE_COMMENTS_CHAR" } }, "UPPERCASE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "UPPERCASE" } }, "CMD_LINE_WIN": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "CMD_LINE_WIN" } }, "CMD_LINE_UNIX": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "CMD_LINE_UNIX" } }, "JS_DECODE_EXT": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "JS_DECODE_EXT" } }, "SHA256": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SHA256" } } } }, "com.amazonaws.wafv2#TextTransformations": { "type": "list", "member": { "target": "com.amazonaws.wafv2#TextTransformation" }, "traits": { "smithy.api#length": { "min": 1 } } }, "com.amazonaws.wafv2#TimeSeriesStatisticType": { "type": "enum", "members": { "DATE_HISTOGRAM": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "DATE_HISTOGRAM" } }, "PAYMENT_TRAFFIC": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "PAYMENT_TRAFFIC" } } } }, "com.amazonaws.wafv2#TimeWindow": { "type": "structure", "members": { "StartTime": { "target": "com.amazonaws.wafv2#Timestamp", "traits": { "smithy.api#documentation": "The beginning of the time range from which you want GetSampledRequests to\n return a sample of the requests that your Amazon Web Services resource received. You must specify the\n times in Coordinated Universal Time (UTC) format. UTC format includes the special\n designator, Z. For example, \"2016-09-27T14:50Z\". You can specify\n any time range in the previous three hours.
The end of the time range from which you want GetSampledRequests to return\n a sample of the requests that your Amazon Web Services resource received. You must specify the times in\n Coordinated Universal Time (UTC) format. UTC format includes the special designator,\n Z. For example, \"2016-09-27T14:50Z\". You can specify any time\n range in the previous three hours.
In a GetSampledRequests request, the StartTime and\n EndTime objects specify the time range for which you want WAF to\n return a sample of web requests.
You must specify the times in Coordinated Universal Time (UTC) format. UTC format\n includes the special designator, Z. For example,\n \"2016-09-27T14:50Z\". You can specify any time range in the previous three\n hours.
In a GetSampledRequests response, the StartTime and\n EndTime objects specify the time range for which WAF actually returned a\n sample of web requests. WAF gets the specified number of requests from among the first\n 5,000 requests that your Amazon Web Services resource receives during the specified time period. If your\n resource receives more than 5,000 requests during that period, WAF stops sampling after\n the 5,000th request. In that case, EndTime is the time that WAF received the\n 5,000th request.
Disassociates tags from an Amazon Web Services resource. Tags are key:value pairs that you can\n associate with Amazon Web Services resources. For example, the tag key might be \"customer\" and the tag\n value might be \"companyA.\" You can specify one or more tags to add to each container. You\n can add up to 50 tags to each Amazon Web Services resource.
" } }, "com.amazonaws.wafv2#UntagResourceRequest": { "type": "structure", "members": { "ResourceARN": { "target": "com.amazonaws.wafv2#ResourceArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the resource.
", "smithy.api#required": {} } }, "TagKeys": { "target": "com.amazonaws.wafv2#TagKeyList", "traits": { "smithy.api#documentation": "An array of keys identifying the tags to disassociate from the resource.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.wafv2#UntagResourceResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.wafv2#UpdateIPSet": { "type": "operation", "input": { "target": "com.amazonaws.wafv2#UpdateIPSetRequest" }, "output": { "target": "com.amazonaws.wafv2#UpdateIPSetResponse" }, "errors": [ { "target": "com.amazonaws.wafv2#WAFDuplicateItemException" }, { "target": "com.amazonaws.wafv2#WAFInternalErrorException" }, { "target": "com.amazonaws.wafv2#WAFInvalidOperationException" }, { "target": "com.amazonaws.wafv2#WAFInvalidParameterException" }, { "target": "com.amazonaws.wafv2#WAFLimitsExceededException" }, { "target": "com.amazonaws.wafv2#WAFNonexistentItemException" }, { "target": "com.amazonaws.wafv2#WAFOptimisticLockException" } ], "traits": { "smithy.api#documentation": "Updates the specified IPSet.
\nThis operation completely replaces the mutable specifications that you already have for the IP set with the ones that you provide to this call.
\nTo modify an IP set, do the following:
\nRetrieve it by calling GetIPSet\n
\nUpdate its settings as needed
\nProvide the complete IP set specification to this call
\n\n Temporary inconsistencies during updates\n
\nWhen you create or change a web ACL or other WAF resources, the changes take a small amount of time to propagate to all areas where the resources are stored. The propagation time can be from a few seconds to a number of minutes.
\nThe following are examples of the temporary inconsistencies that you might notice during change propagation:
\nAfter you create a web ACL, if you try to associate it with a resource, you might get an exception indicating that the web ACL is unavailable.
\nAfter you add a rule group to a web ACL, the new rule group rules might be in effect in one area where the web ACL is used and not in another.
\nAfter you change a rule action setting, you might see the old action in some places and the new action in others.
\nAfter you add an IP address to an IP set that is in use in a blocking rule, the new address might be blocked in one area while still allowed in another.
\nThe name of the IP set. You cannot change the name of an IPSet after you create it.
Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For an Amplify application, use CLOUDFRONT.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
\nCLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1.
API and SDKs - For all calls, use the Region endpoint us-east-1.
\nA unique identifier for the set. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.
", "smithy.api#required": {} } }, "Description": { "target": "com.amazonaws.wafv2#EntityDescription", "traits": { "smithy.api#documentation": "A description of the IP set that helps with identification.
" } }, "Addresses": { "target": "com.amazonaws.wafv2#IPAddresses", "traits": { "smithy.api#documentation": "Contains an array of strings that specifies zero or more IP addresses or blocks of IP addresses that you want WAF to inspect for in incoming requests. All addresses must be specified using Classless Inter-Domain Routing (CIDR) notation. WAF supports all IPv4 and IPv6 CIDR ranges except for /0.
Example address strings:
\nFor requests that originated from the IP address 192.0.2.44, specify 192.0.2.44/32.
For requests that originated from IP addresses from 192.0.2.0 to 192.0.2.255, specify \n 192.0.2.0/24.
For requests that originated from the IP address 1111:0000:0000:0000:0000:0000:0000:0111, specify 1111:0000:0000:0000:0000:0000:0000:0111/128.
For requests that originated from IP addresses 1111:0000:0000:0000:0000:0000:0000:0000 to 1111:0000:0000:0000:ffff:ffff:ffff:ffff, specify 1111:0000:0000:0000:0000:0000:0000:0000/64.
For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.
\nExample JSON Addresses specifications:
Empty array: \"Addresses\": []\n
Array with one address: \"Addresses\": [\"192.0.2.44/32\"]\n
Array with three addresses: \"Addresses\": [\"192.0.2.44/32\", \"192.0.2.0/24\", \"192.0.0.0/16\"]\n
INVALID specification: \"Addresses\": [\"\"] INVALID
A token used for optimistic locking. WAF returns a token to your get and list requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like update and delete. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException. If this happens, perform another get, and use the new token returned by that operation.
A token used for optimistic locking. WAF returns this token to your update requests. You use NextLockToken in the same manner as you use LockToken.
Updates the expiration information for your managed rule set. Use this to initiate the\n expiration of a managed rule group version. After you initiate expiration for a version,\n WAF excludes it from the response to ListAvailableManagedRuleGroupVersions for the managed rule group.
\nThis is intended for use only by vendors of managed rule sets. Vendors are Amazon Web Services and Amazon Web Services Marketplace sellers.
\nVendors, you can use the managed rule set APIs to provide controlled rollout of your versioned managed rule group offerings for your customers. The APIs are ListManagedRuleSets, GetManagedRuleSet, PutManagedRuleSetVersions, and UpdateManagedRuleSetVersionExpiryDate.
The name of the managed rule set. You use this, along with the rule set ID, to identify the rule set.
\nThis name is assigned to the corresponding managed rule group, which your customers can access and use.
", "smithy.api#required": {} } }, "Scope": { "target": "com.amazonaws.wafv2#Scope", "traits": { "smithy.api#documentation": "Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For an Amplify application, use CLOUDFRONT.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
\nCLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1.
API and SDKs - For all calls, use the Region endpoint us-east-1.
\nA unique identifier for the managed rule set. The ID is returned in the responses to commands like list. You provide it to operations like get and update.
A token used for optimistic locking. WAF returns a token to your get and list requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like update and delete. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException. If this happens, perform another get, and use the new token returned by that operation.
The version that you want to remove from your list of offerings for the named managed\n rule group.
", "smithy.api#required": {} } }, "ExpiryTimestamp": { "target": "com.amazonaws.wafv2#Timestamp", "traits": { "smithy.api#documentation": "The time that you want the version to expire.
\nTimes are in Coordinated Universal Time (UTC) format. UTC format includes the special designator, Z. For example, \"2016-09-27T14:50Z\".
", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.wafv2#UpdateManagedRuleSetVersionExpiryDateResponse": { "type": "structure", "members": { "ExpiringVersion": { "target": "com.amazonaws.wafv2#VersionKeyString", "traits": { "smithy.api#documentation": "The version that is set to expire.
" } }, "ExpiryTimestamp": { "target": "com.amazonaws.wafv2#Timestamp", "traits": { "smithy.api#documentation": "The time that the version will expire.
\nTimes are in Coordinated Universal Time (UTC) format. UTC format includes the special designator, Z. For example, \"2016-09-27T14:50Z\".
" } }, "NextLockToken": { "target": "com.amazonaws.wafv2#LockToken", "traits": { "smithy.api#documentation": "A token used for optimistic locking. WAF returns a token to your get and list requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like update and delete. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException. If this happens, perform another get, and use the new token returned by that operation.
Updates the specified RegexPatternSet.
\nThis operation completely replaces the mutable specifications that you already have for the regex pattern set with the ones that you provide to this call.
\nTo modify a regex pattern set, do the following:
\nRetrieve it by calling GetRegexPatternSet\n
\nUpdate its settings as needed
\nProvide the complete regex pattern set specification to this call
\n\n Temporary inconsistencies during updates\n
\nWhen you create or change a web ACL or other WAF resources, the changes take a small amount of time to propagate to all areas where the resources are stored. The propagation time can be from a few seconds to a number of minutes.
\nThe following are examples of the temporary inconsistencies that you might notice during change propagation:
\nAfter you create a web ACL, if you try to associate it with a resource, you might get an exception indicating that the web ACL is unavailable.
\nAfter you add a rule group to a web ACL, the new rule group rules might be in effect in one area where the web ACL is used and not in another.
\nAfter you change a rule action setting, you might see the old action in some places and the new action in others.
\nAfter you add an IP address to an IP set that is in use in a blocking rule, the new address might be blocked in one area while still allowed in another.
\nThe name of the set. You cannot change the name after you create the set.
", "smithy.api#required": {} } }, "Scope": { "target": "com.amazonaws.wafv2#Scope", "traits": { "smithy.api#documentation": "Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For an Amplify application, use CLOUDFRONT.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
\nCLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1.
API and SDKs - For all calls, use the Region endpoint us-east-1.
\nA unique identifier for the set. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.
", "smithy.api#required": {} } }, "Description": { "target": "com.amazonaws.wafv2#EntityDescription", "traits": { "smithy.api#documentation": "A description of the set that helps with identification.
" } }, "RegularExpressionList": { "target": "com.amazonaws.wafv2#RegularExpressionList", "traits": { "smithy.api#documentation": "", "smithy.api#required": {} } }, "LockToken": { "target": "com.amazonaws.wafv2#LockToken", "traits": { "smithy.api#documentation": "A token used for optimistic locking. WAF returns a token to your get and list requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like update and delete. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException. If this happens, perform another get, and use the new token returned by that operation.
A token used for optimistic locking. WAF returns this token to your update requests. You use NextLockToken in the same manner as you use LockToken.
Updates the specified RuleGroup.
\nThis operation completely replaces the mutable specifications that you already have for the rule group with the ones that you provide to this call.
\nTo modify a rule group, do the following:
\nRetrieve it by calling GetRuleGroup\n
\nUpdate its settings as needed
\nProvide the complete rule group specification to this call
\nA rule group defines a collection of rules to inspect and control web requests that you can use in a WebACL. When you create a rule group, you define an immutable capacity limit. If you update a rule group, you must stay within the capacity. This allows others to reuse the rule group with confidence in its capacity requirements.
\n\n Temporary inconsistencies during updates\n
\nWhen you create or change a web ACL or other WAF resources, the changes take a small amount of time to propagate to all areas where the resources are stored. The propagation time can be from a few seconds to a number of minutes.
\nThe following are examples of the temporary inconsistencies that you might notice during change propagation:
\nAfter you create a web ACL, if you try to associate it with a resource, you might get an exception indicating that the web ACL is unavailable.
\nAfter you add a rule group to a web ACL, the new rule group rules might be in effect in one area where the web ACL is used and not in another.
\nAfter you change a rule action setting, you might see the old action in some places and the new action in others.
\nAfter you add an IP address to an IP set that is in use in a blocking rule, the new address might be blocked in one area while still allowed in another.
\nThe name of the rule group. You cannot change the name of a rule group after you create it.
", "smithy.api#required": {} } }, "Scope": { "target": "com.amazonaws.wafv2#Scope", "traits": { "smithy.api#documentation": "Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For an Amplify application, use CLOUDFRONT.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
\nCLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1.
API and SDKs - For all calls, use the Region endpoint us-east-1.
\nA unique identifier for the rule group. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.
", "smithy.api#required": {} } }, "Description": { "target": "com.amazonaws.wafv2#EntityDescription", "traits": { "smithy.api#documentation": "A description of the rule group that helps with identification.
" } }, "Rules": { "target": "com.amazonaws.wafv2#Rules", "traits": { "smithy.api#documentation": "The Rule statements used to identify the web requests that you \n want to manage. Each rule includes one top-level statement that WAF uses to identify matching \n web requests, and parameters that govern how WAF handles them. \n
" } }, "VisibilityConfig": { "target": "com.amazonaws.wafv2#VisibilityConfig", "traits": { "smithy.api#documentation": "Defines and enables Amazon CloudWatch metrics and web request sample collection.
", "smithy.api#required": {} } }, "LockToken": { "target": "com.amazonaws.wafv2#LockToken", "traits": { "smithy.api#documentation": "A token used for optimistic locking. WAF returns a token to your get and list requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like update and delete. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException. If this happens, perform another get, and use the new token returned by that operation.
A map of custom response keys and content bodies. When you create a rule with a block action, you can send a custom response to the web request. You define these for the rule group, and then use them in the rules that you define in the rule group.
\nFor information about customizing web requests and responses, \n see Customizing web requests and responses in WAF \n in the WAF Developer Guide.
\nFor information about the limits on count and size for custom request and response settings, see WAF quotas \n in the WAF Developer Guide.
" } }, "MonetizationConfig": { "target": "com.amazonaws.wafv2#MonetizationConfig", "traits": { "smithy.api#documentation": "The monetization configuration for the rule group. Provide this when any rule in the rule group uses the Monetize action.
A token used for optimistic locking. WAF returns this token to your update requests. You use NextLockToken in the same manner as you use LockToken.
Updates the specified WebACL. While updating a web ACL, WAF provides\n continuous coverage to the resources that you have associated with the web ACL.
\nThis operation completely replaces the mutable specifications that you already have for the web ACL with the ones that you provide to this call.
\nTo modify a web ACL, do the following:
\nRetrieve it by calling GetWebACL\n
\nUpdate its settings as needed
\nProvide the complete web ACL specification to this call
\nA web ACL defines a collection of rules to use to inspect and control web requests. Each rule has a statement that defines what to look for in web requests and an action that WAF applies to requests that match the statement. In the web ACL, you assign a default action to take (allow, block) for any request that does not match any of the rules. The rules in a web ACL can be a combination of the types Rule, RuleGroup, and managed rule group. You can associate a web ACL with one or more Amazon Web Services resources to protect. The resource types include Amazon CloudFront distribution, Amazon API Gateway REST API, Application Load Balancer, AppSync GraphQL API, Amazon Cognito user pool, App Runner service, Amplify application, Amazon Web Services Verified Access instance, and Amazon Bedrock AgentCore Gateway.
\n\n Temporary inconsistencies during updates\n
\nWhen you create or change a web ACL or other WAF resources, the changes take a small amount of time to propagate to all areas where the resources are stored. The propagation time can be from a few seconds to a number of minutes.
\nThe following are examples of the temporary inconsistencies that you might notice during change propagation:
\nAfter you create a web ACL, if you try to associate it with a resource, you might get an exception indicating that the web ACL is unavailable.
\nAfter you add a rule group to a web ACL, the new rule group rules might be in effect in one area where the web ACL is used and not in another.
\nAfter you change a rule action setting, you might see the old action in some places and the new action in others.
\nAfter you add an IP address to an IP set that is in use in a blocking rule, the new address might be blocked in one area while still allowed in another.
\nThe name of the web ACL. You cannot change the name of a web ACL after you create it.
", "smithy.api#required": {} } }, "Scope": { "target": "com.amazonaws.wafv2#Scope", "traits": { "smithy.api#documentation": "Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For an Amplify application, use CLOUDFRONT.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
\nCLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1.
API and SDKs - For all calls, use the Region endpoint us-east-1.
\nThe unique identifier for the web ACL. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.
", "smithy.api#required": {} } }, "DefaultAction": { "target": "com.amazonaws.wafv2#DefaultAction", "traits": { "smithy.api#documentation": "The action to perform if none of the Rules contained in the WebACL match.
A description of the web ACL that helps with identification.
" } }, "Rules": { "target": "com.amazonaws.wafv2#Rules", "traits": { "smithy.api#documentation": "The Rule statements used to identify the web requests that you \n want to manage. Each rule includes one top-level statement that WAF uses to identify matching \n web requests, and parameters that govern how WAF handles them. \n
" } }, "VisibilityConfig": { "target": "com.amazonaws.wafv2#VisibilityConfig", "traits": { "smithy.api#documentation": "Defines and enables Amazon CloudWatch metrics and web request sample collection.
", "smithy.api#required": {} } }, "DataProtectionConfig": { "target": "com.amazonaws.wafv2#DataProtectionConfig", "traits": { "smithy.api#documentation": "Specifies data protection to apply to the web request data for the web ACL. This is a web ACL level data protection option.
\nThe data protection that you configure for the web ACL alters the data that's available for any other data collection activity, \n including your WAF logging destinations, web ACL request sampling, and Amazon Security Lake data collection and management. Your other option for data protection is in the logging configuration, which only affects logging.
" } }, "LockToken": { "target": "com.amazonaws.wafv2#LockToken", "traits": { "smithy.api#documentation": "A token used for optimistic locking. WAF returns a token to your get and list requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like update and delete. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException. If this happens, perform another get, and use the new token returned by that operation.
A map of custom response keys and content bodies. When you create a rule with a block action, you can send a custom response to the web request. You define these for the web ACL, and then use them in the rules and default actions that you define in the web ACL.
\nFor information about customizing web requests and responses, \n see Customizing web requests and responses in WAF \n in the WAF Developer Guide.
\nFor information about the limits on count and size for custom request and response settings, see WAF quotas \n in the WAF Developer Guide.
" } }, "CaptchaConfig": { "target": "com.amazonaws.wafv2#CaptchaConfig", "traits": { "smithy.api#documentation": "Specifies how WAF should handle CAPTCHA evaluations for rules that don't have their own CaptchaConfig settings. If you don't specify this, WAF uses its default settings for CaptchaConfig.
Specifies how WAF should handle challenge evaluations for rules that don't have \ntheir own ChallengeConfig settings. If you don't specify this, WAF uses its default settings for ChallengeConfig.
Specifies the domains that WAF should accept in a web request token. This enables the use of tokens across multiple protected websites. When WAF provides a token, it uses the domain of the Amazon Web Services resource that the web ACL is protecting. If you don't specify a list of token domains, WAF accepts tokens only for the domain of the protected resource. With a token domain list, WAF accepts the resource's host domain plus all domains in the token domain list, including their prefixed subdomains.
\nExample JSON: \"TokenDomains\": { \"mywebsite.com\", \"myotherwebsite.com\" }\n
Public suffixes aren't allowed. For example, you can't use gov.au or co.uk as token domains.
Specifies custom configurations for the associations between the web ACL and protected resources.
\nUse this to customize the maximum size of the request body that your protected resources forward to WAF for inspection. You can \n customize this setting for CloudFront, API Gateway, Amazon Cognito, App Runner, or Verified Access resources. The default setting is 16 KB (16,384 bytes).
\nYou are charged additional fees when your protected resources forward body sizes that are larger than the default. For more information, see WAF Pricing.
\nFor Application Load Balancer and AppSync, the limit is fixed at 8 KB (8,192 bytes).
\nYou can also use this to have your CloudFront distributions insert the WAF challenge JavaScript SDK into the HTML responses that they return. For more information, see the ChallengeJavascriptSdkInjection setting.
Specifies the type of DDoS protection to apply to web request data for a web ACL. For most scenarios, it is recommended to use the default protection level, ACTIVE_UNDER_DDOS. \n If a web ACL is associated with multiple Application Load Balancers, the changes you make to DDoS protection in that web ACL will apply to all associated Application Load Balancers.
Configures the ability for the WAF console to store and retrieve application attributes. \n Application attributes help WAF give recommendations for protection packs.
\nWhen using UpdateWebACL, ApplicationConfig follows these rules:
If you omit ApplicationConfig from the request, all existing entries in the web ACL are retained.
If you include ApplicationConfig, entries must match the existing values exactly. Any attempt to modify existing entries will result in an error.
The monetization configuration for the web ACL. Provide this when any rule in the web ACL uses the Monetize action.
Specifies the security analytics configuration for the web ACL. For more information, see AnalyticsConfig.
" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.wafv2#UpdateWebACLResponse": { "type": "structure", "members": { "NextLockToken": { "target": "com.amazonaws.wafv2#LockToken", "traits": { "smithy.api#documentation": "A token used for optimistic locking. WAF returns this token to your update requests. You use NextLockToken in the same manner as you use LockToken.
What WAF should do if it fails to completely parse the JSON body. The options are\n the following:
\n\n EVALUATE_AS_STRING - Inspect the body as plain text. WAF\n applies the text transformations and inspection criteria that you defined for the\n JSON inspection to the body text string.
\n MATCH - Treat the web request as matching the rule statement.\n WAF applies the rule action to the request.
\n NO_MATCH - Treat the web request as not matching the rule\n statement.
If you don't provide this setting, WAF parses and evaluates the content only up to the\n first parsing failure that it encounters.
\nExample JSON: { \"UriFragment\": { \"FallbackBehavior\": \"MATCH\"} }\n
WAF parsing doesn't fully validate the input JSON string, so parsing can succeed even for invalid JSON. When \n parsing succeeds, WAF doesn't apply the fallback behavior. For more information, \n see JSON body \n in the WAF Developer Guide.
\nInspect fragments of the request URI. You can specify the parts of the URI fragment to \n inspect and you can narrow the set of URI fragments to inspect by including or excluding specific \n keys.\n
\nThis is used to indicate the web request component to inspect, in the FieldToMatch specification.
\nExample JSON: \"UriFragment\": { \"MatchPattern\": { \"All\": {} }, \"MatchScope\": \"KEY\",\n \"OversizeHandling\": \"MATCH\" }\n
Inspect the path component of the URI of the web request. This is the part of the web\n request that identifies a resource. For example, /images/daily-ad.jpg.
This is used in the FieldToMatch specification for some web request component types.
\nJSON specification: \"UriPath\": {}\n
The name of the username field.
\nHow you specify this depends on the request inspection payload type.
\nFor JSON payloads, specify the field name in JSON\n pointer syntax. For information about the JSON Pointer\n syntax, see the Internet Engineering Task Force (IETF)\n documentation JavaScript\n \tObject Notation (JSON) Pointer.
\nFor example, for the JSON payload { \"form\": { \"username\": \"THE_USERNAME\" } }, \n the username field specification is /form/username.
For form encoded payload types, use the HTML form names.
\nFor example, for an HTML form with the input element\n named username1, the username field specification is\n username1\n
The name of the field in the request payload that contains your customer's username.
\nThis data type is used in the RequestInspection and RequestInspectionACFP data types.
The Amazon Resource Name (ARN) of the vendor's rule group that's used in the published\n managed rule group version.
" } }, "ForecastedLifetime": { "target": "com.amazonaws.wafv2#TimeWindowDay", "traits": { "smithy.api#documentation": "The amount of time the vendor expects this version of the managed rule group to last, in\n days.
" } } }, "traits": { "smithy.api#documentation": "A version of the named managed rule group, that the rule group's vendor publishes for\n use by customers.
\nThis is intended for use only by vendors of managed rule sets. Vendors are Amazon Web Services and Amazon Web Services Marketplace sellers.
\nVendors, you can use the managed rule set APIs to provide controlled rollout of your versioned managed rule group offerings for your customers. The APIs are ListManagedRuleSets, GetManagedRuleSet, PutManagedRuleSetVersions, and UpdateManagedRuleSetVersionExpiryDate.
Indicates whether WAF should store a sampling of the web requests that\n match the rules. You can view the sampled requests through the WAF console.
\nIf you configure data protection for the web ACL, the protection applies to the web ACL's sampled web request data.
\nRequest sampling doesn't provide a field redaction option, and any field redaction that you specify in your logging configuration doesn't affect sampling. \n You can only exclude fields from request sampling by disabling sampling in the web ACL visibility configuration \n or by configuring data protection for the web ACL.
\nIndicates whether the associated resource sends metrics to Amazon CloudWatch. For the\n list of available metrics, see WAF\n Metrics in the WAF Developer Guide.
\nFor web ACLs, the metrics are for web requests that have the web ACL default action applied. \n WAF applies the default action to web requests that pass the inspection of all rules \n in the web ACL without being either allowed or blocked. For more information,\nsee The web ACL default action in the WAF Developer Guide.
", "smithy.api#required": {} } }, "MetricName": { "target": "com.amazonaws.wafv2#MetricName", "traits": { "smithy.api#documentation": "A name of the Amazon CloudWatch metric dimension. The name can contain only the characters: A-Z, a-z, 0-9,\n - (hyphen), and _ (underscore). The name can be from one to 128 characters long. It can't\n contain whitespace or metric names that are reserved for WAF, for example All and\n Default_Action.
Defines and enables Amazon CloudWatch metrics and web request sample collection.
" } }, "com.amazonaws.wafv2#WAFAssociatedItemException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.wafv2#ErrorMessage" } }, "traits": { "smithy.api#documentation": "WAF couldn\u2019t perform the operation because your resource is being used by another\n resource or it\u2019s associated with another resource.
", "smithy.api#error": "client" } }, "com.amazonaws.wafv2#WAFConfigurationWarningException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.wafv2#ErrorMessage" } }, "traits": { "smithy.api#documentation": "The operation failed because you are inspecting the web request body, headers, or\n cookies without specifying how to handle oversize components. Rules that inspect the body\n must either provide an OversizeHandling configuration or they must be preceded\n by a SizeConstraintStatement that blocks the body content from being too\n large. Rules that inspect the headers or cookies must provide an\n OversizeHandling configuration.
Provide the handling configuration and retry your operation.
\nAlternately, you can suppress this warning by adding the following tag to the resource\n that you provide to this operation: Tag\n (key:WAF:OversizeFieldsHandlingConstraintOptOut,\n value:true).
WAF couldn\u2019t perform the operation because the resource that you tried to save is\n a duplicate of an existing one.
", "smithy.api#error": "client" } }, "com.amazonaws.wafv2#WAFExpiredManagedRuleGroupVersionException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.wafv2#ErrorMessage" } }, "traits": { "smithy.api#documentation": "The operation failed because the specified version for the managed rule group has\n expired. You can retrieve the available versions for the managed rule group by calling\n ListAvailableManagedRuleGroupVersions.
", "smithy.api#error": "client" } }, "com.amazonaws.wafv2#WAFFeatureNotIncludedInPricingPlanException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.wafv2#ErrorMessage" }, "DisallowedFeatures": { "target": "com.amazonaws.wafv2#DisallowedFeatures", "traits": { "smithy.api#documentation": "The names of the disallowed WAF features.
" } } }, "traits": { "smithy.api#documentation": "The operation failed because the specified WAF feature isn't supported by the CloudFront pricing plan associated with the web ACL.
", "smithy.api#error": "client" } }, "com.amazonaws.wafv2#WAFInternalErrorException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.wafv2#ErrorMessage" } }, "traits": { "smithy.api#documentation": "Your request is valid, but WAF couldn\u2019t perform the operation because of a system\n problem. Retry your request.
", "smithy.api#error": "server" } }, "com.amazonaws.wafv2#WAFInvalidOperationException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.wafv2#ErrorMessage" } }, "traits": { "smithy.api#documentation": "The operation isn't valid.
", "smithy.api#error": "client" } }, "com.amazonaws.wafv2#WAFInvalidParameterException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.wafv2#ErrorMessage" }, "Field": { "target": "com.amazonaws.wafv2#ParameterExceptionField", "traits": { "smithy.api#documentation": "The settings where the invalid parameter was found.
" } }, "Parameter": { "target": "com.amazonaws.wafv2#ParameterExceptionParameter", "traits": { "smithy.api#documentation": "The invalid parameter that resulted in the exception.
" } }, "Reason": { "target": "com.amazonaws.wafv2#ErrorReason", "traits": { "smithy.api#documentation": "Additional information about the exception.
" } } }, "traits": { "smithy.api#documentation": "The operation failed because WAF didn't recognize a parameter in the request. For\n example:
\nYou specified a parameter name or value that isn't valid.
\nYour nested statement isn't valid. You might have tried to nest a statement that\n can\u2019t be nested.
\nYou tried to update a WebACL with a DefaultAction that\n isn't among the types available at DefaultAction.
Your request references an ARN that is malformed, or corresponds to a resource\n with which a web ACL can't be associated.
\nThe operation failed because the specified policy isn't in the proper format.
\nThe policy specifications must conform to the following:
\nThe policy must be composed using IAM Policy version 2012-10-17.
\nThe policy must include specifications for Effect, Action, and Principal.
\n Effect must specify Allow.
\n Action must specify wafv2:CreateWebACL, wafv2:UpdateWebACL, and \n wafv2:PutFirewallManagerRuleGroups and may optionally specify wafv2:GetRuleGroup. \n WAF rejects any extra actions or wildcard actions in the policy.
The policy must not include a Resource parameter.
For more information, see IAM Policies.
", "smithy.api#error": "client" } }, "com.amazonaws.wafv2#WAFInvalidResourceException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.wafv2#ErrorMessage" } }, "traits": { "smithy.api#documentation": "WAF couldn\u2019t perform the operation because the resource that you requested isn\u2019t\n valid. Check the resource, and try again.
", "smithy.api#error": "client" } }, "com.amazonaws.wafv2#WAFLimitsExceededException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.wafv2#ErrorMessage" }, "SourceType": { "target": "com.amazonaws.wafv2#SourceType", "traits": { "smithy.api#documentation": "Source type for the exception.
" } } }, "traits": { "smithy.api#documentation": "WAF couldn\u2019t perform the operation because you exceeded your resource limit. For\n example, the maximum number of WebACL objects that you can create for an Amazon Web Services\n account. For more information, see WAF quotas in the\n WAF Developer Guide.
The operation failed because you don't have the permissions that your logging\n configuration requires. For information, see Logging web ACL traffic information\n in the WAF Developer Guide.
", "smithy.api#error": "client" } }, "com.amazonaws.wafv2#WAFNonexistentItemException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.wafv2#ErrorMessage" } }, "traits": { "smithy.api#documentation": "WAF couldn\u2019t perform the operation because your resource doesn't exist. \n If you've just created a resource that you're using in this operation, you might \n just need to wait a few minutes. It can take from a few seconds to a number of minutes \n for changes to propagate.
", "smithy.api#error": "client" } }, "com.amazonaws.wafv2#WAFOptimisticLockException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.wafv2#ErrorMessage" } }, "traits": { "smithy.api#documentation": "WAF couldn\u2019t save your changes because you tried to update or delete a resource\n that has changed since you last retrieved it. Get the resource again, make any changes you\n need to make to the new copy, and retry your operation.
", "smithy.api#error": "client" } }, "com.amazonaws.wafv2#WAFServiceLinkedRoleErrorException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.wafv2#ErrorMessage" } }, "traits": { "smithy.api#documentation": "WAF is not able to access the service linked role. This can be caused by a\n previous PutLoggingConfiguration request, which can lock the service linked\n role for about 20 seconds. Please try your request again. The service linked role can also\n be locked by a previous DeleteServiceLinkedRole request, which can lock the\n role for 15 minutes or more. If you recently made a call to\n DeleteServiceLinkedRole, wait at least 15 minutes and try the request\n again. If you receive this same exception again, you will have to wait additional time\n until the role is unlocked.
You tried to use a managed rule group that's available by subscription, but you aren't\n subscribed to it yet.
", "smithy.api#error": "client" } }, "com.amazonaws.wafv2#WAFTagOperationException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.wafv2#ErrorMessage" } }, "traits": { "smithy.api#documentation": "An error occurred during the tagging operation. Retry your request.
", "smithy.api#error": "client" } }, "com.amazonaws.wafv2#WAFTagOperationInternalErrorException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.wafv2#ErrorMessage" } }, "traits": { "smithy.api#documentation": "WAF couldn\u2019t perform your tagging operation because of an internal error. Retry\n your request.
", "smithy.api#error": "server" } }, "com.amazonaws.wafv2#WAFUnavailableEntityException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.wafv2#ErrorMessage" } }, "traits": { "smithy.api#documentation": "WAF couldn\u2019t retrieve a resource that you specified for this operation. \n If you've just created a resource that you're using in this operation, you might \n just need to wait a few minutes. It can take from a few seconds to a number of minutes \n for changes to propagate. Verify the resource specifications in your request \n parameters and then retry the operation.
", "smithy.api#error": "client" } }, "com.amazonaws.wafv2#WAFUnsupportedAggregateKeyTypeException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.wafv2#ErrorMessage" } }, "traits": { "smithy.api#documentation": "The rule that you've named doesn't aggregate solely on the IP address or solely on the forwarded IP address. This call \n is only available for rate-based rules with an AggregateKeyType setting of IP or FORWARDED_IP.
The name of the web ACL. You cannot change the name of a web ACL after you create it.
", "smithy.api#required": {} } }, "Id": { "target": "com.amazonaws.wafv2#EntityId", "traits": { "smithy.api#documentation": "A unique identifier for the WebACL. This ID is returned in the responses to\n create and list commands. You use this ID to do things like get, update, and delete a\n WebACL.
The Amazon Resource Name (ARN) of the web ACL that you want to associate with the\n resource.
", "smithy.api#required": {} } }, "DefaultAction": { "target": "com.amazonaws.wafv2#DefaultAction", "traits": { "smithy.api#documentation": "The action to perform if none of the Rules contained in the WebACL match.
A description of the web ACL that helps with identification.
" } }, "Rules": { "target": "com.amazonaws.wafv2#Rules", "traits": { "smithy.api#documentation": "The Rule statements used to identify the web requests that you \n want to manage. Each rule includes one top-level statement that WAF uses to identify matching \n web requests, and parameters that govern how WAF handles them. \n
" } }, "VisibilityConfig": { "target": "com.amazonaws.wafv2#VisibilityConfig", "traits": { "smithy.api#documentation": "Defines and enables Amazon CloudWatch metrics and web request sample collection.
", "smithy.api#required": {} } }, "DataProtectionConfig": { "target": "com.amazonaws.wafv2#DataProtectionConfig", "traits": { "smithy.api#documentation": "Specifies data protection to apply to the web request data for the web ACL. This is a web ACL level data protection option.
\nThe data protection that you configure for the web ACL alters the data that's available for any other data collection activity, \n including your WAF logging destinations, web ACL request sampling, and Amazon Security Lake data collection and management. Your other option for data protection is in the logging configuration, which only affects logging.
" } }, "Capacity": { "target": "com.amazonaws.wafv2#ConsumedCapacity", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "The web ACL capacity units (WCUs) currently being used by this web ACL.
\nWAF uses WCUs to calculate and control the operating\n resources that are used to run your rules, rule groups, and web ACLs. WAF\n calculates capacity differently for each rule type, to reflect the relative cost of each rule. \n Simple rules that cost little to run use fewer WCUs than more complex rules\n\t\t\t\tthat use more processing power. \n\t\t\t\tRule group capacity is fixed at creation, which helps users plan their \n web ACL WCU usage when they use a rule group. For more information, see WAF web ACL capacity units (WCU) \n in the WAF Developer Guide.
" } }, "PreProcessFirewallManagerRuleGroups": { "target": "com.amazonaws.wafv2#FirewallManagerRuleGroups", "traits": { "smithy.api#documentation": "The first set of rules for WAF to process in the web ACL. This is defined in an\n Firewall Manager WAF policy and contains only rule group references. You can't alter these. Any\n rules and rule groups that you define for the web ACL are prioritized after these.
\nIn the Firewall Manager WAF policy, the Firewall Manager administrator can define a set of rule groups to run\n first in the web ACL and a set of rule groups to run last. Within each set, the\n administrator prioritizes the rule groups, to determine their relative processing\n order.
" } }, "PostProcessFirewallManagerRuleGroups": { "target": "com.amazonaws.wafv2#FirewallManagerRuleGroups", "traits": { "smithy.api#documentation": "The last set of rules for WAF to process in the web ACL. This is defined in an\n Firewall Manager WAF policy and contains only rule group references. You can't alter these. Any\n rules and rule groups that you define for the web ACL are prioritized before these.
\nIn the Firewall Manager WAF policy, the Firewall Manager administrator can define a set of rule groups to run\n first in the web ACL and a set of rule groups to run last. Within each set, the\n administrator prioritizes the rule groups, to determine their relative processing\n order.
" } }, "ManagedByFirewallManager": { "target": "com.amazonaws.wafv2#Boolean", "traits": { "smithy.api#default": false, "smithy.api#documentation": "Indicates whether this web ACL was created by Firewall Manager and is being managed by Firewall Manager. If true, then only Firewall Manager can\n delete the web ACL or any Firewall Manager rule groups in the web ACL. \n See also the properties RetrofittedByFirewallManager, PreProcessFirewallManagerRuleGroups, and PostProcessFirewallManagerRuleGroups.
The label namespace prefix for this web ACL. All labels added by rules in this web ACL have this prefix.
\nThe syntax for the label namespace prefix for a web ACL is the following:
\n\n awswaf:\n
When a rule with a label matches a web request, WAF adds the fully qualified label to the request. A fully qualified label is made up of the label namespace from the rule group or web ACL where the rule is defined and the label from the rule, separated by a colon:
\n\n \n
A map of custom response keys and content bodies. When you create a rule with a block action, you can send a custom response to the web request. You define these for the web ACL, and then use them in the rules and default actions that you define in the web ACL.
\nFor information about customizing web requests and responses, \n see Customizing web requests and responses in WAF \n in the WAF Developer Guide.
\nFor information about the limits on count and size for custom request and response settings, see WAF quotas \n in the WAF Developer Guide.
" } }, "CaptchaConfig": { "target": "com.amazonaws.wafv2#CaptchaConfig", "traits": { "smithy.api#documentation": "Specifies how WAF should handle CAPTCHA evaluations for rules that don't have their own CaptchaConfig settings. If you don't specify this, WAF uses its default settings for CaptchaConfig.
Specifies how WAF should handle challenge evaluations for rules that don't have \ntheir own ChallengeConfig settings. If you don't specify this, WAF uses its default settings for ChallengeConfig.
Specifies the domains that WAF should accept in a web request token. This enables the use of tokens across multiple protected websites. When WAF provides a token, it uses the domain of the Amazon Web Services resource that the web ACL is protecting. If you don't specify a list of token domains, WAF accepts tokens only for the domain of the protected resource. With a token domain list, WAF accepts the resource's host domain plus all domains in the token domain list, including their prefixed subdomains.
" } }, "AssociationConfig": { "target": "com.amazonaws.wafv2#AssociationConfig", "traits": { "smithy.api#documentation": "Specifies custom configurations for the associations between the web ACL and protected resources.
\nUse this to customize the maximum size of the request body that your protected resources forward to WAF for inspection. You can \n customize this setting for CloudFront, API Gateway, Amazon Cognito, App Runner, or Verified Access resources. The default setting is 16 KB (16,384 bytes).
\nYou are charged additional fees when your protected resources forward body sizes that are larger than the default. For more information, see WAF Pricing.
\nFor Application Load Balancer and AppSync, the limit is fixed at 8 KB (8,192 bytes).
\nYou can also use this to have your CloudFront distributions insert the WAF challenge JavaScript SDK into the HTML responses that they return. For more information, see the ChallengeJavascriptSdkInjection setting.
Indicates whether this web ACL was created by a customer account and then retrofitted by Firewall Manager. If true, then the web ACL is currently being \n managed by a Firewall Manager WAF policy, and only Firewall Manager can manage any Firewall Manager rule groups in the web ACL. \n See also the properties ManagedByFirewallManager, PreProcessFirewallManagerRuleGroups, and PostProcessFirewallManagerRuleGroups.
Configures the level of DDoS protection that applies to web ACLs associated with Application Load Balancers.
" } }, "ApplicationConfig": { "target": "com.amazonaws.wafv2#ApplicationConfig", "traits": { "smithy.api#documentation": "Returns a list of ApplicationAttributes.
The monetization configuration for the web ACL. Required when any rule in the web ACL uses the Monetize action. Specifies the payment settlement options and currency mode for AI bot monetization.
The security analytics configuration for the web ACL. For more information, see AnalyticsConfig.
" } } }, "traits": { "smithy.api#documentation": "A web ACL defines a collection of rules to use to inspect and control web requests. Each rule has a statement that defines what to look for in web requests and an action that WAF applies to requests that match the statement. In the web ACL, you assign a default action to take (allow, block) for any request that does not match any of the rules. The rules in a web ACL can be a combination of the types Rule, RuleGroup, and managed rule group. You can associate a web ACL with one or more Amazon Web Services resources to protect. The resource types include Amazon CloudFront distribution, Amazon API Gateway REST API, Application Load Balancer, AppSync GraphQL API, Amazon Cognito user pool, App Runner service, Amplify application, Amazon Web Services Verified Access instance, and Amazon Bedrock AgentCore Gateway.
" } }, "com.amazonaws.wafv2#WebACLSummaries": { "type": "list", "member": { "target": "com.amazonaws.wafv2#WebACLSummary" } }, "com.amazonaws.wafv2#WebACLSummary": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.wafv2#EntityName", "traits": { "smithy.api#documentation": "The name of the web ACL. You cannot change the name of a web ACL after you create it.
" } }, "Id": { "target": "com.amazonaws.wafv2#EntityId", "traits": { "smithy.api#documentation": "The unique identifier for the web ACL. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.
" } }, "Description": { "target": "com.amazonaws.wafv2#EntityDescription", "traits": { "smithy.api#documentation": "A description of the web ACL that helps with identification.
" } }, "LockToken": { "target": "com.amazonaws.wafv2#LockToken", "traits": { "smithy.api#documentation": "A token used for optimistic locking. WAF returns a token to your get and list requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like update and delete. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException. If this happens, perform another get, and use the new token returned by that operation.
The Amazon Resource Name (ARN) of the entity.
" } } }, "traits": { "smithy.api#documentation": "High-level information about a WebACL, returned by operations like create and list. This provides information like the ID, that you can use to retrieve and manage a WebACL, and the ARN, that you provide to operations like AssociateWebACL.
The part of the web request that you want WAF to inspect.
", "smithy.api#required": {} } }, "TextTransformations": { "target": "com.amazonaws.wafv2#TextTransformations", "traits": { "smithy.api#documentation": "Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. Text transformations are used in rule match statements, to transform the FieldToMatch request component before inspecting it, and they're used in rate-based rule statements, to transform request components before using them as custom aggregation keys. If you specify one or more transformations to apply, WAF performs all transformations on the specified content, starting from the lowest priority setting, and then uses the transformed component contents.
Pre-parse text transformations normalize the raw query string before WAF parses it into individual\n query arguments. They are applied before the standard text transformations. Pre-parse text transformations\n are only supported when FieldToMatch is SingleQueryArgument or\n AllQueryArguments. You can specify up to 10 pre-parse text transformations per rule statement.
A rule statement that inspects for cross-site scripting (XSS) attacks. In XSS attacks, the attacker \nuses vulnerabilities in a benign website as a vehicle to inject malicious client-site scripts into other legitimate web browsers.
" } } } }