python-botocore/botocore/data/waf-regional/2016-11-28/service-2.json
2019-10-03 19:21:31 +09:00

5357 lines
322 KiB
JSON

{
"version":"2.0",
"metadata":{
"apiVersion":"2016-11-28",
"endpointPrefix":"waf-regional",
"jsonVersion":"1.1",
"protocol":"json",
"serviceAbbreviation":"WAF Regional",
"serviceFullName":"AWS WAF Regional",
"serviceId":"WAF Regional",
"signatureVersion":"v4",
"targetPrefix":"AWSWAF_Regional_20161128",
"uid":"waf-regional-2016-11-28"
},
"operations":{
"AssociateWebACL":{
"name":"AssociateWebACL",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"AssociateWebACLRequest"},
"output":{"shape":"AssociateWebACLResponse"},
"errors":[
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidAccountException"},
{"shape":"WAFInvalidParameterException"},
{"shape":"WAFNonexistentItemException"},
{"shape":"WAFUnavailableEntityException"}
],
"documentation":"<p>Associates a web ACL with a resource, either an application load balancer or Amazon API Gateway stage.</p>"
},
"CreateByteMatchSet":{
"name":"CreateByteMatchSet",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"CreateByteMatchSetRequest"},
"output":{"shape":"CreateByteMatchSetResponse"},
"errors":[
{"shape":"WAFDisallowedNameException"},
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidAccountException"},
{"shape":"WAFInvalidParameterException"},
{"shape":"WAFStaleDataException"},
{"shape":"WAFLimitsExceededException"}
],
"documentation":"<p>Creates a <code>ByteMatchSet</code>. You then use <a>UpdateByteMatchSet</a> to identify the part of a web request that you want AWS WAF to inspect, such as the values of the <code>User-Agent</code> header or the query string. For example, you can create a <code>ByteMatchSet</code> that matches any requests with <code>User-Agent</code> headers that contain the string <code>BadBot</code>. You can then configure AWS WAF to reject those requests.</p> <p>To create and configure a <code>ByteMatchSet</code>, perform the following steps:</p> <ol> <li> <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a <code>CreateByteMatchSet</code> request.</p> </li> <li> <p>Submit a <code>CreateByteMatchSet</code> request.</p> </li> <li> <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an <code>UpdateByteMatchSet</code> request.</p> </li> <li> <p>Submit an <a>UpdateByteMatchSet</a> request to specify the part of the request that you want AWS WAF to inspect (for example, the header or the URI) and the value that you want AWS WAF to watch for.</p> </li> </ol> <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/\">AWS WAF Developer Guide</a>.</p>"
},
"CreateGeoMatchSet":{
"name":"CreateGeoMatchSet",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"CreateGeoMatchSetRequest"},
"output":{"shape":"CreateGeoMatchSetResponse"},
"errors":[
{"shape":"WAFStaleDataException"},
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidAccountException"},
{"shape":"WAFDisallowedNameException"},
{"shape":"WAFInvalidParameterException"},
{"shape":"WAFLimitsExceededException"}
],
"documentation":"<p>Creates an <a>GeoMatchSet</a>, which you use to specify which web requests you want to allow or block based on the country that the requests originate from. For example, if you're receiving a lot of requests from one or more countries and you want to block the requests, you can create an <code>GeoMatchSet</code> that contains those countries and then configure AWS WAF to block the requests. </p> <p>To create and configure a <code>GeoMatchSet</code>, perform the following steps:</p> <ol> <li> <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a <code>CreateGeoMatchSet</code> request.</p> </li> <li> <p>Submit a <code>CreateGeoMatchSet</code> request.</p> </li> <li> <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an <a>UpdateGeoMatchSet</a> request.</p> </li> <li> <p>Submit an <code>UpdateGeoMatchSetSet</code> request to specify the countries that you want AWS WAF to watch for.</p> </li> </ol> <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/\">AWS WAF Developer Guide</a>.</p>"
},
"CreateIPSet":{
"name":"CreateIPSet",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"CreateIPSetRequest"},
"output":{"shape":"CreateIPSetResponse"},
"errors":[
{"shape":"WAFStaleDataException"},
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidAccountException"},
{"shape":"WAFDisallowedNameException"},
{"shape":"WAFInvalidParameterException"},
{"shape":"WAFLimitsExceededException"}
],
"documentation":"<p>Creates an <a>IPSet</a>, which you use to specify which web requests that you want to allow or block based on the IP addresses that the requests originate from. For example, if you're receiving a lot of requests from one or more individual IP addresses or one or more ranges of IP addresses and you want to block the requests, you can create an <code>IPSet</code> that contains those IP addresses and then configure AWS WAF to block the requests. </p> <p>To create and configure an <code>IPSet</code>, perform the following steps:</p> <ol> <li> <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a <code>CreateIPSet</code> request.</p> </li> <li> <p>Submit a <code>CreateIPSet</code> request.</p> </li> <li> <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an <a>UpdateIPSet</a> request.</p> </li> <li> <p>Submit an <code>UpdateIPSet</code> request to specify the IP addresses that you want AWS WAF to watch for.</p> </li> </ol> <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/\">AWS WAF Developer Guide</a>.</p>"
},
"CreateRateBasedRule":{
"name":"CreateRateBasedRule",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"CreateRateBasedRuleRequest"},
"output":{"shape":"CreateRateBasedRuleResponse"},
"errors":[
{"shape":"WAFStaleDataException"},
{"shape":"WAFInternalErrorException"},
{"shape":"WAFDisallowedNameException"},
{"shape":"WAFInvalidParameterException"},
{"shape":"WAFLimitsExceededException"},
{"shape":"WAFTagOperationException"},
{"shape":"WAFTagOperationInternalErrorException"},
{"shape":"WAFBadRequestException"}
],
"documentation":"<p>Creates a <a>RateBasedRule</a>. The <code>RateBasedRule</code> contains a <code>RateLimit</code>, which specifies the maximum number of requests that AWS WAF allows from a specified IP address in a five-minute period. The <code>RateBasedRule</code> also contains the <code>IPSet</code> objects, <code>ByteMatchSet</code> objects, and other predicates that identify the requests that you want to count or block if these requests exceed the <code>RateLimit</code>.</p> <p>If you add more than one predicate to a <code>RateBasedRule</code>, a request not only must exceed the <code>RateLimit</code>, but it also must match all the specifications to be counted or blocked. For example, suppose you add the following to a <code>RateBasedRule</code>:</p> <ul> <li> <p>An <code>IPSet</code> that matches the IP address <code>192.0.2.44/32</code> </p> </li> <li> <p>A <code>ByteMatchSet</code> that matches <code>BadBot</code> in the <code>User-Agent</code> header</p> </li> </ul> <p>Further, you specify a <code>RateLimit</code> of 15,000.</p> <p>You then add the <code>RateBasedRule</code> to a <code>WebACL</code> and specify that you want to block requests that meet the conditions in the rule. For a request to be blocked, it must come from the IP address 192.0.2.44 <i>and</i> the <code>User-Agent</code> header in the request must contain the value <code>BadBot</code>. Further, requests that match these two conditions must be received at a rate of more than 15,000 requests every five minutes. If both conditions are met and the rate is exceeded, AWS WAF blocks the requests. If the rate drops below 15,000 for a five-minute period, AWS WAF no longer blocks the requests.</p> <p>As a second example, suppose you want to limit requests to a particular page on your site. To do this, you could add the following to a <code>RateBasedRule</code>:</p> <ul> <li> <p>A <code>ByteMatchSet</code> with <code>FieldToMatch</code> of <code>URI</code> </p> </li> <li> <p>A <code>PositionalConstraint</code> of <code>STARTS_WITH</code> </p> </li> <li> <p>A <code>TargetString</code> of <code>login</code> </p> </li> </ul> <p>Further, you specify a <code>RateLimit</code> of 15,000.</p> <p>By adding this <code>RateBasedRule</code> to a <code>WebACL</code>, you could limit requests to your login page without affecting the rest of your site.</p> <p>To create and configure a <code>RateBasedRule</code>, perform the following steps:</p> <ol> <li> <p>Create and update the predicates that you want to include in the rule. For more information, see <a>CreateByteMatchSet</a>, <a>CreateIPSet</a>, and <a>CreateSqlInjectionMatchSet</a>.</p> </li> <li> <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a <code>CreateRule</code> request.</p> </li> <li> <p>Submit a <code>CreateRateBasedRule</code> request.</p> </li> <li> <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an <a>UpdateRule</a> request.</p> </li> <li> <p>Submit an <code>UpdateRateBasedRule</code> request to specify the predicates that you want to include in the rule.</p> </li> <li> <p>Create and update a <code>WebACL</code> that contains the <code>RateBasedRule</code>. For more information, see <a>CreateWebACL</a>.</p> </li> </ol> <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/\">AWS WAF Developer Guide</a>.</p>"
},
"CreateRegexMatchSet":{
"name":"CreateRegexMatchSet",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"CreateRegexMatchSetRequest"},
"output":{"shape":"CreateRegexMatchSetResponse"},
"errors":[
{"shape":"WAFStaleDataException"},
{"shape":"WAFInternalErrorException"},
{"shape":"WAFDisallowedNameException"},
{"shape":"WAFLimitsExceededException"}
],
"documentation":"<p>Creates a <a>RegexMatchSet</a>. You then use <a>UpdateRegexMatchSet</a> to identify the part of a web request that you want AWS WAF to inspect, such as the values of the <code>User-Agent</code> header or the query string. For example, you can create a <code>RegexMatchSet</code> that contains a <code>RegexMatchTuple</code> that looks for any requests with <code>User-Agent</code> headers that match a <code>RegexPatternSet</code> with pattern <code>B[a@]dB[o0]t</code>. You can then configure AWS WAF to reject those requests.</p> <p>To create and configure a <code>RegexMatchSet</code>, perform the following steps:</p> <ol> <li> <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a <code>CreateRegexMatchSet</code> request.</p> </li> <li> <p>Submit a <code>CreateRegexMatchSet</code> request.</p> </li> <li> <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an <code>UpdateRegexMatchSet</code> request.</p> </li> <li> <p>Submit an <a>UpdateRegexMatchSet</a> request to specify the part of the request that you want AWS WAF to inspect (for example, the header or the URI) and the value, using a <code>RegexPatternSet</code>, that you want AWS WAF to watch for.</p> </li> </ol> <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/\">AWS WAF Developer Guide</a>.</p>"
},
"CreateRegexPatternSet":{
"name":"CreateRegexPatternSet",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"CreateRegexPatternSetRequest"},
"output":{"shape":"CreateRegexPatternSetResponse"},
"errors":[
{"shape":"WAFStaleDataException"},
{"shape":"WAFInternalErrorException"},
{"shape":"WAFDisallowedNameException"},
{"shape":"WAFLimitsExceededException"}
],
"documentation":"<p>Creates a <code>RegexPatternSet</code>. You then use <a>UpdateRegexPatternSet</a> to specify the regular expression (regex) pattern that you want AWS WAF to search for, such as <code>B[a@]dB[o0]t</code>. You can then configure AWS WAF to reject those requests.</p> <p>To create and configure a <code>RegexPatternSet</code>, perform the following steps:</p> <ol> <li> <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a <code>CreateRegexPatternSet</code> request.</p> </li> <li> <p>Submit a <code>CreateRegexPatternSet</code> request.</p> </li> <li> <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an <code>UpdateRegexPatternSet</code> request.</p> </li> <li> <p>Submit an <a>UpdateRegexPatternSet</a> request to specify the string that you want AWS WAF to watch for.</p> </li> </ol> <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/\">AWS WAF Developer Guide</a>.</p>"
},
"CreateRule":{
"name":"CreateRule",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"CreateRuleRequest"},
"output":{"shape":"CreateRuleResponse"},
"errors":[
{"shape":"WAFStaleDataException"},
{"shape":"WAFInternalErrorException"},
{"shape":"WAFDisallowedNameException"},
{"shape":"WAFInvalidParameterException"},
{"shape":"WAFLimitsExceededException"},
{"shape":"WAFTagOperationException"},
{"shape":"WAFTagOperationInternalErrorException"},
{"shape":"WAFBadRequestException"}
],
"documentation":"<p>Creates a <code>Rule</code>, which contains the <code>IPSet</code> objects, <code>ByteMatchSet</code> objects, and other predicates that identify the requests that you want to block. If you add more than one predicate to a <code>Rule</code>, a request must match all of the specifications to be allowed or blocked. For example, suppose that you add the following to a <code>Rule</code>:</p> <ul> <li> <p>An <code>IPSet</code> that matches the IP address <code>192.0.2.44/32</code> </p> </li> <li> <p>A <code>ByteMatchSet</code> that matches <code>BadBot</code> in the <code>User-Agent</code> header</p> </li> </ul> <p>You then add the <code>Rule</code> to a <code>WebACL</code> and specify that you want to blocks requests that satisfy the <code>Rule</code>. For a request to be blocked, it must come from the IP address 192.0.2.44 <i>and</i> the <code>User-Agent</code> header in the request must contain the value <code>BadBot</code>.</p> <p>To create and configure a <code>Rule</code>, perform the following steps:</p> <ol> <li> <p>Create and update the predicates that you want to include in the <code>Rule</code>. For more information, see <a>CreateByteMatchSet</a>, <a>CreateIPSet</a>, and <a>CreateSqlInjectionMatchSet</a>.</p> </li> <li> <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a <code>CreateRule</code> request.</p> </li> <li> <p>Submit a <code>CreateRule</code> request.</p> </li> <li> <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an <a>UpdateRule</a> request.</p> </li> <li> <p>Submit an <code>UpdateRule</code> request to specify the predicates that you want to include in the <code>Rule</code>.</p> </li> <li> <p>Create and update a <code>WebACL</code> that contains the <code>Rule</code>. For more information, see <a>CreateWebACL</a>.</p> </li> </ol> <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/\">AWS WAF Developer Guide</a>.</p>"
},
"CreateRuleGroup":{
"name":"CreateRuleGroup",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"CreateRuleGroupRequest"},
"output":{"shape":"CreateRuleGroupResponse"},
"errors":[
{"shape":"WAFStaleDataException"},
{"shape":"WAFInternalErrorException"},
{"shape":"WAFDisallowedNameException"},
{"shape":"WAFLimitsExceededException"},
{"shape":"WAFTagOperationException"},
{"shape":"WAFTagOperationInternalErrorException"},
{"shape":"WAFBadRequestException"}
],
"documentation":"<p>Creates a <code>RuleGroup</code>. A rule group is a collection of predefined rules that you add to a web ACL. You use <a>UpdateRuleGroup</a> to add rules to the rule group.</p> <p>Rule groups are subject to the following limits:</p> <ul> <li> <p>Three rule groups per account. You can request an increase to this limit by contacting customer support.</p> </li> <li> <p>One rule group per web ACL.</p> </li> <li> <p>Ten rules per rule group.</p> </li> </ul> <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/\">AWS WAF Developer Guide</a>.</p>"
},
"CreateSizeConstraintSet":{
"name":"CreateSizeConstraintSet",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"CreateSizeConstraintSetRequest"},
"output":{"shape":"CreateSizeConstraintSetResponse"},
"errors":[
{"shape":"WAFStaleDataException"},
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidAccountException"},
{"shape":"WAFDisallowedNameException"},
{"shape":"WAFInvalidParameterException"},
{"shape":"WAFLimitsExceededException"}
],
"documentation":"<p>Creates a <code>SizeConstraintSet</code>. You then use <a>UpdateSizeConstraintSet</a> to identify the part of a web request that you want AWS WAF to check for length, such as the length of the <code>User-Agent</code> header or the length of the query string. For example, you can create a <code>SizeConstraintSet</code> that matches any requests that have a query string that is longer than 100 bytes. You can then configure AWS WAF to reject those requests.</p> <p>To create and configure a <code>SizeConstraintSet</code>, perform the following steps:</p> <ol> <li> <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a <code>CreateSizeConstraintSet</code> request.</p> </li> <li> <p>Submit a <code>CreateSizeConstraintSet</code> request.</p> </li> <li> <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an <code>UpdateSizeConstraintSet</code> request.</p> </li> <li> <p>Submit an <a>UpdateSizeConstraintSet</a> request to specify the part of the request that you want AWS WAF to inspect (for example, the header or the URI) and the value that you want AWS WAF to watch for.</p> </li> </ol> <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/\">AWS WAF Developer Guide</a>.</p>"
},
"CreateSqlInjectionMatchSet":{
"name":"CreateSqlInjectionMatchSet",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"CreateSqlInjectionMatchSetRequest"},
"output":{"shape":"CreateSqlInjectionMatchSetResponse"},
"errors":[
{"shape":"WAFDisallowedNameException"},
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidAccountException"},
{"shape":"WAFInvalidParameterException"},
{"shape":"WAFStaleDataException"},
{"shape":"WAFLimitsExceededException"}
],
"documentation":"<p>Creates a <a>SqlInjectionMatchSet</a>, which you use to allow, block, or count requests that contain snippets of SQL code in a specified part of web requests. AWS WAF searches for character sequences that are likely to be malicious strings.</p> <p>To create and configure a <code>SqlInjectionMatchSet</code>, perform the following steps:</p> <ol> <li> <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a <code>CreateSqlInjectionMatchSet</code> request.</p> </li> <li> <p>Submit a <code>CreateSqlInjectionMatchSet</code> request.</p> </li> <li> <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an <a>UpdateSqlInjectionMatchSet</a> request.</p> </li> <li> <p>Submit an <a>UpdateSqlInjectionMatchSet</a> request to specify the parts of web requests in which you want to allow, block, or count malicious SQL code.</p> </li> </ol> <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/\">AWS WAF Developer Guide</a>.</p>"
},
"CreateWebACL":{
"name":"CreateWebACL",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"CreateWebACLRequest"},
"output":{"shape":"CreateWebACLResponse"},
"errors":[
{"shape":"WAFStaleDataException"},
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidAccountException"},
{"shape":"WAFDisallowedNameException"},
{"shape":"WAFInvalidParameterException"},
{"shape":"WAFLimitsExceededException"},
{"shape":"WAFTagOperationException"},
{"shape":"WAFTagOperationInternalErrorException"},
{"shape":"WAFBadRequestException"}
],
"documentation":"<p>Creates a <code>WebACL</code>, which contains the <code>Rules</code> that identify the CloudFront web requests that you want to allow, block, or count. AWS WAF evaluates <code>Rules</code> in order based on the value of <code>Priority</code> for each <code>Rule</code>.</p> <p>You also specify a default action, either <code>ALLOW</code> or <code>BLOCK</code>. If a web request doesn't match any of the <code>Rules</code> in a <code>WebACL</code>, AWS WAF responds to the request with the default action. </p> <p>To create and configure a <code>WebACL</code>, perform the following steps:</p> <ol> <li> <p>Create and update the <code>ByteMatchSet</code> objects and other predicates that you want to include in <code>Rules</code>. For more information, see <a>CreateByteMatchSet</a>, <a>UpdateByteMatchSet</a>, <a>CreateIPSet</a>, <a>UpdateIPSet</a>, <a>CreateSqlInjectionMatchSet</a>, and <a>UpdateSqlInjectionMatchSet</a>.</p> </li> <li> <p>Create and update the <code>Rules</code> that you want to include in the <code>WebACL</code>. For more information, see <a>CreateRule</a> and <a>UpdateRule</a>.</p> </li> <li> <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a <code>CreateWebACL</code> request.</p> </li> <li> <p>Submit a <code>CreateWebACL</code> request.</p> </li> <li> <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an <a>UpdateWebACL</a> request.</p> </li> <li> <p>Submit an <a>UpdateWebACL</a> request to specify the <code>Rules</code> that you want to include in the <code>WebACL</code>, to specify the default action, and to associate the <code>WebACL</code> with a CloudFront distribution.</p> </li> </ol> <p>For more information about how to use the AWS WAF API, see the <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/\">AWS WAF Developer Guide</a>.</p>"
},
"CreateXssMatchSet":{
"name":"CreateXssMatchSet",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"CreateXssMatchSetRequest"},
"output":{"shape":"CreateXssMatchSetResponse"},
"errors":[
{"shape":"WAFDisallowedNameException"},
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidAccountException"},
{"shape":"WAFInvalidParameterException"},
{"shape":"WAFStaleDataException"},
{"shape":"WAFLimitsExceededException"}
],
"documentation":"<p>Creates an <a>XssMatchSet</a>, which you use to allow, block, or count requests that contain cross-site scripting attacks in the specified part of web requests. AWS WAF searches for character sequences that are likely to be malicious strings.</p> <p>To create and configure an <code>XssMatchSet</code>, perform the following steps:</p> <ol> <li> <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a <code>CreateXssMatchSet</code> request.</p> </li> <li> <p>Submit a <code>CreateXssMatchSet</code> request.</p> </li> <li> <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an <a>UpdateXssMatchSet</a> request.</p> </li> <li> <p>Submit an <a>UpdateXssMatchSet</a> request to specify the parts of web requests in which you want to allow, block, or count cross-site scripting attacks.</p> </li> </ol> <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/\">AWS WAF Developer Guide</a>.</p>"
},
"DeleteByteMatchSet":{
"name":"DeleteByteMatchSet",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DeleteByteMatchSetRequest"},
"output":{"shape":"DeleteByteMatchSetResponse"},
"errors":[
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidAccountException"},
{"shape":"WAFNonexistentItemException"},
{"shape":"WAFReferencedItemException"},
{"shape":"WAFStaleDataException"},
{"shape":"WAFNonEmptyEntityException"}
],
"documentation":"<p>Permanently deletes a <a>ByteMatchSet</a>. You can't delete a <code>ByteMatchSet</code> if it's still used in any <code>Rules</code> or if it still includes any <a>ByteMatchTuple</a> objects (any filters).</p> <p>If you just want to remove a <code>ByteMatchSet</code> from a <code>Rule</code>, use <a>UpdateRule</a>.</p> <p>To permanently delete a <code>ByteMatchSet</code>, perform the following steps:</p> <ol> <li> <p>Update the <code>ByteMatchSet</code> to remove filters, if any. For more information, see <a>UpdateByteMatchSet</a>.</p> </li> <li> <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a <code>DeleteByteMatchSet</code> request.</p> </li> <li> <p>Submit a <code>DeleteByteMatchSet</code> request.</p> </li> </ol>"
},
"DeleteGeoMatchSet":{
"name":"DeleteGeoMatchSet",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DeleteGeoMatchSetRequest"},
"output":{"shape":"DeleteGeoMatchSetResponse"},
"errors":[
{"shape":"WAFStaleDataException"},
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidAccountException"},
{"shape":"WAFNonexistentItemException"},
{"shape":"WAFReferencedItemException"},
{"shape":"WAFNonEmptyEntityException"}
],
"documentation":"<p>Permanently deletes a <a>GeoMatchSet</a>. You can't delete a <code>GeoMatchSet</code> if it's still used in any <code>Rules</code> or if it still includes any countries.</p> <p>If you just want to remove a <code>GeoMatchSet</code> from a <code>Rule</code>, use <a>UpdateRule</a>.</p> <p>To permanently delete a <code>GeoMatchSet</code> from AWS WAF, perform the following steps:</p> <ol> <li> <p>Update the <code>GeoMatchSet</code> to remove any countries. For more information, see <a>UpdateGeoMatchSet</a>.</p> </li> <li> <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a <code>DeleteGeoMatchSet</code> request.</p> </li> <li> <p>Submit a <code>DeleteGeoMatchSet</code> request.</p> </li> </ol>"
},
"DeleteIPSet":{
"name":"DeleteIPSet",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DeleteIPSetRequest"},
"output":{"shape":"DeleteIPSetResponse"},
"errors":[
{"shape":"WAFStaleDataException"},
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidAccountException"},
{"shape":"WAFNonexistentItemException"},
{"shape":"WAFReferencedItemException"},
{"shape":"WAFNonEmptyEntityException"}
],
"documentation":"<p>Permanently deletes an <a>IPSet</a>. You can't delete an <code>IPSet</code> if it's still used in any <code>Rules</code> or if it still includes any IP addresses.</p> <p>If you just want to remove an <code>IPSet</code> from a <code>Rule</code>, use <a>UpdateRule</a>.</p> <p>To permanently delete an <code>IPSet</code> from AWS WAF, perform the following steps:</p> <ol> <li> <p>Update the <code>IPSet</code> to remove IP address ranges, if any. For more information, see <a>UpdateIPSet</a>.</p> </li> <li> <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a <code>DeleteIPSet</code> request.</p> </li> <li> <p>Submit a <code>DeleteIPSet</code> request.</p> </li> </ol>"
},
"DeleteLoggingConfiguration":{
"name":"DeleteLoggingConfiguration",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DeleteLoggingConfigurationRequest"},
"output":{"shape":"DeleteLoggingConfigurationResponse"},
"errors":[
{"shape":"WAFInternalErrorException"},
{"shape":"WAFNonexistentItemException"},
{"shape":"WAFStaleDataException"}
],
"documentation":"<p>Permanently deletes the <a>LoggingConfiguration</a> from the specified web ACL.</p>"
},
"DeletePermissionPolicy":{
"name":"DeletePermissionPolicy",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DeletePermissionPolicyRequest"},
"output":{"shape":"DeletePermissionPolicyResponse"},
"errors":[
{"shape":"WAFInternalErrorException"},
{"shape":"WAFStaleDataException"},
{"shape":"WAFNonexistentItemException"}
],
"documentation":"<p>Permanently deletes an IAM policy from the specified RuleGroup.</p> <p>The user making the request must be the owner of the RuleGroup.</p>"
},
"DeleteRateBasedRule":{
"name":"DeleteRateBasedRule",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DeleteRateBasedRuleRequest"},
"output":{"shape":"DeleteRateBasedRuleResponse"},
"errors":[
{"shape":"WAFStaleDataException"},
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidAccountException"},
{"shape":"WAFNonexistentItemException"},
{"shape":"WAFReferencedItemException"},
{"shape":"WAFNonEmptyEntityException"},
{"shape":"WAFTagOperationException"},
{"shape":"WAFTagOperationInternalErrorException"}
],
"documentation":"<p>Permanently deletes a <a>RateBasedRule</a>. You can't delete a rule if it's still used in any <code>WebACL</code> objects or if it still includes any predicates, such as <code>ByteMatchSet</code> objects.</p> <p>If you just want to remove a rule from a <code>WebACL</code>, use <a>UpdateWebACL</a>.</p> <p>To permanently delete a <code>RateBasedRule</code> from AWS WAF, perform the following steps:</p> <ol> <li> <p>Update the <code>RateBasedRule</code> to remove predicates, if any. For more information, see <a>UpdateRateBasedRule</a>.</p> </li> <li> <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a <code>DeleteRateBasedRule</code> request.</p> </li> <li> <p>Submit a <code>DeleteRateBasedRule</code> request.</p> </li> </ol>"
},
"DeleteRegexMatchSet":{
"name":"DeleteRegexMatchSet",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DeleteRegexMatchSetRequest"},
"output":{"shape":"DeleteRegexMatchSetResponse"},
"errors":[
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidAccountException"},
{"shape":"WAFNonexistentItemException"},
{"shape":"WAFReferencedItemException"},
{"shape":"WAFStaleDataException"},
{"shape":"WAFNonEmptyEntityException"}
],
"documentation":"<p>Permanently deletes a <a>RegexMatchSet</a>. You can't delete a <code>RegexMatchSet</code> if it's still used in any <code>Rules</code> or if it still includes any <code>RegexMatchTuples</code> objects (any filters).</p> <p>If you just want to remove a <code>RegexMatchSet</code> from a <code>Rule</code>, use <a>UpdateRule</a>.</p> <p>To permanently delete a <code>RegexMatchSet</code>, perform the following steps:</p> <ol> <li> <p>Update the <code>RegexMatchSet</code> to remove filters, if any. For more information, see <a>UpdateRegexMatchSet</a>.</p> </li> <li> <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a <code>DeleteRegexMatchSet</code> request.</p> </li> <li> <p>Submit a <code>DeleteRegexMatchSet</code> request.</p> </li> </ol>"
},
"DeleteRegexPatternSet":{
"name":"DeleteRegexPatternSet",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DeleteRegexPatternSetRequest"},
"output":{"shape":"DeleteRegexPatternSetResponse"},
"errors":[
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidAccountException"},
{"shape":"WAFNonexistentItemException"},
{"shape":"WAFReferencedItemException"},
{"shape":"WAFStaleDataException"},
{"shape":"WAFNonEmptyEntityException"}
],
"documentation":"<p>Permanently deletes a <a>RegexPatternSet</a>. You can't delete a <code>RegexPatternSet</code> if it's still used in any <code>RegexMatchSet</code> or if the <code>RegexPatternSet</code> is not empty. </p>"
},
"DeleteRule":{
"name":"DeleteRule",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DeleteRuleRequest"},
"output":{"shape":"DeleteRuleResponse"},
"errors":[
{"shape":"WAFStaleDataException"},
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidAccountException"},
{"shape":"WAFNonexistentItemException"},
{"shape":"WAFReferencedItemException"},
{"shape":"WAFNonEmptyEntityException"},
{"shape":"WAFTagOperationException"},
{"shape":"WAFTagOperationInternalErrorException"}
],
"documentation":"<p>Permanently deletes a <a>Rule</a>. You can't delete a <code>Rule</code> if it's still used in any <code>WebACL</code> objects or if it still includes any predicates, such as <code>ByteMatchSet</code> objects.</p> <p>If you just want to remove a <code>Rule</code> from a <code>WebACL</code>, use <a>UpdateWebACL</a>.</p> <p>To permanently delete a <code>Rule</code> from AWS WAF, perform the following steps:</p> <ol> <li> <p>Update the <code>Rule</code> to remove predicates, if any. For more information, see <a>UpdateRule</a>.</p> </li> <li> <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a <code>DeleteRule</code> request.</p> </li> <li> <p>Submit a <code>DeleteRule</code> request.</p> </li> </ol>"
},
"DeleteRuleGroup":{
"name":"DeleteRuleGroup",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DeleteRuleGroupRequest"},
"output":{"shape":"DeleteRuleGroupResponse"},
"errors":[
{"shape":"WAFStaleDataException"},
{"shape":"WAFInternalErrorException"},
{"shape":"WAFNonexistentItemException"},
{"shape":"WAFReferencedItemException"},
{"shape":"WAFNonEmptyEntityException"},
{"shape":"WAFInvalidOperationException"},
{"shape":"WAFTagOperationException"},
{"shape":"WAFTagOperationInternalErrorException"}
],
"documentation":"<p>Permanently deletes a <a>RuleGroup</a>. You can't delete a <code>RuleGroup</code> if it's still used in any <code>WebACL</code> objects or if it still includes any rules.</p> <p>If you just want to remove a <code>RuleGroup</code> from a <code>WebACL</code>, use <a>UpdateWebACL</a>.</p> <p>To permanently delete a <code>RuleGroup</code> from AWS WAF, perform the following steps:</p> <ol> <li> <p>Update the <code>RuleGroup</code> to remove rules, if any. For more information, see <a>UpdateRuleGroup</a>.</p> </li> <li> <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a <code>DeleteRuleGroup</code> request.</p> </li> <li> <p>Submit a <code>DeleteRuleGroup</code> request.</p> </li> </ol>"
},
"DeleteSizeConstraintSet":{
"name":"DeleteSizeConstraintSet",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DeleteSizeConstraintSetRequest"},
"output":{"shape":"DeleteSizeConstraintSetResponse"},
"errors":[
{"shape":"WAFStaleDataException"},
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidAccountException"},
{"shape":"WAFNonexistentItemException"},
{"shape":"WAFReferencedItemException"},
{"shape":"WAFNonEmptyEntityException"}
],
"documentation":"<p>Permanently deletes a <a>SizeConstraintSet</a>. You can't delete a <code>SizeConstraintSet</code> if it's still used in any <code>Rules</code> or if it still includes any <a>SizeConstraint</a> objects (any filters).</p> <p>If you just want to remove a <code>SizeConstraintSet</code> from a <code>Rule</code>, use <a>UpdateRule</a>.</p> <p>To permanently delete a <code>SizeConstraintSet</code>, perform the following steps:</p> <ol> <li> <p>Update the <code>SizeConstraintSet</code> to remove filters, if any. For more information, see <a>UpdateSizeConstraintSet</a>.</p> </li> <li> <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a <code>DeleteSizeConstraintSet</code> request.</p> </li> <li> <p>Submit a <code>DeleteSizeConstraintSet</code> request.</p> </li> </ol>"
},
"DeleteSqlInjectionMatchSet":{
"name":"DeleteSqlInjectionMatchSet",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DeleteSqlInjectionMatchSetRequest"},
"output":{"shape":"DeleteSqlInjectionMatchSetResponse"},
"errors":[
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidAccountException"},
{"shape":"WAFNonexistentItemException"},
{"shape":"WAFReferencedItemException"},
{"shape":"WAFStaleDataException"},
{"shape":"WAFNonEmptyEntityException"}
],
"documentation":"<p>Permanently deletes a <a>SqlInjectionMatchSet</a>. You can't delete a <code>SqlInjectionMatchSet</code> if it's still used in any <code>Rules</code> or if it still contains any <a>SqlInjectionMatchTuple</a> objects.</p> <p>If you just want to remove a <code>SqlInjectionMatchSet</code> from a <code>Rule</code>, use <a>UpdateRule</a>.</p> <p>To permanently delete a <code>SqlInjectionMatchSet</code> from AWS WAF, perform the following steps:</p> <ol> <li> <p>Update the <code>SqlInjectionMatchSet</code> to remove filters, if any. For more information, see <a>UpdateSqlInjectionMatchSet</a>.</p> </li> <li> <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a <code>DeleteSqlInjectionMatchSet</code> request.</p> </li> <li> <p>Submit a <code>DeleteSqlInjectionMatchSet</code> request.</p> </li> </ol>"
},
"DeleteWebACL":{
"name":"DeleteWebACL",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DeleteWebACLRequest"},
"output":{"shape":"DeleteWebACLResponse"},
"errors":[
{"shape":"WAFStaleDataException"},
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidAccountException"},
{"shape":"WAFNonexistentItemException"},
{"shape":"WAFReferencedItemException"},
{"shape":"WAFNonEmptyEntityException"},
{"shape":"WAFTagOperationException"},
{"shape":"WAFTagOperationInternalErrorException"}
],
"documentation":"<p>Permanently deletes a <a>WebACL</a>. You can't delete a <code>WebACL</code> if it still contains any <code>Rules</code>.</p> <p>To delete a <code>WebACL</code>, perform the following steps:</p> <ol> <li> <p>Update the <code>WebACL</code> to remove <code>Rules</code>, if any. For more information, see <a>UpdateWebACL</a>.</p> </li> <li> <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a <code>DeleteWebACL</code> request.</p> </li> <li> <p>Submit a <code>DeleteWebACL</code> request.</p> </li> </ol>"
},
"DeleteXssMatchSet":{
"name":"DeleteXssMatchSet",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DeleteXssMatchSetRequest"},
"output":{"shape":"DeleteXssMatchSetResponse"},
"errors":[
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidAccountException"},
{"shape":"WAFNonexistentItemException"},
{"shape":"WAFReferencedItemException"},
{"shape":"WAFStaleDataException"},
{"shape":"WAFNonEmptyEntityException"}
],
"documentation":"<p>Permanently deletes an <a>XssMatchSet</a>. You can't delete an <code>XssMatchSet</code> if it's still used in any <code>Rules</code> or if it still contains any <a>XssMatchTuple</a> objects.</p> <p>If you just want to remove an <code>XssMatchSet</code> from a <code>Rule</code>, use <a>UpdateRule</a>.</p> <p>To permanently delete an <code>XssMatchSet</code> from AWS WAF, perform the following steps:</p> <ol> <li> <p>Update the <code>XssMatchSet</code> to remove filters, if any. For more information, see <a>UpdateXssMatchSet</a>.</p> </li> <li> <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a <code>DeleteXssMatchSet</code> request.</p> </li> <li> <p>Submit a <code>DeleteXssMatchSet</code> request.</p> </li> </ol>"
},
"DisassociateWebACL":{
"name":"DisassociateWebACL",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DisassociateWebACLRequest"},
"output":{"shape":"DisassociateWebACLResponse"},
"errors":[
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidAccountException"},
{"shape":"WAFInvalidParameterException"},
{"shape":"WAFNonexistentItemException"}
],
"documentation":"<p>Removes a web ACL from the specified resource, either an application load balancer or Amazon API Gateway stage.</p>"
},
"GetByteMatchSet":{
"name":"GetByteMatchSet",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"GetByteMatchSetRequest"},
"output":{"shape":"GetByteMatchSetResponse"},
"errors":[
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidAccountException"},
{"shape":"WAFNonexistentItemException"}
],
"documentation":"<p>Returns the <a>ByteMatchSet</a> specified by <code>ByteMatchSetId</code>.</p>"
},
"GetChangeToken":{
"name":"GetChangeToken",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"GetChangeTokenRequest"},
"output":{"shape":"GetChangeTokenResponse"},
"errors":[
{"shape":"WAFInternalErrorException"}
],
"documentation":"<p>When you want to create, update, or delete AWS WAF objects, get a change token and include the change token in the create, update, or delete request. Change tokens ensure that your application doesn't submit conflicting requests to AWS WAF.</p> <p>Each create, update, or delete request must use a unique change token. If your application submits a <code>GetChangeToken</code> request and then submits a second <code>GetChangeToken</code> request before submitting a create, update, or delete request, the second <code>GetChangeToken</code> request returns the same value as the first <code>GetChangeToken</code> request.</p> <p>When you use a change token in a create, update, or delete request, the status of the change token changes to <code>PENDING</code>, which indicates that AWS WAF is propagating the change to all AWS WAF servers. Use <code>GetChangeTokenStatus</code> to determine the status of your change token.</p>"
},
"GetChangeTokenStatus":{
"name":"GetChangeTokenStatus",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"GetChangeTokenStatusRequest"},
"output":{"shape":"GetChangeTokenStatusResponse"},
"errors":[
{"shape":"WAFNonexistentItemException"},
{"shape":"WAFInternalErrorException"}
],
"documentation":"<p>Returns the status of a <code>ChangeToken</code> that you got by calling <a>GetChangeToken</a>. <code>ChangeTokenStatus</code> is one of the following values:</p> <ul> <li> <p> <code>PROVISIONED</code>: You requested the change token by calling <code>GetChangeToken</code>, but you haven't used it yet in a call to create, update, or delete an AWS WAF object.</p> </li> <li> <p> <code>PENDING</code>: AWS WAF is propagating the create, update, or delete request to all AWS WAF servers.</p> </li> <li> <p> <code>INSYNC</code>: Propagation is complete.</p> </li> </ul>"
},
"GetGeoMatchSet":{
"name":"GetGeoMatchSet",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"GetGeoMatchSetRequest"},
"output":{"shape":"GetGeoMatchSetResponse"},
"errors":[
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidAccountException"},
{"shape":"WAFNonexistentItemException"}
],
"documentation":"<p>Returns the <a>GeoMatchSet</a> that is specified by <code>GeoMatchSetId</code>.</p>"
},
"GetIPSet":{
"name":"GetIPSet",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"GetIPSetRequest"},
"output":{"shape":"GetIPSetResponse"},
"errors":[
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidAccountException"},
{"shape":"WAFNonexistentItemException"}
],
"documentation":"<p>Returns the <a>IPSet</a> that is specified by <code>IPSetId</code>.</p>"
},
"GetLoggingConfiguration":{
"name":"GetLoggingConfiguration",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"GetLoggingConfigurationRequest"},
"output":{"shape":"GetLoggingConfigurationResponse"},
"errors":[
{"shape":"WAFInternalErrorException"},
{"shape":"WAFNonexistentItemException"}
],
"documentation":"<p>Returns the <a>LoggingConfiguration</a> for the specified web ACL.</p>"
},
"GetPermissionPolicy":{
"name":"GetPermissionPolicy",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"GetPermissionPolicyRequest"},
"output":{"shape":"GetPermissionPolicyResponse"},
"errors":[
{"shape":"WAFInternalErrorException"},
{"shape":"WAFNonexistentItemException"}
],
"documentation":"<p>Returns the IAM policy attached to the RuleGroup.</p>"
},
"GetRateBasedRule":{
"name":"GetRateBasedRule",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"GetRateBasedRuleRequest"},
"output":{"shape":"GetRateBasedRuleResponse"},
"errors":[
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidAccountException"},
{"shape":"WAFNonexistentItemException"}
],
"documentation":"<p>Returns the <a>RateBasedRule</a> that is specified by the <code>RuleId</code> that you included in the <code>GetRateBasedRule</code> request.</p>"
},
"GetRateBasedRuleManagedKeys":{
"name":"GetRateBasedRuleManagedKeys",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"GetRateBasedRuleManagedKeysRequest"},
"output":{"shape":"GetRateBasedRuleManagedKeysResponse"},
"errors":[
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidAccountException"},
{"shape":"WAFNonexistentItemException"},
{"shape":"WAFInvalidParameterException"}
],
"documentation":"<p>Returns an array of IP addresses currently being blocked by the <a>RateBasedRule</a> that is specified by the <code>RuleId</code>. The maximum number of managed keys that will be blocked is 10,000. If more than 10,000 addresses exceed the rate limit, the 10,000 addresses with the highest rates will be blocked.</p>"
},
"GetRegexMatchSet":{
"name":"GetRegexMatchSet",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"GetRegexMatchSetRequest"},
"output":{"shape":"GetRegexMatchSetResponse"},
"errors":[
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidAccountException"},
{"shape":"WAFNonexistentItemException"}
],
"documentation":"<p>Returns the <a>RegexMatchSet</a> specified by <code>RegexMatchSetId</code>.</p>"
},
"GetRegexPatternSet":{
"name":"GetRegexPatternSet",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"GetRegexPatternSetRequest"},
"output":{"shape":"GetRegexPatternSetResponse"},
"errors":[
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidAccountException"},
{"shape":"WAFNonexistentItemException"}
],
"documentation":"<p>Returns the <a>RegexPatternSet</a> specified by <code>RegexPatternSetId</code>.</p>"
},
"GetRule":{
"name":"GetRule",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"GetRuleRequest"},
"output":{"shape":"GetRuleResponse"},
"errors":[
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidAccountException"},
{"shape":"WAFNonexistentItemException"}
],
"documentation":"<p>Returns the <a>Rule</a> that is specified by the <code>RuleId</code> that you included in the <code>GetRule</code> request.</p>"
},
"GetRuleGroup":{
"name":"GetRuleGroup",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"GetRuleGroupRequest"},
"output":{"shape":"GetRuleGroupResponse"},
"errors":[
{"shape":"WAFInternalErrorException"},
{"shape":"WAFNonexistentItemException"}
],
"documentation":"<p>Returns the <a>RuleGroup</a> that is specified by the <code>RuleGroupId</code> that you included in the <code>GetRuleGroup</code> request.</p> <p>To view the rules in a rule group, use <a>ListActivatedRulesInRuleGroup</a>.</p>"
},
"GetSampledRequests":{
"name":"GetSampledRequests",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"GetSampledRequestsRequest"},
"output":{"shape":"GetSampledRequestsResponse"},
"errors":[
{"shape":"WAFNonexistentItemException"},
{"shape":"WAFInternalErrorException"}
],
"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> <p> <code>GetSampledRequests</code> returns a time range, which is usually the time range that you specified. However, if your resource (such as a CloudFront distribution) received 5,000 requests before the specified time range elapsed, <code>GetSampledRequests</code> returns an updated time range. This new time range indicates the actual period during which AWS WAF selected the requests in the sample.</p>"
},
"GetSizeConstraintSet":{
"name":"GetSizeConstraintSet",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"GetSizeConstraintSetRequest"},
"output":{"shape":"GetSizeConstraintSetResponse"},
"errors":[
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidAccountException"},
{"shape":"WAFNonexistentItemException"}
],
"documentation":"<p>Returns the <a>SizeConstraintSet</a> specified by <code>SizeConstraintSetId</code>.</p>"
},
"GetSqlInjectionMatchSet":{
"name":"GetSqlInjectionMatchSet",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"GetSqlInjectionMatchSetRequest"},
"output":{"shape":"GetSqlInjectionMatchSetResponse"},
"errors":[
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidAccountException"},
{"shape":"WAFNonexistentItemException"}
],
"documentation":"<p>Returns the <a>SqlInjectionMatchSet</a> that is specified by <code>SqlInjectionMatchSetId</code>.</p>"
},
"GetWebACL":{
"name":"GetWebACL",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"GetWebACLRequest"},
"output":{"shape":"GetWebACLResponse"},
"errors":[
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidAccountException"},
{"shape":"WAFNonexistentItemException"}
],
"documentation":"<p>Returns the <a>WebACL</a> that is specified by <code>WebACLId</code>.</p>"
},
"GetWebACLForResource":{
"name":"GetWebACLForResource",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"GetWebACLForResourceRequest"},
"output":{"shape":"GetWebACLForResourceResponse"},
"errors":[
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidAccountException"},
{"shape":"WAFNonexistentItemException"},
{"shape":"WAFInvalidParameterException"},
{"shape":"WAFUnavailableEntityException"}
],
"documentation":"<p>Returns the web ACL for the specified resource, either an application load balancer or Amazon API Gateway stage.</p>"
},
"GetXssMatchSet":{
"name":"GetXssMatchSet",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"GetXssMatchSetRequest"},
"output":{"shape":"GetXssMatchSetResponse"},
"errors":[
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidAccountException"},
{"shape":"WAFNonexistentItemException"}
],
"documentation":"<p>Returns the <a>XssMatchSet</a> that is specified by <code>XssMatchSetId</code>.</p>"
},
"ListActivatedRulesInRuleGroup":{
"name":"ListActivatedRulesInRuleGroup",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"ListActivatedRulesInRuleGroupRequest"},
"output":{"shape":"ListActivatedRulesInRuleGroupResponse"},
"errors":[
{"shape":"WAFInternalErrorException"},
{"shape":"WAFNonexistentItemException"},
{"shape":"WAFInvalidParameterException"}
],
"documentation":"<p>Returns an array of <a>ActivatedRule</a> objects.</p>"
},
"ListByteMatchSets":{
"name":"ListByteMatchSets",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"ListByteMatchSetsRequest"},
"output":{"shape":"ListByteMatchSetsResponse"},
"errors":[
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidAccountException"}
],
"documentation":"<p>Returns an array of <a>ByteMatchSetSummary</a> objects.</p>"
},
"ListGeoMatchSets":{
"name":"ListGeoMatchSets",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"ListGeoMatchSetsRequest"},
"output":{"shape":"ListGeoMatchSetsResponse"},
"errors":[
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidAccountException"}
],
"documentation":"<p>Returns an array of <a>GeoMatchSetSummary</a> objects in the response.</p>"
},
"ListIPSets":{
"name":"ListIPSets",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"ListIPSetsRequest"},
"output":{"shape":"ListIPSetsResponse"},
"errors":[
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidAccountException"}
],
"documentation":"<p>Returns an array of <a>IPSetSummary</a> objects in the response.</p>"
},
"ListLoggingConfigurations":{
"name":"ListLoggingConfigurations",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"ListLoggingConfigurationsRequest"},
"output":{"shape":"ListLoggingConfigurationsResponse"},
"errors":[
{"shape":"WAFInternalErrorException"},
{"shape":"WAFNonexistentItemException"},
{"shape":"WAFInvalidParameterException"}
],
"documentation":"<p>Returns an array of <a>LoggingConfiguration</a> objects.</p>"
},
"ListRateBasedRules":{
"name":"ListRateBasedRules",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"ListRateBasedRulesRequest"},
"output":{"shape":"ListRateBasedRulesResponse"},
"errors":[
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidAccountException"}
],
"documentation":"<p>Returns an array of <a>RuleSummary</a> objects.</p>"
},
"ListRegexMatchSets":{
"name":"ListRegexMatchSets",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"ListRegexMatchSetsRequest"},
"output":{"shape":"ListRegexMatchSetsResponse"},
"errors":[
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidAccountException"}
],
"documentation":"<p>Returns an array of <a>RegexMatchSetSummary</a> objects.</p>"
},
"ListRegexPatternSets":{
"name":"ListRegexPatternSets",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"ListRegexPatternSetsRequest"},
"output":{"shape":"ListRegexPatternSetsResponse"},
"errors":[
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidAccountException"}
],
"documentation":"<p>Returns an array of <a>RegexPatternSetSummary</a> objects.</p>"
},
"ListResourcesForWebACL":{
"name":"ListResourcesForWebACL",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"ListResourcesForWebACLRequest"},
"output":{"shape":"ListResourcesForWebACLResponse"},
"errors":[
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidAccountException"},
{"shape":"WAFNonexistentItemException"},
{"shape":"WAFInvalidParameterException"}
],
"documentation":"<p>Returns an array of resources associated with the specified web ACL.</p>"
},
"ListRuleGroups":{
"name":"ListRuleGroups",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"ListRuleGroupsRequest"},
"output":{"shape":"ListRuleGroupsResponse"},
"errors":[
{"shape":"WAFInternalErrorException"}
],
"documentation":"<p>Returns an array of <a>RuleGroup</a> objects.</p>"
},
"ListRules":{
"name":"ListRules",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"ListRulesRequest"},
"output":{"shape":"ListRulesResponse"},
"errors":[
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidAccountException"}
],
"documentation":"<p>Returns an array of <a>RuleSummary</a> objects.</p>"
},
"ListSizeConstraintSets":{
"name":"ListSizeConstraintSets",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"ListSizeConstraintSetsRequest"},
"output":{"shape":"ListSizeConstraintSetsResponse"},
"errors":[
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidAccountException"}
],
"documentation":"<p>Returns an array of <a>SizeConstraintSetSummary</a> objects.</p>"
},
"ListSqlInjectionMatchSets":{
"name":"ListSqlInjectionMatchSets",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"ListSqlInjectionMatchSetsRequest"},
"output":{"shape":"ListSqlInjectionMatchSetsResponse"},
"errors":[
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidAccountException"}
],
"documentation":"<p>Returns an array of <a>SqlInjectionMatchSet</a> objects.</p>"
},
"ListSubscribedRuleGroups":{
"name":"ListSubscribedRuleGroups",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"ListSubscribedRuleGroupsRequest"},
"output":{"shape":"ListSubscribedRuleGroupsResponse"},
"errors":[
{"shape":"WAFNonexistentItemException"},
{"shape":"WAFInternalErrorException"}
],
"documentation":"<p>Returns an array of <a>RuleGroup</a> objects that you are subscribed to.</p>"
},
"ListTagsForResource":{
"name":"ListTagsForResource",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"ListTagsForResourceRequest"},
"output":{"shape":"ListTagsForResourceResponse"},
"errors":[
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidParameterException"},
{"shape":"WAFNonexistentItemException"},
{"shape":"WAFBadRequestException"},
{"shape":"WAFTagOperationException"},
{"shape":"WAFTagOperationInternalErrorException"}
]
},
"ListWebACLs":{
"name":"ListWebACLs",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"ListWebACLsRequest"},
"output":{"shape":"ListWebACLsResponse"},
"errors":[
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidAccountException"}
],
"documentation":"<p>Returns an array of <a>WebACLSummary</a> objects in the response.</p>"
},
"ListXssMatchSets":{
"name":"ListXssMatchSets",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"ListXssMatchSetsRequest"},
"output":{"shape":"ListXssMatchSetsResponse"},
"errors":[
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidAccountException"}
],
"documentation":"<p>Returns an array of <a>XssMatchSet</a> objects.</p>"
},
"PutLoggingConfiguration":{
"name":"PutLoggingConfiguration",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"PutLoggingConfigurationRequest"},
"output":{"shape":"PutLoggingConfigurationResponse"},
"errors":[
{"shape":"WAFInternalErrorException"},
{"shape":"WAFNonexistentItemException"},
{"shape":"WAFStaleDataException"},
{"shape":"WAFServiceLinkedRoleErrorException"}
],
"documentation":"<p>Associates a <a>LoggingConfiguration</a> with a specified web ACL.</p> <p>You can access information about all traffic that AWS WAF inspects using the following steps:</p> <ol> <li> <p>Create an Amazon Kinesis Data Firehose. </p> <p>Create the data firehose with a PUT source and in the region that you are operating. However, if you are capturing logs for Amazon CloudFront, always create the firehose in US East (N. Virginia). </p> <note> <p>Do not create the data firehose using a <code>Kinesis stream</code> as your source.</p> </note> </li> <li> <p>Associate that firehose to your web ACL using a <code>PutLoggingConfiguration</code> request.</p> </li> </ol> <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>"
},
"PutPermissionPolicy":{
"name":"PutPermissionPolicy",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"PutPermissionPolicyRequest"},
"output":{"shape":"PutPermissionPolicyResponse"},
"errors":[
{"shape":"WAFInternalErrorException"},
{"shape":"WAFStaleDataException"},
{"shape":"WAFNonexistentItemException"},
{"shape":"WAFInvalidPermissionPolicyException"}
],
"documentation":"<p>Attaches a IAM policy to the specified resource. The only supported use for this action is to share a RuleGroup across accounts.</p> <p>The <code>PutPermissionPolicy</code> is subject to the following restrictions:</p> <ul> <li> <p>You can attach only one policy with each <code>PutPermissionPolicy</code> request.</p> </li> <li> <p>The policy must include an <code>Effect</code>, <code>Action</code> and <code>Principal</code>. </p> </li> <li> <p> <code>Effect</code> must specify <code>Allow</code>.</p> </li> <li> <p>The <code>Action</code> in the policy must be <code>waf:UpdateWebACL</code>, <code>waf-regional:UpdateWebACL</code>, <code>waf:GetRuleGroup</code> and <code>waf-regional:GetRuleGroup</code> . Any extra or wildcard actions in the policy will be rejected.</p> </li> <li> <p>The policy cannot include a <code>Resource</code> parameter.</p> </li> <li> <p>The ARN in the request must be a valid WAF RuleGroup ARN and the RuleGroup must exist in the same region.</p> </li> <li> <p>The user making the request must be the owner of the RuleGroup.</p> </li> <li> <p>Your policy must be composed using IAM Policy version 2012-10-17.</p> </li> </ul> <p>For more information, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html\">IAM Policies</a>. </p> <p>An example of a valid policy parameter is shown in the Examples section below.</p>"
},
"TagResource":{
"name":"TagResource",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"TagResourceRequest"},
"output":{"shape":"TagResourceResponse"},
"errors":[
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidParameterException"},
{"shape":"WAFLimitsExceededException"},
{"shape":"WAFNonexistentItemException"},
{"shape":"WAFBadRequestException"},
{"shape":"WAFTagOperationException"},
{"shape":"WAFTagOperationInternalErrorException"}
]
},
"UntagResource":{
"name":"UntagResource",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"UntagResourceRequest"},
"output":{"shape":"UntagResourceResponse"},
"errors":[
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidParameterException"},
{"shape":"WAFNonexistentItemException"},
{"shape":"WAFBadRequestException"},
{"shape":"WAFTagOperationException"},
{"shape":"WAFTagOperationInternalErrorException"}
]
},
"UpdateByteMatchSet":{
"name":"UpdateByteMatchSet",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"UpdateByteMatchSetRequest"},
"output":{"shape":"UpdateByteMatchSetResponse"},
"errors":[
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidAccountException"},
{"shape":"WAFInvalidOperationException"},
{"shape":"WAFInvalidParameterException"},
{"shape":"WAFNonexistentContainerException"},
{"shape":"WAFNonexistentItemException"},
{"shape":"WAFStaleDataException"},
{"shape":"WAFLimitsExceededException"}
],
"documentation":"<p>Inserts or deletes <a>ByteMatchTuple</a> objects (filters) in a <a>ByteMatchSet</a>. For each <code>ByteMatchTuple</code> object, you specify the following values: </p> <ul> <li> <p>Whether to insert or delete the object from the array. If you want to change a <code>ByteMatchSetUpdate</code> object, you delete the existing object and add a new one.</p> </li> <li> <p>The part of a web request that you want AWS WAF to inspect, such as a query string or the value of the <code>User-Agent</code> header. </p> </li> <li> <p>The bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to look for. For more information, including how you specify the values for the AWS WAF API and the AWS CLI or SDKs, see <code>TargetString</code> in the <a>ByteMatchTuple</a> data type. </p> </li> <li> <p>Where to look, such as at the beginning or the end of a query string.</p> </li> <li> <p>Whether to perform any conversions on the request, such as converting it to lowercase, before inspecting it for the specified string.</p> </li> </ul> <p>For example, you can add a <code>ByteMatchSetUpdate</code> object that matches web requests in which <code>User-Agent</code> headers contain the string <code>BadBot</code>. You can then configure AWS WAF to block those requests.</p> <p>To create and configure a <code>ByteMatchSet</code>, perform the following steps:</p> <ol> <li> <p>Create a <code>ByteMatchSet.</code> For more information, see <a>CreateByteMatchSet</a>.</p> </li> <li> <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of an <code>UpdateByteMatchSet</code> request.</p> </li> <li> <p>Submit an <code>UpdateByteMatchSet</code> request to specify the part of the request that you want AWS WAF to inspect (for example, the header or the URI) and the value that you want AWS WAF to watch for.</p> </li> </ol> <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/\">AWS WAF Developer Guide</a>.</p>"
},
"UpdateGeoMatchSet":{
"name":"UpdateGeoMatchSet",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"UpdateGeoMatchSetRequest"},
"output":{"shape":"UpdateGeoMatchSetResponse"},
"errors":[
{"shape":"WAFStaleDataException"},
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidAccountException"},
{"shape":"WAFInvalidOperationException"},
{"shape":"WAFInvalidParameterException"},
{"shape":"WAFNonexistentContainerException"},
{"shape":"WAFNonexistentItemException"},
{"shape":"WAFReferencedItemException"},
{"shape":"WAFLimitsExceededException"}
],
"documentation":"<p>Inserts or deletes <a>GeoMatchConstraint</a> objects in an <code>GeoMatchSet</code>. For each <code>GeoMatchConstraint</code> object, you specify the following values: </p> <ul> <li> <p>Whether to insert or delete the object from the array. If you want to change an <code>GeoMatchConstraint</code> object, you delete the existing object and add a new one.</p> </li> <li> <p>The <code>Type</code>. The only valid value for <code>Type</code> is <code>Country</code>.</p> </li> <li> <p>The <code>Value</code>, which is a two character code for the country to add to the <code>GeoMatchConstraint</code> object. Valid codes are listed in <a>GeoMatchConstraint$Value</a>.</p> </li> </ul> <p>To create and configure an <code>GeoMatchSet</code>, perform the following steps:</p> <ol> <li> <p>Submit a <a>CreateGeoMatchSet</a> request.</p> </li> <li> <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of an <a>UpdateGeoMatchSet</a> request.</p> </li> <li> <p>Submit an <code>UpdateGeoMatchSet</code> request to specify the country that you want AWS WAF to watch for.</p> </li> </ol> <p>When you update an <code>GeoMatchSet</code>, you specify the country that you want to add and/or the country that you want to delete. If you want to change a country, you delete the existing country and add the new one.</p> <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/\">AWS WAF Developer Guide</a>.</p>"
},
"UpdateIPSet":{
"name":"UpdateIPSet",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"UpdateIPSetRequest"},
"output":{"shape":"UpdateIPSetResponse"},
"errors":[
{"shape":"WAFStaleDataException"},
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidAccountException"},
{"shape":"WAFInvalidOperationException"},
{"shape":"WAFInvalidParameterException"},
{"shape":"WAFNonexistentContainerException"},
{"shape":"WAFNonexistentItemException"},
{"shape":"WAFReferencedItemException"},
{"shape":"WAFLimitsExceededException"}
],
"documentation":"<p>Inserts or deletes <a>IPSetDescriptor</a> objects in an <code>IPSet</code>. For each <code>IPSetDescriptor</code> object, you specify the following values: </p> <ul> <li> <p>Whether to insert or delete the object from the array. If you want to change an <code>IPSetDescriptor</code> object, you delete the existing object and add a new one.</p> </li> <li> <p>The IP address version, <code>IPv4</code> or <code>IPv6</code>. </p> </li> <li> <p>The IP address in CIDR notation, for example, <code>192.0.2.0/24</code> (for the range of IP addresses from <code>192.0.2.0</code> to <code>192.0.2.255</code>) or <code>192.0.2.44/32</code> (for the individual IP address <code>192.0.2.44</code>). </p> </li> </ul> <p>AWS WAF supports IPv4 address ranges: /8 and any range between /16 through /32. AWS WAF supports IPv6 address ranges: /24, /32, /48, /56, /64, and /128. For more information about CIDR notation, see the Wikipedia entry <a href=\"https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing\">Classless Inter-Domain Routing</a>.</p> <p>IPv6 addresses can be represented using any of the following formats:</p> <ul> <li> <p>1111:0000:0000:0000:0000:0000:0000:0111/128</p> </li> <li> <p>1111:0:0:0:0:0:0:0111/128</p> </li> <li> <p>1111::0111/128</p> </li> <li> <p>1111::111/128</p> </li> </ul> <p>You use an <code>IPSet</code> to specify which web requests you want to allow or block based on the IP addresses that the requests originated from. For example, if you're receiving a lot of requests from one or a small number of IP addresses and you want to block the requests, you can create an <code>IPSet</code> that specifies those IP addresses, and then configure AWS WAF to block the requests. </p> <p>To create and configure an <code>IPSet</code>, perform the following steps:</p> <ol> <li> <p>Submit a <a>CreateIPSet</a> request.</p> </li> <li> <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of an <a>UpdateIPSet</a> request.</p> </li> <li> <p>Submit an <code>UpdateIPSet</code> request to specify the IP addresses that you want AWS WAF to watch for.</p> </li> </ol> <p>When you update an <code>IPSet</code>, you specify the IP addresses that you want to add and/or the IP addresses that you want to delete. If you want to change an IP address, you delete the existing IP address and add the new one.</p> <p>You can insert a maximum of 1000 addresses in a single request.</p> <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/\">AWS WAF Developer Guide</a>.</p>"
},
"UpdateRateBasedRule":{
"name":"UpdateRateBasedRule",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"UpdateRateBasedRuleRequest"},
"output":{"shape":"UpdateRateBasedRuleResponse"},
"errors":[
{"shape":"WAFStaleDataException"},
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidAccountException"},
{"shape":"WAFInvalidOperationException"},
{"shape":"WAFInvalidParameterException"},
{"shape":"WAFNonexistentContainerException"},
{"shape":"WAFNonexistentItemException"},
{"shape":"WAFReferencedItemException"},
{"shape":"WAFLimitsExceededException"}
],
"documentation":"<p>Inserts or deletes <a>Predicate</a> objects in a rule and updates the <code>RateLimit</code> in the rule. </p> <p>Each <code>Predicate</code> object identifies a predicate, such as a <a>ByteMatchSet</a> or an <a>IPSet</a>, that specifies the web requests that you want to block or count. The <code>RateLimit</code> specifies the number of requests every five minutes that triggers the rule.</p> <p>If you add more than one predicate to a <code>RateBasedRule</code>, a request must match all the predicates and exceed the <code>RateLimit</code> to be counted or blocked. For example, suppose you add the following to a <code>RateBasedRule</code>:</p> <ul> <li> <p>An <code>IPSet</code> that matches the IP address <code>192.0.2.44/32</code> </p> </li> <li> <p>A <code>ByteMatchSet</code> that matches <code>BadBot</code> in the <code>User-Agent</code> header</p> </li> </ul> <p>Further, you specify a <code>RateLimit</code> of 15,000.</p> <p>You then add the <code>RateBasedRule</code> to a <code>WebACL</code> and specify that you want to block requests that satisfy the rule. For a request to be blocked, it must come from the IP address 192.0.2.44 <i>and</i> the <code>User-Agent</code> header in the request must contain the value <code>BadBot</code>. Further, requests that match these two conditions much be received at a rate of more than 15,000 every five minutes. If the rate drops below this limit, AWS WAF no longer blocks the requests.</p> <p>As a second example, suppose you want to limit requests to a particular page on your site. To do this, you could add the following to a <code>RateBasedRule</code>:</p> <ul> <li> <p>A <code>ByteMatchSet</code> with <code>FieldToMatch</code> of <code>URI</code> </p> </li> <li> <p>A <code>PositionalConstraint</code> of <code>STARTS_WITH</code> </p> </li> <li> <p>A <code>TargetString</code> of <code>login</code> </p> </li> </ul> <p>Further, you specify a <code>RateLimit</code> of 15,000.</p> <p>By adding this <code>RateBasedRule</code> to a <code>WebACL</code>, you could limit requests to your login page without affecting the rest of your site.</p>"
},
"UpdateRegexMatchSet":{
"name":"UpdateRegexMatchSet",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"UpdateRegexMatchSetRequest"},
"output":{"shape":"UpdateRegexMatchSetResponse"},
"errors":[
{"shape":"WAFStaleDataException"},
{"shape":"WAFInternalErrorException"},
{"shape":"WAFDisallowedNameException"},
{"shape":"WAFLimitsExceededException"},
{"shape":"WAFNonexistentItemException"},
{"shape":"WAFNonexistentContainerException"},
{"shape":"WAFInvalidOperationException"},
{"shape":"WAFInvalidAccountException"}
],
"documentation":"<p>Inserts or deletes <a>RegexMatchTuple</a> objects (filters) in a <a>RegexMatchSet</a>. For each <code>RegexMatchSetUpdate</code> object, you specify the following values: </p> <ul> <li> <p>Whether to insert or delete the object from the array. If you want to change a <code>RegexMatchSetUpdate</code> object, you delete the existing object and add a new one.</p> </li> <li> <p>The part of a web request that you want AWS WAF to inspectupdate, such as a query string or the value of the <code>User-Agent</code> header. </p> </li> <li> <p>The identifier of the pattern (a regular expression) that you want AWS WAF to look for. For more information, see <a>RegexPatternSet</a>. </p> </li> <li> <p>Whether to perform any conversions on the request, such as converting it to lowercase, before inspecting it for the specified string.</p> </li> </ul> <p> For example, you can create a <code>RegexPatternSet</code> that matches any requests with <code>User-Agent</code> headers that contain the string <code>B[a@]dB[o0]t</code>. You can then configure AWS WAF to reject those requests.</p> <p>To create and configure a <code>RegexMatchSet</code>, perform the following steps:</p> <ol> <li> <p>Create a <code>RegexMatchSet.</code> For more information, see <a>CreateRegexMatchSet</a>.</p> </li> <li> <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of an <code>UpdateRegexMatchSet</code> request.</p> </li> <li> <p>Submit an <code>UpdateRegexMatchSet</code> request to specify the part of the request that you want AWS WAF to inspect (for example, the header or the URI) and the identifier of the <code>RegexPatternSet</code> that contain the regular expression patters you want AWS WAF to watch for.</p> </li> </ol> <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/\">AWS WAF Developer Guide</a>.</p>"
},
"UpdateRegexPatternSet":{
"name":"UpdateRegexPatternSet",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"UpdateRegexPatternSetRequest"},
"output":{"shape":"UpdateRegexPatternSetResponse"},
"errors":[
{"shape":"WAFStaleDataException"},
{"shape":"WAFInternalErrorException"},
{"shape":"WAFLimitsExceededException"},
{"shape":"WAFNonexistentItemException"},
{"shape":"WAFNonexistentContainerException"},
{"shape":"WAFInvalidOperationException"},
{"shape":"WAFInvalidAccountException"},
{"shape":"WAFInvalidRegexPatternException"}
],
"documentation":"<p>Inserts or deletes <code>RegexPatternString</code> objects in a <a>RegexPatternSet</a>. For each <code>RegexPatternString</code> object, you specify the following values: </p> <ul> <li> <p>Whether to insert or delete the <code>RegexPatternString</code>.</p> </li> <li> <p>The regular expression pattern that you want to insert or delete. For more information, see <a>RegexPatternSet</a>. </p> </li> </ul> <p> For example, you can create a <code>RegexPatternString</code> such as <code>B[a@]dB[o0]t</code>. AWS WAF will match this <code>RegexPatternString</code> to:</p> <ul> <li> <p>BadBot</p> </li> <li> <p>BadB0t</p> </li> <li> <p>B@dBot</p> </li> <li> <p>B@dB0t</p> </li> </ul> <p>To create and configure a <code>RegexPatternSet</code>, perform the following steps:</p> <ol> <li> <p>Create a <code>RegexPatternSet.</code> For more information, see <a>CreateRegexPatternSet</a>.</p> </li> <li> <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of an <code>UpdateRegexPatternSet</code> request.</p> </li> <li> <p>Submit an <code>UpdateRegexPatternSet</code> request to specify the regular expression pattern that you want AWS WAF to watch for.</p> </li> </ol> <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/\">AWS WAF Developer Guide</a>.</p>"
},
"UpdateRule":{
"name":"UpdateRule",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"UpdateRuleRequest"},
"output":{"shape":"UpdateRuleResponse"},
"errors":[
{"shape":"WAFStaleDataException"},
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidAccountException"},
{"shape":"WAFInvalidOperationException"},
{"shape":"WAFInvalidParameterException"},
{"shape":"WAFNonexistentContainerException"},
{"shape":"WAFNonexistentItemException"},
{"shape":"WAFReferencedItemException"},
{"shape":"WAFLimitsExceededException"}
],
"documentation":"<p>Inserts or deletes <a>Predicate</a> objects in a <code>Rule</code>. Each <code>Predicate</code> object identifies a predicate, such as a <a>ByteMatchSet</a> or an <a>IPSet</a>, that specifies the web requests that you want to allow, block, or count. If you add more than one predicate to a <code>Rule</code>, a request must match all of the specifications to be allowed, blocked, or counted. For example, suppose that you add the following to a <code>Rule</code>: </p> <ul> <li> <p>A <code>ByteMatchSet</code> that matches the value <code>BadBot</code> in the <code>User-Agent</code> header</p> </li> <li> <p>An <code>IPSet</code> that matches the IP address <code>192.0.2.44</code> </p> </li> </ul> <p>You then add the <code>Rule</code> to a <code>WebACL</code> and specify that you want to block requests that satisfy the <code>Rule</code>. For a request to be blocked, the <code>User-Agent</code> header in the request must contain the value <code>BadBot</code> <i>and</i> the request must originate from the IP address 192.0.2.44.</p> <p>To create and configure a <code>Rule</code>, perform the following steps:</p> <ol> <li> <p>Create and update the predicates that you want to include in the <code>Rule</code>.</p> </li> <li> <p>Create the <code>Rule</code>. See <a>CreateRule</a>.</p> </li> <li> <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an <a>UpdateRule</a> request.</p> </li> <li> <p>Submit an <code>UpdateRule</code> request to add predicates to the <code>Rule</code>.</p> </li> <li> <p>Create and update a <code>WebACL</code> that contains the <code>Rule</code>. See <a>CreateWebACL</a>.</p> </li> </ol> <p>If you want to replace one <code>ByteMatchSet</code> or <code>IPSet</code> with another, you delete the existing one and add the new one.</p> <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/\">AWS WAF Developer Guide</a>.</p>"
},
"UpdateRuleGroup":{
"name":"UpdateRuleGroup",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"UpdateRuleGroupRequest"},
"output":{"shape":"UpdateRuleGroupResponse"},
"errors":[
{"shape":"WAFStaleDataException"},
{"shape":"WAFInternalErrorException"},
{"shape":"WAFNonexistentContainerException"},
{"shape":"WAFNonexistentItemException"},
{"shape":"WAFInvalidOperationException"},
{"shape":"WAFLimitsExceededException"},
{"shape":"WAFInvalidParameterException"}
],
"documentation":"<p>Inserts or deletes <a>ActivatedRule</a> objects in a <code>RuleGroup</code>.</p> <p>You can only insert <code>REGULAR</code> rules into a rule group.</p> <p>You can have a maximum of ten rules per rule group.</p> <p>To create and configure a <code>RuleGroup</code>, perform the following steps:</p> <ol> <li> <p>Create and update the <code>Rules</code> that you want to include in the <code>RuleGroup</code>. See <a>CreateRule</a>.</p> </li> <li> <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an <a>UpdateRuleGroup</a> request.</p> </li> <li> <p>Submit an <code>UpdateRuleGroup</code> request to add <code>Rules</code> to the <code>RuleGroup</code>.</p> </li> <li> <p>Create and update a <code>WebACL</code> that contains the <code>RuleGroup</code>. See <a>CreateWebACL</a>.</p> </li> </ol> <p>If you want to replace one <code>Rule</code> with another, you delete the existing one and add the new one.</p> <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/\">AWS WAF Developer Guide</a>.</p>"
},
"UpdateSizeConstraintSet":{
"name":"UpdateSizeConstraintSet",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"UpdateSizeConstraintSetRequest"},
"output":{"shape":"UpdateSizeConstraintSetResponse"},
"errors":[
{"shape":"WAFStaleDataException"},
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidAccountException"},
{"shape":"WAFInvalidOperationException"},
{"shape":"WAFInvalidParameterException"},
{"shape":"WAFNonexistentContainerException"},
{"shape":"WAFNonexistentItemException"},
{"shape":"WAFReferencedItemException"},
{"shape":"WAFLimitsExceededException"}
],
"documentation":"<p>Inserts or deletes <a>SizeConstraint</a> objects (filters) in a <a>SizeConstraintSet</a>. For each <code>SizeConstraint</code> object, you specify the following values: </p> <ul> <li> <p>Whether to insert or delete the object from the array. If you want to change a <code>SizeConstraintSetUpdate</code> object, you delete the existing object and add a new one.</p> </li> <li> <p>The part of a web request that you want AWS WAF to evaluate, such as the length of a query string or the length of the <code>User-Agent</code> header.</p> </li> <li> <p>Whether to perform any transformations on the request, such as converting it to lowercase, before checking its length. Note that transformations of the request body are not supported because the AWS resource forwards only the first <code>8192</code> bytes of your request to AWS WAF.</p> <p>You can only specify a single type of TextTransformation.</p> </li> <li> <p>A <code>ComparisonOperator</code> used for evaluating the selected part of the request against the specified <code>Size</code>, such as equals, greater than, less than, and so on.</p> </li> <li> <p>The length, in bytes, that you want AWS WAF to watch for in selected part of the request. The length is computed after applying the transformation.</p> </li> </ul> <p>For example, you can add a <code>SizeConstraintSetUpdate</code> object that matches web requests in which the length of the <code>User-Agent</code> header is greater than 100 bytes. You can then configure AWS WAF to block those requests.</p> <p>To create and configure a <code>SizeConstraintSet</code>, perform the following steps:</p> <ol> <li> <p>Create a <code>SizeConstraintSet.</code> For more information, see <a>CreateSizeConstraintSet</a>.</p> </li> <li> <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of an <code>UpdateSizeConstraintSet</code> request.</p> </li> <li> <p>Submit an <code>UpdateSizeConstraintSet</code> request to specify the part of the request that you want AWS WAF to inspect (for example, the header or the URI) and the value that you want AWS WAF to watch for.</p> </li> </ol> <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/\">AWS WAF Developer Guide</a>.</p>"
},
"UpdateSqlInjectionMatchSet":{
"name":"UpdateSqlInjectionMatchSet",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"UpdateSqlInjectionMatchSetRequest"},
"output":{"shape":"UpdateSqlInjectionMatchSetResponse"},
"errors":[
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidAccountException"},
{"shape":"WAFInvalidOperationException"},
{"shape":"WAFInvalidParameterException"},
{"shape":"WAFNonexistentContainerException"},
{"shape":"WAFNonexistentItemException"},
{"shape":"WAFStaleDataException"},
{"shape":"WAFLimitsExceededException"}
],
"documentation":"<p>Inserts or deletes <a>SqlInjectionMatchTuple</a> objects (filters) in a <a>SqlInjectionMatchSet</a>. For each <code>SqlInjectionMatchTuple</code> object, you specify the following values:</p> <ul> <li> <p> <code>Action</code>: Whether to insert the object into or delete the object from the array. To change a <code>SqlInjectionMatchTuple</code>, you delete the existing object and add a new one.</p> </li> <li> <p> <code>FieldToMatch</code>: The part of web requests that you want AWS WAF to inspect and, if you want AWS WAF to inspect a header or custom query parameter, the name of the header or parameter.</p> </li> <li> <p> <code>TextTransformation</code>: Which text transformation, if any, to perform on the web request before inspecting the request for snippets of malicious SQL code.</p> <p>You can only specify a single type of TextTransformation.</p> </li> </ul> <p>You use <code>SqlInjectionMatchSet</code> objects to specify which CloudFront requests that you want to allow, block, or count. For example, if you're receiving requests that contain snippets of SQL code in the query string and you want to block the requests, you can create a <code>SqlInjectionMatchSet</code> with the applicable settings, and then configure AWS WAF to block the requests. </p> <p>To create and configure a <code>SqlInjectionMatchSet</code>, perform the following steps:</p> <ol> <li> <p>Submit a <a>CreateSqlInjectionMatchSet</a> request.</p> </li> <li> <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of an <a>UpdateIPSet</a> request.</p> </li> <li> <p>Submit an <code>UpdateSqlInjectionMatchSet</code> request to specify the parts of web requests that you want AWS WAF to inspect for snippets of SQL code.</p> </li> </ol> <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/\">AWS WAF Developer Guide</a>.</p>"
},
"UpdateWebACL":{
"name":"UpdateWebACL",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"UpdateWebACLRequest"},
"output":{"shape":"UpdateWebACLResponse"},
"errors":[
{"shape":"WAFStaleDataException"},
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidAccountException"},
{"shape":"WAFInvalidOperationException"},
{"shape":"WAFInvalidParameterException"},
{"shape":"WAFNonexistentContainerException"},
{"shape":"WAFNonexistentItemException"},
{"shape":"WAFReferencedItemException"},
{"shape":"WAFLimitsExceededException"},
{"shape":"WAFSubscriptionNotFoundException"}
],
"documentation":"<p>Inserts or deletes <a>ActivatedRule</a> objects in a <code>WebACL</code>. Each <code>Rule</code> identifies web requests that you want to allow, block, or count. When you update a <code>WebACL</code>, you specify the following values:</p> <ul> <li> <p>A default action for the <code>WebACL</code>, either <code>ALLOW</code> or <code>BLOCK</code>. AWS WAF performs the default action if a request doesn't match the criteria in any of the <code>Rules</code> in a <code>WebACL</code>.</p> </li> <li> <p>The <code>Rules</code> that you want to add or delete. If you want to replace one <code>Rule</code> with another, you delete the existing <code>Rule</code> and add the new one.</p> </li> <li> <p>For each <code>Rule</code>, whether you want AWS WAF to allow requests, block requests, or count requests that match the conditions in the <code>Rule</code>.</p> </li> <li> <p>The order in which you want AWS WAF to evaluate the <code>Rules</code> in a <code>WebACL</code>. If you add more than one <code>Rule</code> to a <code>WebACL</code>, AWS WAF evaluates each request against the <code>Rules</code> in order based on the value of <code>Priority</code>. (The <code>Rule</code> that has the lowest value for <code>Priority</code> is evaluated first.) When a web request matches all the predicates (such as <code>ByteMatchSets</code> and <code>IPSets</code>) in a <code>Rule</code>, AWS WAF immediately takes the corresponding action, allow or block, and doesn't evaluate the request against the remaining <code>Rules</code> in the <code>WebACL</code>, if any. </p> </li> </ul> <p>To create and configure a <code>WebACL</code>, perform the following steps:</p> <ol> <li> <p>Create and update the predicates that you want to include in <code>Rules</code>. For more information, see <a>CreateByteMatchSet</a>, <a>UpdateByteMatchSet</a>, <a>CreateIPSet</a>, <a>UpdateIPSet</a>, <a>CreateSqlInjectionMatchSet</a>, and <a>UpdateSqlInjectionMatchSet</a>.</p> </li> <li> <p>Create and update the <code>Rules</code> that you want to include in the <code>WebACL</code>. For more information, see <a>CreateRule</a> and <a>UpdateRule</a>.</p> </li> <li> <p>Create a <code>WebACL</code>. See <a>CreateWebACL</a>.</p> </li> <li> <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an <a>UpdateWebACL</a> request.</p> </li> <li> <p>Submit an <code>UpdateWebACL</code> request to specify the <code>Rules</code> that you want to include in the <code>WebACL</code>, to specify the default action, and to associate the <code>WebACL</code> with a CloudFront distribution. </p> <p>The <code>ActivatedRule</code> can be a rule group. If you specify a rule group as your <code>ActivatedRule</code>, you can exclude specific rules from that rule group.</p> <p>If you already have a rule group associated with a web ACL and want to submit an <code>UpdateWebACL</code> request to exclude certain rules from that rule group, you must first remove the rule group from the web ACL, the re-insert it again, specifying the excluded rules. For details, see <a>ActivatedRule$ExcludedRules</a>. </p> </li> </ol> <p>Be aware that if you try to add a RATE_BASED rule to a web ACL without setting the rule type when first creating the rule, the <a>UpdateWebACL</a> request will fail because the request tries to add a REGULAR rule (the default rule type) with the specified ID, which does not exist. </p> <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/\">AWS WAF Developer Guide</a>.</p>"
},
"UpdateXssMatchSet":{
"name":"UpdateXssMatchSet",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"UpdateXssMatchSetRequest"},
"output":{"shape":"UpdateXssMatchSetResponse"},
"errors":[
{"shape":"WAFInternalErrorException"},
{"shape":"WAFInvalidAccountException"},
{"shape":"WAFInvalidOperationException"},
{"shape":"WAFInvalidParameterException"},
{"shape":"WAFNonexistentContainerException"},
{"shape":"WAFNonexistentItemException"},
{"shape":"WAFStaleDataException"},
{"shape":"WAFLimitsExceededException"}
],
"documentation":"<p>Inserts or deletes <a>XssMatchTuple</a> objects (filters) in an <a>XssMatchSet</a>. For each <code>XssMatchTuple</code> object, you specify the following values:</p> <ul> <li> <p> <code>Action</code>: Whether to insert the object into or delete the object from the array. To change an <code>XssMatchTuple</code>, you delete the existing object and add a new one.</p> </li> <li> <p> <code>FieldToMatch</code>: The part of web requests that you want AWS WAF to inspect and, if you want AWS WAF to inspect a header or custom query parameter, the name of the header or parameter.</p> </li> <li> <p> <code>TextTransformation</code>: Which text transformation, if any, to perform on the web request before inspecting the request for cross-site scripting attacks.</p> <p>You can only specify a single type of TextTransformation.</p> </li> </ul> <p>You use <code>XssMatchSet</code> objects to specify which CloudFront requests that you want to allow, block, or count. For example, if you're receiving requests that contain cross-site scripting attacks in the request body and you want to block the requests, you can create an <code>XssMatchSet</code> with the applicable settings, and then configure AWS WAF to block the requests. </p> <p>To create and configure an <code>XssMatchSet</code>, perform the following steps:</p> <ol> <li> <p>Submit a <a>CreateXssMatchSet</a> request.</p> </li> <li> <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of an <a>UpdateIPSet</a> request.</p> </li> <li> <p>Submit an <code>UpdateXssMatchSet</code> request to specify the parts of web requests that you want AWS WAF to inspect for cross-site scripting attacks.</p> </li> </ol> <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/\">AWS WAF Developer Guide</a>.</p>"
}
},
"shapes":{
"Action":{"type":"string"},
"ActivatedRule":{
"type":"structure",
"required":[
"Priority",
"RuleId"
],
"members":{
"Priority":{
"shape":"RulePriority",
"documentation":"<p>Specifies the order in which the <code>Rules</code> in a <code>WebACL</code> are evaluated. Rules with a lower value for <code>Priority</code> are evaluated before <code>Rules</code> with a higher value. The value must be a unique integer. If you add multiple <code>Rules</code> to a <code>WebACL</code>, the values don't need to be consecutive.</p>"
},
"RuleId":{
"shape":"ResourceId",
"documentation":"<p>The <code>RuleId</code> for a <code>Rule</code>. You use <code>RuleId</code> to get more information about a <code>Rule</code> (see <a>GetRule</a>), update a <code>Rule</code> (see <a>UpdateRule</a>), insert a <code>Rule</code> into a <code>WebACL</code> or delete a one from a <code>WebACL</code> (see <a>UpdateWebACL</a>), or delete a <code>Rule</code> from AWS WAF (see <a>DeleteRule</a>).</p> <p> <code>RuleId</code> is returned by <a>CreateRule</a> and by <a>ListRules</a>.</p>"
},
"Action":{
"shape":"WafAction",
"documentation":"<p>Specifies the action that CloudFront or AWS WAF takes when a web request matches the conditions in the <code>Rule</code>. Valid values for <code>Action</code> include the following:</p> <ul> <li> <p> <code>ALLOW</code>: CloudFront responds with the requested object.</p> </li> <li> <p> <code>BLOCK</code>: CloudFront responds with an HTTP 403 (Forbidden) status code.</p> </li> <li> <p> <code>COUNT</code>: AWS WAF increments a counter of requests that match the conditions in the rule and then continues to inspect the web request based on the remaining rules in the web ACL. </p> </li> </ul> <p> <code>ActivatedRule|OverrideAction</code> applies only when updating or adding a <code>RuleGroup</code> to a <code>WebACL</code>. In this case, you do not use <code>ActivatedRule|Action</code>. For all other update requests, <code>ActivatedRule|Action</code> is used instead of <code>ActivatedRule|OverrideAction</code>.</p>"
},
"OverrideAction":{
"shape":"WafOverrideAction",
"documentation":"<p>Use the <code>OverrideAction</code> to test your <code>RuleGroup</code>.</p> <p>Any rule in a <code>RuleGroup</code> can potentially block a request. If you set the <code>OverrideAction</code> to <code>None</code>, the <code>RuleGroup</code> will block a request if any individual rule in the <code>RuleGroup</code> matches the request and is configured to block that request. However if you first want to test the <code>RuleGroup</code>, set the <code>OverrideAction</code> to <code>Count</code>. The <code>RuleGroup</code> will then override any block action specified by individual rules contained within the group. Instead of blocking matching requests, those requests will be counted. You can view a record of counted requests using <a>GetSampledRequests</a>. </p> <p> <code>ActivatedRule|OverrideAction</code> applies only when updating or adding a <code>RuleGroup</code> to a <code>WebACL</code>. In this case you do not use <code>ActivatedRule|Action</code>. For all other update requests, <code>ActivatedRule|Action</code> is used instead of <code>ActivatedRule|OverrideAction</code>.</p>"
},
"Type":{
"shape":"WafRuleType",
"documentation":"<p>The rule type, either <code>REGULAR</code>, as defined by <a>Rule</a>, <code>RATE_BASED</code>, as defined by <a>RateBasedRule</a>, or <code>GROUP</code>, as defined by <a>RuleGroup</a>. The default is REGULAR. Although this field is optional, be aware that if you try to add a RATE_BASED rule to a web ACL without setting the type, the <a>UpdateWebACL</a> request will fail because the request tries to add a REGULAR rule with the specified ID, which does not exist. </p>"
},
"ExcludedRules":{
"shape":"ExcludedRules",
"documentation":"<p>An array of rules to exclude from a rule group. This is applicable only when the <code>ActivatedRule</code> refers to a <code>RuleGroup</code>.</p> <p>Sometimes it is necessary to troubleshoot rule groups that are blocking traffic unexpectedly (false positives). One troubleshooting technique is to identify the specific rule within the rule group that is blocking the legitimate traffic and then disable (exclude) that particular rule. You can exclude rules from both your own rule groups and AWS Marketplace rule groups that have been associated with a web ACL.</p> <p>Specifying <code>ExcludedRules</code> does not remove those rules from the rule group. Rather, it changes the action for the rules to <code>COUNT</code>. Therefore, requests that match an <code>ExcludedRule</code> are counted but not blocked. The <code>RuleGroup</code> owner will receive COUNT metrics for each <code>ExcludedRule</code>.</p> <p>If you want to exclude rules from a rule group that is already associated with a web ACL, perform the following steps:</p> <ol> <li> <p>Use the AWS WAF logs to identify the IDs of the rules that you want to exclude. For more information about the logs, see <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/logging.html\">Logging Web ACL Traffic Information</a>.</p> </li> <li> <p>Submit an <a>UpdateWebACL</a> request that has two actions:</p> <ul> <li> <p>The first action deletes the existing rule group from the web ACL. That is, in the <a>UpdateWebACL</a> request, the first <code>Updates:Action</code> should be <code>DELETE</code> and <code>Updates:ActivatedRule:RuleId</code> should be the rule group that contains the rules that you want to exclude.</p> </li> <li> <p>The second action inserts the same rule group back in, but specifying the rules to exclude. That is, the second <code>Updates:Action</code> should be <code>INSERT</code>, <code>Updates:ActivatedRule:RuleId</code> should be the rule group that you just removed, and <code>ExcludedRules</code> should contain the rules that you want to exclude.</p> </li> </ul> </li> </ol>"
}
},
"documentation":"<p>The <code>ActivatedRule</code> object in an <a>UpdateWebACL</a> request specifies a <code>Rule</code> that you want to insert or delete, the priority of the <code>Rule</code> in the <code>WebACL</code>, and the action that you want AWS WAF to take when a web request matches the <code>Rule</code> (<code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>).</p> <p>To specify whether to insert or delete a <code>Rule</code>, use the <code>Action</code> parameter in the <a>WebACLUpdate</a> data type.</p>"
},
"ActivatedRules":{
"type":"list",
"member":{"shape":"ActivatedRule"}
},
"AssociateWebACLRequest":{
"type":"structure",
"required":[
"WebACLId",
"ResourceArn"
],
"members":{
"WebACLId":{
"shape":"ResourceId",
"documentation":"<p>A unique identifier (ID) for the web ACL. </p>"
},
"ResourceArn":{
"shape":"ResourceArn",
"documentation":"<p>The ARN (Amazon Resource Name) of the resource to be protected, either an application load balancer or Amazon API Gateway stage. </p> <p>The ARN should be in one of the following formats:</p> <ul> <li> <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> </code> </p> </li> <li> <p>For an Amazon API Gateway stage: <code>arn:aws:apigateway:<i>region</i>::/restapis/<i>api-id</i>/stages/<i>stage-name</i> </code> </p> </li> </ul>"
}
}
},
"AssociateWebACLResponse":{
"type":"structure",
"members":{
}
},
"ByteMatchSet":{
"type":"structure",
"required":[
"ByteMatchSetId",
"ByteMatchTuples"
],
"members":{
"ByteMatchSetId":{
"shape":"ResourceId",
"documentation":"<p>The <code>ByteMatchSetId</code> for a <code>ByteMatchSet</code>. You use <code>ByteMatchSetId</code> to get information about a <code>ByteMatchSet</code> (see <a>GetByteMatchSet</a>), update a <code>ByteMatchSet</code> (see <a>UpdateByteMatchSet</a>), insert a <code>ByteMatchSet</code> into a <code>Rule</code> or delete one from a <code>Rule</code> (see <a>UpdateRule</a>), and delete a <code>ByteMatchSet</code> from AWS WAF (see <a>DeleteByteMatchSet</a>).</p> <p> <code>ByteMatchSetId</code> is returned by <a>CreateByteMatchSet</a> and by <a>ListByteMatchSets</a>.</p>"
},
"Name":{
"shape":"ResourceName",
"documentation":"<p>A friendly name or description of the <a>ByteMatchSet</a>. You can't change <code>Name</code> after you create a <code>ByteMatchSet</code>.</p>"
},
"ByteMatchTuples":{
"shape":"ByteMatchTuples",
"documentation":"<p>Specifies the bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to search for in web requests, the location in requests that you want AWS WAF to search, and other settings.</p>"
}
},
"documentation":"<p>In a <a>GetByteMatchSet</a> request, <code>ByteMatchSet</code> is a complex type that contains the <code>ByteMatchSetId</code> and <code>Name</code> of a <code>ByteMatchSet</code>, and the values that you specified when you updated the <code>ByteMatchSet</code>. </p> <p>A complex type that contains <code>ByteMatchTuple</code> objects, which specify the parts of web requests that you want AWS WAF to inspect and the values that you want AWS WAF to search for. If a <code>ByteMatchSet</code> contains more than one <code>ByteMatchTuple</code> object, a request needs to match the settings in only one <code>ByteMatchTuple</code> to be considered a match.</p>"
},
"ByteMatchSetSummaries":{
"type":"list",
"member":{"shape":"ByteMatchSetSummary"}
},
"ByteMatchSetSummary":{
"type":"structure",
"required":[
"ByteMatchSetId",
"Name"
],
"members":{
"ByteMatchSetId":{
"shape":"ResourceId",
"documentation":"<p>The <code>ByteMatchSetId</code> for a <code>ByteMatchSet</code>. You use <code>ByteMatchSetId</code> to get information about a <code>ByteMatchSet</code>, update a <code>ByteMatchSet</code>, remove a <code>ByteMatchSet</code> from a <code>Rule</code>, and delete a <code>ByteMatchSet</code> from AWS WAF.</p> <p> <code>ByteMatchSetId</code> is returned by <a>CreateByteMatchSet</a> and by <a>ListByteMatchSets</a>.</p>"
},
"Name":{
"shape":"ResourceName",
"documentation":"<p>A friendly name or description of the <a>ByteMatchSet</a>. You can't change <code>Name</code> after you create a <code>ByteMatchSet</code>.</p>"
}
},
"documentation":"<p>Returned by <a>ListByteMatchSets</a>. Each <code>ByteMatchSetSummary</code> object includes the <code>Name</code> and <code>ByteMatchSetId</code> for one <a>ByteMatchSet</a>.</p>"
},
"ByteMatchSetUpdate":{
"type":"structure",
"required":[
"Action",
"ByteMatchTuple"
],
"members":{
"Action":{
"shape":"ChangeAction",
"documentation":"<p>Specifies whether to insert or delete a <a>ByteMatchTuple</a>.</p>"
},
"ByteMatchTuple":{
"shape":"ByteMatchTuple",
"documentation":"<p>Information about the part of a web request that you want AWS WAF to inspect and the value that you want AWS WAF to search for. If you specify <code>DELETE</code> for the value of <code>Action</code>, the <code>ByteMatchTuple</code> values must exactly match the values in the <code>ByteMatchTuple</code> that you want to delete from the <code>ByteMatchSet</code>.</p>"
}
},
"documentation":"<p>In an <a>UpdateByteMatchSet</a> request, <code>ByteMatchSetUpdate</code> specifies whether to insert or delete a <a>ByteMatchTuple</a> and includes the settings for the <code>ByteMatchTuple</code>.</p>"
},
"ByteMatchSetUpdates":{
"type":"list",
"member":{"shape":"ByteMatchSetUpdate"},
"min":1
},
"ByteMatchTargetString":{"type":"blob"},
"ByteMatchTuple":{
"type":"structure",
"required":[
"FieldToMatch",
"TargetString",
"TextTransformation",
"PositionalConstraint"
],
"members":{
"FieldToMatch":{
"shape":"FieldToMatch",
"documentation":"<p>The part of a web request that you want AWS WAF to search, such as a specified header or a query string. For more information, see <a>FieldToMatch</a>.</p>"
},
"TargetString":{
"shape":"ByteMatchTargetString",
"documentation":"<p>The value that you want AWS WAF to search for. AWS WAF searches for the specified string in the part of web requests that you specified in <code>FieldToMatch</code>. The maximum length of the value is 50 bytes.</p> <p>Valid values depend on the values that you specified for <code>FieldToMatch</code>:</p> <ul> <li> <p> <code>HEADER</code>: The value that you want AWS WAF to search for in the request header that you specified in <a>FieldToMatch</a>, for example, the value of the <code>User-Agent</code> or <code>Referer</code> header.</p> </li> <li> <p> <code>METHOD</code>: The HTTP method, which indicates the type of operation specified in the request. CloudFront supports the following methods: <code>DELETE</code>, <code>GET</code>, <code>HEAD</code>, <code>OPTIONS</code>, <code>PATCH</code>, <code>POST</code>, and <code>PUT</code>.</p> </li> <li> <p> <code>QUERY_STRING</code>: The value that you want AWS WAF to search for in the query string, which is the part of a URL that appears after a <code>?</code> character.</p> </li> <li> <p> <code>URI</code>: The value that you want AWS WAF to search for in the part of a URL that identifies a resource, for example, <code>/images/daily-ad.jpg</code>.</p> </li> <li> <p> <code>BODY</code>: The part of a request that contains any additional data that you want to send to your web server as the HTTP request body, such as data from a form. The request body immediately follows the request headers. Note that only the first <code>8192</code> bytes of the request body are forwarded to AWS WAF for inspection. To allow or block requests based on the length of the body, you can create a size constraint set. For more information, see <a>CreateSizeConstraintSet</a>. </p> </li> <li> <p> <code>SINGLE_QUERY_ARG</code>: The parameter in the query string that you will inspect, such as <i>UserName</i> or <i>SalesRegion</i>. The maximum length for <code>SINGLE_QUERY_ARG</code> is 30 characters.</p> </li> <li> <p> <code>ALL_QUERY_ARGS</code>: Similar to <code>SINGLE_QUERY_ARG</code>, but instead of inspecting a single parameter, AWS WAF inspects all parameters within the query string for the value or regex pattern that you specify in <code>TargetString</code>.</p> </li> </ul> <p>If <code>TargetString</code> includes alphabetic characters A-Z and a-z, note that the value is case sensitive.</p> <p> <b>If you're using the AWS WAF API</b> </p> <p>Specify a base64-encoded version of the value. The maximum length of the value before you base64-encode it is 50 bytes.</p> <p>For example, suppose the value of <code>Type</code> is <code>HEADER</code> and the value of <code>Data</code> is <code>User-Agent</code>. If you want to search the <code>User-Agent</code> header for the value <code>BadBot</code>, you base64-encode <code>BadBot</code> using MIME base64-encoding and include the resulting value, <code>QmFkQm90</code>, in the value of <code>TargetString</code>.</p> <p> <b>If you're using the AWS CLI or one of the AWS SDKs</b> </p> <p>The value that you want AWS WAF to search for. The SDK automatically base64 encodes the value.</p>"
},
"TextTransformation":{
"shape":"TextTransformation",
"documentation":"<p>Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass AWS WAF. If you specify a transformation, AWS WAF performs the transformation on <code>TargetString</code> before inspecting a request for a match.</p> <p>You can only specify a single type of TextTransformation.</p> <p> <b>CMD_LINE</b> </p> <p>When you're concerned that attackers are injecting an operating system command line command and using unusual formatting to disguise some or all of the command, use this option to perform the following transformations:</p> <ul> <li> <p>Delete the following characters: \\ \" ' ^</p> </li> <li> <p>Delete spaces before the following characters: / (</p> </li> <li> <p>Replace the following characters with a space: , ;</p> </li> <li> <p>Replace multiple spaces with one space</p> </li> <li> <p>Convert uppercase letters (A-Z) to lowercase (a-z)</p> </li> </ul> <p> <b>COMPRESS_WHITE_SPACE</b> </p> <p>Use this option to replace the following characters with a space character (decimal 32):</p> <ul> <li> <p>\\f, formfeed, decimal 12</p> </li> <li> <p>\\t, tab, decimal 9</p> </li> <li> <p>\\n, newline, decimal 10</p> </li> <li> <p>\\r, carriage return, decimal 13</p> </li> <li> <p>\\v, vertical tab, decimal 11</p> </li> <li> <p>non-breaking space, decimal 160</p> </li> </ul> <p> <code>COMPRESS_WHITE_SPACE</code> also replaces multiple spaces with one space.</p> <p> <b>HTML_ENTITY_DECODE</b> </p> <p>Use this option to replace HTML-encoded characters with unencoded characters. <code>HTML_ENTITY_DECODE</code> performs the following operations:</p> <ul> <li> <p>Replaces <code>(ampersand)quot;</code> with <code>\"</code> </p> </li> <li> <p>Replaces <code>(ampersand)nbsp;</code> with a non-breaking space, decimal 160</p> </li> <li> <p>Replaces <code>(ampersand)lt;</code> with a \"less than\" symbol</p> </li> <li> <p>Replaces <code>(ampersand)gt;</code> with <code>&gt;</code> </p> </li> <li> <p>Replaces characters that are represented in hexadecimal format, <code>(ampersand)#xhhhh;</code>, with the corresponding characters</p> </li> <li> <p>Replaces characters that are represented in decimal format, <code>(ampersand)#nnnn;</code>, with the corresponding characters</p> </li> </ul> <p> <b>LOWERCASE</b> </p> <p>Use this option to convert uppercase letters (A-Z) to lowercase (a-z).</p> <p> <b>URL_DECODE</b> </p> <p>Use this option to decode a URL-encoded value.</p> <p> <b>NONE</b> </p> <p>Specify <code>NONE</code> if you don't want to perform any text transformations.</p>"
},
"PositionalConstraint":{
"shape":"PositionalConstraint",
"documentation":"<p>Within the portion of a web request that you want to search (for example, in the query string, if any), specify where you want AWS WAF to search. Valid values include the following:</p> <p> <b>CONTAINS</b> </p> <p>The specified part of the web request must include the value of <code>TargetString</code>, but the location doesn't matter.</p> <p> <b>CONTAINS_WORD</b> </p> <p>The specified part of the web request must include the value of <code>TargetString</code>, and <code>TargetString</code> must contain only alphanumeric characters or underscore (A-Z, a-z, 0-9, or _). In addition, <code>TargetString</code> must be a word, which means one of the following:</p> <ul> <li> <p> <code>TargetString</code> exactly matches the value of the specified part of the web request, such as the value of a header.</p> </li> <li> <p> <code>TargetString</code> is at the beginning of the specified part of the web request and is followed by a character other than an alphanumeric character or underscore (_), for example, <code>BadBot;</code>.</p> </li> <li> <p> <code>TargetString</code> is at the end of the specified part of the web request and is preceded by a character other than an alphanumeric character or underscore (_), for example, <code>;BadBot</code>.</p> </li> <li> <p> <code>TargetString</code> is in the middle of the specified part of the web request and is preceded and followed by characters other than alphanumeric characters or underscore (_), for example, <code>-BadBot;</code>.</p> </li> </ul> <p> <b>EXACTLY</b> </p> <p>The value of the specified part of the web request must exactly match the value of <code>TargetString</code>.</p> <p> <b>STARTS_WITH</b> </p> <p>The value of <code>TargetString</code> must appear at the beginning of the specified part of the web request.</p> <p> <b>ENDS_WITH</b> </p> <p>The value of <code>TargetString</code> must appear at the end of the specified part of the web request.</p>"
}
},
"documentation":"<p>The bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to search for in web requests, the location in requests that you want AWS WAF to search, and other settings.</p>"
},
"ByteMatchTuples":{
"type":"list",
"member":{"shape":"ByteMatchTuple"}
},
"ChangeAction":{
"type":"string",
"enum":[
"INSERT",
"DELETE"
]
},
"ChangeToken":{
"type":"string",
"min":1
},
"ChangeTokenStatus":{
"type":"string",
"enum":[
"PROVISIONED",
"PENDING",
"INSYNC"
]
},
"ComparisonOperator":{
"type":"string",
"enum":[
"EQ",
"NE",
"LE",
"LT",
"GE",
"GT"
]
},
"Country":{"type":"string"},
"CreateByteMatchSetRequest":{
"type":"structure",
"required":[
"Name",
"ChangeToken"
],
"members":{
"Name":{
"shape":"ResourceName",
"documentation":"<p>A friendly name or description of the <a>ByteMatchSet</a>. You can't change <code>Name</code> after you create a <code>ByteMatchSet</code>.</p>"
},
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>"
}
}
},
"CreateByteMatchSetResponse":{
"type":"structure",
"members":{
"ByteMatchSet":{
"shape":"ByteMatchSet",
"documentation":"<p>A <a>ByteMatchSet</a> that contains no <code>ByteMatchTuple</code> objects.</p>"
},
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The <code>ChangeToken</code> that you used to submit the <code>CreateByteMatchSet</code> request. You can also use this value to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>"
}
}
},
"CreateGeoMatchSetRequest":{
"type":"structure",
"required":[
"Name",
"ChangeToken"
],
"members":{
"Name":{
"shape":"ResourceName",
"documentation":"<p>A friendly name or description of the <a>GeoMatchSet</a>. You can't change <code>Name</code> after you create the <code>GeoMatchSet</code>.</p>"
},
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>"
}
}
},
"CreateGeoMatchSetResponse":{
"type":"structure",
"members":{
"GeoMatchSet":{
"shape":"GeoMatchSet",
"documentation":"<p>The <a>GeoMatchSet</a> returned in the <code>CreateGeoMatchSet</code> response. The <code>GeoMatchSet</code> contains no <code>GeoMatchConstraints</code>.</p>"
},
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The <code>ChangeToken</code> that you used to submit the <code>CreateGeoMatchSet</code> request. You can also use this value to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>"
}
}
},
"CreateIPSetRequest":{
"type":"structure",
"required":[
"Name",
"ChangeToken"
],
"members":{
"Name":{
"shape":"ResourceName",
"documentation":"<p>A friendly name or description of the <a>IPSet</a>. You can't change <code>Name</code> after you create the <code>IPSet</code>.</p>"
},
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>"
}
}
},
"CreateIPSetResponse":{
"type":"structure",
"members":{
"IPSet":{
"shape":"IPSet",
"documentation":"<p>The <a>IPSet</a> returned in the <code>CreateIPSet</code> response.</p>"
},
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The <code>ChangeToken</code> that you used to submit the <code>CreateIPSet</code> request. You can also use this value to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>"
}
}
},
"CreateRateBasedRuleRequest":{
"type":"structure",
"required":[
"Name",
"MetricName",
"RateKey",
"RateLimit",
"ChangeToken"
],
"members":{
"Name":{
"shape":"ResourceName",
"documentation":"<p>A friendly name or description of the <a>RateBasedRule</a>. You can't change the name of a <code>RateBasedRule</code> after you create it.</p>"
},
"MetricName":{
"shape":"MetricName",
"documentation":"<p>A friendly name or description for the metrics for this <code>RateBasedRule</code>. The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain whitespace or metric names reserved for AWS WAF, including \"All\" and \"Default_Action.\" You can't change the name of the metric after you create the <code>RateBasedRule</code>.</p>"
},
"RateKey":{
"shape":"RateKey",
"documentation":"<p>The field that AWS WAF uses to determine if requests are likely arriving from a single source and thus subject to rate monitoring. The only valid value for <code>RateKey</code> is <code>IP</code>. <code>IP</code> indicates that requests that arrive from the same IP address are subject to the <code>RateLimit</code> that is specified in the <code>RateBasedRule</code>.</p>"
},
"RateLimit":{
"shape":"RateLimit",
"documentation":"<p>The maximum number of requests, which have an identical value in the field that is specified by <code>RateKey</code>, allowed in a five-minute period. If the number of requests exceeds the <code>RateLimit</code> and the other predicates specified in the rule are also met, AWS WAF triggers the action that is specified for this rule.</p>"
},
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The <code>ChangeToken</code> that you used to submit the <code>CreateRateBasedRule</code> request. You can also use this value to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>"
},
"Tags":{"shape":"TagList"}
}
},
"CreateRateBasedRuleResponse":{
"type":"structure",
"members":{
"Rule":{
"shape":"RateBasedRule",
"documentation":"<p>The <a>RateBasedRule</a> that is returned in the <code>CreateRateBasedRule</code> response.</p>"
},
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The <code>ChangeToken</code> that you used to submit the <code>CreateRateBasedRule</code> request. You can also use this value to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>"
}
}
},
"CreateRegexMatchSetRequest":{
"type":"structure",
"required":[
"Name",
"ChangeToken"
],
"members":{
"Name":{
"shape":"ResourceName",
"documentation":"<p>A friendly name or description of the <a>RegexMatchSet</a>. You can't change <code>Name</code> after you create a <code>RegexMatchSet</code>.</p>"
},
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>"
}
}
},
"CreateRegexMatchSetResponse":{
"type":"structure",
"members":{
"RegexMatchSet":{
"shape":"RegexMatchSet",
"documentation":"<p>A <a>RegexMatchSet</a> that contains no <code>RegexMatchTuple</code> objects.</p>"
},
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The <code>ChangeToken</code> that you used to submit the <code>CreateRegexMatchSet</code> request. You can also use this value to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>"
}
}
},
"CreateRegexPatternSetRequest":{
"type":"structure",
"required":[
"Name",
"ChangeToken"
],
"members":{
"Name":{
"shape":"ResourceName",
"documentation":"<p>A friendly name or description of the <a>RegexPatternSet</a>. You can't change <code>Name</code> after you create a <code>RegexPatternSet</code>.</p>"
},
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>"
}
}
},
"CreateRegexPatternSetResponse":{
"type":"structure",
"members":{
"RegexPatternSet":{
"shape":"RegexPatternSet",
"documentation":"<p>A <a>RegexPatternSet</a> that contains no objects.</p>"
},
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The <code>ChangeToken</code> that you used to submit the <code>CreateRegexPatternSet</code> request. You can also use this value to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>"
}
}
},
"CreateRuleGroupRequest":{
"type":"structure",
"required":[
"Name",
"MetricName",
"ChangeToken"
],
"members":{
"Name":{
"shape":"ResourceName",
"documentation":"<p>A friendly name or description of the <a>RuleGroup</a>. You can't change <code>Name</code> after you create a <code>RuleGroup</code>.</p>"
},
"MetricName":{
"shape":"MetricName",
"documentation":"<p>A friendly name or description for the metrics for this <code>RuleGroup</code>. The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain whitespace or metric names reserved for AWS WAF, including \"All\" and \"Default_Action.\" You can't change the name of the metric after you create the <code>RuleGroup</code>.</p>"
},
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>"
},
"Tags":{"shape":"TagList"}
}
},
"CreateRuleGroupResponse":{
"type":"structure",
"members":{
"RuleGroup":{
"shape":"RuleGroup",
"documentation":"<p>An empty <a>RuleGroup</a>.</p>"
},
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The <code>ChangeToken</code> that you used to submit the <code>CreateRuleGroup</code> request. You can also use this value to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>"
}
}
},
"CreateRuleRequest":{
"type":"structure",
"required":[
"Name",
"MetricName",
"ChangeToken"
],
"members":{
"Name":{
"shape":"ResourceName",
"documentation":"<p>A friendly name or description of the <a>Rule</a>. You can't change the name of a <code>Rule</code> after you create it.</p>"
},
"MetricName":{
"shape":"MetricName",
"documentation":"<p>A friendly name or description for the metrics for this <code>Rule</code>. The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain whitespace or metric names reserved for AWS WAF, including \"All\" and \"Default_Action.\" You can't change the name of the metric after you create the <code>Rule</code>.</p>"
},
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>"
},
"Tags":{"shape":"TagList"}
}
},
"CreateRuleResponse":{
"type":"structure",
"members":{
"Rule":{
"shape":"Rule",
"documentation":"<p>The <a>Rule</a> returned in the <code>CreateRule</code> response.</p>"
},
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The <code>ChangeToken</code> that you used to submit the <code>CreateRule</code> request. You can also use this value to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>"
}
}
},
"CreateSizeConstraintSetRequest":{
"type":"structure",
"required":[
"Name",
"ChangeToken"
],
"members":{
"Name":{
"shape":"ResourceName",
"documentation":"<p>A friendly name or description of the <a>SizeConstraintSet</a>. You can't change <code>Name</code> after you create a <code>SizeConstraintSet</code>.</p>"
},
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>"
}
}
},
"CreateSizeConstraintSetResponse":{
"type":"structure",
"members":{
"SizeConstraintSet":{
"shape":"SizeConstraintSet",
"documentation":"<p>A <a>SizeConstraintSet</a> that contains no <code>SizeConstraint</code> objects.</p>"
},
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The <code>ChangeToken</code> that you used to submit the <code>CreateSizeConstraintSet</code> request. You can also use this value to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>"
}
}
},
"CreateSqlInjectionMatchSetRequest":{
"type":"structure",
"required":[
"Name",
"ChangeToken"
],
"members":{
"Name":{
"shape":"ResourceName",
"documentation":"<p>A friendly name or description for the <a>SqlInjectionMatchSet</a> that you're creating. You can't change <code>Name</code> after you create the <code>SqlInjectionMatchSet</code>.</p>"
},
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>"
}
},
"documentation":"<p>A request to create a <a>SqlInjectionMatchSet</a>.</p>"
},
"CreateSqlInjectionMatchSetResponse":{
"type":"structure",
"members":{
"SqlInjectionMatchSet":{
"shape":"SqlInjectionMatchSet",
"documentation":"<p>A <a>SqlInjectionMatchSet</a>.</p>"
},
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The <code>ChangeToken</code> that you used to submit the <code>CreateSqlInjectionMatchSet</code> request. You can also use this value to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>"
}
},
"documentation":"<p>The response to a <code>CreateSqlInjectionMatchSet</code> request.</p>"
},
"CreateWebACLRequest":{
"type":"structure",
"required":[
"Name",
"MetricName",
"DefaultAction",
"ChangeToken"
],
"members":{
"Name":{
"shape":"ResourceName",
"documentation":"<p>A friendly name or description of the <a>WebACL</a>. You can't change <code>Name</code> after you create the <code>WebACL</code>.</p>"
},
"MetricName":{
"shape":"MetricName",
"documentation":"<p>A friendly name or description for the metrics for this <code>WebACL</code>.The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain whitespace or metric names reserved for AWS WAF, including \"All\" and \"Default_Action.\" You can't change <code>MetricName</code> after you create the <code>WebACL</code>.</p>"
},
"DefaultAction":{
"shape":"WafAction",
"documentation":"<p>The action that you want AWS WAF to take when a request doesn't match the criteria specified in any of the <code>Rule</code> objects that are associated with the <code>WebACL</code>.</p>"
},
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>"
},
"Tags":{"shape":"TagList"}
}
},
"CreateWebACLResponse":{
"type":"structure",
"members":{
"WebACL":{
"shape":"WebACL",
"documentation":"<p>The <a>WebACL</a> returned in the <code>CreateWebACL</code> response.</p>"
},
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The <code>ChangeToken</code> that you used to submit the <code>CreateWebACL</code> request. You can also use this value to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>"
}
}
},
"CreateXssMatchSetRequest":{
"type":"structure",
"required":[
"Name",
"ChangeToken"
],
"members":{
"Name":{
"shape":"ResourceName",
"documentation":"<p>A friendly name or description for the <a>XssMatchSet</a> that you're creating. You can't change <code>Name</code> after you create the <code>XssMatchSet</code>.</p>"
},
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>"
}
},
"documentation":"<p>A request to create an <a>XssMatchSet</a>.</p>"
},
"CreateXssMatchSetResponse":{
"type":"structure",
"members":{
"XssMatchSet":{
"shape":"XssMatchSet",
"documentation":"<p>An <a>XssMatchSet</a>.</p>"
},
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The <code>ChangeToken</code> that you used to submit the <code>CreateXssMatchSet</code> request. You can also use this value to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>"
}
},
"documentation":"<p>The response to a <code>CreateXssMatchSet</code> request.</p>"
},
"DeleteByteMatchSetRequest":{
"type":"structure",
"required":[
"ByteMatchSetId",
"ChangeToken"
],
"members":{
"ByteMatchSetId":{
"shape":"ResourceId",
"documentation":"<p>The <code>ByteMatchSetId</code> of the <a>ByteMatchSet</a> that you want to delete. <code>ByteMatchSetId</code> is returned by <a>CreateByteMatchSet</a> and by <a>ListByteMatchSets</a>.</p>"
},
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>"
}
}
},
"DeleteByteMatchSetResponse":{
"type":"structure",
"members":{
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The <code>ChangeToken</code> that you used to submit the <code>DeleteByteMatchSet</code> request. You can also use this value to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>"
}
}
},
"DeleteGeoMatchSetRequest":{
"type":"structure",
"required":[
"GeoMatchSetId",
"ChangeToken"
],
"members":{
"GeoMatchSetId":{
"shape":"ResourceId",
"documentation":"<p>The <code>GeoMatchSetID</code> of the <a>GeoMatchSet</a> that you want to delete. <code>GeoMatchSetId</code> is returned by <a>CreateGeoMatchSet</a> and by <a>ListGeoMatchSets</a>.</p>"
},
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>"
}
}
},
"DeleteGeoMatchSetResponse":{
"type":"structure",
"members":{
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The <code>ChangeToken</code> that you used to submit the <code>DeleteGeoMatchSet</code> request. You can also use this value to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>"
}
}
},
"DeleteIPSetRequest":{
"type":"structure",
"required":[
"IPSetId",
"ChangeToken"
],
"members":{
"IPSetId":{
"shape":"ResourceId",
"documentation":"<p>The <code>IPSetId</code> of the <a>IPSet</a> that you want to delete. <code>IPSetId</code> is returned by <a>CreateIPSet</a> and by <a>ListIPSets</a>.</p>"
},
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>"
}
}
},
"DeleteIPSetResponse":{
"type":"structure",
"members":{
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The <code>ChangeToken</code> that you used to submit the <code>DeleteIPSet</code> request. You can also use this value to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>"
}
}
},
"DeleteLoggingConfigurationRequest":{
"type":"structure",
"required":["ResourceArn"],
"members":{
"ResourceArn":{
"shape":"ResourceArn",
"documentation":"<p>The Amazon Resource Name (ARN) of the web ACL from which you want to delete the <a>LoggingConfiguration</a>.</p>"
}
}
},
"DeleteLoggingConfigurationResponse":{
"type":"structure",
"members":{
}
},
"DeletePermissionPolicyRequest":{
"type":"structure",
"required":["ResourceArn"],
"members":{
"ResourceArn":{
"shape":"ResourceArn",
"documentation":"<p>The Amazon Resource Name (ARN) of the RuleGroup from which you want to delete the policy.</p> <p>The user making the request must be the owner of the RuleGroup.</p>"
}
}
},
"DeletePermissionPolicyResponse":{
"type":"structure",
"members":{
}
},
"DeleteRateBasedRuleRequest":{
"type":"structure",
"required":[
"RuleId",
"ChangeToken"
],
"members":{
"RuleId":{
"shape":"ResourceId",
"documentation":"<p>The <code>RuleId</code> of the <a>RateBasedRule</a> that you want to delete. <code>RuleId</code> is returned by <a>CreateRateBasedRule</a> and by <a>ListRateBasedRules</a>.</p>"
},
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>"
}
}
},
"DeleteRateBasedRuleResponse":{
"type":"structure",
"members":{
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The <code>ChangeToken</code> that you used to submit the <code>DeleteRateBasedRule</code> request. You can also use this value to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>"
}
}
},
"DeleteRegexMatchSetRequest":{
"type":"structure",
"required":[
"RegexMatchSetId",
"ChangeToken"
],
"members":{
"RegexMatchSetId":{
"shape":"ResourceId",
"documentation":"<p>The <code>RegexMatchSetId</code> of the <a>RegexMatchSet</a> that you want to delete. <code>RegexMatchSetId</code> is returned by <a>CreateRegexMatchSet</a> and by <a>ListRegexMatchSets</a>.</p>"
},
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>"
}
}
},
"DeleteRegexMatchSetResponse":{
"type":"structure",
"members":{
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The <code>ChangeToken</code> that you used to submit the <code>DeleteRegexMatchSet</code> request. You can also use this value to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>"
}
}
},
"DeleteRegexPatternSetRequest":{
"type":"structure",
"required":[
"RegexPatternSetId",
"ChangeToken"
],
"members":{
"RegexPatternSetId":{
"shape":"ResourceId",
"documentation":"<p>The <code>RegexPatternSetId</code> of the <a>RegexPatternSet</a> that you want to delete. <code>RegexPatternSetId</code> is returned by <a>CreateRegexPatternSet</a> and by <a>ListRegexPatternSets</a>.</p>"
},
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>"
}
}
},
"DeleteRegexPatternSetResponse":{
"type":"structure",
"members":{
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The <code>ChangeToken</code> that you used to submit the <code>DeleteRegexPatternSet</code> request. You can also use this value to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>"
}
}
},
"DeleteRuleGroupRequest":{
"type":"structure",
"required":[
"RuleGroupId",
"ChangeToken"
],
"members":{
"RuleGroupId":{
"shape":"ResourceId",
"documentation":"<p>The <code>RuleGroupId</code> of the <a>RuleGroup</a> that you want to delete. <code>RuleGroupId</code> is returned by <a>CreateRuleGroup</a> and by <a>ListRuleGroups</a>.</p>"
},
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>"
}
}
},
"DeleteRuleGroupResponse":{
"type":"structure",
"members":{
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The <code>ChangeToken</code> that you used to submit the <code>DeleteRuleGroup</code> request. You can also use this value to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>"
}
}
},
"DeleteRuleRequest":{
"type":"structure",
"required":[
"RuleId",
"ChangeToken"
],
"members":{
"RuleId":{
"shape":"ResourceId",
"documentation":"<p>The <code>RuleId</code> of the <a>Rule</a> that you want to delete. <code>RuleId</code> is returned by <a>CreateRule</a> and by <a>ListRules</a>.</p>"
},
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>"
}
}
},
"DeleteRuleResponse":{
"type":"structure",
"members":{
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The <code>ChangeToken</code> that you used to submit the <code>DeleteRule</code> request. You can also use this value to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>"
}
}
},
"DeleteSizeConstraintSetRequest":{
"type":"structure",
"required":[
"SizeConstraintSetId",
"ChangeToken"
],
"members":{
"SizeConstraintSetId":{
"shape":"ResourceId",
"documentation":"<p>The <code>SizeConstraintSetId</code> of the <a>SizeConstraintSet</a> that you want to delete. <code>SizeConstraintSetId</code> is returned by <a>CreateSizeConstraintSet</a> and by <a>ListSizeConstraintSets</a>.</p>"
},
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>"
}
}
},
"DeleteSizeConstraintSetResponse":{
"type":"structure",
"members":{
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The <code>ChangeToken</code> that you used to submit the <code>DeleteSizeConstraintSet</code> request. You can also use this value to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>"
}
}
},
"DeleteSqlInjectionMatchSetRequest":{
"type":"structure",
"required":[
"SqlInjectionMatchSetId",
"ChangeToken"
],
"members":{
"SqlInjectionMatchSetId":{
"shape":"ResourceId",
"documentation":"<p>The <code>SqlInjectionMatchSetId</code> of the <a>SqlInjectionMatchSet</a> that you want to delete. <code>SqlInjectionMatchSetId</code> is returned by <a>CreateSqlInjectionMatchSet</a> and by <a>ListSqlInjectionMatchSets</a>.</p>"
},
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>"
}
},
"documentation":"<p>A request to delete a <a>SqlInjectionMatchSet</a> from AWS WAF.</p>"
},
"DeleteSqlInjectionMatchSetResponse":{
"type":"structure",
"members":{
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The <code>ChangeToken</code> that you used to submit the <code>DeleteSqlInjectionMatchSet</code> request. You can also use this value to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>"
}
},
"documentation":"<p>The response to a request to delete a <a>SqlInjectionMatchSet</a> from AWS WAF.</p>"
},
"DeleteWebACLRequest":{
"type":"structure",
"required":[
"WebACLId",
"ChangeToken"
],
"members":{
"WebACLId":{
"shape":"ResourceId",
"documentation":"<p>The <code>WebACLId</code> of the <a>WebACL</a> that you want to delete. <code>WebACLId</code> is returned by <a>CreateWebACL</a> and by <a>ListWebACLs</a>.</p>"
},
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>"
}
}
},
"DeleteWebACLResponse":{
"type":"structure",
"members":{
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The <code>ChangeToken</code> that you used to submit the <code>DeleteWebACL</code> request. You can also use this value to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>"
}
}
},
"DeleteXssMatchSetRequest":{
"type":"structure",
"required":[
"XssMatchSetId",
"ChangeToken"
],
"members":{
"XssMatchSetId":{
"shape":"ResourceId",
"documentation":"<p>The <code>XssMatchSetId</code> of the <a>XssMatchSet</a> that you want to delete. <code>XssMatchSetId</code> is returned by <a>CreateXssMatchSet</a> and by <a>ListXssMatchSets</a>.</p>"
},
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>"
}
},
"documentation":"<p>A request to delete an <a>XssMatchSet</a> from AWS WAF.</p>"
},
"DeleteXssMatchSetResponse":{
"type":"structure",
"members":{
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The <code>ChangeToken</code> that you used to submit the <code>DeleteXssMatchSet</code> request. You can also use this value to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>"
}
},
"documentation":"<p>The response to a request to delete an <a>XssMatchSet</a> from AWS WAF.</p>"
},
"DisassociateWebACLRequest":{
"type":"structure",
"required":["ResourceArn"],
"members":{
"ResourceArn":{
"shape":"ResourceArn",
"documentation":"<p>The ARN (Amazon Resource Name) of the resource from which the web ACL is being removed, either an application load balancer or Amazon API Gateway stage.</p> <p>The ARN should be in one of the following formats:</p> <ul> <li> <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> </code> </p> </li> <li> <p>For an Amazon API Gateway stage: <code>arn:aws:apigateway:<i>region</i>::/restapis/<i>api-id</i>/stages/<i>stage-name</i> </code> </p> </li> </ul>"
}
}
},
"DisassociateWebACLResponse":{
"type":"structure",
"members":{
}
},
"ExcludedRule":{
"type":"structure",
"required":["RuleId"],
"members":{
"RuleId":{
"shape":"ResourceId",
"documentation":"<p>The unique identifier for the rule to exclude from the rule group.</p>"
}
},
"documentation":"<p>The rule to exclude from a rule group. This is applicable only when the <code>ActivatedRule</code> refers to a <code>RuleGroup</code>. The rule must belong to the <code>RuleGroup</code> that is specified by the <code>ActivatedRule</code>. </p>"
},
"ExcludedRules":{
"type":"list",
"member":{"shape":"ExcludedRule"}
},
"FieldToMatch":{
"type":"structure",
"required":["Type"],
"members":{
"Type":{
"shape":"MatchFieldType",
"documentation":"<p>The part of the web request that you want AWS WAF to search for a specified string. Parts of a request that you can search include the following:</p> <ul> <li> <p> <code>HEADER</code>: A specified request header, for example, the value of the <code>User-Agent</code> or <code>Referer</code> header. If you choose <code>HEADER</code> for the type, specify the name of the header in <code>Data</code>.</p> </li> <li> <p> <code>METHOD</code>: The HTTP method, which indicated the type of operation that the request is asking the origin to perform. Amazon CloudFront supports the following methods: <code>DELETE</code>, <code>GET</code>, <code>HEAD</code>, <code>OPTIONS</code>, <code>PATCH</code>, <code>POST</code>, and <code>PUT</code>.</p> </li> <li> <p> <code>QUERY_STRING</code>: A query string, which is the part of a URL that appears after a <code>?</code> character, if any.</p> </li> <li> <p> <code>URI</code>: The part of a web request that identifies a resource, for example, <code>/images/daily-ad.jpg</code>.</p> </li> <li> <p> <code>BODY</code>: The part of a request that contains any additional data that you want to send to your web server as the HTTP request body, such as data from a form. The request body immediately follows the request headers. Note that only the first <code>8192</code> bytes of the request body are forwarded to AWS WAF for inspection. To allow or block requests based on the length of the body, you can create a size constraint set. For more information, see <a>CreateSizeConstraintSet</a>. </p> </li> <li> <p> <code>SINGLE_QUERY_ARG</code>: The parameter in the query string that you will inspect, such as <i>UserName</i> or <i>SalesRegion</i>. The maximum length for <code>SINGLE_QUERY_ARG</code> is 30 characters.</p> </li> <li> <p> <code>ALL_QUERY_ARGS</code>: Similar to <code>SINGLE_QUERY_ARG</code>, but rather than inspecting a single parameter, AWS WAF will inspect all parameters within the query for the value or regex pattern that you specify in <code>TargetString</code>.</p> </li> </ul>"
},
"Data":{
"shape":"MatchFieldData",
"documentation":"<p>When the value of <code>Type</code> is <code>HEADER</code>, enter the name of the header that you want AWS WAF to search, for example, <code>User-Agent</code> or <code>Referer</code>. The name of the header is not case sensitive.</p> <p>When the value of <code>Type</code> is <code>SINGLE_QUERY_ARG</code>, enter the name of the parameter that you want AWS WAF to search, for example, <code>UserName</code> or <code>SalesRegion</code>. The parameter name is not case sensitive.</p> <p>If the value of <code>Type</code> is any other value, omit <code>Data</code>.</p>"
}
},
"documentation":"<p>Specifies where in a web request to look for <code>TargetString</code>.</p>"
},
"GeoMatchConstraint":{
"type":"structure",
"required":[
"Type",
"Value"
],
"members":{
"Type":{
"shape":"GeoMatchConstraintType",
"documentation":"<p>The type of geographical area you want AWS WAF to search for. Currently <code>Country</code> is the only valid value.</p>"
},
"Value":{
"shape":"GeoMatchConstraintValue",
"documentation":"<p>The country that you want AWS WAF to search for.</p>"
}
},
"documentation":"<p>The country from which web requests originate that you want AWS WAF to search for.</p>"
},
"GeoMatchConstraintType":{
"type":"string",
"enum":["Country"]
},
"GeoMatchConstraintValue":{
"type":"string",
"enum":[
"AF",
"AX",
"AL",
"DZ",
"AS",
"AD",
"AO",
"AI",
"AQ",
"AG",
"AR",
"AM",
"AW",
"AU",
"AT",
"AZ",
"BS",
"BH",
"BD",
"BB",
"BY",
"BE",
"BZ",
"BJ",
"BM",
"BT",
"BO",
"BQ",
"BA",
"BW",
"BV",
"BR",
"IO",
"BN",
"BG",
"BF",
"BI",
"KH",
"CM",
"CA",
"CV",
"KY",
"CF",
"TD",
"CL",
"CN",
"CX",
"CC",
"CO",
"KM",
"CG",
"CD",
"CK",
"CR",
"CI",
"HR",
"CU",
"CW",
"CY",
"CZ",
"DK",
"DJ",
"DM",
"DO",
"EC",
"EG",
"SV",
"GQ",
"ER",
"EE",
"ET",
"FK",
"FO",
"FJ",
"FI",
"FR",
"GF",
"PF",
"TF",
"GA",
"GM",
"GE",
"DE",
"GH",
"GI",
"GR",
"GL",
"GD",
"GP",
"GU",
"GT",
"GG",
"GN",
"GW",
"GY",
"HT",
"HM",
"VA",
"HN",
"HK",
"HU",
"IS",
"IN",
"ID",
"IR",
"IQ",
"IE",
"IM",
"IL",
"IT",
"JM",
"JP",
"JE",
"JO",
"KZ",
"KE",
"KI",
"KP",
"KR",
"KW",
"KG",
"LA",
"LV",
"LB",
"LS",
"LR",
"LY",
"LI",
"LT",
"LU",
"MO",
"MK",
"MG",
"MW",
"MY",
"MV",
"ML",
"MT",
"MH",
"MQ",
"MR",
"MU",
"YT",
"MX",
"FM",
"MD",
"MC",
"MN",
"ME",
"MS",
"MA",
"MZ",
"MM",
"NA",
"NR",
"NP",
"NL",
"NC",
"NZ",
"NI",
"NE",
"NG",
"NU",
"NF",
"MP",
"NO",
"OM",
"PK",
"PW",
"PS",
"PA",
"PG",
"PY",
"PE",
"PH",
"PN",
"PL",
"PT",
"PR",
"QA",
"RE",
"RO",
"RU",
"RW",
"BL",
"SH",
"KN",
"LC",
"MF",
"PM",
"VC",
"WS",
"SM",
"ST",
"SA",
"SN",
"RS",
"SC",
"SL",
"SG",
"SX",
"SK",
"SI",
"SB",
"SO",
"ZA",
"GS",
"SS",
"ES",
"LK",
"SD",
"SR",
"SJ",
"SZ",
"SE",
"CH",
"SY",
"TW",
"TJ",
"TZ",
"TH",
"TL",
"TG",
"TK",
"TO",
"TT",
"TN",
"TR",
"TM",
"TC",
"TV",
"UG",
"UA",
"AE",
"GB",
"US",
"UM",
"UY",
"UZ",
"VU",
"VE",
"VN",
"VG",
"VI",
"WF",
"EH",
"YE",
"ZM",
"ZW"
]
},
"GeoMatchConstraints":{
"type":"list",
"member":{"shape":"GeoMatchConstraint"}
},
"GeoMatchSet":{
"type":"structure",
"required":[
"GeoMatchSetId",
"GeoMatchConstraints"
],
"members":{
"GeoMatchSetId":{
"shape":"ResourceId",
"documentation":"<p>The <code>GeoMatchSetId</code> for an <code>GeoMatchSet</code>. You use <code>GeoMatchSetId</code> to get information about a <code>GeoMatchSet</code> (see <a>GeoMatchSet</a>), update a <code>GeoMatchSet</code> (see <a>UpdateGeoMatchSet</a>), insert a <code>GeoMatchSet</code> into a <code>Rule</code> or delete one from a <code>Rule</code> (see <a>UpdateRule</a>), and delete a <code>GeoMatchSet</code> from AWS WAF (see <a>DeleteGeoMatchSet</a>).</p> <p> <code>GeoMatchSetId</code> is returned by <a>CreateGeoMatchSet</a> and by <a>ListGeoMatchSets</a>.</p>"
},
"Name":{
"shape":"ResourceName",
"documentation":"<p>A friendly name or description of the <a>GeoMatchSet</a>. You can't change the name of an <code>GeoMatchSet</code> after you create it.</p>"
},
"GeoMatchConstraints":{
"shape":"GeoMatchConstraints",
"documentation":"<p>An array of <a>GeoMatchConstraint</a> objects, which contain the country that you want AWS WAF to search for.</p>"
}
},
"documentation":"<p>Contains one or more countries that AWS WAF will search for.</p>"
},
"GeoMatchSetSummaries":{
"type":"list",
"member":{"shape":"GeoMatchSetSummary"}
},
"GeoMatchSetSummary":{
"type":"structure",
"required":[
"GeoMatchSetId",
"Name"
],
"members":{
"GeoMatchSetId":{
"shape":"ResourceId",
"documentation":"<p>The <code>GeoMatchSetId</code> for an <a>GeoMatchSet</a>. You can use <code>GeoMatchSetId</code> in a <a>GetGeoMatchSet</a> request to get detailed information about an <a>GeoMatchSet</a>.</p>"
},
"Name":{
"shape":"ResourceName",
"documentation":"<p>A friendly name or description of the <a>GeoMatchSet</a>. You can't change the name of an <code>GeoMatchSet</code> after you create it.</p>"
}
},
"documentation":"<p>Contains the identifier and the name of the <code>GeoMatchSet</code>.</p>"
},
"GeoMatchSetUpdate":{
"type":"structure",
"required":[
"Action",
"GeoMatchConstraint"
],
"members":{
"Action":{
"shape":"ChangeAction",
"documentation":"<p>Specifies whether to insert or delete a country with <a>UpdateGeoMatchSet</a>.</p>"
},
"GeoMatchConstraint":{
"shape":"GeoMatchConstraint",
"documentation":"<p>The country from which web requests originate that you want AWS WAF to search for.</p>"
}
},
"documentation":"<p>Specifies the type of update to perform to an <a>GeoMatchSet</a> with <a>UpdateGeoMatchSet</a>.</p>"
},
"GeoMatchSetUpdates":{
"type":"list",
"member":{"shape":"GeoMatchSetUpdate"},
"min":1
},
"GetByteMatchSetRequest":{
"type":"structure",
"required":["ByteMatchSetId"],
"members":{
"ByteMatchSetId":{
"shape":"ResourceId",
"documentation":"<p>The <code>ByteMatchSetId</code> of the <a>ByteMatchSet</a> that you want to get. <code>ByteMatchSetId</code> is returned by <a>CreateByteMatchSet</a> and by <a>ListByteMatchSets</a>.</p>"
}
}
},
"GetByteMatchSetResponse":{
"type":"structure",
"members":{
"ByteMatchSet":{
"shape":"ByteMatchSet",
"documentation":"<p>Information about the <a>ByteMatchSet</a> that you specified in the <code>GetByteMatchSet</code> request. For more information, see the following topics:</p> <ul> <li> <p> <a>ByteMatchSet</a>: Contains <code>ByteMatchSetId</code>, <code>ByteMatchTuples</code>, and <code>Name</code> </p> </li> <li> <p> <code>ByteMatchTuples</code>: Contains an array of <a>ByteMatchTuple</a> objects. Each <code>ByteMatchTuple</code> object contains <a>FieldToMatch</a>, <code>PositionalConstraint</code>, <code>TargetString</code>, and <code>TextTransformation</code> </p> </li> <li> <p> <a>FieldToMatch</a>: Contains <code>Data</code> and <code>Type</code> </p> </li> </ul>"
}
}
},
"GetChangeTokenRequest":{
"type":"structure",
"members":{
}
},
"GetChangeTokenResponse":{
"type":"structure",
"members":{
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The <code>ChangeToken</code> that you used in the request. Use this value in a <code>GetChangeTokenStatus</code> request to get the current status of the request. </p>"
}
}
},
"GetChangeTokenStatusRequest":{
"type":"structure",
"required":["ChangeToken"],
"members":{
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The change token for which you want to get the status. This change token was previously returned in the <code>GetChangeToken</code> response.</p>"
}
}
},
"GetChangeTokenStatusResponse":{
"type":"structure",
"members":{
"ChangeTokenStatus":{
"shape":"ChangeTokenStatus",
"documentation":"<p>The status of the change token.</p>"
}
}
},
"GetGeoMatchSetRequest":{
"type":"structure",
"required":["GeoMatchSetId"],
"members":{
"GeoMatchSetId":{
"shape":"ResourceId",
"documentation":"<p>The <code>GeoMatchSetId</code> of the <a>GeoMatchSet</a> that you want to get. <code>GeoMatchSetId</code> is returned by <a>CreateGeoMatchSet</a> and by <a>ListGeoMatchSets</a>.</p>"
}
}
},
"GetGeoMatchSetResponse":{
"type":"structure",
"members":{
"GeoMatchSet":{
"shape":"GeoMatchSet",
"documentation":"<p>Information about the <a>GeoMatchSet</a> that you specified in the <code>GetGeoMatchSet</code> request. This includes the <code>Type</code>, which for a <code>GeoMatchContraint</code> is always <code>Country</code>, as well as the <code>Value</code>, which is the identifier for a specific country.</p>"
}
}
},
"GetIPSetRequest":{
"type":"structure",
"required":["IPSetId"],
"members":{
"IPSetId":{
"shape":"ResourceId",
"documentation":"<p>The <code>IPSetId</code> of the <a>IPSet</a> that you want to get. <code>IPSetId</code> is returned by <a>CreateIPSet</a> and by <a>ListIPSets</a>.</p>"
}
}
},
"GetIPSetResponse":{
"type":"structure",
"members":{
"IPSet":{
"shape":"IPSet",
"documentation":"<p>Information about the <a>IPSet</a> that you specified in the <code>GetIPSet</code> request. For more information, see the following topics:</p> <ul> <li> <p> <a>IPSet</a>: Contains <code>IPSetDescriptors</code>, <code>IPSetId</code>, and <code>Name</code> </p> </li> <li> <p> <code>IPSetDescriptors</code>: Contains an array of <a>IPSetDescriptor</a> objects. Each <code>IPSetDescriptor</code> object contains <code>Type</code> and <code>Value</code> </p> </li> </ul>"
}
}
},
"GetLoggingConfigurationRequest":{
"type":"structure",
"required":["ResourceArn"],
"members":{
"ResourceArn":{
"shape":"ResourceArn",
"documentation":"<p>The Amazon Resource Name (ARN) of the web ACL for which you want to get the <a>LoggingConfiguration</a>.</p>"
}
}
},
"GetLoggingConfigurationResponse":{
"type":"structure",
"members":{
"LoggingConfiguration":{
"shape":"LoggingConfiguration",
"documentation":"<p>The <a>LoggingConfiguration</a> for the specified web ACL.</p>"
}
}
},
"GetPermissionPolicyRequest":{
"type":"structure",
"required":["ResourceArn"],
"members":{
"ResourceArn":{
"shape":"ResourceArn",
"documentation":"<p>The Amazon Resource Name (ARN) of the RuleGroup for which you want to get the policy.</p>"
}
}
},
"GetPermissionPolicyResponse":{
"type":"structure",
"members":{
"Policy":{
"shape":"PolicyString",
"documentation":"<p>The IAM policy attached to the specified RuleGroup.</p>"
}
}
},
"GetRateBasedRuleManagedKeysRequest":{
"type":"structure",
"required":["RuleId"],
"members":{
"RuleId":{
"shape":"ResourceId",
"documentation":"<p>The <code>RuleId</code> of the <a>RateBasedRule</a> for which you want to get a list of <code>ManagedKeys</code>. <code>RuleId</code> is returned by <a>CreateRateBasedRule</a> and by <a>ListRateBasedRules</a>.</p>"
},
"NextMarker":{
"shape":"NextMarker",
"documentation":"<p>A null value and not currently used. Do not include this in your request.</p>"
}
}
},
"GetRateBasedRuleManagedKeysResponse":{
"type":"structure",
"members":{
"ManagedKeys":{
"shape":"ManagedKeys",
"documentation":"<p>An array of IP addresses that currently are blocked by the specified <a>RateBasedRule</a>. </p>"
},
"NextMarker":{
"shape":"NextMarker",
"documentation":"<p>A null value and not currently used.</p>"
}
}
},
"GetRateBasedRuleRequest":{
"type":"structure",
"required":["RuleId"],
"members":{
"RuleId":{
"shape":"ResourceId",
"documentation":"<p>The <code>RuleId</code> of the <a>RateBasedRule</a> that you want to get. <code>RuleId</code> is returned by <a>CreateRateBasedRule</a> and by <a>ListRateBasedRules</a>.</p>"
}
}
},
"GetRateBasedRuleResponse":{
"type":"structure",
"members":{
"Rule":{
"shape":"RateBasedRule",
"documentation":"<p>Information about the <a>RateBasedRule</a> that you specified in the <code>GetRateBasedRule</code> request.</p>"
}
}
},
"GetRegexMatchSetRequest":{
"type":"structure",
"required":["RegexMatchSetId"],
"members":{
"RegexMatchSetId":{
"shape":"ResourceId",
"documentation":"<p>The <code>RegexMatchSetId</code> of the <a>RegexMatchSet</a> that you want to get. <code>RegexMatchSetId</code> is returned by <a>CreateRegexMatchSet</a> and by <a>ListRegexMatchSets</a>.</p>"
}
}
},
"GetRegexMatchSetResponse":{
"type":"structure",
"members":{
"RegexMatchSet":{
"shape":"RegexMatchSet",
"documentation":"<p>Information about the <a>RegexMatchSet</a> that you specified in the <code>GetRegexMatchSet</code> request. For more information, see <a>RegexMatchTuple</a>.</p>"
}
}
},
"GetRegexPatternSetRequest":{
"type":"structure",
"required":["RegexPatternSetId"],
"members":{
"RegexPatternSetId":{
"shape":"ResourceId",
"documentation":"<p>The <code>RegexPatternSetId</code> of the <a>RegexPatternSet</a> that you want to get. <code>RegexPatternSetId</code> is returned by <a>CreateRegexPatternSet</a> and by <a>ListRegexPatternSets</a>.</p>"
}
}
},
"GetRegexPatternSetResponse":{
"type":"structure",
"members":{
"RegexPatternSet":{
"shape":"RegexPatternSet",
"documentation":"<p>Information about the <a>RegexPatternSet</a> that you specified in the <code>GetRegexPatternSet</code> request, including the identifier of the pattern set and the regular expression patterns you want AWS WAF to search for. </p>"
}
}
},
"GetRuleGroupRequest":{
"type":"structure",
"required":["RuleGroupId"],
"members":{
"RuleGroupId":{
"shape":"ResourceId",
"documentation":"<p>The <code>RuleGroupId</code> of the <a>RuleGroup</a> that you want to get. <code>RuleGroupId</code> is returned by <a>CreateRuleGroup</a> and by <a>ListRuleGroups</a>.</p>"
}
}
},
"GetRuleGroupResponse":{
"type":"structure",
"members":{
"RuleGroup":{
"shape":"RuleGroup",
"documentation":"<p>Information about the <a>RuleGroup</a> that you specified in the <code>GetRuleGroup</code> request. </p>"
}
}
},
"GetRuleRequest":{
"type":"structure",
"required":["RuleId"],
"members":{
"RuleId":{
"shape":"ResourceId",
"documentation":"<p>The <code>RuleId</code> of the <a>Rule</a> that you want to get. <code>RuleId</code> is returned by <a>CreateRule</a> and by <a>ListRules</a>.</p>"
}
}
},
"GetRuleResponse":{
"type":"structure",
"members":{
"Rule":{
"shape":"Rule",
"documentation":"<p>Information about the <a>Rule</a> that you specified in the <code>GetRule</code> request. For more information, see the following topics:</p> <ul> <li> <p> <a>Rule</a>: Contains <code>MetricName</code>, <code>Name</code>, an array of <code>Predicate</code> objects, and <code>RuleId</code> </p> </li> <li> <p> <a>Predicate</a>: Each <code>Predicate</code> object contains <code>DataId</code>, <code>Negated</code>, and <code>Type</code> </p> </li> </ul>"
}
}
},
"GetSampledRequestsMaxItems":{
"type":"long",
"max":500,
"min":1
},
"GetSampledRequestsRequest":{
"type":"structure",
"required":[
"WebAclId",
"RuleId",
"TimeWindow",
"MaxItems"
],
"members":{
"WebAclId":{
"shape":"ResourceId",
"documentation":"<p>The <code>WebACLId</code> of the <code>WebACL</code> for which you want <code>GetSampledRequests</code> to return a sample of requests.</p>"
},
"RuleId":{
"shape":"ResourceId",
"documentation":"<p> <code>RuleId</code> is one of three values:</p> <ul> <li> <p>The <code>RuleId</code> of the <code>Rule</code> or the <code>RuleGroupId</code> of the <code>RuleGroup</code> for which you want <code>GetSampledRequests</code> to return a sample of requests.</p> </li> <li> <p> <code>Default_Action</code>, which causes <code>GetSampledRequests</code> to return a sample of the requests that didn't match any of the rules in the specified <code>WebACL</code>.</p> </li> </ul>"
},
"TimeWindow":{
"shape":"TimeWindow",
"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 sample of requests. Specify the date and time in the following format: <code>\"2016-09-27T14:50Z\"</code>. You can specify any time range in the previous three hours.</p>"
},
"MaxItems":{
"shape":"GetSampledRequestsMaxItems",
"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 during the time range. If your resource received fewer requests than the value of <code>MaxItems</code>, <code>GetSampledRequests</code> returns information about all of them. </p>"
}
}
},
"GetSampledRequestsResponse":{
"type":"structure",
"members":{
"SampledRequests":{
"shape":"SampledHTTPRequests",
"documentation":"<p>A complex type that contains detailed information about each of the requests in the sample.</p>"
},
"PopulationSize":{
"shape":"PopulationSize",
"documentation":"<p>The total number of requests from which <code>GetSampledRequests</code> got a sample of <code>MaxItems</code> requests. If <code>PopulationSize</code> is less than <code>MaxItems</code>, the sample includes every request that your AWS resource received during the specified time range.</p>"
},
"TimeWindow":{
"shape":"TimeWindow",
"documentation":"<p>Usually, <code>TimeWindow</code> is the time range that you specified in the <code>GetSampledRequests</code> request. However, if your AWS resource received more than 5,000 requests during the time range that you specified in the request, <code>GetSampledRequests</code> returns the time range for the first 5,000 requests.</p>"
}
}
},
"GetSizeConstraintSetRequest":{
"type":"structure",
"required":["SizeConstraintSetId"],
"members":{
"SizeConstraintSetId":{
"shape":"ResourceId",
"documentation":"<p>The <code>SizeConstraintSetId</code> of the <a>SizeConstraintSet</a> that you want to get. <code>SizeConstraintSetId</code> is returned by <a>CreateSizeConstraintSet</a> and by <a>ListSizeConstraintSets</a>.</p>"
}
}
},
"GetSizeConstraintSetResponse":{
"type":"structure",
"members":{
"SizeConstraintSet":{
"shape":"SizeConstraintSet",
"documentation":"<p>Information about the <a>SizeConstraintSet</a> that you specified in the <code>GetSizeConstraintSet</code> request. For more information, see the following topics:</p> <ul> <li> <p> <a>SizeConstraintSet</a>: Contains <code>SizeConstraintSetId</code>, <code>SizeConstraints</code>, and <code>Name</code> </p> </li> <li> <p> <code>SizeConstraints</code>: Contains an array of <a>SizeConstraint</a> objects. Each <code>SizeConstraint</code> object contains <a>FieldToMatch</a>, <code>TextTransformation</code>, <code>ComparisonOperator</code>, and <code>Size</code> </p> </li> <li> <p> <a>FieldToMatch</a>: Contains <code>Data</code> and <code>Type</code> </p> </li> </ul>"
}
}
},
"GetSqlInjectionMatchSetRequest":{
"type":"structure",
"required":["SqlInjectionMatchSetId"],
"members":{
"SqlInjectionMatchSetId":{
"shape":"ResourceId",
"documentation":"<p>The <code>SqlInjectionMatchSetId</code> of the <a>SqlInjectionMatchSet</a> that you want to get. <code>SqlInjectionMatchSetId</code> is returned by <a>CreateSqlInjectionMatchSet</a> and by <a>ListSqlInjectionMatchSets</a>.</p>"
}
},
"documentation":"<p>A request to get a <a>SqlInjectionMatchSet</a>.</p>"
},
"GetSqlInjectionMatchSetResponse":{
"type":"structure",
"members":{
"SqlInjectionMatchSet":{
"shape":"SqlInjectionMatchSet",
"documentation":"<p>Information about the <a>SqlInjectionMatchSet</a> that you specified in the <code>GetSqlInjectionMatchSet</code> request. For more information, see the following topics:</p> <ul> <li> <p> <a>SqlInjectionMatchSet</a>: Contains <code>Name</code>, <code>SqlInjectionMatchSetId</code>, and an array of <code>SqlInjectionMatchTuple</code> objects</p> </li> <li> <p> <a>SqlInjectionMatchTuple</a>: Each <code>SqlInjectionMatchTuple</code> object contains <code>FieldToMatch</code> and <code>TextTransformation</code> </p> </li> <li> <p> <a>FieldToMatch</a>: Contains <code>Data</code> and <code>Type</code> </p> </li> </ul>"
}
},
"documentation":"<p>The response to a <a>GetSqlInjectionMatchSet</a> request.</p>"
},
"GetWebACLForResourceRequest":{
"type":"structure",
"required":["ResourceArn"],
"members":{
"ResourceArn":{
"shape":"ResourceArn",
"documentation":"<p>The ARN (Amazon Resource Name) of the resource for which to get the web ACL, either an application load balancer or Amazon API Gateway stage.</p> <p>The ARN should be in one of the following formats:</p> <ul> <li> <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> </code> </p> </li> <li> <p>For an Amazon API Gateway stage: <code>arn:aws:apigateway:<i>region</i>::/restapis/<i>api-id</i>/stages/<i>stage-name</i> </code> </p> </li> </ul>"
}
}
},
"GetWebACLForResourceResponse":{
"type":"structure",
"members":{
"WebACLSummary":{
"shape":"WebACLSummary",
"documentation":"<p>Information about the web ACL that you specified in the <code>GetWebACLForResource</code> request. If there is no associated resource, a null WebACLSummary is returned.</p>"
}
}
},
"GetWebACLRequest":{
"type":"structure",
"required":["WebACLId"],
"members":{
"WebACLId":{
"shape":"ResourceId",
"documentation":"<p>The <code>WebACLId</code> of the <a>WebACL</a> that you want to get. <code>WebACLId</code> is returned by <a>CreateWebACL</a> and by <a>ListWebACLs</a>.</p>"
}
}
},
"GetWebACLResponse":{
"type":"structure",
"members":{
"WebACL":{
"shape":"WebACL",
"documentation":"<p>Information about the <a>WebACL</a> that you specified in the <code>GetWebACL</code> request. For more information, see the following topics:</p> <ul> <li> <p> <a>WebACL</a>: Contains <code>DefaultAction</code>, <code>MetricName</code>, <code>Name</code>, an array of <code>Rule</code> objects, and <code>WebACLId</code> </p> </li> <li> <p> <code>DefaultAction</code> (Data type is <a>WafAction</a>): Contains <code>Type</code> </p> </li> <li> <p> <code>Rules</code>: Contains an array of <code>ActivatedRule</code> objects, which contain <code>Action</code>, <code>Priority</code>, and <code>RuleId</code> </p> </li> <li> <p> <code>Action</code>: Contains <code>Type</code> </p> </li> </ul>"
}
}
},
"GetXssMatchSetRequest":{
"type":"structure",
"required":["XssMatchSetId"],
"members":{
"XssMatchSetId":{
"shape":"ResourceId",
"documentation":"<p>The <code>XssMatchSetId</code> of the <a>XssMatchSet</a> that you want to get. <code>XssMatchSetId</code> is returned by <a>CreateXssMatchSet</a> and by <a>ListXssMatchSets</a>.</p>"
}
},
"documentation":"<p>A request to get an <a>XssMatchSet</a>.</p>"
},
"GetXssMatchSetResponse":{
"type":"structure",
"members":{
"XssMatchSet":{
"shape":"XssMatchSet",
"documentation":"<p>Information about the <a>XssMatchSet</a> that you specified in the <code>GetXssMatchSet</code> request. For more information, see the following topics:</p> <ul> <li> <p> <a>XssMatchSet</a>: Contains <code>Name</code>, <code>XssMatchSetId</code>, and an array of <code>XssMatchTuple</code> objects</p> </li> <li> <p> <a>XssMatchTuple</a>: Each <code>XssMatchTuple</code> object contains <code>FieldToMatch</code> and <code>TextTransformation</code> </p> </li> <li> <p> <a>FieldToMatch</a>: Contains <code>Data</code> and <code>Type</code> </p> </li> </ul>"
}
},
"documentation":"<p>The response to a <a>GetXssMatchSet</a> request.</p>"
},
"HTTPHeader":{
"type":"structure",
"members":{
"Name":{
"shape":"HeaderName",
"documentation":"<p>The name of one of the headers in the sampled web request.</p>"
},
"Value":{
"shape":"HeaderValue",
"documentation":"<p>The value of one of the headers in the sampled web request.</p>"
}
},
"documentation":"<p>The response from a <a>GetSampledRequests</a> request includes an <code>HTTPHeader</code> complex type that appears as <code>Headers</code> in the response syntax. <code>HTTPHeader</code> contains the names and values of all of the headers that appear in one of the web requests that were returned by <code>GetSampledRequests</code>. </p>"
},
"HTTPHeaders":{
"type":"list",
"member":{"shape":"HTTPHeader"}
},
"HTTPMethod":{"type":"string"},
"HTTPRequest":{
"type":"structure",
"members":{
"ClientIP":{
"shape":"IPString",
"documentation":"<p>The IP address that the request originated from. If the <code>WebACL</code> is associated with a CloudFront distribution, this is the value of one of the following fields in CloudFront access logs:</p> <ul> <li> <p> <code>c-ip</code>, if the viewer did not use an HTTP proxy or a load balancer to send the request</p> </li> <li> <p> <code>x-forwarded-for</code>, if the viewer did use an HTTP proxy or a load balancer to send the request</p> </li> </ul>"
},
"Country":{
"shape":"Country",
"documentation":"<p>The two-letter country code for the country that the request originated from. For a current list of country codes, see the Wikipedia entry <a href=\"https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2\">ISO 3166-1 alpha-2</a>.</p>"
},
"URI":{
"shape":"URIString",
"documentation":"<p>The part of a web request that identifies the resource, for example, <code>/images/daily-ad.jpg</code>.</p>"
},
"Method":{
"shape":"HTTPMethod",
"documentation":"<p>The HTTP method specified in the sampled web request. CloudFront supports the following methods: <code>DELETE</code>, <code>GET</code>, <code>HEAD</code>, <code>OPTIONS</code>, <code>PATCH</code>, <code>POST</code>, and <code>PUT</code>. </p>"
},
"HTTPVersion":{
"shape":"HTTPVersion",
"documentation":"<p>The HTTP version specified in the sampled web request, for example, <code>HTTP/1.1</code>.</p>"
},
"Headers":{
"shape":"HTTPHeaders",
"documentation":"<p>A complex type that contains two values for each header in the sampled web request: the name of the header and the value of the header.</p>"
}
},
"documentation":"<p>The response from a <a>GetSampledRequests</a> request includes an <code>HTTPRequest</code> complex type that appears as <code>Request</code> in the response syntax. <code>HTTPRequest</code> contains information about one of the web requests that were returned by <code>GetSampledRequests</code>. </p>"
},
"HTTPVersion":{"type":"string"},
"HeaderName":{"type":"string"},
"HeaderValue":{"type":"string"},
"IPSet":{
"type":"structure",
"required":[
"IPSetId",
"IPSetDescriptors"
],
"members":{
"IPSetId":{
"shape":"ResourceId",
"documentation":"<p>The <code>IPSetId</code> for an <code>IPSet</code>. You use <code>IPSetId</code> to get information about an <code>IPSet</code> (see <a>GetIPSet</a>), update an <code>IPSet</code> (see <a>UpdateIPSet</a>), insert an <code>IPSet</code> into a <code>Rule</code> or delete one from a <code>Rule</code> (see <a>UpdateRule</a>), and delete an <code>IPSet</code> from AWS WAF (see <a>DeleteIPSet</a>).</p> <p> <code>IPSetId</code> is returned by <a>CreateIPSet</a> and by <a>ListIPSets</a>.</p>"
},
"Name":{
"shape":"ResourceName",
"documentation":"<p>A friendly name or description of the <a>IPSet</a>. You can't change the name of an <code>IPSet</code> after you create it.</p>"
},
"IPSetDescriptors":{
"shape":"IPSetDescriptors",
"documentation":"<p>The IP address type (<code>IPV4</code> or <code>IPV6</code>) and the IP address range (in CIDR notation) that web requests originate from. If the <code>WebACL</code> is associated with a CloudFront distribution and the viewer did not use an HTTP proxy or a load balancer to send the request, this is the value of the c-ip field in the CloudFront access logs.</p>"
}
},
"documentation":"<p>Contains one or more IP addresses or blocks of IP addresses specified in Classless Inter-Domain Routing (CIDR) notation. AWS WAF supports IPv4 address ranges: /8 and any range between /16 through /32. AWS WAF supports IPv6 address ranges: /24, /32, /48, /56, /64, and /128.</p> <p>To specify an individual IP address, you specify the four-part IP address followed by a <code>/32</code>, for example, 192.0.2.0/32. To block a range of IP addresses, you can specify /8 or any range between /16 through /32 (for IPv4) or /24, /32, /48, /56, /64, or /128 (for IPv6). For more information about CIDR notation, see the Wikipedia entry <a href=\"https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing\">Classless Inter-Domain Routing</a>. </p>"
},
"IPSetDescriptor":{
"type":"structure",
"required":[
"Type",
"Value"
],
"members":{
"Type":{
"shape":"IPSetDescriptorType",
"documentation":"<p>Specify <code>IPV4</code> or <code>IPV6</code>.</p>"
},
"Value":{
"shape":"IPSetDescriptorValue",
"documentation":"<p>Specify an IPv4 address by using CIDR notation. For example:</p> <ul> <li> <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> </li> <li> <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 <code>192.0.2.0/24</code>.</p> </li> </ul> <p>For more information about CIDR notation, see the Wikipedia entry <a href=\"https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing\">Classless Inter-Domain Routing</a>.</p> <p>Specify an IPv6 address by using CIDR notation. For example:</p> <ul> <li> <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> </li> <li> <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> </li> </ul>"
}
},
"documentation":"<p>Specifies the IP address type (<code>IPV4</code> or <code>IPV6</code>) and the IP address range (in CIDR format) that web requests originate from.</p>"
},
"IPSetDescriptorType":{
"type":"string",
"enum":[
"IPV4",
"IPV6"
]
},
"IPSetDescriptorValue":{"type":"string"},
"IPSetDescriptors":{
"type":"list",
"member":{"shape":"IPSetDescriptor"}
},
"IPSetSummaries":{
"type":"list",
"member":{"shape":"IPSetSummary"}
},
"IPSetSummary":{
"type":"structure",
"required":[
"IPSetId",
"Name"
],
"members":{
"IPSetId":{
"shape":"ResourceId",
"documentation":"<p>The <code>IPSetId</code> for an <a>IPSet</a>. You can use <code>IPSetId</code> in a <a>GetIPSet</a> request to get detailed information about an <a>IPSet</a>.</p>"
},
"Name":{
"shape":"ResourceName",
"documentation":"<p>A friendly name or description of the <a>IPSet</a>. You can't change the name of an <code>IPSet</code> after you create it.</p>"
}
},
"documentation":"<p>Contains the identifier and the name of the <code>IPSet</code>.</p>"
},
"IPSetUpdate":{
"type":"structure",
"required":[
"Action",
"IPSetDescriptor"
],
"members":{
"Action":{
"shape":"ChangeAction",
"documentation":"<p>Specifies whether to insert or delete an IP address with <a>UpdateIPSet</a>.</p>"
},
"IPSetDescriptor":{
"shape":"IPSetDescriptor",
"documentation":"<p>The IP address type (<code>IPV4</code> or <code>IPV6</code>) and the IP address range (in CIDR notation) that web requests originate from.</p>"
}
},
"documentation":"<p>Specifies the type of update to perform to an <a>IPSet</a> with <a>UpdateIPSet</a>.</p>"
},
"IPSetUpdates":{
"type":"list",
"member":{"shape":"IPSetUpdate"},
"min":1
},
"IPString":{"type":"string"},
"ListActivatedRulesInRuleGroupRequest":{
"type":"structure",
"members":{
"RuleGroupId":{
"shape":"ResourceId",
"documentation":"<p>The <code>RuleGroupId</code> of the <a>RuleGroup</a> for which you want to get a list of <a>ActivatedRule</a> objects.</p>"
},
"NextMarker":{
"shape":"NextMarker",
"documentation":"<p>If you specify a value for <code>Limit</code> and you have more <code>ActivatedRules</code> than the value of <code>Limit</code>, AWS WAF returns a <code>NextMarker</code> value in the response that allows you to list another group of <code>ActivatedRules</code>. For the second and subsequent <code>ListActivatedRulesInRuleGroup</code> requests, specify the value of <code>NextMarker</code> from the previous response to get information about another batch of <code>ActivatedRules</code>.</p>"
},
"Limit":{
"shape":"PaginationLimit",
"documentation":"<p>Specifies the number of <code>ActivatedRules</code> that you want AWS WAF to return for this request. If you have more <code>ActivatedRules</code> than the number that you specify for <code>Limit</code>, the response includes a <code>NextMarker</code> value that you can use to get another batch of <code>ActivatedRules</code>.</p>"
}
}
},
"ListActivatedRulesInRuleGroupResponse":{
"type":"structure",
"members":{
"NextMarker":{
"shape":"NextMarker",
"documentation":"<p>If you have more <code>ActivatedRules</code> than the number that you specified for <code>Limit</code> in the request, the response includes a <code>NextMarker</code> value. To list more <code>ActivatedRules</code>, submit another <code>ListActivatedRulesInRuleGroup</code> request, and specify the <code>NextMarker</code> value from the response in the <code>NextMarker</code> value in the next request.</p>"
},
"ActivatedRules":{
"shape":"ActivatedRules",
"documentation":"<p>An array of <code>ActivatedRules</code> objects.</p>"
}
}
},
"ListByteMatchSetsRequest":{
"type":"structure",
"members":{
"NextMarker":{
"shape":"NextMarker",
"documentation":"<p>If you specify a value for <code>Limit</code> and you have more <code>ByteMatchSets</code> than the value of <code>Limit</code>, AWS WAF returns a <code>NextMarker</code> value in the response that allows you to list another group of <code>ByteMatchSets</code>. For the second and subsequent <code>ListByteMatchSets</code> requests, specify the value of <code>NextMarker</code> from the previous response to get information about another batch of <code>ByteMatchSets</code>.</p>"
},
"Limit":{
"shape":"PaginationLimit",
"documentation":"<p>Specifies the number of <code>ByteMatchSet</code> objects that you want AWS WAF to return for this request. If you have more <code>ByteMatchSets</code> objects than the number you specify for <code>Limit</code>, the response includes a <code>NextMarker</code> value that you can use to get another batch of <code>ByteMatchSet</code> objects.</p>"
}
}
},
"ListByteMatchSetsResponse":{
"type":"structure",
"members":{
"NextMarker":{
"shape":"NextMarker",
"documentation":"<p>If you have more <code>ByteMatchSet</code> objects than the number that you specified for <code>Limit</code> in the request, the response includes a <code>NextMarker</code> value. To list more <code>ByteMatchSet</code> objects, submit another <code>ListByteMatchSets</code> request, and specify the <code>NextMarker</code> value from the response in the <code>NextMarker</code> value in the next request.</p>"
},
"ByteMatchSets":{
"shape":"ByteMatchSetSummaries",
"documentation":"<p>An array of <a>ByteMatchSetSummary</a> objects.</p>"
}
}
},
"ListGeoMatchSetsRequest":{
"type":"structure",
"members":{
"NextMarker":{
"shape":"NextMarker",
"documentation":"<p>If you specify a value for <code>Limit</code> and you have more <code>GeoMatchSet</code>s than the value of <code>Limit</code>, AWS WAF returns a <code>NextMarker</code> value in the response that allows you to list another group of <code>GeoMatchSet</code> objects. For the second and subsequent <code>ListGeoMatchSets</code> requests, specify the value of <code>NextMarker</code> from the previous response to get information about another batch of <code>GeoMatchSet</code> objects.</p>"
},
"Limit":{
"shape":"PaginationLimit",
"documentation":"<p>Specifies the number of <code>GeoMatchSet</code> objects that you want AWS WAF to return for this request. If you have more <code>GeoMatchSet</code> objects than the number you specify for <code>Limit</code>, the response includes a <code>NextMarker</code> value that you can use to get another batch of <code>GeoMatchSet</code> objects.</p>"
}
}
},
"ListGeoMatchSetsResponse":{
"type":"structure",
"members":{
"NextMarker":{
"shape":"NextMarker",
"documentation":"<p>If you have more <code>GeoMatchSet</code> objects than the number that you specified for <code>Limit</code> in the request, the response includes a <code>NextMarker</code> value. To list more <code>GeoMatchSet</code> objects, submit another <code>ListGeoMatchSets</code> request, and specify the <code>NextMarker</code> value from the response in the <code>NextMarker</code> value in the next request.</p>"
},
"GeoMatchSets":{
"shape":"GeoMatchSetSummaries",
"documentation":"<p>An array of <a>GeoMatchSetSummary</a> objects.</p>"
}
}
},
"ListIPSetsRequest":{
"type":"structure",
"members":{
"NextMarker":{
"shape":"NextMarker",
"documentation":"<p>AWS WAF returns a <code>NextMarker</code> value in the response that allows you to list another group of <code>IPSets</code>. For the second and subsequent <code>ListIPSets</code> requests, specify the value of <code>NextMarker</code> from the previous response to get information about another batch of <code>IPSets</code>.</p>"
},
"Limit":{
"shape":"PaginationLimit",
"documentation":"<p>Specifies the number of <code>IPSet</code> objects that you want AWS WAF to return for this request. If you have more <code>IPSet</code> objects than the number you specify for <code>Limit</code>, the response includes a <code>NextMarker</code> value that you can use to get another batch of <code>IPSet</code> objects.</p>"
}
}
},
"ListIPSetsResponse":{
"type":"structure",
"members":{
"NextMarker":{
"shape":"NextMarker",
"documentation":"<p>To list more <code>IPSet</code> objects, submit another <code>ListIPSets</code> request, and in the next request use the <code>NextMarker</code> response value as the <code>NextMarker</code> value.</p>"
},
"IPSets":{
"shape":"IPSetSummaries",
"documentation":"<p>An array of <a>IPSetSummary</a> objects.</p>"
}
}
},
"ListLoggingConfigurationsRequest":{
"type":"structure",
"members":{
"NextMarker":{
"shape":"NextMarker",
"documentation":"<p>If you specify a value for <code>Limit</code> and you have more <code>LoggingConfigurations</code> than the value of <code>Limit</code>, AWS WAF returns a <code>NextMarker</code> value in the response that allows you to list another group of <code>LoggingConfigurations</code>. For the second and subsequent <code>ListLoggingConfigurations</code> requests, specify the value of <code>NextMarker</code> from the previous response to get information about another batch of <code>ListLoggingConfigurations</code>.</p>"
},
"Limit":{
"shape":"PaginationLimit",
"documentation":"<p>Specifies the number of <code>LoggingConfigurations</code> that you want AWS WAF to return for this request. If you have more <code>LoggingConfigurations</code> than the number that you specify for <code>Limit</code>, the response includes a <code>NextMarker</code> value that you can use to get another batch of <code>LoggingConfigurations</code>.</p>"
}
}
},
"ListLoggingConfigurationsResponse":{
"type":"structure",
"members":{
"LoggingConfigurations":{
"shape":"LoggingConfigurations",
"documentation":"<p>An array of <a>LoggingConfiguration</a> objects.</p>"
},
"NextMarker":{
"shape":"NextMarker",
"documentation":"<p>If you have more <code>LoggingConfigurations</code> than the number that you specified for <code>Limit</code> in the request, the response includes a <code>NextMarker</code> value. To list more <code>LoggingConfigurations</code>, submit another <code>ListLoggingConfigurations</code> request, and specify the <code>NextMarker</code> value from the response in the <code>NextMarker</code> value in the next request.</p>"
}
}
},
"ListRateBasedRulesRequest":{
"type":"structure",
"members":{
"NextMarker":{
"shape":"NextMarker",
"documentation":"<p>If you specify a value for <code>Limit</code> and you have more <code>Rules</code> than the value of <code>Limit</code>, AWS WAF returns a <code>NextMarker</code> value in the response that allows you to list another group of <code>Rules</code>. For the second and subsequent <code>ListRateBasedRules</code> requests, specify the value of <code>NextMarker</code> from the previous response to get information about another batch of <code>Rules</code>.</p>"
},
"Limit":{
"shape":"PaginationLimit",
"documentation":"<p>Specifies the number of <code>Rules</code> that you want AWS WAF to return for this request. If you have more <code>Rules</code> than the number that you specify for <code>Limit</code>, the response includes a <code>NextMarker</code> value that you can use to get another batch of <code>Rules</code>.</p>"
}
}
},
"ListRateBasedRulesResponse":{
"type":"structure",
"members":{
"NextMarker":{
"shape":"NextMarker",
"documentation":"<p>If you have more <code>Rules</code> than the number that you specified for <code>Limit</code> in the request, the response includes a <code>NextMarker</code> value. To list more <code>Rules</code>, submit another <code>ListRateBasedRules</code> request, and specify the <code>NextMarker</code> value from the response in the <code>NextMarker</code> value in the next request.</p>"
},
"Rules":{
"shape":"RuleSummaries",
"documentation":"<p>An array of <a>RuleSummary</a> objects.</p>"
}
}
},
"ListRegexMatchSetsRequest":{
"type":"structure",
"members":{
"NextMarker":{
"shape":"NextMarker",
"documentation":"<p>If you specify a value for <code>Limit</code> and you have more <code>RegexMatchSet</code> objects than the value of <code>Limit</code>, AWS WAF returns a <code>NextMarker</code> value in the response that allows you to list another group of <code>ByteMatchSets</code>. For the second and subsequent <code>ListRegexMatchSets</code> requests, specify the value of <code>NextMarker</code> from the previous response to get information about another batch of <code>RegexMatchSet</code> objects.</p>"
},
"Limit":{
"shape":"PaginationLimit",
"documentation":"<p>Specifies the number of <code>RegexMatchSet</code> objects that you want AWS WAF to return for this request. If you have more <code>RegexMatchSet</code> objects than the number you specify for <code>Limit</code>, the response includes a <code>NextMarker</code> value that you can use to get another batch of <code>RegexMatchSet</code> objects.</p>"
}
}
},
"ListRegexMatchSetsResponse":{
"type":"structure",
"members":{
"NextMarker":{
"shape":"NextMarker",
"documentation":"<p>If you have more <code>RegexMatchSet</code> objects than the number that you specified for <code>Limit</code> in the request, the response includes a <code>NextMarker</code> value. To list more <code>RegexMatchSet</code> objects, submit another <code>ListRegexMatchSets</code> request, and specify the <code>NextMarker</code> value from the response in the <code>NextMarker</code> value in the next request.</p>"
},
"RegexMatchSets":{
"shape":"RegexMatchSetSummaries",
"documentation":"<p>An array of <a>RegexMatchSetSummary</a> objects.</p>"
}
}
},
"ListRegexPatternSetsRequest":{
"type":"structure",
"members":{
"NextMarker":{
"shape":"NextMarker",
"documentation":"<p>If you specify a value for <code>Limit</code> and you have more <code>RegexPatternSet</code> objects than the value of <code>Limit</code>, AWS WAF returns a <code>NextMarker</code> value in the response that allows you to list another group of <code>RegexPatternSet</code> objects. For the second and subsequent <code>ListRegexPatternSets</code> requests, specify the value of <code>NextMarker</code> from the previous response to get information about another batch of <code>RegexPatternSet</code> objects.</p>"
},
"Limit":{
"shape":"PaginationLimit",
"documentation":"<p>Specifies the number of <code>RegexPatternSet</code> objects that you want AWS WAF to return for this request. If you have more <code>RegexPatternSet</code> objects than the number you specify for <code>Limit</code>, the response includes a <code>NextMarker</code> value that you can use to get another batch of <code>RegexPatternSet</code> objects.</p>"
}
}
},
"ListRegexPatternSetsResponse":{
"type":"structure",
"members":{
"NextMarker":{
"shape":"NextMarker",
"documentation":"<p>If you have more <code>RegexPatternSet</code> objects than the number that you specified for <code>Limit</code> in the request, the response includes a <code>NextMarker</code> value. To list more <code>RegexPatternSet</code> objects, submit another <code>ListRegexPatternSets</code> request, and specify the <code>NextMarker</code> value from the response in the <code>NextMarker</code> value in the next request.</p>"
},
"RegexPatternSets":{
"shape":"RegexPatternSetSummaries",
"documentation":"<p>An array of <a>RegexPatternSetSummary</a> objects.</p>"
}
}
},
"ListResourcesForWebACLRequest":{
"type":"structure",
"required":["WebACLId"],
"members":{
"WebACLId":{
"shape":"ResourceId",
"documentation":"<p>The unique identifier (ID) of the web ACL for which to list the associated resources.</p>"
},
"ResourceType":{
"shape":"ResourceType",
"documentation":"<p>The type of resource to list, either an application load balancer or Amazon API Gateway.</p>"
}
}
},
"ListResourcesForWebACLResponse":{
"type":"structure",
"members":{
"ResourceArns":{
"shape":"ResourceArns",
"documentation":"<p>An array of ARNs (Amazon Resource Names) of the resources associated with the specified web ACL. An array with zero elements is returned if there are no resources associated with the web ACL.</p>"
}
}
},
"ListRuleGroupsRequest":{
"type":"structure",
"members":{
"NextMarker":{
"shape":"NextMarker",
"documentation":"<p>If you specify a value for <code>Limit</code> and you have more <code>RuleGroups</code> than the value of <code>Limit</code>, AWS WAF returns a <code>NextMarker</code> value in the response that allows you to list another group of <code>RuleGroups</code>. For the second and subsequent <code>ListRuleGroups</code> requests, specify the value of <code>NextMarker</code> from the previous response to get information about another batch of <code>RuleGroups</code>.</p>"
},
"Limit":{
"shape":"PaginationLimit",
"documentation":"<p>Specifies the number of <code>RuleGroups</code> that you want AWS WAF to return for this request. If you have more <code>RuleGroups</code> than the number that you specify for <code>Limit</code>, the response includes a <code>NextMarker</code> value that you can use to get another batch of <code>RuleGroups</code>.</p>"
}
}
},
"ListRuleGroupsResponse":{
"type":"structure",
"members":{
"NextMarker":{
"shape":"NextMarker",
"documentation":"<p>If you have more <code>RuleGroups</code> than the number that you specified for <code>Limit</code> in the request, the response includes a <code>NextMarker</code> value. To list more <code>RuleGroups</code>, submit another <code>ListRuleGroups</code> request, and specify the <code>NextMarker</code> value from the response in the <code>NextMarker</code> value in the next request.</p>"
},
"RuleGroups":{
"shape":"RuleGroupSummaries",
"documentation":"<p>An array of <a>RuleGroup</a> objects.</p>"
}
}
},
"ListRulesRequest":{
"type":"structure",
"members":{
"NextMarker":{
"shape":"NextMarker",
"documentation":"<p>If you specify a value for <code>Limit</code> and you have more <code>Rules</code> than the value of <code>Limit</code>, AWS WAF returns a <code>NextMarker</code> value in the response that allows you to list another group of <code>Rules</code>. For the second and subsequent <code>ListRules</code> requests, specify the value of <code>NextMarker</code> from the previous response to get information about another batch of <code>Rules</code>.</p>"
},
"Limit":{
"shape":"PaginationLimit",
"documentation":"<p>Specifies the number of <code>Rules</code> that you want AWS WAF to return for this request. If you have more <code>Rules</code> than the number that you specify for <code>Limit</code>, the response includes a <code>NextMarker</code> value that you can use to get another batch of <code>Rules</code>.</p>"
}
}
},
"ListRulesResponse":{
"type":"structure",
"members":{
"NextMarker":{
"shape":"NextMarker",
"documentation":"<p>If you have more <code>Rules</code> than the number that you specified for <code>Limit</code> in the request, the response includes a <code>NextMarker</code> value. To list more <code>Rules</code>, submit another <code>ListRules</code> request, and specify the <code>NextMarker</code> value from the response in the <code>NextMarker</code> value in the next request.</p>"
},
"Rules":{
"shape":"RuleSummaries",
"documentation":"<p>An array of <a>RuleSummary</a> objects.</p>"
}
}
},
"ListSizeConstraintSetsRequest":{
"type":"structure",
"members":{
"NextMarker":{
"shape":"NextMarker",
"documentation":"<p>If you specify a value for <code>Limit</code> and you have more <code>SizeConstraintSets</code> than the value of <code>Limit</code>, AWS WAF returns a <code>NextMarker</code> value in the response that allows you to list another group of <code>SizeConstraintSets</code>. For the second and subsequent <code>ListSizeConstraintSets</code> requests, specify the value of <code>NextMarker</code> from the previous response to get information about another batch of <code>SizeConstraintSets</code>.</p>"
},
"Limit":{
"shape":"PaginationLimit",
"documentation":"<p>Specifies the number of <code>SizeConstraintSet</code> objects that you want AWS WAF to return for this request. If you have more <code>SizeConstraintSets</code> objects than the number you specify for <code>Limit</code>, the response includes a <code>NextMarker</code> value that you can use to get another batch of <code>SizeConstraintSet</code> objects.</p>"
}
}
},
"ListSizeConstraintSetsResponse":{
"type":"structure",
"members":{
"NextMarker":{
"shape":"NextMarker",
"documentation":"<p>If you have more <code>SizeConstraintSet</code> objects than the number that you specified for <code>Limit</code> in the request, the response includes a <code>NextMarker</code> value. To list more <code>SizeConstraintSet</code> objects, submit another <code>ListSizeConstraintSets</code> request, and specify the <code>NextMarker</code> value from the response in the <code>NextMarker</code> value in the next request.</p>"
},
"SizeConstraintSets":{
"shape":"SizeConstraintSetSummaries",
"documentation":"<p>An array of <a>SizeConstraintSetSummary</a> objects.</p>"
}
}
},
"ListSqlInjectionMatchSetsRequest":{
"type":"structure",
"members":{
"NextMarker":{
"shape":"NextMarker",
"documentation":"<p>If you specify a value for <code>Limit</code> and you have more <a>SqlInjectionMatchSet</a> objects than the value of <code>Limit</code>, AWS WAF returns a <code>NextMarker</code> value in the response that allows you to list another group of <code>SqlInjectionMatchSets</code>. For the second and subsequent <code>ListSqlInjectionMatchSets</code> requests, specify the value of <code>NextMarker</code> from the previous response to get information about another batch of <code>SqlInjectionMatchSets</code>.</p>"
},
"Limit":{
"shape":"PaginationLimit",
"documentation":"<p>Specifies the number of <a>SqlInjectionMatchSet</a> objects that you want AWS WAF to return for this request. If you have more <code>SqlInjectionMatchSet</code> objects than the number you specify for <code>Limit</code>, the response includes a <code>NextMarker</code> value that you can use to get another batch of <code>Rules</code>.</p>"
}
},
"documentation":"<p>A request to list the <a>SqlInjectionMatchSet</a> objects created by the current AWS account.</p>"
},
"ListSqlInjectionMatchSetsResponse":{
"type":"structure",
"members":{
"NextMarker":{
"shape":"NextMarker",
"documentation":"<p>If you have more <a>SqlInjectionMatchSet</a> objects than the number that you specified for <code>Limit</code> in the request, the response includes a <code>NextMarker</code> value. To list more <code>SqlInjectionMatchSet</code> objects, submit another <code>ListSqlInjectionMatchSets</code> request, and specify the <code>NextMarker</code> value from the response in the <code>NextMarker</code> value in the next request.</p>"
},
"SqlInjectionMatchSets":{
"shape":"SqlInjectionMatchSetSummaries",
"documentation":"<p>An array of <a>SqlInjectionMatchSetSummary</a> objects.</p>"
}
},
"documentation":"<p>The response to a <a>ListSqlInjectionMatchSets</a> request.</p>"
},
"ListSubscribedRuleGroupsRequest":{
"type":"structure",
"members":{
"NextMarker":{
"shape":"NextMarker",
"documentation":"<p>If you specify a value for <code>Limit</code> and you have more <code>ByteMatchSets</code>subscribed rule groups than the value of <code>Limit</code>, AWS WAF returns a <code>NextMarker</code> value in the response that allows you to list another group of subscribed rule groups. For the second and subsequent <code>ListSubscribedRuleGroupsRequest</code> requests, specify the value of <code>NextMarker</code> from the previous response to get information about another batch of subscribed rule groups.</p>"
},
"Limit":{
"shape":"PaginationLimit",
"documentation":"<p>Specifies the number of subscribed rule groups that you want AWS WAF to return for this request. If you have more objects than the number you specify for <code>Limit</code>, the response includes a <code>NextMarker</code> value that you can use to get another batch of objects.</p>"
}
}
},
"ListSubscribedRuleGroupsResponse":{
"type":"structure",
"members":{
"NextMarker":{
"shape":"NextMarker",
"documentation":"<p>If you have more objects than the number that you specified for <code>Limit</code> in the request, the response includes a <code>NextMarker</code> value. To list more objects, submit another <code>ListSubscribedRuleGroups</code> request, and specify the <code>NextMarker</code> value from the response in the <code>NextMarker</code> value in the next request.</p>"
},
"RuleGroups":{
"shape":"SubscribedRuleGroupSummaries",
"documentation":"<p>An array of <a>RuleGroup</a> objects.</p>"
}
}
},
"ListTagsForResourceRequest":{
"type":"structure",
"required":["ResourceARN"],
"members":{
"NextMarker":{"shape":"NextMarker"},
"Limit":{"shape":"PaginationLimit"},
"ResourceARN":{"shape":"ResourceArn"}
}
},
"ListTagsForResourceResponse":{
"type":"structure",
"members":{
"NextMarker":{"shape":"NextMarker"},
"TagInfoForResource":{"shape":"TagInfoForResource"}
}
},
"ListWebACLsRequest":{
"type":"structure",
"members":{
"NextMarker":{
"shape":"NextMarker",
"documentation":"<p>If you specify a value for <code>Limit</code> and you have more <code>WebACL</code> objects than the number that you specify for <code>Limit</code>, AWS WAF returns a <code>NextMarker</code> value in the response that allows you to list another group of <code>WebACL</code> objects. For the second and subsequent <code>ListWebACLs</code> requests, specify the value of <code>NextMarker</code> from the previous response to get information about another batch of <code>WebACL</code> objects.</p>"
},
"Limit":{
"shape":"PaginationLimit",
"documentation":"<p>Specifies the number of <code>WebACL</code> objects that you want AWS WAF to return for this request. If you have more <code>WebACL</code> objects than the number that you specify for <code>Limit</code>, the response includes a <code>NextMarker</code> value that you can use to get another batch of <code>WebACL</code> objects.</p>"
}
}
},
"ListWebACLsResponse":{
"type":"structure",
"members":{
"NextMarker":{
"shape":"NextMarker",
"documentation":"<p>If you have more <code>WebACL</code> objects than the number that you specified for <code>Limit</code> in the request, the response includes a <code>NextMarker</code> value. To list more <code>WebACL</code> objects, submit another <code>ListWebACLs</code> request, and specify the <code>NextMarker</code> value from the response in the <code>NextMarker</code> value in the next request.</p>"
},
"WebACLs":{
"shape":"WebACLSummaries",
"documentation":"<p>An array of <a>WebACLSummary</a> objects.</p>"
}
}
},
"ListXssMatchSetsRequest":{
"type":"structure",
"members":{
"NextMarker":{
"shape":"NextMarker",
"documentation":"<p>If you specify a value for <code>Limit</code> and you have more <a>XssMatchSet</a> objects than the value of <code>Limit</code>, AWS WAF returns a <code>NextMarker</code> value in the response that allows you to list another group of <code>XssMatchSets</code>. For the second and subsequent <code>ListXssMatchSets</code> requests, specify the value of <code>NextMarker</code> from the previous response to get information about another batch of <code>XssMatchSets</code>.</p>"
},
"Limit":{
"shape":"PaginationLimit",
"documentation":"<p>Specifies the number of <a>XssMatchSet</a> objects that you want AWS WAF to return for this request. If you have more <code>XssMatchSet</code> objects than the number you specify for <code>Limit</code>, the response includes a <code>NextMarker</code> value that you can use to get another batch of <code>Rules</code>.</p>"
}
},
"documentation":"<p>A request to list the <a>XssMatchSet</a> objects created by the current AWS account.</p>"
},
"ListXssMatchSetsResponse":{
"type":"structure",
"members":{
"NextMarker":{
"shape":"NextMarker",
"documentation":"<p>If you have more <a>XssMatchSet</a> objects than the number that you specified for <code>Limit</code> in the request, the response includes a <code>NextMarker</code> value. To list more <code>XssMatchSet</code> objects, submit another <code>ListXssMatchSets</code> request, and specify the <code>NextMarker</code> value from the response in the <code>NextMarker</code> value in the next request.</p>"
},
"XssMatchSets":{
"shape":"XssMatchSetSummaries",
"documentation":"<p>An array of <a>XssMatchSetSummary</a> objects.</p>"
}
},
"documentation":"<p>The response to a <a>ListXssMatchSets</a> request.</p>"
},
"LogDestinationConfigs":{
"type":"list",
"member":{"shape":"ResourceArn"},
"max":1,
"min":1
},
"LoggingConfiguration":{
"type":"structure",
"required":[
"ResourceArn",
"LogDestinationConfigs"
],
"members":{
"ResourceArn":{
"shape":"ResourceArn",
"documentation":"<p>The Amazon Resource Name (ARN) of the web ACL that you want to associate with <code>LogDestinationConfigs</code>.</p>"
},
"LogDestinationConfigs":{
"shape":"LogDestinationConfigs",
"documentation":"<p>An array of Amazon Kinesis Data Firehose ARNs.</p>"
},
"RedactedFields":{
"shape":"RedactedFields",
"documentation":"<p>The parts of the request that you want redacted from the logs. For example, if you redact the cookie field, the cookie field in the firehose will be <code>xxx</code>. </p>"
}
},
"documentation":"<p>The Amazon Kinesis Data Firehose, <code>RedactedFields</code> information, and the web ACL Amazon Resource Name (ARN).</p>"
},
"LoggingConfigurations":{
"type":"list",
"member":{"shape":"LoggingConfiguration"}
},
"ManagedKey":{"type":"string"},
"ManagedKeys":{
"type":"list",
"member":{"shape":"ManagedKey"}
},
"MatchFieldData":{"type":"string"},
"MatchFieldType":{
"type":"string",
"enum":[
"URI",
"QUERY_STRING",
"HEADER",
"METHOD",
"BODY",
"SINGLE_QUERY_ARG",
"ALL_QUERY_ARGS"
]
},
"MetricName":{"type":"string"},
"Negated":{"type":"boolean"},
"NextMarker":{
"type":"string",
"min":1
},
"PaginationLimit":{
"type":"integer",
"max":100,
"min":0
},
"ParameterExceptionField":{
"type":"string",
"enum":[
"CHANGE_ACTION",
"WAF_ACTION",
"WAF_OVERRIDE_ACTION",
"PREDICATE_TYPE",
"IPSET_TYPE",
"BYTE_MATCH_FIELD_TYPE",
"SQL_INJECTION_MATCH_FIELD_TYPE",
"BYTE_MATCH_TEXT_TRANSFORMATION",
"BYTE_MATCH_POSITIONAL_CONSTRAINT",
"SIZE_CONSTRAINT_COMPARISON_OPERATOR",
"GEO_MATCH_LOCATION_TYPE",
"GEO_MATCH_LOCATION_VALUE",
"RATE_KEY",
"RULE_TYPE",
"NEXT_MARKER",
"RESOURCE_ARN",
"TAGS",
"TAG_KEYS"
]
},
"ParameterExceptionParameter":{
"type":"string",
"min":1
},
"ParameterExceptionReason":{
"type":"string",
"enum":[
"INVALID_OPTION",
"ILLEGAL_COMBINATION",
"ILLEGAL_ARGUMENT",
"INVALID_TAG_KEY"
]
},
"PolicyString":{
"type":"string",
"min":1
},
"PopulationSize":{"type":"long"},
"PositionalConstraint":{
"type":"string",
"enum":[
"EXACTLY",
"STARTS_WITH",
"ENDS_WITH",
"CONTAINS",
"CONTAINS_WORD"
]
},
"Predicate":{
"type":"structure",
"required":[
"Negated",
"Type",
"DataId"
],
"members":{
"Negated":{
"shape":"Negated",
"documentation":"<p>Set <code>Negated</code> to <code>False</code> if you want AWS WAF to allow, block, or count requests based on the settings in the specified <a>ByteMatchSet</a>, <a>IPSet</a>, <a>SqlInjectionMatchSet</a>, <a>XssMatchSet</a>, <a>RegexMatchSet</a>, <a>GeoMatchSet</a>, or <a>SizeConstraintSet</a>. For example, if an <code>IPSet</code> includes the IP address <code>192.0.2.44</code>, AWS WAF will allow or block requests based on that IP address.</p> <p>Set <code>Negated</code> to <code>True</code> if you want AWS WAF to allow or block a request based on the negation of the settings in the <a>ByteMatchSet</a>, <a>IPSet</a>, <a>SqlInjectionMatchSet</a>, <a>XssMatchSet</a>, <a>RegexMatchSet</a>, <a>GeoMatchSet</a>, or <a>SizeConstraintSet</a>. For example, if an <code>IPSet</code> includes the IP address <code>192.0.2.44</code>, AWS WAF will allow, block, or count requests based on all IP addresses <i>except</i> <code>192.0.2.44</code>.</p>"
},
"Type":{
"shape":"PredicateType",
"documentation":"<p>The type of predicate in a <code>Rule</code>, such as <code>ByteMatch</code> or <code>IPSet</code>.</p>"
},
"DataId":{
"shape":"ResourceId",
"documentation":"<p>A unique identifier for a predicate in a <code>Rule</code>, such as <code>ByteMatchSetId</code> or <code>IPSetId</code>. The ID is returned by the corresponding <code>Create</code> or <code>List</code> command.</p>"
}
},
"documentation":"<p>Specifies the <a>ByteMatchSet</a>, <a>IPSet</a>, <a>SqlInjectionMatchSet</a>, <a>XssMatchSet</a>, <a>RegexMatchSet</a>, <a>GeoMatchSet</a>, and <a>SizeConstraintSet</a> objects that you want to add to a <code>Rule</code> and, for each object, indicates whether you want to negate the settings, for example, requests that do NOT originate from the IP address 192.0.2.44. </p>"
},
"PredicateType":{
"type":"string",
"enum":[
"IPMatch",
"ByteMatch",
"SqlInjectionMatch",
"GeoMatch",
"SizeConstraint",
"XssMatch",
"RegexMatch"
]
},
"Predicates":{
"type":"list",
"member":{"shape":"Predicate"}
},
"PutLoggingConfigurationRequest":{
"type":"structure",
"required":["LoggingConfiguration"],
"members":{
"LoggingConfiguration":{
"shape":"LoggingConfiguration",
"documentation":"<p>The Amazon Kinesis Data Firehose that contains the inspected traffic information, the redacted fields details, and the Amazon Resource Name (ARN) of the web ACL to monitor.</p> <note> <p>When specifying <code>Type</code> in <code>RedactedFields</code>, you must use one of the following values: <code>URI</code>, <code>QUERY_STRING</code>, <code>HEADER</code>, or <code>METHOD</code>.</p> </note>"
}
}
},
"PutLoggingConfigurationResponse":{
"type":"structure",
"members":{
"LoggingConfiguration":{
"shape":"LoggingConfiguration",
"documentation":"<p>The <a>LoggingConfiguration</a> that you submitted in the request.</p>"
}
}
},
"PutPermissionPolicyRequest":{
"type":"structure",
"required":[
"ResourceArn",
"Policy"
],
"members":{
"ResourceArn":{
"shape":"ResourceArn",
"documentation":"<p>The Amazon Resource Name (ARN) of the RuleGroup to which you want to attach the policy.</p>"
},
"Policy":{
"shape":"PolicyString",
"documentation":"<p>The policy to attach to the specified RuleGroup.</p>"
}
}
},
"PutPermissionPolicyResponse":{
"type":"structure",
"members":{
}
},
"RateBasedRule":{
"type":"structure",
"required":[
"RuleId",
"MatchPredicates",
"RateKey",
"RateLimit"
],
"members":{
"RuleId":{
"shape":"ResourceId",
"documentation":"<p>A unique identifier for a <code>RateBasedRule</code>. You use <code>RuleId</code> to get more information about a <code>RateBasedRule</code> (see <a>GetRateBasedRule</a>), update a <code>RateBasedRule</code> (see <a>UpdateRateBasedRule</a>), insert a <code>RateBasedRule</code> into a <code>WebACL</code> or delete one from a <code>WebACL</code> (see <a>UpdateWebACL</a>), or delete a <code>RateBasedRule</code> from AWS WAF (see <a>DeleteRateBasedRule</a>).</p>"
},
"Name":{
"shape":"ResourceName",
"documentation":"<p>A friendly name or description for a <code>RateBasedRule</code>. You can't change the name of a <code>RateBasedRule</code> after you create it.</p>"
},
"MetricName":{
"shape":"MetricName",
"documentation":"<p>A friendly name or description for the metrics for a <code>RateBasedRule</code>. The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain whitespace or metric names reserved for AWS WAF, including \"All\" and \"Default_Action.\" You can't change the name of the metric after you create the <code>RateBasedRule</code>.</p>"
},
"MatchPredicates":{
"shape":"Predicates",
"documentation":"<p>The <code>Predicates</code> object contains one <code>Predicate</code> element for each <a>ByteMatchSet</a>, <a>IPSet</a>, or <a>SqlInjectionMatchSet</a> object that you want to include in a <code>RateBasedRule</code>.</p>"
},
"RateKey":{
"shape":"RateKey",
"documentation":"<p>The field that AWS WAF uses to determine if requests are likely arriving from single source and thus subject to rate monitoring. The only valid value for <code>RateKey</code> is <code>IP</code>. <code>IP</code> indicates that requests arriving from the same IP address are subject to the <code>RateLimit</code> that is specified in the <code>RateBasedRule</code>.</p>"
},
"RateLimit":{
"shape":"RateLimit",
"documentation":"<p>The maximum number of requests, which have an identical value in the field specified by the <code>RateKey</code>, allowed in a five-minute period. If the number of requests exceeds the <code>RateLimit</code> and the other predicates specified in the rule are also met, AWS WAF triggers the action that is specified for this rule.</p>"
}
},
"documentation":"<p>A <code>RateBasedRule</code> is identical to a regular <a>Rule</a>, with one addition: a <code>RateBasedRule</code> counts the number of requests that arrive from a specified IP address every five minutes. For example, based on recent requests that you've seen from an attacker, you might create a <code>RateBasedRule</code> that includes the following conditions: </p> <ul> <li> <p>The requests come from 192.0.2.44.</p> </li> <li> <p>They contain the value <code>BadBot</code> in the <code>User-Agent</code> header.</p> </li> </ul> <p>In the rule, you also define the rate limit as 15,000.</p> <p>Requests that meet both of these conditions and exceed 15,000 requests every five minutes trigger the rule's action (block or count), which is defined in the web ACL.</p>"
},
"RateKey":{
"type":"string",
"enum":["IP"]
},
"RateLimit":{
"type":"long",
"max":2000000000,
"min":100
},
"RedactedFields":{
"type":"list",
"member":{"shape":"FieldToMatch"}
},
"RegexMatchSet":{
"type":"structure",
"members":{
"RegexMatchSetId":{
"shape":"ResourceId",
"documentation":"<p>The <code>RegexMatchSetId</code> for a <code>RegexMatchSet</code>. You use <code>RegexMatchSetId</code> to get information about a <code>RegexMatchSet</code> (see <a>GetRegexMatchSet</a>), update a <code>RegexMatchSet</code> (see <a>UpdateRegexMatchSet</a>), insert a <code>RegexMatchSet</code> into a <code>Rule</code> or delete one from a <code>Rule</code> (see <a>UpdateRule</a>), and delete a <code>RegexMatchSet</code> from AWS WAF (see <a>DeleteRegexMatchSet</a>).</p> <p> <code>RegexMatchSetId</code> is returned by <a>CreateRegexMatchSet</a> and by <a>ListRegexMatchSets</a>.</p>"
},
"Name":{
"shape":"ResourceName",
"documentation":"<p>A friendly name or description of the <a>RegexMatchSet</a>. You can't change <code>Name</code> after you create a <code>RegexMatchSet</code>.</p>"
},
"RegexMatchTuples":{
"shape":"RegexMatchTuples",
"documentation":"<p>Contains an array of <a>RegexMatchTuple</a> objects. Each <code>RegexMatchTuple</code> object contains: </p> <ul> <li> <p>The part of a web request that you want AWS WAF to inspect, such as a query string or the value of the <code>User-Agent</code> header. </p> </li> <li> <p>The identifier of the pattern (a regular expression) that you want AWS WAF to look for. For more information, see <a>RegexPatternSet</a>.</p> </li> <li> <p>Whether to perform any conversions on the request, such as converting it to lowercase, before inspecting it for the specified string.</p> </li> </ul>"
}
},
"documentation":"<p>In a <a>GetRegexMatchSet</a> request, <code>RegexMatchSet</code> is a complex type that contains the <code>RegexMatchSetId</code> and <code>Name</code> of a <code>RegexMatchSet</code>, and the values that you specified when you updated the <code>RegexMatchSet</code>.</p> <p> The values are contained in a <code>RegexMatchTuple</code> object, which specify the parts of web requests that you want AWS WAF to inspect and the values that you want AWS WAF to search for. If a <code>RegexMatchSet</code> contains more than one <code>RegexMatchTuple</code> object, a request needs to match the settings in only one <code>ByteMatchTuple</code> to be considered a match.</p>"
},
"RegexMatchSetSummaries":{
"type":"list",
"member":{"shape":"RegexMatchSetSummary"}
},
"RegexMatchSetSummary":{
"type":"structure",
"required":[
"RegexMatchSetId",
"Name"
],
"members":{
"RegexMatchSetId":{
"shape":"ResourceId",
"documentation":"<p>The <code>RegexMatchSetId</code> for a <code>RegexMatchSet</code>. You use <code>RegexMatchSetId</code> to get information about a <code>RegexMatchSet</code>, update a <code>RegexMatchSet</code>, remove a <code>RegexMatchSet</code> from a <code>Rule</code>, and delete a <code>RegexMatchSet</code> from AWS WAF.</p> <p> <code>RegexMatchSetId</code> is returned by <a>CreateRegexMatchSet</a> and by <a>ListRegexMatchSets</a>.</p>"
},
"Name":{
"shape":"ResourceName",
"documentation":"<p>A friendly name or description of the <a>RegexMatchSet</a>. You can't change <code>Name</code> after you create a <code>RegexMatchSet</code>.</p>"
}
},
"documentation":"<p>Returned by <a>ListRegexMatchSets</a>. Each <code>RegexMatchSetSummary</code> object includes the <code>Name</code> and <code>RegexMatchSetId</code> for one <a>RegexMatchSet</a>.</p>"
},
"RegexMatchSetUpdate":{
"type":"structure",
"required":[
"Action",
"RegexMatchTuple"
],
"members":{
"Action":{
"shape":"ChangeAction",
"documentation":"<p>Specifies whether to insert or delete a <a>RegexMatchTuple</a>.</p>"
},
"RegexMatchTuple":{
"shape":"RegexMatchTuple",
"documentation":"<p>Information about the part of a web request that you want AWS WAF to inspect and the identifier of the regular expression (regex) pattern that you want AWS WAF to search for. If you specify <code>DELETE</code> for the value of <code>Action</code>, the <code>RegexMatchTuple</code> values must exactly match the values in the <code>RegexMatchTuple</code> that you want to delete from the <code>RegexMatchSet</code>.</p>"
}
},
"documentation":"<p>In an <a>UpdateRegexMatchSet</a> request, <code>RegexMatchSetUpdate</code> specifies whether to insert or delete a <a>RegexMatchTuple</a> and includes the settings for the <code>RegexMatchTuple</code>.</p>"
},
"RegexMatchSetUpdates":{
"type":"list",
"member":{"shape":"RegexMatchSetUpdate"},
"min":1
},
"RegexMatchTuple":{
"type":"structure",
"required":[
"FieldToMatch",
"TextTransformation",
"RegexPatternSetId"
],
"members":{
"FieldToMatch":{
"shape":"FieldToMatch",
"documentation":"<p>Specifies where in a web request to look for the <code>RegexPatternSet</code>.</p>"
},
"TextTransformation":{
"shape":"TextTransformation",
"documentation":"<p>Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass AWS WAF. If you specify a transformation, AWS WAF performs the transformation on <code>RegexPatternSet</code> before inspecting a request for a match.</p> <p>You can only specify a single type of TextTransformation.</p> <p> <b>CMD_LINE</b> </p> <p>When you're concerned that attackers are injecting an operating system commandline command and using unusual formatting to disguise some or all of the command, use this option to perform the following transformations:</p> <ul> <li> <p>Delete the following characters: \\ \" ' ^</p> </li> <li> <p>Delete spaces before the following characters: / (</p> </li> <li> <p>Replace the following characters with a space: , ;</p> </li> <li> <p>Replace multiple spaces with one space</p> </li> <li> <p>Convert uppercase letters (A-Z) to lowercase (a-z)</p> </li> </ul> <p> <b>COMPRESS_WHITE_SPACE</b> </p> <p>Use this option to replace the following characters with a space character (decimal 32):</p> <ul> <li> <p>\\f, formfeed, decimal 12</p> </li> <li> <p>\\t, tab, decimal 9</p> </li> <li> <p>\\n, newline, decimal 10</p> </li> <li> <p>\\r, carriage return, decimal 13</p> </li> <li> <p>\\v, vertical tab, decimal 11</p> </li> <li> <p>non-breaking space, decimal 160</p> </li> </ul> <p> <code>COMPRESS_WHITE_SPACE</code> also replaces multiple spaces with one space.</p> <p> <b>HTML_ENTITY_DECODE</b> </p> <p>Use this option to replace HTML-encoded characters with unencoded characters. <code>HTML_ENTITY_DECODE</code> performs the following operations:</p> <ul> <li> <p>Replaces <code>(ampersand)quot;</code> with <code>\"</code> </p> </li> <li> <p>Replaces <code>(ampersand)nbsp;</code> with a non-breaking space, decimal 160</p> </li> <li> <p>Replaces <code>(ampersand)lt;</code> with a \"less than\" symbol</p> </li> <li> <p>Replaces <code>(ampersand)gt;</code> with <code>&gt;</code> </p> </li> <li> <p>Replaces characters that are represented in hexadecimal format, <code>(ampersand)#xhhhh;</code>, with the corresponding characters</p> </li> <li> <p>Replaces characters that are represented in decimal format, <code>(ampersand)#nnnn;</code>, with the corresponding characters</p> </li> </ul> <p> <b>LOWERCASE</b> </p> <p>Use this option to convert uppercase letters (A-Z) to lowercase (a-z).</p> <p> <b>URL_DECODE</b> </p> <p>Use this option to decode a URL-encoded value.</p> <p> <b>NONE</b> </p> <p>Specify <code>NONE</code> if you don't want to perform any text transformations.</p>"
},
"RegexPatternSetId":{
"shape":"ResourceId",
"documentation":"<p>The <code>RegexPatternSetId</code> for a <code>RegexPatternSet</code>. You use <code>RegexPatternSetId</code> to get information about a <code>RegexPatternSet</code> (see <a>GetRegexPatternSet</a>), update a <code>RegexPatternSet</code> (see <a>UpdateRegexPatternSet</a>), insert a <code>RegexPatternSet</code> into a <code>RegexMatchSet</code> or delete one from a <code>RegexMatchSet</code> (see <a>UpdateRegexMatchSet</a>), and delete an <code>RegexPatternSet</code> from AWS WAF (see <a>DeleteRegexPatternSet</a>).</p> <p> <code>RegexPatternSetId</code> is returned by <a>CreateRegexPatternSet</a> and by <a>ListRegexPatternSets</a>.</p>"
}
},
"documentation":"<p>The regular expression pattern that you want AWS WAF to search for in web requests, the location in requests that you want AWS WAF to search, and other settings. Each <code>RegexMatchTuple</code> object contains: </p> <ul> <li> <p>The part of a web request that you want AWS WAF to inspect, such as a query string or the value of the <code>User-Agent</code> header. </p> </li> <li> <p>The identifier of the pattern (a regular expression) that you want AWS WAF to look for. For more information, see <a>RegexPatternSet</a>. </p> </li> <li> <p>Whether to perform any conversions on the request, such as converting it to lowercase, before inspecting it for the specified string.</p> </li> </ul>"
},
"RegexMatchTuples":{
"type":"list",
"member":{"shape":"RegexMatchTuple"}
},
"RegexPatternSet":{
"type":"structure",
"required":[
"RegexPatternSetId",
"RegexPatternStrings"
],
"members":{
"RegexPatternSetId":{
"shape":"ResourceId",
"documentation":"<p>The identifier for the <code>RegexPatternSet</code>. You use <code>RegexPatternSetId</code> to get information about a <code>RegexPatternSet</code>, update a <code>RegexPatternSet</code>, remove a <code>RegexPatternSet</code> from a <code>RegexMatchSet</code>, and delete a <code>RegexPatternSet</code> from AWS WAF.</p> <p> <code>RegexMatchSetId</code> is returned by <a>CreateRegexPatternSet</a> and by <a>ListRegexPatternSets</a>.</p>"
},
"Name":{
"shape":"ResourceName",
"documentation":"<p>A friendly name or description of the <a>RegexPatternSet</a>. You can't change <code>Name</code> after you create a <code>RegexPatternSet</code>.</p>"
},
"RegexPatternStrings":{
"shape":"RegexPatternStrings",
"documentation":"<p>Specifies the regular expression (regex) patterns that you want AWS WAF to search for, such as <code>B[a@]dB[o0]t</code>.</p>"
}
},
"documentation":"<p>The <code>RegexPatternSet</code> specifies the regular expression (regex) pattern that you want AWS WAF to search for, such as <code>B[a@]dB[o0]t</code>. You can then configure AWS WAF to reject those requests.</p>"
},
"RegexPatternSetSummaries":{
"type":"list",
"member":{"shape":"RegexPatternSetSummary"}
},
"RegexPatternSetSummary":{
"type":"structure",
"required":[
"RegexPatternSetId",
"Name"
],
"members":{
"RegexPatternSetId":{
"shape":"ResourceId",
"documentation":"<p>The <code>RegexPatternSetId</code> for a <code>RegexPatternSet</code>. You use <code>RegexPatternSetId</code> to get information about a <code>RegexPatternSet</code>, update a <code>RegexPatternSet</code>, remove a <code>RegexPatternSet</code> from a <code>RegexMatchSet</code>, and delete a <code>RegexPatternSet</code> from AWS WAF.</p> <p> <code>RegexPatternSetId</code> is returned by <a>CreateRegexPatternSet</a> and by <a>ListRegexPatternSets</a>.</p>"
},
"Name":{
"shape":"ResourceName",
"documentation":"<p>A friendly name or description of the <a>RegexPatternSet</a>. You can't change <code>Name</code> after you create a <code>RegexPatternSet</code>.</p>"
}
},
"documentation":"<p>Returned by <a>ListRegexPatternSets</a>. Each <code>RegexPatternSetSummary</code> object includes the <code>Name</code> and <code>RegexPatternSetId</code> for one <a>RegexPatternSet</a>.</p>"
},
"RegexPatternSetUpdate":{
"type":"structure",
"required":[
"Action",
"RegexPatternString"
],
"members":{
"Action":{
"shape":"ChangeAction",
"documentation":"<p>Specifies whether to insert or delete a <code>RegexPatternString</code>.</p>"
},
"RegexPatternString":{
"shape":"RegexPatternString",
"documentation":"<p>Specifies the regular expression (regex) pattern that you want AWS WAF to search for, such as <code>B[a@]dB[o0]t</code>.</p>"
}
},
"documentation":"<p>In an <a>UpdateRegexPatternSet</a> request, <code>RegexPatternSetUpdate</code> specifies whether to insert or delete a <code>RegexPatternString</code> and includes the settings for the <code>RegexPatternString</code>.</p>"
},
"RegexPatternSetUpdates":{
"type":"list",
"member":{"shape":"RegexPatternSetUpdate"},
"min":1
},
"RegexPatternString":{
"type":"string",
"min":1
},
"RegexPatternStrings":{
"type":"list",
"member":{"shape":"RegexPatternString"},
"max":10
},
"ResourceArn":{
"type":"string",
"max":1224,
"min":1
},
"ResourceArns":{
"type":"list",
"member":{"shape":"ResourceArn"}
},
"ResourceId":{
"type":"string",
"max":128,
"min":1
},
"ResourceName":{
"type":"string",
"max":128,
"min":1
},
"ResourceType":{
"type":"string",
"enum":[
"APPLICATION_LOAD_BALANCER",
"API_GATEWAY"
]
},
"Rule":{
"type":"structure",
"required":[
"RuleId",
"Predicates"
],
"members":{
"RuleId":{
"shape":"ResourceId",
"documentation":"<p>A unique identifier for a <code>Rule</code>. You use <code>RuleId</code> to get more information about a <code>Rule</code> (see <a>GetRule</a>), update a <code>Rule</code> (see <a>UpdateRule</a>), insert a <code>Rule</code> into a <code>WebACL</code> or delete a one from a <code>WebACL</code> (see <a>UpdateWebACL</a>), or delete a <code>Rule</code> from AWS WAF (see <a>DeleteRule</a>).</p> <p> <code>RuleId</code> is returned by <a>CreateRule</a> and by <a>ListRules</a>.</p>"
},
"Name":{
"shape":"ResourceName",
"documentation":"<p>The friendly name or description for the <code>Rule</code>. You can't change the name of a <code>Rule</code> after you create it.</p>"
},
"MetricName":{
"shape":"MetricName",
"documentation":"<p>A friendly name or description for the metrics for this <code>Rule</code>. The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain whitespace or metric names reserved for AWS WAF, including \"All\" and \"Default_Action.\" You can't change <code>MetricName</code> after you create the <code>Rule</code>.</p>"
},
"Predicates":{
"shape":"Predicates",
"documentation":"<p>The <code>Predicates</code> object contains one <code>Predicate</code> element for each <a>ByteMatchSet</a>, <a>IPSet</a>, or <a>SqlInjectionMatchSet</a> object that you want to include in a <code>Rule</code>.</p>"
}
},
"documentation":"<p>A combination of <a>ByteMatchSet</a>, <a>IPSet</a>, and/or <a>SqlInjectionMatchSet</a> objects that identify the web requests that you want to allow, block, or count. For example, you might create a <code>Rule</code> that includes the following predicates:</p> <ul> <li> <p>An <code>IPSet</code> that causes AWS WAF to search for web requests that originate from the IP address <code>192.0.2.44</code> </p> </li> <li> <p>A <code>ByteMatchSet</code> that causes AWS WAF to search for web requests for which the value of the <code>User-Agent</code> header is <code>BadBot</code>.</p> </li> </ul> <p>To match the settings in this <code>Rule</code>, a request must originate from <code>192.0.2.44</code> AND include a <code>User-Agent</code> header for which the value is <code>BadBot</code>.</p>"
},
"RuleGroup":{
"type":"structure",
"required":["RuleGroupId"],
"members":{
"RuleGroupId":{
"shape":"ResourceId",
"documentation":"<p>A unique identifier for a <code>RuleGroup</code>. You use <code>RuleGroupId</code> to get more information about a <code>RuleGroup</code> (see <a>GetRuleGroup</a>), update a <code>RuleGroup</code> (see <a>UpdateRuleGroup</a>), insert a <code>RuleGroup</code> into a <code>WebACL</code> or delete a one from a <code>WebACL</code> (see <a>UpdateWebACL</a>), or delete a <code>RuleGroup</code> from AWS WAF (see <a>DeleteRuleGroup</a>).</p> <p> <code>RuleGroupId</code> is returned by <a>CreateRuleGroup</a> and by <a>ListRuleGroups</a>.</p>"
},
"Name":{
"shape":"ResourceName",
"documentation":"<p>The friendly name or description for the <code>RuleGroup</code>. You can't change the name of a <code>RuleGroup</code> after you create it.</p>"
},
"MetricName":{
"shape":"MetricName",
"documentation":"<p>A friendly name or description for the metrics for this <code>RuleGroup</code>. The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain whitespace or metric names reserved for AWS WAF, including \"All\" and \"Default_Action.\" You can't change the name of the metric after you create the <code>RuleGroup</code>.</p>"
}
},
"documentation":"<p>A collection of predefined rules that you can add to a web ACL.</p> <p>Rule groups are subject to the following limits:</p> <ul> <li> <p>Three rule groups per account. You can request an increase to this limit by contacting customer support.</p> </li> <li> <p>One rule group per web ACL.</p> </li> <li> <p>Ten rules per rule group.</p> </li> </ul>"
},
"RuleGroupSummaries":{
"type":"list",
"member":{"shape":"RuleGroupSummary"}
},
"RuleGroupSummary":{
"type":"structure",
"required":[
"RuleGroupId",
"Name"
],
"members":{
"RuleGroupId":{
"shape":"ResourceId",
"documentation":"<p>A unique identifier for a <code>RuleGroup</code>. You use <code>RuleGroupId</code> to get more information about a <code>RuleGroup</code> (see <a>GetRuleGroup</a>), update a <code>RuleGroup</code> (see <a>UpdateRuleGroup</a>), insert a <code>RuleGroup</code> into a <code>WebACL</code> or delete one from a <code>WebACL</code> (see <a>UpdateWebACL</a>), or delete a <code>RuleGroup</code> from AWS WAF (see <a>DeleteRuleGroup</a>).</p> <p> <code>RuleGroupId</code> is returned by <a>CreateRuleGroup</a> and by <a>ListRuleGroups</a>.</p>"
},
"Name":{
"shape":"ResourceName",
"documentation":"<p>A friendly name or description of the <a>RuleGroup</a>. You can't change the name of a <code>RuleGroup</code> after you create it.</p>"
}
},
"documentation":"<p>Contains the identifier and the friendly name or description of the <code>RuleGroup</code>.</p>"
},
"RuleGroupUpdate":{
"type":"structure",
"required":[
"Action",
"ActivatedRule"
],
"members":{
"Action":{
"shape":"ChangeAction",
"documentation":"<p>Specify <code>INSERT</code> to add an <code>ActivatedRule</code> to a <code>RuleGroup</code>. Use <code>DELETE</code> to remove an <code>ActivatedRule</code> from a <code>RuleGroup</code>.</p>"
},
"ActivatedRule":{
"shape":"ActivatedRule",
"documentation":"<p>The <code>ActivatedRule</code> object specifies a <code>Rule</code> that you want to insert or delete, the priority of the <code>Rule</code> in the <code>WebACL</code>, and the action that you want AWS WAF to take when a web request matches the <code>Rule</code> (<code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>).</p>"
}
},
"documentation":"<p>Specifies an <code>ActivatedRule</code> and indicates whether you want to add it to a <code>RuleGroup</code> or delete it from a <code>RuleGroup</code>.</p>"
},
"RuleGroupUpdates":{
"type":"list",
"member":{"shape":"RuleGroupUpdate"},
"min":1
},
"RulePriority":{"type":"integer"},
"RuleSummaries":{
"type":"list",
"member":{"shape":"RuleSummary"}
},
"RuleSummary":{
"type":"structure",
"required":[
"RuleId",
"Name"
],
"members":{
"RuleId":{
"shape":"ResourceId",
"documentation":"<p>A unique identifier for a <code>Rule</code>. You use <code>RuleId</code> to get more information about a <code>Rule</code> (see <a>GetRule</a>), update a <code>Rule</code> (see <a>UpdateRule</a>), insert a <code>Rule</code> into a <code>WebACL</code> or delete one from a <code>WebACL</code> (see <a>UpdateWebACL</a>), or delete a <code>Rule</code> from AWS WAF (see <a>DeleteRule</a>).</p> <p> <code>RuleId</code> is returned by <a>CreateRule</a> and by <a>ListRules</a>.</p>"
},
"Name":{
"shape":"ResourceName",
"documentation":"<p>A friendly name or description of the <a>Rule</a>. You can't change the name of a <code>Rule</code> after you create it.</p>"
}
},
"documentation":"<p>Contains the identifier and the friendly name or description of the <code>Rule</code>.</p>"
},
"RuleUpdate":{
"type":"structure",
"required":[
"Action",
"Predicate"
],
"members":{
"Action":{
"shape":"ChangeAction",
"documentation":"<p>Specify <code>INSERT</code> to add a <code>Predicate</code> to a <code>Rule</code>. Use <code>DELETE</code> to remove a <code>Predicate</code> from a <code>Rule</code>.</p>"
},
"Predicate":{
"shape":"Predicate",
"documentation":"<p>The ID of the <code>Predicate</code> (such as an <code>IPSet</code>) that you want to add to a <code>Rule</code>.</p>"
}
},
"documentation":"<p>Specifies a <code>Predicate</code> (such as an <code>IPSet</code>) and indicates whether you want to add it to a <code>Rule</code> or delete it from a <code>Rule</code>.</p>"
},
"RuleUpdates":{
"type":"list",
"member":{"shape":"RuleUpdate"}
},
"SampleWeight":{
"type":"long",
"min":0
},
"SampledHTTPRequest":{
"type":"structure",
"required":[
"Request",
"Weight"
],
"members":{
"Request":{
"shape":"HTTPRequest",
"documentation":"<p>A complex type that contains detailed information about the request.</p>"
},
"Weight":{
"shape":"SampleWeight",
"documentation":"<p>A value that indicates how one result in the response relates proportionally to other results in the response. A result that has a weight of <code>2</code> represents roughly twice as many CloudFront web requests as a result that has a weight of <code>1</code>.</p>"
},
"Timestamp":{
"shape":"Timestamp",
"documentation":"<p>The time at which AWS WAF received the request from your AWS resource, in Unix time format (in seconds).</p>"
},
"Action":{
"shape":"Action",
"documentation":"<p>The action for the <code>Rule</code> that the request matched: <code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>.</p>"
},
"RuleWithinRuleGroup":{
"shape":"ResourceId",
"documentation":"<p>This value is returned if the <code>GetSampledRequests</code> request specifies the ID of a <code>RuleGroup</code> rather than the ID of an individual rule. <code>RuleWithinRuleGroup</code> is the rule within the specified <code>RuleGroup</code> that matched the request listed in the response.</p>"
}
},
"documentation":"<p>The response from a <a>GetSampledRequests</a> request includes a <code>SampledHTTPRequests</code> complex type that appears as <code>SampledRequests</code> in the response syntax. <code>SampledHTTPRequests</code> contains one <code>SampledHTTPRequest</code> object for each web request that is returned by <code>GetSampledRequests</code>.</p>"
},
"SampledHTTPRequests":{
"type":"list",
"member":{"shape":"SampledHTTPRequest"}
},
"Size":{
"type":"long",
"max":21474836480,
"min":0
},
"SizeConstraint":{
"type":"structure",
"required":[
"FieldToMatch",
"TextTransformation",
"ComparisonOperator",
"Size"
],
"members":{
"FieldToMatch":{
"shape":"FieldToMatch",
"documentation":"<p>Specifies where in a web request to look for the size constraint.</p>"
},
"TextTransformation":{
"shape":"TextTransformation",
"documentation":"<p>Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass AWS WAF. If you specify a transformation, AWS WAF performs the transformation on <code>FieldToMatch</code> before inspecting a request for a match.</p> <p>You can only specify a single type of TextTransformation.</p> <p>Note that if you choose <code>BODY</code> for the value of <code>Type</code>, you must choose <code>NONE</code> for <code>TextTransformation</code> because CloudFront forwards only the first 8192 bytes for inspection. </p> <p> <b>NONE</b> </p> <p>Specify <code>NONE</code> if you don't want to perform any text transformations.</p> <p> <b>CMD_LINE</b> </p> <p>When you're concerned that attackers are injecting an operating system command line command and using unusual formatting to disguise some or all of the command, use this option to perform the following transformations:</p> <ul> <li> <p>Delete the following characters: \\ \" ' ^</p> </li> <li> <p>Delete spaces before the following characters: / (</p> </li> <li> <p>Replace the following characters with a space: , ;</p> </li> <li> <p>Replace multiple spaces with one space</p> </li> <li> <p>Convert uppercase letters (A-Z) to lowercase (a-z)</p> </li> </ul> <p> <b>COMPRESS_WHITE_SPACE</b> </p> <p>Use this option to replace the following characters with a space character (decimal 32):</p> <ul> <li> <p>\\f, formfeed, decimal 12</p> </li> <li> <p>\\t, tab, decimal 9</p> </li> <li> <p>\\n, newline, decimal 10</p> </li> <li> <p>\\r, carriage return, decimal 13</p> </li> <li> <p>\\v, vertical tab, decimal 11</p> </li> <li> <p>non-breaking space, decimal 160</p> </li> </ul> <p> <code>COMPRESS_WHITE_SPACE</code> also replaces multiple spaces with one space.</p> <p> <b>HTML_ENTITY_DECODE</b> </p> <p>Use this option to replace HTML-encoded characters with unencoded characters. <code>HTML_ENTITY_DECODE</code> performs the following operations:</p> <ul> <li> <p>Replaces <code>(ampersand)quot;</code> with <code>\"</code> </p> </li> <li> <p>Replaces <code>(ampersand)nbsp;</code> with a non-breaking space, decimal 160</p> </li> <li> <p>Replaces <code>(ampersand)lt;</code> with a \"less than\" symbol</p> </li> <li> <p>Replaces <code>(ampersand)gt;</code> with <code>&gt;</code> </p> </li> <li> <p>Replaces characters that are represented in hexadecimal format, <code>(ampersand)#xhhhh;</code>, with the corresponding characters</p> </li> <li> <p>Replaces characters that are represented in decimal format, <code>(ampersand)#nnnn;</code>, with the corresponding characters</p> </li> </ul> <p> <b>LOWERCASE</b> </p> <p>Use this option to convert uppercase letters (A-Z) to lowercase (a-z).</p> <p> <b>URL_DECODE</b> </p> <p>Use this option to decode a URL-encoded value.</p>"
},
"ComparisonOperator":{
"shape":"ComparisonOperator",
"documentation":"<p>The type of comparison you want AWS WAF to perform. AWS WAF uses this in combination with the provided <code>Size</code> and <code>FieldToMatch</code> to build an expression in the form of \"<code>Size</code> <code>ComparisonOperator</code> size in bytes of <code>FieldToMatch</code>\". If that expression is true, the <code>SizeConstraint</code> is considered to match.</p> <p> <b>EQ</b>: Used to test if the <code>Size</code> is equal to the size of the <code>FieldToMatch</code> </p> <p> <b>NE</b>: Used to test if the <code>Size</code> is not equal to the size of the <code>FieldToMatch</code> </p> <p> <b>LE</b>: Used to test if the <code>Size</code> is less than or equal to the size of the <code>FieldToMatch</code> </p> <p> <b>LT</b>: Used to test if the <code>Size</code> is strictly less than the size of the <code>FieldToMatch</code> </p> <p> <b>GE</b>: Used to test if the <code>Size</code> is greater than or equal to the size of the <code>FieldToMatch</code> </p> <p> <b>GT</b>: Used to test if the <code>Size</code> is strictly greater than the size of the <code>FieldToMatch</code> </p>"
},
"Size":{
"shape":"Size",
"documentation":"<p>The size in bytes that you want AWS WAF to compare against the size of the specified <code>FieldToMatch</code>. AWS WAF uses this in combination with <code>ComparisonOperator</code> and <code>FieldToMatch</code> to build an expression in the form of \"<code>Size</code> <code>ComparisonOperator</code> size in bytes of <code>FieldToMatch</code>\". If that expression is true, the <code>SizeConstraint</code> is considered to match.</p> <p>Valid values for size are 0 - 21474836480 bytes (0 - 20 GB).</p> <p>If you specify <code>URI</code> for the value of <code>Type</code>, the / in the URI counts as one character. For example, the URI <code>/logo.jpg</code> is nine characters long.</p>"
}
},
"documentation":"<p>Specifies a constraint on the size of a part of the web request. AWS WAF uses the <code>Size</code>, <code>ComparisonOperator</code>, and <code>FieldToMatch</code> to build an expression in the form of \"<code>Size</code> <code>ComparisonOperator</code> size in bytes of <code>FieldToMatch</code>\". If that expression is true, the <code>SizeConstraint</code> is considered to match.</p>"
},
"SizeConstraintSet":{
"type":"structure",
"required":[
"SizeConstraintSetId",
"SizeConstraints"
],
"members":{
"SizeConstraintSetId":{
"shape":"ResourceId",
"documentation":"<p>A unique identifier for a <code>SizeConstraintSet</code>. You use <code>SizeConstraintSetId</code> to get information about a <code>SizeConstraintSet</code> (see <a>GetSizeConstraintSet</a>), update a <code>SizeConstraintSet</code> (see <a>UpdateSizeConstraintSet</a>), insert a <code>SizeConstraintSet</code> into a <code>Rule</code> or delete one from a <code>Rule</code> (see <a>UpdateRule</a>), and delete a <code>SizeConstraintSet</code> from AWS WAF (see <a>DeleteSizeConstraintSet</a>).</p> <p> <code>SizeConstraintSetId</code> is returned by <a>CreateSizeConstraintSet</a> and by <a>ListSizeConstraintSets</a>.</p>"
},
"Name":{
"shape":"ResourceName",
"documentation":"<p>The name, if any, of the <code>SizeConstraintSet</code>.</p>"
},
"SizeConstraints":{
"shape":"SizeConstraints",
"documentation":"<p>Specifies the parts of web requests that you want to inspect the size of.</p>"
}
},
"documentation":"<p>A complex type that contains <code>SizeConstraint</code> objects, which specify the parts of web requests that you want AWS WAF to inspect the size of. If a <code>SizeConstraintSet</code> contains more than one <code>SizeConstraint</code> object, a request only needs to match one constraint to be considered a match.</p>"
},
"SizeConstraintSetSummaries":{
"type":"list",
"member":{"shape":"SizeConstraintSetSummary"}
},
"SizeConstraintSetSummary":{
"type":"structure",
"required":[
"SizeConstraintSetId",
"Name"
],
"members":{
"SizeConstraintSetId":{
"shape":"ResourceId",
"documentation":"<p>A unique identifier for a <code>SizeConstraintSet</code>. You use <code>SizeConstraintSetId</code> to get information about a <code>SizeConstraintSet</code> (see <a>GetSizeConstraintSet</a>), update a <code>SizeConstraintSet</code> (see <a>UpdateSizeConstraintSet</a>), insert a <code>SizeConstraintSet</code> into a <code>Rule</code> or delete one from a <code>Rule</code> (see <a>UpdateRule</a>), and delete a <code>SizeConstraintSet</code> from AWS WAF (see <a>DeleteSizeConstraintSet</a>).</p> <p> <code>SizeConstraintSetId</code> is returned by <a>CreateSizeConstraintSet</a> and by <a>ListSizeConstraintSets</a>.</p>"
},
"Name":{
"shape":"ResourceName",
"documentation":"<p>The name of the <code>SizeConstraintSet</code>, if any.</p>"
}
},
"documentation":"<p>The <code>Id</code> and <code>Name</code> of a <code>SizeConstraintSet</code>.</p>"
},
"SizeConstraintSetUpdate":{
"type":"structure",
"required":[
"Action",
"SizeConstraint"
],
"members":{
"Action":{
"shape":"ChangeAction",
"documentation":"<p>Specify <code>INSERT</code> to add a <a>SizeConstraintSetUpdate</a> to a <a>SizeConstraintSet</a>. Use <code>DELETE</code> to remove a <code>SizeConstraintSetUpdate</code> from a <code>SizeConstraintSet</code>.</p>"
},
"SizeConstraint":{
"shape":"SizeConstraint",
"documentation":"<p>Specifies a constraint on the size of a part of the web request. AWS WAF uses the <code>Size</code>, <code>ComparisonOperator</code>, and <code>FieldToMatch</code> to build an expression in the form of \"<code>Size</code> <code>ComparisonOperator</code> size in bytes of <code>FieldToMatch</code>\". If that expression is true, the <code>SizeConstraint</code> is considered to match.</p>"
}
},
"documentation":"<p>Specifies the part of a web request that you want to inspect the size of and indicates whether you want to add the specification to a <a>SizeConstraintSet</a> or delete it from a <code>SizeConstraintSet</code>.</p>"
},
"SizeConstraintSetUpdates":{
"type":"list",
"member":{"shape":"SizeConstraintSetUpdate"},
"min":1
},
"SizeConstraints":{
"type":"list",
"member":{"shape":"SizeConstraint"}
},
"SqlInjectionMatchSet":{
"type":"structure",
"required":[
"SqlInjectionMatchSetId",
"SqlInjectionMatchTuples"
],
"members":{
"SqlInjectionMatchSetId":{
"shape":"ResourceId",
"documentation":"<p>A unique identifier for a <code>SqlInjectionMatchSet</code>. You use <code>SqlInjectionMatchSetId</code> to get information about a <code>SqlInjectionMatchSet</code> (see <a>GetSqlInjectionMatchSet</a>), update a <code>SqlInjectionMatchSet</code> (see <a>UpdateSqlInjectionMatchSet</a>), insert a <code>SqlInjectionMatchSet</code> into a <code>Rule</code> or delete one from a <code>Rule</code> (see <a>UpdateRule</a>), and delete a <code>SqlInjectionMatchSet</code> from AWS WAF (see <a>DeleteSqlInjectionMatchSet</a>).</p> <p> <code>SqlInjectionMatchSetId</code> is returned by <a>CreateSqlInjectionMatchSet</a> and by <a>ListSqlInjectionMatchSets</a>.</p>"
},
"Name":{
"shape":"ResourceName",
"documentation":"<p>The name, if any, of the <code>SqlInjectionMatchSet</code>.</p>"
},
"SqlInjectionMatchTuples":{
"shape":"SqlInjectionMatchTuples",
"documentation":"<p>Specifies the parts of web requests that you want to inspect for snippets of malicious SQL code.</p>"
}
},
"documentation":"<p>A complex type that contains <code>SqlInjectionMatchTuple</code> objects, which specify the parts of web requests that you want AWS WAF to inspect for snippets of malicious SQL code and, if you want AWS WAF to inspect a header, the name of the header. If a <code>SqlInjectionMatchSet</code> contains more than one <code>SqlInjectionMatchTuple</code> object, a request needs to include snippets of SQL code in only one of the specified parts of the request to be considered a match.</p>"
},
"SqlInjectionMatchSetSummaries":{
"type":"list",
"member":{"shape":"SqlInjectionMatchSetSummary"}
},
"SqlInjectionMatchSetSummary":{
"type":"structure",
"required":[
"SqlInjectionMatchSetId",
"Name"
],
"members":{
"SqlInjectionMatchSetId":{
"shape":"ResourceId",
"documentation":"<p>A unique identifier for a <code>SqlInjectionMatchSet</code>. You use <code>SqlInjectionMatchSetId</code> to get information about a <code>SqlInjectionMatchSet</code> (see <a>GetSqlInjectionMatchSet</a>), update a <code>SqlInjectionMatchSet</code> (see <a>UpdateSqlInjectionMatchSet</a>), insert a <code>SqlInjectionMatchSet</code> into a <code>Rule</code> or delete one from a <code>Rule</code> (see <a>UpdateRule</a>), and delete a <code>SqlInjectionMatchSet</code> from AWS WAF (see <a>DeleteSqlInjectionMatchSet</a>).</p> <p> <code>SqlInjectionMatchSetId</code> is returned by <a>CreateSqlInjectionMatchSet</a> and by <a>ListSqlInjectionMatchSets</a>.</p>"
},
"Name":{
"shape":"ResourceName",
"documentation":"<p>The name of the <code>SqlInjectionMatchSet</code>, if any, specified by <code>Id</code>.</p>"
}
},
"documentation":"<p>The <code>Id</code> and <code>Name</code> of a <code>SqlInjectionMatchSet</code>.</p>"
},
"SqlInjectionMatchSetUpdate":{
"type":"structure",
"required":[
"Action",
"SqlInjectionMatchTuple"
],
"members":{
"Action":{
"shape":"ChangeAction",
"documentation":"<p>Specify <code>INSERT</code> to add a <a>SqlInjectionMatchSetUpdate</a> to a <a>SqlInjectionMatchSet</a>. Use <code>DELETE</code> to remove a <code>SqlInjectionMatchSetUpdate</code> from a <code>SqlInjectionMatchSet</code>.</p>"
},
"SqlInjectionMatchTuple":{
"shape":"SqlInjectionMatchTuple",
"documentation":"<p>Specifies the part of a web request that you want AWS WAF to inspect for snippets of malicious SQL code and, if you want AWS WAF to inspect a header, the name of the header.</p>"
}
},
"documentation":"<p>Specifies the part of a web request that you want to inspect for snippets of malicious SQL code and indicates whether you want to add the specification to a <a>SqlInjectionMatchSet</a> or delete it from a <code>SqlInjectionMatchSet</code>.</p>"
},
"SqlInjectionMatchSetUpdates":{
"type":"list",
"member":{"shape":"SqlInjectionMatchSetUpdate"},
"min":1
},
"SqlInjectionMatchTuple":{
"type":"structure",
"required":[
"FieldToMatch",
"TextTransformation"
],
"members":{
"FieldToMatch":{
"shape":"FieldToMatch",
"documentation":"<p>Specifies where in a web request to look for snippets of malicious SQL code.</p>"
},
"TextTransformation":{
"shape":"TextTransformation",
"documentation":"<p>Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass AWS WAF. If you specify a transformation, AWS WAF performs the transformation on <code>FieldToMatch</code> before inspecting a request for a match.</p> <p>You can only specify a single type of TextTransformation.</p> <p> <b>CMD_LINE</b> </p> <p>When you're concerned that attackers are injecting an operating system command line command and using unusual formatting to disguise some or all of the command, use this option to perform the following transformations:</p> <ul> <li> <p>Delete the following characters: \\ \" ' ^</p> </li> <li> <p>Delete spaces before the following characters: / (</p> </li> <li> <p>Replace the following characters with a space: , ;</p> </li> <li> <p>Replace multiple spaces with one space</p> </li> <li> <p>Convert uppercase letters (A-Z) to lowercase (a-z)</p> </li> </ul> <p> <b>COMPRESS_WHITE_SPACE</b> </p> <p>Use this option to replace the following characters with a space character (decimal 32):</p> <ul> <li> <p>\\f, formfeed, decimal 12</p> </li> <li> <p>\\t, tab, decimal 9</p> </li> <li> <p>\\n, newline, decimal 10</p> </li> <li> <p>\\r, carriage return, decimal 13</p> </li> <li> <p>\\v, vertical tab, decimal 11</p> </li> <li> <p>non-breaking space, decimal 160</p> </li> </ul> <p> <code>COMPRESS_WHITE_SPACE</code> also replaces multiple spaces with one space.</p> <p> <b>HTML_ENTITY_DECODE</b> </p> <p>Use this option to replace HTML-encoded characters with unencoded characters. <code>HTML_ENTITY_DECODE</code> performs the following operations:</p> <ul> <li> <p>Replaces <code>(ampersand)quot;</code> with <code>\"</code> </p> </li> <li> <p>Replaces <code>(ampersand)nbsp;</code> with a non-breaking space, decimal 160</p> </li> <li> <p>Replaces <code>(ampersand)lt;</code> with a \"less than\" symbol</p> </li> <li> <p>Replaces <code>(ampersand)gt;</code> with <code>&gt;</code> </p> </li> <li> <p>Replaces characters that are represented in hexadecimal format, <code>(ampersand)#xhhhh;</code>, with the corresponding characters</p> </li> <li> <p>Replaces characters that are represented in decimal format, <code>(ampersand)#nnnn;</code>, with the corresponding characters</p> </li> </ul> <p> <b>LOWERCASE</b> </p> <p>Use this option to convert uppercase letters (A-Z) to lowercase (a-z).</p> <p> <b>URL_DECODE</b> </p> <p>Use this option to decode a URL-encoded value.</p> <p> <b>NONE</b> </p> <p>Specify <code>NONE</code> if you don't want to perform any text transformations.</p>"
}
},
"documentation":"<p>Specifies the part of a web request that you want AWS WAF to inspect for snippets of malicious SQL code and, if you want AWS WAF to inspect a header, the name of the header.</p>"
},
"SqlInjectionMatchTuples":{
"type":"list",
"member":{"shape":"SqlInjectionMatchTuple"}
},
"SubscribedRuleGroupSummaries":{
"type":"list",
"member":{"shape":"SubscribedRuleGroupSummary"}
},
"SubscribedRuleGroupSummary":{
"type":"structure",
"required":[
"RuleGroupId",
"Name",
"MetricName"
],
"members":{
"RuleGroupId":{
"shape":"ResourceId",
"documentation":"<p>A unique identifier for a <code>RuleGroup</code>.</p>"
},
"Name":{
"shape":"ResourceName",
"documentation":"<p>A friendly name or description of the <code>RuleGroup</code>. You can't change the name of a <code>RuleGroup</code> after you create it.</p>"
},
"MetricName":{
"shape":"MetricName",
"documentation":"<p>A friendly name or description for the metrics for this <code>RuleGroup</code>. The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain whitespace or metric names reserved for AWS WAF, including \"All\" and \"Default_Action.\" You can't change the name of the metric after you create the <code>RuleGroup</code>.</p>"
}
},
"documentation":"<p>A summary of the rule groups you are subscribed to.</p>"
},
"Tag":{
"type":"structure",
"members":{
"Key":{"shape":"TagKey"},
"Value":{"shape":"TagValue"}
}
},
"TagInfoForResource":{
"type":"structure",
"members":{
"ResourceARN":{"shape":"ResourceArn"},
"TagList":{"shape":"TagList"}
}
},
"TagKey":{
"type":"string",
"max":128,
"min":1
},
"TagKeyList":{
"type":"list",
"member":{"shape":"TagKey"},
"min":1
},
"TagList":{
"type":"list",
"member":{"shape":"Tag"},
"min":1
},
"TagResourceRequest":{
"type":"structure",
"required":[
"ResourceARN",
"Tags"
],
"members":{
"ResourceARN":{"shape":"ResourceArn"},
"Tags":{"shape":"TagList"}
}
},
"TagResourceResponse":{
"type":"structure",
"members":{
}
},
"TagValue":{
"type":"string",
"max":256,
"min":0
},
"TextTransformation":{
"type":"string",
"enum":[
"NONE",
"COMPRESS_WHITE_SPACE",
"HTML_ENTITY_DECODE",
"LOWERCASE",
"CMD_LINE",
"URL_DECODE"
]
},
"TimeWindow":{
"type":"structure",
"required":[
"StartTime",
"EndTime"
],
"members":{
"StartTime":{
"shape":"Timestamp",
"documentation":"<p>The beginning of the time range from which you want <code>GetSampledRequests</code> to return a sample of the requests that your AWS resource received. Specify the date and time in the following format: <code>\"2016-09-27T14:50Z\"</code>. You can specify any time range in the previous three hours.</p>"
},
"EndTime":{
"shape":"Timestamp",
"documentation":"<p>The end of the time range from which you want <code>GetSampledRequests</code> to return a sample of the requests that your AWS resource received. Specify the date and time in the following format: <code>\"2016-09-27T14:50Z\"</code>. You can specify any time range in the previous three hours.</p>"
}
},
"documentation":"<p>In a <a>GetSampledRequests</a> request, the <code>StartTime</code> and <code>EndTime</code> objects specify the time range for which you want AWS WAF to return a sample of web requests.</p> <p>In a <a>GetSampledRequests</a> response, the <code>StartTime</code> and <code>EndTime</code> objects specify the time range for which AWS WAF actually returned a sample of web requests. AWS WAF gets the specified number of requests from among the first 5,000 requests that your AWS resource receives during the specified time period. If your resource receives more than 5,000 requests during that period, AWS WAF stops sampling after the 5,000th request. In that case, <code>EndTime</code> is the time that AWS WAF received the 5,000th request. </p>"
},
"Timestamp":{"type":"timestamp"},
"URIString":{"type":"string"},
"UntagResourceRequest":{
"type":"structure",
"required":[
"ResourceARN",
"TagKeys"
],
"members":{
"ResourceARN":{"shape":"ResourceArn"},
"TagKeys":{"shape":"TagKeyList"}
}
},
"UntagResourceResponse":{
"type":"structure",
"members":{
}
},
"UpdateByteMatchSetRequest":{
"type":"structure",
"required":[
"ByteMatchSetId",
"ChangeToken",
"Updates"
],
"members":{
"ByteMatchSetId":{
"shape":"ResourceId",
"documentation":"<p>The <code>ByteMatchSetId</code> of the <a>ByteMatchSet</a> that you want to update. <code>ByteMatchSetId</code> is returned by <a>CreateByteMatchSet</a> and by <a>ListByteMatchSets</a>.</p>"
},
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>"
},
"Updates":{
"shape":"ByteMatchSetUpdates",
"documentation":"<p>An array of <code>ByteMatchSetUpdate</code> objects that you want to insert into or delete from a <a>ByteMatchSet</a>. For more information, see the applicable data types:</p> <ul> <li> <p> <a>ByteMatchSetUpdate</a>: Contains <code>Action</code> and <code>ByteMatchTuple</code> </p> </li> <li> <p> <a>ByteMatchTuple</a>: Contains <code>FieldToMatch</code>, <code>PositionalConstraint</code>, <code>TargetString</code>, and <code>TextTransformation</code> </p> </li> <li> <p> <a>FieldToMatch</a>: Contains <code>Data</code> and <code>Type</code> </p> </li> </ul>"
}
}
},
"UpdateByteMatchSetResponse":{
"type":"structure",
"members":{
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The <code>ChangeToken</code> that you used to submit the <code>UpdateByteMatchSet</code> request. You can also use this value to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>"
}
}
},
"UpdateGeoMatchSetRequest":{
"type":"structure",
"required":[
"GeoMatchSetId",
"ChangeToken",
"Updates"
],
"members":{
"GeoMatchSetId":{
"shape":"ResourceId",
"documentation":"<p>The <code>GeoMatchSetId</code> of the <a>GeoMatchSet</a> that you want to update. <code>GeoMatchSetId</code> is returned by <a>CreateGeoMatchSet</a> and by <a>ListGeoMatchSets</a>.</p>"
},
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>"
},
"Updates":{
"shape":"GeoMatchSetUpdates",
"documentation":"<p>An array of <code>GeoMatchSetUpdate</code> objects that you want to insert into or delete from an <a>GeoMatchSet</a>. For more information, see the applicable data types:</p> <ul> <li> <p> <a>GeoMatchSetUpdate</a>: Contains <code>Action</code> and <code>GeoMatchConstraint</code> </p> </li> <li> <p> <a>GeoMatchConstraint</a>: Contains <code>Type</code> and <code>Value</code> </p> <p>You can have only one <code>Type</code> and <code>Value</code> per <code>GeoMatchConstraint</code>. To add multiple countries, include multiple <code>GeoMatchSetUpdate</code> objects in your request.</p> </li> </ul>"
}
}
},
"UpdateGeoMatchSetResponse":{
"type":"structure",
"members":{
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The <code>ChangeToken</code> that you used to submit the <code>UpdateGeoMatchSet</code> request. You can also use this value to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>"
}
}
},
"UpdateIPSetRequest":{
"type":"structure",
"required":[
"IPSetId",
"ChangeToken",
"Updates"
],
"members":{
"IPSetId":{
"shape":"ResourceId",
"documentation":"<p>The <code>IPSetId</code> of the <a>IPSet</a> that you want to update. <code>IPSetId</code> is returned by <a>CreateIPSet</a> and by <a>ListIPSets</a>.</p>"
},
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>"
},
"Updates":{
"shape":"IPSetUpdates",
"documentation":"<p>An array of <code>IPSetUpdate</code> objects that you want to insert into or delete from an <a>IPSet</a>. For more information, see the applicable data types:</p> <ul> <li> <p> <a>IPSetUpdate</a>: Contains <code>Action</code> and <code>IPSetDescriptor</code> </p> </li> <li> <p> <a>IPSetDescriptor</a>: Contains <code>Type</code> and <code>Value</code> </p> </li> </ul> <p>You can insert a maximum of 1000 addresses in a single request.</p>"
}
}
},
"UpdateIPSetResponse":{
"type":"structure",
"members":{
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The <code>ChangeToken</code> that you used to submit the <code>UpdateIPSet</code> request. You can also use this value to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>"
}
}
},
"UpdateRateBasedRuleRequest":{
"type":"structure",
"required":[
"RuleId",
"ChangeToken",
"Updates",
"RateLimit"
],
"members":{
"RuleId":{
"shape":"ResourceId",
"documentation":"<p>The <code>RuleId</code> of the <code>RateBasedRule</code> that you want to update. <code>RuleId</code> is returned by <code>CreateRateBasedRule</code> and by <a>ListRateBasedRules</a>.</p>"
},
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>"
},
"Updates":{
"shape":"RuleUpdates",
"documentation":"<p>An array of <code>RuleUpdate</code> objects that you want to insert into or delete from a <a>RateBasedRule</a>. </p>"
},
"RateLimit":{
"shape":"RateLimit",
"documentation":"<p>The maximum number of requests, which have an identical value in the field specified by the <code>RateKey</code>, allowed in a five-minute period. If the number of requests exceeds the <code>RateLimit</code> and the other predicates specified in the rule are also met, AWS WAF triggers the action that is specified for this rule.</p>"
}
}
},
"UpdateRateBasedRuleResponse":{
"type":"structure",
"members":{
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The <code>ChangeToken</code> that you used to submit the <code>UpdateRateBasedRule</code> request. You can also use this value to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>"
}
}
},
"UpdateRegexMatchSetRequest":{
"type":"structure",
"required":[
"RegexMatchSetId",
"Updates",
"ChangeToken"
],
"members":{
"RegexMatchSetId":{
"shape":"ResourceId",
"documentation":"<p>The <code>RegexMatchSetId</code> of the <a>RegexMatchSet</a> that you want to update. <code>RegexMatchSetId</code> is returned by <a>CreateRegexMatchSet</a> and by <a>ListRegexMatchSets</a>.</p>"
},
"Updates":{
"shape":"RegexMatchSetUpdates",
"documentation":"<p>An array of <code>RegexMatchSetUpdate</code> objects that you want to insert into or delete from a <a>RegexMatchSet</a>. For more information, see <a>RegexMatchTuple</a>.</p>"
},
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>"
}
}
},
"UpdateRegexMatchSetResponse":{
"type":"structure",
"members":{
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The <code>ChangeToken</code> that you used to submit the <code>UpdateRegexMatchSet</code> request. You can also use this value to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>"
}
}
},
"UpdateRegexPatternSetRequest":{
"type":"structure",
"required":[
"RegexPatternSetId",
"Updates",
"ChangeToken"
],
"members":{
"RegexPatternSetId":{
"shape":"ResourceId",
"documentation":"<p>The <code>RegexPatternSetId</code> of the <a>RegexPatternSet</a> that you want to update. <code>RegexPatternSetId</code> is returned by <a>CreateRegexPatternSet</a> and by <a>ListRegexPatternSets</a>.</p>"
},
"Updates":{
"shape":"RegexPatternSetUpdates",
"documentation":"<p>An array of <code>RegexPatternSetUpdate</code> objects that you want to insert into or delete from a <a>RegexPatternSet</a>.</p>"
},
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>"
}
}
},
"UpdateRegexPatternSetResponse":{
"type":"structure",
"members":{
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The <code>ChangeToken</code> that you used to submit the <code>UpdateRegexPatternSet</code> request. You can also use this value to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>"
}
}
},
"UpdateRuleGroupRequest":{
"type":"structure",
"required":[
"RuleGroupId",
"Updates",
"ChangeToken"
],
"members":{
"RuleGroupId":{
"shape":"ResourceId",
"documentation":"<p>The <code>RuleGroupId</code> of the <a>RuleGroup</a> that you want to update. <code>RuleGroupId</code> is returned by <a>CreateRuleGroup</a> and by <a>ListRuleGroups</a>.</p>"
},
"Updates":{
"shape":"RuleGroupUpdates",
"documentation":"<p>An array of <code>RuleGroupUpdate</code> objects that you want to insert into or delete from a <a>RuleGroup</a>.</p> <p>You can only insert <code>REGULAR</code> rules into a rule group.</p> <p> <code>ActivatedRule|OverrideAction</code> applies only when updating or adding a <code>RuleGroup</code> to a <code>WebACL</code>. In this case you do not use <code>ActivatedRule|Action</code>. For all other update requests, <code>ActivatedRule|Action</code> is used instead of <code>ActivatedRule|OverrideAction</code>.</p>"
},
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>"
}
}
},
"UpdateRuleGroupResponse":{
"type":"structure",
"members":{
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The <code>ChangeToken</code> that you used to submit the <code>UpdateRuleGroup</code> request. You can also use this value to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>"
}
}
},
"UpdateRuleRequest":{
"type":"structure",
"required":[
"RuleId",
"ChangeToken",
"Updates"
],
"members":{
"RuleId":{
"shape":"ResourceId",
"documentation":"<p>The <code>RuleId</code> of the <code>Rule</code> that you want to update. <code>RuleId</code> is returned by <code>CreateRule</code> and by <a>ListRules</a>.</p>"
},
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>"
},
"Updates":{
"shape":"RuleUpdates",
"documentation":"<p>An array of <code>RuleUpdate</code> objects that you want to insert into or delete from a <a>Rule</a>. For more information, see the applicable data types:</p> <ul> <li> <p> <a>RuleUpdate</a>: Contains <code>Action</code> and <code>Predicate</code> </p> </li> <li> <p> <a>Predicate</a>: Contains <code>DataId</code>, <code>Negated</code>, and <code>Type</code> </p> </li> <li> <p> <a>FieldToMatch</a>: Contains <code>Data</code> and <code>Type</code> </p> </li> </ul>"
}
}
},
"UpdateRuleResponse":{
"type":"structure",
"members":{
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The <code>ChangeToken</code> that you used to submit the <code>UpdateRule</code> request. You can also use this value to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>"
}
}
},
"UpdateSizeConstraintSetRequest":{
"type":"structure",
"required":[
"SizeConstraintSetId",
"ChangeToken",
"Updates"
],
"members":{
"SizeConstraintSetId":{
"shape":"ResourceId",
"documentation":"<p>The <code>SizeConstraintSetId</code> of the <a>SizeConstraintSet</a> that you want to update. <code>SizeConstraintSetId</code> is returned by <a>CreateSizeConstraintSet</a> and by <a>ListSizeConstraintSets</a>.</p>"
},
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>"
},
"Updates":{
"shape":"SizeConstraintSetUpdates",
"documentation":"<p>An array of <code>SizeConstraintSetUpdate</code> objects that you want to insert into or delete from a <a>SizeConstraintSet</a>. For more information, see the applicable data types:</p> <ul> <li> <p> <a>SizeConstraintSetUpdate</a>: Contains <code>Action</code> and <code>SizeConstraint</code> </p> </li> <li> <p> <a>SizeConstraint</a>: Contains <code>FieldToMatch</code>, <code>TextTransformation</code>, <code>ComparisonOperator</code>, and <code>Size</code> </p> </li> <li> <p> <a>FieldToMatch</a>: Contains <code>Data</code> and <code>Type</code> </p> </li> </ul>"
}
}
},
"UpdateSizeConstraintSetResponse":{
"type":"structure",
"members":{
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The <code>ChangeToken</code> that you used to submit the <code>UpdateSizeConstraintSet</code> request. You can also use this value to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>"
}
}
},
"UpdateSqlInjectionMatchSetRequest":{
"type":"structure",
"required":[
"SqlInjectionMatchSetId",
"ChangeToken",
"Updates"
],
"members":{
"SqlInjectionMatchSetId":{
"shape":"ResourceId",
"documentation":"<p>The <code>SqlInjectionMatchSetId</code> of the <code>SqlInjectionMatchSet</code> that you want to update. <code>SqlInjectionMatchSetId</code> is returned by <a>CreateSqlInjectionMatchSet</a> and by <a>ListSqlInjectionMatchSets</a>.</p>"
},
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>"
},
"Updates":{
"shape":"SqlInjectionMatchSetUpdates",
"documentation":"<p>An array of <code>SqlInjectionMatchSetUpdate</code> objects that you want to insert into or delete from a <a>SqlInjectionMatchSet</a>. For more information, see the applicable data types:</p> <ul> <li> <p> <a>SqlInjectionMatchSetUpdate</a>: Contains <code>Action</code> and <code>SqlInjectionMatchTuple</code> </p> </li> <li> <p> <a>SqlInjectionMatchTuple</a>: Contains <code>FieldToMatch</code> and <code>TextTransformation</code> </p> </li> <li> <p> <a>FieldToMatch</a>: Contains <code>Data</code> and <code>Type</code> </p> </li> </ul>"
}
},
"documentation":"<p>A request to update a <a>SqlInjectionMatchSet</a>.</p>"
},
"UpdateSqlInjectionMatchSetResponse":{
"type":"structure",
"members":{
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The <code>ChangeToken</code> that you used to submit the <code>UpdateSqlInjectionMatchSet</code> request. You can also use this value to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>"
}
},
"documentation":"<p>The response to an <a>UpdateSqlInjectionMatchSets</a> request.</p>"
},
"UpdateWebACLRequest":{
"type":"structure",
"required":[
"WebACLId",
"ChangeToken"
],
"members":{
"WebACLId":{
"shape":"ResourceId",
"documentation":"<p>The <code>WebACLId</code> of the <a>WebACL</a> that you want to update. <code>WebACLId</code> is returned by <a>CreateWebACL</a> and by <a>ListWebACLs</a>.</p>"
},
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>"
},
"Updates":{
"shape":"WebACLUpdates",
"documentation":"<p>An array of updates to make to the <a>WebACL</a>.</p> <p>An array of <code>WebACLUpdate</code> objects that you want to insert into or delete from a <a>WebACL</a>. For more information, see the applicable data types:</p> <ul> <li> <p> <a>WebACLUpdate</a>: Contains <code>Action</code> and <code>ActivatedRule</code> </p> </li> <li> <p> <a>ActivatedRule</a>: Contains <code>Action</code>, <code>OverrideAction</code>, <code>Priority</code>, <code>RuleId</code>, and <code>Type</code>. <code>ActivatedRule|OverrideAction</code> applies only when updating or adding a <code>RuleGroup</code> to a <code>WebACL</code>. In this case, you do not use <code>ActivatedRule|Action</code>. For all other update requests, <code>ActivatedRule|Action</code> is used instead of <code>ActivatedRule|OverrideAction</code>. </p> </li> <li> <p> <a>WafAction</a>: Contains <code>Type</code> </p> </li> </ul>"
},
"DefaultAction":{
"shape":"WafAction",
"documentation":"<p>A default action for the web ACL, either ALLOW or BLOCK. AWS WAF performs the default action if a request doesn't match the criteria in any of the rules in a web ACL.</p>"
}
}
},
"UpdateWebACLResponse":{
"type":"structure",
"members":{
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The <code>ChangeToken</code> that you used to submit the <code>UpdateWebACL</code> request. You can also use this value to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>"
}
}
},
"UpdateXssMatchSetRequest":{
"type":"structure",
"required":[
"XssMatchSetId",
"ChangeToken",
"Updates"
],
"members":{
"XssMatchSetId":{
"shape":"ResourceId",
"documentation":"<p>The <code>XssMatchSetId</code> of the <code>XssMatchSet</code> that you want to update. <code>XssMatchSetId</code> is returned by <a>CreateXssMatchSet</a> and by <a>ListXssMatchSets</a>.</p>"
},
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>"
},
"Updates":{
"shape":"XssMatchSetUpdates",
"documentation":"<p>An array of <code>XssMatchSetUpdate</code> objects that you want to insert into or delete from an <a>XssMatchSet</a>. For more information, see the applicable data types:</p> <ul> <li> <p> <a>XssMatchSetUpdate</a>: Contains <code>Action</code> and <code>XssMatchTuple</code> </p> </li> <li> <p> <a>XssMatchTuple</a>: Contains <code>FieldToMatch</code> and <code>TextTransformation</code> </p> </li> <li> <p> <a>FieldToMatch</a>: Contains <code>Data</code> and <code>Type</code> </p> </li> </ul>"
}
},
"documentation":"<p>A request to update an <a>XssMatchSet</a>.</p>"
},
"UpdateXssMatchSetResponse":{
"type":"structure",
"members":{
"ChangeToken":{
"shape":"ChangeToken",
"documentation":"<p>The <code>ChangeToken</code> that you used to submit the <code>UpdateXssMatchSet</code> request. You can also use this value to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>"
}
},
"documentation":"<p>The response to an <a>UpdateXssMatchSets</a> request.</p>"
},
"WAFBadRequestException":{
"type":"structure",
"members":{
"message":{"shape":"errorMessage"}
},
"exception":true
},
"WAFDisallowedNameException":{
"type":"structure",
"members":{
"message":{"shape":"errorMessage"}
},
"documentation":"<p>The name specified is invalid.</p>",
"exception":true
},
"WAFInternalErrorException":{
"type":"structure",
"members":{
"message":{"shape":"errorMessage"}
},
"documentation":"<p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>",
"exception":true,
"fault":true
},
"WAFInvalidAccountException":{
"type":"structure",
"members":{
},
"documentation":"<p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>",
"exception":true
},
"WAFInvalidOperationException":{
"type":"structure",
"members":{
"message":{"shape":"errorMessage"}
},
"documentation":"<p>The operation failed because there was nothing to do. For example:</p> <ul> <li> <p>You tried to remove a <code>Rule</code> from a <code>WebACL</code>, but the <code>Rule</code> isn't in the specified <code>WebACL</code>.</p> </li> <li> <p>You tried to remove an IP address from an <code>IPSet</code>, but the IP address isn't in the specified <code>IPSet</code>.</p> </li> <li> <p>You tried to remove a <code>ByteMatchTuple</code> from a <code>ByteMatchSet</code>, but the <code>ByteMatchTuple</code> isn't in the specified <code>WebACL</code>.</p> </li> <li> <p>You tried to add a <code>Rule</code> to a <code>WebACL</code>, but the <code>Rule</code> already exists in the specified <code>WebACL</code>.</p> </li> <li> <p>You tried to add a <code>ByteMatchTuple</code> to a <code>ByteMatchSet</code>, but the <code>ByteMatchTuple</code> already exists in the specified <code>WebACL</code>.</p> </li> </ul>",
"exception":true
},
"WAFInvalidParameterException":{
"type":"structure",
"members":{
"field":{"shape":"ParameterExceptionField"},
"parameter":{"shape":"ParameterExceptionParameter"},
"reason":{"shape":"ParameterExceptionReason"}
},
"documentation":"<p>The operation failed because AWS WAF didn't recognize a parameter in the request. For example:</p> <ul> <li> <p>You specified an invalid parameter name.</p> </li> <li> <p>You specified an invalid value.</p> </li> <li> <p>You tried to update an object (<code>ByteMatchSet</code>, <code>IPSet</code>, <code>Rule</code>, or <code>WebACL</code>) using an action other than <code>INSERT</code> or <code>DELETE</code>.</p> </li> <li> <p>You tried to create a <code>WebACL</code> with a <code>DefaultAction</code> <code>Type</code> other than <code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>.</p> </li> <li> <p>You tried to create a <code>RateBasedRule</code> with a <code>RateKey</code> value other than <code>IP</code>.</p> </li> <li> <p>You tried to update a <code>WebACL</code> with a <code>WafAction</code> <code>Type</code> other than <code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>.</p> </li> <li> <p>You tried to update a <code>ByteMatchSet</code> with a <code>FieldToMatch</code> <code>Type</code> other than HEADER, METHOD, QUERY_STRING, URI, or BODY.</p> </li> <li> <p>You tried to update a <code>ByteMatchSet</code> with a <code>Field</code> of <code>HEADER</code> but no value for <code>Data</code>.</p> </li> <li> <p>Your request references an ARN that is malformed, or corresponds to a resource with which a web ACL cannot be associated.</p> </li> </ul>",
"exception":true
},
"WAFInvalidPermissionPolicyException":{
"type":"structure",
"members":{
"message":{"shape":"errorMessage"}
},
"documentation":"<p>The operation failed because the specified policy is not in the proper format. </p> <p>The policy is subject to the following restrictions:</p> <ul> <li> <p>You can attach only one policy with each <code>PutPermissionPolicy</code> request.</p> </li> <li> <p>The policy must include an <code>Effect</code>, <code>Action</code> and <code>Principal</code>. </p> </li> <li> <p> <code>Effect</code> must specify <code>Allow</code>.</p> </li> <li> <p>The <code>Action</code> in the policy must be <code>waf:UpdateWebACL</code>, <code>waf-regional:UpdateWebACL</code>, <code>waf:GetRuleGroup</code> and <code>waf-regional:GetRuleGroup</code> . Any extra or wildcard actions in the policy will be rejected.</p> </li> <li> <p>The policy cannot include a <code>Resource</code> parameter.</p> </li> <li> <p>The ARN in the request must be a valid WAF RuleGroup ARN and the RuleGroup must exist in the same region.</p> </li> <li> <p>The user making the request must be the owner of the RuleGroup.</p> </li> <li> <p>Your policy must be composed using IAM Policy version 2012-10-17.</p> </li> </ul>",
"exception":true
},
"WAFInvalidRegexPatternException":{
"type":"structure",
"members":{
"message":{"shape":"errorMessage"}
},
"documentation":"<p>The regular expression (regex) you specified in <code>RegexPatternString</code> is invalid.</p>",
"exception":true
},
"WAFLimitsExceededException":{
"type":"structure",
"members":{
"message":{"shape":"errorMessage"}
},
"documentation":"<p>The operation exceeds a resource limit, for example, the maximum number of <code>WebACL</code> objects that you can create for an AWS account. For more information, see <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/limits.html\">Limits</a> in the <i>AWS WAF Developer Guide</i>.</p>",
"exception":true
},
"WAFNonEmptyEntityException":{
"type":"structure",
"members":{
"message":{"shape":"errorMessage"}
},
"documentation":"<p>The operation failed because you tried to delete an object that isn't empty. For example:</p> <ul> <li> <p>You tried to delete a <code>WebACL</code> that still contains one or more <code>Rule</code> objects.</p> </li> <li> <p>You tried to delete a <code>Rule</code> that still contains one or more <code>ByteMatchSet</code> objects or other predicates.</p> </li> <li> <p>You tried to delete a <code>ByteMatchSet</code> that contains one or more <code>ByteMatchTuple</code> objects.</p> </li> <li> <p>You tried to delete an <code>IPSet</code> that references one or more IP addresses.</p> </li> </ul>",
"exception":true
},
"WAFNonexistentContainerException":{
"type":"structure",
"members":{
"message":{"shape":"errorMessage"}
},
"documentation":"<p>The operation failed because you tried to add an object to or delete an object from another object that doesn't exist. For example:</p> <ul> <li> <p>You tried to add a <code>Rule</code> to or delete a <code>Rule</code> from a <code>WebACL</code> that doesn't exist.</p> </li> <li> <p>You tried to add a <code>ByteMatchSet</code> to or delete a <code>ByteMatchSet</code> from a <code>Rule</code> that doesn't exist.</p> </li> <li> <p>You tried to add an IP address to or delete an IP address from an <code>IPSet</code> that doesn't exist.</p> </li> <li> <p>You tried to add a <code>ByteMatchTuple</code> to or delete a <code>ByteMatchTuple</code> from a <code>ByteMatchSet</code> that doesn't exist.</p> </li> </ul>",
"exception":true
},
"WAFNonexistentItemException":{
"type":"structure",
"members":{
"message":{"shape":"errorMessage"}
},
"documentation":"<p>The operation failed because the referenced object doesn't exist.</p>",
"exception":true
},
"WAFReferencedItemException":{
"type":"structure",
"members":{
"message":{"shape":"errorMessage"}
},
"documentation":"<p>The operation failed because you tried to delete an object that is still in use. For example:</p> <ul> <li> <p>You tried to delete a <code>ByteMatchSet</code> that is still referenced by a <code>Rule</code>.</p> </li> <li> <p>You tried to delete a <code>Rule</code> that is still referenced by a <code>WebACL</code>.</p> </li> </ul>",
"exception":true
},
"WAFServiceLinkedRoleErrorException":{
"type":"structure",
"members":{
"message":{"shape":"errorMessage"}
},
"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 <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>",
"exception":true
},
"WAFStaleDataException":{
"type":"structure",
"members":{
"message":{"shape":"errorMessage"}
},
"documentation":"<p>The operation failed because you tried to create, update, or delete an object by using a change token that has already been used.</p>",
"exception":true
},
"WAFSubscriptionNotFoundException":{
"type":"structure",
"members":{
"message":{"shape":"errorMessage"}
},
"documentation":"<p>The specified subscription does not exist.</p>",
"exception":true
},
"WAFTagOperationException":{
"type":"structure",
"members":{
"message":{"shape":"errorMessage"}
},
"exception":true
},
"WAFTagOperationInternalErrorException":{
"type":"structure",
"members":{
"message":{"shape":"errorMessage"}
},
"exception":true,
"fault":true
},
"WAFUnavailableEntityException":{
"type":"structure",
"members":{
"message":{"shape":"errorMessage"}
},
"documentation":"<p>The operation failed because the entity referenced is temporarily unavailable. Retry your request.</p>",
"exception":true
},
"WafAction":{
"type":"structure",
"required":["Type"],
"members":{
"Type":{
"shape":"WafActionType",
"documentation":"<p>Specifies how you want AWS WAF to respond to requests that match the settings in a <code>Rule</code>. Valid settings include the following:</p> <ul> <li> <p> <code>ALLOW</code>: AWS WAF allows requests</p> </li> <li> <p> <code>BLOCK</code>: AWS WAF blocks requests</p> </li> <li> <p> <code>COUNT</code>: AWS WAF increments a counter of the requests that match all of the conditions in the rule. AWS WAF then continues to inspect the web request based on the remaining rules in the web ACL. You can't specify <code>COUNT</code> for the default action for a <code>WebACL</code>.</p> </li> </ul>"
}
},
"documentation":"<p>For the action that is associated with a rule in a <code>WebACL</code>, specifies the action that you want AWS WAF to perform when a web request matches all of the conditions in a rule. For the default action in a <code>WebACL</code>, specifies the action that you want AWS WAF to take when a web request doesn't match all of the conditions in any of the rules in a <code>WebACL</code>. </p>"
},
"WafActionType":{
"type":"string",
"enum":[
"BLOCK",
"ALLOW",
"COUNT"
]
},
"WafOverrideAction":{
"type":"structure",
"required":["Type"],
"members":{
"Type":{
"shape":"WafOverrideActionType",
"documentation":"<p> <code>COUNT</code> overrides the action specified by the individual rule within a <code>RuleGroup</code> . If set to <code>NONE</code>, the rule's action will take place.</p>"
}
},
"documentation":"<p>The action to take if any rule within the <code>RuleGroup</code> matches a request. </p>"
},
"WafOverrideActionType":{
"type":"string",
"enum":[
"NONE",
"COUNT"
]
},
"WafRuleType":{
"type":"string",
"enum":[
"REGULAR",
"RATE_BASED",
"GROUP"
]
},
"WebACL":{
"type":"structure",
"required":[
"WebACLId",
"DefaultAction",
"Rules"
],
"members":{
"WebACLId":{
"shape":"ResourceId",
"documentation":"<p>A unique identifier for a <code>WebACL</code>. You use <code>WebACLId</code> to get information about a <code>WebACL</code> (see <a>GetWebACL</a>), update a <code>WebACL</code> (see <a>UpdateWebACL</a>), and delete a <code>WebACL</code> from AWS WAF (see <a>DeleteWebACL</a>).</p> <p> <code>WebACLId</code> is returned by <a>CreateWebACL</a> and by <a>ListWebACLs</a>.</p>"
},
"Name":{
"shape":"ResourceName",
"documentation":"<p>A friendly name or description of the <code>WebACL</code>. You can't change the name of a <code>WebACL</code> after you create it.</p>"
},
"MetricName":{
"shape":"MetricName",
"documentation":"<p>A friendly name or description for the metrics for this <code>WebACL</code>. The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain whitespace or metric names reserved for AWS WAF, including \"All\" and \"Default_Action.\" You can't change <code>MetricName</code> after you create the <code>WebACL</code>.</p>"
},
"DefaultAction":{
"shape":"WafAction",
"documentation":"<p>The action to perform if none of the <code>Rules</code> contained in the <code>WebACL</code> match. The action is specified by the <a>WafAction</a> object.</p>"
},
"Rules":{
"shape":"ActivatedRules",
"documentation":"<p>An array that contains the action for each <code>Rule</code> in a <code>WebACL</code>, the priority of the <code>Rule</code>, and the ID of the <code>Rule</code>.</p>"
},
"WebACLArn":{
"shape":"ResourceArn",
"documentation":"<p>Tha Amazon Resource Name (ARN) of the web ACL.</p>"
}
},
"documentation":"<p>Contains the <code>Rules</code> that identify the requests that you want to allow, block, or count. In a <code>WebACL</code>, you also specify a default action (<code>ALLOW</code> or <code>BLOCK</code>), and the action for each <code>Rule</code> that you add to a <code>WebACL</code>, for example, block requests from specified IP addresses or block requests from specified referrers. You also associate the <code>WebACL</code> with a CloudFront distribution to identify the requests that you want AWS WAF to filter. If you add more than one <code>Rule</code> to a <code>WebACL</code>, a request needs to match only one of the specifications to be allowed, blocked, or counted. For more information, see <a>UpdateWebACL</a>.</p>"
},
"WebACLSummaries":{
"type":"list",
"member":{"shape":"WebACLSummary"}
},
"WebACLSummary":{
"type":"structure",
"required":[
"WebACLId",
"Name"
],
"members":{
"WebACLId":{
"shape":"ResourceId",
"documentation":"<p>A unique identifier for a <code>WebACL</code>. You use <code>WebACLId</code> to get information about a <code>WebACL</code> (see <a>GetWebACL</a>), update a <code>WebACL</code> (see <a>UpdateWebACL</a>), and delete a <code>WebACL</code> from AWS WAF (see <a>DeleteWebACL</a>).</p> <p> <code>WebACLId</code> is returned by <a>CreateWebACL</a> and by <a>ListWebACLs</a>.</p>"
},
"Name":{
"shape":"ResourceName",
"documentation":"<p>A friendly name or description of the <a>WebACL</a>. You can't change the name of a <code>WebACL</code> after you create it.</p>"
}
},
"documentation":"<p>Contains the identifier and the name or description of the <a>WebACL</a>.</p>"
},
"WebACLUpdate":{
"type":"structure",
"required":[
"Action",
"ActivatedRule"
],
"members":{
"Action":{
"shape":"ChangeAction",
"documentation":"<p>Specifies whether to insert a <code>Rule</code> into or delete a <code>Rule</code> from a <code>WebACL</code>.</p>"
},
"ActivatedRule":{
"shape":"ActivatedRule",
"documentation":"<p>The <code>ActivatedRule</code> object in an <a>UpdateWebACL</a> request specifies a <code>Rule</code> that you want to insert or delete, the priority of the <code>Rule</code> in the <code>WebACL</code>, and the action that you want AWS WAF to take when a web request matches the <code>Rule</code> (<code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>).</p>"
}
},
"documentation":"<p>Specifies whether to insert a <code>Rule</code> into or delete a <code>Rule</code> from a <code>WebACL</code>.</p>"
},
"WebACLUpdates":{
"type":"list",
"member":{"shape":"WebACLUpdate"}
},
"XssMatchSet":{
"type":"structure",
"required":[
"XssMatchSetId",
"XssMatchTuples"
],
"members":{
"XssMatchSetId":{
"shape":"ResourceId",
"documentation":"<p>A unique identifier for an <code>XssMatchSet</code>. You use <code>XssMatchSetId</code> to get information about an <code>XssMatchSet</code> (see <a>GetXssMatchSet</a>), update an <code>XssMatchSet</code> (see <a>UpdateXssMatchSet</a>), insert an <code>XssMatchSet</code> into a <code>Rule</code> or delete one from a <code>Rule</code> (see <a>UpdateRule</a>), and delete an <code>XssMatchSet</code> from AWS WAF (see <a>DeleteXssMatchSet</a>).</p> <p> <code>XssMatchSetId</code> is returned by <a>CreateXssMatchSet</a> and by <a>ListXssMatchSets</a>.</p>"
},
"Name":{
"shape":"ResourceName",
"documentation":"<p>The name, if any, of the <code>XssMatchSet</code>.</p>"
},
"XssMatchTuples":{
"shape":"XssMatchTuples",
"documentation":"<p>Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.</p>"
}
},
"documentation":"<p>A complex type that contains <code>XssMatchTuple</code> objects, which specify the parts of web requests that you want AWS WAF to inspect for cross-site scripting attacks and, if you want AWS WAF to inspect a header, the name of the header. If a <code>XssMatchSet</code> contains more than one <code>XssMatchTuple</code> object, a request needs to include cross-site scripting attacks in only one of the specified parts of the request to be considered a match.</p>"
},
"XssMatchSetSummaries":{
"type":"list",
"member":{"shape":"XssMatchSetSummary"}
},
"XssMatchSetSummary":{
"type":"structure",
"required":[
"XssMatchSetId",
"Name"
],
"members":{
"XssMatchSetId":{
"shape":"ResourceId",
"documentation":"<p>A unique identifier for an <code>XssMatchSet</code>. You use <code>XssMatchSetId</code> to get information about a <code>XssMatchSet</code> (see <a>GetXssMatchSet</a>), update an <code>XssMatchSet</code> (see <a>UpdateXssMatchSet</a>), insert an <code>XssMatchSet</code> into a <code>Rule</code> or delete one from a <code>Rule</code> (see <a>UpdateRule</a>), and delete an <code>XssMatchSet</code> from AWS WAF (see <a>DeleteXssMatchSet</a>).</p> <p> <code>XssMatchSetId</code> is returned by <a>CreateXssMatchSet</a> and by <a>ListXssMatchSets</a>.</p>"
},
"Name":{
"shape":"ResourceName",
"documentation":"<p>The name of the <code>XssMatchSet</code>, if any, specified by <code>Id</code>.</p>"
}
},
"documentation":"<p>The <code>Id</code> and <code>Name</code> of an <code>XssMatchSet</code>.</p>"
},
"XssMatchSetUpdate":{
"type":"structure",
"required":[
"Action",
"XssMatchTuple"
],
"members":{
"Action":{
"shape":"ChangeAction",
"documentation":"<p>Specify <code>INSERT</code> to add an <a>XssMatchSetUpdate</a> to an <a>XssMatchSet</a>. Use <code>DELETE</code> to remove an <code>XssMatchSetUpdate</code> from an <code>XssMatchSet</code>.</p>"
},
"XssMatchTuple":{
"shape":"XssMatchTuple",
"documentation":"<p>Specifies the part of a web request that you want AWS WAF to inspect for cross-site scripting attacks and, if you want AWS WAF to inspect a header, the name of the header.</p>"
}
},
"documentation":"<p>Specifies the part of a web request that you want to inspect for cross-site scripting attacks and indicates whether you want to add the specification to an <a>XssMatchSet</a> or delete it from an <code>XssMatchSet</code>.</p>"
},
"XssMatchSetUpdates":{
"type":"list",
"member":{"shape":"XssMatchSetUpdate"},
"min":1
},
"XssMatchTuple":{
"type":"structure",
"required":[
"FieldToMatch",
"TextTransformation"
],
"members":{
"FieldToMatch":{
"shape":"FieldToMatch",
"documentation":"<p>Specifies where in a web request to look for cross-site scripting attacks.</p>"
},
"TextTransformation":{
"shape":"TextTransformation",
"documentation":"<p>Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass AWS WAF. If you specify a transformation, AWS WAF performs the transformation on <code>FieldToMatch</code> before inspecting a request for a match.</p> <p>You can only specify a single type of TextTransformation.</p> <p> <b>CMD_LINE</b> </p> <p>When you're concerned that attackers are injecting an operating system command line command and using unusual formatting to disguise some or all of the command, use this option to perform the following transformations:</p> <ul> <li> <p>Delete the following characters: \\ \" ' ^</p> </li> <li> <p>Delete spaces before the following characters: / (</p> </li> <li> <p>Replace the following characters with a space: , ;</p> </li> <li> <p>Replace multiple spaces with one space</p> </li> <li> <p>Convert uppercase letters (A-Z) to lowercase (a-z)</p> </li> </ul> <p> <b>COMPRESS_WHITE_SPACE</b> </p> <p>Use this option to replace the following characters with a space character (decimal 32):</p> <ul> <li> <p>\\f, formfeed, decimal 12</p> </li> <li> <p>\\t, tab, decimal 9</p> </li> <li> <p>\\n, newline, decimal 10</p> </li> <li> <p>\\r, carriage return, decimal 13</p> </li> <li> <p>\\v, vertical tab, decimal 11</p> </li> <li> <p>non-breaking space, decimal 160</p> </li> </ul> <p> <code>COMPRESS_WHITE_SPACE</code> also replaces multiple spaces with one space.</p> <p> <b>HTML_ENTITY_DECODE</b> </p> <p>Use this option to replace HTML-encoded characters with unencoded characters. <code>HTML_ENTITY_DECODE</code> performs the following operations:</p> <ul> <li> <p>Replaces <code>(ampersand)quot;</code> with <code>\"</code> </p> </li> <li> <p>Replaces <code>(ampersand)nbsp;</code> with a non-breaking space, decimal 160</p> </li> <li> <p>Replaces <code>(ampersand)lt;</code> with a \"less than\" symbol</p> </li> <li> <p>Replaces <code>(ampersand)gt;</code> with <code>&gt;</code> </p> </li> <li> <p>Replaces characters that are represented in hexadecimal format, <code>(ampersand)#xhhhh;</code>, with the corresponding characters</p> </li> <li> <p>Replaces characters that are represented in decimal format, <code>(ampersand)#nnnn;</code>, with the corresponding characters</p> </li> </ul> <p> <b>LOWERCASE</b> </p> <p>Use this option to convert uppercase letters (A-Z) to lowercase (a-z).</p> <p> <b>URL_DECODE</b> </p> <p>Use this option to decode a URL-encoded value.</p> <p> <b>NONE</b> </p> <p>Specify <code>NONE</code> if you don't want to perform any text transformations.</p>"
}
},
"documentation":"<p>Specifies the part of a web request that you want AWS WAF to inspect for cross-site scripting attacks and, if you want AWS WAF to inspect a header, the name of the header.</p>"
},
"XssMatchTuples":{
"type":"list",
"member":{"shape":"XssMatchTuple"}
},
"errorMessage":{"type":"string"}
},
"documentation":"<p>This is the <i>AWS WAF Regional API Reference</i> for using AWS WAF with Elastic Load Balancing (ELB) Application Load Balancers. The AWS WAF actions and data types listed in the reference are available for protecting Application Load Balancers. You can use these actions and data types by means of the endpoints listed in <a href=\"https://docs.aws.amazon.com/general/latest/gr/rande.html#waf_region\">AWS Regions and Endpoints</a>. This guide is for developers who need detailed information about the AWS WAF API actions, data types, and errors. For detailed information about AWS WAF features and an overview of how to use the AWS WAF API, see the <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/\">AWS WAF Developer Guide</a>.</p>"
}