aws-sdk-for-zig/codegen/models/wafv2.2019-07-29.json

7187 lines
403 KiB
JSON
Raw Normal View History

2021-05-30 01:17:45 +00:00
{
"smithy": "1.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#AWSWAF_20190729": {
"type": "service",
"version": "2019-07-29",
"operations": [
{
"target": "com.amazonaws.wafv2#AssociateWebACL"
},
{
"target": "com.amazonaws.wafv2#CheckCapacity"
},
{
"target": "com.amazonaws.wafv2#CreateIPSet"
},
{
"target": "com.amazonaws.wafv2#CreateRegexPatternSet"
},
{
"target": "com.amazonaws.wafv2#CreateRuleGroup"
},
{
"target": "com.amazonaws.wafv2#CreateWebACL"
},
{
"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#DescribeManagedRuleGroup"
},
{
"target": "com.amazonaws.wafv2#DisassociateWebACL"
},
{
"target": "com.amazonaws.wafv2#GetIPSet"
},
{
"target": "com.amazonaws.wafv2#GetLoggingConfiguration"
},
{
"target": "com.amazonaws.wafv2#GetPermissionPolicy"
},
{
"target": "com.amazonaws.wafv2#GetRateBasedStatementManagedKeys"
},
{
"target": "com.amazonaws.wafv2#GetRegexPatternSet"
},
{
"target": "com.amazonaws.wafv2#GetRuleGroup"
},
{
"target": "com.amazonaws.wafv2#GetSampledRequests"
},
{
"target": "com.amazonaws.wafv2#GetWebACL"
},
{
"target": "com.amazonaws.wafv2#GetWebACLForResource"
},
{
"target": "com.amazonaws.wafv2#ListAvailableManagedRuleGroups"
},
{
"target": "com.amazonaws.wafv2#ListIPSets"
},
{
"target": "com.amazonaws.wafv2#ListLoggingConfigurations"
},
{
"target": "com.amazonaws.wafv2#ListRegexPatternSets"
},
{
"target": "com.amazonaws.wafv2#ListResourcesForWebACL"
},
{
"target": "com.amazonaws.wafv2#ListRuleGroups"
},
{
"target": "com.amazonaws.wafv2#ListTagsForResource"
},
{
"target": "com.amazonaws.wafv2#ListWebACLs"
},
{
"target": "com.amazonaws.wafv2#PutLoggingConfiguration"
},
{
"target": "com.amazonaws.wafv2#PutPermissionPolicy"
},
{
"target": "com.amazonaws.wafv2#TagResource"
},
{
"target": "com.amazonaws.wafv2#UntagResource"
},
{
"target": "com.amazonaws.wafv2#UpdateIPSet"
},
{
"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": "<note>\n <p>This is the latest version of the <b>AWS WAF</b> API, released in\n November, 2019. The names of the entities that you use to access this API, like\n endpoints and namespaces, all have the versioning information added, like \"V2\" or \"v2\",\n to distinguish from the prior version. We recommend migrating your resources to this\n version, because it has a number of significant improvements.</p>\n <p>If you used AWS WAF prior to this release, you can't use this AWS WAFV2 API to access\n any AWS WAF resources that you created before. You can access your old rules, web ACLs,\n and other AWS WAF resources only through the AWS WAF Classic APIs. The AWS WAF Classic\n APIs have retained the prior names, endpoints, and namespaces. </p>\n <p>For information, including how to migrate your AWS WAF resources to this version, see the <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html\">AWS WAF\n Developer Guide</a>. </p>\n </note>\n <p>AWS WAF is a web application firewall that lets you monitor the HTTP and HTTPS requests\n that are forwarded to Amazon CloudFront, an Amazon API Gateway REST API, an Application Load\n Balancer, or an AWS AppSync GraphQL API. AWS WAF also lets you control access to your content. Based on conditions that\n you specify, such as the IP addresses that requests originate from or the values of query\n strings, the API Gateway REST API, CloudFront distribution, the Application Load Balancer, \n or the AWS AppSync GraphQL API responds to requests\n either with the requested content or with an HTTP 403 status code (Forbidden). You also can\n configure CloudFront to return a custom error page when a request is blocked.</p>\n <p>This API guide is for developers who need detailed information about AWS WAF API\n actions, data types, and errors. For detailed information about AWS WAF features and an\n overview of how to use AWS WAF, see the <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/\">AWS WAF Developer Guide</a>.</p>\n <p>You can make calls using the endpoints listed in <a href=\"https://docs.aws.amazon.com/general/latest/gr/rande.html#waf_region\">AWS Service Endpoints for AWS WAF</a>. </p>\n <ul>\n <li>\n <p>For regional applications, you can use any of the endpoints in the list.\n A regional application can be an Application Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL API. </p>\n </li>\n <li>\n <p>For AWS CloudFront applications, you must use the API endpoint listed for\n US East (N. Virginia): us-east-1.</p>\n </li>\n </ul>\n <p>Alternatively, you can use one of the AWS SDKs to access an API that's tailored to the\n programming language or platform that you're using. For more information, see <a href=\"http://aws.amazon.com/tools/#SDKs\">AWS SDKs</a>.</p>\n <p>We currently provide two versions of the AWS WAF API: this API and the prior versions,\n the classic AWS WAF APIs. This new API provides the same functionality as the older\n versions, with the following major improvements:</p>\n <ul>\n <li>\n <p>You use one API for both global and regional applications. Where you need to\n distinguish the scope, you specify a <code>Scope</code> parameter and set it to\n <code>CLOUDFRONT</code> or <code>REGIONAL</code>. </p>\n </li>\n <li>\n <p>You can define a Web ACL or rule group with a single call, and update it with a\n single call. You define all rule specifications in JSON format, and pass them to your\n rule group or Web ACL calls.</p>\n </li>\n <li>\n
"smithy.api#title": "AWS WAFV2",
"smithy.api#xmlNamespace": {
"uri": "http://waf.amazonaws.com/doc/2019-07-29/"
}
}
},
"com.amazonaws.wafv2#Action": {
"type": "string"
},
"com.amazonaws.wafv2#ActionCondition": {
"type": "structure",
"members": {
"Action": {
"target": "com.amazonaws.wafv2#ActionValue",
"traits": {
"smithy.api#documentation": "<p>The action setting that a log record must contain in order to meet the condition. </p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>A single action condition for a <a>Condition</a> in a logging filter.</p>"
}
},
"com.amazonaws.wafv2#ActionValue": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "ALLOW",
"name": "ALLOW"
},
{
"value": "BLOCK",
"name": "BLOCK"
},
{
"value": "COUNT",
"name": "COUNT"
}
]
}
},
"com.amazonaws.wafv2#All": {
"type": "structure",
"members": {},
"traits": {
"smithy.api#documentation": "<p>Inspect all of the elements that AWS WAF has parsed and extracted from the web request JSON body that are within the <a>JsonBody</a> \n <code>MatchScope</code>. This is used with the <a>FieldToMatch</a> option <code>JsonBody</code>. </p>\n <p>This is used only to indicate the web request component for AWS WAF to inspect, in the <a>FieldToMatch</a> specification. </p>"
}
},
"com.amazonaws.wafv2#AllQueryArguments": {
"type": "structure",
"members": {},
"traits": {
"smithy.api#documentation": "<p>All query arguments of a web request. </p>\n <p>This is used only to indicate the web request component for AWS WAF to inspect, in the <a>FieldToMatch</a> specification. </p>"
}
},
"com.amazonaws.wafv2#AllowAction": {
"type": "structure",
"members": {
"CustomRequestHandling": {
"target": "com.amazonaws.wafv2#CustomRequestHandling",
"traits": {
"smithy.api#documentation": "<p>Defines custom handling for the web request.</p>\n <p>For information about customizing web requests and responses, see <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html\">Customizing web requests and responses in AWS WAF</a> in the \n <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html\">AWS WAF Developer Guide</a>. </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Specifies that AWS WAF should allow the request and optionally defines additional custom handling for the request.</p>\n <p>This is used in the context of other settings, for example to specify values for <a>RuleAction</a> and web ACL <a>DefaultAction</a>. </p>"
}
},
"com.amazonaws.wafv2#AndStatement": {
"type": "structure",
"members": {
"Statements": {
"target": "com.amazonaws.wafv2#Statements",
"traits": {
"smithy.api#documentation": "<p>The statements to combine with AND logic. You can use any statements that can be nested. </p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>A logical rule statement used to combine other rule statements with AND logic. You provide more than one <a>Statement</a> within the <code>AndStatement</code>. </p>"
}
},
"com.amazonaws.wafv2#AssociateWebACL": {
"type": "operation",
"input": {
"target": "com.amazonaws.wafv2#AssociateWebACLRequest"
},
"output": {
"target": "com.amazonaws.wafv2#AssociateWebACLResponse"
},
"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": "<p>Associates a Web ACL with a regional application resource, to protect the resource. A regional application can be an Application Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL API. </p>\n <p>For AWS CloudFront, don't use this call. Instead, use your CloudFront distribution configuration. To associate a Web ACL, in the CloudFront call <code>UpdateDistribution</code>, set the web ACL ID to the Amazon Resource Name (ARN) of the Web ACL. For information, see <a href=\"https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_UpdateDistribution.html\">UpdateDistribution</a>.</p>"
}
},
"com.amazonaws.wafv2#AssociateWebACLRequest": {
"type": "structure",
"members": {
"WebACLArn": {
"target": "com.amazonaws.wafv2#ResourceArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Web ACL that you want to associate with the resource.</p>",
"smithy.api#required": {}
}
},
"ResourceArn": {
"target": "com.amazonaws.wafv2#ResourceArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the resource to associate with the web ACL. </p>\n \n <p>The ARN must be in one of the following formats:</p>\n <ul>\n <li>\n <p>For an Application Load Balancer: <code>arn:aws:elasticloadbalancing:<i>region</i>:<i>account-id</i>:loadbalancer/app/<i>load-balancer-name</i>/<i>load-balancer-id</i>\n </code>\n </p>\n </li>\n <li>\n <p>For an API Gateway REST API: <code>arn:aws:apigateway:<i>region</i>::/restapis/<i>api-id</i>/stages/<i>stage-name</i>\n </code>\n </p>\n </li>\n <li>\n <p>For an AppSync GraphQL API: <code>arn:aws:appsync:<i>region</i>:<i>account-id</i>:apis/<i>GraphQLApiId</i>\n </code>\n </p>\n </li>\n </ul>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.wafv2#AssociateWebACLResponse": {
"type": "structure",
"members": {}
},
"com.amazonaws.wafv2#BlockAction": {
"type": "structure",
"members": {
"CustomResponse": {
"target": "com.amazonaws.wafv2#CustomResponse",
"traits": {
"smithy.api#documentation": "<p>Defines a custom response for the web request.</p>\n <p>For information about customizing web requests and responses, see <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html\">Customizing web requests and responses in AWS WAF</a> in the \n <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html\">AWS WAF Developer Guide</a>. </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Specifies that AWS WAF should block the request and optionally defines additional custom handling for the response to the web request.</p>\n <p>This is used in the context of other settings, for example to specify values for <a>RuleAction</a> and web ACL <a>DefaultAction</a>. </p>"
}
},
"com.amazonaws.wafv2#Body": {
"type": "structure",
"members": {},
"traits": {
"smithy.api#documentation": "<p>The body of a web request. This immediately follows the request headers.</p>\n <p>This is used only to indicate the web request component for AWS WAF to inspect, in the <a>FieldToMatch</a> specification. </p>"
}
},
"com.amazonaws.wafv2#BodyParsingFallbackBehavior": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "MATCH",
"name": "MATCH"
},
{
"value": "NO_MATCH",
"name": "NO_MATCH"
},
{
"value": "EVALUATE_AS_STRING",
"name": "EVALUATE_AS_STRING"
}
]
}
},
"com.amazonaws.wafv2#Boolean": {
"type": "boolean"
},
"com.amazonaws.wafv2#ByteMatchStatement": {
"type": "structure",
"members": {
"SearchString": {
"target": "com.amazonaws.wafv2#SearchString",
"traits": {
"smithy.api#documentation": "<p>A string value that you want AWS WAF to search for. AWS WAF searches only in the part of web requests that you designate for inspection in <a>FieldToMatch</a>. The maximum length of the value is 50 bytes.</p>\n <p>Valid values depend on the component that you specify for inspection in <code>FieldToMatch</code>:</p>\t\t\n <ul>\n <li>\n <p>\n <code>Method</code>: The HTTP method that you want AWS WAF to search for. This indicates the type of operation specified in the request. </p>\n </li>\n <li>\n <p>\n <code>UriPath</code>: The value that you want AWS WAF to search for in the URI path,\n for example, <code>/images/daily-ad.jpg</code>. </p>\n </li>\n </ul>\n \n <p>If <code>SearchString</code> includes alphabetic characters A-Z and a-z, note that the value is case sensitive.</p>\n <p>\n <b>If you're using the AWS WAF API</b>\n </p>\n <p>Specify a base64-encoded version of the value. The maximum length of the value before you base64-encode it is 50 bytes.</p>\n <p>For example, suppose the value of <code>Type</code> is <code>HEADER</code> and the\n value of <code>Data</code> is <code>User-Agent</code>. If you want to search the\n <code>User-Agent</code> header for the value <code>BadBot</code>, you base64-encode\n <code>BadBot</code> using MIME\n base64-encoding\n and include the resulting value, <code>QmFkQm90</code>, in the value of\n <code>SearchString</code>.</p>\n <p>\n <b>If you're using the AWS CLI or one of the AWS SDKs</b>\n </p>\n <p>The value that you want AWS WAF to search for. The SDK automatically base64 encodes the value.</p>",
"smithy.api#required": {}
}
},
"FieldToMatch": {
"target": "com.amazonaws.wafv2#FieldToMatch",
"traits": {
"smithy.api#documentation": "<p>The part of a web request that you want AWS WAF to inspect. For more information, see <a>FieldToMatch</a>. </p>",
"smithy.api#required": {}
}
},
"TextTransformations": {
"target": "com.amazonaws.wafv2#TextTransformations",
"traits": {
"smithy.api#documentation": "<p>Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. \n If you specify one or more transformations in a rule statement, AWS WAF performs all transformations on the \n content of the request component identified by <code>FieldToMatch</code>, starting from the lowest priority setting, before inspecting the content for a match.</p>",
"smithy.api#required": {}
}
},
"PositionalConstraint": {
"target": "com.amazonaws.wafv2#PositionalConstraint",
"traits": {
"smithy.api#documentation": "<p>The area within the portion of a web request that you want AWS WAF to search for <code>SearchString</code>. Valid values include the following:</p>\n <p>\n <b>CONTAINS</b>\n </p>\n <p>The specified part of the web request must include the value of <code>SearchString</code>, but the location doesn't matter.</p>\t\t\n <p>\n <b>CONTAINS_WORD</b>\n </p>\n <p>The specified part of the web request must include the value of <code>SearchString</code>, and \n <code>SearchString</code> must contain only alphanumeric characters or underscore (A-Z, a-z, 0-9, or _). In addition, \n <code>SearchString</code> must be a word, which means that both of the following are true:</p>\n <ul>\n <li>\n <p>\n <code>SearchString</code> is at the beginning of the specified part of the web request or is \n preceded by a character other than an alphanumeric character or underscore (_). \n Examples include the value of a header and <code>;BadBot</code>.</p>\n </li>\n <li>\n <p>\n <code>SearchString</code> is at the end of the specified part of the web request or is \n followed by a character other than an alphanumeric character or underscore (_), for example,\n <code>BadBot;</code> and <code>-BadBot;</code>.</p>\n </li>\n </ul>\n <p>\n <b>EXACTLY</b>\n </p>\n <p>The value of the specified part of the web request must exactly match the value of <code>SearchString</code>.</p>\n <p>\n <b>STARTS_WITH</b>\n </p>\n <p>The value of <code>SearchString</code> must appear at the beginning of the specified part of the web request.</p>\t\t\n <p>\n <b>ENDS_WITH</b>\n </p>\n <p>The value of <code>SearchString</code> must appear at the end of the specified part of the web request.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>A rule statement that defines a string match search for AWS WAF to apply to web requests. The byte match statement provides the bytes to search for, the location in requests that you want AWS WAF to search, and other settings. The bytes to search for are typically a string that corresponds with ASCII characters. In the AWS WAF console and the developer guide, this is refered to as a string match statement.</p>"
}
},
"com.amazonaws.wafv2#CapacityUnit": {
"type": "long",
"traits": {
"smithy.api#range": {
"min": 1
}
}
},
"com.amazonaws.wafv2#CheckCapacity": {
"type": "operation",
"input": {
"target": "com.amazonaws.wafv2#CheckCapacityRequest"
},
"output": {
"target": "com.amazonaws.wafv2#CheckCapacityResponse"
},
"errors": [
{
"target": "com.amazonaws.wafv2#WAFInternalErrorException"
},
{
"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": "<p>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 <a>RuleGroup</a> or <a>WebACL</a>. \n </p>\n <p>AWS WAF uses WCUs to calculate and control the operating\n resources that are used to run your rules, rule groups, and web ACLs. AWS 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. \n The WCU limit for web ACLs is 1,500. </p>"
}
},
"com.amazonaws.wafv2#CheckCapacityRequest": {
"type": "structure",
"members": {
"Scope": {
"target": "com.amazonaws.wafv2#Scope",
"traits": {
"smithy.api#documentation": "<p>Specifies whether this is for an AWS CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL API. </p>\n <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>\n <ul>\n <li>\n <p>CLI - Specify the Region when you use the CloudFront scope: <code>--scope=CLOUDFRONT --region=us-east-1</code>. </p>\n </li>\n <li>\n <p>API and SDKs - For all calls, use the Region endpoint us-east-1. </p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"Rules": {
"target": "com.amazonaws.wafv2#Rules",
"traits": {
"smithy.api#documentation": "<p>An array of <a>Rule</a> that you're configuring to use in a rule group or web ACL. </p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.wafv2#CheckCapacityResponse": {
"type": "structure",
"members": {
"Capacity": {
"target": "com.amazonaws.wafv2#ConsumedCapacity",
"traits": {
"smithy.api#documentation": "<p>The capacity required by the rules and scope.</p>"
}
}
}
},
"com.amazonaws.wafv2#ComparisonOperator": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "EQ",
"name": "EQ"
},
{
"value": "NE",
"name": "NE"
},
{
"value": "LE",
"name": "LE"
},
{
"value": "LT",
"name": "LT"
},
{
"value": "GE",
"name": "GE"
},
{
"value": "GT",
"name": "GT"
}
]
}
},
"com.amazonaws.wafv2#Condition": {
"type": "structure",
"members": {
"ActionCondition": {
"target": "com.amazonaws.wafv2#ActionCondition",
"traits": {
"smithy.api#documentation": "<p>A single action condition.</p>"
}
},
"LabelNameCondition": {
"target": "com.amazonaws.wafv2#LabelNameCondition",
"traits": {
"smithy.api#documentation": "<p>A single label name condition.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>A single match condition for a <a>Filter</a>.</p>"
}
},
"com.amazonaws.wafv2#Conditions": {
"type": "list",
"member": {
"target": "com.amazonaws.wafv2#Condition"
},
"traits": {
"smithy.api#length": {
"min": 1
}
}
},
"com.amazonaws.wafv2#ConsumedCapacity": {
"type": "long",
"traits": {
"smithy.api#range": {
"min": 0
}
}
},
"com.amazonaws.wafv2#CountAction": {
"type": "structure",
"members": {
"CustomRequestHandling": {
"target": "com.amazonaws.wafv2#CustomRequestHandling",
"traits": {
"smithy.api#documentation": "<p>Defines custom handling for the web request.</p>\n <p>For information about customizing web requests and responses, see <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html\">Customizing web requests and responses in AWS WAF</a> in the \n <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html\">AWS WAF Developer Guide</a>. </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Specifies that AWS WAF should count the request. Optionally defines additional custom handling for the request.</p>\n <p>This is used in the context of other settings, for example to specify values for <a>RuleAction</a> and web ACL <a>DefaultAction</a>. </p>"
}
},
"com.amazonaws.wafv2#Country": {
"type": "string"
},
"com.amazonaws.wafv2#CountryCode": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "AF",
"name": "AF"
},
{
"value": "AX",
"name": "AX"
},
{
"value": "AL",
"name": "AL"
},
{
"value": "DZ",
"name": "DZ"
},
{
"value": "AS",
"name": "AS"
},
{
"value": "AD",
"name": "AD"
},
{
"value": "AO",
"name": "AO"
},
{
"value": "AI",
"name": "AI"
},
{
"value": "AQ",
"name": "AQ"
},
{
"value": "AG",
"name": "AG"
},
{
"value": "AR",
"name": "AR"
},
{
"value": "AM",
"name": "AM"
},
{
"value": "AW",
"name": "AW"
},
{
"value": "AU",
"name": "AU"
},
{
"value": "AT",
"name": "AT"
},
{
"value": "AZ",
"name": "AZ"
},
{
"value": "BS",
"name": "BS"
},
{
"value": "BH",
"name": "BH"
},
{
"value": "BD",
"name": "BD"
},
{
"value": "BB",
"name": "BB"
},
{
"value": "BY",
"name": "BY"
},
{
"value": "BE",
"name": "BE"
},
{
"value": "BZ",
"name": "BZ"
},
{
"value": "BJ",
"name": "BJ"
},
{
"value": "BM",
"name": "BM"
},
{
"value": "BT",
"name": "BT"
},
{
"value": "BO",
"name": "BO"
},
{
"value": "BQ",
"name": "BQ"
},
{
"value": "BA",
"name": "BA"
},
{
"value": "BW",
"name": "BW"
},
{
"value": "BV",
"name": "BV"
},
{
"value": "BR",
"name": "BR"
},
{
"value": "IO",
"name": "IO"
},
{
"value": "BN",
"name": "BN"
},
{
"value": "BG",
"name": "BG"
},
{
"value": "BF",
"name": "BF"
},
{
"value": "BI",
"name": "BI"
},
{
"value": "KH",
"name": "KH"
},
{
"value": "CM",
"name": "CM"
},
{
"value": "CA",
"name": "CA"
},
{
"value": "CV",
"name": "CV"
},
{
"value": "KY",
"name": "KY"
},
{
"value": "CF",
"name": "CF"
},
{
"value": "TD",
"name": "TD"
},
{
"value": "CL",
"name": "CL"
},
{
"value": "CN",
"name": "CN"
},
{
"value": "CX",
"name": "CX"
},
{
"value": "CC",
"name": "CC"
},
{
"value": "CO",
"name": "CO"
},
{
"value": "KM",
"name": "KM"
},
{
"value": "CG",
"name": "CG"
},
{
"value": "CD",
"name": "CD"
},
{
"value": "CK",
"name": "CK"
},
{
"value": "CR",
"name": "CR"
},
{
"value": "CI",
"name": "CI"
},
{
"value": "HR",
"name": "HR"
},
{
"value": "CU",
"name": "CU"
},
{
"value": "CW",
"name": "CW"
},
{
"value": "CY",
"name": "CY"
},
{
"value": "CZ",
"name": "CZ"
},
{
"value": "DK",
"name": "DK"
},
{
"value": "DJ",
"name": "DJ"
},
{
"value": "DM",
"name": "DM"
},
{
"value": "DO",
"name": "DO"
},
{
"value": "EC",
"name": "EC"
},
{
"value": "EG",
"name": "EG"
},
{
"value": "SV",
"name": "SV"
},
{
"value": "GQ",
"name": "GQ"
},
{
"value": "ER",
"name": "ER"
},
{
"value": "EE",
"name": "EE"
},
{
"value": "ET",
"name": "ET"
},
{
"value": "FK",
"name": "FK"
},
{
"value": "FO",
"name": "FO"
},
{
"value": "FJ",
"name": "FJ"
},
{
"value": "FI",
"name": "FI"
},
{
"value": "FR",
"name": "FR"
},
{
"value": "GF",
"name": "GF"
},
{
"value": "PF",
"name": "PF"
},
{
"value": "TF",
"name": "TF"
},
{
"value": "GA",
"name": "GA"
},
{
"value": "GM",
"name": "GM"
},
{
"value": "GE",
"name": "GE"
},
{
"value": "DE",
"name": "DE"
},
{
"value": "GH",
"name": "GH"
},
{
"value": "GI",
"name": "GI"
},
{
"value": "GR",
"name": "GR"
},
{
"value": "GL",
"name": "GL"
},
{
"value": "GD",
"name": "GD"
},
{
"value": "GP",
"name": "GP"
},
{
"value": "GU",
"name": "GU"
},
{
"value": "GT",
"name": "GT"
},
{
"value": "GG",
"name": "GG"
},
{
"value": "GN",
"name": "GN"
},
{
"value": "GW",
"name": "GW"
},
{
"value": "GY",
"name": "GY"
},
{
"value": "HT",
"name": "HT"
},
{
"value": "HM",
"name": "HM"
},
{
"value": "VA",
"name": "VA"
},
{
"value": "HN",
"name": "HN"
},
{
"value": "HK",
"name": "HK"
},
{
"value": "HU",
"name": "HU"
},
{
"value": "IS",
"name": "IS"
},
{
"value": "IN",
"name": "IN"
},
{
"value": "ID",
"name": "ID"
},
{
"value": "IR",
"name": "IR"
},
{
"value": "IQ",
"name": "IQ"
},
{
"value": "IE",
"name": "IE"
},
{
"value": "IM",
"name": "IM"
},
{
"value": "IL",
"name": "IL"
},
{
"value": "IT",
"name": "IT"
},
{
"value": "JM",
"name": "JM"
},
{
"value": "JP",
"name": "JP"
},
{
"value": "JE",
"name": "JE"
},
{
"value": "JO",
"name": "JO"
},
{
"value": "KZ",
"name": "KZ"
},
{
"value": "KE",
"name": "KE"
},
{
"value": "KI",
"name": "KI"
},
{
"value": "KP",
"name": "KP"
},
{
"value": "KR",
"name": "KR"
},
{
"value": "KW",
"name": "KW"
},
{
"value": "KG",
"name": "KG"
},
{
"value": "LA",
"name": "LA"
},
{
"value": "LV",
"name": "LV"
},
{
"value": "LB",
"name": "LB"
},
{
"value": "LS",
"name": "LS"
},
{
"value": "LR",
"name": "LR"
},
{
"value": "LY",
"name": "LY"
},
{
"value": "LI",
"name": "LI"
},
{
"value": "LT",
"name": "LT"
},
{
"value": "LU",
"name": "LU"
},
{
"value": "MO",
"name": "MO"
},
{
"value": "MK",
"name": "MK"
},
{
"value": "MG",
"name": "MG"
},
{
"value": "MW",
"name": "MW"
},
{
"value": "MY",
"name": "MY"
},
{
"value": "MV",
"name": "MV"
},
{
"value": "ML",
"name": "ML"
},
{
"value": "MT",
"name": "MT"
},
{
"value": "MH",
"name": "MH"
},
{
"value": "MQ",
"name": "MQ"
},
{
"value": "MR",
"name": "MR"
},
{
"value": "MU",
"name": "MU"
},
{
"value": "YT",
"name": "YT"
},
{
"value": "MX",
"name": "MX"
},
{
"value": "FM",
"name": "FM"
},
{
"value": "MD",
"name": "MD"
},
{
"value": "MC",
"name": "MC"
},
{
"value": "MN",
"name": "MN"
},
{
"value": "ME",
"name": "ME"
},
{
"value": "MS",
"name": "MS"
},
{
"value": "MA",
"name": "MA"
},
{
"value": "MZ",
"name": "MZ"
},
{
"value": "MM",
"name": "MM"
},
{
"value": "NA",
"name": "NA"
},
{
"value": "NR",
"name": "NR"
},
{
"value": "NP",
"name": "NP"
},
{
"value": "NL",
"name": "NL"
},
{
"value": "NC",
"name": "NC"
},
{
"value": "NZ",
"name": "NZ"
},
{
"value": "NI",
"name": "NI"
},
{
"value": "NE",
"name": "NE"
},
{
"value": "NG",
"name": "NG"
},
{
"value": "NU",
"name": "NU"
},
{
"value": "NF",
"name": "NF"
},
{
"value": "MP",
"name": "MP"
},
{
"value": "NO",
"name": "NO"
},
{
"value": "OM",
"name": "OM"
},
{
"value": "PK",
"name": "PK"
},
{
"value": "PW",
"name": "PW"
},
{
"value": "PS",
"name": "PS"
},
{
"value": "PA",
"name": "PA"
},
{
"value": "PG",
"name": "PG"
},
{
"value": "PY",
"name": "PY"
},
{
"value": "PE",
"name": "PE"
},
{
"value": "PH",
"name": "PH"
},
{
"value": "PN",
"name": "PN"
},
{
"value": "PL",
"name": "PL"
},
{
"value": "PT",
"name": "PT"
},
{
"value": "PR",
"name": "PR"
},
{
"value": "QA",
"name": "QA"
},
{
"value": "RE",
"name": "RE"
},
{
"value": "RO",
"name": "RO"
},
{
"value": "RU",
"name": "RU"
},
{
"value": "RW",
"name": "RW"
},
{
"value": "BL",
"name": "BL"
},
{
"value": "SH",
"name": "SH"
},
{
"value": "KN",
"name": "KN"
},
{
"value": "LC",
"name": "LC"
},
{
"value": "MF",
"name": "MF"
},
{
"value": "PM",
"name": "PM"
},
{
"value": "VC",
"name": "VC"
},
{
"value": "WS",
"name": "WS"
},
{
"value": "SM",
"name": "SM"
},
{
"value": "ST",
"name": "ST"
},
{
"value": "SA",
"name": "SA"
},
{
"value": "SN",
"name": "SN"
},
{
"value": "RS",
"name": "RS"
},
{
"value": "SC",
"name": "SC"
},
{
"value": "SL",
"name": "SL"
},
{
"value": "SG",
"name": "SG"
},
{
"value": "SX",
"name": "SX"
},
{
"value": "SK",
"name": "SK"
},
{
"value": "SI",
"name": "SI"
},
{
"value": "SB",
"name": "SB"
},
{
"value": "SO",
"name": "SO"
},
{
"value": "ZA",
"name": "ZA"
},
{
"value": "GS",
"name": "GS"
},
{
"value": "SS",
"name": "SS"
},
{
"value": "ES",
"name": "ES"
},
{
"value": "LK",
"name": "LK"
},
{
"value": "SD",
"name": "SD"
},
{
"value": "SR",
"name": "SR"
},
{
"value": "SJ",
"name": "SJ"
},
{
"value": "SZ",
"name": "SZ"
},
{
"value": "SE",
"name": "SE"
},
{
"value": "CH",
"name": "CH"
},
{
"value": "SY",
"name": "SY"
},
{
"value": "TW",
"name": "TW"
},
{
"value": "TJ",
"name": "TJ"
},
{
"value": "TZ",
"name": "TZ"
},
{
"value": "TH",
"name": "TH"
},
{
"value": "TL",
"name": "TL"
},
{
"value": "TG",
"name": "TG"
},
{
"value": "TK",
"name": "TK"
},
{
"value": "TO",
"name": "TO"
},
{
"value": "TT",
"name": "TT"
},
{
"value": "TN",
"name": "TN"
},
{
"value": "TR",
"name": "TR"
},
{
"value": "TM",
"name": "TM"
},
{
"value": "TC",
"name": "TC"
},
{
"value": "TV",
"name": "TV"
},
{
"value": "UG",
"name": "UG"
},
{
"value": "UA",
"name": "UA"
},
{
"value": "AE",
"name": "AE"
},
{
"value": "GB",
"name": "GB"
},
{
"value": "US",
"name": "US"
},
{
"value": "UM",
"name": "UM"
},
{
"value": "UY",
"name": "UY"
},
{
"value": "UZ",
"name": "UZ"
},
{
"value": "VU",
"name": "VU"
},
{
"value": "VE",
"name": "VE"
},
{
"value": "VN",
"name": "VN"
},
{
"value": "VG",
"name": "VG"
},
{
"value": "VI",
"name": "VI"
},
{
"value": "WF",
"name": "WF"
},
{
"value": "EH",
"name": "EH"
},
{
"value": "YE",
"name": "YE"
},
{
"value": "ZM",
"name": "ZM"
},
{
"value": "ZW",
"name": "ZW"
}
]
}
},
"com.amazonaws.wafv2#CountryCodes": {
"type": "list",
"member": {
"target": "com.amazonaws.wafv2#CountryCode"
},
"traits": {
"smithy.api#length": {
"min": 1
}
}
},
"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": "<p>Creates an <a>IPSet</a>, which you use to identify web requests that originate from specific IP addresses or ranges of IP addresses. For example, if you're receiving a lot of requests from a ranges of IP addresses, you can configure AWS WAF to block them using an IPSet that lists those IP addresses. </p>"
}
},
"com.amazonaws.wafv2#CreateIPSetRequest": {
"type": "structure",
"members": {
"Name": {
"target": "com.amazonaws.wafv2#EntityName",
"traits": {
"smithy.api#documentation": "<p>The name of the IP set. You cannot change the name of an <code>IPSet</code> after you create it.</p>",
"smithy.api#required": {}
}
},
"Scope": {
"target": "com.amazonaws.wafv2#Scope",
"traits": {
"smithy.api#documentation": "<p>Specifies whether this is for an AWS CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL API. </p>\n <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>\n <ul>\n <li>\n <p>CLI - Specify the Region when you use the CloudFront scope: <code>--scope=CLOUDFRONT --region=us-east-1</code>. </p>\n </li>\n <li>\n <p>API and SDKs - For all calls, use the Region endpoint us-east-1. </p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"Description": {
"target": "com.amazonaws.wafv2#EntityDescription",
"traits": {
"smithy.api#documentation": "<p>A description of the IP set that helps with identification. </p>"
}
},
"IPAddressVersion": {
"target": "com.amazonaws.wafv2#IPAddressVersion",
"traits": {
"smithy.api#documentation": "<p>Specify IPV4 or IPV6. </p>",
"smithy.api#required": {}
}
},
"Addresses": {
"target": "com.amazonaws.wafv2#IPAddresses",
"traits": {
"smithy.api#documentation": "<p>Contains an array of strings that specify one or more IP addresses or blocks of IP addresses in Classless Inter-Domain Routing (CIDR) notation. AWS WAF supports all IPv4 and IPv6 CIDR ranges except for /0. </p>\n <p>Examples: </p>\n <ul>\n <li>\n <p>To configure AWS WAF to allow, block, or count requests that originated from the IP address 192.0.2.44, specify <code>192.0.2.44/32</code>.</p>\n </li>\n <li>\n <p>To configure AWS WAF to allow, block, or count requests that originated from IP addresses from 192.0.2.0 to 192.0.2.255, specify \n <code>192.0.2.0/24</code>.</p>\n </li>\n <li>\n <p>To configure AWS WAF to allow, block, or count requests that originated from the IP address 1111:0000:0000:0000:0000:0000:0000:0111, specify <code>1111:0000:0000:0000:0000:0000:0000:0111/128</code>.</p>\n </li>\n <li>\n <p>To configure AWS WAF to allow, block, or count requests that originated from IP addresses 1111:0000:0000:0000:0000:0000:0000:0000 to 1111:0000:0000:0000:ffff:ffff:ffff:ffff, specify <code>1111:0000:0000:0000:0000:0000:0000:0000/64</code>.</p>\n </li>\n </ul>\n <p>For more information about CIDR notation, see the Wikipedia entry <a href=\"https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing\">Classless\n Inter-Domain Routing</a>.</p>",
"smithy.api#required": {}
}
},
"Tags": {
"target": "com.amazonaws.wafv2#TagList",
"traits": {
"smithy.api#documentation": "<p>An array of key:value pairs to associate with the resource.</p>"
}
}
}
},
"com.amazonaws.wafv2#CreateIPSetResponse": {
"type": "structure",
"members": {
"Summary": {
"target": "com.amazonaws.wafv2#IPSetSummary",
"traits": {
"smithy.api#documentation": "<p>High-level information about an <a>IPSet</a>, returned by operations like create and list. This provides information like the ID, that you can use to retrieve and manage an <code>IPSet</code>, and the ARN, that you provide to the <a>IPSetReferenceStatement</a> to use the address set in a <a>Rule</a>.</p>"
}
}
}
},
"com.amazonaws.wafv2#CreateRegexPatternSet": {
"type": "operation",
"input": {
"target": "com.amazonaws.wafv2#CreateRegexPatternSetRequest"
},
"output": {
"target": "com.amazonaws.wafv2#CreateRegexPatternSetResponse"
},
"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": "<p>Creates a <a>RegexPatternSet</a>, which you reference in a <a>RegexPatternSetReferenceStatement</a>, to have AWS WAF inspect a web request component for the specified patterns.</p>"
}
},
"com.amazonaws.wafv2#CreateRegexPatternSetRequest": {
"type": "structure",
"members": {
"Name": {
"target": "com.amazonaws.wafv2#EntityName",
"traits": {
"smithy.api#documentation": "<p>The name of the set. You cannot change the name after you create the set.</p>",
"smithy.api#required": {}
}
},
"Scope": {
"target": "com.amazonaws.wafv2#Scope",
"traits": {
"smithy.api#documentation": "<p>Specifies whether this is for an AWS CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL API. </p>\n <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>\n <ul>\n <li>\n <p>CLI - Specify the Region when you use the CloudFront scope: <code>--scope=CLOUDFRONT --region=us-east-1</code>. </p>\n </li>\n <li>\n <p>API and SDKs - For all calls, use the Region endpoint us-east-1. </p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"Description": {
"target": "com.amazonaws.wafv2#EntityDescription",
"traits": {
"smithy.api#documentation": "<p>A description of the set that helps with identification. </p>"
}
},
"RegularExpressionList": {
"target": "com.amazonaws.wafv2#RegularExpressionList",
"traits": {
"smithy.api#documentation": "<p>Array of regular expression strings. </p>",
"smithy.api#required": {}
}
},
"Tags": {
"target": "com.amazonaws.wafv2#TagList",
"traits": {
"smithy.api#documentation": "<p>An array of key:value pairs to associate with the resource.</p>"
}
}
}
},
"com.amazonaws.wafv2#CreateRegexPatternSetResponse": {
"type": "structure",
"members": {
"Summary": {
"target": "com.amazonaws.wafv2#RegexPatternSetSummary",
"traits": {
"smithy.api#documentation": "<p>High-level information about a <a>RegexPatternSet</a>, returned by operations like create and list. This provides information like the ID, that you can use to retrieve and manage a <code>RegexPatternSet</code>, and the ARN, that you provide to the <a>RegexPatternSetReferenceStatement</a> to use the pattern set in a <a>Rule</a>.</p>"
}
}
}
},
"com.amazonaws.wafv2#CreateRuleGroup": {
"type": "operation",
"input": {
"target": "com.amazonaws.wafv2#CreateRuleGroupRequest"
},
"output": {
"target": "com.amazonaws.wafv2#CreateRuleGroupResponse"
},
"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"
},
{
"target": "com.amazonaws.wafv2#WAFSubscriptionNotFoundException"
},
{
"target": "com.amazonaws.wafv2#WAFTagOperationException"
},
{
"target": "com.amazonaws.wafv2#WAFTagOperationInternalErrorException"
},
{
"target": "com.amazonaws.wafv2#WAFUnavailableEntityException"
}
],
"traits": {
"smithy.api#documentation": "<p>Creates a <a>RuleGroup</a> per the specifications provided. </p>\n <p> A rule group defines a collection of rules to inspect and control web requests that you can use in a <a>WebACL</a>. 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. </p>"
}
},
"com.amazonaws.wafv2#CreateRuleGroupRequest": {
"type": "structure",
"members": {
"Name": {
"target": "com.amazonaws.wafv2#EntityName",
"traits": {
"smithy.api#documentation": "<p>The name of the rule group. You cannot change the name of a rule group after you create it.</p>",
"smithy.api#required": {}
}
},
"Scope": {
"target": "com.amazonaws.wafv2#Scope",
"traits": {
"smithy.api#documentation": "<p>Specifies whether this is for an AWS CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL API. </p>\n <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>\n <ul>\n <li>\n <p>CLI - Specify the Region when you use the CloudFront scope: <code>--scope=CLOUDFRONT --region=us-east-1</code>. </p>\n </li>\n <li>\n <p>API and SDKs - For all calls, use the Region endpoint us-east-1. </p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"Capacity": {
"target": "com.amazonaws.wafv2#CapacityUnit",
"traits": {
"smithy.api#documentation": "<p>The web ACL capacity units (WCUs) required for this rule group.</p> \n <p>When 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, AWS WAF enforces this limit. You can check the capacity \n for a set of rules using <a>CheckCapacity</a>.</p> \n <p>AWS WAF uses WCUs to calculate and control the operating\n resources that are used to run your rules, rule groups, and web ACLs. AWS 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. \n The WCU limit for web ACLs is 1,500. </p>",
"smithy.api#required": {}
}
},
"Description": {
"target": "com.amazonaws.wafv2#EntityDescription",
"traits": {
"smithy.api#documentation": "<p>A description of the rule group that helps with identification. </p>"
}
},
"Rules": {
"target": "com.amazonaws.wafv2#Rules",
"traits": {
"smithy.api#documentation": "<p>The <a>Rule</a> statements used to identify the web requests that you \n want to allow, block, or count. Each rule includes one top-level statement that AWS WAF uses to identify matching \n web requests, and parameters that govern how AWS WAF handles them. \n </p>"
}
},
"VisibilityConfig": {
"target": "com.amazonaws.wafv2#VisibilityConfig",
"traits": {
"smithy.api#documentation": "<p>Defines and enables Amazon CloudWatch metrics and web request sample collection. </p>",
"smithy.api#required": {}
}
},
"Tags": {
"target": "com.amazonaws.wafv2#TagList",
"traits": {
"smithy.api#documentation": "<p>An array of key:value pairs to associate with the resource.</p>"
}
},
"CustomResponseBodies": {
"target": "com.amazonaws.wafv2#CustomResponseBodies",
"traits": {
"smithy.api#documentation": "<p>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. </p> \n <p>For information about customizing web requests and responses, see <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html\">Customizing web requests and responses in AWS WAF</a> in the \n <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html\">AWS WAF Developer Guide</a>. </p>\n <p>For information about the limits on count and size for custom request and response settings, see <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/limits.html\">AWS WAF quotas</a> in the \n <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html\">AWS WAF Developer Guide</a>. </p>"
}
}
}
},
"com.amazonaws.wafv2#CreateRuleGroupResponse": {
"type": "structure",
"members": {
"Summary": {
"target": "com.amazonaws.wafv2#RuleGroupSummary",
"traits": {
"smithy.api#documentation": "<p>High-level information about a <a>RuleGroup</a>, returned by operations like create and list. This provides information like the ID, that you can use to retrieve and manage a <code>RuleGroup</code>, and the ARN, that you provide to the <a>RuleGroupReferenceStatement</a> to use the rule group in a <a>Rule</a>.</p>"
}
}
}
},
"com.amazonaws.wafv2#CreateWebACL": {
"type": "operation",
"input": {
"target": "com.amazonaws.wafv2#CreateWebACLRequest"
},
"output": {
"target": "com.amazonaws.wafv2#CreateWebACLResponse"
},
"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#WAFInvalidResourceException"
},
{
"target": "com.amazonaws.wafv2#WAFLimitsExceededException"
},
{
"target": "com.amazonaws.wafv2#WAFNonexistentItemException"
},
{
"target": "com.amazonaws.wafv2#WAFOptimisticLockException"
},
{
"target": "com.amazonaws.wafv2#WAFSubscriptionNotFoundException"
},
{
"target": "com.amazonaws.wafv2#WAFTagOperationException"
},
{
"target": "com.amazonaws.wafv2#WAFTagOperationInternalErrorException"
},
{
"target": "com.amazonaws.wafv2#WAFUnavailableEntityException"
}
],
"traits": {
"smithy.api#documentation": "<p>Creates a <a>WebACL</a> per the specifications provided.</p>\n <p> A Web ACL defines a collection of rules to use to inspect and control web requests. Each rule has an action defined (allow, block, or count) for requests that match the statement of the rule. 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 <a>Rule</a>, <a>RuleGroup</a>, and managed rule group. You can associate a Web ACL with one or more AWS resources to protect. The resources can be Amazon CloudFront, an Amazon API Gateway REST API, an Application Load Balancer, or an AWS AppSync GraphQL API. </p>"
}
},
"com.amazonaws.wafv2#CreateWebACLRequest": {
"type": "structure",
"members": {
"Name": {
"target": "com.amazonaws.wafv2#EntityName",
"traits": {
"smithy.api#documentation": "<p>The name of the Web ACL. You cannot change the name of a Web ACL after you create it.</p>",
"smithy.api#required": {}
}
},
"Scope": {
"target": "com.amazonaws.wafv2#Scope",
"traits": {
"smithy.api#documentation": "<p>Specifies whether this is for an AWS CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL API. </p>\n <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>\n <ul>\n <li>\n <p>CLI - Specify the Region when you use the CloudFront scope: <code>--scope=CLOUDFRONT --region=us-east-1</code>. </p>\n </li>\n <li>\n <p>API and SDKs - For all calls, use the Region endpoint us-east-1. </p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"DefaultAction": {
"target": "com.amazonaws.wafv2#DefaultAction",
"traits": {
"smithy.api#documentation": "<p>The action to perform if none of the <code>Rules</code> contained in the <code>WebACL</code> match. </p>",
"smithy.api#required": {}
}
},
"Description": {
"target": "com.amazonaws.wafv2#EntityDescription",
"traits": {
"smithy.api#documentation": "<p>A description of the Web ACL that helps with identification. </p>"
}
},
"Rules": {
"target": "com.amazonaws.wafv2#Rules",
"traits": {
"smithy.api#documentation": "<p>The <a>Rule</a> statements used to identify the web requests that you \n want to allow, block, or count. Each rule includes one top-level statement that AWS WAF uses to identify matching \n web requests, and parameters that govern how AWS WAF handles them. \n </p>"
}
},
"VisibilityConfig": {
"target": "com.amazonaws.wafv2#VisibilityConfig",
"traits": {
"smithy.api#documentation": "<p>Defines and enables Amazon CloudWatch metrics and web request sample collection. </p>",
"smithy.api#required": {}
}
},
"Tags": {
"target": "com.amazonaws.wafv2#TagList",
"traits": {
"smithy.api#documentation": "<p>An array of key:value pairs to associate with the resource.</p>"
}
},
"CustomResponseBodies": {
"target": "com.amazonaws.wafv2#CustomResponseBodies",
"traits": {
"smithy.api#documentation": "<p>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. </p> \n <p>For information about customizing web requests and responses, see <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html\">Customizing web requests and responses in AWS WAF</a> in the \n <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html\">AWS WAF Developer Guide</a>. </p>\n <p>For information about the limits on count and size for custom request and response settings, see <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/limits.html\">AWS WAF quotas</a> in the \n <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html\">AWS WAF Developer Guide</a>. </p>"
}
}
}
},
"com.amazonaws.wafv2#CreateWebACLResponse": {
"type": "structure",
"members": {
"Summary": {
"target": "com.amazonaws.wafv2#WebACLSummary",
"traits": {
"smithy.api#documentation": "<p>High-level information about a <a>WebACL</a>, returned by operations like create and list. This provides information like the ID, that you can use to retrieve and manage a <code>WebACL</code>, and the ARN, that you provide to operations like <a>AssociateWebACL</a>.</p>"
}
}
}
},
"com.amazonaws.wafv2#CustomHTTPHeader": {
"type": "structure",
"members": {
"Name": {
"target": "com.amazonaws.wafv2#CustomHTTPHeaderName",
"traits": {
"smithy.api#documentation": "<p>The name of the custom header. </p>\n <p>For custom request header insertion, when AWS WAF inserts the header into the request, it prefixes this name <code>x-amzn-waf-</code>, to avoid confusion with the headers that are already in the request. For example, for the header name <code>sample</code>, AWS WAF inserts the header <code>x-amzn-waf-sample</code>.</p>",
"smithy.api#required": {}
}
},
"Value": {
"target": "com.amazonaws.wafv2#CustomHTTPHeaderValue",
"traits": {
"smithy.api#documentation": "<p>The value of the custom header.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>A custom header for custom request and response handling. This is used in <a>CustomResponse</a> and <a>CustomRequestHandling</a>.</p>"
}
},
"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": "<p>The HTTP headers to insert into the request. Duplicate header names are not allowed. </p>\n <p>For information about the limits on count and size for custom request and response settings, see <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/limits.html\">AWS WAF quotas</a> in the \n <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html\">AWS WAF Developer Guide</a>. </p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Custom request handling behavior that inserts custom headers into a web request. You can add custom request handling for the rule actions allow and count. </p>\n <p>For information about customizing web requests and responses, see <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html\">Customizing web requests and responses in AWS WAF</a> in the \n <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html\">AWS WAF Developer Guide</a>. </p>"
}
},
"com.amazonaws.wafv2#CustomResponse": {
"type": "structure",
"members": {
"ResponseCode": {
"target": "com.amazonaws.wafv2#ResponseStatusCode",
"traits": {
"smithy.api#documentation": "<p>The HTTP status code to return to the client. </p>\n <p>For a list of status codes that you can use in your custom reqponses, see <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/customizing-the-response-status-codes.html\">Supported status codes for custom response</a> in the \n <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html\">AWS WAF Developer Guide</a>. </p>",
"smithy.api#required": {}
}
},
"CustomResponseBodyKey": {
"target": "com.amazonaws.wafv2#EntityName",
"traits": {
"smithy.api#documentation": "<p>References the response body that you want AWS WAF to return to the web request client. You can define a custom response for a rule action or a default web ACL action that is set to block. To do this, you first \n define the response body key and value in the <code>CustomResponseBodies</code> setting for the <a>WebACL</a> or <a>RuleGroup</a> where you want to use it. Then, in the rule action or web ACL default action <code>BlockAction</code> setting, you reference\n the response body using this key. </p>"
}
},
"ResponseHeaders": {
"target": "com.amazonaws.wafv2#CustomHTTPHeaders",
"traits": {
"smithy.api#documentation": "<p>The HTTP headers to use in the response. Duplicate header names are not allowed. </p>\n <p>For information about the limits on count and size for custom request and response settings, see <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/limits.html\">AWS WAF quotas</a> in the \n <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html\">AWS WAF Developer Guide</a>. </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>A custom response to send to the client. You can define a custom response for rule actions and default web ACL actions that are set to <a>BlockAction</a>. </p>\n <p>For information about customizing web requests and responses, see <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html\">Customizing web requests and responses in AWS WAF</a> in the \n <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html\">AWS WAF Developer Guide</a>. </p>"
}
},
"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": "<p>The type of content in the payload that you are defining in the <code>Content</code> string.</p>",
"smithy.api#required": {}
}
},
"Content": {
"target": "com.amazonaws.wafv2#ResponseContent",
"traits": {
"smithy.api#documentation": "<p>The payload of the custom response. </p>\n <p>You can use JSON escape strings in JSON content. To do this, you must specify JSON content in the <code>ContentType</code> setting. </p>\n <p>For information about the limits on count and size for custom request and response settings, see <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/limits.html\">AWS WAF quotas</a> in the \n <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html\">AWS WAF Developer Guide</a>. </p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>The response body to use in a custom response to a web request. This is referenced by key from <a>CustomResponse</a> \n <code>CustomResponseBodyKey</code>.</p>"
}
},
"com.amazonaws.wafv2#DefaultAction": {
"type": "structure",
"members": {
"Block": {
"target": "com.amazonaws.wafv2#BlockAction",
"traits": {
"smithy.api#documentation": "<p>Specifies that AWS WAF should block requests by default. </p>"
}
},
"Allow": {
"target": "com.amazonaws.wafv2#AllowAction",
"traits": {
"smithy.api#documentation": "<p>Specifies that AWS WAF should allow requests by default.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>In a <a>WebACL</a>, this is the action that you want AWS WAF \n to perform when a web request doesn't match any of the rules in the <code>WebACL</code>. The default action must be a terminating action, so you can't use count.</p>"
}
},
"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": "<p>Deletes all rule groups that are managed by AWS Firewall Manager for the specified web ACL. </p>\n <p>You can only use this if <code>ManagedByFirewallManager</code> is false in the specified <a>WebACL</a>. </p>"
}
},
"com.amazonaws.wafv2#DeleteFirewallManagerRuleGroupsRequest": {
"type": "structure",
"members": {
"WebACLArn": {
"target": "com.amazonaws.wafv2#ResourceArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the web ACL.</p>",
"smithy.api#required": {}
}
},
"WebACLLockToken": {
"target": "com.amazonaws.wafv2#LockToken",
"traits": {
"smithy.api#documentation": "<p>A token used for optimistic locking. AWS 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. AWS 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 <code>WAFOptimisticLockException</code>. If this happens, perform another get, and use the new token returned by that operation. </p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.wafv2#DeleteFirewallManagerRuleGroupsResponse": {
"type": "structure",
"members": {
"NextWebACLLockToken": {
"target": "com.amazonaws.wafv2#LockToken",
"traits": {
"smithy.api#documentation": "<p>A token used for optimistic locking. AWS 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. AWS 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 <code>WAFOptimisticLockException</code>. If this happens, perform another get, and use the new token returned by that operation. </p>"
}
}
}
},
"com.amazonaws.wafv2#DeleteIPSet": {
"type": "operation",
"input": {
"target": "com.amazonaws.wafv2#DeleteIPSetRequest"
},
"output": {
"target": "com.amazonaws.wafv2#DeleteIPSetResponse"
},
"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": "<p>Deletes the specified <a>IPSet</a>. </p>"
}
},
"com.amazonaws.wafv2#DeleteIPSetRequest": {
"type": "structure",
"members": {
"Name": {
"target": "com.amazonaws.wafv2#EntityName",
"traits": {
"smithy.api#documentation": "<p>The name of the IP set. You cannot change the name of an <code>IPSet</code> after you create it.</p>",
"smithy.api#required": {}
}
},
"Scope": {
"target": "com.amazonaws.wafv2#Scope",
"traits": {
"smithy.api#documentation": "<p>Specifies whether this is for an AWS CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL API. </p>\n <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>\n <ul>\n <li>\n <p>CLI - Specify the Region when you use the CloudFront scope: <code>--scope=CLOUDFRONT --region=us-east-1</code>. </p>\n </li>\n <li>\n <p>API and SDKs - For all calls, use the Region endpoint us-east-1. </p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"Id": {
"target": "com.amazonaws.wafv2#EntityId",
"traits": {
"smithy.api#documentation": "<p>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.</p>",
"smithy.api#required": {}
}
},
"LockToken": {
"target": "com.amazonaws.wafv2#LockToken",
"traits": {
"smithy.api#documentation": "<p>A token used for optimistic locking. AWS 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. AWS 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 <code>WAFOptimisticLockException</code>. If this happens, perform another get, and use the new token returned by that operation. </p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.wafv2#DeleteIPSetResponse": {
"type": "structure",
"members": {}
},
"com.amazonaws.wafv2#DeleteLoggingConfiguration": {
"type": "operation",
"input": {
"target": "com.amazonaws.wafv2#DeleteLoggingConfigurationRequest"
},
"output": {
"target": "com.amazonaws.wafv2#DeleteLoggingConfigurationResponse"
},
"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": "<p>Deletes the <a>LoggingConfiguration</a> from the specified web\n ACL.</p>"
}
},
"com.amazonaws.wafv2#DeleteLoggingConfigurationRequest": {
"type": "structure",
"members": {
"ResourceArn": {
"target": "com.amazonaws.wafv2#ResourceArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the web ACL from which you want to delete the <a>LoggingConfiguration</a>.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.wafv2#DeleteLoggingConfigurationResponse": {
"type": "structure",
"members": {}
},
"com.amazonaws.wafv2#DeletePermissionPolicy": {
"type": "operation",
"input": {
"target": "com.amazonaws.wafv2#DeletePermissionPolicyRequest"
},
"output": {
"target": "com.amazonaws.wafv2#DeletePermissionPolicyResponse"
},
"errors": [
{
"target": "com.amazonaws.wafv2#WAFInternalErrorException"
},
{
"target": "com.amazonaws.wafv2#WAFInvalidParameterException"
},
{
"target": "com.amazonaws.wafv2#WAFNonexistentItemException"
}
],
"traits": {
"smithy.api#documentation": "<p>Permanently deletes an IAM policy from the specified rule group.</p>\n <p>You must be the owner of the rule group to perform this operation.</p>"
}
},
"com.amazonaws.wafv2#DeletePermissionPolicyRequest": {
"type": "structure",
"members": {
"ResourceArn": {
"target": "com.amazonaws.wafv2#ResourceArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the rule group from which you want to delete the policy.</p>\n <p>You must be the owner of the rule group to perform this operation.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.wafv2#DeletePermissionPolicyResponse": {
"type": "structure",
"members": {}
},
"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": "<p>Deletes the specified <a>RegexPatternSet</a>.</p>"
}
},
"com.amazonaws.wafv2#DeleteRegexPatternSetRequest": {
"type": "structure",
"members": {
"Name": {
"target": "com.amazonaws.wafv2#EntityName",
"traits": {
"smithy.api#documentation": "<p>The name of the set. You cannot change the name after you create the set.</p>",
"smithy.api#required": {}
}
},
"Scope": {
"target": "com.amazonaws.wafv2#Scope",
"traits": {
"smithy.api#documentation": "<p>Specifies whether this is for an AWS CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL API. </p>\n <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>\n <ul>\n <li>\n <p>CLI - Specify the Region when you use the CloudFront scope: <code>--scope=CLOUDFRONT --region=us-east-1</code>. </p>\n </li>\n <li>\n <p>API and SDKs - For all calls, use the Region endpoint us-east-1. </p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"Id": {
"target": "com.amazonaws.wafv2#EntityId",
"traits": {
"smithy.api#documentation": "<p>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.</p>",
"smithy.api#required": {}
}
},
"LockToken": {
"target": "com.amazonaws.wafv2#LockToken",
"traits": {
"smithy.api#documentation": "<p>A token used for optimistic locking. AWS 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. AWS 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 <code>WAFOptimisticLockException</code>. If this happens, perform another get, and use the new token returned by that operation. </p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.wafv2#DeleteRegexPatternSetResponse": {
"type": "structure",
"members": {}
},
"com.amazonaws.wafv2#DeleteRuleGroup": {
"type": "operation",
"input": {
"target": "com.amazonaws.wafv2#DeleteRuleGroupRequest"
},
"output": {
"target": "com.amazonaws.wafv2#DeleteRuleGroupResponse"
},
"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": "<p>Deletes the specified <a>RuleGroup</a>.</p>"
}
},
"com.amazonaws.wafv2#DeleteRuleGroupRequest": {
"type": "structure",
"members": {
"Name": {
"target": "com.amazonaws.wafv2#EntityName",
"traits": {
"smithy.api#documentation": "<p>The name of the rule group. You cannot change the name of a rule group after you create it.</p>",
"smithy.api#required": {}
}
},
"Scope": {
"target": "com.amazonaws.wafv2#Scope",
"traits": {
"smithy.api#documentation": "<p>Specifies whether this is for an AWS CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL API. </p>\n <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>\n <ul>\n <li>\n <p>CLI - Specify the Region when you use the CloudFront scope: <code>--scope=CLOUDFRONT --region=us-east-1</code>. </p>\n </li>\n <li>\n <p>API and SDKs - For all calls, use the Region endpoint us-east-1. </p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"Id": {
"target": "com.amazonaws.wafv2#EntityId",
"traits": {
"smithy.api#documentation": "<p>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.</p>",
"smithy.api#required": {}
}
},
"LockToken": {
"target": "com.amazonaws.wafv2#LockToken",
"traits": {
"smithy.api#documentation": "<p>A token used for optimistic locking. AWS 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. AWS 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 <code>WAFOptimisticLockException</code>. If this happens, perform another get, and use the new token returned by that operation. </p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.wafv2#DeleteRuleGroupResponse": {
"type": "structure",
"members": {}
},
"com.amazonaws.wafv2#DeleteWebACL": {
"type": "operation",
"input": {
"target": "com.amazonaws.wafv2#DeleteWebACLRequest"
},
"output": {
"target": "com.amazonaws.wafv2#DeleteWebACLResponse"
},
"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": "<p>Deletes the specified <a>WebACL</a>.</p>\n <p>You can only use this if <code>ManagedByFirewallManager</code> is false in the specified <a>WebACL</a>. </p>"
}
},
"com.amazonaws.wafv2#DeleteWebACLRequest": {
"type": "structure",
"members": {
"Name": {
"target": "com.amazonaws.wafv2#EntityName",
"traits": {
"smithy.api#documentation": "<p>The name of the Web ACL. You cannot change the name of a Web ACL after you create it.</p>",
"smithy.api#required": {}
}
},
"Scope": {
"target": "com.amazonaws.wafv2#Scope",
"traits": {
"smithy.api#documentation": "<p>Specifies whether this is for an AWS CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL API. </p>\n <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>\n <ul>\n <li>\n <p>CLI - Specify the Region when you use the CloudFront scope: <code>--scope=CLOUDFRONT --region=us-east-1</code>. </p>\n </li>\n <li>\n <p>API and SDKs - For all calls, use the Region endpoint us-east-1. </p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"Id": {
"target": "com.amazonaws.wafv2#EntityId",
"traits": {
"smithy.api#documentation": "<p>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.</p>",
"smithy.api#required": {}
}
},
"LockToken": {
"target": "com.amazonaws.wafv2#LockToken",
"traits": {
"smithy.api#documentation": "<p>A token used for optimistic locking. AWS 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. AWS 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 <code>WAFOptimisticLockException</code>. If this happens, perform another get, and use the new token returned by that operation. </p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.wafv2#DeleteWebACLResponse": {
"type": "structure",
"members": {}
},
"com.amazonaws.wafv2#DescribeManagedRuleGroup": {
"type": "operation",
"input": {
"target": "com.amazonaws.wafv2#DescribeManagedRuleGroupRequest"
},
"output": {
"target": "com.amazonaws.wafv2#DescribeManagedRuleGroupResponse"
},
"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": "<p>Provides high-level information for a managed rule group, including descriptions of the rules. </p>"
}
},
"com.amazonaws.wafv2#DescribeManagedRuleGroupRequest": {
"type": "structure",
"members": {
"VendorName": {
"target": "com.amazonaws.wafv2#VendorName",
"traits": {
"smithy.api#documentation": "<p>The name of the managed rule group vendor. You use this, along with the rule group name, to identify the rule group.</p>",
"smithy.api#required": {}
}
},
"Name": {
"target": "com.amazonaws.wafv2#EntityName",
"traits": {
"smithy.api#documentation": "<p>The name of the managed rule group. You use this, along with the vendor name, to identify the rule group.</p>",
"smithy.api#required": {}
}
},
"Scope": {
"target": "com.amazonaws.wafv2#Scope",
"traits": {
"smithy.api#documentation": "<p>Specifies whether this is for an AWS CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL API. </p>\n <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>\n <ul>\n <li>\n <p>CLI - Specify the Region when you use the CloudFront scope: <code>--scope=CLOUDFRONT --region=us-east-1</code>. </p>\n </li>\n <li>\n <p>API and SDKs - For all calls, use the Region endpoint us-east-1. </p>\n </li>\n </ul>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.wafv2#DescribeManagedRuleGroupResponse": {
"type": "structure",
"members": {
"Capacity": {
"target": "com.amazonaws.wafv2#CapacityUnit",
"traits": {
"smithy.api#documentation": "<p>The web ACL capacity units (WCUs) required for this rule group. \n AWS WAF uses web ACL capacity units (WCU) to calculate and control the operating\n resources that are used to run your rules, rule groups, and web ACLs. AWS WAF\n calculates capacity differently for each rule type, to reflect each rule's relative\n cost. Rule group capacity is fixed at creation, so users can plan their \n web ACL WCU usage when they use a rule group. \n The WCU limit for web ACLs is 1,500. </p>"
}
},
"Rules": {
"target": "com.amazonaws.wafv2#RuleSummaries",
"traits": {
"smithy.api#documentation": "<p></p>"
}
},
"LabelNamespace": {
"target": "com.amazonaws.wafv2#LabelName",
"traits": {
"smithy.api#documentation": "<p>The label namespace prefix for this rule group. All labels added by rules in this rule group have this prefix. </p>\n <ul>\n <li>\n <p>The syntax for the label namespace prefix for a managed rule group is the following: </p>\n <p>\n <code>awswaf:managed:<vendor>:<rule group name></code>:</p>\n </li>\n <li>\n <p>When a rule with a label matches a web request, AWS 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: </p>\n <p>\n <code><label namespace>:<label from rule></code>\n </p>\n \n </li>\n </ul>"
}
},
"AvailableLabels": {
"target": "com.amazonaws.wafv2#LabelSummaries",
"traits": {
"smithy.api#documentation": "<p>The labels that one or more rules in this rule group add to matching web ACLs. These labels are defined in the <code>RuleLabels</code> for a <a>Rule</a>.</p>"
}
},
"ConsumedLabels": {
"target": "com.amazonaws.wafv2#LabelSummaries",
"traits": {
"smithy.api#documentation": "<p>The labels that one or more rules in this rule group match against in label match statements. These labels are defined in a <code>LabelMatchStatement</code> specification, in the <a>Statement</a> definition of a rule. </p>"
}
}
}
},
"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": "<p>Disassociates a Web ACL from a regional application resource. A regional application can be an Application Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL API. </p>\n <p>For AWS CloudFront, don't use this call. Instead, use your CloudFront distribution configuration. To disassociate a Web ACL, provide an empty web ACL ID in the CloudFront call <code>UpdateDistribution</code>. For information, see <a href=\"https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_UpdateDistribution.html\">UpdateDistribution</a>.</p>"
}
},
"com.amazonaws.wafv2#DisassociateWebACLRequest": {
"type": "structure",
"members": {
"ResourceArn": {
"target": "com.amazonaws.wafv2#ResourceArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the resource to disassociate from the web ACL. </p>\n \n <p>The ARN must be in one of the following formats:</p>\n <ul>\n <li>\n <p>For an Application Load Balancer: <code>arn:aws:elasticloadbalancing:<i>region</i>:<i>account-id</i>:loadbalancer/app/<i>load-balancer-name</i>/<i>load-balancer-id</i>\n </code>\n </p>\n </li>\n <li>\n <p>For an API Gateway REST API: <code>arn:aws:apigateway:<i>region</i>::/restapis/<i>api-id</i>/stages/<i>stage-name</i>\n </code>\n </p>\n </li>\n <li>\n <p>For an AppSync GraphQL API: <code>arn:aws:appsync:<i>region</i>:<i>account-id</i>:apis/<i>GraphQLApiId</i>\n </code>\n </p>\n </li>\n </ul>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.wafv2#DisassociateWebACLResponse": {
"type": "structure",
"members": {}
},
"com.amazonaws.wafv2#EntityDescription": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 256
},
"smithy.api#pattern": "^[\\w+=:#@/\\-,\\.][\\w+=:#@/\\-,\\.\\s]+[\\w+=:#@/\\-,\\.]$"
}
},
"com.amazonaws.wafv2#EntityId": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 36
},
"smithy.api#pattern": "^[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$"
}
},
"com.amazonaws.wafv2#EntityName": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 128
},
"smithy.api#pattern": "^[\\w\\-]+$"
}
},
"com.amazonaws.wafv2#ErrorMessage": {
"type": "string"
},
"com.amazonaws.wafv2#ErrorReason": {
"type": "string"
},
"com.amazonaws.wafv2#ExcludedRule": {
"type": "structure",
"members": {
"Name": {
"target": "com.amazonaws.wafv2#EntityName",
"traits": {
"smithy.api#documentation": "<p>The name of the rule to exclude.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Specifies a single rule to exclude from the rule group. Excluding a rule overrides \n its action setting for the rule group in the web ACL, setting it to <code>COUNT</code>. \n This effectively excludes the rule from acting on web requests. </p>"
}
},
"com.amazonaws.wafv2#ExcludedRules": {
"type": "list",
"member": {
"target": "com.amazonaws.wafv2#ExcludedRule"
}
},
"com.amazonaws.wafv2#FallbackBehavior": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "MATCH",
"name": "MATCH"
},
{
"value": "NO_MATCH",
"name": "NO_MATCH"
}
]
}
},
"com.amazonaws.wafv2#FieldToMatch": {
"type": "structure",
"members": {
"SingleHeader": {
"target": "com.amazonaws.wafv2#SingleHeader",
"traits": {
"smithy.api#documentation": "<p>Inspect a single header. Provide the name of the header to inspect, for example, <code>User-Agent</code> or <code>Referer</code>. This setting isn't case sensitive.</p>\n <p>Example JSON: <code>\"SingleHeader\": { \"Name\": \"haystack\" }</code>\n </p>"
}
},
"SingleQueryArgument": {
"target": "com.amazonaws.wafv2#SingleQueryArgument",
"traits": {
"smithy.api#documentation": "<p>Inspect a single query argument. Provide the name of the query argument to inspect, such as <i>UserName</i> or <i>SalesRegion</i>. The name can be up to 30 characters long and isn't case sensitive. </p>\n <p>This is used only to indicate the web request component for AWS WAF to inspect, in the <a>FieldToMatch</a> specification. </p> \n <p>Example JSON: <code>\"SingleQueryArgument\": { \"Name\": \"myArgument\" }</code>\n </p>"
}
},
"AllQueryArguments": {
"target": "com.amazonaws.wafv2#AllQueryArguments",
"traits": {
"smithy.api#documentation": "<p>Inspect all query arguments. </p>"
}
},
"UriPath": {
"target": "com.amazonaws.wafv2#UriPath",
"traits": {
"smithy.api#documentation": "<p>Inspect the request URI path. This is the part of a web request that identifies a resource, for example, <code>/images/daily-ad.jpg</code>.</p>"
}
},
"QueryString": {
"target": "com.amazonaws.wafv2#QueryString",
"traits": {
"smithy.api#documentation": "<p>Inspect the query string. This is the part of a URL that appears after a <code>?</code> character, if any.</p>"
}
},
"Body": {
"target": "com.amazonaws.wafv2#Body",
"traits": {
"smithy.api#documentation": "<p>Inspect the request body as plain text. The request body immediately follows the request headers. This is the part of a request that contains any \n additional data that you want to send to your web server as the HTTP request body, such as data from a form. </p>\n <p>Note that only the first 8 KB (8192 bytes) of the request body are forwarded to AWS WAF for inspection by the underlying host service. If you don't need to inspect more than 8 KB, you can guarantee that you don't allow additional bytes in by combining a statement that inspects the body of the web request, such as <a>ByteMatchStatement</a> or <a>RegexPatternSetReferenceStatement</a>, with a <a>SizeConstraintStatement</a> that enforces an 8 KB size limit on the body of the request. AWS WAF doesn't support inspecting the entire contents of web requests whose bodies exceed the 8 KB limit.</p>"
}
},
"Method": {
"target": "com.amazonaws.wafv2#Method",
"traits": {
"smithy.api#documentation": "<p>Inspect the HTTP method. The method indicates the type of operation that the request is asking the origin to perform. </p>"
}
},
"JsonBody": {
"target": "com.amazonaws.wafv2#JsonBody",
"traits": {
"smithy.api#documentation": "<p>Inspect the request body as JSON. The request body immediately follows the request headers. This is the part of a request that contains any \n additional data that you want to send to your web server as the HTTP request body, such as data from a form. </p>\n <p>Note that only the first 8 KB (8192 bytes) of the request body are forwarded to AWS WAF for inspection by the underlying host service. If you don't need to inspect more than 8 KB, you can guarantee that you don't allow additional bytes in by combining a statement that inspects the body of the web request, such as <a>ByteMatchStatement</a> or <a>RegexPatternSetReferenceStatement</a>, with a <a>SizeConstraintStatement</a> that enforces an 8 KB size limit on the body of the request. AWS WAF doesn't support inspecting the entire contents of web requests whose bodies exceed the 8 KB limit.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The part of a web request that you want AWS WAF to inspect. Include the single <code>FieldToMatch</code> type that you want to inspect, with additional specifications as needed, according to the type. You specify a single request component in <code>FieldToMatch</code> for each rule statement that requires it. To inspect more than one component of a web request, create a separate rule statement for each component.</p>"
}
},
"com.amazonaws.wafv2#FieldToMatchData": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 64
},
"smithy.api#pattern": ".*\\S.*"
}
},
"com.amazonaws.wafv2#Filter": {
"type": "structure",
"members": {
"Behavior": {
"target": "com.amazonaws.wafv2#FilterBehavior",
"traits": {
"smithy.api#documentation": "<p>How to handle logs that satisfy the filter's conditions and requirement. </p>",
"smithy.api#required": {}
}
},
"Requirement": {
"target": "com.amazonaws.wafv2#FilterRequirement",
"traits": {
"smithy.api#documentation": "<p>Logic to apply to the filtering conditions. You can specify that, in order to satisfy the filter, a log must match all conditions or must match at least one condition.</p>",
"smithy.api#required": {}
}
},
"Conditions": {
"target": "com.amazonaws.wafv2#Conditions",
"traits": {
"smithy.api#documentation": "<p>Match conditions for the filter.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>A single logging filter, used in <a>LoggingFilter</a>. </p>"
}
},
"com.amazonaws.wafv2#FilterBehavior": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "KEEP",
"name": "KEEP"
},
{
"value": "DROP",
"name": "DROP"
}
]
}
},
"com.amazonaws.wafv2#FilterRequirement": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "MEETS_ALL",
"name": "MEETS_ALL"
},
{
"value": "MEETS_ANY",
"name": "MEETS_ANY"
}
]
}
},
"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": "<p>The name of the rule group. You cannot change the name of a rule group after you create it.</p>",
"smithy.api#required": {}
}
},
"Priority": {
"target": "com.amazonaws.wafv2#RulePriority",
"traits": {
"smithy.api#documentation": "<p>If you define more than one rule group in the first or last Firewall Manager rule groups,\n AWS WAF evaluates each request against the rule groups in order, starting from the lowest priority setting. \n The priorities don't need to be consecutive, but they must all be different.</p>",
"smithy.api#required": {}
}
},
"FirewallManagerStatement": {
"target": "com.amazonaws.wafv2#FirewallManagerStatement",
"traits": {
"smithy.api#documentation": "<p>The processing guidance for an AWS Firewall Manager rule. This is like a regular rule <a>Statement</a>, but it can only contain a rule group reference.</p>",
"smithy.api#required": {}
}
},
"OverrideAction": {
"target": "com.amazonaws.wafv2#OverrideAction",
"traits": {
"smithy.api#required": {}
}
},
"VisibilityConfig": {
"target": "com.amazonaws.wafv2#VisibilityConfig",
"traits": {
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>A rule group that's defined for an AWS Firewall Manager WAF policy.</p>"
}
},
"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"
},
"RuleGroupReferenceStatement": {
"target": "com.amazonaws.wafv2#RuleGroupReferenceStatement"
}
},
"traits": {
"smithy.api#documentation": "<p>The processing guidance for an AWS Firewall Manager rule. This is like a regular rule <a>Statement</a>, but it can only contain a rule group reference.</p>"
}
},
"com.amazonaws.wafv2#ForwardedIPConfig": {
"type": "structure",
"members": {
"HeaderName": {
"target": "com.amazonaws.wafv2#ForwardedIPHeaderName",
"traits": {
"smithy.api#documentation": "<p>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 <code>X-Forwarded-For</code>.</p>\n \n <note>\n <p>If the specified header isn't present in the request, AWS WAF doesn't apply the rule to the web request at all.</p>\n </note>",
"smithy.api#required": {}
}
},
"FallbackBehavior": {
"target": "com.amazonaws.wafv2#FallbackBehavior",
"traits": {
"smithy.api#documentation": "<p>The match status to assign to the web request if the request doesn't have a valid IP address in the specified position.</p>\n \n <note>\n <p>If the specified header isn't present in the request, AWS WAF doesn't apply the rule to the web request at all.</p>\n </note> \n \n <p>You can specify the following fallback behaviors:</p>\n <ul>\n <li>\n <p>\n <code>MATCH</code> - Treat the web request as matching the rule statement. AWS WAF applies the rule action to the request.</p>\n </li>\n <li>\n <p>\n <code>NO_MATCH</code> - Treat the web request as not matching the rule statement.</p>\n </li>\n </ul>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>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. </p>\n \n <note>\n <p>If the specified header isn't present in the request, AWS WAF doesn't apply the rule to the web request at all.</p>\n </note> \n \n \n <p>This configuration is used for <a>GeoMatchStatement</a> and <a>RateBasedStatement</a>. \n For <a>IPSetReferenceStatement</a>, use <a>IPSetForwardedIPConfig</a> instead. </p>\n <p>AWS WAF only evaluates the first IP address found in the specified HTTP header. </p>"
}
},
"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": "string",
"traits": {
"smithy.api#enum": [
{
"value": "FIRST",
"name": "FIRST"
},
{
"value": "LAST",
"name": "LAST"
},
{
"value": "ANY",
"name": "ANY"
}
]
}
},
"com.amazonaws.wafv2#GeoMatchStatement": {
"type": "structure",
"members": {
"CountryCodes": {
"target": "com.amazonaws.wafv2#CountryCodes",
"traits": {
"smithy.api#documentation": "<p>An array of two-character country codes, for example, <code>[ \"US\", \"CN\" ]</code>, from the alpha-2 country ISO codes of the ISO 3166 international standard. </p>"
}
},
"ForwardedIPConfig": {
"target": "com.amazonaws.wafv2#ForwardedIPConfig",
"traits": {
"smithy.api#documentation": "<p>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. </p>\n \n <note>\n <p>If the specified header isn't present in the request, AWS WAF doesn't apply the rule to the web request at all.</p>\n </note>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>A rule statement used to identify web requests based on country of origin. </p>"
}
},
"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": "<p>Retrieves the specified <a>IPSet</a>.</p>"
}
},
"com.amazonaws.wafv2#GetIPSetRequest": {
"type": "structure",
"members": {
"Name": {
"target": "com.amazonaws.wafv2#EntityName",
"traits": {
"smithy.api#documentation": "<p>The name of the IP set. You cannot change the name of an <code>IPSet</code> after you create it.</p>",
"smithy.api#required": {}
}
},
"Scope": {
"target": "com.amazonaws.wafv2#Scope",
"traits": {
"smithy.api#documentation": "<p>Specifies whether this is for an AWS CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL API. </p>\n <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>\n <ul>\n <li>\n <p>CLI - Specify the Region when you use the CloudFront scope: <code>--scope=CLOUDFRONT --region=us-east-1</code>. </p>\n </li>\n <li>\n <p>API and SDKs - For all calls, use the Region endpoint us-east-1. </p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"Id": {
"target": "com.amazonaws.wafv2#EntityId",
"traits": {
"smithy.api#documentation": "<p>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.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.wafv2#GetIPSetResponse": {
"type": "structure",
"members": {
"IPSet": {
"target": "com.amazonaws.wafv2#IPSet",
"traits": {
"smithy.api#documentation": "<p></p>"
}
},
"LockToken": {
"target": "com.amazonaws.wafv2#LockToken",
"traits": {
"smithy.api#documentation": "<p>A token used for optimistic locking. AWS 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. AWS 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 <code>WAFOptimisticLockException</code>. If this happens, perform another get, and use the new token returned by that operation. </p>"
}
}
}
},
"com.amazonaws.wafv2#GetLoggingConfiguration": {
"type": "operation",
"input": {
"target": "com.amazonaws.wafv2#GetLoggingConfigurationRequest"
},
"output": {
"target": "com.amazonaws.wafv2#GetLoggingConfigurationResponse"
},
"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": "<p>Returns the <a>LoggingConfiguration</a> for the specified web ACL.</p>"
}
},
"com.amazonaws.wafv2#GetLoggingConfigurationRequest": {
"type": "structure",
"members": {
"ResourceArn": {
"target": "com.amazonaws.wafv2#ResourceArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the web ACL for which you want to get the <a>LoggingConfiguration</a>.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.wafv2#GetLoggingConfigurationResponse": {
"type": "structure",
"members": {
"LoggingConfiguration": {
"target": "com.amazonaws.wafv2#LoggingConfiguration",
"traits": {
"smithy.api#documentation": "<p>The <a>LoggingConfiguration</a> for the specified web ACL.</p>"
}
}
}
},
"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": "<p>Returns the IAM policy that is attached to the specified rule group.</p>\n <p>You must be the owner of the rule group to perform this operation.</p>"
}
},
"com.amazonaws.wafv2#GetPermissionPolicyRequest": {
"type": "structure",
"members": {
"ResourceArn": {
"target": "com.amazonaws.wafv2#ResourceArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the rule group for which you want to get the policy.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.wafv2#GetPermissionPolicyResponse": {
"type": "structure",
"members": {
"Policy": {
"target": "com.amazonaws.wafv2#PolicyString",
"traits": {
"smithy.api#documentation": "<p>The IAM policy that is attached to the specified rule group.</p>"
}
}
}
},
"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"
}
],
"traits": {
"smithy.api#documentation": "<p>Retrieves the keys that are currently blocked by a rate-based rule. The maximum number of managed keys that can be blocked for a single rate-based rule is 10,000. If more than 10,000 addresses exceed the rate limit, those with the highest rates are blocked.</p>"
}
},
"com.amazonaws.wafv2#GetRateBasedStatementManagedKeysRequest": {
"type": "structure",
"members": {
"Scope": {
"target": "com.amazonaws.wafv2#Scope",
"traits": {
"smithy.api#documentation": "<p>Specifies whether this is for an AWS CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL API. </p>\n <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>\n <ul>\n <li>\n <p>CLI - Specify the Region when you use the CloudFront scope: <code>--scope=CLOUDFRONT --region=us-east-1</code>. </p>\n </li>\n <li>\n <p>API and SDKs - For all calls, use the Region endpoint us-east-1. </p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"WebACLName": {
"target": "com.amazonaws.wafv2#EntityName",
"traits": {
"smithy.api#documentation": "<p>The name of the Web ACL. You cannot change the name of a Web ACL after you create it.</p>",
"smithy.api#required": {}
}
},
"WebACLId": {
"target": "com.amazonaws.wafv2#EntityId",
"traits": {
"smithy.api#documentation": "<p>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.</p>",
"smithy.api#required": {}
}
},
"RuleName": {
"target": "com.amazonaws.wafv2#EntityName",
"traits": {
"smithy.api#documentation": "<p>The name of the rate-based rule to get the keys for.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.wafv2#GetRateBasedStatementManagedKeysResponse": {
"type": "structure",
"members": {
"ManagedKeysIPV4": {
"target": "com.amazonaws.wafv2#RateBasedStatementManagedKeysIPSet",
"traits": {
"smithy.api#documentation": "<p>The keys that are of Internet Protocol version 4 (IPv4). </p>"
}
},
"ManagedKeysIPV6": {
"target": "com.amazonaws.wafv2#RateBasedStatementManagedKeysIPSet",
"traits": {
"smithy.api#documentation": "<p>The keys that are of Internet Protocol version 6 (IPv6). </p>"
}
}
}
},
"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": "<p>Retrieves the specified <a>RegexPatternSet</a>.</p>"
}
},
"com.amazonaws.wafv2#GetRegexPatternSetRequest": {
"type": "structure",
"members": {
"Name": {
"target": "com.amazonaws.wafv2#EntityName",
"traits": {
"smithy.api#documentation": "<p>The name of the set. You cannot change the name after you create the set.</p>",
"smithy.api#required": {}
}
},
"Scope": {
"target": "com.amazonaws.wafv2#Scope",
"traits": {
"smithy.api#documentation": "<p>Specifies whether this is for an AWS CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL API. </p>\n <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>\n <ul>\n <li>\n <p>CLI - Specify the Region when you use the CloudFront scope: <code>--scope=CLOUDFRONT --region=us-east-1</code>. </p>\n </li>\n <li>\n <p>API and SDKs - For all calls, use the Region endpoint us-east-1. </p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"Id": {
"target": "com.amazonaws.wafv2#EntityId",
"traits": {
"smithy.api#documentation": "<p>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.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.wafv2#GetRegexPatternSetResponse": {
"type": "structure",
"members": {
"RegexPatternSet": {
"target": "com.amazonaws.wafv2#RegexPatternSet",
"traits": {
"smithy.api#documentation": "<p></p>"
}
},
"LockToken": {
"target": "com.amazonaws.wafv2#LockToken",
"traits": {
"smithy.api#documentation": "<p>A token used for optimistic locking. AWS 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. AWS 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 <code>WAFOptimisticLockException</code>. If this happens, perform another get, and use the new token returned by that operation. </p>"
}
}
}
},
"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": "<p>Retrieves the specified <a>RuleGroup</a>.</p>"
}
},
"com.amazonaws.wafv2#GetRuleGroupRequest": {
"type": "structure",
"members": {
"Name": {
"target": "com.amazonaws.wafv2#EntityName",
"traits": {
"smithy.api#documentation": "<p>The name of the rule group. You cannot change the name of a rule group after you create it.</p>",
"smithy.api#required": {}
}
},
"Scope": {
"target": "com.amazonaws.wafv2#Scope",
"traits": {
"smithy.api#documentation": "<p>Specifies whether this is for an AWS CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL API. </p>\n <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>\n <ul>\n <li>\n <p>CLI - Specify the Region when you use the CloudFront scope: <code>--scope=CLOUDFRONT --region=us-east-1</code>. </p>\n </li>\n <li>\n <p>API and SDKs - For all calls, use the Region endpoint us-east-1. </p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"Id": {
"target": "com.amazonaws.wafv2#EntityId",
"traits": {
"smithy.api#documentation": "<p>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.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.wafv2#GetRuleGroupResponse": {
"type": "structure",
"members": {
"RuleGroup": {
"target": "com.amazonaws.wafv2#RuleGroup",
"traits": {
"smithy.api#documentation": "<p></p>"
}
},
"LockToken": {
"target": "com.amazonaws.wafv2#LockToken",
"traits": {
"smithy.api#documentation": "<p>A token used for optimistic locking. AWS 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. AWS 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 <code>WAFOptimisticLockException</code>. If this happens, perform another get, and use the new token returned by that operation. </p>"
}
}
}
},
"com.amazonaws.wafv2#GetSampledRequests": {
"type": "operation",
"input": {
"target": "com.amazonaws.wafv2#GetSampledRequestsRequest"
},
"output": {
"target": "com.amazonaws.wafv2#GetSampledRequestsResponse"
},
"errors": [
{
"target": "com.amazonaws.wafv2#WAFInternalErrorException"
},
{
"target": "com.amazonaws.wafv2#WAFInvalidParameterException"
},
{
"target": "com.amazonaws.wafv2#WAFNonexistentItemException"
}
],
"traits": {
"smithy.api#documentation": "<p>Gets detailed information about a specified number of requests--a sample--that AWS WAF randomly selects from among the first 5,000 requests that your AWS resource received during a time range that you choose. You can specify a sample size of up to 500 requests, and you can specify any time range in the previous three hours.</p>\n <p>\n <code>GetSampledRequests</code> returns a time range, which is usually the time range that you specified. However, if your resource \n (such as a CloudFront distribution) received 5,000 requests before the specified time range elapsed, <code>GetSampledRequests</code> \n returns an updated time range. This new time range indicates the actual period during which AWS WAF selected the requests in the sample.</p>"
}
},
"com.amazonaws.wafv2#GetSampledRequestsRequest": {
"type": "structure",
"members": {
"WebAclArn": {
"target": "com.amazonaws.wafv2#ResourceArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon resource name (ARN) of the <code>WebACL</code> for which you want a sample of requests.</p>",
"smithy.api#required": {}
}
},
"RuleMetricName": {
"target": "com.amazonaws.wafv2#MetricName",
"traits": {
"smithy.api#documentation": "<p>The metric name assigned to the <code>Rule</code> or <code>RuleGroup</code> for which you want a sample of requests.</p>",
"smithy.api#required": {}
}
},
"Scope": {
"target": "com.amazonaws.wafv2#Scope",
"traits": {
"smithy.api#documentation": "<p>Specifies whether this is for an AWS CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL API. </p>\n <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>\n <ul>\n <li>\n <p>CLI - Specify the Region when you use the CloudFront scope: <code>--scope=CLOUDFRONT --region=us-east-1</code>. </p>\n </li>\n <li>\n <p>API and SDKs - For all calls, use the Region endpoint us-east-1. </p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"TimeWindow": {
"target": "com.amazonaws.wafv2#TimeWindow",
"traits": {
"smithy.api#documentation": "<p>The start date and time and the end date and time of the range for which you want <code>GetSampledRequests</code> to return a \n sample of requests. You must specify the times in Coordinated Universal Time (UTC) format. UTC format includes the special designator, <code>Z</code>. For example, <code>\"2016-09-27T14:50Z\"</code>. You can specify any time range in the previous three hours. If you specify a start time that's earlier than three hours ago, AWS WAF sets it to three hours ago.</p>",
"smithy.api#required": {}
}
},
"MaxItems": {
"target": "com.amazonaws.wafv2#ListMaxItems",
"traits": {
"smithy.api#documentation": "<p>The number of requests that you want AWS WAF to return from among the first 5,000 requests that your AWS resource received\n during the time range. If your resource received fewer requests than the value of <code>MaxItems</code>, <code>GetSampledRequests</code> \n returns information about all of them. </p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.wafv2#GetSampledRequestsResponse": {
"type": "structure",
"members": {
"SampledRequests": {
"target": "com.amazonaws.wafv2#SampledHTTPRequests",
"traits": {
"smithy.api#documentation": "<p>A complex type that contains detailed information about each of the requests in the sample.</p>"
}
},
"PopulationSize": {
"target": "com.amazonaws.wafv2#PopulationSize",
"traits": {
"smithy.api#documentation": "<p>The total number of requests from which <code>GetSampledRequests</code> got a sample of <code>MaxItems</code> requests. \n If <code>PopulationSize</code> is less than <code>MaxItems</code>, the sample includes every request that your AWS resource \n received during the specified time range.</p>"
}
},
"TimeWindow": {
"target": "com.amazonaws.wafv2#TimeWindow",
"traits": {
"smithy.api#documentation": "<p>Usually, <code>TimeWindow</code> is the time range that you specified in the <code>GetSampledRequests</code> request. \n However, if your AWS resource received more than 5,000 requests during the time range that you specified in the request, \n <code>GetSampledRequests</code> returns the time range for the first 5,000 requests. Times are in Coordinated Universal Time (UTC) format.</p>"
}
}
}
},
"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": "<p>Retrieves the specified <a>WebACL</a>.</p>"
}
},
"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": "<p>Retrieves the <a>WebACL</a> for the specified resource. </p>"
}
},
"com.amazonaws.wafv2#GetWebACLForResourceRequest": {
"type": "structure",
"members": {
"ResourceArn": {
"target": "com.amazonaws.wafv2#ResourceArn",
"traits": {
"smithy.api#documentation": "<p>The ARN (Amazon Resource Name) of the resource.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.wafv2#GetWebACLForResourceResponse": {
"type": "structure",
"members": {
"WebACL": {
"target": "com.amazonaws.wafv2#WebACL",
"traits": {
"smithy.api#documentation": "<p>The Web ACL that is associated with the resource. If there is no associated resource, AWS WAF returns a null Web ACL.</p>"
}
}
}
},
"com.amazonaws.wafv2#GetWebACLRequest": {
"type": "structure",
"members": {
"Name": {
"target": "com.amazonaws.wafv2#EntityName",
"traits": {
"smithy.api#documentation": "<p>The name of the Web ACL. You cannot change the name of a Web ACL after you create it.</p>",
"smithy.api#required": {}
}
},
"Scope": {
"target": "com.amazonaws.wafv2#Scope",
"traits": {
"smithy.api#documentation": "<p>Specifies whether this is for an AWS CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL API. </p>\n <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>\n <ul>\n <li>\n <p>CLI - Specify the Region when you use the CloudFront scope: <code>--scope=CLOUDFRONT --region=us-east-1</code>. </p>\n </li>\n <li>\n <p>API and SDKs - For all calls, use the Region endpoint us-east-1. </p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"Id": {
"target": "com.amazonaws.wafv2#EntityId",
"traits": {
"smithy.api#documentation": "<p>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.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.wafv2#GetWebACLResponse": {
"type": "structure",
"members": {
"WebACL": {
"target": "com.amazonaws.wafv2#WebACL",
"traits": {
"smithy.api#documentation": "<p>The Web ACL specification. You can modify the settings in this Web ACL and use it to update this Web ACL or create a new one.</p>"
}
},
"LockToken": {
"target": "com.amazonaws.wafv2#LockToken",
"traits": {
"smithy.api#documentation": "<p>A token used for optimistic locking. AWS 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. AWS 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 <code>WAFOptimisticLockException</code>. If this happens, perform another get, and use the new token returned by that operation. </p>"
}
}
}
},
"com.amazonaws.wafv2#HTTPHeader": {
"type": "structure",
"members": {
"Name": {
"target": "com.amazonaws.wafv2#HeaderName",
"traits": {
"smithy.api#documentation": "<p>The name of the HTTP header.</p>"
}
},
"Value": {
"target": "com.amazonaws.wafv2#HeaderValue",
"traits": {
"smithy.api#documentation": "<p>The value of the HTTP header.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Part of the response from <a>GetSampledRequests</a>. This is a complex type that \n appears as <code>Headers</code> in the response syntax. <code>HTTPHeader</code> contains the names and values of \n all of the headers that appear in one of the web requests. </p>"
}
},
"com.amazonaws.wafv2#HTTPHeaders": {
"type": "list",
"member": {
"target": "com.amazonaws.wafv2#HTTPHeader"
}
},
"com.amazonaws.wafv2#HTTPMethod": {
"type": "string"
},
"com.amazonaws.wafv2#HTTPRequest": {
"type": "structure",
"members": {
"ClientIP": {
"target": "com.amazonaws.wafv2#IPString",
"traits": {
"smithy.api#documentation": "<p>The IP address that the request originated from. If the web ACL is associated with a CloudFront distribution, \n this is the value of one of the following fields in CloudFront access logs:</p>\n <ul>\n <li>\n <p>\n <code>c-ip</code>, if the viewer did not use an HTTP proxy or a load balancer to send the request</p>\n </li>\n <li>\n <p>\n <code>x-forwarded-for</code>, if the viewer did use an HTTP proxy or a load balancer to send the request</p>\n </li>\n </ul>"
}
},
"Country": {
"target": "com.amazonaws.wafv2#Country",
"traits": {
"smithy.api#documentation": "<p>The two-letter country code for the country that the request originated from. For a current list of country codes, \n see the Wikipedia entry <a href=\"https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2\">ISO 3166-1 alpha-2</a>.</p>"
}
},
"URI": {
"target": "com.amazonaws.wafv2#URIString",
"traits": {
"smithy.api#documentation": "<p>The URI path of the request, which identifies the resource, for example, <code>/images/daily-ad.jpg</code>.</p>"
}
},
"Method": {
"target": "com.amazonaws.wafv2#HTTPMethod",
"traits": {
"smithy.api#documentation": "<p>The HTTP method specified in the sampled web request. </p>"
}
},
"HTTPVersion": {
"target": "com.amazonaws.wafv2#HTTPVersion",
"traits": {
"smithy.api#documentation": "<p>The HTTP version specified in the sampled web request, for example, <code>HTTP/1.1</code>.</p>"
}
},
"Headers": {
"target": "com.amazonaws.wafv2#HTTPHeaders",
"traits": {
"smithy.api#documentation": "<p>A complex type that contains the name and value for each header in the sampled web request.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Part of the response from <a>GetSampledRequests</a>. This is a complex type that \n appears as <code>Request</code> in the response syntax. <code>HTTPRequest</code> contains information about \n one of the web requests. </p>"
}
},
"com.amazonaws.wafv2#HTTPVersion": {
"type": "string"
},
"com.amazonaws.wafv2#HeaderName": {
"type": "string"
},
"com.amazonaws.wafv2#HeaderValue": {
"type": "string"
},
"com.amazonaws.wafv2#IPAddress": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 50
},
"smithy.api#pattern": ".*\\S.*"
}
},
"com.amazonaws.wafv2#IPAddressVersion": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "IPV4",
"name": "IPV4"
},
{
"value": "IPV6",
"name": "IPV6"
}
]
}
},
"com.amazonaws.wafv2#IPAddresses": {
"type": "list",
"member": {
"target": "com.amazonaws.wafv2#IPAddress"
}
},
"com.amazonaws.wafv2#IPSet": {
"type": "structure",
"members": {
"Name": {
"target": "com.amazonaws.wafv2#EntityName",
"traits": {
"smithy.api#documentation": "<p>The name of the IP set. You cannot change the name of an <code>IPSet</code> after you create it.</p>",
"smithy.api#required": {}
}
},
"Id": {
"target": "com.amazonaws.wafv2#EntityId",
"traits": {
"smithy.api#documentation": "<p>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.</p>",
"smithy.api#required": {}
}
},
"ARN": {
"target": "com.amazonaws.wafv2#ResourceArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the entity.</p>",
"smithy.api#required": {}
}
},
"Description": {
"target": "com.amazonaws.wafv2#EntityDescription",
"traits": {
"smithy.api#documentation": "<p>A description of the IP set that helps with identification. </p>"
}
},
"IPAddressVersion": {
"target": "com.amazonaws.wafv2#IPAddressVersion",
"traits": {
"smithy.api#documentation": "<p>Specify IPV4 or IPV6. </p>",
"smithy.api#required": {}
}
},
"Addresses": {
"target": "com.amazonaws.wafv2#IPAddresses",
"traits": {
"smithy.api#documentation": "<p>Contains an array of strings that specify one or more IP addresses or blocks of IP addresses in Classless Inter-Domain Routing (CIDR) notation. AWS WAF supports all IPv4 and IPv6 CIDR ranges except for /0. </p>\n <p>Examples: </p>\n <ul>\n <li>\n <p>To configure AWS WAF to allow, block, or count requests that originated from the IP address 192.0.2.44, specify <code>192.0.2.44/32</code>.</p>\n </li>\n <li>\n <p>To configure AWS WAF to allow, block, or count requests that originated from IP addresses from 192.0.2.0 to 192.0.2.255, specify \n <code>192.0.2.0/24</code>.</p>\n </li>\n <li>\n <p>To configure AWS WAF to allow, block, or count requests that originated from the IP address 1111:0000:0000:0000:0000:0000:0000:0111, specify <code>1111:0000:0000:0000:0000:0000:0000:0111/128</code>.</p>\n </li>\n <li>\n <p>To configure AWS WAF to allow, block, or count requests that originated from IP addresses 1111:0000:0000:0000:0000:0000:0000:0000 to 1111:0000:0000:0000:ffff:ffff:ffff:ffff, specify <code>1111:0000:0000:0000:0000:0000:0000:0000/64</code>.</p>\n </li>\n </ul>\n <p>For more information about CIDR notation, see the Wikipedia entry <a href=\"https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing\">Classless\n Inter-Domain Routing</a>.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains one or more IP addresses or blocks of IP addresses specified in Classless Inter-Domain Routing (CIDR) notation. AWS WAF supports all IPv4 and IPv6 CIDR ranges except for /0. For information about CIDR notation, see the Wikipedia entry <a href=\"https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing\">Classless\n Inter-Domain Routing</a>. </p>\n <p>AWS WAF assigns an ARN to each <code>IPSet</code> that you create. To use an IP set in a rule, you provide the ARN to the <a>Rule</a> statement <a>IPSetReferenceStatement</a>. </p>"
}
},
"com.amazonaws.wafv2#IPSetForwardedIPConfig": {
"type": "structure",
"members": {
"HeaderName": {
"target": "com.amazonaws.wafv2#ForwardedIPHeaderName",
"traits": {
"smithy.api#documentation": "<p>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 <code>X-Forwarded-For</code>.</p>\n \n <note>\n <p>If the specified header isn't present in the request, AWS WAF doesn't apply the rule to the web request at all.</p>\n </note>",
"smithy.api#required": {}
}
},
"FallbackBehavior": {
"target": "com.amazonaws.wafv2#FallbackBehavior",
"traits": {
"smithy.api#documentation": "<p>The match status to assign to the web request if the request doesn't have a valid IP address in the specified position.</p>\n \n <note>\n <p>If the specified header isn't present in the request, AWS WAF doesn't apply the rule to the web request at all.</p>\n </note> \n \n <p>You can specify the following fallback behaviors:</p>\n <ul>\n <li>\n <p>\n <code>MATCH</code> - Treat the web request as matching the rule statement. AWS WAF applies the rule action to the request.</p>\n </li>\n <li>\n <p>\n <code>NO_MATCH</code> - Treat the web request as not matching the rule statement.</p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"Position": {
"target": "com.amazonaws.wafv2#ForwardedIPPosition",
"traits": {
"smithy.api#documentation": "<p>The position in the header to search for the IP address. The header can contain IP addresses of the original client and also of proxies. For example, the header value could be <code>10.1.1.1, 127.0.0.0, 10.10.10.10</code> where the first IP address identifies the original client and the rest identify proxies that the request went through. </p>\n <p>The options for this setting are the following: </p>\n <ul>\n <li>\n <p>FIRST - Inspect the first IP address in the list of IP addresses in the header. This is usually the client's original IP.</p>\n </li>\n <li>\n <p>LAST - Inspect the last IP address in the list of IP addresses in the header.</p>\n </li>\n <li>\n <p>ANY - Inspect all IP addresses in the header for a match. If the header contains more than 10 IP addresses, AWS WAF inspects the last 10.</p>\n </li>\n </ul>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>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. </p>\n \n <note>\n <p>If the specified header isn't present in the request, AWS WAF doesn't apply the rule to the web request at all.</p>\n </note> \n \n \n <p>This configuration is used only for <a>IPSetReferenceStatement</a>. For <a>GeoMatchStatement</a> and <a>RateBasedStatement</a>, use <a>ForwardedIPConfig</a> instead. </p>"
}
},
"com.amazonaws.wafv2#IPSetReferenceStatement": {
"type": "structure",
"members": {
"ARN": {
"target": "com.amazonaws.wafv2#ResourceArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the <a>IPSet</a> that this statement references.</p>",
"smithy.api#required": {}
}
},
"IPSetForwardedIPConfig": {
"target": "com.amazonaws.wafv2#IPSetForwardedIPConfig",
"traits": {
"smithy.api#documentation": "<p>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. </p>\n \n <note>\n <p>If the specified header isn't present in the request, AWS WAF doesn't apply the rule to the web request at all.</p>\n </note>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>A rule statement used to detect web requests coming from particular IP addresses or address ranges. To use this, create an <a>IPSet</a> that specifies the addresses you want to detect, then use the ARN of that set in this statement. To create an IP set, see <a>CreateIPSet</a>.</p> \n <p>Each 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, AWS WAF automatically updates all rules that reference it.</p>"
}
},
"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": "<p>The name of the IP set. You cannot change the name of an <code>IPSet</code> after you create it.</p>"
}
},
"Id": {
"target": "com.amazonaws.wafv2#EntityId",
"traits": {
"smithy.api#documentation": "<p>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.</p>"
}
},
"Description": {
"target": "com.amazonaws.wafv2#EntityDescription",
"traits": {
"smithy.api#documentation": "<p>A description of the IP set that helps with identification. </p>"
}
},
"LockToken": {
"target": "com.amazonaws.wafv2#LockToken",
"traits": {
"smithy.api#documentation": "<p>A token used for optimistic locking. AWS 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. AWS 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 <code>WAFOptimisticLockException</code>. If this happens, perform another get, and use the new token returned by that operation. </p>"
}
},
"ARN": {
"target": "com.amazonaws.wafv2#ResourceArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the entity.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>High-level information about an <a>IPSet</a>, returned by operations like create and list. This provides information like the ID, that you can use to retrieve and manage an <code>IPSet</code>, and the ARN, that you provide to the <a>IPSetReferenceStatement</a> to use the address set in a <a>Rule</a>.</p>"
}
},
"com.amazonaws.wafv2#IPString": {
"type": "string"
},
"com.amazonaws.wafv2#JsonBody": {
"type": "structure",
"members": {
"MatchPattern": {
"target": "com.amazonaws.wafv2#JsonMatchPattern",
"traits": {
"smithy.api#documentation": "<p>The patterns to look for in the JSON body. AWS WAF inspects the results of these pattern matches against the rule inspection criteria. </p>",
"smithy.api#required": {}
}
},
"MatchScope": {
"target": "com.amazonaws.wafv2#JsonMatchScope",
"traits": {
"smithy.api#documentation": "<p>The parts of the JSON to match against using the <code>MatchPattern</code>. If you specify <code>All</code>, AWS WAF matches against keys and values. </p>",
"smithy.api#required": {}
}
},
"InvalidFallbackBehavior": {
"target": "com.amazonaws.wafv2#BodyParsingFallbackBehavior",
"traits": {
"smithy.api#documentation": "<p>What AWS WAF should do if it fails to completely parse the JSON body. The options are the following:</p>\n <ul>\n <li>\n \t\t <p>\n <code>EVALUATE_AS_STRING</code> - Inspect the body as\n \t\t\tplain text. AWS WAF applies the text transformations and\n \t\t\tinspection criteria that you defined for the JSON inspection to\n \t\t\tthe body text string.</p>\n \t</li>\n <li>\n \t\t <p>\n <code>MATCH</code> - Treat the web request as matching\n \t\t\tthe rule statement. AWS WAF applies the rule action to the\n \t\t\trequest.</p>\n \t</li>\n <li>\n \t\t <p>\n <code>NO_MATCH</code> - Treat the web request as not\n \t\t\tmatching the rule statement.</p>\n \t</li>\n </ul>\n <p>If you don't provide this setting, AWS WAF parses and evaluates the content only up to the first parsing failure that it encounters. </p>\n <p>AWS WAF does its best to parse the entire JSON body, but might be forced\n \tto stop for reasons such as invalid characters, duplicate keys,\n \ttruncation, and any content whose root node isn't an object or an array. </p>\n <p>AWS WAF parses the JSON in the following examples as two valid key,\n \tvalue pairs: </p>\n <ul>\n <li>\n \t\t <p>Missing comma:\n \t\t\t<code>{\"key1\":\"value1\"\"key2\":\"value2\"}</code>\n </p>\n \t</li>\n <li>\n \t\t <p>Missing colon:\n \t\t\t<code>{\"key1\":\"value1\",\"key2\"\"value2\"}</code>\n </p>\n \t</li>\n <li>\n \t\t <p>Extra colons:\n \t\t\t<code>{\"key1\"::\"value1\",\"key2\"\"value2\"}</code>\n </p>\n \t</li>\n </ul>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The body of a web request, inspected as JSON. The body immediately follows the request headers. This is used in the <a>FieldToMatch</a> specification.</p>\n <p>Use the specifications in this object to indicate which parts of the JSON body to inspect using the rule's inspection criteria. AWS WAF inspects only the parts of the JSON that result from the matches that you indicate. </p>"
}
},
"com.amazonaws.wafv2#JsonMatchPattern": {
"type": "structure",
"members": {
"All": {
"target": "com.amazonaws.wafv2#All",
"traits": {
"smithy.api#documentation": "<p>Match all of the elements. See also <code>MatchScope</code> in <a>JsonBody</a>. </p>\n <p>You must specify either this setting or the <code>IncludedPaths</code> setting, but not both.</p>"
}
},
"IncludedPaths": {
"target": "com.amazonaws.wafv2#JsonPointerPaths",
"traits": {
"smithy.api#documentation": "<p>Match only the specified include paths. See also <code>MatchScope</code> in <a>JsonBody</a>. </p>\n <p>Provide the include paths using JSON Pointer syntax. For example, <code>\"IncludedPaths\": [\"/dogs/0/name\", \"/dogs/1/name\"]</code>. For information about this syntax, see the Internet Engineering Task Force (IETF) documentation \n <a href=\"https://tools.ietf.org/html/rfc6901\">JavaScript Object Notation (JSON) Pointer</a>. </p>\n <p>You must specify either this setting or the <code>All</code> setting, but not both.</p>\n <note>\n <p>Don't use this option to include all paths. Instead, use the <code>All</code> setting. </p>\n </note>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The patterns to look for in the JSON body. AWS WAF inspects the results of these pattern matches against the rule inspection criteria. This is used with the <a>FieldToMatch</a> option <code>JsonBody</code>. </p>"
}
},
"com.amazonaws.wafv2#JsonMatchScope": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "ALL",
"name": "ALL"
},
{
"value": "KEY",
"name": "KEY"
},
{
"value": "VALUE",
"name": "VALUE"
}
]
}
},
"com.amazonaws.wafv2#JsonPointerPath": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 512
},
"smithy.api#pattern": "([/])|([/](([^~])|(~[01]))+)"
}
},
"com.amazonaws.wafv2#JsonPointerPaths": {
"type": "list",
"member": {
"target": "com.amazonaws.wafv2#JsonPointerPath"
},
"traits": {
"smithy.api#length": {
"min": 1
}
}
},
"com.amazonaws.wafv2#Label": {
"type": "structure",
"members": {
"Name": {
"target": "com.amazonaws.wafv2#LabelName",
"traits": {
"smithy.api#documentation": "<p>The label string. </p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>A single label container. This is used as an element of a label array in multiple contexts, for example, in <code>RuleLabels</code> inside a <a>Rule</a> and in <code>Labels</code> inside a <a>SampledHTTPRequest</a>. </p>"
}
},
"com.amazonaws.wafv2#LabelMatchKey": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 1024
},
"smithy.api#pattern": "^[0-9A-Za-z_\\-:]+$"
}
},
"com.amazonaws.wafv2#LabelMatchScope": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "LABEL",
"name": "LABEL"
},
{
"value": "NAMESPACE",
"name": "NAMESPACE"
}
]
}
},
"com.amazonaws.wafv2#LabelMatchStatement": {
"type": "structure",
"members": {
"Scope": {
"target": "com.amazonaws.wafv2#LabelMatchScope",
"traits": {
"smithy.api#documentation": "<p>Specify whether you want to match using the label name or just the namespace. </p>",
"smithy.api#required": {}
}
},
"Key": {
"target": "com.amazonaws.wafv2#LabelMatchKey",
"traits": {
"smithy.api#documentation": "<p>The string to match against. The setting you provide for this depends on the match statement's <code>Scope</code> settings: </p>\n <ul>\n <li>\n <p>If the <code>Scope</code> indicates <code>LABEL</code>, then this specification must include the name and can include any number of preceding namespace specifications and prefix up to providing the fully qualified label name. </p>\n </li>\n <li>\n <p>If the <code>Scope</code> indicates <code>NAMESPACE</code>, then this specification can include any number of contiguous namespace strings, and can include the entire label namespace prefix from the rule group or web ACL where the label originates.</p>\n </li>\n </ul>\n <p>Labels are case sensitive and components of a label must be separated by colon, for example <code>NS1:NS2:name</code>.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>A rule statement that defines a string match search against labels that have been added to the web request by rules that have already run in the web ACL. </p>\n <p>The 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, AWS WAF performs the search for labels that were added in the same context as the label match statement. </p>"
}
},
"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": "<p>The label name that a log record must contain in order to meet the condition. This must 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. </p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>A single label name condition for a <a>Condition</a> in a logging filter.</p>"
}
},
"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": "<p>An individual label specification.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>List of labels used by one or more of the rules of a <a>RuleGroup</a>. This summary object is used for the following rule group lists: </p>\n <ul>\n <li>\n <p>\n <code>AvailableLabels</code> - Labels that rules add to matching requests. These labels are defined in the <code>RuleLabels</code> for a <a>Rule</a>. </p>\n </li>\n <li>\n <p>\n <code>ConsumedLabels</code> - Labels that rules match against. These labels are defined in a <code>LabelMatchStatement</code> specification, in the <a>Statement</a> definition of a rule. </p>\n </li>\n </ul>"
}
},
"com.amazonaws.wafv2#Labels": {
"type": "list",
"member": {
"target": "com.amazonaws.wafv2#Label"
}
},
"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": "<p>Retrieves an array of managed rule groups that are available for you to use. This list includes all AWS Managed Rules rule groups and the AWS Marketplace managed rule groups that you're subscribed to.</p>"
}
},
"com.amazonaws.wafv2#ListAvailableManagedRuleGroupsRequest": {
"type": "structure",
"members": {
"Scope": {
"target": "com.amazonaws.wafv2#Scope",
"traits": {
"smithy.api#documentation": "<p>Specifies whether this is for an AWS CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL API. </p>\n <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>\n <ul>\n <li>\n <p>CLI - Specify the Region when you use the CloudFront scope: <code>--scope=CLOUDFRONT --region=us-east-1</code>. </p>\n </li>\n <li>\n <p>API and SDKs - For all calls, use the Region endpoint us-east-1. </p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"NextMarker": {
"target": "com.amazonaws.wafv2#NextMarker",
"traits": {
"smithy.api#documentation": "<p>When you request a list of objects with a <code>Limit</code> setting, if the number of objects that are still available\n for retrieval exceeds the limit, AWS WAF returns a <code>NextMarker</code> \n value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.</p>"
}
},
"Limit": {
"target": "com.amazonaws.wafv2#PaginationLimit",
"traits": {
"smithy.api#documentation": "<p>The maximum number of objects that you want AWS WAF to return for this request. If more \n objects are available, in the response, AWS WAF provides a \n <code>NextMarker</code> value that you can use in a subsequent call to get the next batch of objects.</p>"
}
}
}
},
"com.amazonaws.wafv2#ListAvailableManagedRuleGroupsResponse": {
"type": "structure",
"members": {
"NextMarker": {
"target": "com.amazonaws.wafv2#NextMarker",
"traits": {
"smithy.api#documentation": "<p>When you request a list of objects with a <code>Limit</code> setting, if the number of objects that are still available\n for retrieval exceeds the limit, AWS WAF returns a <code>NextMarker</code> \n value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.</p>"
}
},
"ManagedRuleGroups": {
"target": "com.amazonaws.wafv2#ManagedRuleGroupSummaries",
"traits": {
"smithy.api#documentation": "<p></p>"
}
}
}
},
"com.amazonaws.wafv2#ListIPSets": {
"type": "operation",
"input": {
"target": "com.amazonaws.wafv2#ListIPSetsRequest"
},
"output": {
"target": "com.amazonaws.wafv2#ListIPSetsResponse"
},
"errors": [
{
"target": "com.amazonaws.wafv2#WAFInternalErrorException"
},
{
"target": "com.amazonaws.wafv2#WAFInvalidOperationException"
},
{
"target": "com.amazonaws.wafv2#WAFInvalidParameterException"
}
],
"traits": {
"smithy.api#documentation": "<p>Retrieves an array of <a>IPSetSummary</a> objects for the IP sets that you manage.</p>"
}
},
"com.amazonaws.wafv2#ListIPSetsRequest": {
"type": "structure",
"members": {
"Scope": {
"target": "com.amazonaws.wafv2#Scope",
"traits": {
"smithy.api#documentation": "<p>Specifies whether this is for an AWS CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL API. </p>\n <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>\n <ul>\n <li>\n <p>CLI - Specify the Region when you use the CloudFront scope: <code>--scope=CLOUDFRONT --region=us-east-1</code>. </p>\n </li>\n <li>\n <p>API and SDKs - For all calls, use the Region endpoint us-east-1. </p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"NextMarker": {
"target": "com.amazonaws.wafv2#NextMarker",
"traits": {
"smithy.api#documentation": "<p>When you request a list of objects with a <code>Limit</code> setting, if the number of objects that are still available\n for retrieval exceeds the limit, AWS WAF returns a <code>NextMarker</code> \n value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.</p>"
}
},
"Limit": {
"target": "com.amazonaws.wafv2#PaginationLimit",
"traits": {
"smithy.api#documentation": "<p>The maximum number of objects that you want AWS WAF to return for this request. If more \n objects are available, in the response, AWS WAF provides a \n <code>NextMarker</code> value that you can use in a subsequent call to get the next batch of objects.</p>"
}
}
}
},
"com.amazonaws.wafv2#ListIPSetsResponse": {
"type": "structure",
"members": {
"NextMarker": {
"target": "com.amazonaws.wafv2#NextMarker",
"traits": {
"smithy.api#documentation": "<p>When you request a list of objects with a <code>Limit</code> setting, if the number of objects that are still available\n for retrieval exceeds the limit, AWS WAF returns a <code>NextMarker</code> \n value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.</p>"
}
},
"IPSets": {
"target": "com.amazonaws.wafv2#IPSetSummaries",
"traits": {
"smithy.api#documentation": "<p>Array of IPSets. This may not be the full list of IPSets that you have defined. See the <code>Limit</code> specification for this request.</p>"
}
}
}
},
"com.amazonaws.wafv2#ListLoggingConfigurations": {
"type": "operation",
"input": {
"target": "com.amazonaws.wafv2#ListLoggingConfigurationsRequest"
},
"output": {
"target": "com.amazonaws.wafv2#ListLoggingConfigurationsResponse"
},
"errors": [
{
"target": "com.amazonaws.wafv2#WAFInternalErrorException"
},
{
"target": "com.amazonaws.wafv2#WAFInvalidOperationException"
},
{
"target": "com.amazonaws.wafv2#WAFInvalidParameterException"
}
],
"traits": {
"smithy.api#documentation": "<p>Retrieves an array of your <a>LoggingConfiguration</a> objects.</p>"
}
},
"com.amazonaws.wafv2#ListLoggingConfigurationsRequest": {
"type": "structure",
"members": {
"Scope": {
"target": "com.amazonaws.wafv2#Scope",
"traits": {
"smithy.api#documentation": "<p>Specifies whether this is for an AWS CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL API. </p>\n <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>\n <ul>\n <li>\n <p>CLI - Specify the Region when you use the CloudFront scope: <code>--scope=CLOUDFRONT --region=us-east-1</code>. </p>\n </li>\n <li>\n <p>API and SDKs - For all calls, use the Region endpoint us-east-1. </p>\n </li>\n </ul>"
}
},
"NextMarker": {
"target": "com.amazonaws.wafv2#NextMarker",
"traits": {
"smithy.api#documentation": "<p>When you request a list of objects with a <code>Limit</code> setting, if the number of objects that are still available\n for retrieval exceeds the limit, AWS WAF returns a <code>NextMarker</code> \n value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.</p>"
}
},
"Limit": {
"target": "com.amazonaws.wafv2#PaginationLimit",
"traits": {
"smithy.api#documentation": "<p>The maximum number of objects that you want AWS WAF to return for this request. If more \n objects are available, in the response, AWS WAF provides a \n <code>NextMarker</code> value that you can use in a subsequent call to get the next batch of objects.</p>"
}
}
}
},
"com.amazonaws.wafv2#ListLoggingConfigurationsResponse": {
"type": "structure",
"members": {
"LoggingConfigurations": {
"target": "com.amazonaws.wafv2#LoggingConfigurations",
"traits": {
"smithy.api#documentation": "<p></p>"
}
},
"NextMarker": {
"target": "com.amazonaws.wafv2#NextMarker",
"traits": {
"smithy.api#documentation": "<p>When you request a list of objects with a <code>Limit</code> setting, if the number of objects that are still available\n for retrieval exceeds the limit, AWS WAF returns a <code>NextMarker</code> \n value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.</p>"
}
}
}
},
"com.amazonaws.wafv2#ListMaxItems": {
"type": "long",
"traits": {
"smithy.api#range": {
"min": 1,
"max": 500
}
}
},
"com.amazonaws.wafv2#ListRegexPatternSets": {
"type": "operation",
"input": {
"target": "com.amazonaws.wafv2#ListRegexPatternSetsRequest"
},
"output": {
"target": "com.amazonaws.wafv2#ListRegexPatternSetsResponse"
},
"errors": [
{
"target": "com.amazonaws.wafv2#WAFInternalErrorException"
},
{
"target": "com.amazonaws.wafv2#WAFInvalidOperationException"
},
{
"target": "com.amazonaws.wafv2#WAFInvalidParameterException"
}
],
"traits": {
"smithy.api#documentation": "<p>Retrieves an array of <a>RegexPatternSetSummary</a> objects for the regex pattern sets that you manage.</p>"
}
},
"com.amazonaws.wafv2#ListRegexPatternSetsRequest": {
"type": "structure",
"members": {
"Scope": {
"target": "com.amazonaws.wafv2#Scope",
"traits": {
"smithy.api#documentation": "<p>Specifies whether this is for an AWS CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL API. </p>\n <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>\n <ul>\n <li>\n <p>CLI - Specify the Region when you use the CloudFront scope: <code>--scope=CLOUDFRONT --region=us-east-1</code>. </p>\n </li>\n <li>\n <p>API and SDKs - For all calls, use the Region endpoint us-east-1. </p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"NextMarker": {
"target": "com.amazonaws.wafv2#NextMarker",
"traits": {
"smithy.api#documentation": "<p>When you request a list of objects with a <code>Limit</code> setting, if the number of objects that are still available\n for retrieval exceeds the limit, AWS WAF returns a <code>NextMarker</code> \n value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.</p>"
}
},
"Limit": {
"target": "com.amazonaws.wafv2#PaginationLimit",
"traits": {
"smithy.api#documentation": "<p>The maximum number of objects that you want AWS WAF to return for this request. If more \n objects are available, in the response, AWS WAF provides a \n <code>NextMarker</code> value that you can use in a subsequent call to get the next batch of objects.</p>"
}
}
}
},
"com.amazonaws.wafv2#ListRegexPatternSetsResponse": {
"type": "structure",
"members": {
"NextMarker": {
"target": "com.amazonaws.wafv2#NextMarker",
"traits": {
"smithy.api#documentation": "<p>When you request a list of objects with a <code>Limit</code> setting, if the number of objects that are still available\n for retrieval exceeds the limit, AWS WAF returns a <code>NextMarker</code> \n value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.</p>"
}
},
"RegexPatternSets": {
"target": "com.amazonaws.wafv2#RegexPatternSetSummaries",
"traits": {
"smithy.api#documentation": "<p></p>"
}
}
}
},
"com.amazonaws.wafv2#ListResourcesForWebACL": {
"type": "operation",
"input": {
"target": "com.amazonaws.wafv2#ListResourcesForWebACLRequest"
},
"output": {
"target": "com.amazonaws.wafv2#ListResourcesForWebACLResponse"
},
"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": "<p>Retrieves an array of the Amazon Resource Names (ARNs) for the regional resources that are associated with the specified web ACL. If you want the list of AWS CloudFront resources, use the AWS CloudFront call <code>ListDistributionsByWebACLId</code>. </p>"
}
},
"com.amazonaws.wafv2#ListResourcesForWebACLRequest": {
"type": "structure",
"members": {
"WebACLArn": {
"target": "com.amazonaws.wafv2#ResourceArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Web ACL.</p>",
"smithy.api#required": {}
}
},
"ResourceType": {
"target": "com.amazonaws.wafv2#ResourceType",
"traits": {
"smithy.api#documentation": "<p>Used for web ACLs that are scoped for regional applications. A regional application can be an Application Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL API. </p>"
}
}
}
},
"com.amazonaws.wafv2#ListResourcesForWebACLResponse": {
"type": "structure",
"members": {
"ResourceArns": {
"target": "com.amazonaws.wafv2#ResourceArns",
"traits": {
"smithy.api#documentation": "<p>The array of Amazon Resource Names (ARNs) of the associated resources.</p>"
}
}
}
},
"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": "<p>Retrieves an array of <a>RuleGroupSummary</a> objects for the rule groups that you manage. </p>"
}
},
"com.amazonaws.wafv2#ListRuleGroupsRequest": {
"type": "structure",
"members": {
"Scope": {
"target": "com.amazonaws.wafv2#Scope",
"traits": {
"smithy.api#documentation": "<p>Specifies whether this is for an AWS CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL API. </p>\n <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>\n <ul>\n <li>\n <p>CLI - Specify the Region when you use the CloudFront scope: <code>--scope=CLOUDFRONT --region=us-east-1</code>. </p>\n </li>\n <li>\n <p>API and SDKs - For all calls, use the Region endpoint us-east-1. </p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"NextMarker": {
"target": "com.amazonaws.wafv2#NextMarker",
"traits": {
"smithy.api#documentation": "<p>When you request a list of objects with a <code>Limit</code> setting, if the number of objects that are still available\n for retrieval exceeds the limit, AWS WAF returns a <code>NextMarker</code> \n value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.</p>"
}
},
"Limit": {
"target": "com.amazonaws.wafv2#PaginationLimit",
"traits": {
"smithy.api#documentation": "<p>The maximum number of objects that you want AWS WAF to return for this request. If more \n objects are available, in the response, AWS WAF provides a \n <code>NextMarker</code> value that you can use in a subsequent call to get the next batch of objects.</p>"
}
}
}
},
"com.amazonaws.wafv2#ListRuleGroupsResponse": {
"type": "structure",
"members": {
"NextMarker": {
"target": "com.amazonaws.wafv2#NextMarker",
"traits": {
"smithy.api#documentation": "<p>When you request a list of objects with a <code>Limit</code> setting, if the number of objects that are still available\n for retrieval exceeds the limit, AWS WAF returns a <code>NextMarker</code> \n value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.</p>"
}
},
"RuleGroups": {
"target": "com.amazonaws.wafv2#RuleGroupSummaries",
"traits": {
"smithy.api#documentation": "<p></p>"
}
}
}
},
"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": "<p>Retrieves the <a>TagInfoForResource</a> for the specified resource. Tags are key:value pairs that you can use to categorize and manage your resources, for purposes like billing. For example, you might set the tag key to \"customer\" and the value to the customer name or ID. You can specify one or more tags to add to each AWS resource, up to 50 tags for a resource.</p>\n <p>You can tag the AWS resources that you manage through AWS WAF: web ACLs, rule groups, IP \n sets, and regex pattern sets. You can't manage or view tags through the AWS WAF console. </p>"
}
},
"com.amazonaws.wafv2#ListTagsForResourceRequest": {
"type": "structure",
"members": {
"NextMarker": {
"target": "com.amazonaws.wafv2#NextMarker",
"traits": {
"smithy.api#documentation": "<p>When you request a list of objects with a <code>Limit</code> setting, if the number of objects that are still available\n for retrieval exceeds the limit, AWS WAF returns a <code>NextMarker</code> \n value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.</p>"
}
},
"Limit": {
"target": "com.amazonaws.wafv2#PaginationLimit",
"traits": {
"smithy.api#documentation": "<p>The maximum number of objects that you want AWS WAF to return for this request. If more \n objects are available, in the response, AWS WAF provides a \n <code>NextMarker</code> value that you can use in a subsequent call to get the next batch of objects.</p>"
}
},
"ResourceARN": {
"target": "com.amazonaws.wafv2#ResourceArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the resource.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.wafv2#ListTagsForResourceResponse": {
"type": "structure",
"members": {
"NextMarker": {
"target": "com.amazonaws.wafv2#NextMarker",
"traits": {
"smithy.api#documentation": "<p>When you request a list of objects with a <code>Limit</code> setting, if the number of objects that are still available\n for retrieval exceeds the limit, AWS WAF returns a <code>NextMarker</code> \n value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.</p>"
}
},
"TagInfoForResource": {
"target": "com.amazonaws.wafv2#TagInfoForResource",
"traits": {
"smithy.api#documentation": "<p>The collection of tagging definitions for the resource. </p>"
}
}
}
},
"com.amazonaws.wafv2#ListWebACLs": {
"type": "operation",
"input": {
"target": "com.amazonaws.wafv2#ListWebACLsRequest"
},
"output": {
"target": "com.amazonaws.wafv2#ListWebACLsResponse"
},
"errors": [
{
"target": "com.amazonaws.wafv2#WAFInternalErrorException"
},
{
"target": "com.amazonaws.wafv2#WAFInvalidOperationException"
},
{
"target": "com.amazonaws.wafv2#WAFInvalidParameterException"
}
],
"traits": {
"smithy.api#documentation": "<p>Retrieves an array of <a>WebACLSummary</a> objects for the web ACLs that you manage.</p>"
}
},
"com.amazonaws.wafv2#ListWebACLsRequest": {
"type": "structure",
"members": {
"Scope": {
"target": "com.amazonaws.wafv2#Scope",
"traits": {
"smithy.api#documentation": "<p>Specifies whether this is for an AWS CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL API. </p>\n <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>\n <ul>\n <li>\n <p>CLI - Specify the Region when you use the CloudFront scope: <code>--scope=CLOUDFRONT --region=us-east-1</code>. </p>\n </li>\n <li>\n <p>API and SDKs - For all calls, use the Region endpoint us-east-1. </p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"NextMarker": {
"target": "com.amazonaws.wafv2#NextMarker",
"traits": {
"smithy.api#documentation": "<p>When you request a list of objects with a <code>Limit</code> setting, if the number of objects that are still available\n for retrieval exceeds the limit, AWS WAF returns a <code>NextMarker</code> \n value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.</p>"
}
},
"Limit": {
"target": "com.amazonaws.wafv2#PaginationLimit",
"traits": {
"smithy.api#documentation": "<p>The maximum number of objects that you want AWS WAF to return for this request. If more \n objects are available, in the response, AWS WAF provides a \n <code>NextMarker</code> value that you can use in a subsequent call to get the next batch of objects.</p>"
}
}
}
},
"com.amazonaws.wafv2#ListWebACLsResponse": {
"type": "structure",
"members": {
"NextMarker": {
"target": "com.amazonaws.wafv2#NextMarker",
"traits": {
"smithy.api#documentation": "<p>When you request a list of objects with a <code>Limit</code> setting, if the number of objects that are still available\n for retrieval exceeds the limit, AWS WAF returns a <code>NextMarker</code> \n value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.</p>"
}
},
"WebACLs": {
"target": "com.amazonaws.wafv2#WebACLSummaries",
"traits": {
"smithy.api#documentation": "<p></p>"
}
}
}
},
"com.amazonaws.wafv2#LockToken": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 36
},
"smithy.api#pattern": "^[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$"
}
},
"com.amazonaws.wafv2#LogDestinationConfigs": {
"type": "list",
"member": {
"target": "com.amazonaws.wafv2#ResourceArn"
},
"traits": {
"smithy.api#length": {
"min": 1,
"max": 100
}
}
},
"com.amazonaws.wafv2#LoggingConfiguration": {
"type": "structure",
"members": {
"ResourceArn": {
"target": "com.amazonaws.wafv2#ResourceArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the web ACL that you want to associate with\n <code>LogDestinationConfigs</code>.</p>",
"smithy.api#required": {}
}
},
"LogDestinationConfigs": {
"target": "com.amazonaws.wafv2#LogDestinationConfigs",
"traits": {
"smithy.api#documentation": "<p>The Amazon Kinesis Data Firehose Amazon Resource Name (ARNs) that you want to associate with the web ACL.</p>",
"smithy.api#required": {}
}
},
"RedactedFields": {
"target": "com.amazonaws.wafv2#RedactedFields",
"traits": {
"smithy.api#documentation": "<p>The parts of the request that you want to keep out of the logs. For\n example, if you redact the <code>HEADER</code> field, the <code>HEADER</code> field in the firehose will be <code>xxx</code>. </p>\n <note>\n <p>You must use one of the following values: <code>URI</code>, <code>QUERY_STRING</code>, <code>HEADER</code>, or <code>METHOD</code>.</p>\n </note>"
}
},
"ManagedByFirewallManager": {
"target": "com.amazonaws.wafv2#Boolean",
"traits": {
"smithy.api#documentation": "<p>Indicates whether the logging configuration was created by AWS Firewall Manager, as part of an AWS WAF policy configuration. If true, only \n Firewall Manager can modify or delete the configuration. </p>"
}
},
"LoggingFilter": {
"target": "com.amazonaws.wafv2#LoggingFilter",
"traits": {
"smithy.api#documentation": "<p>Filtering that specifies which web requests are kept in the logs and which are dropped. You can filter on the rule action and on the web request labels that were applied by matching rules during web ACL evaluation. </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Defines an association between Amazon Kinesis Data Firehose destinations and a web ACL resource, for \n logging from AWS WAF.\n As part of the association, you can specify parts of the standard logging fields to keep out of the logs and you \n can specify filters so that you log only a subset of the logging records. </p>"
}
},
"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": "<p>The filters that you want to apply to the logs. </p>",
"smithy.api#required": {}
}
},
"DefaultBehavior": {
"target": "com.amazonaws.wafv2#FilterBehavior",
"traits": {
"smithy.api#documentation": "<p>Default handling for logs that don't match any of the specified filtering conditions. </p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Filtering that specifies which web requests are kept in the logs and which are dropped, defined for a web ACL's <a>LoggingConfiguration</a>. </p>\n <p>You can filter on the rule action and on the web request labels that were applied by matching rules during web ACL evaluation. </p>"
}
},
"com.amazonaws.wafv2#ManagedRuleGroupStatement": {
"type": "structure",
"members": {
"VendorName": {
"target": "com.amazonaws.wafv2#VendorName",
"traits": {
"smithy.api#documentation": "<p>The name of the managed rule group vendor. You use this, along with the rule group name, to identify the rule group.</p>",
"smithy.api#required": {}
}
},
"Name": {
"target": "com.amazonaws.wafv2#EntityName",
"traits": {
"smithy.api#documentation": "<p>The name of the managed rule group. You use this, along with the vendor name, to identify the rule group.</p>",
"smithy.api#required": {}
}
},
"ExcludedRules": {
"target": "com.amazonaws.wafv2#ExcludedRules",
"traits": {
"smithy.api#documentation": "<p>The rules whose actions are set to <code>COUNT</code> by the web ACL, regardless of the action that is set on the rule. This effectively excludes the rule from acting on web requests. </p>"
}
},
"ScopeDownStatement": {
"target": "com.amazonaws.wafv2#Statement"
}
},
"traits": {
"smithy.api#documentation": "<p>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 <a>ListAvailableManagedRuleGroups</a>.</p>\n <p>You can't nest a <code>ManagedRuleGroupStatement</code>, for example for use inside a <code>NotStatement</code> or <code>OrStatement</code>. It can only be referenced as a top-level statement within a rule.</p>"
}
},
"com.amazonaws.wafv2#ManagedRuleGroupSummaries": {
"type": "list",
"member": {
"target": "com.amazonaws.wafv2#ManagedRuleGroupSummary"
}
},
"com.amazonaws.wafv2#ManagedRuleGroupSummary": {
"type": "structure",
"members": {
"VendorName": {
"target": "com.amazonaws.wafv2#VendorName",
"traits": {
"smithy.api#documentation": "<p>The name of the managed rule group vendor. You use this, along with the rule group name, to identify the rule group.</p>"
}
},
"Name": {
"target": "com.amazonaws.wafv2#EntityName",
"traits": {
"smithy.api#documentation": "<p>The name of the managed rule group. You use this, along with the vendor name, to identify the rule group.</p>"
}
},
"Description": {
"target": "com.amazonaws.wafv2#EntityDescription",
"traits": {
"smithy.api#documentation": "<p>The description of the managed rule group, provided by AWS Managed Rules or the AWS Marketplace seller who manages it.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>High-level information about a managed rule group, returned by <a>ListAvailableManagedRuleGroups</a>. This provides information like the name and vendor name, that you provide when you add a <a>ManagedRuleGroupStatement</a> to a web ACL. Managed rule groups include AWS Managed Rules rule groups, which are free of charge to AWS WAF customers, and AWS Marketplace managed rule groups, which you can subscribe to through AWS Marketplace. </p>"
}
},
"com.amazonaws.wafv2#Method": {
"type": "structure",
"members": {},
"traits": {
"smithy.api#documentation": "<p>The HTTP method of a web request. The method indicates the type of operation that the request is asking the origin to perform. </p>\n <p>This is used only to indicate the web request component for AWS WAF to inspect, in the <a>FieldToMatch</a> specification. </p>"
}
},
"com.amazonaws.wafv2#MetricName": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 255
},
"smithy.api#pattern": "^[\\w#:\\.\\-/]+$"
}
},
"com.amazonaws.wafv2#NextMarker": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 256
},
"smithy.api#pattern": ".*\\S.*"
}
},
"com.amazonaws.wafv2#NoneAction": {
"type": "structure",
"members": {},
"traits": {
"smithy.api#documentation": "<p>Specifies that AWS WAF should do nothing. This is generally used to try out a rule without performing any actions. You set the <code>OverrideAction</code> on the <a>Rule</a>. </p>\n <p>This is used in the context of other settings, for example to specify values for <a>RuleAction</a> and web ACL <a>DefaultAction</a>. </p>"
}
},
"com.amazonaws.wafv2#NotStatement": {
"type": "structure",
"members": {
"Statement": {
"target": "com.amazonaws.wafv2#Statement",
"traits": {
"smithy.api#documentation": "<p>The statement to negate. You can use any statement that can be nested.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>A logical rule statement used to negate the results of another rule statement. You provide one <a>Statement</a> within the <code>NotStatement</code>.</p>"
}
},
"com.amazonaws.wafv2#OrStatement": {
"type": "structure",
"members": {
"Statements": {
"target": "com.amazonaws.wafv2#Statements",
"traits": {
"smithy.api#documentation": "<p>The statements to combine with OR logic. You can use any statements that can be nested.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>A logical rule statement used to combine other rule statements with OR logic. You provide more than one <a>Statement</a> within the <code>OrStatement</code>. </p>"
}
},
"com.amazonaws.wafv2#OverrideAction": {
"type": "structure",
"members": {
"Count": {
"target": "com.amazonaws.wafv2#CountAction",
"traits": {
"smithy.api#documentation": "<p>Override the rule action setting to count.</p>"
}
},
"None": {
"target": "com.amazonaws.wafv2#NoneAction",
"traits": {
"smithy.api#documentation": "<p>Don't override the rule action setting.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The override action to apply to the rules in a rule group. Used only for rule statements that reference a rule group, \n like <code>RuleGroupReferenceStatement</code> and <code>ManagedRuleGroupStatement</code>. </p>\n <p>Set the override action to none to leave the rule actions in effect. Set it to count to only count matches, regardless of the rule action settings. </p> \n <p>In a <a>Rule</a>, you must specify either this <code>OverrideAction</code> setting or the rule <code>Action</code> setting, but not both:</p>\n <ul>\n <li>\n <p>If the rule statement references a rule group, use this override action setting and not the action setting. </p>\n </li>\n <li>\n <p>If the rule statement does not reference a rule group, use the rule action setting and not this rule override action setting. </p> \n </li>\n </ul>"
}
},
"com.amazonaws.wafv2#PaginationLimit": {
"type": "integer",
"traits": {
"smithy.api#box": {},
"smithy.api#range": {
"min": 1,
"max": 100
}
}
},
"com.amazonaws.wafv2#ParameterExceptionField": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "WEB_ACL",
"name": "WEB_ACL"
},
{
"value": "RULE_GROUP",
"name": "RULE_GROUP"
},
{
"value": "REGEX_PATTERN_SET",
"name": "REGEX_PATTERN_SET"
},
{
"value": "IP_SET",
"name": "IP_SET"
},
{
"value": "MANAGED_RULE_SET",
"name": "MANAGED_RULE_SET"
},
{
"value": "RULE",
"name": "RULE"
},
{
"value": "EXCLUDED_RULE",
"name": "EXCLUDED_RULE"
},
{
"value": "STATEMENT",
"name": "STATEMENT"
},
{
"value": "BYTE_MATCH_STATEMENT",
"name": "BYTE_MATCH_STATEMENT"
},
{
"value": "SQLI_MATCH_STATEMENT",
"name": "SQLI_MATCH_STATEMENT"
},
{
"value": "XSS_MATCH_STATEMENT",
"name": "XSS_MATCH_STATEMENT"
},
{
"value": "SIZE_CONSTRAINT_STATEMENT",
"name": "SIZE_CONSTRAINT_STATEMENT"
},
{
"value": "GEO_MATCH_STATEMENT",
"name": "GEO_MATCH_STATEMENT"
},
{
"value": "RATE_BASED_STATEMENT",
"name": "RATE_BASED_STATEMENT"
},
{
"value": "RULE_GROUP_REFERENCE_STATEMENT",
"name": "RULE_GROUP_REFERENCE_STATEMENT"
},
{
"value": "REGEX_PATTERN_REFERENCE_STATEMENT",
"name": "REGEX_PATTERN_REFERENCE_STATEMENT"
},
{
"value": "IP_SET_REFERENCE_STATEMENT",
"name": "IP_SET_REFERENCE_STATEMENT"
},
{
"value": "MANAGED_RULE_SET_STATEMENT",
"name": "MANAGED_RULE_SET_STATEMENT"
},
{
"value": "LABEL_MATCH_STATEMENT",
"name": "LABEL_MATCH_STATEMENT"
},
{
"value": "AND_STATEMENT",
"name": "AND_STATEMENT"
},
{
"value": "OR_STATEMENT",
"name": "OR_STATEMENT"
},
{
"value": "NOT_STATEMENT",
"name": "NOT_STATEMENT"
},
{
"value": "IP_ADDRESS",
"name": "IP_ADDRESS"
},
{
"value": "IP_ADDRESS_VERSION",
"name": "IP_ADDRESS_VERSION"
},
{
"value": "FIELD_TO_MATCH",
"name": "FIELD_TO_MATCH"
},
{
"value": "TEXT_TRANSFORMATION",
"name": "TEXT_TRANSFORMATION"
},
{
"value": "SINGLE_QUERY_ARGUMENT",
"name": "SINGLE_QUERY_ARGUMENT"
},
{
"value": "SINGLE_HEADER",
"name": "SINGLE_HEADER"
},
{
"value": "DEFAULT_ACTION",
"name": "DEFAULT_ACTION"
},
{
"value": "RULE_ACTION",
"name": "RULE_ACTION"
},
{
"value": "ENTITY_LIMIT",
"name": "ENTITY_LIMIT"
},
{
"value": "OVERRIDE_ACTION",
"name": "OVERRIDE_ACTION"
},
{
"value": "SCOPE_VALUE",
"name": "SCOPE_VALUE"
},
{
"value": "RESOURCE_ARN",
"name": "RESOURCE_ARN"
},
{
"value": "RESOURCE_TYPE",
"name": "RESOURCE_TYPE"
},
{
"value": "TAGS",
"name": "TAGS"
},
{
"value": "TAG_KEYS",
"name": "TAG_KEYS"
},
{
"value": "METRIC_NAME",
"name": "METRIC_NAME"
},
{
"value": "FIREWALL_MANAGER_STATEMENT",
"name": "FIREWALL_MANAGER_STATEMENT"
},
{
"value": "FALLBACK_BEHAVIOR",
"name": "FALLBACK_BEHAVIOR"
},
{
"value": "POSITION",
"name": "POSITION"
},
{
"value": "FORWARDED_IP_CONFIG",
"name": "FORWARDED_IP_CONFIG"
},
{
"value": "IP_SET_FORWARDED_IP_CONFIG",
"name": "IP_SET_FORWARDED_IP_CONFIG"
},
{
"value": "HEADER_NAME",
"name": "HEADER_NAME"
},
{
"value": "CUSTOM_REQUEST_HANDLING",
"name": "CUSTOM_REQUEST_HANDLING"
},
{
"value": "RESPONSE_CONTENT_TYPE",
"name": "RESPONSE_CONTENT_TYPE"
},
{
"value": "CUSTOM_RESPONSE",
"name": "CUSTOM_RESPONSE"
},
{
"value": "CUSTOM_RESPONSE_BODY",
"name": "CUSTOM_RESPONSE_BODY"
},
{
"value": "JSON_MATCH_PATTERN",
"name": "JSON_MATCH_PATTERN"
},
{
"value": "JSON_MATCH_SCOPE",
"name": "JSON_MATCH_SCOPE"
},
{
"value": "BODY_PARSING_FALLBACK_BEHAVIOR",
"name": "BODY_PARSING_FALLBACK_BEHAVIOR"
},
{
"value": "LOGGING_FILTER",
"name": "LOGGING_FILTER"
},
{
"value": "FILTER_CONDITION",
"name": "FILTER_CONDITION"
}
]
}
},
"com.amazonaws.wafv2#ParameterExceptionParameter": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1
}
}
},
"com.amazonaws.wafv2#PolicyString": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 395000
},
"smithy.api#pattern": ".*\\S.*"
}
},
"com.amazonaws.wafv2#PopulationSize": {
"type": "long"
},
"com.amazonaws.wafv2#PositionalConstraint": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "EXACTLY",
"name": "EXACTLY"
},
{
"value": "STARTS_WITH",
"name": "STARTS_WITH"
},
{
"value": "ENDS_WITH",
"name": "ENDS_WITH"
},
{
"value": "CONTAINS",
"name": "CONTAINS"
},
{
"value": "CONTAINS_WORD",
"name": "CONTAINS_WORD"
}
]
}
},
"com.amazonaws.wafv2#PutLoggingConfiguration": {
"type": "operation",
"input": {
"target": "com.amazonaws.wafv2#PutLoggingConfigurationRequest"
},
"output": {
"target": "com.amazonaws.wafv2#PutLoggingConfigurationResponse"
},
"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#WAFOptimisticLockException"
},
{
"target": "com.amazonaws.wafv2#WAFServiceLinkedRoleErrorException"
}
],
"traits": {
"smithy.api#documentation": "<p>Enables the specified <a>LoggingConfiguration</a>, to start logging from a web ACL, according to the configuration provided.</p>\n <p>You can access information about all traffic that AWS WAF inspects using the following\n steps:</p>\n <ol>\n <li>\n <p>Create an Amazon Kinesis Data\n Firehose. </p>\n <p>Create the data firehose with a PUT source and in the Region that you are operating. If you are capturing logs for Amazon CloudFront, always create the firehose in US East (N. Virginia). </p>\n <p>Give the data firehose a name that starts with the prefix <code>aws-waf-logs-</code>. For example, <code>aws-waf-logs-us-east-2-analytics</code>.</p>\n <note>\n <p>Do not create the data firehose using a <code>Kinesis stream</code> as your source.</p>\n </note>\n </li>\n <li>\n <p>Associate that firehose to your web ACL using a <code>PutLoggingConfiguration</code> request.</p>\n </li>\n </ol>\n \n <p>When you successfully enable logging using a <code>PutLoggingConfiguration</code> request, AWS WAF will create a service linked role with the necessary permissions to write logs to the Amazon Kinesis Data Firehose. For more information, see <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/logging.html\">Logging Web ACL Traffic Information</a> in the <i>AWS WAF Developer Guide</i>.</p>"
}
},
"com.amazonaws.wafv2#PutLoggingConfigurationRequest": {
"type": "structure",
"members": {
"LoggingConfiguration": {
"target": "com.amazonaws.wafv2#LoggingConfiguration",
"traits": {
"smithy.api#documentation": "<p></p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.wafv2#PutLoggingConfigurationResponse": {
"type": "structure",
"members": {
"LoggingConfiguration": {
"target": "com.amazonaws.wafv2#LoggingConfiguration",
"traits": {
"smithy.api#documentation": "<p></p>"
}
}
}
},
"com.amazonaws.wafv2#PutPermissionPolicy": {
"type": "operation",
"input": {
"target": "com.amazonaws.wafv2#PutPermissionPolicyRequest"
},
"output": {
"target": "com.amazonaws.wafv2#PutPermissionPolicyResponse"
},
"errors": [
{
"target": "com.amazonaws.wafv2#WAFInternalErrorException"
},
{
"target": "com.amazonaws.wafv2#WAFInvalidParameterException"
},
{
"target": "com.amazonaws.wafv2#WAFInvalidPermissionPolicyException"
},
{
"target": "com.amazonaws.wafv2#WAFNonexistentItemException"
}
],
"traits": {
"smithy.api#documentation": "<p>Attaches an IAM policy to the specified resource. Use this to share a rule group across accounts.</p>\n <p>You must be the owner of the rule group to perform this operation.</p>\n <p>This action is subject to the following restrictions:</p>\n <ul>\n <li>\n <p>You can attach only one policy with each <code>PutPermissionPolicy</code> request.</p>\n </li>\n <li>\n <p>The ARN in the request must be a valid WAF <a>RuleGroup</a> ARN and the rule group must exist in the same region.</p>\n </li>\n <li>\n <p>The user making the request must be the owner of the rule group.</p>\n </li>\n </ul>"
}
},
"com.amazonaws.wafv2#PutPermissionPolicyRequest": {
"type": "structure",
"members": {
"ResourceArn": {
"target": "com.amazonaws.wafv2#ResourceArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the <a>RuleGroup</a> to which you want to attach the policy.</p>",
"smithy.api#required": {}
}
},
"Policy": {
"target": "com.amazonaws.wafv2#PolicyString",
"traits": {
"smithy.api#documentation": "<p>The policy to attach to the specified rule group. </p>\n \n <p>The policy specifications must conform to the following:</p>\n <ul>\n <li> \n <p>The policy must be composed using IAM Policy version 2012-10-17 or version 2015-01-01.</p>\n </li>\n <li>\n <p>The policy must include specifications for <code>Effect</code>, <code>Action</code>, and <code>Principal</code>.</p>\n </li>\n <li>\n <p>\n <code>Effect</code> must specify <code>Allow</code>.</p>\n </li>\n <li>\n <p>\n <code>Action</code> must specify <code>wafv2:CreateWebACL</code>, <code>wafv2:UpdateWebACL</code>, and <code>wafv2:PutFirewallManagerRuleGroups</code>. AWS WAF rejects any extra actions or wildcard actions in the policy.</p>\n </li>\n <li>\n <p>The policy must not include a <code>Resource</code> parameter.</p>\n </li>\n </ul> \n <p>For more information, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html\">IAM Policies</a>. </p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.wafv2#PutPermissionPolicyResponse": {
"type": "structure",
"members": {}
},
"com.amazonaws.wafv2#QueryString": {
"type": "structure",
"members": {},
"traits": {
"smithy.api#documentation": "<p>The query string of a web request. This is the part of a URL that appears after a <code>?</code> character, if any.</p>\n <p>This is used only to indicate the web request component for AWS WAF to inspect, in the <a>FieldToMatch</a> specification. </p>"
}
},
"com.amazonaws.wafv2#RateBasedStatement": {
"type": "structure",
"members": {
"Limit": {
"target": "com.amazonaws.wafv2#RateLimit",
"traits": {
"smithy.api#documentation": "<p>The limit on requests per 5-minute period for a single originating IP address. If the statement includes a <code>ScopeDownStatement</code>, this limit is applied only to the requests that match the statement.</p>",
"smithy.api#required": {}
}
},
"AggregateKeyType": {
"target": "com.amazonaws.wafv2#RateBasedStatementAggregateKeyType",
"traits": {
"smithy.api#documentation": "<p>Setting that indicates how to aggregate the request counts. The options are the following:</p> \n <ul>\n <li>\n <p>IP - Aggregate the request counts on the IP address from the web request origin.</p>\n </li>\n <li>\n <p>FORWARDED_IP - Aggregate the request counts on the first IP address in an HTTP header. If you use this, configure the <code>ForwardedIPConfig</code>, to specify the header to use. </p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"ScopeDownStatement": {
"target": "com.amazonaws.wafv2#Statement",
"traits": {
"smithy.api#documentation": "<p>An optional nested statement that narrows the scope of the rate-based statement to matching web requests. This can be any nestable statement, and you can nest statements at any level below this scope-down statement.</p>"
}
},
"ForwardedIPConfig": {
"target": "com.amazonaws.wafv2#ForwardedIPConfig",
"traits": {
"smithy.api#documentation": "<p>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. </p>\n \n <note>\n <p>If the specified header isn't present in the request, AWS WAF doesn't apply the rule to the web request at all.</p>\n </note> \n \n \n <p>This is required if <code>AggregateKeyType</code> is set to <code>FORWARDED_IP</code>.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>A rate-based rule tracks the rate of requests for each originating IP address, and triggers the rule action when the rate exceeds a limit that you specify on the number of requests in any 5-minute time span. You can use this to put a temporary block on requests from an IP address that is sending excessive requests.</p>\n <p>When the rule action triggers, AWS WAF blocks additional requests from the IP address until the request rate falls below the limit.</p>\n <p>You can optionally nest another statement inside the rate-based statement, to narrow the scope of the rule so that it only counts requests that match the nested statement. For example, based on recent requests that you have seen from an attacker, you might create a rate-based rule with a nested AND rule statement that contains the following nested statements:</p>\n <ul>\n <li>\n <p>An IP match statement with an IP set that specified the address 192.0.2.44.</p>\n </li>\n <li>\n <p>A string match statement that searches in the User-Agent header for the string BadBot.</p>\n </li>\n </ul>\n <p>In this rate-based rule, you also define a rate limit. For this example, the rate limit is 1,000. Requests that meet both of the conditions in the statements are counted. If the count exceeds 1,000 requests per five minutes, the rule action triggers. Requests that do not meet both conditions are not counted towards the rate limit and are not affected by this rule.</p>\n <p>You cannot nest a <code>RateBasedStatement</code>, for example for use inside a <code>NotStatement</code> or <code>OrStatement</code>. It can only be referenced as a top-level statement within a rule.</p>"
}
},
"com.amazonaws.wafv2#RateBasedStatementAggregateKeyType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "IP",
"name": "IP"
},
{
"value": "FORWARDED_IP",
"name": "FORWARDED_IP"
}
]
}
},
"com.amazonaws.wafv2#RateBasedStatementManagedKeysIPSet": {
"type": "structure",
"members": {
"IPAddressVersion": {
"target": "com.amazonaws.wafv2#IPAddressVersion"
},
"Addresses": {
"target": "com.amazonaws.wafv2#IPAddresses",
"traits": {
"smithy.api#documentation": "<p>The IP addresses that are currently blocked.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The set of IP addresses that are currently blocked for a rate-based statement.</p>"
}
},
"com.amazonaws.wafv2#RateLimit": {
"type": "long",
"traits": {
"smithy.api#range": {
"min": 100,
"max": 2000000000
}
}
},
"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": "<p>The string representing the regular expression.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>A single regular expression. This is used in a <a>RegexPatternSet</a>.</p>"
}
},
"com.amazonaws.wafv2#RegexPatternSet": {
"type": "structure",
"members": {
"Name": {
"target": "com.amazonaws.wafv2#EntityName",
"traits": {
"smithy.api#documentation": "<p>The name of the set. You cannot change the name after you create the set.</p>"
}
},
"Id": {
"target": "com.amazonaws.wafv2#EntityId",
"traits": {
"smithy.api#documentation": "<p>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.</p>"
}
},
"ARN": {
"target": "com.amazonaws.wafv2#ResourceArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the entity.</p>"
}
},
"Description": {
"target": "com.amazonaws.wafv2#EntityDescription",
"traits": {
"smithy.api#documentation": "<p>A description of the set that helps with identification. </p>"
}
},
"RegularExpressionList": {
"target": "com.amazonaws.wafv2#RegularExpressionList",
"traits": {
"smithy.api#documentation": "<p>The regular expression patterns in the set.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains one or more regular expressions. </p>\n <p>AWS WAF assigns an ARN to each <code>RegexPatternSet</code> that you create. To use a set in a rule, you provide the ARN to the <a>Rule</a> statement <a>RegexPatternSetReferenceStatement</a>. </p>"
}
},
"com.amazonaws.wafv2#RegexPatternSetReferenceStatement": {
"type": "structure",
"members": {
"ARN": {
"target": "com.amazonaws.wafv2#ResourceArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the <a>RegexPatternSet</a> that this statement references.</p>",
"smithy.api#required": {}
}
},
"FieldToMatch": {
"target": "com.amazonaws.wafv2#FieldToMatch",
"traits": {
"smithy.api#documentation": "<p>The part of a web request that you want AWS WAF to inspect. For more information, see <a>FieldToMatch</a>. </p>",
"smithy.api#required": {}
}
},
"TextTransformations": {
"target": "com.amazonaws.wafv2#TextTransformations",
"traits": {
"smithy.api#documentation": "<p>Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. \n If you specify one or more transformations in a rule statement, AWS WAF performs all transformations on the \n content of the request component identified by <code>FieldToMatch</code>, starting from the lowest priority setting, before inspecting the content for a match.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>A rule statement used to search web request components for matches with regular expressions. To use this, create a <a>RegexPatternSet</a> 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 <a>CreateRegexPatternSet</a>.</p> \n <p>Each 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, AWS WAF automatically updates all rules that reference it.</p>"
}
},
"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": "<p>The name of the data type instance. You cannot change the name after you create the instance.</p>"
}
},
"Id": {
"target": "com.amazonaws.wafv2#EntityId",
"traits": {
"smithy.api#documentation": "<p>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.</p>"
}
},
"Description": {
"target": "com.amazonaws.wafv2#EntityDescription",
"traits": {
"smithy.api#documentation": "<p>A description of the set that helps with identification. </p>"
}
},
"LockToken": {
"target": "com.amazonaws.wafv2#LockToken",
"traits": {
"smithy.api#documentation": "<p>A token used for optimistic locking. AWS 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. AWS 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 <code>WAFOptimisticLockException</code>. If this happens, perform another get, and use the new token returned by that operation. </p>"
}
},
"ARN": {
"target": "com.amazonaws.wafv2#ResourceArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the entity.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>High-level information about a <a>RegexPatternSet</a>, returned by operations like create and list. This provides information like the ID, that you can use to retrieve and manage a <code>RegexPatternSet</code>, and the ARN, that you provide to the <a>RegexPatternSetReferenceStatement</a> to use the pattern set in a <a>Rule</a>.</p>"
}
},
"com.amazonaws.wafv2#RegexPatternString": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 512
},
"smithy.api#pattern": ".*"
}
},
"com.amazonaws.wafv2#RegularExpressionList": {
"type": "list",
"member": {
"target": "com.amazonaws.wafv2#Regex"
}
},
"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": "string",
"traits": {
"smithy.api#enum": [
{
"value": "APPLICATION_LOAD_BALANCER",
"name": "APPLICATION_LOAD_BALANCER"
},
{
"value": "API_GATEWAY",
"name": "API_GATEWAY"
},
{
"value": "APPSYNC",
"name": "APPSYNC"
}
]
}
},
"com.amazonaws.wafv2#ResponseContent": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 10240
},
"smithy.api#pattern": "[\\s\\S]*"
}
},
"com.amazonaws.wafv2#ResponseContentType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "TEXT_PLAIN",
"name": "TEXT_PLAIN"
},
{
"value": "TEXT_HTML",
"name": "TEXT_HTML"
},
{
"value": "APPLICATION_JSON",
"name": "APPLICATION_JSON"
}
]
}
},
"com.amazonaws.wafv2#ResponseStatusCode": {
"type": "integer",
"traits": {
"smithy.api#box": {},
"smithy.api#range": {
"min": 200,
"max": 600
}
}
},
"com.amazonaws.wafv2#Rule": {
"type": "structure",
"members": {
"Name": {
"target": "com.amazonaws.wafv2#EntityName",
"traits": {
"smithy.api#documentation": "<p>The name of the rule. You can't change the name of a <code>Rule</code> after you create it. </p>",
"smithy.api#required": {}
}
},
"Priority": {
"target": "com.amazonaws.wafv2#RulePriority",
"traits": {
"smithy.api#documentation": "<p>If you define more than one <code>Rule</code> in a\n <code>WebACL</code>, AWS WAF evaluates each request against the <code>Rules</code>\n in order based on the value of <code>Priority</code>. \n AWS WAF processes rules with lower priority first. The priorities don't need to be consecutive, but they must all be different.</p>",
"smithy.api#required": {}
}
},
"Statement": {
"target": "com.amazonaws.wafv2#Statement",
"traits": {
"smithy.api#documentation": "<p>The AWS WAF processing statement for the rule, for example <a>ByteMatchStatement</a> or <a>SizeConstraintStatement</a>. </p>",
"smithy.api#required": {}
}
},
"Action": {
"target": "com.amazonaws.wafv2#RuleAction",
"traits": {
"smithy.api#documentation": "<p>The action that AWS 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. </p>\n <p>This is used only for rules whose statements do not reference a rule group. Rule statements that reference a rule group include <code>RuleGroupReferenceStatement</code> and <code>ManagedRuleGroupStatement</code>. </p>\n <p>You must specify either this <code>Action</code> setting or the rule <code>OverrideAction</code> setting, but not both:</p>\n <ul>\n <li>\n <p>If the rule statement does not reference a rule group, use this rule action setting and not the rule override action setting. </p> \n </li>\n <li>\n <p>If the rule statement references a rule group, use the override action setting and not this action setting. </p>\n </li>\n </ul>"
}
},
"OverrideAction": {
"target": "com.amazonaws.wafv2#OverrideAction",
"traits": {
"smithy.api#documentation": "<p>The override action to apply to the rules in a rule group. Used only for rule statements that reference a rule group, \n like <code>RuleGroupReferenceStatement</code> and <code>ManagedRuleGroupStatement</code>. </p>\n <p>Set the override action to none to leave the rule actions in effect. Set it to count to only count matches, regardless of the rule action settings. </p> \n <p>In a <a>Rule</a>, you must specify either this <code>OverrideAction</code> setting or the rule <code>Action</code> setting, but not both:</p>\n <ul>\n <li>\n <p>If the rule statement references a rule group, use this override action setting and not the action setting. </p>\n </li>\n <li>\n <p>If the rule statement does not reference a rule group, use the rule action setting and not this rule override action setting. </p> \n </li>\n </ul>"
}
},
"RuleLabels": {
"target": "com.amazonaws.wafv2#Labels",
"traits": {
"smithy.api#documentation": "<p>Labels to apply to web requests that match the rule match statement. AWS WAF applies fully qualified labels to matching web requests. A fully qualified label is the concatenation of a label namespace and a rule label. The rule's rule group or web ACL defines the label namespace. </p>\n <p>Rules that run after this rule in the web ACL can match against these labels using a <code>LabelMatchStatement</code>.</p>\n <p>For each label, provide a case-sensitive string containing optional namespaces and a label name, according to the following guidelines:</p>\n <ul>\n <li>\n <p>Separate each component of the label with a colon. </p>\n </li>\n <li>\n <p>Each namespace or name can have up to 128 characters.</p>\n </li>\n <li>\n <p>You can specify up to 5 namespaces in a label.</p>\n </li>\n <li>\n <p>Don't use the following reserved words in your label specification: <code>aws</code>, <code>waf</code>, <code>managed</code>, <code>rulegroup</code>, <code>webacl</code>, <code>regexpatternset</code>, or <code>ipset</code>.</p>\n </li>\n </ul>\n <p>For example, <code>myLabelName</code> or <code>nameSpace1:nameSpace2:myLabelName</code>. </p>"
}
},
"VisibilityConfig": {
"target": "com.amazonaws.wafv2#VisibilityConfig",
"traits": {
"smithy.api#documentation": "<p>Defines and enables Amazon CloudWatch metrics and web request sample collection. </p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>A single rule, which you can use in a <a>WebACL</a> or <a>RuleGroup</a> to identify \n web requests that you want to allow, block, or count. \n Each rule includes one top-level <a>Statement</a> that AWS WAF uses to identify matching \n web requests, and parameters that govern how AWS WAF handles them. </p>"
}
},
"com.amazonaws.wafv2#RuleAction": {
"type": "structure",
"members": {
"Block": {
"target": "com.amazonaws.wafv2#BlockAction",
"traits": {
"smithy.api#documentation": "<p>Instructs AWS WAF to block the web request.</p>"
}
},
"Allow": {
"target": "com.amazonaws.wafv2#AllowAction",
"traits": {
"smithy.api#documentation": "<p>Instructs AWS WAF to allow the web request.</p>"
}
},
"Count": {
"target": "com.amazonaws.wafv2#CountAction",
"traits": {
"smithy.api#documentation": "<p>Instructs AWS WAF to count the web request and allow it.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The action that AWS WAF should take on a web request when it matches a rule's statement. Settings at the web ACL level can override the rule action setting. </p>"
}
},
"com.amazonaws.wafv2#RuleGroup": {
"type": "structure",
"members": {
"Name": {
"target": "com.amazonaws.wafv2#EntityName",
"traits": {
"smithy.api#documentation": "<p>The name of the rule group. You cannot change the name of a rule group after you create it.</p>",
"smithy.api#required": {}
}
},
"Id": {
"target": "com.amazonaws.wafv2#EntityId",
"traits": {
"smithy.api#documentation": "<p>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.</p>",
"smithy.api#required": {}
}
},
"Capacity": {
"target": "com.amazonaws.wafv2#CapacityUnit",
"traits": {
"smithy.api#documentation": "<p>The web ACL capacity units (WCUs) required for this rule group.</p> \n <p>When 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, AWS WAF enforces this limit. You can check the capacity \n for a set of rules using <a>CheckCapacity</a>.</p> \n <p>AWS WAF uses WCUs to calculate and control the operating\n resources that are used to run your rules, rule groups, and web ACLs. AWS 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. \n The WCU limit for web ACLs is 1,500. </p>",
"smithy.api#required": {}
}
},
"ARN": {
"target": "com.amazonaws.wafv2#ResourceArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the entity.</p>",
"smithy.api#required": {}
}
},
"Description": {
"target": "com.amazonaws.wafv2#EntityDescription",
"traits": {
"smithy.api#documentation": "<p>A description of the rule group that helps with identification. </p>"
}
},
"Rules": {
"target": "com.amazonaws.wafv2#Rules",
"traits": {
"smithy.api#documentation": "<p>The <a>Rule</a> statements used to identify the web requests that you \n want to allow, block, or count. Each rule includes one top-level statement that AWS WAF uses to identify matching \n web requests, and parameters that govern how AWS WAF handles them. \n </p>"
}
},
"VisibilityConfig": {
"target": "com.amazonaws.wafv2#VisibilityConfig",
"traits": {
"smithy.api#documentation": "<p>Defines and enables Amazon CloudWatch metrics and web request sample collection. </p>",
"smithy.api#required": {}
}
},
"LabelNamespace": {
"target": "com.amazonaws.wafv2#LabelName",
"traits": {
"smithy.api#documentation": "<p>The label namespace prefix for this rule group. All labels added by rules in this rule group have this prefix. </p>\n <ul>\n <li>\n <p>The syntax for the label namespace prefix for your rule groups is the following: </p>\n <p>\n <code>awswaf:<account ID>:rulegroup:<rule group name>:</code>\n </p>\n </li>\n <li>\n <p>When a rule with a label matches a web request, AWS 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: </p>\n <p>\n <code><label namespace>:<label from rule></code>\n </p>\n \n </li>\n </ul>"
}
},
"CustomResponseBodies": {
"target": "com.amazonaws.wafv2#CustomResponseBodies",
"traits": {
"smithy.api#documentation": "<p>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. </p> \n <p>For information about customizing web requests and responses, see <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html\">Customizing web requests and responses in AWS WAF</a> in the \n <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html\">AWS WAF Developer Guide</a>. </p>\n <p>For information about the limits on count and size for custom request and response settings, see <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/limits.html\">AWS WAF quotas</a> in the \n <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html\">AWS WAF Developer Guide</a>. </p>"
}
},
"AvailableLabels": {
"target": "com.amazonaws.wafv2#LabelSummaries",
"traits": {
"smithy.api#documentation": "<p>The labels that one or more rules in this rule group add to matching web ACLs. These labels are defined in the <code>RuleLabels</code> for a <a>Rule</a>.</p>"
}
},
"ConsumedLabels": {
"target": "com.amazonaws.wafv2#LabelSummaries",
"traits": {
"smithy.api#documentation": "<p>The labels that one or more rules in this rule group match against in label match statements. These labels are defined in a <code>LabelMatchStatement</code> specification, in the <a>Statement</a> definition of a rule. </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p> A rule group defines a collection of rules to inspect and control web requests that you can use in a <a>WebACL</a>. 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. </p>"
}
},
"com.amazonaws.wafv2#RuleGroupReferenceStatement": {
"type": "structure",
"members": {
"ARN": {
"target": "com.amazonaws.wafv2#ResourceArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the entity.</p>",
"smithy.api#required": {}
}
},
"ExcludedRules": {
"target": "com.amazonaws.wafv2#ExcludedRules",
"traits": {
"smithy.api#documentation": "<p>The names of rules that are in the referenced rule group, but that you want AWS WAF to exclude from processing for this rule statement. </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>A rule statement used to run the rules that are defined in a <a>RuleGroup</a>. To use this, create a rule group with your rules, then provide the ARN of the rule group in this statement.</p>\n <p>You cannot nest a <code>RuleGroupReferenceStatement</code>, for example for use inside a <code>NotStatement</code> or <code>OrStatement</code>. It can only be referenced as a top-level statement within a rule.</p>"
}
},
"com.amazonaws.wafv2#RuleGroupSummaries": {
"type": "list",
"member": {
"target": "com.amazonaws.wafv2#RuleGroupSummary"
}
},
"com.amazonaws.wafv2#RuleGroupSummary": {
"type": "structure",
"members": {
"Name": {
"target": "com.amazonaws.wafv2#EntityName",
"traits": {
"smithy.api#documentation": "<p>The name of the data type instance. You cannot change the name after you create the instance.</p>"
}
},
"Id": {
"target": "com.amazonaws.wafv2#EntityId",
"traits": {
"smithy.api#documentation": "<p>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.</p>"
}
},
"Description": {
"target": "com.amazonaws.wafv2#EntityDescription",
"traits": {
"smithy.api#documentation": "<p>A description of the rule group that helps with identification. </p>"
}
},
"LockToken": {
"target": "com.amazonaws.wafv2#LockToken",
"traits": {
"smithy.api#documentation": "<p>A token used for optimistic locking. AWS 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. AWS 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 <code>WAFOptimisticLockException</code>. If this happens, perform another get, and use the new token returned by that operation. </p>"
}
},
"ARN": {
"target": "com.amazonaws.wafv2#ResourceArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the entity.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>High-level information about a <a>RuleGroup</a>, returned by operations like create and list. This provides information like the ID, that you can use to retrieve and manage a <code>RuleGroup</code>, and the ARN, that you provide to the <a>RuleGroupReferenceStatement</a> to use the rule group in a <a>Rule</a>.</p>"
}
},
"com.amazonaws.wafv2#RulePriority": {
"type": "integer",
"traits": {
"smithy.api#range": {
"min": 0
}
}
},
"com.amazonaws.wafv2#RuleSummaries": {
"type": "list",
"member": {
"target": "com.amazonaws.wafv2#RuleSummary"
}
},
"com.amazonaws.wafv2#RuleSummary": {
"type": "structure",
"members": {
"Name": {
"target": "com.amazonaws.wafv2#EntityName",
"traits": {
"smithy.api#documentation": "<p>The name of the rule. </p>"
}
},
"Action": {
"target": "com.amazonaws.wafv2#RuleAction"
}
},
"traits": {
"smithy.api#documentation": "<p>High-level information about a <a>Rule</a>, returned by operations like <a>DescribeManagedRuleGroup</a>. This provides information like the ID, that you can use to retrieve and manage a <code>RuleGroup</code>, and the ARN, that you provide to the <a>RuleGroupReferenceStatement</a> to use the rule group in a <a>Rule</a>.</p>"
}
},
"com.amazonaws.wafv2#Rules": {
"type": "list",
"member": {
"target": "com.amazonaws.wafv2#Rule"
}
},
"com.amazonaws.wafv2#SampleWeight": {
"type": "long",
"traits": {
"smithy.api#range": {
"min": 0
}
}
},
"com.amazonaws.wafv2#SampledHTTPRequest": {
"type": "structure",
"members": {
"Request": {
"target": "com.amazonaws.wafv2#HTTPRequest",
"traits": {
"smithy.api#documentation": "<p>A complex type that contains detailed information about the request.</p>",
"smithy.api#required": {}
}
},
"Weight": {
"target": "com.amazonaws.wafv2#SampleWeight",
"traits": {
"smithy.api#documentation": "<p>A value that indicates how one result in the response relates \n proportionally to other results in the response. \n For example, a result that has a weight of <code>2</code> represents roughly twice \n as many web requests as a result \n that has a weight of <code>1</code>.</p>",
"smithy.api#required": {}
}
},
"Timestamp": {
"target": "com.amazonaws.wafv2#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The time at which AWS WAF received the request from your AWS resource, in Unix time format (in seconds).</p>"
}
},
"Action": {
"target": "com.amazonaws.wafv2#Action",
"traits": {
"smithy.api#documentation": "<p>The action for the <code>Rule</code> that the request matched: <code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>.</p>"
}
},
"RuleNameWithinRuleGroup": {
"target": "com.amazonaws.wafv2#EntityName",
"traits": {
"smithy.api#documentation": "<p>The name of the <code>Rule</code> that the request matched. For managed rule groups, the format for this name is <code><vendor name>#<managed rule group name>#<rule name></code>. For your own rule\n groups, the format for this name is <code><rule group name>#<rule name></code>. If the rule is not in a rule group, this field is absent. </p>"
}
},
"RequestHeadersInserted": {
"target": "com.amazonaws.wafv2#HTTPHeaders",
"traits": {
"smithy.api#documentation": "<p>Custom request headers inserted by AWS WAF into the request, according to the custom request configuration for the matching rule action.</p>"
}
},
"ResponseCodeSent": {
"target": "com.amazonaws.wafv2#ResponseStatusCode",
"traits": {
"smithy.api#documentation": "<p>The response code that was sent for the request.</p>"
}
},
"Labels": {
"target": "com.amazonaws.wafv2#Labels",
"traits": {
"smithy.api#documentation": "<p>Labels applied to the web request by matching rules. AWS WAF applies fully qualified labels to matching web requests. A fully qualified label is the concatenation of a label namespace and a rule label. The rule's rule group or web ACL defines the label namespace. </p>\n <p>For example, <code>awswaf:111122223333:myRuleGroup:testRules:testNS1:testNS2:labelNameA</code> or <code>awswaf:managed:aws:managed-rule-set:header:encoding:utf8</code>. </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents a single sampled web request. The response from <a>GetSampledRequests</a> includes a <code>SampledHTTPRequests</code> complex type that \n appears as <code>SampledRequests</code> in the response syntax. <code>SampledHTTPRequests</code> contains an array of <code>SampledHTTPRequest</code> objects.</p>"
}
},
"com.amazonaws.wafv2#SampledHTTPRequests": {
"type": "list",
"member": {
"target": "com.amazonaws.wafv2#SampledHTTPRequest"
}
},
"com.amazonaws.wafv2#Scope": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "CLOUDFRONT",
"name": "CLOUDFRONT"
},
{
"value": "REGIONAL",
"name": "REGIONAL"
}
]
}
},
"com.amazonaws.wafv2#SearchString": {
"type": "blob"
},
"com.amazonaws.wafv2#SingleHeader": {
"type": "structure",
"members": {
"Name": {
"target": "com.amazonaws.wafv2#FieldToMatchData",
"traits": {
"smithy.api#documentation": "<p>The name of the query header to inspect.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>One of the headers in a web request, identified by name, for example, <code>User-Agent</code> or <code>Referer</code>. This setting isn't case sensitive.</p>\n <p>This is used only to indicate the web request component for AWS WAF to inspect, in the <a>FieldToMatch</a> specification. </p>"
}
},
"com.amazonaws.wafv2#SingleQueryArgument": {
"type": "structure",
"members": {
"Name": {
"target": "com.amazonaws.wafv2#FieldToMatchData",
"traits": {
"smithy.api#documentation": "<p>The name of the query argument to inspect.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>One query argument in a web request, identified by name, for example <i>UserName</i> or <i>SalesRegion</i>. The name can be up to 30 characters long and isn't case sensitive. </p>"
}
},
"com.amazonaws.wafv2#Size": {
"type": "long",
"traits": {
"smithy.api#range": {
"min": 0,
"max": 21474836480
}
}
},
"com.amazonaws.wafv2#SizeConstraintStatement": {
"type": "structure",
"members": {
"FieldToMatch": {
"target": "com.amazonaws.wafv2#FieldToMatch",
"traits": {
"smithy.api#documentation": "<p>The part of a web request that you want AWS WAF to inspect. For more information, see <a>FieldToMatch</a>. </p>",
"smithy.api#required": {}
}
},
"ComparisonOperator": {
"target": "com.amazonaws.wafv2#ComparisonOperator",
"traits": {
"smithy.api#documentation": "<p>The operator to use to compare the request part to the size setting. </p>",
"smithy.api#required": {}
}
},
"Size": {
"target": "com.amazonaws.wafv2#Size",
"traits": {
"smithy.api#documentation": "<p>The size, in byte, to compare to the request part, after any transformations.</p>",
"smithy.api#required": {}
}
},
"TextTransformations": {
"target": "com.amazonaws.wafv2#TextTransformations",
"traits": {
"smithy.api#documentation": "<p>Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. \n If you specify one or more transformations in a rule statement, AWS WAF performs all transformations on the \n content of the request component identified by <code>FieldToMatch</code>, starting from the lowest priority setting, before inspecting the content for a match.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>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. </p>\n <p>If you configure AWS WAF to inspect the request body, AWS WAF inspects only the first 8192 bytes (8 KB). If the request body for your web requests never exceeds 8192 bytes, you can create a size constraint condition and block requests that have a request body greater than 8192 bytes.</p> \n <p>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 <code>/logo.jpg</code> is nine characters long.</p>"
}
},
"com.amazonaws.wafv2#SqliMatchStatement": {
"type": "structure",
"members": {
"FieldToMatch": {
"target": "com.amazonaws.wafv2#FieldToMatch",
"traits": {
"smithy.api#documentation": "<p>The part of a web request that you want AWS WAF to inspect. For more information, see <a>FieldToMatch</a>. </p>",
"smithy.api#required": {}
}
},
"TextTransformations": {
"target": "com.amazonaws.wafv2#TextTransformations",
"traits": {
"smithy.api#documentation": "<p>Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. \n If you specify one or more transformations in a rule statement, AWS WAF performs all transformations on the \n content of the request component identified by <code>FieldToMatch</code>, starting from the lowest priority setting, before inspecting the content for a match.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Attackers sometimes insert malicious SQL code into web requests in an effort to extract data from your database. To allow or block web requests that appear to contain malicious SQL code, create one or more SQL injection match conditions. An SQL injection match condition identifies the part of web requests, such as the URI or the query string, that you want AWS WAF to inspect. Later in the process, when you create a web ACL, you specify whether to allow or block requests that appear to contain malicious SQL code.</p>"
}
},
"com.amazonaws.wafv2#Statement": {
"type": "structure",
"members": {
"ByteMatchStatement": {
"target": "com.amazonaws.wafv2#ByteMatchStatement",
"traits": {
"smithy.api#documentation": "<p>A rule statement that defines a string match search for AWS WAF to apply to web requests. The byte match statement provides the bytes to search for, the location in requests that you want AWS WAF to search, and other settings. The bytes to search for are typically a string that corresponds with ASCII characters. In the AWS WAF console and the developer guide, this is refered to as a string match statement.</p>"
}
},
"SqliMatchStatement": {
"target": "com.amazonaws.wafv2#SqliMatchStatement",
"traits": {
"smithy.api#documentation": "<p>Attackers sometimes insert malicious SQL code into web requests in an effort to extract data from your database. To allow or block web requests that appear to contain malicious SQL code, create one or more SQL injection match conditions. An SQL injection match condition identifies the part of web requests, such as the URI or the query string, that you want AWS WAF to inspect. Later in the process, when you create a web ACL, you specify whether to allow or block requests that appear to contain malicious SQL code.</p>"
}
},
"XssMatchStatement": {
"target": "com.amazonaws.wafv2#XssMatchStatement",
"traits": {
"smithy.api#documentation": "<p>A rule statement that defines a cross-site scripting (XSS) match search for AWS WAF to apply to web requests. \n XSS attacks are those where the attacker uses vulnerabilities in a benign website as a vehicle to inject malicious \n client-site scripts into other legitimate web browsers. \n The XSS match statement provides the location in requests that you want AWS WAF to search and text transformations \n to use on the search area before AWS WAF searches for character sequences that are likely to be malicious strings. </p>"
}
},
"SizeConstraintStatement": {
"target": "com.amazonaws.wafv2#SizeConstraintStatement",
"traits": {
"smithy.api#documentation": "<p>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. </p>\n <p>If you configure AWS WAF to inspect the request body, AWS WAF inspects only the first 8192 bytes (8 KB). If the request body for your web requests never exceeds 8192 bytes, you can create a size constraint condition and block requests that have a request body greater than 8192 bytes.</p> \n <p>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 <code>/logo.jpg</code> is nine characters long.</p>"
}
},
"GeoMatchStatement": {
"target": "com.amazonaws.wafv2#GeoMatchStatement",
"traits": {
"smithy.api#documentation": "<p>A rule statement used to identify web requests based on country of origin. </p>"
}
},
"RuleGroupReferenceStatement": {
"target": "com.amazonaws.wafv2#RuleGroupReferenceStatement",
"traits": {
"smithy.api#documentation": "<p>A rule statement used to run the rules that are defined in a <a>RuleGroup</a>. To use this, create a rule group with your rules, then provide the ARN of the rule group in this statement.</p>\n <p>You cannot nest a <code>RuleGroupReferenceStatement</code>, for example for use inside a <code>NotStatement</code> or <code>OrStatement</code>. It can only be referenced as a top-level statement within a rule.</p>"
}
},
"IPSetReferenceStatement": {
"target": "com.amazonaws.wafv2#IPSetReferenceStatement",
"traits": {
"smithy.api#documentation": "<p>A rule statement used to detect web requests coming from particular IP addresses or address ranges. To use this, create an <a>IPSet</a> that specifies the addresses you want to detect, then use the ARN of that set in this statement. To create an IP set, see <a>CreateIPSet</a>.</p> \n <p>Each 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, AWS WAF automatically updates all rules that reference it.</p>"
}
},
"RegexPatternSetReferenceStatement": {
"target": "com.amazonaws.wafv2#RegexPatternSetReferenceStatement",
"traits": {
"smithy.api#documentation": "<p>A rule statement used to search web request components for matches with regular expressions. To use this, create a <a>RegexPatternSet</a> 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 <a>CreateRegexPatternSet</a>.</p> \n <p>Each 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, AWS WAF automatically updates all rules that reference it.</p>"
}
},
"RateBasedStatement": {
"target": "com.amazonaws.wafv2#RateBasedStatement",
"traits": {
"smithy.api#documentation": "<p>A rate-based rule tracks the rate of requests for each originating IP address, and triggers the rule action when the rate exceeds a limit that you specify on the number of requests in any 5-minute time span. You can use this to put a temporary block on requests from an IP address that is sending excessive requests.</p>\n <p>When the rule action triggers, AWS WAF blocks additional requests from the IP address until the request rate falls below the limit.</p>\n <p>You can optionally nest another statement inside the rate-based statement, to narrow the scope of the rule so that it only counts requests that match the nested statement. For example, based on recent requests that you have seen from an attacker, you might create a rate-based rule with a nested AND rule statement that contains the following nested statements:</p>\n <ul>\n <li>\n <p>An IP match statement with an IP set that specified the address 192.0.2.44.</p>\n </li>\n <li>\n <p>A string match statement that searches in the User-Agent header for the string BadBot.</p>\n </li>\n </ul>\n <p>In this rate-based rule, you also define a rate limit. For this example, the rate limit is 1,000. Requests that meet both of the conditions in the statements are counted. If the count exceeds 1,000 requests per five minutes, the rule action triggers. Requests that do not meet both conditions are not counted towards the rate limit and are not affected by this rule.</p>\n <p>You cannot nest a <code>RateBasedStatement</code>, for example for use inside a <code>NotStatement</code> or <code>OrStatement</code>. It can only be referenced as a top-level statement within a rule.</p>"
}
},
"AndStatement": {
"target": "com.amazonaws.wafv2#AndStatement",
"traits": {
"smithy.api#documentation": "<p>A logical rule statement used to combine other rule statements with AND logic. You provide more than one <a>Statement</a> within the <code>AndStatement</code>. </p>"
}
},
"OrStatement": {
"target": "com.amazonaws.wafv2#OrStatement",
"traits": {
"smithy.api#documentation": "<p>A logical rule statement used to combine other rule statements with OR logic. You provide more than one <a>Statement</a> within the <code>OrStatement</code>. </p>"
}
},
"NotStatement": {
"target": "com.amazonaws.wafv2#NotStatement",
"traits": {
"smithy.api#documentation": "<p>A logical rule statement used to negate the results of another rule statement. You provide one <a>Statement</a> within the <code>NotStatement</code>.</p>"
}
},
"ManagedRuleGroupStatement": {
"target": "com.amazonaws.wafv2#ManagedRuleGroupStatement",
"traits": {
"smithy.api#documentation": "<p>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 <a>ListAvailableManagedRuleGroups</a>.</p>\n <p>You can't nest a <code>ManagedRuleGroupStatement</code>, for example for use inside a <code>NotStatement</code> or <code>OrStatement</code>. It can only be referenced as a top-level statement within a rule.</p>"
}
},
"LabelMatchStatement": {
"target": "com.amazonaws.wafv2#LabelMatchStatement",
"traits": {
"smithy.api#documentation": "<p>A rule statement that defines a string match search against labels that have been added to the web request by rules that have already run in the web ACL. </p>\n <p>The 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, AWS WAF performs the search for labels that were added in the same context as the label match statement. </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The processing guidance for a <a>Rule</a>, used by AWS WAF to determine whether a web request matches the rule. </p>"
}
},
"com.amazonaws.wafv2#Statements": {
"type": "list",
"member": {
"target": "com.amazonaws.wafv2#Statement"
}
},
"com.amazonaws.wafv2#Tag": {
"type": "structure",
"members": {
"Key": {
"target": "com.amazonaws.wafv2#TagKey",
"traits": {
"smithy.api#documentation": "<p>Part of the key:value pair that defines a tag. You can use a tag key to describe a category of information, such as \"customer.\" Tag keys are case-sensitive.</p>",
"smithy.api#required": {}
}
},
"Value": {
"target": "com.amazonaws.wafv2#TagValue",
"traits": {
"smithy.api#documentation": "<p>Part of the key:value pair that defines a tag. You can use a tag value to describe a specific value within a category, such as \"companyA\" or \"companyB.\" Tag values are case-sensitive.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>A tag associated with an AWS resource. Tags are key:value pairs that you can use to categorize and manage your resources, for purposes like billing or other management. Typically, the tag key represents a category, such as \"environment\", and the tag value represents a \n specific value within that category, such as \"test,\" \"development,\" or \"production\". Or you might set the tag key to \"customer\" and the value to the customer name or ID. You can specify one or more tags to add to each AWS resource, up to 50 tags for a resource.</p>\n <p>You can tag the AWS resources that you manage through AWS WAF: web ACLs, rule groups, IP \n sets, and regex pattern sets. You can't manage or view tags through the AWS WAF console. </p>"
}
},
"com.amazonaws.wafv2#TagInfoForResource": {
"type": "structure",
"members": {
"ResourceARN": {
"target": "com.amazonaws.wafv2#ResourceArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the resource.</p>"
}
},
"TagList": {
"target": "com.amazonaws.wafv2#TagList",
"traits": {
"smithy.api#documentation": "<p>The array of <a>Tag</a> objects defined for the resource. </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The collection of tagging definitions for an AWS resource. Tags are key:value pairs that you can use to categorize and manage your resources, for purposes like billing or other management. Typically, the tag key represents a category, such as \"environment\", and the tag value represents a \n specific value within that category, such as \"test,\" \"development,\" or \"production\". Or you might set the tag key to \"customer\" and the value to the customer name or ID. You can specify one or more tags to add to each AWS resource, up to 50 tags for a resource.</p>\n <p>You can tag the AWS resources that you manage through AWS WAF: web ACLs, rule groups, IP \n sets, and regex pattern sets. You can't manage or view tags through the AWS WAF console. </p>"
}
},
"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": "<p>Associates tags with the specified AWS resource. Tags are key:value pairs that you can use to categorize and manage your resources, for purposes like billing. For example, you might set the tag key to \"customer\" and the value to the customer name or ID. You can specify one or more tags to add to each AWS resource, up to 50 tags for a resource.</p>\n <p>You can tag the AWS resources that you manage through AWS WAF: web ACLs, rule groups, IP \n sets, and regex pattern sets. You can't manage or view tags through the AWS WAF console. </p>"
}
},
"com.amazonaws.wafv2#TagResourceRequest": {
"type": "structure",
"members": {
"ResourceARN": {
"target": "com.amazonaws.wafv2#ResourceArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the resource.</p>",
"smithy.api#required": {}
}
},
"Tags": {
"target": "com.amazonaws.wafv2#TagList",
"traits": {
"smithy.api#documentation": "<p>An array of key:value pairs to associate with the resource.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.wafv2#TagResourceResponse": {
"type": "structure",
"members": {}
},
"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#documentation": "<p>Sets the relative processing order for multiple transformations that are defined for a rule statement. AWS WAF processes all\n transformations, from lowest priority to highest, before inspecting the transformed content. The priorities don't need to be consecutive, but they must all be different. </p>",
"smithy.api#required": {}
}
},
"Type": {
"target": "com.amazonaws.wafv2#TextTransformationType",
"traits": {
"smithy.api#documentation": "<p>You can specify the following transformation types:</p>\n <p>\n <b>CMD_LINE</b>\n </p>\n <p>When you're concerned that attackers are injecting an operating system command line\n command and using unusual formatting to disguise some or all of the command, use this\n option to perform the following transformations:</p>\n <ul>\n <li>\n <p>Delete the following characters: \\ \" ' ^</p>\n </li>\n <li>\n <p>Delete spaces before the following characters: / (</p>\n </li>\n <li>\n <p>Replace the following characters with a space: , ;</p>\n </li>\n <li>\n <p>Replace multiple spaces with one space</p>\n </li>\n <li>\n <p>Convert uppercase letters (A-Z) to lowercase (a-z)</p>\n </li>\n </ul>\n \n <p>\n <b>COMPRESS_WHITE_SPACE</b>\n </p>\n <p>Use this option to replace the following characters with a space character (decimal 32):</p>\n <ul>\n <li>\n <p>\\f, formfeed, decimal 12</p>\n </li>\n <li>\n <p>\\t, tab, decimal 9</p>\n </li>\n <li>\n <p>\\n, newline, decimal 10</p>\n </li>\n <li>\n <p>\\r, carriage return, decimal 13</p>\n </li>\n <li>\n <p>\\v, vertical tab, decimal 11</p>\n </li>\n <li>\n <p>non-breaking space, decimal 160</p>\n </li>\n </ul>\n <p>\n <code>COMPRESS_WHITE_SPACE</code> also replaces multiple spaces with one space.</p>\t\t\n <p>\n <b>HTML_ENTITY_DECODE</b>\n </p>\n <p>Use this option to replace HTML-encoded characters with unencoded characters. <code>HTML_ENTITY_DECODE</code> performs \n the following operations:</p>\n <ul>\n <li>\n <p>Replaces <code>(ampersand)quot;</code> with <code>\"</code>\n </p>\n </li>\n <li>\n <p>Replaces <code>(ampersand)nbsp;</code> with a non-breaking space, decimal 160</p>\n </li>\n <li>\n <p>Replaces <code>(ampersand)lt;</code> with a \"less than\" symbol</p>\n </li>\n <li>\n <p>Replaces <code>(ampersand)gt;</code> with <code>></code>\n </p>\n </li>\n <li>\n <p>Replaces characters that are represented in hexadecimal format, <code>(ampersand)#xhhhh;</code>, with the corresponding characters</p>\n </li>\n <li>\n <p>Replaces characters that are represented in decimal format, <code>(ampersand)#nnnn;</code>, with the corresponding \n characters</p>\n </li>\n </ul>\t\t\n <p>\n <b>LOWERCASE</b>\n </p>\n <p>Use this option to convert uppercase letters (A-Z) to lowercase (a-z).</p>\t\t\n <p>\n <b>URL_DECODE</b>\n </p>\n <p>Use this option to decode a URL-encoded value.</p>\t\t\n <p>\n <b>NONE</b>\n </p>\n <p>Specify <code>NONE</code> if you don't want any text transformations.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. \n </p>"
}
},
"com.amazonaws.wafv2#TextTransformationPriority": {
"type": "integer",
"traits": {
"smithy.api#range": {
"min": 0
}
}
},
"com.amazonaws.wafv2#TextTransformationType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "NONE",
"name": "NONE"
},
{
"value": "COMPRESS_WHITE_SPACE",
"name": "COMPRESS_WHITE_SPACE"
},
{
"value": "HTML_ENTITY_DECODE",
"name": "HTML_ENTITY_DECODE"
},
{
"value": "LOWERCASE",
"name": "LOWERCASE"
},
{
"value": "CMD_LINE",
"name": "CMD_LINE"
},
{
"value": "URL_DECODE",
"name": "URL_DECODE"
}
]
}
},
"com.amazonaws.wafv2#TextTransformations": {
"type": "list",
"member": {
"target": "com.amazonaws.wafv2#TextTransformation"
},
"traits": {
"smithy.api#length": {
"min": 1
}
}
},
"com.amazonaws.wafv2#TimeWindow": {
"type": "structure",
"members": {
"StartTime": {
"target": "com.amazonaws.wafv2#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The beginning of the time range from which you want <code>GetSampledRequests</code> to return a sample of the requests that your \n AWS resource received. You must specify the times in Coordinated Universal Time (UTC) format. UTC format includes the special designator, <code>Z</code>. For example, <code>\"2016-09-27T14:50Z\"</code>. You can specify any time range in the previous three hours.</p>",
"smithy.api#required": {}
}
},
"EndTime": {
"target": "com.amazonaws.wafv2#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The end of the time range from which you want <code>GetSampledRequests</code> to return a sample of the requests that your \n AWS resource received. You must specify the times in Coordinated Universal Time (UTC) format. UTC format includes the special designator, <code>Z</code>. For example, <code>\"2016-09-27T14:50Z\"</code>. You can specify any time range in the previous three hours.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>In a <a>GetSampledRequests</a> request, the <code>StartTime</code> and <code>EndTime</code> objects specify the time range \n for which you want AWS WAF to return a sample of web requests.</p>\n <p>You must specify the times in Coordinated Universal Time (UTC) format. UTC format includes the special designator, <code>Z</code>. For example, <code>\"2016-09-27T14:50Z\"</code>. You can specify any time range in the previous three hours.</p>\n <p>In a <a>GetSampledRequests</a> response, the <code>StartTime</code> and <code>EndTime</code> objects specify the time range \n for which AWS WAF actually returned a sample of web requests. AWS WAF gets the specified number of requests from among the first \n 5,000 requests that your AWS resource receives during the specified time period. If your resource receives more than 5,000 \n requests during that period, AWS WAF stops sampling after the 5,000th request. In that case, <code>EndTime</code> \n is the time that AWS WAF received the 5,000th request.</p>"
}
},
"com.amazonaws.wafv2#Timestamp": {
"type": "timestamp"
},
"com.amazonaws.wafv2#URIString": {
"type": "string"
},
"com.amazonaws.wafv2#UntagResource": {
"type": "operation",
"input": {
"target": "com.amazonaws.wafv2#UntagResourceRequest"
},
"output": {
"target": "com.amazonaws.wafv2#UntagResourceResponse"
},
"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": "<p>Disassociates tags from an AWS resource. Tags are key:value pairs that you can associate with AWS resources. For example, the tag key might be \"customer\" and the tag value might be \"companyA.\" You can specify one or more tags to add to each container. You can add up to 50 tags to each AWS resource.</p>"
}
},
"com.amazonaws.wafv2#UntagResourceRequest": {
"type": "structure",
"members": {
"ResourceARN": {
"target": "com.amazonaws.wafv2#ResourceArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the resource.</p>",
"smithy.api#required": {}
}
},
"TagKeys": {
"target": "com.amazonaws.wafv2#TagKeyList",
"traits": {
"smithy.api#documentation": "<p>An array of keys identifying the tags to disassociate from the resource.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.wafv2#UntagResourceResponse": {
"type": "structure",
"members": {}
},
"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": "<p>Updates the specified <a>IPSet</a>. </p>\n <note>\n <p>This operation completely replaces any IP address specifications that you already have in the IP set with the ones that you provide to this call. If you want to add to or modify the addresses that are already in the IP set, retrieve those by calling <a>GetIPSet</a>, update them, and provide the complete updated array of IP addresses to this call.</p>\n </note>"
}
},
"com.amazonaws.wafv2#UpdateIPSetRequest": {
"type": "structure",
"members": {
"Name": {
"target": "com.amazonaws.wafv2#EntityName",
"traits": {
"smithy.api#documentation": "<p>The name of the IP set. You cannot change the name of an <code>IPSet</code> after you create it.</p>",
"smithy.api#required": {}
}
},
"Scope": {
"target": "com.amazonaws.wafv2#Scope",
"traits": {
"smithy.api#documentation": "<p>Specifies whether this is for an AWS CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL API. </p>\n <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>\n <ul>\n <li>\n <p>CLI - Specify the Region when you use the CloudFront scope: <code>--scope=CLOUDFRONT --region=us-east-1</code>. </p>\n </li>\n <li>\n <p>API and SDKs - For all calls, use the Region endpoint us-east-1. </p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"Id": {
"target": "com.amazonaws.wafv2#EntityId",
"traits": {
"smithy.api#documentation": "<p>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.</p>",
"smithy.api#required": {}
}
},
"Description": {
"target": "com.amazonaws.wafv2#EntityDescription",
"traits": {
"smithy.api#documentation": "<p>A description of the IP set that helps with identification. </p>"
}
},
"Addresses": {
"target": "com.amazonaws.wafv2#IPAddresses",
"traits": {
"smithy.api#documentation": "<p>Contains an array of strings that specify one or more IP addresses or blocks of IP addresses in Classless Inter-Domain Routing (CIDR) notation. AWS WAF supports all IPv4 and IPv6 CIDR ranges except for /0. </p>\n <p>Examples: </p>\n <ul>\n <li>\n <p>To configure AWS WAF to allow, block, or count requests that originated from the IP address 192.0.2.44, specify <code>192.0.2.44/32</code>.</p>\n </li>\n <li>\n <p>To configure AWS WAF to allow, block, or count requests that originated from IP addresses from 192.0.2.0 to 192.0.2.255, specify \n <code>192.0.2.0/24</code>.</p>\n </li>\n <li>\n <p>To configure AWS WAF to allow, block, or count requests that originated from the IP address 1111:0000:0000:0000:0000:0000:0000:0111, specify <code>1111:0000:0000:0000:0000:0000:0000:0111/128</code>.</p>\n </li>\n <li>\n <p>To configure AWS WAF to allow, block, or count requests that originated from IP addresses 1111:0000:0000:0000:0000:0000:0000:0000 to 1111:0000:0000:0000:ffff:ffff:ffff:ffff, specify <code>1111:0000:0000:0000:0000:0000:0000:0000/64</code>.</p>\n </li>\n </ul>\n <p>For more information about CIDR notation, see the Wikipedia entry <a href=\"https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing\">Classless\n Inter-Domain Routing</a>.</p>",
"smithy.api#required": {}
}
},
"LockToken": {
"target": "com.amazonaws.wafv2#LockToken",
"traits": {
"smithy.api#documentation": "<p>A token used for optimistic locking. AWS 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. AWS 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 <code>WAFOptimisticLockException</code>. If this happens, perform another get, and use the new token returned by that operation. </p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.wafv2#UpdateIPSetResponse": {
"type": "structure",
"members": {
"NextLockToken": {
"target": "com.amazonaws.wafv2#LockToken",
"traits": {
"smithy.api#documentation": "<p>A token used for optimistic locking. AWS WAF returns this token to your update requests. You use <code>NextLockToken</code> in the same manner as you use <code>LockToken</code>. </p>"
}
}
}
},
"com.amazonaws.wafv2#UpdateRegexPatternSet": {
"type": "operation",
"input": {
"target": "com.amazonaws.wafv2#UpdateRegexPatternSetRequest"
},
"output": {
"target": "com.amazonaws.wafv2#UpdateRegexPatternSetResponse"
},
"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": "<p>Updates the specified <a>RegexPatternSet</a>.</p>"
}
},
"com.amazonaws.wafv2#UpdateRegexPatternSetRequest": {
"type": "structure",
"members": {
"Name": {
"target": "com.amazonaws.wafv2#EntityName",
"traits": {
"smithy.api#documentation": "<p>The name of the set. You cannot change the name after you create the set.</p>",
"smithy.api#required": {}
}
},
"Scope": {
"target": "com.amazonaws.wafv2#Scope",
"traits": {
"smithy.api#documentation": "<p>Specifies whether this is for an AWS CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL API. </p>\n <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>\n <ul>\n <li>\n <p>CLI - Specify the Region when you use the CloudFront scope: <code>--scope=CLOUDFRONT --region=us-east-1</code>. </p>\n </li>\n <li>\n <p>API and SDKs - For all calls, use the Region endpoint us-east-1. </p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"Id": {
"target": "com.amazonaws.wafv2#EntityId",
"traits": {
"smithy.api#documentation": "<p>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.</p>",
"smithy.api#required": {}
}
},
"Description": {
"target": "com.amazonaws.wafv2#EntityDescription",
"traits": {
"smithy.api#documentation": "<p>A description of the set that helps with identification. </p>"
}
},
"RegularExpressionList": {
"target": "com.amazonaws.wafv2#RegularExpressionList",
"traits": {
"smithy.api#documentation": "<p></p>",
"smithy.api#required": {}
}
},
"LockToken": {
"target": "com.amazonaws.wafv2#LockToken",
"traits": {
"smithy.api#documentation": "<p>A token used for optimistic locking. AWS 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. AWS 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 <code>WAFOptimisticLockException</code>. If this happens, perform another get, and use the new token returned by that operation. </p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.wafv2#UpdateRegexPatternSetResponse": {
"type": "structure",
"members": {
"NextLockToken": {
"target": "com.amazonaws.wafv2#LockToken",
"traits": {
"smithy.api#documentation": "<p>A token used for optimistic locking. AWS WAF returns this token to your update requests. You use <code>NextLockToken</code> in the same manner as you use <code>LockToken</code>. </p>"
}
}
}
},
"com.amazonaws.wafv2#UpdateRuleGroup": {
"type": "operation",
"input": {
"target": "com.amazonaws.wafv2#UpdateRuleGroupRequest"
},
"output": {
"target": "com.amazonaws.wafv2#UpdateRuleGroupResponse"
},
"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"
},
{
"target": "com.amazonaws.wafv2#WAFSubscriptionNotFoundException"
},
{
"target": "com.amazonaws.wafv2#WAFUnavailableEntityException"
}
],
"traits": {
"smithy.api#documentation": "<p>Updates the specified <a>RuleGroup</a>.</p>\n <p> A rule group defines a collection of rules to inspect and control web requests that you can use in a <a>WebACL</a>. 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. </p>"
}
},
"com.amazonaws.wafv2#UpdateRuleGroupRequest": {
"type": "structure",
"members": {
"Name": {
"target": "com.amazonaws.wafv2#EntityName",
"traits": {
"smithy.api#documentation": "<p>The name of the rule group. You cannot change the name of a rule group after you create it.</p>",
"smithy.api#required": {}
}
},
"Scope": {
"target": "com.amazonaws.wafv2#Scope",
"traits": {
"smithy.api#documentation": "<p>Specifies whether this is for an AWS CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL API. </p>\n <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>\n <ul>\n <li>\n <p>CLI - Specify the Region when you use the CloudFront scope: <code>--scope=CLOUDFRONT --region=us-east-1</code>. </p>\n </li>\n <li>\n <p>API and SDKs - For all calls, use the Region endpoint us-east-1. </p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"Id": {
"target": "com.amazonaws.wafv2#EntityId",
"traits": {
"smithy.api#documentation": "<p>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.</p>",
"smithy.api#required": {}
}
},
"Description": {
"target": "com.amazonaws.wafv2#EntityDescription",
"traits": {
"smithy.api#documentation": "<p>A description of the rule group that helps with identification. </p>"
}
},
"Rules": {
"target": "com.amazonaws.wafv2#Rules",
"traits": {
"smithy.api#documentation": "<p>The <a>Rule</a> statements used to identify the web requests that you \n want to allow, block, or count. Each rule includes one top-level statement that AWS WAF uses to identify matching \n web requests, and parameters that govern how AWS WAF handles them. \n </p>"
}
},
"VisibilityConfig": {
"target": "com.amazonaws.wafv2#VisibilityConfig",
"traits": {
"smithy.api#documentation": "<p>Defines and enables Amazon CloudWatch metrics and web request sample collection. </p>",
"smithy.api#required": {}
}
},
"LockToken": {
"target": "com.amazonaws.wafv2#LockToken",
"traits": {
"smithy.api#documentation": "<p>A token used for optimistic locking. AWS 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. AWS 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 <code>WAFOptimisticLockException</code>. If this happens, perform another get, and use the new token returned by that operation. </p>",
"smithy.api#required": {}
}
},
"CustomResponseBodies": {
"target": "com.amazonaws.wafv2#CustomResponseBodies",
"traits": {
"smithy.api#documentation": "<p>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. </p> \n <p>For information about customizing web requests and responses, see <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html\">Customizing web requests and responses in AWS WAF</a> in the \n <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html\">AWS WAF Developer Guide</a>. </p>\n <p>For information about the limits on count and size for custom request and response settings, see <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/limits.html\">AWS WAF quotas</a> in the \n <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html\">AWS WAF Developer Guide</a>. </p>"
}
}
}
},
"com.amazonaws.wafv2#UpdateRuleGroupResponse": {
"type": "structure",
"members": {
"NextLockToken": {
"target": "com.amazonaws.wafv2#LockToken",
"traits": {
"smithy.api#documentation": "<p>A token used for optimistic locking. AWS WAF returns this token to your update requests. You use <code>NextLockToken</code> in the same manner as you use <code>LockToken</code>. </p>"
}
}
}
},
"com.amazonaws.wafv2#UpdateWebACL": {
"type": "operation",
"input": {
"target": "com.amazonaws.wafv2#UpdateWebACLRequest"
},
"output": {
"target": "com.amazonaws.wafv2#UpdateWebACLResponse"
},
"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#WAFInvalidResourceException"
},
{
"target": "com.amazonaws.wafv2#WAFLimitsExceededException"
},
{
"target": "com.amazonaws.wafv2#WAFNonexistentItemException"
},
{
"target": "com.amazonaws.wafv2#WAFOptimisticLockException"
},
{
"target": "com.amazonaws.wafv2#WAFSubscriptionNotFoundException"
},
{
"target": "com.amazonaws.wafv2#WAFUnavailableEntityException"
}
],
"traits": {
"smithy.api#documentation": "<p>Updates the specified <a>WebACL</a>.</p>\n <p> A Web ACL defines a collection of rules to use to inspect and control web requests. Each rule has an action defined (allow, block, or count) for requests that match the statement of the rule. 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 <a>Rule</a>, <a>RuleGroup</a>, and managed rule group. You can associate a Web ACL with one or more AWS resources to protect. The resources can be Amazon CloudFront, an Amazon API Gateway REST API, an Application Load Balancer, or an AWS AppSync GraphQL API. </p>"
}
},
"com.amazonaws.wafv2#UpdateWebACLRequest": {
"type": "structure",
"members": {
"Name": {
"target": "com.amazonaws.wafv2#EntityName",
"traits": {
"smithy.api#documentation": "<p>The name of the Web ACL. You cannot change the name of a Web ACL after you create it.</p>",
"smithy.api#required": {}
}
},
"Scope": {
"target": "com.amazonaws.wafv2#Scope",
"traits": {
"smithy.api#documentation": "<p>Specifies whether this is for an AWS CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL API. </p>\n <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>\n <ul>\n <li>\n <p>CLI - Specify the Region when you use the CloudFront scope: <code>--scope=CLOUDFRONT --region=us-east-1</code>. </p>\n </li>\n <li>\n <p>API and SDKs - For all calls, use the Region endpoint us-east-1. </p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"Id": {
"target": "com.amazonaws.wafv2#EntityId",
"traits": {
"smithy.api#documentation": "<p>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.</p>",
"smithy.api#required": {}
}
},
"DefaultAction": {
"target": "com.amazonaws.wafv2#DefaultAction",
"traits": {
"smithy.api#documentation": "<p>The action to perform if none of the <code>Rules</code> contained in the <code>WebACL</code> match. </p>",
"smithy.api#required": {}
}
},
"Description": {
"target": "com.amazonaws.wafv2#EntityDescription",
"traits": {
"smithy.api#documentation": "<p>A description of the Web ACL that helps with identification. </p>"
}
},
"Rules": {
"target": "com.amazonaws.wafv2#Rules",
"traits": {
"smithy.api#documentation": "<p>The <a>Rule</a> statements used to identify the web requests that you \n want to allow, block, or count. Each rule includes one top-level statement that AWS WAF uses to identify matching \n web requests, and parameters that govern how AWS WAF handles them. \n </p>"
}
},
"VisibilityConfig": {
"target": "com.amazonaws.wafv2#VisibilityConfig",
"traits": {
"smithy.api#documentation": "<p>Defines and enables Amazon CloudWatch metrics and web request sample collection. </p>",
"smithy.api#required": {}
}
},
"LockToken": {
"target": "com.amazonaws.wafv2#LockToken",
"traits": {
"smithy.api#documentation": "<p>A token used for optimistic locking. AWS 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. AWS 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 <code>WAFOptimisticLockException</code>. If this happens, perform another get, and use the new token returned by that operation. </p>",
"smithy.api#required": {}
}
},
"CustomResponseBodies": {
"target": "com.amazonaws.wafv2#CustomResponseBodies",
"traits": {
"smithy.api#documentation": "<p>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. </p> \n <p>For information about customizing web requests and responses, see <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html\">Customizing web requests and responses in AWS WAF</a> in the \n <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html\">AWS WAF Developer Guide</a>. </p>\n <p>For information about the limits on count and size for custom request and response settings, see <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/limits.html\">AWS WAF quotas</a> in the \n <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html\">AWS WAF Developer Guide</a>. </p>"
}
}
}
},
"com.amazonaws.wafv2#UpdateWebACLResponse": {
"type": "structure",
"members": {
"NextLockToken": {
"target": "com.amazonaws.wafv2#LockToken",
"traits": {
"smithy.api#documentation": "<p>A token used for optimistic locking. AWS WAF returns this token to your update requests. You use <code>NextLockToken</code> in the same manner as you use <code>LockToken</code>. </p>"
}
}
}
},
"com.amazonaws.wafv2#UriPath": {
"type": "structure",
"members": {},
"traits": {
"smithy.api#documentation": "<p>The path component of the URI of a web request. This is the part of a web request that identifies a resource, for example, <code>/images/daily-ad.jpg</code>.</p>\n <p>This is used only to indicate the web request component for AWS WAF to inspect, in the <a>FieldToMatch</a> specification. </p>"
}
},
"com.amazonaws.wafv2#VendorName": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 128
},
"smithy.api#pattern": ".*\\S.*"
}
},
"com.amazonaws.wafv2#VisibilityConfig": {
"type": "structure",
"members": {
"SampledRequestsEnabled": {
"target": "com.amazonaws.wafv2#Boolean",
"traits": {
"smithy.api#documentation": "<p>A boolean indicating whether AWS WAF should store a sampling of the web \n requests that match the rules. You can view the sampled requests through the \n AWS WAF console. </p>",
"smithy.api#required": {}
}
},
"CloudWatchMetricsEnabled": {
"target": "com.amazonaws.wafv2#Boolean",
"traits": {
"smithy.api#documentation": "<p>A boolean indicating whether the associated resource sends metrics to CloudWatch. For the list of available metrics, see <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/monitoring-cloudwatch.html#waf-metrics\">AWS WAF Metrics</a>.</p>",
"smithy.api#required": {}
}
},
"MetricName": {
"target": "com.amazonaws.wafv2#MetricName",
"traits": {
"smithy.api#documentation": "<p>A name of the CloudWatch metric. The name can contain only the characters: A-Z, a-z, 0-9, - (hyphen), and _ (underscore). The name can be from one to 128 characters long. It can't contain\n whitespace or metric names reserved for AWS WAF, for example \"All\" and \"Default_Action.\" </p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Defines and enables Amazon CloudWatch metrics and web request sample collection. </p>"
}
},
"com.amazonaws.wafv2#WAFAssociatedItemException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.wafv2#ErrorMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>AWS WAF couldnt perform the operation because your resource is being used by another resource or its associated with another resource. </p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.wafv2#WAFDuplicateItemException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.wafv2#ErrorMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>AWS WAF couldnt perform the operation because the resource that you tried to save is a duplicate of an existing one.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.wafv2#WAFInternalErrorException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.wafv2#ErrorMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>Your request is valid, but AWS WAF couldnt perform the operation because of a system problem. Retry your request. </p>",
"smithy.api#error": "server"
}
},
"com.amazonaws.wafv2#WAFInvalidOperationException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.wafv2#ErrorMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>The operation isn't valid. </p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.wafv2#WAFInvalidParameterException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.wafv2#ErrorMessage"
},
"Field": {
"target": "com.amazonaws.wafv2#ParameterExceptionField"
},
"Parameter": {
"target": "com.amazonaws.wafv2#ParameterExceptionParameter"
},
"Reason": {
"target": "com.amazonaws.wafv2#ErrorReason"
}
},
"traits": {
"smithy.api#documentation": "<p>The operation failed because AWS WAF didn't recognize a parameter in the request. For example: </p>\n <ul>\n <li>\n <p>You specified an invalid parameter name or value.</p>\n </li>\n <li>\n <p>Your nested statement isn't valid. You might have tried to nest a statement that cant be nested. </p>\n </li>\n <li>\n <p>You tried to update a <code>WebACL</code> with a <code>DefaultAction</code> that isn't among the types\n available at <a>DefaultAction</a>.</p>\n </li>\n <li>\n <p>Your request references an ARN that is malformed, or corresponds to a resource with which a Web ACL cannot be associated.</p>\n </li>\n </ul>",
"smithy.api#error": "client"
}
},
"com.amazonaws.wafv2#WAFInvalidPermissionPolicyException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.wafv2#ErrorMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>The operation failed because the specified policy isn't in the proper format. </p>\n \n <p>The policy specifications must conform to the following:</p>\n <ul>\n <li> \n <p>The policy must be composed using IAM Policy version 2012-10-17 or version 2015-01-01.</p>\n </li>\n <li>\n <p>The policy must include specifications for <code>Effect</code>, <code>Action</code>, and <code>Principal</code>.</p>\n </li>\n <li>\n <p>\n <code>Effect</code> must specify <code>Allow</code>.</p>\n </li>\n <li>\n <p>\n <code>Action</code> must specify <code>wafv2:CreateWebACL</code>, <code>wafv2:UpdateWebACL</code>, and <code>wafv2:PutFirewallManagerRuleGroups</code>. AWS WAF rejects any extra actions or wildcard actions in the policy.</p>\n </li>\n <li>\n <p>The policy must not include a <code>Resource</code> parameter.</p>\n </li>\n </ul> \n <p>For more information, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html\">IAM Policies</a>. </p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.wafv2#WAFInvalidResourceException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.wafv2#ErrorMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>AWS WAF couldnt perform the operation because the resource that you requested isnt valid. Check the resource, and try again.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.wafv2#WAFLimitsExceededException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.wafv2#ErrorMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>AWS WAF couldnt perform the operation because you exceeded your resource limit. For example, the maximum number of <code>WebACL</code> objects that you can create \n for an AWS account. For more information, see \n <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/limits.html\">Limits</a> in the <i>AWS WAF Developer Guide</i>.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.wafv2#WAFNonexistentItemException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.wafv2#ErrorMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>AWS WAF couldnt perform the operation because your resource doesnt exist. </p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.wafv2#WAFOptimisticLockException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.wafv2#ErrorMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>AWS WAF couldnt save your changes because you tried to update or delete a resource that has changed since you last retrieved it. Get the resource again, make any changes you need to make to the new copy, and retry your operation. </p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.wafv2#WAFServiceLinkedRoleErrorException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.wafv2#ErrorMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>AWS WAF is not able to access the service linked role. This can be caused by a previous <code>PutLoggingConfiguration</code> request, which can lock the service linked role for about 20 seconds. Please try your request again. The service linked role can also be locked by a previous <code>DeleteServiceLinkedRole</code> request, which can lock the role for 15 minutes or more. If you recently made a call to <code>DeleteServiceLinkedRole</code>, wait at least 15 minutes and try the request again. If you receive this same exception again, you will have to wait additional time until the role is unlocked.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.wafv2#WAFSubscriptionNotFoundException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.wafv2#ErrorMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>You tried to use a managed rule group that's available by subscription, but you aren't subscribed to it yet. </p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.wafv2#WAFTagOperationException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.wafv2#ErrorMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>An error occurred during the tagging operation. Retry your request.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.wafv2#WAFTagOperationInternalErrorException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.wafv2#ErrorMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>AWS WAF couldnt perform your tagging operation because of an internal error. Retry your request.</p>",
"smithy.api#error": "server"
}
},
"com.amazonaws.wafv2#WAFUnavailableEntityException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.wafv2#ErrorMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>AWS WAF couldnt retrieve the resource that you requested. Retry your request.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.wafv2#WebACL": {
"type": "structure",
"members": {
"Name": {
"target": "com.amazonaws.wafv2#EntityName",
"traits": {
"smithy.api#documentation": "<p>The name of the Web ACL. You cannot change the name of a Web ACL after you create it.</p>",
"smithy.api#required": {}
}
},
"Id": {
"target": "com.amazonaws.wafv2#EntityId",
"traits": {
"smithy.api#documentation": "<p>A unique identifier for the <code>WebACL</code>. This ID is returned in the responses to create and list commands. You use this ID to do things like get, update, and delete a <code>WebACL</code>.</p>",
"smithy.api#required": {}
}
},
"ARN": {
"target": "com.amazonaws.wafv2#ResourceArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Web ACL that you want to associate with the resource.</p>",
"smithy.api#required": {}
}
},
"DefaultAction": {
"target": "com.amazonaws.wafv2#DefaultAction",
"traits": {
"smithy.api#documentation": "<p>The action to perform if none of the <code>Rules</code> contained in the <code>WebACL</code> match. </p>",
"smithy.api#required": {}
}
},
"Description": {
"target": "com.amazonaws.wafv2#EntityDescription",
"traits": {
"smithy.api#documentation": "<p>A description of the Web ACL that helps with identification. </p>"
}
},
"Rules": {
"target": "com.amazonaws.wafv2#Rules",
"traits": {
"smithy.api#documentation": "<p>The <a>Rule</a> statements used to identify the web requests that you \n want to allow, block, or count. Each rule includes one top-level statement that AWS WAF uses to identify matching \n web requests, and parameters that govern how AWS WAF handles them. \n </p>"
}
},
"VisibilityConfig": {
"target": "com.amazonaws.wafv2#VisibilityConfig",
"traits": {
"smithy.api#documentation": "<p>Defines and enables Amazon CloudWatch metrics and web request sample collection. </p>",
"smithy.api#required": {}
}
},
"Capacity": {
"target": "com.amazonaws.wafv2#ConsumedCapacity",
"traits": {
"smithy.api#documentation": "<p>The web ACL capacity units (WCUs) currently being used by this web ACL. </p>\n <p>AWS WAF uses WCUs to calculate and control the operating\n resources that are used to run your rules, rule groups, and web ACLs. AWS 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. \n The WCU limit for web ACLs is 1,500. </p>"
}
},
"PreProcessFirewallManagerRuleGroups": {
"target": "com.amazonaws.wafv2#FirewallManagerRuleGroups",
"traits": {
"smithy.api#documentation": "<p>The first set of rules for AWS WAF to process in the web ACL. This is defined in an AWS Firewall Manager WAF policy and \n contains only rule group references. You can't alter these. Any rules and rule groups that you define for the web ACL are \n prioritized after these. </p>\n <p>In the Firewall Manager WAF policy, the Firewall Manager administrator can define a set of rule groups to run first in the web ACL \n and a set of rule groups to run last. Within each set, the administrator prioritizes the rule groups, to\n determine their relative processing order.</p>"
}
},
"PostProcessFirewallManagerRuleGroups": {
"target": "com.amazonaws.wafv2#FirewallManagerRuleGroups",
"traits": {
"smithy.api#documentation": "<p>The last set of rules for AWS WAF to process in the web ACL. This is defined in an AWS Firewall Manager WAF policy and \n contains only rule group references. You can't alter these. Any rules and rule groups that you define for the web ACL are \n prioritized before these. </p>\n <p>In the Firewall Manager WAF policy, the Firewall Manager administrator can define a set of rule groups to run first in the web ACL \n and a set of rule groups to run last. Within each set, the administrator prioritizes the rule groups, to\n determine their relative processing order.</p>"
}
},
"ManagedByFirewallManager": {
"target": "com.amazonaws.wafv2#Boolean",
"traits": {
"smithy.api#documentation": "<p>Indicates whether this web ACL is managed by AWS Firewall Manager. If true, then only AWS Firewall Manager can delete the web ACL or any Firewall Manager rule groups in the web ACL. </p>"
}
},
"LabelNamespace": {
"target": "com.amazonaws.wafv2#LabelName",
"traits": {
"smithy.api#documentation": "<p>The label namespace prefix for this web ACL. All labels added by rules in this web ACL have this prefix. </p>\n <ul>\n <li>\n <p>The syntax for the label namespace prefix for a web ACL is the following: </p>\n <p>\n <code>awswaf:<account ID>:webacl:<web ACL name>:</code>\n </p>\n </li>\n <li>\n <p>When a rule with a label matches a web request, AWS 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: </p>\n <p>\n <code><label namespace>:<label from rule></code>\n </p>\n \n </li>\n </ul>"
}
},
"CustomResponseBodies": {
"target": "com.amazonaws.wafv2#CustomResponseBodies",
"traits": {
"smithy.api#documentation": "<p>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. </p> \n <p>For information about customizing web requests and responses, see <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html\">Customizing web requests and responses in AWS WAF</a> in the \n <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html\">AWS WAF Developer Guide</a>. </p>\n <p>For information about the limits on count and size for custom request and response settings, see <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/limits.html\">AWS WAF quotas</a> in the \n <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html\">AWS WAF Developer Guide</a>. </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p> A Web ACL defines a collection of rules to use to inspect and control web requests. Each rule has an action defined (allow, block, or count) for requests that match the statement of the rule. 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 <a>Rule</a>, <a>RuleGroup</a>, and managed rule group. You can associate a Web ACL with one or more AWS resources to protect. The resources can be Amazon CloudFront, an Amazon API Gateway REST API, an Application Load Balancer, or an AWS AppSync GraphQL API. </p>"
}
},
"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": "<p>The name of the Web ACL. You cannot change the name of a Web ACL after you create it.</p>"
}
},
"Id": {
"target": "com.amazonaws.wafv2#EntityId",
"traits": {
"smithy.api#documentation": "<p>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.</p>"
}
},
"Description": {
"target": "com.amazonaws.wafv2#EntityDescription",
"traits": {
"smithy.api#documentation": "<p>A description of the Web ACL that helps with identification. </p>"
}
},
"LockToken": {
"target": "com.amazonaws.wafv2#LockToken",
"traits": {
"smithy.api#documentation": "<p>A token used for optimistic locking. AWS 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. AWS 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 <code>WAFOptimisticLockException</code>. If this happens, perform another get, and use the new token returned by that operation. </p>"
}
},
"ARN": {
"target": "com.amazonaws.wafv2#ResourceArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the entity.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>High-level information about a <a>WebACL</a>, returned by operations like create and list. This provides information like the ID, that you can use to retrieve and manage a <code>WebACL</code>, and the ARN, that you provide to operations like <a>AssociateWebACL</a>.</p>"
}
},
"com.amazonaws.wafv2#XssMatchStatement": {
"type": "structure",
"members": {
"FieldToMatch": {
"target": "com.amazonaws.wafv2#FieldToMatch",
"traits": {
"smithy.api#documentation": "<p>The part of a web request that you want AWS WAF to inspect. For more information, see <a>FieldToMatch</a>. </p>",
"smithy.api#required": {}
}
},
"TextTransformations": {
"target": "com.amazonaws.wafv2#TextTransformations",
"traits": {
"smithy.api#documentation": "<p>Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. \n If you specify one or more transformations in a rule statement, AWS WAF performs all transformations on the \n content of the request component identified by <code>FieldToMatch</code>, starting from the lowest priority setting, before inspecting the content for a match.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>A rule statement that defines a cross-site scripting (XSS) match search for AWS WAF to apply to web requests. \n XSS attacks are those where the attacker uses vulnerabilities in a benign website as a vehicle to inject malicious \n client-site scripts into other legitimate web browsers. \n The XSS match statement provides the location in requests that you want AWS WAF to search and text transformations \n to use on the search area before AWS WAF searches for character sequences that are likely to be malicious strings. </p>"
}
}
}
}