amazonka-waf 1.4.2 → 1.4.3
raw patch · 44 files changed
+707/−1655 lines, 44 filesdep ~amazonka-coredep ~amazonka-testdep ~amazonka-wafPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: amazonka-core, amazonka-test, amazonka-waf
API changes (from Hackage documentation)
Files
- README.md +2/−6
- amazonka-waf.cabal +6/−10
- gen/Network/AWS/WAF.hs +1/−5
- gen/Network/AWS/WAF/CreateByteMatchSet.hs +7/−21
- gen/Network/AWS/WAF/CreateIPSet.hs +7/−21
- gen/Network/AWS/WAF/CreateRule.hs +11/−32
- gen/Network/AWS/WAF/CreateSizeConstraintSet.hs +8/−23
- gen/Network/AWS/WAF/CreateSqlInjectionMatchSet.hs +8/−24
- gen/Network/AWS/WAF/CreateWebACL.hs +12/−35
- gen/Network/AWS/WAF/CreateXSSMatchSet.hs +7/−19
- gen/Network/AWS/WAF/DeleteByteMatchSet.hs +6/−15
- gen/Network/AWS/WAF/DeleteIPSet.hs +6/−13
- gen/Network/AWS/WAF/DeleteRule.hs +7/−16
- gen/Network/AWS/WAF/DeleteSizeConstraintSet.hs +7/−17
- gen/Network/AWS/WAF/DeleteSqlInjectionMatchSet.hs +8/−21
- gen/Network/AWS/WAF/DeleteWebACL.hs +5/−11
- gen/Network/AWS/WAF/DeleteXSSMatchSet.hs +7/−17
- gen/Network/AWS/WAF/GetByteMatchSet.hs +4/−11
- gen/Network/AWS/WAF/GetChangeToken.hs +4/−15
- gen/Network/AWS/WAF/GetChangeTokenStatus.hs +4/−9
- gen/Network/AWS/WAF/GetIPSet.hs +3/−6
- gen/Network/AWS/WAF/GetRule.hs +5/−10
- gen/Network/AWS/WAF/GetSampledRequests.hs +10/−37
- gen/Network/AWS/WAF/GetSizeConstraintSet.hs +4/−11
- gen/Network/AWS/WAF/GetSqlInjectionMatchSet.hs +5/−12
- gen/Network/AWS/WAF/GetWebACL.hs +4/−8
- gen/Network/AWS/WAF/GetXSSMatchSet.hs +4/−10
- gen/Network/AWS/WAF/ListByteMatchSets.hs +3/−15
- gen/Network/AWS/WAF/ListIPSets.hs +3/−15
- gen/Network/AWS/WAF/ListRules.hs +3/−14
- gen/Network/AWS/WAF/ListSizeConstraintSets.hs +3/−17
- gen/Network/AWS/WAF/ListSqlInjectionMatchSets.hs +4/−20
- gen/Network/AWS/WAF/ListWebACLs.hs +3/−15
- gen/Network/AWS/WAF/ListXSSMatchSets.hs +4/−17
- gen/Network/AWS/WAF/Types.hs +28/−59
- gen/Network/AWS/WAF/Types/Product.hs +173/−547
- gen/Network/AWS/WAF/UpdateByteMatchSet.hs +15/−41
- gen/Network/AWS/WAF/UpdateIPSet.hs +12/−35
- gen/Network/AWS/WAF/UpdateRule.hs +11/−30
- gen/Network/AWS/WAF/UpdateSizeConstraintSet.hs +16/−46
- gen/Network/AWS/WAF/UpdateSqlInjectionMatchSet.hs +14/−42
- gen/Network/AWS/WAF/UpdateWebACL.hs +14/−44
- gen/Network/AWS/WAF/UpdateXSSMatchSet.hs +11/−35
- test/Test/AWS/Gen/WAF.hs +228/−228
README.md view
@@ -8,16 +8,12 @@ ## Version -`1.4.2`+`1.4.3` ## Description -This is the /AWS WAF API Reference/. 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-<http://docs.aws.amazon.com/waf/latest/developerguide/ AWS WAF Developer Guide>.+This is the /AWS WAF API Reference/. 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 <http://docs.aws.amazon.com/waf/latest/developerguide/ AWS WAF Developer Guide>. Documentation is available via [Hackage](http://hackage.haskell.org/package/amazonka-waf) and the [AWS API Reference](https://aws.amazon.com/documentation/).
amazonka-waf.cabal view
@@ -1,5 +1,5 @@ name: amazonka-waf-version: 1.4.2+version: 1.4.3 synopsis: Amazon WAF SDK. homepage: https://github.com/brendanhay/amazonka bug-reports: https://github.com/brendanhay/amazonka/issues@@ -13,11 +13,7 @@ cabal-version: >= 1.10 extra-source-files: README.md fixture/*.yaml fixture/*.proto description:- This is the /AWS WAF API Reference/. 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- <http://docs.aws.amazon.com/waf/latest/developerguide/ AWS WAF Developer Guide>.+ This is the /AWS WAF API Reference/. 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 <http://docs.aws.amazon.com/waf/latest/developerguide/ AWS WAF Developer Guide>. . The types from this library are intended to be used with <http://hackage.haskell.org/package/amazonka amazonka>, which provides@@ -91,7 +87,7 @@ , Network.AWS.WAF.Types.Sum build-depends:- amazonka-core == 1.4.2.*+ amazonka-core == 1.4.3.* , base >= 4.7 && < 5 test-suite amazonka-waf-test@@ -111,9 +107,9 @@ , Test.AWS.WAF.Internal build-depends:- amazonka-core == 1.4.2.*- , amazonka-test == 1.4.2.*- , amazonka-waf == 1.4.2.*+ amazonka-core == 1.4.3.*+ , amazonka-test == 1.4.3.*+ , amazonka-waf == 1.4.3.* , base , bytestring , tasty
gen/Network/AWS/WAF.hs view
@@ -11,11 +11,7 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- This is the /AWS WAF API Reference/. 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--- <http://docs.aws.amazon.com/waf/latest/developerguide/ AWS WAF Developer Guide>.+-- This is the /AWS WAF API Reference/. 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 <http://docs.aws.amazon.com/waf/latest/developerguide/ AWS WAF Developer Guide>. module Network.AWS.WAF ( -- * Service Configuration
gen/Network/AWS/WAF/CreateByteMatchSet.hs view
@@ -18,27 +18,16 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Creates a 'ByteMatchSet'. You then use < UpdateByteMatchSet> to identify--- the part of a web request that you want AWS WAF to inspect, such as the--- values of the 'User-Agent' header or the query string. For example, you--- can create a 'ByteMatchSet' that matches any requests with 'User-Agent'--- headers that contain the string 'BadBot'. You can then configure AWS WAF--- to reject those requests.+-- Creates a 'ByteMatchSet'. You then use < UpdateByteMatchSet> to identify the part of a web request that you want AWS WAF to inspect, such as the values of the 'User-Agent' header or the query string. For example, you can create a 'ByteMatchSet' that matches any requests with 'User-Agent' headers that contain the string 'BadBot'. You can then configure AWS WAF to reject those requests. -- -- To create and configure a 'ByteMatchSet', perform the following steps: ----- 1. Use < GetChangeToken> to get the change token that you provide in--- the 'ChangeToken' parameter of a 'CreateByteMatchSet' request.+-- 1. Use < GetChangeToken> to get the change token that you provide in the 'ChangeToken' parameter of a 'CreateByteMatchSet' request. -- 2. Submit a 'CreateByteMatchSet' request.--- 3. Use 'GetChangeToken' to get the change token that you provide in the--- 'ChangeToken' parameter of an 'UpdateByteMatchSet' request.--- 4. Submit an < UpdateByteMatchSet> 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.+-- 3. Use 'GetChangeToken' to get the change token that you provide in the 'ChangeToken' parameter of an 'UpdateByteMatchSet' request.+-- 4. Submit an < UpdateByteMatchSet> 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. ----- For more information about how to use the AWS WAF API to allow or block--- HTTP requests, see the--- <http://docs.aws.amazon.com/waf/latest/developerguide/ AWS WAF Developer Guide>.+-- For more information about how to use the AWS WAF API to allow or block HTTP requests, see the <http://docs.aws.amazon.com/waf/latest/developerguide/ AWS WAF Developer Guide>. module Network.AWS.WAF.CreateByteMatchSet ( -- * Creating a Request@@ -87,8 +76,7 @@ , _cbmsChangeToken = pChangeToken_ } --- | A friendly name or description of the < ByteMatchSet>. You can\'t change--- 'Name' after you create a 'ByteMatchSet'.+-- | A friendly name or description of the < ByteMatchSet>. You can\'t change 'Name' after you create a 'ByteMatchSet'. cbmsName :: Lens' CreateByteMatchSet Text cbmsName = lens _cbmsName (\ s a -> s{_cbmsName = a}); @@ -163,9 +151,7 @@ cbmsrsByteMatchSet :: Lens' CreateByteMatchSetResponse (Maybe ByteMatchSet) cbmsrsByteMatchSet = lens _cbmsrsByteMatchSet (\ s a -> s{_cbmsrsByteMatchSet = a}); --- | The 'ChangeToken' that you used to submit the 'CreateByteMatchSet'--- request. You can also use this value to query the status of the request.--- For more information, see < GetChangeTokenStatus>.+-- | The 'ChangeToken' that you used to submit the 'CreateByteMatchSet' request. You can also use this value to query the status of the request. For more information, see < GetChangeTokenStatus>. cbmsrsChangeToken :: Lens' CreateByteMatchSetResponse (Maybe Text) cbmsrsChangeToken = lens _cbmsrsChangeToken (\ s a -> s{_cbmsrsChangeToken = a});
gen/Network/AWS/WAF/CreateIPSet.hs view
@@ -18,27 +18,16 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Creates an < IPSet>, which you use to specify which web requests 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 'IPSet'--- that contains those IP addresses and then configure AWS WAF to block the--- requests.+-- Creates an < IPSet>, which you use to specify which web requests 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 'IPSet' that contains those IP addresses and then configure AWS WAF to block the requests. -- -- To create and configure an 'IPSet', perform the following steps: ----- 1. Use < GetChangeToken> to get the change token that you provide in--- the 'ChangeToken' parameter of a 'CreateIPSet' request.+-- 1. Use < GetChangeToken> to get the change token that you provide in the 'ChangeToken' parameter of a 'CreateIPSet' request. -- 2. Submit a 'CreateIPSet' request.--- 3. Use 'GetChangeToken' to get the change token that you provide in the--- 'ChangeToken' parameter of an < UpdateIPSet> request.--- 4. Submit an 'UpdateIPSet' request to specify the IP addresses that you--- want AWS WAF to watch for.+-- 3. Use 'GetChangeToken' to get the change token that you provide in the 'ChangeToken' parameter of an < UpdateIPSet> request.+-- 4. Submit an 'UpdateIPSet' request to specify the IP addresses that you want AWS WAF to watch for. ----- For more information about how to use the AWS WAF API to allow or block--- HTTP requests, see the--- <http://docs.aws.amazon.com/waf/latest/developerguide/ AWS WAF Developer Guide>.+-- For more information about how to use the AWS WAF API to allow or block HTTP requests, see the <http://docs.aws.amazon.com/waf/latest/developerguide/ AWS WAF Developer Guide>. module Network.AWS.WAF.CreateIPSet ( -- * Creating a Request@@ -87,8 +76,7 @@ , _cisChangeToken = pChangeToken_ } --- | A friendly name or description of the < IPSet>. You can\'t change 'Name'--- after you create the 'IPSet'.+-- | A friendly name or description of the < IPSet>. You can\'t change 'Name' after you create the 'IPSet'. cisName :: Lens' CreateIPSet Text cisName = lens _cisName (\ s a -> s{_cisName = a}); @@ -158,9 +146,7 @@ , _cisrsResponseStatus = pResponseStatus_ } --- | The 'ChangeToken' that you used to submit the 'CreateIPSet' request. You--- can also use this value to query the status of the request. For more--- information, see < GetChangeTokenStatus>.+-- | The 'ChangeToken' that you used to submit the 'CreateIPSet' request. You can also use this value to query the status of the request. For more information, see < GetChangeTokenStatus>. cisrsChangeToken :: Lens' CreateIPSetResponse (Maybe Text) cisrsChangeToken = lens _cisrsChangeToken (\ s a -> s{_cisrsChangeToken = a});
gen/Network/AWS/WAF/CreateRule.hs view
@@ -18,38 +18,23 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Creates a 'Rule', which contains the 'IPSet' objects, 'ByteMatchSet'--- objects, and other predicates that identify the requests that you want--- to block. If you add more than one predicate to a 'Rule', a request must--- match all of the specifications to be allowed or blocked. For example,--- suppose you add the following to a 'Rule':+-- Creates a 'Rule', which contains the 'IPSet' objects, 'ByteMatchSet' objects, and other predicates that identify the requests that you want to block. If you add more than one predicate to a 'Rule', a request must match all of the specifications to be allowed or blocked. For example, suppose you add the following to a 'Rule': -- -- - An 'IPSet' that matches the IP address '192.0.2.44\/32' -- - A 'ByteMatchSet' that matches 'BadBot' in the 'User-Agent' header ----- You then add the 'Rule' to a 'WebACL' and specify that you want to--- blocks requests that satisfy the 'Rule'. For a request to be blocked, it--- must come from the IP address 192.0.2.44 /and/ the 'User-Agent' header--- in the request must contain the value 'BadBot'.+-- You then add the 'Rule' to a 'WebACL' and specify that you want to blocks requests that satisfy the 'Rule'. For a request to be blocked, it must come from the IP address 192.0.2.44 /and/ the 'User-Agent' header in the request must contain the value 'BadBot'. -- -- To create and configure a 'Rule', perform the following steps: ----- 1. Create and update the predicates that you want to include in the--- 'Rule'. For more information, see < CreateByteMatchSet>,--- < CreateIPSet>, and < CreateSqlInjectionMatchSet>.--- 2. Use < GetChangeToken> to get the change token that you provide in--- the 'ChangeToken' parameter of a 'CreateRule' request.+-- 1. Create and update the predicates that you want to include in the 'Rule'. For more information, see < CreateByteMatchSet>, < CreateIPSet>, and < CreateSqlInjectionMatchSet>.+-- 2. Use < GetChangeToken> to get the change token that you provide in the 'ChangeToken' parameter of a 'CreateRule' request. -- 3. Submit a 'CreateRule' request.--- 4. Use 'GetChangeToken' to get the change token that you provide in the--- 'ChangeToken' parameter of an < UpdateRule> request.--- 5. Submit an 'UpdateRule' request to specify the predicates that you--- want to include in the 'Rule'.--- 6. Create and update a 'WebACL' that contains the 'Rule'. For more--- information, see < CreateWebACL>.+-- 4. Use 'GetChangeToken' to get the change token that you provide in the 'ChangeToken' parameter of an < UpdateRule> request.+-- 5. Submit an 'UpdateRule' request to specify the predicates that you want to include in the 'Rule'.+-- 6. Create and update a 'WebACL' that contains the 'Rule'. For more information, see < CreateWebACL>. ----- For more information about how to use the AWS WAF API to allow or block--- HTTP requests, see the--- <http://docs.aws.amazon.com/waf/latest/developerguide/ AWS WAF Developer Guide>.+-- For more information about how to use the AWS WAF API to allow or block HTTP requests, see the <http://docs.aws.amazon.com/waf/latest/developerguide/ AWS WAF Developer Guide>. module Network.AWS.WAF.CreateRule ( -- * Creating a Request@@ -104,15 +89,11 @@ , _crChangeToken = pChangeToken_ } --- | A friendly name or description of the < Rule>. You can\'t change the--- name of a 'Rule' after you create it.+-- | A friendly name or description of the < Rule>. You can\'t change the name of a 'Rule' after you create it. crName :: Lens' CreateRule Text crName = lens _crName (\ s a -> s{_crName = a}); --- | A friendly name or description for the metrics for this 'Rule'. The name--- can contain only alphanumeric characters (A-Z, a-z, 0-9); the name--- can\'t contain whitespace. You can\'t change the name of the metric--- after you create the 'Rule'.+-- | A friendly name or description for the metrics for this 'Rule'. The name can contain only alphanumeric characters (A-Z, a-z, 0-9); the name can\'t contain whitespace. You can\'t change the name of the metric after you create the 'Rule'. crMetricName :: Lens' CreateRule Text crMetricName = lens _crMetricName (\ s a -> s{_crMetricName = a}); @@ -187,9 +168,7 @@ crrsRule :: Lens' CreateRuleResponse (Maybe Rule) crrsRule = lens _crrsRule (\ s a -> s{_crrsRule = a}); --- | The 'ChangeToken' that you used to submit the 'CreateRule' request. You--- can also use this value to query the status of the request. For more--- information, see < GetChangeTokenStatus>.+-- | The 'ChangeToken' that you used to submit the 'CreateRule' request. You can also use this value to query the status of the request. For more information, see < GetChangeTokenStatus>. crrsChangeToken :: Lens' CreateRuleResponse (Maybe Text) crrsChangeToken = lens _crrsChangeToken (\ s a -> s{_crrsChangeToken = a});
gen/Network/AWS/WAF/CreateSizeConstraintSet.hs view
@@ -18,28 +18,16 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Creates a 'SizeConstraintSet'. You then use < UpdateSizeConstraintSet>--- to identify the part of a web request that you want AWS WAF to check for--- length, such as the length of the 'User-Agent' header or the length of--- the query string. For example, you can create a 'SizeConstraintSet' 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.+-- Creates a 'SizeConstraintSet'. You then use < UpdateSizeConstraintSet> to identify the part of a web request that you want AWS WAF to check for length, such as the length of the 'User-Agent' header or the length of the query string. For example, you can create a 'SizeConstraintSet' 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. ----- To create and configure a 'SizeConstraintSet', perform the following--- steps:+-- To create and configure a 'SizeConstraintSet', perform the following steps: ----- 1. Use < GetChangeToken> to get the change token that you provide in--- the 'ChangeToken' parameter of a 'CreateSizeConstraintSet' request.+-- 1. Use < GetChangeToken> to get the change token that you provide in the 'ChangeToken' parameter of a 'CreateSizeConstraintSet' request. -- 2. Submit a 'CreateSizeConstraintSet' request.--- 3. Use 'GetChangeToken' to get the change token that you provide in the--- 'ChangeToken' parameter of an 'UpdateSizeConstraintSet' request.--- 4. Submit an < UpdateSizeConstraintSet> 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.+-- 3. Use 'GetChangeToken' to get the change token that you provide in the 'ChangeToken' parameter of an 'UpdateSizeConstraintSet' request.+-- 4. Submit an < UpdateSizeConstraintSet> 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. ----- For more information about how to use the AWS WAF API to allow or block--- HTTP requests, see the--- <http://docs.aws.amazon.com/waf/latest/developerguide/ AWS WAF Developer Guide>.+-- For more information about how to use the AWS WAF API to allow or block HTTP requests, see the <http://docs.aws.amazon.com/waf/latest/developerguide/ AWS WAF Developer Guide>. module Network.AWS.WAF.CreateSizeConstraintSet ( -- * Creating a Request@@ -88,8 +76,7 @@ , _cscsChangeToken = pChangeToken_ } --- | A friendly name or description of the < SizeConstraintSet>. You can\'t--- change 'Name' after you create a 'SizeConstraintSet'.+-- | A friendly name or description of the < SizeConstraintSet>. You can\'t change 'Name' after you create a 'SizeConstraintSet'. cscsName :: Lens' CreateSizeConstraintSet Text cscsName = lens _cscsName (\ s a -> s{_cscsName = a}); @@ -165,9 +152,7 @@ cscsrsSizeConstraintSet :: Lens' CreateSizeConstraintSetResponse (Maybe SizeConstraintSet) cscsrsSizeConstraintSet = lens _cscsrsSizeConstraintSet (\ s a -> s{_cscsrsSizeConstraintSet = a}); --- | The 'ChangeToken' that you used to submit the 'CreateSizeConstraintSet'--- request. You can also use this value to query the status of the request.--- For more information, see < GetChangeTokenStatus>.+-- | The 'ChangeToken' that you used to submit the 'CreateSizeConstraintSet' request. You can also use this value to query the status of the request. For more information, see < GetChangeTokenStatus>. cscsrsChangeToken :: Lens' CreateSizeConstraintSetResponse (Maybe Text) cscsrsChangeToken = lens _cscsrsChangeToken (\ s a -> s{_cscsrsChangeToken = a});
gen/Network/AWS/WAF/CreateSqlInjectionMatchSet.hs view
@@ -18,27 +18,16 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Creates a < SqlInjectionMatchSet>, 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.+-- Creates a < SqlInjectionMatchSet>, 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. ----- To create and configure a 'SqlInjectionMatchSet', perform the following--- steps:+-- To create and configure a 'SqlInjectionMatchSet', perform the following steps: ----- 1. Use < GetChangeToken> to get the change token that you provide in--- the 'ChangeToken' parameter of a 'CreateSqlInjectionMatchSet'--- request.+-- 1. Use < GetChangeToken> to get the change token that you provide in the 'ChangeToken' parameter of a 'CreateSqlInjectionMatchSet' request. -- 2. Submit a 'CreateSqlInjectionMatchSet' request.--- 3. Use 'GetChangeToken' to get the change token that you provide in the--- 'ChangeToken' parameter of an < UpdateSqlInjectionMatchSet> request.--- 4. Submit an < UpdateSqlInjectionMatchSet> request to specify the parts--- of web requests in which you want to allow, block, or count--- malicious SQL code.+-- 3. Use 'GetChangeToken' to get the change token that you provide in the 'ChangeToken' parameter of an < UpdateSqlInjectionMatchSet> request.+-- 4. Submit an < UpdateSqlInjectionMatchSet> request to specify the parts of web requests in which you want to allow, block, or count malicious SQL code. ----- For more information about how to use the AWS WAF API to allow or block--- HTTP requests, see the--- <http://docs.aws.amazon.com/waf/latest/developerguide/ AWS WAF Developer Guide>.+-- For more information about how to use the AWS WAF API to allow or block HTTP requests, see the <http://docs.aws.amazon.com/waf/latest/developerguide/ AWS WAF Developer Guide>. module Network.AWS.WAF.CreateSqlInjectionMatchSet ( -- * Creating a Request@@ -89,9 +78,7 @@ , _csimsChangeToken = pChangeToken_ } --- | A friendly name or description for the < SqlInjectionMatchSet> that--- you\'re creating. You can\'t change 'Name' after you create the--- 'SqlInjectionMatchSet'.+-- | A friendly name or description for the < SqlInjectionMatchSet> that you\'re creating. You can\'t change 'Name' after you create the 'SqlInjectionMatchSet'. csimsName :: Lens' CreateSqlInjectionMatchSet Text csimsName = lens _csimsName (\ s a -> s{_csimsName = a}); @@ -170,10 +157,7 @@ csimsrsSqlInjectionMatchSet :: Lens' CreateSqlInjectionMatchSetResponse (Maybe SqlInjectionMatchSet) csimsrsSqlInjectionMatchSet = lens _csimsrsSqlInjectionMatchSet (\ s a -> s{_csimsrsSqlInjectionMatchSet = a}); --- | The 'ChangeToken' that you used to submit the--- 'CreateSqlInjectionMatchSet' request. You can also use this value to--- query the status of the request. For more information, see--- < GetChangeTokenStatus>.+-- | The 'ChangeToken' that you used to submit the 'CreateSqlInjectionMatchSet' request. You can also use this value to query the status of the request. For more information, see < GetChangeTokenStatus>. csimsrsChangeToken :: Lens' CreateSqlInjectionMatchSetResponse (Maybe Text) csimsrsChangeToken = lens _csimsrsChangeToken (\ s a -> s{_csimsrsChangeToken = a});
gen/Network/AWS/WAF/CreateWebACL.hs view
@@ -18,35 +18,20 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Creates a 'WebACL', which contains the 'Rules' that identify the--- CloudFront web requests that you want to allow, block, or count. AWS WAF--- evaluates 'Rules' in order based on the value of 'Priority' for each--- 'Rule'.+-- Creates a 'WebACL', which contains the 'Rules' that identify the CloudFront web requests that you want to allow, block, or count. AWS WAF evaluates 'Rules' in order based on the value of 'Priority' for each 'Rule'. ----- You also specify a default action, either 'ALLOW' or 'BLOCK'. If a web--- request doesn\'t match any of the 'Rules' in a 'WebACL', AWS WAF--- responds to the request with the default action.+-- You also specify a default action, either 'ALLOW' or 'BLOCK'. If a web request doesn\'t match any of the 'Rules' in a 'WebACL', AWS WAF responds to the request with the default action. -- -- To create and configure a 'WebACL', perform the following steps: ----- 1. Create and update the 'ByteMatchSet' objects and other predicates--- that you want to include in 'Rules'. For more information, see--- < CreateByteMatchSet>, < UpdateByteMatchSet>, < CreateIPSet>,--- < UpdateIPSet>, < CreateSqlInjectionMatchSet>, and--- < UpdateSqlInjectionMatchSet>.--- 2. Create and update the 'Rules' that you want to include in the--- 'WebACL'. For more information, see < CreateRule> and < UpdateRule>.--- 3. Use < GetChangeToken> to get the change token that you provide in--- the 'ChangeToken' parameter of a 'CreateWebACL' request.+-- 1. Create and update the 'ByteMatchSet' objects and other predicates that you want to include in 'Rules'. For more information, see < CreateByteMatchSet>, < UpdateByteMatchSet>, < CreateIPSet>, < UpdateIPSet>, < CreateSqlInjectionMatchSet>, and < UpdateSqlInjectionMatchSet>.+-- 2. Create and update the 'Rules' that you want to include in the 'WebACL'. For more information, see < CreateRule> and < UpdateRule>.+-- 3. Use < GetChangeToken> to get the change token that you provide in the 'ChangeToken' parameter of a 'CreateWebACL' request. -- 4. Submit a 'CreateWebACL' request.--- 5. Use 'GetChangeToken' to get the change token that you provide in the--- 'ChangeToken' parameter of an < UpdateWebACL> request.--- 6. Submit an < UpdateWebACL> request to specify the 'Rules' that you--- want to include in the 'WebACL', to specify the default action, and--- to associate the 'WebACL' with a CloudFront distribution.+-- 5. Use 'GetChangeToken' to get the change token that you provide in the 'ChangeToken' parameter of an < UpdateWebACL> request.+-- 6. Submit an < UpdateWebACL> request to specify the 'Rules' that you want to include in the 'WebACL', to specify the default action, and to associate the 'WebACL' with a CloudFront distribution. ----- For more information about how to use the AWS WAF API, see the--- <http://docs.aws.amazon.com/waf/latest/developerguide/ AWS WAF Developer Guide>.+-- For more information about how to use the AWS WAF API, see the <http://docs.aws.amazon.com/waf/latest/developerguide/ AWS WAF Developer Guide>. module Network.AWS.WAF.CreateWebACL ( -- * Creating a Request@@ -107,21 +92,15 @@ , _cwaChangeToken = pChangeToken_ } --- | A friendly name or description of the < WebACL>. You can\'t change--- 'Name' after you create the 'WebACL'.+-- | A friendly name or description of the < WebACL>. You can\'t change 'Name' after you create the 'WebACL'. cwaName :: Lens' CreateWebACL Text cwaName = lens _cwaName (\ s a -> s{_cwaName = a}); --- | A friendly name or description for the metrics for this 'WebACL'. The--- name can contain only alphanumeric characters (A-Z, a-z, 0-9); the name--- can\'t contain whitespace. You can\'t change 'MetricName' after you--- create the 'WebACL'.+-- | A friendly name or description for the metrics for this 'WebACL'. The name can contain only alphanumeric characters (A-Z, a-z, 0-9); the name can\'t contain whitespace. You can\'t change 'MetricName' after you create the 'WebACL'. cwaMetricName :: Lens' CreateWebACL Text cwaMetricName = lens _cwaMetricName (\ s a -> s{_cwaMetricName = a}); --- | The action that you want AWS WAF to take when a request doesn\'t match--- the criteria specified in any of the 'Rule' objects that are associated--- with the 'WebACL'.+-- | The action that you want AWS WAF to take when a request doesn\'t match the criteria specified in any of the 'Rule' objects that are associated with the 'WebACL'. cwaDefaultAction :: Lens' CreateWebACL WafAction cwaDefaultAction = lens _cwaDefaultAction (\ s a -> s{_cwaDefaultAction = a}); @@ -197,9 +176,7 @@ cwarsWebACL :: Lens' CreateWebACLResponse (Maybe WebACL) cwarsWebACL = lens _cwarsWebACL (\ s a -> s{_cwarsWebACL = a}); --- | The 'ChangeToken' that you used to submit the 'CreateWebACL' request.--- You can also use this value to query the status of the request. For more--- information, see < GetChangeTokenStatus>.+-- | The 'ChangeToken' that you used to submit the 'CreateWebACL' request. You can also use this value to query the status of the request. For more information, see < GetChangeTokenStatus>. cwarsChangeToken :: Lens' CreateWebACLResponse (Maybe Text) cwarsChangeToken = lens _cwarsChangeToken (\ s a -> s{_cwarsChangeToken = a});
gen/Network/AWS/WAF/CreateXSSMatchSet.hs view
@@ -18,25 +18,16 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Creates an < XssMatchSet>, 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.+-- Creates an < XssMatchSet>, 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. -- -- To create and configure an 'XssMatchSet', perform the following steps: ----- 1. Use < GetChangeToken> to get the change token that you provide in--- the 'ChangeToken' parameter of a 'CreateXssMatchSet' request.+-- 1. Use < GetChangeToken> to get the change token that you provide in the 'ChangeToken' parameter of a 'CreateXssMatchSet' request. -- 2. Submit a 'CreateXssMatchSet' request.--- 3. Use 'GetChangeToken' to get the change token that you provide in the--- 'ChangeToken' parameter of an < UpdateXssMatchSet> request.--- 4. Submit an < UpdateXssMatchSet> request to specify the parts of web--- requests in which you want to allow, block, or count cross-site--- scripting attacks.+-- 3. Use 'GetChangeToken' to get the change token that you provide in the 'ChangeToken' parameter of an < UpdateXssMatchSet> request.+-- 4. Submit an < UpdateXssMatchSet> request to specify the parts of web requests in which you want to allow, block, or count cross-site scripting attacks. ----- For more information about how to use the AWS WAF API to allow or block--- HTTP requests, see the--- <http://docs.aws.amazon.com/waf/latest/developerguide/ AWS WAF Developer Guide>.+-- For more information about how to use the AWS WAF API to allow or block HTTP requests, see the <http://docs.aws.amazon.com/waf/latest/developerguide/ AWS WAF Developer Guide>. module Network.AWS.WAF.CreateXSSMatchSet ( -- * Creating a Request@@ -87,8 +78,7 @@ , _cxmsChangeToken = pChangeToken_ } --- | A friendly name or description for the < XssMatchSet> that you\'re--- creating. You can\'t change 'Name' after you create the 'XssMatchSet'.+-- | A friendly name or description for the < XssMatchSet> that you\'re creating. You can\'t change 'Name' after you create the 'XssMatchSet'. cxmsName :: Lens' CreateXSSMatchSet Text cxmsName = lens _cxmsName (\ s a -> s{_cxmsName = a}); @@ -164,9 +154,7 @@ cxmsrsXSSMatchSet :: Lens' CreateXSSMatchSetResponse (Maybe XSSMatchSet) cxmsrsXSSMatchSet = lens _cxmsrsXSSMatchSet (\ s a -> s{_cxmsrsXSSMatchSet = a}); --- | The 'ChangeToken' that you used to submit the 'CreateXssMatchSet'--- request. You can also use this value to query the status of the request.--- For more information, see < GetChangeTokenStatus>.+-- | The 'ChangeToken' that you used to submit the 'CreateXssMatchSet' request. You can also use this value to query the status of the request. For more information, see < GetChangeTokenStatus>. cxmsrsChangeToken :: Lens' CreateXSSMatchSetResponse (Maybe Text) cxmsrsChangeToken = lens _cxmsrsChangeToken (\ s a -> s{_cxmsrsChangeToken = a});
gen/Network/AWS/WAF/DeleteByteMatchSet.hs view
@@ -18,19 +18,14 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Permanently deletes a < ByteMatchSet>. You can\'t delete a--- 'ByteMatchSet' if it\'s still used in any 'Rules' or if it still--- includes any < ByteMatchTuple> objects (any filters).+-- Permanently deletes a < ByteMatchSet>. You can\'t delete a 'ByteMatchSet' if it\'s still used in any 'Rules' or if it still includes any < ByteMatchTuple> objects (any filters). ----- If you just want to remove a 'ByteMatchSet' from a 'Rule', use--- < UpdateRule>.+-- If you just want to remove a 'ByteMatchSet' from a 'Rule', use < UpdateRule>. -- -- To permanently delete a 'ByteMatchSet', perform the following steps: ----- 1. Update the 'ByteMatchSet' to remove filters, if any. For more--- information, see < UpdateByteMatchSet>.--- 2. Use < GetChangeToken> to get the change token that you provide in--- the 'ChangeToken' parameter of a 'DeleteByteMatchSet' request.+-- 1. Update the 'ByteMatchSet' to remove filters, if any. For more information, see < UpdateByteMatchSet>.+-- 2. Use < GetChangeToken> to get the change token that you provide in the 'ChangeToken' parameter of a 'DeleteByteMatchSet' request. -- 3. Submit a 'DeleteByteMatchSet' request. module Network.AWS.WAF.DeleteByteMatchSet (@@ -79,9 +74,7 @@ , _dbmsChangeToken = pChangeToken_ } --- | The 'ByteMatchSetId' of the < ByteMatchSet> that you want to delete.--- 'ByteMatchSetId' is returned by < CreateByteMatchSet> and by--- < ListByteMatchSets>.+-- | The 'ByteMatchSetId' of the < ByteMatchSet> that you want to delete. 'ByteMatchSetId' is returned by < CreateByteMatchSet> and by < ListByteMatchSets>. dbmsByteMatchSetId :: Lens' DeleteByteMatchSet Text dbmsByteMatchSetId = lens _dbmsByteMatchSetId (\ s a -> s{_dbmsByteMatchSetId = a}); @@ -147,9 +140,7 @@ , _dbmsrsResponseStatus = pResponseStatus_ } --- | The 'ChangeToken' that you used to submit the 'DeleteByteMatchSet'--- request. You can also use this value to query the status of the request.--- For more information, see < GetChangeTokenStatus>.+-- | The 'ChangeToken' that you used to submit the 'DeleteByteMatchSet' request. You can also use this value to query the status of the request. For more information, see < GetChangeTokenStatus>. dbmsrsChangeToken :: Lens' DeleteByteMatchSetResponse (Maybe Text) dbmsrsChangeToken = lens _dbmsrsChangeToken (\ s a -> s{_dbmsrsChangeToken = a});
gen/Network/AWS/WAF/DeleteIPSet.hs view
@@ -18,18 +18,14 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Permanently deletes an < IPSet>. You can\'t delete an 'IPSet' if it\'s--- still used in any 'Rules' or if it still includes any IP addresses.+-- Permanently deletes an < IPSet>. You can\'t delete an 'IPSet' if it\'s still used in any 'Rules' or if it still includes any IP addresses. -- -- If you just want to remove an 'IPSet' from a 'Rule', use < UpdateRule>. ----- To permanently delete an 'IPSet' from AWS WAF, perform the following--- steps:+-- To permanently delete an 'IPSet' from AWS WAF, perform the following steps: ----- 1. Update the 'IPSet' to remove IP address ranges, if any. For more--- information, see < UpdateIPSet>.--- 2. Use < GetChangeToken> to get the change token that you provide in--- the 'ChangeToken' parameter of a 'DeleteIPSet' request.+-- 1. Update the 'IPSet' to remove IP address ranges, if any. For more information, see < UpdateIPSet>.+-- 2. Use < GetChangeToken> to get the change token that you provide in the 'ChangeToken' parameter of a 'DeleteIPSet' request. -- 3. Submit a 'DeleteIPSet' request. module Network.AWS.WAF.DeleteIPSet (@@ -78,8 +74,7 @@ , _disChangeToken = pChangeToken_ } --- | The 'IPSetId' of the < IPSet> that you want to delete. 'IPSetId' is--- returned by < CreateIPSet> and by < ListIPSets>.+-- | The 'IPSetId' of the < IPSet> that you want to delete. 'IPSetId' is returned by < CreateIPSet> and by < ListIPSets>. disIPSetId :: Lens' DeleteIPSet Text disIPSetId = lens _disIPSetId (\ s a -> s{_disIPSetId = a}); @@ -144,9 +139,7 @@ , _disrsResponseStatus = pResponseStatus_ } --- | The 'ChangeToken' that you used to submit the 'DeleteIPSet' request. You--- can also use this value to query the status of the request. For more--- information, see < GetChangeTokenStatus>.+-- | The 'ChangeToken' that you used to submit the 'DeleteIPSet' request. You can also use this value to query the status of the request. For more information, see < GetChangeTokenStatus>. disrsChangeToken :: Lens' DeleteIPSetResponse (Maybe Text) disrsChangeToken = lens _disrsChangeToken (\ s a -> s{_disrsChangeToken = a});
gen/Network/AWS/WAF/DeleteRule.hs view
@@ -18,20 +18,14 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Permanently deletes a < Rule>. You can\'t delete a 'Rule' if it\'s still--- used in any 'WebACL' objects or if it still includes any predicates,--- such as 'ByteMatchSet' objects.+-- Permanently deletes a < Rule>. You can\'t delete a 'Rule' if it\'s still used in any 'WebACL' objects or if it still includes any predicates, such as 'ByteMatchSet' objects. ----- If you just want to remove a 'Rule' from a 'WebACL', use--- < UpdateWebACL>.+-- If you just want to remove a 'Rule' from a 'WebACL', use < UpdateWebACL>. ----- To permanently delete a 'Rule' from AWS WAF, perform the following--- steps:+-- To permanently delete a 'Rule' from AWS WAF, perform the following steps: ----- 1. Update the 'Rule' to remove predicates, if any. For more--- information, see < UpdateRule>.--- 2. Use < GetChangeToken> to get the change token that you provide in--- the 'ChangeToken' parameter of a 'DeleteRule' request.+-- 1. Update the 'Rule' to remove predicates, if any. For more information, see < UpdateRule>.+-- 2. Use < GetChangeToken> to get the change token that you provide in the 'ChangeToken' parameter of a 'DeleteRule' request. -- 3. Submit a 'DeleteRule' request. module Network.AWS.WAF.DeleteRule (@@ -80,8 +74,7 @@ , _drChangeToken = pChangeToken_ } --- | The 'RuleId' of the < Rule> that you want to delete. 'RuleId' is--- returned by < CreateRule> and by < ListRules>.+-- | The 'RuleId' of the < Rule> that you want to delete. 'RuleId' is returned by < CreateRule> and by < ListRules>. drRuleId :: Lens' DeleteRule Text drRuleId = lens _drRuleId (\ s a -> s{_drRuleId = a}); @@ -146,9 +139,7 @@ , _drrsResponseStatus = pResponseStatus_ } --- | The 'ChangeToken' that you used to submit the 'DeleteRule' request. You--- can also use this value to query the status of the request. For more--- information, see < GetChangeTokenStatus>.+-- | The 'ChangeToken' that you used to submit the 'DeleteRule' request. You can also use this value to query the status of the request. For more information, see < GetChangeTokenStatus>. drrsChangeToken :: Lens' DeleteRuleResponse (Maybe Text) drrsChangeToken = lens _drrsChangeToken (\ s a -> s{_drrsChangeToken = a});
gen/Network/AWS/WAF/DeleteSizeConstraintSet.hs view
@@ -18,20 +18,14 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Permanently deletes a < SizeConstraintSet>. You can\'t delete a--- 'SizeConstraintSet' if it\'s still used in any 'Rules' or if it still--- includes any < SizeConstraint> objects (any filters).+-- Permanently deletes a < SizeConstraintSet>. You can\'t delete a 'SizeConstraintSet' if it\'s still used in any 'Rules' or if it still includes any < SizeConstraint> objects (any filters). ----- If you just want to remove a 'SizeConstraintSet' from a 'Rule', use--- < UpdateRule>.+-- If you just want to remove a 'SizeConstraintSet' from a 'Rule', use < UpdateRule>. ----- To permanently delete a 'SizeConstraintSet', perform the following--- steps:+-- To permanently delete a 'SizeConstraintSet', perform the following steps: ----- 1. Update the 'SizeConstraintSet' to remove filters, if any. For more--- information, see < UpdateSizeConstraintSet>.--- 2. Use < GetChangeToken> to get the change token that you provide in--- the 'ChangeToken' parameter of a 'DeleteSizeConstraintSet' request.+-- 1. Update the 'SizeConstraintSet' to remove filters, if any. For more information, see < UpdateSizeConstraintSet>.+-- 2. Use < GetChangeToken> to get the change token that you provide in the 'ChangeToken' parameter of a 'DeleteSizeConstraintSet' request. -- 3. Submit a 'DeleteSizeConstraintSet' request. module Network.AWS.WAF.DeleteSizeConstraintSet (@@ -80,9 +74,7 @@ , _dscsChangeToken = pChangeToken_ } --- | The 'SizeConstraintSetId' of the < SizeConstraintSet> that you want to--- delete. 'SizeConstraintSetId' is returned by < CreateSizeConstraintSet>--- and by < ListSizeConstraintSets>.+-- | The 'SizeConstraintSetId' of the < SizeConstraintSet> that you want to delete. 'SizeConstraintSetId' is returned by < CreateSizeConstraintSet> and by < ListSizeConstraintSets>. dscsSizeConstraintSetId :: Lens' DeleteSizeConstraintSet Text dscsSizeConstraintSetId = lens _dscsSizeConstraintSetId (\ s a -> s{_dscsSizeConstraintSetId = a}); @@ -150,9 +142,7 @@ , _dscsrsResponseStatus = pResponseStatus_ } --- | The 'ChangeToken' that you used to submit the 'DeleteSizeConstraintSet'--- request. You can also use this value to query the status of the request.--- For more information, see < GetChangeTokenStatus>.+-- | The 'ChangeToken' that you used to submit the 'DeleteSizeConstraintSet' request. You can also use this value to query the status of the request. For more information, see < GetChangeTokenStatus>. dscsrsChangeToken :: Lens' DeleteSizeConstraintSetResponse (Maybe Text) dscsrsChangeToken = lens _dscsrsChangeToken (\ s a -> s{_dscsrsChangeToken = a});
gen/Network/AWS/WAF/DeleteSqlInjectionMatchSet.hs view
@@ -18,21 +18,14 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Permanently deletes a < SqlInjectionMatchSet>. You can\'t delete a--- 'SqlInjectionMatchSet' if it\'s still used in any 'Rules' or if it still--- contains any < SqlInjectionMatchTuple> objects.+-- Permanently deletes a < SqlInjectionMatchSet>. You can\'t delete a 'SqlInjectionMatchSet' if it\'s still used in any 'Rules' or if it still contains any < SqlInjectionMatchTuple> objects. ----- If you just want to remove a 'SqlInjectionMatchSet' from a 'Rule', use--- < UpdateRule>.+-- If you just want to remove a 'SqlInjectionMatchSet' from a 'Rule', use < UpdateRule>. ----- To permanently delete a 'SqlInjectionMatchSet' from AWS WAF, perform the--- following steps:+-- To permanently delete a 'SqlInjectionMatchSet' from AWS WAF, perform the following steps: ----- 1. Update the 'SqlInjectionMatchSet' to remove filters, if any. For--- more information, see < UpdateSqlInjectionMatchSet>.--- 2. Use < GetChangeToken> to get the change token that you provide in--- the 'ChangeToken' parameter of a 'DeleteSqlInjectionMatchSet'--- request.+-- 1. Update the 'SqlInjectionMatchSet' to remove filters, if any. For more information, see < UpdateSqlInjectionMatchSet>.+-- 2. Use < GetChangeToken> to get the change token that you provide in the 'ChangeToken' parameter of a 'DeleteSqlInjectionMatchSet' request. -- 3. Submit a 'DeleteSqlInjectionMatchSet' request. module Network.AWS.WAF.DeleteSqlInjectionMatchSet (@@ -83,9 +76,7 @@ , _dsimsChangeToken = pChangeToken_ } --- | The 'SqlInjectionMatchSetId' of the < SqlInjectionMatchSet> that you--- want to delete. 'SqlInjectionMatchSetId' is returned by--- < CreateSqlInjectionMatchSet> and by < ListSqlInjectionMatchSets>.+-- | The 'SqlInjectionMatchSetId' of the < SqlInjectionMatchSet> that you want to delete. 'SqlInjectionMatchSetId' is returned by < CreateSqlInjectionMatchSet> and by < ListSqlInjectionMatchSets>. dsimsSqlInjectionMatchSetId :: Lens' DeleteSqlInjectionMatchSet Text dsimsSqlInjectionMatchSetId = lens _dsimsSqlInjectionMatchSetId (\ s a -> s{_dsimsSqlInjectionMatchSetId = a}); @@ -132,8 +123,7 @@ instance ToQuery DeleteSqlInjectionMatchSet where toQuery = const mempty --- | The response to a request to delete a < SqlInjectionMatchSet> from AWS--- WAF.+-- | The response to a request to delete a < SqlInjectionMatchSet> from AWS WAF. -- -- /See:/ 'deleteSqlInjectionMatchSetResponse' smart constructor. data DeleteSqlInjectionMatchSetResponse = DeleteSqlInjectionMatchSetResponse'@@ -157,10 +147,7 @@ , _dsimsrsResponseStatus = pResponseStatus_ } --- | The 'ChangeToken' that you used to submit the--- 'DeleteSqlInjectionMatchSet' request. You can also use this value to--- query the status of the request. For more information, see--- < GetChangeTokenStatus>.+-- | The 'ChangeToken' that you used to submit the 'DeleteSqlInjectionMatchSet' request. You can also use this value to query the status of the request. For more information, see < GetChangeTokenStatus>. dsimsrsChangeToken :: Lens' DeleteSqlInjectionMatchSetResponse (Maybe Text) dsimsrsChangeToken = lens _dsimsrsChangeToken (\ s a -> s{_dsimsrsChangeToken = a});
gen/Network/AWS/WAF/DeleteWebACL.hs view
@@ -18,15 +18,12 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Permanently deletes a < WebACL>. You can\'t delete a 'WebACL' if it--- still contains any 'Rules'.+-- Permanently deletes a < WebACL>. You can\'t delete a 'WebACL' if it still contains any 'Rules'. -- -- To delete a 'WebACL', perform the following steps: ----- 1. Update the 'WebACL' to remove 'Rules', if any. For more information,--- see < UpdateWebACL>.--- 2. Use < GetChangeToken> to get the change token that you provide in--- the 'ChangeToken' parameter of a 'DeleteWebACL' request.+-- 1. Update the 'WebACL' to remove 'Rules', if any. For more information, see < UpdateWebACL>.+-- 2. Use < GetChangeToken> to get the change token that you provide in the 'ChangeToken' parameter of a 'DeleteWebACL' request. -- 3. Submit a 'DeleteWebACL' request. module Network.AWS.WAF.DeleteWebACL (@@ -75,8 +72,7 @@ , _dwaChangeToken = pChangeToken_ } --- | The 'WebACLId' of the < WebACL> that you want to delete. 'WebACLId' is--- returned by < CreateWebACL> and by < ListWebACLs>.+-- | The 'WebACLId' of the < WebACL> that you want to delete. 'WebACLId' is returned by < CreateWebACL> and by < ListWebACLs>. dwaWebACLId :: Lens' DeleteWebACL Text dwaWebACLId = lens _dwaWebACLId (\ s a -> s{_dwaWebACLId = a}); @@ -141,9 +137,7 @@ , _dwarsResponseStatus = pResponseStatus_ } --- | The 'ChangeToken' that you used to submit the 'DeleteWebACL' request.--- You can also use this value to query the status of the request. For more--- information, see < GetChangeTokenStatus>.+-- | The 'ChangeToken' that you used to submit the 'DeleteWebACL' request. You can also use this value to query the status of the request. For more information, see < GetChangeTokenStatus>. dwarsChangeToken :: Lens' DeleteWebACLResponse (Maybe Text) dwarsChangeToken = lens _dwarsChangeToken (\ s a -> s{_dwarsChangeToken = a});
gen/Network/AWS/WAF/DeleteXSSMatchSet.hs view
@@ -18,20 +18,14 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Permanently deletes an < XssMatchSet>. You can\'t delete an--- 'XssMatchSet' if it\'s still used in any 'Rules' or if it still contains--- any < XssMatchTuple> objects.+-- Permanently deletes an < XssMatchSet>. You can\'t delete an 'XssMatchSet' if it\'s still used in any 'Rules' or if it still contains any < XssMatchTuple> objects. ----- If you just want to remove an 'XssMatchSet' from a 'Rule', use--- < UpdateRule>.+-- If you just want to remove an 'XssMatchSet' from a 'Rule', use < UpdateRule>. ----- To permanently delete an 'XssMatchSet' from AWS WAF, perform the--- following steps:+-- To permanently delete an 'XssMatchSet' from AWS WAF, perform the following steps: ----- 1. Update the 'XssMatchSet' to remove filters, if any. For more--- information, see < UpdateXssMatchSet>.--- 2. Use < GetChangeToken> to get the change token that you provide in--- the 'ChangeToken' parameter of a 'DeleteXssMatchSet' request.+-- 1. Update the 'XssMatchSet' to remove filters, if any. For more information, see < UpdateXssMatchSet>.+-- 2. Use < GetChangeToken> to get the change token that you provide in the 'ChangeToken' parameter of a 'DeleteXssMatchSet' request. -- 3. Submit a 'DeleteXssMatchSet' request. module Network.AWS.WAF.DeleteXSSMatchSet (@@ -82,9 +76,7 @@ , _dxmsChangeToken = pChangeToken_ } --- | The 'XssMatchSetId' of the < XssMatchSet> that you want to delete.--- 'XssMatchSetId' is returned by < CreateXssMatchSet> and by--- < ListXssMatchSets>.+-- | The 'XssMatchSetId' of the < XssMatchSet> that you want to delete. 'XssMatchSetId' is returned by < CreateXssMatchSet> and by < ListXssMatchSets>. dxmsXSSMatchSetId :: Lens' DeleteXSSMatchSet Text dxmsXSSMatchSetId = lens _dxmsXSSMatchSetId (\ s a -> s{_dxmsXSSMatchSetId = a}); @@ -151,9 +143,7 @@ , _dxmsrsResponseStatus = pResponseStatus_ } --- | The 'ChangeToken' that you used to submit the 'DeleteXssMatchSet'--- request. You can also use this value to query the status of the request.--- For more information, see < GetChangeTokenStatus>.+-- | The 'ChangeToken' that you used to submit the 'DeleteXssMatchSet' request. You can also use this value to query the status of the request. For more information, see < GetChangeTokenStatus>. dxmsrsChangeToken :: Lens' DeleteXSSMatchSetResponse (Maybe Text) dxmsrsChangeToken = lens _dxmsrsChangeToken (\ s a -> s{_dxmsrsChangeToken = a});
gen/Network/AWS/WAF/GetByteMatchSet.hs view
@@ -60,9 +60,7 @@ { _gbmsByteMatchSetId = pByteMatchSetId_ } --- | The 'ByteMatchSetId' of the < ByteMatchSet> that you want to get.--- 'ByteMatchSetId' is returned by < CreateByteMatchSet> and by--- < ListByteMatchSets>.+-- | The 'ByteMatchSetId' of the < ByteMatchSet> that you want to get. 'ByteMatchSetId' is returned by < CreateByteMatchSet> and by < ListByteMatchSets>. gbmsByteMatchSetId :: Lens' GetByteMatchSet Text gbmsByteMatchSetId = lens _gbmsByteMatchSetId (\ s a -> s{_gbmsByteMatchSetId = a}); @@ -122,15 +120,10 @@ , _gbmsrsResponseStatus = pResponseStatus_ } --- | Information about the < ByteMatchSet> that you specified in the--- 'GetByteMatchSet' request. For more information, see the following--- topics:+-- | Information about the < ByteMatchSet> that you specified in the 'GetByteMatchSet' request. For more information, see the following topics: ----- - < ByteMatchSet>: Contains 'ByteMatchSetId', 'ByteMatchTuples', and--- 'Name'--- - 'ByteMatchTuples': Contains an array of < ByteMatchTuple> objects.--- Each 'ByteMatchTuple' object contains < FieldToMatch>,--- 'PositionalConstraint', 'TargetString', and 'TextTransformation'+-- - < ByteMatchSet>: Contains 'ByteMatchSetId', 'ByteMatchTuples', and 'Name'+-- - 'ByteMatchTuples': Contains an array of < ByteMatchTuple> objects. Each 'ByteMatchTuple' object contains < FieldToMatch>, 'PositionalConstraint', 'TargetString', and 'TextTransformation' -- - < FieldToMatch>: Contains 'Data' and 'Type' gbmsrsByteMatchSet :: Lens' GetByteMatchSetResponse (Maybe ByteMatchSet) gbmsrsByteMatchSet = lens _gbmsrsByteMatchSet (\ s a -> s{_gbmsrsByteMatchSet = a});
gen/Network/AWS/WAF/GetChangeToken.hs view
@@ -18,21 +18,11 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- 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.+-- 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. ----- Each create, update, or delete request must use a unique change token.--- If your application submits a 'GetChangeToken' request and then submits--- a second 'GetChangeToken' request before submitting a create, update, or--- delete request, the second 'GetChangeToken' request returns the same--- value as the first 'GetChangeToken' request.+-- Each create, update, or delete request must use a unique change token. If your application submits a 'GetChangeToken' request and then submits a second 'GetChangeToken' request before submitting a create, update, or delete request, the second 'GetChangeToken' request returns the same value as the first 'GetChangeToken' request. ----- When you use a change token in a create, update, or delete request, the--- status of the change token changes to 'PENDING', which indicates that--- AWS WAF is propagating the change to all AWS WAF servers. Use--- 'GetChangeTokenStatus' to determine the status of your change token.+-- When you use a change token in a create, update, or delete request, the status of the change token changes to 'PENDING', which indicates that AWS WAF is propagating the change to all AWS WAF servers. Use 'GetChangeTokenStatus' to determine the status of your change token. module Network.AWS.WAF.GetChangeToken ( -- * Creating a Request@@ -118,8 +108,7 @@ , _gctrsResponseStatus = pResponseStatus_ } --- | The 'ChangeToken' that you used in the request. Use this value in a--- 'GetChangeTokenStatus' request to get the current status of the request.+-- | The 'ChangeToken' that you used in the request. Use this value in a 'GetChangeTokenStatus' request to get the current status of the request. gctrsChangeToken :: Lens' GetChangeTokenResponse (Maybe Text) gctrsChangeToken = lens _gctrsChangeToken (\ s a -> s{_gctrsChangeToken = a});
gen/Network/AWS/WAF/GetChangeTokenStatus.hs view
@@ -18,14 +18,10 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Returns the status of a 'ChangeToken' that you got by calling--- < GetChangeToken>. 'ChangeTokenStatus' is one of the following values:+-- Returns the status of a 'ChangeToken' that you got by calling < GetChangeToken>. 'ChangeTokenStatus' is one of the following values: ----- - 'PROVISIONED': You requested the change token by calling--- 'GetChangeToken', but you haven\'t used it yet in a call to create,--- update, or delete an AWS WAF object.--- - 'PENDING': AWS WAF is propagating the create, update, or delete--- request to all AWS WAF servers.+-- - 'PROVISIONED': You requested the change token by calling 'GetChangeToken', but you haven\'t used it yet in a call to create, update, or delete an AWS WAF object.+-- - 'PENDING': AWS WAF is propagating the create, update, or delete request to all AWS WAF servers. -- - 'IN_SYNC': Propagation is complete. module Network.AWS.WAF.GetChangeTokenStatus (@@ -68,8 +64,7 @@ { _gctsChangeToken = pChangeToken_ } --- | The change token for which you want to get the status. This change token--- was previously returned in the 'GetChangeToken' response.+-- | The change token for which you want to get the status. This change token was previously returned in the 'GetChangeToken' response. gctsChangeToken :: Lens' GetChangeTokenStatus Text gctsChangeToken = lens _gctsChangeToken (\ s a -> s{_gctsChangeToken = a});
gen/Network/AWS/WAF/GetIPSet.hs view
@@ -60,8 +60,7 @@ { _gisIPSetId = pIPSetId_ } --- | The 'IPSetId' of the < IPSet> that you want to get. 'IPSetId' is--- returned by < CreateIPSet> and by < ListIPSets>.+-- | The 'IPSetId' of the < IPSet> that you want to get. 'IPSetId' is returned by < CreateIPSet> and by < ListIPSets>. gisIPSetId :: Lens' GetIPSet Text gisIPSetId = lens _gisIPSetId (\ s a -> s{_gisIPSetId = a}); @@ -120,12 +119,10 @@ , _gisrsResponseStatus = pResponseStatus_ } --- | Information about the < IPSet> that you specified in the 'GetIPSet'--- request. For more information, see the following topics:+-- | Information about the < IPSet> that you specified in the 'GetIPSet' request. For more information, see the following topics: -- -- - < IPSet>: Contains 'IPSetDescriptors', 'IPSetId', and 'Name'--- - 'IPSetDescriptors': Contains an array of < IPSetDescriptor> objects.--- Each 'IPSetDescriptor' object contains 'Type' and 'Value'+-- - 'IPSetDescriptors': Contains an array of < IPSetDescriptor> objects. Each 'IPSetDescriptor' object contains 'Type' and 'Value' gisrsIPSet :: Lens' GetIPSetResponse (Maybe IPSet) gisrsIPSet = lens _gisrsIPSet (\ s a -> s{_gisrsIPSet = a});
gen/Network/AWS/WAF/GetRule.hs view
@@ -18,8 +18,7 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Returns the < Rule> that is specified by the 'RuleId' that you included--- in the 'GetRule' request.+-- Returns the < Rule> that is specified by the 'RuleId' that you included in the 'GetRule' request. module Network.AWS.WAF.GetRule ( -- * Creating a Request@@ -61,8 +60,7 @@ { _grRuleId = pRuleId_ } --- | The 'RuleId' of the < Rule> that you want to get. 'RuleId' is returned--- by < CreateRule> and by < ListRules>.+-- | The 'RuleId' of the < Rule> that you want to get. 'RuleId' is returned by < CreateRule> and by < ListRules>. grRuleId :: Lens' GetRule Text grRuleId = lens _grRuleId (\ s a -> s{_grRuleId = a}); @@ -120,13 +118,10 @@ , _grrsResponseStatus = pResponseStatus_ } --- | Information about the < Rule> that you specified in the 'GetRule'--- request. For more information, see the following topics:+-- | Information about the < Rule> that you specified in the 'GetRule' request. For more information, see the following topics: ----- - < Rule>: Contains 'MetricName', 'Name', an array of 'Predicate'--- objects, and 'RuleId'--- - < Predicate>: Each 'Predicate' object contains 'DataId', 'Negated',--- and 'Type'+-- - < Rule>: Contains 'MetricName', 'Name', an array of 'Predicate' objects, and 'RuleId'+-- - < Predicate>: Each 'Predicate' object contains 'DataId', 'Negated', and 'Type' grrsRule :: Lens' GetRuleResponse (Maybe Rule) grrsRule = lens _grrsRule (\ s a -> s{_grrsRule = a});
gen/Network/AWS/WAF/GetSampledRequests.hs view
@@ -18,18 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- 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 100 requests, and you can--- specify any time range in the previous three hours.+-- 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 100 requests, and you can specify any time range in the previous three hours. ----- 'GetSampledRequests' 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, 'GetSampledRequests' returns an updated time range.--- This new time range indicates the actual period during which AWS WAF--- selected the requests in the sample.+-- 'GetSampledRequests' 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, 'GetSampledRequests' returns an updated time range. This new time range indicates the actual period during which AWS WAF selected the requests in the sample. module Network.AWS.WAF.GetSampledRequests ( -- * Creating a Request@@ -91,32 +82,22 @@ , _gsrMaxItems = _Nat # pMaxItems_ } --- | The 'WebACLId' of the 'WebACL' for which you want 'GetSampledRequests'--- to return a sample of requests.+-- | The 'WebACLId' of the 'WebACL' for which you want 'GetSampledRequests' to return a sample of requests. gsrWebACLId :: Lens' GetSampledRequests Text gsrWebACLId = lens _gsrWebACLId (\ s a -> s{_gsrWebACLId = a}); -- | 'RuleId' is one of two values: ----- - The 'RuleId' of the 'Rule' for which you want 'GetSampledRequests'--- to return a sample of requests.--- - 'Default_Action', which causes 'GetSampledRequests' to return a--- sample of the requests that didn\'t match any of the rules in the--- specified 'WebACL'.+-- - The 'RuleId' of the 'Rule' for which you want 'GetSampledRequests' to return a sample of requests.+-- - 'Default_Action', which causes 'GetSampledRequests' to return a sample of the requests that didn\'t match any of the rules in the specified 'WebACL'. gsrRuleId :: Lens' GetSampledRequests Text gsrRuleId = lens _gsrRuleId (\ s a -> s{_gsrRuleId = a}); --- | The start date and time and the end date and time of the range for which--- you want 'GetSampledRequests' to return a sample of requests. Specify--- the date and time in Unix time format (in seconds). You can specify any--- time range in the previous three hours.+-- | The start date and time and the end date and time of the range for which you want 'GetSampledRequests' to return a sample of requests. Specify the date and time in Unix time format (in seconds). You can specify any time range in the previous three hours. gsrTimeWindow :: Lens' GetSampledRequests TimeWindow gsrTimeWindow = lens _gsrTimeWindow (\ s a -> s{_gsrTimeWindow = a}); --- | 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--- 'MaxItems', 'GetSampledRequests' returns information about all of them.+-- | 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 'MaxItems', 'GetSampledRequests' returns information about all of them. gsrMaxItems :: Lens' GetSampledRequests Natural gsrMaxItems = lens _gsrMaxItems (\ s a -> s{_gsrMaxItems = a}) . _Nat; @@ -191,23 +172,15 @@ , _gsrrsResponseStatus = pResponseStatus_ } --- | A complex type that contains detailed information about each of the--- requests in the sample.+-- | A complex type that contains detailed information about each of the requests in the sample. gsrrsSampledRequests :: Lens' GetSampledRequestsResponse [SampledHTTPRequest] gsrrsSampledRequests = lens _gsrrsSampledRequests (\ s a -> s{_gsrrsSampledRequests = a}) . _Default . _Coerce; --- | The total number of requests from which 'GetSampledRequests' got a--- sample of 'MaxItems' requests. If 'PopulationSize' is less than--- 'MaxItems', the sample includes every request that your AWS resource--- received during the specified time range.+-- | The total number of requests from which 'GetSampledRequests' got a sample of 'MaxItems' requests. If 'PopulationSize' is less than 'MaxItems', the sample includes every request that your AWS resource received during the specified time range. gsrrsPopulationSize :: Lens' GetSampledRequestsResponse (Maybe Integer) gsrrsPopulationSize = lens _gsrrsPopulationSize (\ s a -> s{_gsrrsPopulationSize = a}); --- | Usually, 'TimeWindow' is the time range that you specified in the--- 'GetSampledRequests' request. However, if your AWS resource received--- more than 5,000 requests during the time range that you specified in the--- request, 'GetSampledRequests' returns the time range for the first 5,000--- requests.+-- | Usually, 'TimeWindow' is the time range that you specified in the 'GetSampledRequests' request. However, if your AWS resource received more than 5,000 requests during the time range that you specified in the request, 'GetSampledRequests' returns the time range for the first 5,000 requests. gsrrsTimeWindow :: Lens' GetSampledRequestsResponse (Maybe TimeWindow) gsrrsTimeWindow = lens _gsrrsTimeWindow (\ s a -> s{_gsrrsTimeWindow = a});
gen/Network/AWS/WAF/GetSizeConstraintSet.hs view
@@ -60,9 +60,7 @@ { _gscsSizeConstraintSetId = pSizeConstraintSetId_ } --- | The 'SizeConstraintSetId' of the < SizeConstraintSet> that you want to--- get. 'SizeConstraintSetId' is returned by < CreateSizeConstraintSet> and--- by < ListSizeConstraintSets>.+-- | The 'SizeConstraintSetId' of the < SizeConstraintSet> that you want to get. 'SizeConstraintSetId' is returned by < CreateSizeConstraintSet> and by < ListSizeConstraintSets>. gscsSizeConstraintSetId :: Lens' GetSizeConstraintSet Text gscsSizeConstraintSetId = lens _gscsSizeConstraintSetId (\ s a -> s{_gscsSizeConstraintSetId = a}); @@ -125,15 +123,10 @@ , _gscsrsResponseStatus = pResponseStatus_ } --- | Information about the < SizeConstraintSet> that you specified in the--- 'GetSizeConstraintSet' request. For more information, see the following--- topics:+-- | Information about the < SizeConstraintSet> that you specified in the 'GetSizeConstraintSet' request. For more information, see the following topics: ----- - < SizeConstraintSet>: Contains 'SizeConstraintSetId',--- 'SizeConstraints', and 'Name'--- - 'SizeConstraints': Contains an array of < SizeConstraint> objects.--- Each 'SizeConstraint' object contains < FieldToMatch>,--- 'TextTransformation', 'ComparisonOperator', and 'Size'+-- - < SizeConstraintSet>: Contains 'SizeConstraintSetId', 'SizeConstraints', and 'Name'+-- - 'SizeConstraints': Contains an array of < SizeConstraint> objects. Each 'SizeConstraint' object contains < FieldToMatch>, 'TextTransformation', 'ComparisonOperator', and 'Size' -- - < FieldToMatch>: Contains 'Data' and 'Type' gscsrsSizeConstraintSet :: Lens' GetSizeConstraintSetResponse (Maybe SizeConstraintSet) gscsrsSizeConstraintSet = lens _gscsrsSizeConstraintSet (\ s a -> s{_gscsrsSizeConstraintSet = a});
gen/Network/AWS/WAF/GetSqlInjectionMatchSet.hs view
@@ -18,8 +18,7 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Returns the < SqlInjectionMatchSet> that is specified by--- 'SqlInjectionMatchSetId'.+-- Returns the < SqlInjectionMatchSet> that is specified by 'SqlInjectionMatchSetId'. module Network.AWS.WAF.GetSqlInjectionMatchSet ( -- * Creating a Request@@ -63,9 +62,7 @@ { _gsimsSqlInjectionMatchSetId = pSqlInjectionMatchSetId_ } --- | The 'SqlInjectionMatchSetId' of the < SqlInjectionMatchSet> that you--- want to get. 'SqlInjectionMatchSetId' is returned by--- < CreateSqlInjectionMatchSet> and by < ListSqlInjectionMatchSets>.+-- | The 'SqlInjectionMatchSetId' of the < SqlInjectionMatchSet> that you want to get. 'SqlInjectionMatchSetId' is returned by < CreateSqlInjectionMatchSet> and by < ListSqlInjectionMatchSets>. gsimsSqlInjectionMatchSetId :: Lens' GetSqlInjectionMatchSet Text gsimsSqlInjectionMatchSetId = lens _gsimsSqlInjectionMatchSetId (\ s a -> s{_gsimsSqlInjectionMatchSetId = a}); @@ -132,14 +129,10 @@ , _gsimsrsResponseStatus = pResponseStatus_ } --- | Information about the < SqlInjectionMatchSet> that you specified in the--- 'GetSqlInjectionMatchSet' request. For more information, see the--- following topics:+-- | Information about the < SqlInjectionMatchSet> that you specified in the 'GetSqlInjectionMatchSet' request. For more information, see the following topics: ----- - < SqlInjectionMatchSet>: Contains 'Name', 'SqlInjectionMatchSetId',--- and an array of 'SqlInjectionMatchTuple' objects--- - < SqlInjectionMatchTuple>: Each 'SqlInjectionMatchTuple' object--- contains 'FieldToMatch' and 'TextTransformation'+-- - < SqlInjectionMatchSet>: Contains 'Name', 'SqlInjectionMatchSetId', and an array of 'SqlInjectionMatchTuple' objects+-- - < SqlInjectionMatchTuple>: Each 'SqlInjectionMatchTuple' object contains 'FieldToMatch' and 'TextTransformation' -- - < FieldToMatch>: Contains 'Data' and 'Type' gsimsrsSqlInjectionMatchSet :: Lens' GetSqlInjectionMatchSetResponse (Maybe SqlInjectionMatchSet) gsimsrsSqlInjectionMatchSet = lens _gsimsrsSqlInjectionMatchSet (\ s a -> s{_gsimsrsSqlInjectionMatchSet = a});
gen/Network/AWS/WAF/GetWebACL.hs view
@@ -60,8 +60,7 @@ { _gwaWebACLId = pWebACLId_ } --- | The 'WebACLId' of the < WebACL> that you want to get. 'WebACLId' is--- returned by < CreateWebACL> and by < ListWebACLs>.+-- | The 'WebACLId' of the < WebACL> that you want to get. 'WebACLId' is returned by < CreateWebACL> and by < ListWebACLs>. gwaWebACLId :: Lens' GetWebACL Text gwaWebACLId = lens _gwaWebACLId (\ s a -> s{_gwaWebACLId = a}); @@ -120,14 +119,11 @@ , _gwarsResponseStatus = pResponseStatus_ } --- | Information about the < WebACL> that you specified in the 'GetWebACL'--- request. For more information, see the following topics:+-- | Information about the < WebACL> that you specified in the 'GetWebACL' request. For more information, see the following topics: ----- - < WebACL>: Contains 'DefaultAction', 'MetricName', 'Name', an array--- of 'Rule' objects, and 'WebACLId'+-- - < WebACL>: Contains 'DefaultAction', 'MetricName', 'Name', an array of 'Rule' objects, and 'WebACLId' -- - 'DefaultAction' (Data type is < WafAction>): Contains 'Type'--- - 'Rules': Contains an array of 'ActivatedRule' objects, which contain--- 'Action', 'Priority', and 'RuleId'+-- - 'Rules': Contains an array of 'ActivatedRule' objects, which contain 'Action', 'Priority', and 'RuleId' -- - 'Action': Contains 'Type' gwarsWebACL :: Lens' GetWebACLResponse (Maybe WebACL) gwarsWebACL = lens _gwarsWebACL (\ s a -> s{_gwarsWebACL = a});
gen/Network/AWS/WAF/GetXSSMatchSet.hs view
@@ -62,9 +62,7 @@ { _gxmsXSSMatchSetId = pXSSMatchSetId_ } --- | The 'XssMatchSetId' of the < XssMatchSet> that you want to get.--- 'XssMatchSetId' is returned by < CreateXssMatchSet> and by--- < ListXssMatchSets>.+-- | The 'XssMatchSetId' of the < XssMatchSet> that you want to get. 'XssMatchSetId' is returned by < CreateXssMatchSet> and by < ListXssMatchSets>. gxmsXSSMatchSetId :: Lens' GetXSSMatchSet Text gxmsXSSMatchSetId = lens _gxmsXSSMatchSetId (\ s a -> s{_gxmsXSSMatchSetId = a}); @@ -126,14 +124,10 @@ , _gxmsrsResponseStatus = pResponseStatus_ } --- | Information about the < XssMatchSet> that you specified in the--- 'GetXssMatchSet' request. For more information, see the following--- topics:+-- | Information about the < XssMatchSet> that you specified in the 'GetXssMatchSet' request. For more information, see the following topics: ----- - < XssMatchSet>: Contains 'Name', 'XssMatchSetId', and an array of--- 'XssMatchTuple' objects--- - < XssMatchTuple>: Each 'XssMatchTuple' object contains--- 'FieldToMatch' and 'TextTransformation'+-- - < XssMatchSet>: Contains 'Name', 'XssMatchSetId', and an array of 'XssMatchTuple' objects+-- - < XssMatchTuple>: Each 'XssMatchTuple' object contains 'FieldToMatch' and 'TextTransformation' -- - < FieldToMatch>: Contains 'Data' and 'Type' gxmsrsXSSMatchSet :: Lens' GetXSSMatchSetResponse (Maybe XSSMatchSet) gxmsrsXSSMatchSet = lens _gxmsrsXSSMatchSet (\ s a -> s{_gxmsrsXSSMatchSet = a});
gen/Network/AWS/WAF/ListByteMatchSets.hs view
@@ -66,19 +66,11 @@ , _lbmsLimit = _Nat # pLimit_ } --- | If you specify a value for 'Limit' and you have more 'ByteMatchSets'--- than the value of 'Limit', AWS WAF returns a 'NextMarker' value in the--- response that allows you to list another group of 'ByteMatchSets'. For--- the second and subsequent 'ListByteMatchSets' requests, specify the--- value of 'NextMarker' from the previous response to get information--- about another batch of 'ByteMatchSets'.+-- | If you specify a value for 'Limit' and you have more 'ByteMatchSets' than the value of 'Limit', AWS WAF returns a 'NextMarker' value in the response that allows you to list another group of 'ByteMatchSets'. For the second and subsequent 'ListByteMatchSets' requests, specify the value of 'NextMarker' from the previous response to get information about another batch of 'ByteMatchSets'. lbmsNextMarker :: Lens' ListByteMatchSets (Maybe Text) lbmsNextMarker = lens _lbmsNextMarker (\ s a -> s{_lbmsNextMarker = a}); --- | Specifies the number of 'ByteMatchSet' objects that you want AWS WAF to--- return for this request. If you have more 'ByteMatchSets' objects than--- the number you specify for 'Limit', the response includes a 'NextMarker'--- value that you can use to get another batch of 'ByteMatchSet' objects.+-- | Specifies the number of 'ByteMatchSet' objects that you want AWS WAF to return for this request. If you have more 'ByteMatchSets' objects than the number you specify for 'Limit', the response includes a 'NextMarker' value that you can use to get another batch of 'ByteMatchSet' objects. lbmsLimit :: Lens' ListByteMatchSets Natural lbmsLimit = lens _lbmsLimit (\ s a -> s{_lbmsLimit = a}) . _Nat; @@ -149,11 +141,7 @@ lbmsrsByteMatchSets :: Lens' ListByteMatchSetsResponse [ByteMatchSetSummary] lbmsrsByteMatchSets = lens _lbmsrsByteMatchSets (\ s a -> s{_lbmsrsByteMatchSets = a}) . _Default . _Coerce; --- | If you have more 'ByteMatchSet' objects than the number that you--- specified for 'Limit' in the request, the response includes a--- 'NextMarker' value. To list more 'ByteMatchSet' objects, submit another--- 'ListByteMatchSets' request, and specify the 'NextMarker' value from the--- response in the 'NextMarker' value in the next request.+-- | If you have more 'ByteMatchSet' objects than the number that you specified for 'Limit' in the request, the response includes a 'NextMarker' value. To list more 'ByteMatchSet' objects, submit another 'ListByteMatchSets' request, and specify the 'NextMarker' value from the response in the 'NextMarker' value in the next request. lbmsrsNextMarker :: Lens' ListByteMatchSetsResponse (Maybe Text) lbmsrsNextMarker = lens _lbmsrsNextMarker (\ s a -> s{_lbmsrsNextMarker = a});
gen/Network/AWS/WAF/ListIPSets.hs view
@@ -66,19 +66,11 @@ , _lisLimit = _Nat # pLimit_ } --- | If you specify a value for 'Limit' and you have more 'IPSets' than the--- value of 'Limit', AWS WAF returns a 'NextMarker' value in the response--- that allows you to list another group of 'IPSets'. For the second and--- subsequent 'ListIPSets' requests, specify the value of 'NextMarker' from--- the previous response to get information about another batch of--- 'ByteMatchSets'.+-- | If you specify a value for 'Limit' and you have more 'IPSets' than the value of 'Limit', AWS WAF returns a 'NextMarker' value in the response that allows you to list another group of 'IPSets'. For the second and subsequent 'ListIPSets' requests, specify the value of 'NextMarker' from the previous response to get information about another batch of 'ByteMatchSets'. lisNextMarker :: Lens' ListIPSets (Maybe Text) lisNextMarker = lens _lisNextMarker (\ s a -> s{_lisNextMarker = a}); --- | Specifies the number of 'IPSet' objects that you want AWS WAF to return--- for this request. If you have more 'IPSet' objects than the number you--- specify for 'Limit', the response includes a 'NextMarker' value that you--- can use to get another batch of 'IPSet' objects.+-- | Specifies the number of 'IPSet' objects that you want AWS WAF to return for this request. If you have more 'IPSet' objects than the number you specify for 'Limit', the response includes a 'NextMarker' value that you can use to get another batch of 'IPSet' objects. lisLimit :: Lens' ListIPSets Natural lisLimit = lens _lisLimit (\ s a -> s{_lisLimit = a}) . _Nat; @@ -144,11 +136,7 @@ , _lisrsResponseStatus = pResponseStatus_ } --- | If you have more 'IPSet' objects than the number that you specified for--- 'Limit' in the request, the response includes a 'NextMarker' value. To--- list more 'IPSet' objects, submit another 'ListIPSets' request, and--- specify the 'NextMarker' value from the response in the 'NextMarker'--- value in the next request.+-- | If you have more 'IPSet' objects than the number that you specified for 'Limit' in the request, the response includes a 'NextMarker' value. To list more 'IPSet' objects, submit another 'ListIPSets' request, and specify the 'NextMarker' value from the response in the 'NextMarker' value in the next request. lisrsNextMarker :: Lens' ListIPSetsResponse (Maybe Text) lisrsNextMarker = lens _lisrsNextMarker (\ s a -> s{_lisrsNextMarker = a});
gen/Network/AWS/WAF/ListRules.hs view
@@ -66,18 +66,11 @@ , _lrLimit = _Nat # pLimit_ } --- | If you specify a value for 'Limit' and you have more 'Rules' than the--- value of 'Limit', AWS WAF returns a 'NextMarker' value in the response--- that allows you to list another group of 'Rules'. For the second and--- subsequent 'ListRules' requests, specify the value of 'NextMarker' from--- the previous response to get information about another batch of 'Rules'.+-- | If you specify a value for 'Limit' and you have more 'Rules' than the value of 'Limit', AWS WAF returns a 'NextMarker' value in the response that allows you to list another group of 'Rules'. For the second and subsequent 'ListRules' requests, specify the value of 'NextMarker' from the previous response to get information about another batch of 'Rules'. lrNextMarker :: Lens' ListRules (Maybe Text) lrNextMarker = lens _lrNextMarker (\ s a -> s{_lrNextMarker = a}); --- | Specifies the number of 'Rules' that you want AWS WAF to return for this--- request. If you have more 'Rules' than the number that you specify for--- 'Limit', the response includes a 'NextMarker' value that you can use to--- get another batch of 'Rules'.+-- | Specifies the number of 'Rules' that you want AWS WAF to return for this request. If you have more 'Rules' than the number that you specify for 'Limit', the response includes a 'NextMarker' value that you can use to get another batch of 'Rules'. lrLimit :: Lens' ListRules Natural lrLimit = lens _lrLimit (\ s a -> s{_lrLimit = a}) . _Nat; @@ -147,11 +140,7 @@ lrrsRules :: Lens' ListRulesResponse [RuleSummary] lrrsRules = lens _lrrsRules (\ s a -> s{_lrrsRules = a}) . _Default . _Coerce; --- | If you have more 'Rules' than the number that you specified for 'Limit'--- in the request, the response includes a 'NextMarker' value. To list more--- 'Rules', submit another 'ListRules' request, and specify the--- 'NextMarker' value from the response in the 'NextMarker' value in the--- next request.+-- | If you have more 'Rules' than the number that you specified for 'Limit' in the request, the response includes a 'NextMarker' value. To list more 'Rules', submit another 'ListRules' request, and specify the 'NextMarker' value from the response in the 'NextMarker' value in the next request. lrrsNextMarker :: Lens' ListRulesResponse (Maybe Text) lrrsNextMarker = lens _lrrsNextMarker (\ s a -> s{_lrrsNextMarker = a});
gen/Network/AWS/WAF/ListSizeConstraintSets.hs view
@@ -66,21 +66,11 @@ , _lscsLimit = _Nat # pLimit_ } --- | If you specify a value for 'Limit' and you have more--- 'SizeConstraintSets' than the value of 'Limit', AWS WAF returns a--- 'NextMarker' value in the response that allows you to list another group--- of 'SizeConstraintSets'. For the second and subsequent--- 'ListSizeConstraintSets' requests, specify the value of 'NextMarker'--- from the previous response to get information about another batch of--- 'SizeConstraintSets'.+-- | If you specify a value for 'Limit' and you have more 'SizeConstraintSets' than the value of 'Limit', AWS WAF returns a 'NextMarker' value in the response that allows you to list another group of 'SizeConstraintSets'. For the second and subsequent 'ListSizeConstraintSets' requests, specify the value of 'NextMarker' from the previous response to get information about another batch of 'SizeConstraintSets'. lscsNextMarker :: Lens' ListSizeConstraintSets (Maybe Text) lscsNextMarker = lens _lscsNextMarker (\ s a -> s{_lscsNextMarker = a}); --- | Specifies the number of 'SizeConstraintSet' objects that you want AWS--- WAF to return for this request. If you have more 'SizeConstraintSets'--- objects than the number you specify for 'Limit', the response includes a--- 'NextMarker' value that you can use to get another batch of--- 'SizeConstraintSet' objects.+-- | Specifies the number of 'SizeConstraintSet' objects that you want AWS WAF to return for this request. If you have more 'SizeConstraintSets' objects than the number you specify for 'Limit', the response includes a 'NextMarker' value that you can use to get another batch of 'SizeConstraintSet' objects. lscsLimit :: Lens' ListSizeConstraintSets Natural lscsLimit = lens _lscsLimit (\ s a -> s{_lscsLimit = a}) . _Nat; @@ -153,11 +143,7 @@ lscsrsSizeConstraintSets :: Lens' ListSizeConstraintSetsResponse [SizeConstraintSetSummary] lscsrsSizeConstraintSets = lens _lscsrsSizeConstraintSets (\ s a -> s{_lscsrsSizeConstraintSets = a}) . _Default . _Coerce; --- | If you have more 'SizeConstraintSet' objects than the number that you--- specified for 'Limit' in the request, the response includes a--- 'NextMarker' value. To list more 'SizeConstraintSet' objects, submit--- another 'ListSizeConstraintSets' request, and specify the 'NextMarker'--- value from the response in the 'NextMarker' value in the next request.+-- | If you have more 'SizeConstraintSet' objects than the number that you specified for 'Limit' in the request, the response includes a 'NextMarker' value. To list more 'SizeConstraintSet' objects, submit another 'ListSizeConstraintSets' request, and specify the 'NextMarker' value from the response in the 'NextMarker' value in the next request. lscsrsNextMarker :: Lens' ListSizeConstraintSetsResponse (Maybe Text) lscsrsNextMarker = lens _lscsrsNextMarker (\ s a -> s{_lscsrsNextMarker = a});
gen/Network/AWS/WAF/ListSqlInjectionMatchSets.hs view
@@ -44,8 +44,7 @@ import Network.AWS.WAF.Types import Network.AWS.WAF.Types.Product --- | A request to list the < SqlInjectionMatchSet> objects created by the--- current AWS account.+-- | A request to list the < SqlInjectionMatchSet> objects created by the current AWS account. -- -- /See:/ 'listSqlInjectionMatchSets' smart constructor. data ListSqlInjectionMatchSets = ListSqlInjectionMatchSets'@@ -69,21 +68,11 @@ , _lsimsLimit = _Nat # pLimit_ } --- | If you specify a value for 'Limit' and you have more--- < SqlInjectionMatchSet> objects than the value of 'Limit', AWS WAF--- returns a 'NextMarker' value in the response that allows you to list--- another group of 'SqlInjectionMatchSets'. For the second and subsequent--- 'ListSqlInjectionMatchSets' requests, specify the value of 'NextMarker'--- from the previous response to get information about another batch of--- 'SqlInjectionMatchSets'.+-- | If you specify a value for 'Limit' and you have more < SqlInjectionMatchSet> objects than the value of 'Limit', AWS WAF returns a 'NextMarker' value in the response that allows you to list another group of 'SqlInjectionMatchSets'. For the second and subsequent 'ListSqlInjectionMatchSets' requests, specify the value of 'NextMarker' from the previous response to get information about another batch of 'SqlInjectionMatchSets'. lsimsNextMarker :: Lens' ListSqlInjectionMatchSets (Maybe Text) lsimsNextMarker = lens _lsimsNextMarker (\ s a -> s{_lsimsNextMarker = a}); --- | Specifies the number of < SqlInjectionMatchSet> objects that you want--- AWS WAF to return for this request. If you have more--- 'SqlInjectionMatchSet' objects than the number you specify for 'Limit',--- the response includes a 'NextMarker' value that you can use to get--- another batch of 'Rules'.+-- | Specifies the number of < SqlInjectionMatchSet> objects that you want AWS WAF to return for this request. If you have more 'SqlInjectionMatchSet' objects than the number you specify for 'Limit', the response includes a 'NextMarker' value that you can use to get another batch of 'Rules'. lsimsLimit :: Lens' ListSqlInjectionMatchSets Natural lsimsLimit = lens _lsimsLimit (\ s a -> s{_lsimsLimit = a}) . _Nat; @@ -154,12 +143,7 @@ , _lsimsrsResponseStatus = pResponseStatus_ } --- | If you have more < SqlInjectionMatchSet> objects than the number that--- you specified for 'Limit' in the request, the response includes a--- 'NextMarker' value. To list more 'SqlInjectionMatchSet' objects, submit--- another 'ListSqlInjectionMatchSets' request, and specify the--- 'NextMarker' value from the response in the 'NextMarker' value in the--- next request.+-- | If you have more < SqlInjectionMatchSet> objects than the number that you specified for 'Limit' in the request, the response includes a 'NextMarker' value. To list more 'SqlInjectionMatchSet' objects, submit another 'ListSqlInjectionMatchSets' request, and specify the 'NextMarker' value from the response in the 'NextMarker' value in the next request. lsimsrsNextMarker :: Lens' ListSqlInjectionMatchSetsResponse (Maybe Text) lsimsrsNextMarker = lens _lsimsrsNextMarker (\ s a -> s{_lsimsrsNextMarker = a});
gen/Network/AWS/WAF/ListWebACLs.hs view
@@ -66,19 +66,11 @@ , _lwaLimit = _Nat # pLimit_ } --- | If you specify a value for 'Limit' and you have more 'WebACL' objects--- than the number that you specify for 'Limit', AWS WAF returns a--- 'NextMarker' value in the response that allows you to list another group--- of 'WebACL' objects. For the second and subsequent 'ListWebACLs'--- requests, specify the value of 'NextMarker' from the previous response--- to get information about another batch of 'WebACL' objects.+-- | If you specify a value for 'Limit' and you have more 'WebACL' objects than the number that you specify for 'Limit', AWS WAF returns a 'NextMarker' value in the response that allows you to list another group of 'WebACL' objects. For the second and subsequent 'ListWebACLs' requests, specify the value of 'NextMarker' from the previous response to get information about another batch of 'WebACL' objects. lwaNextMarker :: Lens' ListWebACLs (Maybe Text) lwaNextMarker = lens _lwaNextMarker (\ s a -> s{_lwaNextMarker = a}); --- | Specifies the number of 'WebACL' objects that you want AWS WAF to return--- for this request. If you have more 'WebACL' objects than the number that--- you specify for 'Limit', the response includes a 'NextMarker' value that--- you can use to get another batch of 'WebACL' objects.+-- | Specifies the number of 'WebACL' objects that you want AWS WAF to return for this request. If you have more 'WebACL' objects than the number that you specify for 'Limit', the response includes a 'NextMarker' value that you can use to get another batch of 'WebACL' objects. lwaLimit :: Lens' ListWebACLs Natural lwaLimit = lens _lwaLimit (\ s a -> s{_lwaLimit = a}) . _Nat; @@ -148,11 +140,7 @@ lwarsWebACLs :: Lens' ListWebACLsResponse [WebACLSummary] lwarsWebACLs = lens _lwarsWebACLs (\ s a -> s{_lwarsWebACLs = a}) . _Default . _Coerce; --- | If you have more 'WebACL' objects than the number that you specified for--- 'Limit' in the request, the response includes a 'NextMarker' value. To--- list more 'WebACL' objects, submit another 'ListWebACLs' request, and--- specify the 'NextMarker' value from the response in the 'NextMarker'--- value in the next request.+-- | If you have more 'WebACL' objects than the number that you specified for 'Limit' in the request, the response includes a 'NextMarker' value. To list more 'WebACL' objects, submit another 'ListWebACLs' request, and specify the 'NextMarker' value from the response in the 'NextMarker' value in the next request. lwarsNextMarker :: Lens' ListWebACLsResponse (Maybe Text) lwarsNextMarker = lens _lwarsNextMarker (\ s a -> s{_lwarsNextMarker = a});
gen/Network/AWS/WAF/ListXSSMatchSets.hs view
@@ -44,8 +44,7 @@ import Network.AWS.WAF.Types import Network.AWS.WAF.Types.Product --- | A request to list the < XssMatchSet> objects created by the current AWS--- account.+-- | A request to list the < XssMatchSet> objects created by the current AWS account. -- -- /See:/ 'listXSSMatchSets' smart constructor. data ListXSSMatchSets = ListXSSMatchSets'@@ -69,19 +68,11 @@ , _lxmsLimit = _Nat # pLimit_ } --- | If you specify a value for 'Limit' and you have more < XssMatchSet>--- objects than the value of 'Limit', AWS WAF returns a 'NextMarker' value--- in the response that allows you to list another group of 'XssMatchSets'.--- For the second and subsequent 'ListXssMatchSets' requests, specify the--- value of 'NextMarker' from the previous response to get information--- about another batch of 'XssMatchSets'.+-- | If you specify a value for 'Limit' and you have more < XssMatchSet> objects than the value of 'Limit', AWS WAF returns a 'NextMarker' value in the response that allows you to list another group of 'XssMatchSets'. For the second and subsequent 'ListXssMatchSets' requests, specify the value of 'NextMarker' from the previous response to get information about another batch of 'XssMatchSets'. lxmsNextMarker :: Lens' ListXSSMatchSets (Maybe Text) lxmsNextMarker = lens _lxmsNextMarker (\ s a -> s{_lxmsNextMarker = a}); --- | Specifies the number of < XssMatchSet> objects that you want AWS WAF to--- return for this request. If you have more 'XssMatchSet' objects than the--- number you specify for 'Limit', the response includes a 'NextMarker'--- value that you can use to get another batch of 'Rules'.+-- | Specifies the number of < XssMatchSet> objects that you want AWS WAF to return for this request. If you have more 'XssMatchSet' objects than the number you specify for 'Limit', the response includes a 'NextMarker' value that you can use to get another batch of 'Rules'. lxmsLimit :: Lens' ListXSSMatchSets Natural lxmsLimit = lens _lxmsLimit (\ s a -> s{_lxmsLimit = a}) . _Nat; @@ -154,11 +145,7 @@ lxmsrsXSSMatchSets :: Lens' ListXSSMatchSetsResponse [XSSMatchSetSummary] lxmsrsXSSMatchSets = lens _lxmsrsXSSMatchSets (\ s a -> s{_lxmsrsXSSMatchSets = a}) . _Default . _Coerce; --- | If you have more < XssMatchSet> objects than the number that you--- specified for 'Limit' in the request, the response includes a--- 'NextMarker' value. To list more 'XssMatchSet' objects, submit another--- 'ListXssMatchSets' request, and specify the 'NextMarker' value from the--- response in the 'NextMarker' value in the next request.+-- | If you have more < XssMatchSet> objects than the number that you specified for 'Limit' in the request, the response includes a 'NextMarker' value. To list more 'XssMatchSet' objects, submit another 'ListXssMatchSets' request, and specify the 'NextMarker' value from the response in the 'NextMarker' value in the next request. lxmsrsNextMarker :: Lens' ListXSSMatchSetsResponse (Maybe Text) lxmsrsNextMarker = lens _lxmsrsNextMarker (\ s a -> s{_lxmsrsNextMarker = a});
gen/Network/AWS/WAF/Types.hs view
@@ -321,17 +321,14 @@ | has (hasStatus 509) e = Just "limit_exceeded" | otherwise = Nothing --- | The operation failed because you tried to create, update, or delete an--- object by using an invalid account identifier.+-- | The operation failed because you tried to create, update, or delete an object by using an invalid account identifier. _WAFInvalidAccountException :: AsError a => Getting (First ServiceError) a ServiceError _WAFInvalidAccountException = _ServiceError . hasCode "WAFInvalidAccountException" --- | The operation failed because you tried to delete an object that is still--- in use. For example:+-- | The operation failed because you tried to delete an object that is still in use. For example: ----- - You tried to delete a 'ByteMatchSet' that is still referenced by a--- 'Rule'.+-- - You tried to delete a 'ByteMatchSet' that is still referenced by a 'Rule'. -- - You tried to delete a 'Rule' that is still referenced by a 'WebACL'. _WAFReferencedItemException :: AsError a => Getting (First ServiceError) a ServiceError _WAFReferencedItemException =@@ -339,18 +336,12 @@ -- | The operation failed because there was nothing to do. For example: ----- - You tried to remove a 'Rule' from a 'WebACL', but the 'Rule' isn\'t--- in the specified 'WebACL'.--- - You tried to remove an IP address from an 'IPSet', but the IP--- address isn\'t in the specified 'IPSet'.--- - You tried to remove a 'ByteMatchTuple' from a 'ByteMatchSet', but--- the 'ByteMatchTuple' isn\'t in the specified 'WebACL'.--- - You tried to add a 'Rule' to a 'WebACL', but the 'Rule' already--- exists in the specified 'WebACL'.--- - You tried to add an IP address to an 'IPSet', but the IP address--- already exists in the specified 'IPSet'.--- - You tried to add a 'ByteMatchTuple' to a 'ByteMatchSet', but the--- 'ByteMatchTuple' already exists in the specified 'WebACL'.+-- - You tried to remove a 'Rule' from a 'WebACL', but the 'Rule' isn\'t in the specified 'WebACL'.+-- - You tried to remove an IP address from an 'IPSet', but the IP address isn\'t in the specified 'IPSet'.+-- - You tried to remove a 'ByteMatchTuple' from a 'ByteMatchSet', but the 'ByteMatchTuple' isn\'t in the specified 'WebACL'.+-- - You tried to add a 'Rule' to a 'WebACL', but the 'Rule' already exists in the specified 'WebACL'.+-- - You tried to add an IP address to an 'IPSet', but the IP address already exists in the specified 'IPSet'.+-- - You tried to add a 'ByteMatchTuple' to a 'ByteMatchSet', but the 'ByteMatchTuple' already exists in the specified 'WebACL'. _WAFInvalidOperationException :: AsError a => Getting (First ServiceError) a ServiceError _WAFInvalidOperationException = _ServiceError . hasCode "WAFInvalidOperationException"@@ -360,56 +351,39 @@ _WAFNonexistentItemException = _ServiceError . hasCode "WAFNonexistentItemException" --- | The operation failed because AWS WAF didn\'t recognize a parameter in--- the request. For example:+-- | The operation failed because AWS WAF didn\'t recognize a parameter in the request. For example: -- -- - You specified an invalid parameter name. -- - You specified an invalid value.--- - You tried to update an object ('ByteMatchSet', 'IPSet', 'Rule', or--- 'WebACL') using an action other than 'INSERT' or 'DELETE'.--- - You tried to create a 'WebACL' with a 'DefaultAction' 'Type' other--- than 'ALLOW', 'BLOCK', or 'COUNT'.--- - You tried to update a 'WebACL' with a 'WafAction' 'Type' other than--- 'ALLOW', 'BLOCK', or 'COUNT'.--- - You tried to update a 'ByteMatchSet' with a 'FieldToMatch' 'Type'--- other than HEADER, QUERY_STRING, or URI.--- - You tried to update a 'ByteMatchSet' with a 'Field' of 'HEADER' but--- no value for 'Data'.+-- - You tried to update an object ('ByteMatchSet', 'IPSet', 'Rule', or 'WebACL') using an action other than 'INSERT' or 'DELETE'.+-- - You tried to create a 'WebACL' with a 'DefaultAction' 'Type' other than 'ALLOW', 'BLOCK', or 'COUNT'.+-- - You tried to update a 'WebACL' with a 'WafAction' 'Type' other than 'ALLOW', 'BLOCK', or 'COUNT'.+-- - You tried to update a 'ByteMatchSet' with a 'FieldToMatch' 'Type' other than HEADER, QUERY_STRING, or URI.+-- - You tried to update a 'ByteMatchSet' with a 'Field' of 'HEADER' but no value for 'Data'. _WAFInvalidParameterException :: AsError a => Getting (First ServiceError) a ServiceError _WAFInvalidParameterException = _ServiceError . hasCode "WAFInvalidParameterException" --- | The operation exceeds a resource limit, for example, the maximum number--- of 'WebACL' objects that you can create for an AWS account. For more--- information, see--- <http://docs.aws.amazon.com/waf/latest/developerguide/limits.html Limits>--- in the /AWS WAF Developer Guide/.+-- | The operation exceeds a resource limit, for example, the maximum number of 'WebACL' objects that you can create for an AWS account. For more information, see <http://docs.aws.amazon.com/waf/latest/developerguide/limits.html Limits> in the /AWS WAF Developer Guide/. _WAFLimitsExceededException :: AsError a => Getting (First ServiceError) a ServiceError _WAFLimitsExceededException = _ServiceError . hasCode "WAFLimitsExceededException" --- | The operation failed because you tried to create, update, or delete an--- object by using a change token that has already been used.+-- | The operation failed because you tried to create, update, or delete an object by using a change token that has already been used. _WAFStaleDataException :: AsError a => Getting (First ServiceError) a ServiceError _WAFStaleDataException = _ServiceError . hasCode "WAFStaleDataException" --- | The operation failed because of a system problem, even though the--- request was valid. Retry your request.+-- | The operation failed because of a system problem, even though the request was valid. Retry your request. _WAFInternalErrorException :: AsError a => Getting (First ServiceError) a ServiceError _WAFInternalErrorException = _ServiceError . hasCode "WAFInternalErrorException" --- | The operation failed because you tried to add an object to or delete an--- object from another object that doesn\'t exist. For example:+-- | The operation failed because you tried to add an object to or delete an object from another object that doesn\'t exist. For example: ----- - You tried to add a 'Rule' to or delete a 'Rule' from a 'WebACL' that--- doesn\'t exist.--- - You tried to add a 'ByteMatchSet' to or delete a 'ByteMatchSet' from--- a 'Rule' that doesn\'t exist.--- - You tried to add an IP address to or delete an IP address from an--- 'IPSet' that doesn\'t exist.--- - You tried to add a 'ByteMatchTuple' to or delete a 'ByteMatchTuple'--- from a 'ByteMatchSet' that doesn\'t exist.+-- - You tried to add a 'Rule' to or delete a 'Rule' from a 'WebACL' that doesn\'t exist.+-- - You tried to add a 'ByteMatchSet' to or delete a 'ByteMatchSet' from a 'Rule' that doesn\'t exist.+-- - You tried to add an IP address to or delete an IP address from an 'IPSet' that doesn\'t exist.+-- - You tried to add a 'ByteMatchTuple' to or delete a 'ByteMatchTuple' from a 'ByteMatchSet' that doesn\'t exist. _WAFNonexistentContainerException :: AsError a => Getting (First ServiceError) a ServiceError _WAFNonexistentContainerException = _ServiceError . hasCode "WAFNonexistentContainerException"@@ -419,17 +393,12 @@ _WAFDisallowedNameException = _ServiceError . hasCode "WAFDisallowedNameException" --- | The operation failed because you tried to delete an object that isn\'t--- empty. For example:+-- | The operation failed because you tried to delete an object that isn\'t empty. For example: ----- - You tried to delete a 'WebACL' that still contains one or more--- 'Rule' objects.--- - You tried to delete a 'Rule' that still contains one or more--- 'ByteMatchSet' objects or other predicates.--- - You tried to delete a 'ByteMatchSet' that contains one or more--- 'ByteMatchTuple' objects.--- - You tried to delete an 'IPSet' that references one or more IP--- addresses.+-- - You tried to delete a 'WebACL' that still contains one or more 'Rule' objects.+-- - You tried to delete a 'Rule' that still contains one or more 'ByteMatchSet' objects or other predicates.+-- - You tried to delete a 'ByteMatchSet' that contains one or more 'ByteMatchTuple' objects.+-- - You tried to delete an 'IPSet' that references one or more IP addresses. _WAFNonEmptyEntityException :: AsError a => Getting (First ServiceError) a ServiceError _WAFNonEmptyEntityException = _ServiceError . hasCode "WAFNonEmptyEntityException"
gen/Network/AWS/WAF/Types/Product.hs view
@@ -21,13 +21,9 @@ import Network.AWS.Prelude import Network.AWS.WAF.Types.Sum --- | The 'ActivatedRule' object in an < UpdateWebACL> request specifies a--- 'Rule' that you want to insert or delete, the priority of the 'Rule' in--- the 'WebACL', and the action that you want AWS WAF to take when a web--- request matches the 'Rule' ('ALLOW', 'BLOCK', or 'COUNT').+-- | The 'ActivatedRule' object in an < UpdateWebACL> request specifies a 'Rule' that you want to insert or delete, the priority of the 'Rule' in the 'WebACL', and the action that you want AWS WAF to take when a web request matches the 'Rule' ('ALLOW', 'BLOCK', or 'COUNT'). ----- To specify whether to insert or delete a 'Rule', use the 'Action'--- parameter in the < WebACLUpdate> data type.+-- To specify whether to insert or delete a 'Rule', use the 'Action' parameter in the < WebACLUpdate> data type. -- -- /See:/ 'activatedRule' smart constructor. data ActivatedRule = ActivatedRule'@@ -57,33 +53,21 @@ , _arAction = pAction_ } --- | Specifies the order in which the 'Rules' in a 'WebACL' are evaluated.--- Rules with a lower value for 'Priority' are evaluated before 'Rules'--- with a higher value. The value must be a unique integer. If you add--- multiple 'Rules' to a 'WebACL', the values don\'t need to be--- consecutive.+-- | Specifies the order in which the 'Rules' in a 'WebACL' are evaluated. Rules with a lower value for 'Priority' are evaluated before 'Rules' with a higher value. The value must be a unique integer. If you add multiple 'Rules' to a 'WebACL', the values don\'t need to be consecutive. arPriority :: Lens' ActivatedRule Int arPriority = lens _arPriority (\ s a -> s{_arPriority = a}); --- | The 'RuleId' for a 'Rule'. You use 'RuleId' to get more information--- about a 'Rule' (see < GetRule>), update a 'Rule' (see < UpdateRule>),--- insert a 'Rule' into a 'WebACL' or delete a one from a 'WebACL' (see--- < UpdateWebACL>), or delete a 'Rule' from AWS WAF (see < DeleteRule>).+-- | The 'RuleId' for a 'Rule'. You use 'RuleId' to get more information about a 'Rule' (see < GetRule>), update a 'Rule' (see < UpdateRule>), insert a 'Rule' into a 'WebACL' or delete a one from a 'WebACL' (see < UpdateWebACL>), or delete a 'Rule' from AWS WAF (see < DeleteRule>). -- -- 'RuleId' is returned by < CreateRule> and by < ListRules>. arRuleId :: Lens' ActivatedRule Text arRuleId = lens _arRuleId (\ s a -> s{_arRuleId = a}); --- | Specifies the action that CloudFront or AWS WAF takes when a web request--- matches the conditions in the 'Rule'. Valid values for 'Action' include--- the following:+-- | Specifies the action that CloudFront or AWS WAF takes when a web request matches the conditions in the 'Rule'. Valid values for 'Action' include the following: -- -- - 'ALLOW': CloudFront responds with the requested object.--- - 'BLOCK': CloudFront responds with an HTTP 403 (Forbidden) status--- code.--- - 'COUNT': 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.+-- - 'BLOCK': CloudFront responds with an HTTP 403 (Forbidden) status code.+-- - 'COUNT': 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. arAction :: Lens' ActivatedRule WafAction arAction = lens _arAction (\ s a -> s{_arAction = a}); @@ -107,15 +91,9 @@ Just ("RuleId" .= _arRuleId), Just ("Action" .= _arAction)]) --- | In a < GetByteMatchSet> request, 'ByteMatchSet' is a complex type that--- contains the 'ByteMatchSetId' and 'Name' of a 'ByteMatchSet', and the--- values that you specified when you updated the 'ByteMatchSet'.+-- | In a < GetByteMatchSet> request, 'ByteMatchSet' is a complex type that contains the 'ByteMatchSetId' and 'Name' of a 'ByteMatchSet', and the values that you specified when you updated the 'ByteMatchSet'. ----- A complex type that contains 'ByteMatchTuple' 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 'ByteMatchSet' contains more--- than one 'ByteMatchTuple' object, a request needs to match the settings--- in only one 'ByteMatchTuple' to be considered a match.+-- A complex type that contains 'ByteMatchTuple' 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 'ByteMatchSet' contains more than one 'ByteMatchTuple' object, a request needs to match the settings in only one 'ByteMatchTuple' to be considered a match. -- -- /See:/ 'byteMatchSet' smart constructor. data ByteMatchSet = ByteMatchSet'@@ -143,26 +121,17 @@ , _bmsByteMatchTuples = mempty } --- | A friendly name or description of the < ByteMatchSet>. You can\'t change--- 'Name' after you create a 'ByteMatchSet'.+-- | A friendly name or description of the < ByteMatchSet>. You can\'t change 'Name' after you create a 'ByteMatchSet'. bmsName :: Lens' ByteMatchSet (Maybe Text) bmsName = lens _bmsName (\ s a -> s{_bmsName = a}); --- | The 'ByteMatchSetId' for a 'ByteMatchSet'. You use 'ByteMatchSetId' to--- get information about a 'ByteMatchSet' (see < GetByteMatchSet>), update--- a 'ByteMatchSet' (see < UpdateByteMatchSet>), insert a 'ByteMatchSet'--- into a 'Rule' or delete one from a 'Rule' (see < UpdateRule>), and--- delete a 'ByteMatchSet' from AWS WAF (see < DeleteByteMatchSet>).+-- | The 'ByteMatchSetId' for a 'ByteMatchSet'. You use 'ByteMatchSetId' to get information about a 'ByteMatchSet' (see < GetByteMatchSet>), update a 'ByteMatchSet' (see < UpdateByteMatchSet>), insert a 'ByteMatchSet' into a 'Rule' or delete one from a 'Rule' (see < UpdateRule>), and delete a 'ByteMatchSet' from AWS WAF (see < DeleteByteMatchSet>). ----- 'ByteMatchSetId' is returned by < CreateByteMatchSet> and by--- < ListByteMatchSets>.+-- 'ByteMatchSetId' is returned by < CreateByteMatchSet> and by < ListByteMatchSets>. bmsByteMatchSetId :: Lens' ByteMatchSet Text bmsByteMatchSetId = lens _bmsByteMatchSetId (\ s a -> s{_bmsByteMatchSetId = a}); --- | 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.+-- | 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. bmsByteMatchTuples :: Lens' ByteMatchSet [ByteMatchTuple] bmsByteMatchTuples = lens _bmsByteMatchTuples (\ s a -> s{_bmsByteMatchTuples = a}) . _Coerce; @@ -178,8 +147,7 @@ instance NFData ByteMatchSet --- | Returned by < ListByteMatchSets>. Each 'ByteMatchSetSummary' object--- includes the 'Name' and 'ByteMatchSetId' for one < ByteMatchSet>.+-- | Returned by < ListByteMatchSets>. Each 'ByteMatchSetSummary' object includes the 'Name' and 'ByteMatchSetId' for one < ByteMatchSet>. -- -- /See:/ 'byteMatchSetSummary' smart constructor. data ByteMatchSetSummary = ByteMatchSetSummary'@@ -204,18 +172,13 @@ , _bmssName = pName_ } --- | The 'ByteMatchSetId' for a 'ByteMatchSet'. You use 'ByteMatchSetId' to--- get information about a 'ByteMatchSet', update a 'ByteMatchSet', remove--- a 'ByteMatchSet' from a 'Rule', and delete a 'ByteMatchSet' from AWS--- WAF.+-- | The 'ByteMatchSetId' for a 'ByteMatchSet'. You use 'ByteMatchSetId' to get information about a 'ByteMatchSet', update a 'ByteMatchSet', remove a 'ByteMatchSet' from a 'Rule', and delete a 'ByteMatchSet' from AWS WAF. ----- 'ByteMatchSetId' is returned by < CreateByteMatchSet> and by--- < ListByteMatchSets>.+-- 'ByteMatchSetId' is returned by < CreateByteMatchSet> and by < ListByteMatchSets>. bmssByteMatchSetId :: Lens' ByteMatchSetSummary Text bmssByteMatchSetId = lens _bmssByteMatchSetId (\ s a -> s{_bmssByteMatchSetId = a}); --- | A friendly name or description of the < ByteMatchSet>. You can\'t change--- 'Name' after you create a 'ByteMatchSet'.+-- | A friendly name or description of the < ByteMatchSet>. You can\'t change 'Name' after you create a 'ByteMatchSet'. bmssName :: Lens' ByteMatchSetSummary Text bmssName = lens _bmssName (\ s a -> s{_bmssName = a}); @@ -230,9 +193,7 @@ instance NFData ByteMatchSetSummary --- | In an < UpdateByteMatchSet> request, 'ByteMatchSetUpdate' specifies--- whether to insert or delete a < ByteMatchTuple> and includes the--- settings for the 'ByteMatchTuple'.+-- | In an < UpdateByteMatchSet> request, 'ByteMatchSetUpdate' specifies whether to insert or delete a < ByteMatchTuple> and includes the settings for the 'ByteMatchTuple'. -- -- /See:/ 'byteMatchSetUpdate' smart constructor. data ByteMatchSetUpdate = ByteMatchSetUpdate'@@ -261,11 +222,7 @@ bmsuAction :: Lens' ByteMatchSetUpdate ChangeAction bmsuAction = lens _bmsuAction (\ s a -> s{_bmsuAction = a}); --- | 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 'DELETE' for the value of 'Action', the 'ByteMatchTuple' values--- must exactly match the values in the 'ByteMatchTuple' that you want to--- delete from the 'ByteMatchSet'.+-- | 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 'DELETE' for the value of 'Action', the 'ByteMatchTuple' values must exactly match the values in the 'ByteMatchTuple' that you want to delete from the 'ByteMatchSet'. bmsuByteMatchTuple :: Lens' ByteMatchSetUpdate ByteMatchTuple bmsuByteMatchTuple = lens _bmsuByteMatchTuple (\ s a -> s{_bmsuByteMatchTuple = a}); @@ -280,9 +237,7 @@ [Just ("Action" .= _bmsuAction), Just ("ByteMatchTuple" .= _bmsuByteMatchTuple)]) --- | 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.+-- | 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. -- -- /See:/ 'byteMatchTuple' smart constructor. data ByteMatchTuple = ByteMatchTuple'@@ -317,57 +272,31 @@ , _bmtPositionalConstraint = pPositionalConstraint_ } --- | 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--- < FieldToMatch>.+-- | 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 < FieldToMatch>. bmtFieldToMatch :: Lens' ByteMatchTuple FieldToMatch bmtFieldToMatch = lens _bmtFieldToMatch (\ s a -> s{_bmtFieldToMatch = a}); --- | 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--- 'FieldToMatch'. The maximum length of the value is 50 bytes.+-- | 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 'FieldToMatch'. The maximum length of the value is 50 bytes. -- -- Valid values depend on the values that you specified for 'FieldToMatch': ----- - 'HEADER': The value that you want AWS WAF to search for in the--- request header that you specified in < FieldToMatch>, for example,--- the value of the 'User-Agent' or 'Referer' header.--- - 'METHOD': The HTTP method, which indicates the type of operation--- specified in the request. CloudFront supports the following methods:--- 'DELETE', 'GET', 'HEAD', 'OPTIONS', 'PATCH', 'POST', and 'PUT'.--- - 'QUERY_STRING': 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 '?'--- character.--- - 'URI': The value that you want AWS WAF to search for in the part of--- a URL that identifies a resource, for example,--- '\/images\/daily-ad.jpg'.--- - 'BODY': 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 '8192' 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--- < CreateSizeConstraintSet>.+-- - 'HEADER': The value that you want AWS WAF to search for in the request header that you specified in < FieldToMatch>, for example, the value of the 'User-Agent' or 'Referer' header.+-- - 'METHOD': The HTTP method, which indicates the type of operation specified in the request. CloudFront supports the following methods: 'DELETE', 'GET', 'HEAD', 'OPTIONS', 'PATCH', 'POST', and 'PUT'.+-- - 'QUERY_STRING': 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 '?' character.+-- - 'URI': The value that you want AWS WAF to search for in the part of a URL that identifies a resource, for example, '\/images\/daily-ad.jpg'.+-- - 'BODY': 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 '8192' 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 < CreateSizeConstraintSet>. ----- If 'TargetString' includes alphabetic characters A-Z and a-z, note that--- the value is case sensitive.+-- If 'TargetString' includes alphabetic characters A-Z and a-z, note that the value is case sensitive. -- -- __If you\'re using the AWS WAF API__ ----- Specify a base64-encoded version of the value. The maximum length of the--- value before you base64-encode it is 50 bytes.+-- Specify a base64-encoded version of the value. The maximum length of the value before you base64-encode it is 50 bytes. ----- For example, suppose the value of 'Type' is 'HEADER' and the value of--- 'Data' is 'User-Agent'. If you want to search the 'User-Agent' header--- for the value 'BadBot', you base64-encode 'BadBot' using MIME base64--- encoding and include the resulting value, 'QmFkQm90', in the value of--- 'TargetString'.+-- For example, suppose the value of 'Type' is 'HEADER' and the value of 'Data' is 'User-Agent'. If you want to search the 'User-Agent' header for the value 'BadBot', you base64-encode 'BadBot' using MIME base64 encoding and include the resulting value, 'QmFkQm90', in the value of 'TargetString'. -- -- __If you\'re using the AWS CLI or one of the AWS SDKs__ ----- The value that you want AWS WAF to search for. The SDK automatically--- base64 encodes the value.+-- The value that you want AWS WAF to search for. The SDK automatically base64 encodes the value. -- -- /Note:/ This 'Lens' automatically encodes and decodes Base64 data, -- despite what the AWS documentation might say.@@ -377,17 +306,11 @@ bmtTargetString :: Lens' ByteMatchTuple ByteString bmtTargetString = lens _bmtTargetString (\ s a -> s{_bmtTargetString = a}) . _Base64; --- | 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--- 'TargetString' before inspecting a request for a match.+-- | 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 'TargetString' before inspecting a request for a match. -- -- __CMD_LINE__ ----- 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:+-- 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: -- -- - Delete the following characters: \\ \" \' ^ -- - Delete spaces before the following characters: \/ (@@ -397,8 +320,7 @@ -- -- __COMPRESS_WHITE_SPACE__ ----- Use this option to replace the following characters with a space--- character (decimal 32):+-- Use this option to replace the following characters with a space character (decimal 32): -- -- - \\f, formfeed, decimal 12 -- - \\t, tab, decimal 9@@ -411,17 +333,14 @@ -- -- __HTML_ENTITY_DECODE__ ----- Use this option to replace HTML-encoded characters with unencoded--- characters. 'HTML_ENTITY_DECODE' performs the following operations:+-- Use this option to replace HTML-encoded characters with unencoded characters. 'HTML_ENTITY_DECODE' performs the following operations: -- -- - Replaces '(ampersand)quot;' with '\"' -- - Replaces '(ampersand)nbsp;' with a non-breaking space, decimal 160 -- - Replaces '(ampersand)lt;' with a \"less than\" symbol -- - Replaces '(ampersand)gt;' with '>'--- - Replaces characters that are represented in hexadecimal format,--- '(ampersand)#xhhhh;', with the corresponding characters--- - Replaces characters that are represented in decimal format,--- '(ampersand)#nnnn;', with the corresponding characters+-- - Replaces characters that are represented in hexadecimal format, '(ampersand)#xhhhh;', with the corresponding characters+-- - Replaces characters that are represented in decimal format, '(ampersand)#nnnn;', with the corresponding characters -- -- __LOWERCASE__ --@@ -437,48 +356,32 @@ bmtTextTransformation :: Lens' ByteMatchTuple TextTransformation bmtTextTransformation = lens _bmtTextTransformation (\ s a -> s{_bmtTextTransformation = a}); --- | 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:+-- | 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: -- -- __CONTAINS__ ----- The specified part of the web request must include the value of--- 'TargetString', but the location doesn\'t matter.+-- The specified part of the web request must include the value of 'TargetString', but the location doesn\'t matter. -- -- __CONTAINS_WORD__ ----- The specified part of the web request must include the value of--- 'TargetString', and 'TargetString' must contain only alphanumeric--- characters or underscore (A-Z, a-z, 0-9, or _). In addition,--- 'TargetString' must be a word, which means one of the following:+-- The specified part of the web request must include the value of 'TargetString', and 'TargetString' must contain only alphanumeric characters or underscore (A-Z, a-z, 0-9, or _). In addition, 'TargetString' must be a word, which means one of the following: ----- - 'TargetString' exactly matches the value of the specified part of--- the web request, such as the value of a header.--- - 'TargetString' 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, 'BadBot;'.--- - 'TargetString' 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, ';BadBot'.--- - 'TargetString' 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, '-BadBot;'.+-- - 'TargetString' exactly matches the value of the specified part of the web request, such as the value of a header.+-- - 'TargetString' 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, 'BadBot;'.+-- - 'TargetString' 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, ';BadBot'.+-- - 'TargetString' 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, '-BadBot;'. -- -- __EXACTLY__ ----- The value of the specified part of the web request must exactly match--- the value of 'TargetString'.+-- The value of the specified part of the web request must exactly match the value of 'TargetString'. -- -- __STARTS_WITH__ ----- The value of 'TargetString' must appear at the beginning of the--- specified part of the web request.+-- The value of 'TargetString' must appear at the beginning of the specified part of the web request. -- -- __ENDS_WITH__ ----- The value of 'TargetString' must appear at the end of the specified part--- of the web request.+-- The value of 'TargetString' must appear at the end of the specified part of the web request. bmtPositionalConstraint :: Lens' ByteMatchTuple PositionalConstraint bmtPositionalConstraint = lens _bmtPositionalConstraint (\ s a -> s{_bmtPositionalConstraint = a}); @@ -531,37 +434,19 @@ , _ftmType = pType_ } --- | When the value of 'Type' is 'HEADER', enter the name of the header that--- you want AWS WAF to search, for example, 'User-Agent' or 'Referer'. If--- the value of 'Type' is any other value, omit 'Data'.+-- | When the value of 'Type' is 'HEADER', enter the name of the header that you want AWS WAF to search, for example, 'User-Agent' or 'Referer'. If the value of 'Type' is any other value, omit 'Data'. -- -- The name of the header is not case sensitive. ftmData :: Lens' FieldToMatch (Maybe Text) ftmData = lens _ftmData (\ s a -> s{_ftmData = a}); --- | 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:+-- | 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: ----- - 'HEADER': A specified request header, for example, the value of the--- 'User-Agent' or 'Referer' header. If you choose 'HEADER' for the--- type, specify the name of the header in 'Data'.--- - 'METHOD': The HTTP method, which indicated the type of operation--- that the request is asking the origin to perform. Amazon CloudFront--- supports the following methods: 'DELETE', 'GET', 'HEAD', 'OPTIONS',--- 'PATCH', 'POST', and 'PUT'.--- - 'QUERY_STRING': A query string, which is the part of a URL that--- appears after a '?' character, if any.--- - 'URI': The part of a web request that identifies a resource, for--- example, '\/images\/daily-ad.jpg'.--- - 'BODY': 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 '8192' 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--- < CreateSizeConstraintSet>.+-- - 'HEADER': A specified request header, for example, the value of the 'User-Agent' or 'Referer' header. If you choose 'HEADER' for the type, specify the name of the header in 'Data'.+-- - 'METHOD': The HTTP method, which indicated the type of operation that the request is asking the origin to perform. Amazon CloudFront supports the following methods: 'DELETE', 'GET', 'HEAD', 'OPTIONS', 'PATCH', 'POST', and 'PUT'.+-- - 'QUERY_STRING': A query string, which is the part of a URL that appears after a '?' character, if any.+-- - 'URI': The part of a web request that identifies a resource, for example, '\/images\/daily-ad.jpg'.+-- - 'BODY': 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 '8192' 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 < CreateSizeConstraintSet>. ftmType :: Lens' FieldToMatch MatchFieldType ftmType = lens _ftmType (\ s a -> s{_ftmType = a}); @@ -582,11 +467,7 @@ [("Data" .=) <$> _ftmData, Just ("Type" .= _ftmType)]) --- | The response from a < GetSampledRequests> request includes an--- 'HTTPHeader' complex type that appears as 'Headers' in the response--- syntax. 'HTTPHeader' contains the names and values of all of the headers--- that appear in one of the web requests that were returned by--- 'GetSampledRequests'.+-- | The response from a < GetSampledRequests> request includes an 'HTTPHeader' complex type that appears as 'Headers' in the response syntax. 'HTTPHeader' contains the names and values of all of the headers that appear in one of the web requests that were returned by 'GetSampledRequests'. -- -- /See:/ 'hTTPHeader' smart constructor. data HTTPHeader = HTTPHeader'@@ -627,10 +508,7 @@ instance NFData HTTPHeader --- | The response from a < GetSampledRequests> request includes an--- 'HTTPRequest' complex type that appears as 'Request' in the response--- syntax. 'HTTPRequest' contains information about one of the web requests--- that were returned by 'GetSampledRequests'.+-- | The response from a < GetSampledRequests> request includes an 'HTTPRequest' complex type that appears as 'Request' in the response syntax. 'HTTPRequest' contains information about one of the web requests that were returned by 'GetSampledRequests'. -- -- /See:/ 'hTTPRequest' smart constructor. data HTTPRequest = HTTPRequest'@@ -669,41 +547,30 @@ , _httprClientIP = Nothing } --- | The HTTP version specified in the sampled web request, for example,--- 'HTTP\/1.1'.+-- | The HTTP version specified in the sampled web request, for example, 'HTTP\/1.1'. httprHTTPVersion :: Lens' HTTPRequest (Maybe Text) httprHTTPVersion = lens _httprHTTPVersion (\ s a -> s{_httprHTTPVersion = a}); --- | The two-letter country code for the country that the request originated--- from. For a current list of country codes, see the Wikipedia entry--- <https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 ISO 3166-1 alpha-2>.+-- | The two-letter country code for the country that the request originated from. For a current list of country codes, see the Wikipedia entry <https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 ISO 3166-1 alpha-2>. httprCountry :: Lens' HTTPRequest (Maybe Text) httprCountry = lens _httprCountry (\ s a -> s{_httprCountry = a}); --- | The part of a web request that identifies the resource, for example,--- '\/images\/daily-ad.jpg'.+-- | The part of a web request that identifies the resource, for example, '\/images\/daily-ad.jpg'. httprURI :: Lens' HTTPRequest (Maybe Text) httprURI = lens _httprURI (\ s a -> s{_httprURI = a}); --- | 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.+-- | 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. httprHeaders :: Lens' HTTPRequest [HTTPHeader] httprHeaders = lens _httprHeaders (\ s a -> s{_httprHeaders = a}) . _Default . _Coerce; --- | The HTTP method specified in the sampled web request. CloudFront--- supports the following methods: 'DELETE', 'GET', 'HEAD', 'OPTIONS',--- 'PATCH', 'POST', and 'PUT'.+-- | The HTTP method specified in the sampled web request. CloudFront supports the following methods: 'DELETE', 'GET', 'HEAD', 'OPTIONS', 'PATCH', 'POST', and 'PUT'. httprMethod :: Lens' HTTPRequest (Maybe Text) httprMethod = lens _httprMethod (\ s a -> s{_httprMethod = a}); --- | The IP address that the request originated from. If the 'WebACL' is--- associated with a CloudFront distribution, this is the value of one of--- the following fields in CloudFront access logs:+-- | The IP address that the request originated from. If the 'WebACL' is associated with a CloudFront distribution, this is the value of one of the following fields in CloudFront access logs: ----- - 'c-ip', if the viewer did not use an HTTP proxy or a load balancer--- to send the request--- - 'x-forwarded-for', if the viewer did use an HTTP proxy or a load--- balancer to send the request+-- - 'c-ip', if the viewer did not use an HTTP proxy or a load balancer to send the request+-- - 'x-forwarded-for', if the viewer did use an HTTP proxy or a load balancer to send the request httprClientIP :: Lens' HTTPRequest (Maybe Text) httprClientIP = lens _httprClientIP (\ s a -> s{_httprClientIP = a}); @@ -722,12 +589,7 @@ instance NFData HTTPRequest --- | Contains one or more IP addresses or blocks of IP addresses specified in--- Classless Inter-Domain Routing (CIDR) notation. To specify an individual--- IP address, you specify the four-part IP address followed by a '\/32',--- for example, 192.0.2.0\/31. To block a range of IP addresses, you can--- specify a '\/24', a '\/16', or a '\/8' CIDR. For more information about--- CIDR notation, perform an Internet search on 'cidr notation'.+-- | Contains one or more IP addresses or blocks of IP addresses specified in Classless Inter-Domain Routing (CIDR) notation. To specify an individual IP address, you specify the four-part IP address followed by a '\/32', for example, 192.0.2.0\/31. To block a range of IP addresses, you can specify a '\/24', a '\/16', or a '\/8' CIDR. For more information about CIDR notation, perform an Internet search on 'cidr notation'. -- -- /See:/ 'ipSet' smart constructor. data IPSet = IPSet'@@ -755,29 +617,20 @@ , _isIPSetDescriptors = mempty } --- | A friendly name or description of the < IPSet>. You can\'t change the--- name of an 'IPSet' after you create it.+-- | A friendly name or description of the < IPSet>. You can\'t change the name of an 'IPSet' after you create it. isName :: Lens' IPSet (Maybe Text) isName = lens _isName (\ s a -> s{_isName = a}); --- | The 'IPSetId' for an 'IPSet'. You use 'IPSetId' to get information about--- an 'IPSet' (see < GetIPSet>), update an 'IPSet' (see < UpdateIPSet>),--- insert an 'IPSet' into a 'Rule' or delete one from a 'Rule' (see--- < UpdateRule>), and delete an 'IPSet' from AWS WAF (see < DeleteIPSet>).+-- | The 'IPSetId' for an 'IPSet'. You use 'IPSetId' to get information about an 'IPSet' (see < GetIPSet>), update an 'IPSet' (see < UpdateIPSet>), insert an 'IPSet' into a 'Rule' or delete one from a 'Rule' (see < UpdateRule>), and delete an 'IPSet' from AWS WAF (see < DeleteIPSet>). -- -- 'IPSetId' is returned by < CreateIPSet> and by < ListIPSets>. isIPSetId :: Lens' IPSet Text isIPSetId = lens _isIPSetId (\ s a -> s{_isIPSetId = a}); --- | The IP address type ('IPV4') and the IP address range (in CIDR notation)--- that web requests originate from. If the 'WebACL' is associated with a--- CloudFront distribution, this is the value of one of the following--- fields in CloudFront access logs:+-- | The IP address type ('IPV4') and the IP address range (in CIDR notation) that web requests originate from. If the 'WebACL' is associated with a CloudFront distribution, this is the value of one of the following fields in CloudFront access logs: ----- - 'c-ip', if the viewer did not use an HTTP proxy or a load balancer--- to send the request--- - 'x-forwarded-for', if the viewer did use an HTTP proxy or a load--- balancer to send the request+-- - 'c-ip', if the viewer did not use an HTTP proxy or a load balancer to send the request+-- - 'x-forwarded-for', if the viewer did use an HTTP proxy or a load balancer to send the request isIPSetDescriptors :: Lens' IPSet [IPSetDescriptor] isIPSetDescriptors = lens _isIPSetDescriptors (\ s a -> s{_isIPSetDescriptors = a}) . _Coerce; @@ -793,8 +646,7 @@ instance NFData IPSet --- | Specifies the IP address type ('IPV4') and the IP address range (in CIDR--- format) that web requests originate from.+-- | Specifies the IP address type ('IPV4') and the IP address range (in CIDR format) that web requests originate from. -- -- /See:/ 'ipSetDescriptor' smart constructor. data IPSetDescriptor = IPSetDescriptor'@@ -825,16 +677,12 @@ -- | Specify an IPv4 address by using CIDR notation. For example: ----- - To configure AWS WAF to allow, block, or count requests that--- originated from the IP address 192.0.2.44, specify '192.0.2.44\/32'.--- - 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--- '192.0.2.0\/24'.+-- - To configure AWS WAF to allow, block, or count requests that originated from the IP address 192.0.2.44, specify '192.0.2.44\/32'.+-- - 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 '192.0.2.0\/24'. -- -- AWS WAF supports only \/8, \/16, \/24, and \/32 IP addresses. ----- For more information about CIDR notation, see the Wikipedia entry--- <https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing Classless Inter-Domain Routing>.+-- For more information about CIDR notation, see the Wikipedia entry <https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing Classless Inter-Domain Routing>. isdValue :: Lens' IPSetDescriptor Text isdValue = lens _isdValue (\ s a -> s{_isdValue = a}); @@ -881,13 +729,11 @@ , _issName = pName_ } --- | The 'IPSetId' for an < IPSet>. You can use 'IPSetId' in a < GetIPSet>--- request to get detailed information about an < IPSet>.+-- | The 'IPSetId' for an < IPSet>. You can use 'IPSetId' in a < GetIPSet> request to get detailed information about an < IPSet>. issIPSetId :: Lens' IPSetSummary Text issIPSetId = lens _issIPSetId (\ s a -> s{_issIPSetId = a}); --- | A friendly name or description of the < IPSet>. You can\'t change the--- name of an 'IPSet' after you create it.+-- | A friendly name or description of the < IPSet>. You can\'t change the name of an 'IPSet' after you create it. issName :: Lens' IPSetSummary Text issName = lens _issName (\ s a -> s{_issName = a}); @@ -901,8 +747,7 @@ instance NFData IPSetSummary --- | Specifies the type of update to perform to an < IPSet> with--- < UpdateIPSet>.+-- | Specifies the type of update to perform to an < IPSet> with < UpdateIPSet>. -- -- /See:/ 'ipSetUpdate' smart constructor. data IPSetUpdate = IPSetUpdate'@@ -931,8 +776,7 @@ isuAction :: Lens' IPSetUpdate ChangeAction isuAction = lens _isuAction (\ s a -> s{_isuAction = a}); --- | The IP address type ('IPV4') and the IP address range (in CIDR notation)--- that web requests originate from.+-- | The IP address type ('IPV4') and the IP address range (in CIDR notation) that web requests originate from. isuIPSetDescriptor :: Lens' IPSetUpdate IPSetDescriptor isuIPSetDescriptor = lens _isuIPSetDescriptor (\ s a -> s{_isuIPSetDescriptor = a}); @@ -947,11 +791,7 @@ [Just ("Action" .= _isuAction), Just ("IPSetDescriptor" .= _isuIPSetDescriptor)]) --- | Specifies the < ByteMatchSet>, < IPSet>, < SqlInjectionMatchSet>,--- < XssMatchSet>, and < SizeConstraintSet> objects that you want to add to--- a 'Rule' 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.+-- | Specifies the < ByteMatchSet>, < IPSet>, < SqlInjectionMatchSet>, < XssMatchSet>, and < SizeConstraintSet> objects that you want to add to a 'Rule' 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. -- -- /See:/ 'predicate' smart constructor. data Predicate = Predicate'@@ -981,19 +821,9 @@ , _pDataId = pDataId_ } --- | Set 'Negated' to 'False' if you want AWS WAF to allow, block, or count--- requests based on the settings in the specified < ByteMatchSet>,--- < IPSet>, < SqlInjectionMatchSet>, < XssMatchSet>, or--- < SizeConstraintSet>. For example, if an 'IPSet' includes the IP address--- '192.0.2.44', AWS WAF will allow or block requests based on that IP--- address.+-- | Set 'Negated' to 'False' if you want AWS WAF to allow, block, or count requests based on the settings in the specified < ByteMatchSet>, < IPSet>, < SqlInjectionMatchSet>, < XssMatchSet>, or < SizeConstraintSet>. For example, if an 'IPSet' includes the IP address '192.0.2.44', AWS WAF will allow or block requests based on that IP address. ----- Set 'Negated' to 'True' if you want AWS WAF to allow or block a request--- based on the negation of the settings in the < ByteMatchSet>, < IPSet>,--- < SqlInjectionMatchSet>, < XssMatchSet>, or < SizeConstraintSet>. For--- example, if an 'IPSet' includes the IP address '192.0.2.44', AWS WAF--- will allow, block, or count requests based on all IP addresses /except/--- '192.0.2.44'.+-- Set 'Negated' to 'True' if you want AWS WAF to allow or block a request based on the negation of the settings in the < ByteMatchSet>, < IPSet>, < SqlInjectionMatchSet>, < XssMatchSet>, or < SizeConstraintSet>. For example, if an 'IPSet' includes the IP address '192.0.2.44', AWS WAF will allow, block, or count requests based on all IP addresses /except/ '192.0.2.44'. pNegated :: Lens' Predicate Bool pNegated = lens _pNegated (\ s a -> s{_pNegated = a}); @@ -1001,9 +831,7 @@ pType :: Lens' Predicate PredicateType pType = lens _pType (\ s a -> s{_pType = a}); --- | A unique identifier for a predicate in a 'Rule', such as--- 'ByteMatchSetId' or 'IPSetId'. The ID is returned by the corresponding--- 'Create' or 'List' command.+-- | A unique identifier for a predicate in a 'Rule', such as 'ByteMatchSetId' or 'IPSetId'. The ID is returned by the corresponding 'Create' or 'List' command. pDataId :: Lens' Predicate Text pDataId = lens _pDataId (\ s a -> s{_pDataId = a}); @@ -1027,19 +855,12 @@ Just ("Type" .= _pType), Just ("DataId" .= _pDataId)]) --- | A combination of < ByteMatchSet>, < IPSet>, and\/or--- < SqlInjectionMatchSet> objects that identify the web requests that you--- want to allow, block, or count. For example, you might create a 'Rule'--- that includes the following predicates:+-- | A combination of < ByteMatchSet>, < IPSet>, and\/or < SqlInjectionMatchSet> objects that identify the web requests that you want to allow, block, or count. For example, you might create a 'Rule' that includes the following predicates: ----- - An 'IPSet' that causes AWS WAF to search for web requests that--- originate from the IP address '192.0.2.44'--- - A 'ByteMatchSet' that causes AWS WAF to search for web requests for--- which the value of the 'User-Agent' header is 'BadBot'.+-- - An 'IPSet' that causes AWS WAF to search for web requests that originate from the IP address '192.0.2.44'+-- - A 'ByteMatchSet' that causes AWS WAF to search for web requests for which the value of the 'User-Agent' header is 'BadBot'. ----- To match the settings in this 'Rule', a request must originate from--- '192.0.2.44' AND include a 'User-Agent' header for which the value is--- 'BadBot'.+-- To match the settings in this 'Rule', a request must originate from '192.0.2.44' AND include a 'User-Agent' header for which the value is 'BadBot'. -- -- /See:/ 'rule' smart constructor. data Rule = Rule'@@ -1075,24 +896,17 @@ rMetricName :: Lens' Rule (Maybe Text) rMetricName = lens _rMetricName (\ s a -> s{_rMetricName = a}); --- | The friendly name or description for the 'Rule'. You can\'t change the--- name of a 'Rule' after you create it.+-- | The friendly name or description for the 'Rule'. You can\'t change the name of a 'Rule' after you create it. rName :: Lens' Rule (Maybe Text) rName = lens _rName (\ s a -> s{_rName = a}); --- | A unique identifier for a 'Rule'. You use 'RuleId' to get more--- information about a 'Rule' (see < GetRule>), update a 'Rule' (see--- < UpdateRule>), insert a 'Rule' into a 'WebACL' or delete a one from a--- 'WebACL' (see < UpdateWebACL>), or delete a 'Rule' from AWS WAF (see--- < DeleteRule>).+-- | A unique identifier for a 'Rule'. You use 'RuleId' to get more information about a 'Rule' (see < GetRule>), update a 'Rule' (see < UpdateRule>), insert a 'Rule' into a 'WebACL' or delete a one from a 'WebACL' (see < UpdateWebACL>), or delete a 'Rule' from AWS WAF (see < DeleteRule>). -- -- 'RuleId' is returned by < CreateRule> and by < ListRules>. rRuleId :: Lens' Rule Text rRuleId = lens _rRuleId (\ s a -> s{_rRuleId = a}); --- | The 'Predicates' object contains one 'Predicate' element for each--- < ByteMatchSet>, < IPSet>, or < SqlInjectionMatchSet> object that you--- want to include in a 'Rule'.+-- | The 'Predicates' object contains one 'Predicate' element for each < ByteMatchSet>, < IPSet>, or < SqlInjectionMatchSet> object that you want to include in a 'Rule'. rPredicates :: Lens' Rule [Predicate] rPredicates = lens _rPredicates (\ s a -> s{_rPredicates = a}) . _Coerce; @@ -1109,8 +923,7 @@ instance NFData Rule --- | Contains the identifier and the friendly name or description of the--- 'Rule'.+-- | Contains the identifier and the friendly name or description of the 'Rule'. -- -- /See:/ 'ruleSummary' smart constructor. data RuleSummary = RuleSummary'@@ -1135,18 +948,13 @@ , _rsName = pName_ } --- | A unique identifier for a 'Rule'. You use 'RuleId' to get more--- information about a 'Rule' (see < GetRule>), update a 'Rule' (see--- < UpdateRule>), insert a 'Rule' into a 'WebACL' or delete one from a--- 'WebACL' (see < UpdateWebACL>), or delete a 'Rule' from AWS WAF (see--- < DeleteRule>).+-- | A unique identifier for a 'Rule'. You use 'RuleId' to get more information about a 'Rule' (see < GetRule>), update a 'Rule' (see < UpdateRule>), insert a 'Rule' into a 'WebACL' or delete one from a 'WebACL' (see < UpdateWebACL>), or delete a 'Rule' from AWS WAF (see < DeleteRule>). -- -- 'RuleId' is returned by < CreateRule> and by < ListRules>. rsRuleId :: Lens' RuleSummary Text rsRuleId = lens _rsRuleId (\ s a -> s{_rsRuleId = a}); --- | A friendly name or description of the < Rule>. You can\'t change the--- name of a 'Rule' after you create it.+-- | A friendly name or description of the < Rule>. You can\'t change the name of a 'Rule' after you create it. rsName :: Lens' RuleSummary Text rsName = lens _rsName (\ s a -> s{_rsName = a}); @@ -1160,8 +968,7 @@ instance NFData RuleSummary --- | Specifies a 'Predicate' (such as an 'IPSet') and indicates whether you--- want to add it to a 'Rule' or delete it from a 'Rule'.+-- | Specifies a 'Predicate' (such as an 'IPSet') and indicates whether you want to add it to a 'Rule' or delete it from a 'Rule'. -- -- /See:/ 'ruleUpdate' smart constructor. data RuleUpdate = RuleUpdate'@@ -1186,13 +993,11 @@ , _ruPredicate = pPredicate_ } --- | Specify 'INSERT' to add a 'Predicate' to a 'Rule'. Use 'DELETE' to--- remove a 'Predicate' from a 'Rule'.+-- | Specify 'INSERT' to add a 'Predicate' to a 'Rule'. Use 'DELETE' to remove a 'Predicate' from a 'Rule'. ruAction :: Lens' RuleUpdate ChangeAction ruAction = lens _ruAction (\ s a -> s{_ruAction = a}); --- | The ID of the 'Predicate' (such as an 'IPSet') that you want to add to a--- 'Rule'.+-- | The ID of the 'Predicate' (such as an 'IPSet') that you want to add to a 'Rule'. ruPredicate :: Lens' RuleUpdate Predicate ruPredicate = lens _ruPredicate (\ s a -> s{_ruPredicate = a}); @@ -1207,11 +1012,7 @@ [Just ("Action" .= _ruAction), Just ("Predicate" .= _ruPredicate)]) --- | The response from a < GetSampledRequests> request includes a--- 'SampledHTTPRequests' complex type that appears as 'SampledRequests' in--- the response syntax. 'SampledHTTPRequests' contains one--- 'SampledHTTPRequest' object for each web request that is returned by--- 'GetSampledRequests'.+-- | The response from a < GetSampledRequests> request includes a 'SampledHTTPRequests' complex type that appears as 'SampledRequests' in the response syntax. 'SampledHTTPRequests' contains one 'SampledHTTPRequest' object for each web request that is returned by 'GetSampledRequests'. -- -- /See:/ 'sampledHTTPRequest' smart constructor. data SampledHTTPRequest = SampledHTTPRequest'@@ -1244,13 +1045,11 @@ , _shttprWeight = _Nat # pWeight_ } --- | The action for the 'Rule' that the request matched: 'ALLOW', 'BLOCK', or--- 'COUNT'.+-- | The action for the 'Rule' that the request matched: 'ALLOW', 'BLOCK', or 'COUNT'. shttprAction :: Lens' SampledHTTPRequest (Maybe Text) shttprAction = lens _shttprAction (\ s a -> s{_shttprAction = a}); --- | The time at which AWS WAF received the request from your AWS resource,--- in Unix time format (in seconds).+-- | The time at which AWS WAF received the request from your AWS resource, in Unix time format (in seconds). shttprTimestamp :: Lens' SampledHTTPRequest (Maybe UTCTime) shttprTimestamp = lens _shttprTimestamp (\ s a -> s{_shttprTimestamp = a}) . mapping _Time; @@ -1258,10 +1057,7 @@ shttprRequest :: Lens' SampledHTTPRequest HTTPRequest shttprRequest = lens _shttprRequest (\ s a -> s{_shttprRequest = a}); --- | 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 '2' represents roughly twice as many CloudFront web requests--- as a result that has a weight of '1'.+-- | 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 '2' represents roughly twice as many CloudFront web requests as a result that has a weight of '1'. shttprWeight :: Lens' SampledHTTPRequest Natural shttprWeight = lens _shttprWeight (\ s a -> s{_shttprWeight = a}) . _Nat; @@ -1278,11 +1074,7 @@ instance NFData SampledHTTPRequest --- | Specifies a constraint on the size of a part of the web request. AWS WAF--- uses the 'Size', 'ComparisonOperator', and 'FieldToMatch' to build an--- expression in the form of \"'Size' 'ComparisonOperator' size in bytes of--- 'FieldToMatch'\". If that expression is true, the 'SizeConstraint' is--- considered to match.+-- | Specifies a constraint on the size of a part of the web request. AWS WAF uses the 'Size', 'ComparisonOperator', and 'FieldToMatch' to build an expression in the form of \"'Size' 'ComparisonOperator' size in bytes of 'FieldToMatch'\". If that expression is true, the 'SizeConstraint' is considered to match. -- -- /See:/ 'sizeConstraint' smart constructor. data SizeConstraint = SizeConstraint'@@ -1321,14 +1113,9 @@ scFieldToMatch :: Lens' SizeConstraint FieldToMatch scFieldToMatch = lens _scFieldToMatch (\ s a -> s{_scFieldToMatch = a}); --- | 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--- 'FieldToMatch' before inspecting a request for a match.+-- | 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 'FieldToMatch' before inspecting a request for a match. ----- Note that if you choose 'BODY' for the value of 'Type', you must choose--- 'NONE' for 'TextTransformation' because CloudFront forwards only the--- first 8192 bytes for inspection.+-- Note that if you choose 'BODY' for the value of 'Type', you must choose 'NONE' for 'TextTransformation' because CloudFront forwards only the first 8192 bytes for inspection. -- -- __NONE__ --@@ -1336,10 +1123,7 @@ -- -- __CMD_LINE__ ----- 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:+-- 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: -- -- - Delete the following characters: \\ \" \' ^ -- - Delete spaces before the following characters: \/ (@@ -1349,8 +1133,7 @@ -- -- __COMPRESS_WHITE_SPACE__ ----- Use this option to replace the following characters with a space--- character (decimal 32):+-- Use this option to replace the following characters with a space character (decimal 32): -- -- - \\f, formfeed, decimal 12 -- - \\t, tab, decimal 9@@ -1363,17 +1146,14 @@ -- -- __HTML_ENTITY_DECODE__ ----- Use this option to replace HTML-encoded characters with unencoded--- characters. 'HTML_ENTITY_DECODE' performs the following operations:+-- Use this option to replace HTML-encoded characters with unencoded characters. 'HTML_ENTITY_DECODE' performs the following operations: -- -- - Replaces '(ampersand)quot;' with '\"' -- - Replaces '(ampersand)nbsp;' with a non-breaking space, decimal 160 -- - Replaces '(ampersand)lt;' with a \"less than\" symbol -- - Replaces '(ampersand)gt;' with '>'--- - Replaces characters that are represented in hexadecimal format,--- '(ampersand)#xhhhh;', with the corresponding characters--- - Replaces characters that are represented in decimal format,--- '(ampersand)#nnnn;', with the corresponding characters+-- - Replaces characters that are represented in hexadecimal format, '(ampersand)#xhhhh;', with the corresponding characters+-- - Replaces characters that are represented in decimal format, '(ampersand)#nnnn;', with the corresponding characters -- -- __LOWERCASE__ --@@ -1385,43 +1165,27 @@ scTextTransformation :: Lens' SizeConstraint TextTransformation scTextTransformation = lens _scTextTransformation (\ s a -> s{_scTextTransformation = a}); --- | The type of comparison you want AWS WAF to perform. AWS WAF uses this in--- combination with the provided 'Size' and 'FieldToMatch' to build an--- expression in the form of \"'Size' 'ComparisonOperator' size in bytes of--- 'FieldToMatch'\". If that expression is true, the 'SizeConstraint' is--- considered to match.+-- | The type of comparison you want AWS WAF to perform. AWS WAF uses this in combination with the provided 'Size' and 'FieldToMatch' to build an expression in the form of \"'Size' 'ComparisonOperator' size in bytes of 'FieldToMatch'\". If that expression is true, the 'SizeConstraint' is considered to match. ----- __EQ__: Used to test if the 'Size' is equal to the size of the--- 'FieldToMatch'+-- __EQ__: Used to test if the 'Size' is equal to the size of the 'FieldToMatch' ----- __NE__: Used to test if the 'Size' is not equal to the size of the--- 'FieldToMatch'+-- __NE__: Used to test if the 'Size' is not equal to the size of the 'FieldToMatch' ----- __LE__: Used to test if the 'Size' is less than or equal to the size of--- the 'FieldToMatch'+-- __LE__: Used to test if the 'Size' is less than or equal to the size of the 'FieldToMatch' ----- __LT__: Used to test if the 'Size' is strictly less than the size of the--- 'FieldToMatch'+-- __LT__: Used to test if the 'Size' is strictly less than the size of the 'FieldToMatch' ----- __GE__: Used to test if the 'Size' is greater than or equal to the size--- of the 'FieldToMatch'+-- __GE__: Used to test if the 'Size' is greater than or equal to the size of the 'FieldToMatch' ----- __GT__: Used to test if the 'Size' is strictly greater than the size of--- the 'FieldToMatch'+-- __GT__: Used to test if the 'Size' is strictly greater than the size of the 'FieldToMatch' scComparisonOperator :: Lens' SizeConstraint ComparisonOperator scComparisonOperator = lens _scComparisonOperator (\ s a -> s{_scComparisonOperator = a}); --- | The size in bytes that you want AWS WAF to compare against the size of--- the specified 'FieldToMatch'. AWS WAF uses this in combination with--- 'ComparisonOperator' and 'FieldToMatch' to build an expression in the--- form of \"'Size' 'ComparisonOperator' size in bytes of 'FieldToMatch'\".--- If that expression is true, the 'SizeConstraint' is considered to match.+-- | The size in bytes that you want AWS WAF to compare against the size of the specified 'FieldToMatch'. AWS WAF uses this in combination with 'ComparisonOperator' and 'FieldToMatch' to build an expression in the form of \"'Size' 'ComparisonOperator' size in bytes of 'FieldToMatch'\". If that expression is true, the 'SizeConstraint' is considered to match. -- -- Valid values for size are 0 - 21474836480 bytes (0 - 20 GB). ----- If you specify 'URI' for the value of 'Type', the \/ in the URI counts--- as one character. For example, the URI '\/logo.jpg' is nine characters--- long.+-- If you specify 'URI' for the value of 'Type', the \/ in the URI counts as one character. For example, the URI '\/logo.jpg' is nine characters long. scSize :: Lens' SizeConstraint Natural scSize = lens _scSize (\ s a -> s{_scSize = a}) . _Nat; @@ -1447,10 +1211,7 @@ Just ("ComparisonOperator" .= _scComparisonOperator), Just ("Size" .= _scSize)]) --- | A complex type that contains 'SizeConstraint' objects, which specify the--- parts of web requests that you want AWS WAF to inspect the size of. If a--- 'SizeConstraintSet' contains more than one 'SizeConstraint' object, a--- request only needs to match one constraint to be considered a match.+-- | A complex type that contains 'SizeConstraint' objects, which specify the parts of web requests that you want AWS WAF to inspect the size of. If a 'SizeConstraintSet' contains more than one 'SizeConstraint' object, a request only needs to match one constraint to be considered a match. -- -- /See:/ 'sizeConstraintSet' smart constructor. data SizeConstraintSet = SizeConstraintSet'@@ -1482,20 +1243,13 @@ scsName :: Lens' SizeConstraintSet (Maybe Text) scsName = lens _scsName (\ s a -> s{_scsName = a}); --- | A unique identifier for a 'SizeConstraintSet'. You use--- 'SizeConstraintSetId' to get information about a 'SizeConstraintSet'--- (see < GetSizeConstraintSet>), update a 'SizeConstraintSet' (see--- < UpdateSizeConstraintSet>), insert a 'SizeConstraintSet' into a 'Rule'--- or delete one from a 'Rule' (see < UpdateRule>), and delete a--- 'SizeConstraintSet' from AWS WAF (see < DeleteSizeConstraintSet>).+-- | A unique identifier for a 'SizeConstraintSet'. You use 'SizeConstraintSetId' to get information about a 'SizeConstraintSet' (see < GetSizeConstraintSet>), update a 'SizeConstraintSet' (see < UpdateSizeConstraintSet>), insert a 'SizeConstraintSet' into a 'Rule' or delete one from a 'Rule' (see < UpdateRule>), and delete a 'SizeConstraintSet' from AWS WAF (see < DeleteSizeConstraintSet>). ----- 'SizeConstraintSetId' is returned by < CreateSizeConstraintSet> and by--- < ListSizeConstraintSets>.+-- 'SizeConstraintSetId' is returned by < CreateSizeConstraintSet> and by < ListSizeConstraintSets>. scsSizeConstraintSetId :: Lens' SizeConstraintSet Text scsSizeConstraintSetId = lens _scsSizeConstraintSetId (\ s a -> s{_scsSizeConstraintSetId = a}); --- | Specifies the parts of web requests that you want to inspect the size--- of.+-- | Specifies the parts of web requests that you want to inspect the size of. scsSizeConstraints :: Lens' SizeConstraintSet [SizeConstraint] scsSizeConstraints = lens _scsSizeConstraints (\ s a -> s{_scsSizeConstraints = a}) . _Coerce; @@ -1536,15 +1290,9 @@ , _scssName = pName_ } --- | A unique identifier for a 'SizeConstraintSet'. You use--- 'SizeConstraintSetId' to get information about a 'SizeConstraintSet'--- (see < GetSizeConstraintSet>), update a 'SizeConstraintSet' (see--- < UpdateSizeConstraintSet>), insert a 'SizeConstraintSet' into a 'Rule'--- or delete one from a 'Rule' (see < UpdateRule>), and delete a--- 'SizeConstraintSet' from AWS WAF (see < DeleteSizeConstraintSet>).+-- | A unique identifier for a 'SizeConstraintSet'. You use 'SizeConstraintSetId' to get information about a 'SizeConstraintSet' (see < GetSizeConstraintSet>), update a 'SizeConstraintSet' (see < UpdateSizeConstraintSet>), insert a 'SizeConstraintSet' into a 'Rule' or delete one from a 'Rule' (see < UpdateRule>), and delete a 'SizeConstraintSet' from AWS WAF (see < DeleteSizeConstraintSet>). ----- 'SizeConstraintSetId' is returned by < CreateSizeConstraintSet> and by--- < ListSizeConstraintSets>.+-- 'SizeConstraintSetId' is returned by < CreateSizeConstraintSet> and by < ListSizeConstraintSets>. scssSizeConstraintSetId :: Lens' SizeConstraintSetSummary Text scssSizeConstraintSetId = lens _scssSizeConstraintSetId (\ s a -> s{_scssSizeConstraintSetId = a}); @@ -1563,9 +1311,7 @@ instance NFData SizeConstraintSetSummary --- | 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--- < SizeConstraintSet> or delete it from a 'SizeConstraintSet'.+-- | 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 < SizeConstraintSet> or delete it from a 'SizeConstraintSet'. -- -- /See:/ 'sizeConstraintSetUpdate' smart constructor. data SizeConstraintSetUpdate = SizeConstraintSetUpdate'@@ -1590,17 +1336,11 @@ , _scsuSizeConstraint = pSizeConstraint_ } --- | Specify 'INSERT' to add a < SizeConstraintSetUpdate> to a--- < SizeConstraintSet>. Use 'DELETE' to remove a 'SizeConstraintSetUpdate'--- from a 'SizeConstraintSet'.+-- | Specify 'INSERT' to add a < SizeConstraintSetUpdate> to a < SizeConstraintSet>. Use 'DELETE' to remove a 'SizeConstraintSetUpdate' from a 'SizeConstraintSet'. scsuAction :: Lens' SizeConstraintSetUpdate ChangeAction scsuAction = lens _scsuAction (\ s a -> s{_scsuAction = a}); --- | Specifies a constraint on the size of a part of the web request. AWS WAF--- uses the 'Size', 'ComparisonOperator', and 'FieldToMatch' to build an--- expression in the form of \"'Size' 'ComparisonOperator' size in bytes of--- 'FieldToMatch'\". If that expression is true, the 'SizeConstraint' is--- considered to match.+-- | Specifies a constraint on the size of a part of the web request. AWS WAF uses the 'Size', 'ComparisonOperator', and 'FieldToMatch' to build an expression in the form of \"'Size' 'ComparisonOperator' size in bytes of 'FieldToMatch'\". If that expression is true, the 'SizeConstraint' is considered to match. scsuSizeConstraint :: Lens' SizeConstraintSetUpdate SizeConstraint scsuSizeConstraint = lens _scsuSizeConstraint (\ s a -> s{_scsuSizeConstraint = a}); @@ -1615,13 +1355,7 @@ [Just ("Action" .= _scsuAction), Just ("SizeConstraint" .= _scsuSizeConstraint)]) --- | A complex type that contains 'SqlInjectionMatchTuple' 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 'SqlInjectionMatchSet' contains--- more than one 'SqlInjectionMatchTuple' 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.+-- | A complex type that contains 'SqlInjectionMatchTuple' 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 'SqlInjectionMatchSet' contains more than one 'SqlInjectionMatchTuple' 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. -- -- /See:/ 'sqlInjectionMatchSet' smart constructor. data SqlInjectionMatchSet = SqlInjectionMatchSet'@@ -1653,21 +1387,13 @@ simsName :: Lens' SqlInjectionMatchSet (Maybe Text) simsName = lens _simsName (\ s a -> s{_simsName = a}); --- | A unique identifier for a 'SqlInjectionMatchSet'. You use--- 'SqlInjectionMatchSetId' to get information about a--- 'SqlInjectionMatchSet' (see < GetSqlInjectionMatchSet>), update a--- 'SqlInjectionMatchSet' (see < UpdateSqlInjectionMatchSet>), insert a--- 'SqlInjectionMatchSet' into a 'Rule' or delete one from a 'Rule' (see--- < UpdateRule>), and delete a 'SqlInjectionMatchSet' from AWS WAF (see--- < DeleteSqlInjectionMatchSet>).+-- | A unique identifier for a 'SqlInjectionMatchSet'. You use 'SqlInjectionMatchSetId' to get information about a 'SqlInjectionMatchSet' (see < GetSqlInjectionMatchSet>), update a 'SqlInjectionMatchSet' (see < UpdateSqlInjectionMatchSet>), insert a 'SqlInjectionMatchSet' into a 'Rule' or delete one from a 'Rule' (see < UpdateRule>), and delete a 'SqlInjectionMatchSet' from AWS WAF (see < DeleteSqlInjectionMatchSet>). ----- 'SqlInjectionMatchSetId' is returned by < CreateSqlInjectionMatchSet>--- and by < ListSqlInjectionMatchSets>.+-- 'SqlInjectionMatchSetId' is returned by < CreateSqlInjectionMatchSet> and by < ListSqlInjectionMatchSets>. simsSqlInjectionMatchSetId :: Lens' SqlInjectionMatchSet Text simsSqlInjectionMatchSetId = lens _simsSqlInjectionMatchSetId (\ s a -> s{_simsSqlInjectionMatchSetId = a}); --- | Specifies the parts of web requests that you want to inspect for--- snippets of malicious SQL code.+-- | Specifies the parts of web requests that you want to inspect for snippets of malicious SQL code. simsSqlInjectionMatchTuples :: Lens' SqlInjectionMatchSet [SqlInjectionMatchTuple] simsSqlInjectionMatchTuples = lens _simsSqlInjectionMatchTuples (\ s a -> s{_simsSqlInjectionMatchTuples = a}) . _Coerce; @@ -1708,16 +1434,9 @@ , _simssName = pName_ } --- | A unique identifier for a 'SqlInjectionMatchSet'. You use--- 'SqlInjectionMatchSetId' to get information about a--- 'SqlInjectionMatchSet' (see < GetSqlInjectionMatchSet>), update a--- 'SqlInjectionMatchSet' (see < UpdateSqlInjectionMatchSet>), insert a--- 'SqlInjectionMatchSet' into a 'Rule' or delete one from a 'Rule' (see--- < UpdateRule>), and delete a 'SqlInjectionMatchSet' from AWS WAF (see--- < DeleteSqlInjectionMatchSet>).+-- | A unique identifier for a 'SqlInjectionMatchSet'. You use 'SqlInjectionMatchSetId' to get information about a 'SqlInjectionMatchSet' (see < GetSqlInjectionMatchSet>), update a 'SqlInjectionMatchSet' (see < UpdateSqlInjectionMatchSet>), insert a 'SqlInjectionMatchSet' into a 'Rule' or delete one from a 'Rule' (see < UpdateRule>), and delete a 'SqlInjectionMatchSet' from AWS WAF (see < DeleteSqlInjectionMatchSet>). ----- 'SqlInjectionMatchSetId' is returned by < CreateSqlInjectionMatchSet>--- and by < ListSqlInjectionMatchSets>.+-- 'SqlInjectionMatchSetId' is returned by < CreateSqlInjectionMatchSet> and by < ListSqlInjectionMatchSets>. simssSqlInjectionMatchSetId :: Lens' SqlInjectionMatchSetSummary Text simssSqlInjectionMatchSetId = lens _simssSqlInjectionMatchSetId (\ s a -> s{_simssSqlInjectionMatchSetId = a}); @@ -1736,10 +1455,7 @@ instance NFData SqlInjectionMatchSetSummary --- | 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 < SqlInjectionMatchSet> or delete it from a--- 'SqlInjectionMatchSet'.+-- | 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 < SqlInjectionMatchSet> or delete it from a 'SqlInjectionMatchSet'. -- -- /See:/ 'sqlInjectionMatchSetUpdate' smart constructor. data SqlInjectionMatchSetUpdate = SqlInjectionMatchSetUpdate'@@ -1764,15 +1480,11 @@ , _simsuSqlInjectionMatchTuple = pSqlInjectionMatchTuple_ } --- | Specify 'INSERT' to add a < SqlInjectionMatchSetUpdate> to a--- < SqlInjectionMatchSet>. Use 'DELETE' to remove a--- 'SqlInjectionMatchSetUpdate' from a 'SqlInjectionMatchSet'.+-- | Specify 'INSERT' to add a < SqlInjectionMatchSetUpdate> to a < SqlInjectionMatchSet>. Use 'DELETE' to remove a 'SqlInjectionMatchSetUpdate' from a 'SqlInjectionMatchSet'. simsuAction :: Lens' SqlInjectionMatchSetUpdate ChangeAction simsuAction = lens _simsuAction (\ s a -> s{_simsuAction = a}); --- | 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.+-- | 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. simsuSqlInjectionMatchTuple :: Lens' SqlInjectionMatchSetUpdate SqlInjectionMatchTuple simsuSqlInjectionMatchTuple = lens _simsuSqlInjectionMatchTuple (\ s a -> s{_simsuSqlInjectionMatchTuple = a}); @@ -1789,9 +1501,7 @@ ("SqlInjectionMatchTuple" .= _simsuSqlInjectionMatchTuple)]) --- | 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.+-- | 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. -- -- /See:/ 'sqlInjectionMatchTuple' smart constructor. data SqlInjectionMatchTuple = SqlInjectionMatchTuple'@@ -1820,17 +1530,11 @@ simtFieldToMatch :: Lens' SqlInjectionMatchTuple FieldToMatch simtFieldToMatch = lens _simtFieldToMatch (\ s a -> s{_simtFieldToMatch = a}); --- | 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--- 'FieldToMatch' before inspecting a request for a match.+-- | 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 'FieldToMatch' before inspecting a request for a match. -- -- __CMD_LINE__ ----- 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:+-- 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: -- -- - Delete the following characters: \\ \" \' ^ -- - Delete spaces before the following characters: \/ (@@ -1840,8 +1544,7 @@ -- -- __COMPRESS_WHITE_SPACE__ ----- Use this option to replace the following characters with a space--- character (decimal 32):+-- Use this option to replace the following characters with a space character (decimal 32): -- -- - \\f, formfeed, decimal 12 -- - \\t, tab, decimal 9@@ -1854,17 +1557,14 @@ -- -- __HTML_ENTITY_DECODE__ ----- Use this option to replace HTML-encoded characters with unencoded--- characters. 'HTML_ENTITY_DECODE' performs the following operations:+-- Use this option to replace HTML-encoded characters with unencoded characters. 'HTML_ENTITY_DECODE' performs the following operations: -- -- - Replaces '(ampersand)quot;' with '\"' -- - Replaces '(ampersand)nbsp;' with a non-breaking space, decimal 160 -- - Replaces '(ampersand)lt;' with a \"less than\" symbol -- - Replaces '(ampersand)gt;' with '>'--- - Replaces characters that are represented in hexadecimal format,--- '(ampersand)#xhhhh;', with the corresponding characters--- - Replaces characters that are represented in decimal format,--- '(ampersand)#nnnn;', with the corresponding characters+-- - Replaces characters that are represented in hexadecimal format, '(ampersand)#xhhhh;', with the corresponding characters+-- - Replaces characters that are represented in decimal format, '(ampersand)#nnnn;', with the corresponding characters -- -- __LOWERCASE__ --@@ -1900,18 +1600,9 @@ Just ("TextTransformation" .= _simtTextTransformation)]) --- | In a < GetSampledRequests> request, the 'StartTime' and 'EndTime'--- objects specify the time range for which you want AWS WAF to return a--- sample of web requests.+-- | In a < GetSampledRequests> request, the 'StartTime' and 'EndTime' objects specify the time range for which you want AWS WAF to return a sample of web requests. ----- In a < GetSampledRequests> response, the 'StartTime' and 'EndTime'--- 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, 'EndTime' is the time that AWS WAF--- received the 5,000th request.+-- In a < GetSampledRequests> response, the 'StartTime' and 'EndTime' 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, 'EndTime' is the time that AWS WAF received the 5,000th request. -- -- /See:/ 'timeWindow' smart constructor. data TimeWindow = TimeWindow'@@ -1936,15 +1627,11 @@ , _twEndTime = _Time # pEndTime_ } --- | The beginning of the time range from which you want 'GetSampledRequests'--- to return a sample of the requests that your AWS resource received. You--- can specify any time range in the previous three hours.+-- | The beginning of the time range from which you want 'GetSampledRequests' to return a sample of the requests that your AWS resource received. You can specify any time range in the previous three hours. twStartTime :: Lens' TimeWindow UTCTime twStartTime = lens _twStartTime (\ s a -> s{_twStartTime = a}) . _Time; --- | The end of the time range from which you want 'GetSampledRequests' to--- return a sample of the requests that your AWS resource received. You can--- specify any time range in the previous three hours.+-- | The end of the time range from which you want 'GetSampledRequests' to return a sample of the requests that your AWS resource received. You can specify any time range in the previous three hours. twEndTime :: Lens' TimeWindow UTCTime twEndTime = lens _twEndTime (\ s a -> s{_twEndTime = a}) . _Time; @@ -1966,11 +1653,7 @@ [Just ("StartTime" .= _twStartTime), Just ("EndTime" .= _twEndTime)]) --- | For the action that is associated with a rule in a 'WebACL', 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 'WebACL',--- 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 'WebACL'.+-- | For the action that is associated with a rule in a 'WebACL', 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 'WebACL', 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 'WebACL'. -- -- /See:/ 'wafAction' smart constructor. newtype WafAction = WafAction'@@ -1990,15 +1673,11 @@ { _waType = pType_ } --- | Specifies how you want AWS WAF to respond to requests that match the--- settings in a 'Rule'. Valid settings include the following:+-- | Specifies how you want AWS WAF to respond to requests that match the settings in a 'Rule'. Valid settings include the following: -- -- - 'ALLOW': AWS WAF allows requests -- - 'BLOCK': AWS WAF blocks requests--- - 'COUNT': 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 'COUNT' for the default action for a 'WebACL'.+-- - 'COUNT': 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 'COUNT' for the default action for a 'WebACL'. waType :: Lens' WafAction WafActionType waType = lens _waType (\ s a -> s{_waType = a}); @@ -2015,15 +1694,7 @@ toJSON WafAction'{..} = object (catMaybes [Just ("Type" .= _waType)]) --- | Contains the 'Rules' that identify the requests that you want to allow,--- block, or count. In a 'WebACL', you also specify a default action--- ('ALLOW' or 'BLOCK'), and the action for each 'Rule' that you add to a--- 'WebACL', for example, block requests from specified IP addresses or--- block requests from specified referrers. You also associate the 'WebACL'--- with a CloudFront distribution to identify the requests that you want--- AWS WAF to filter. If you add more than one 'Rule' to a 'WebACL', a--- request needs to match only one of the specifications to be allowed,--- blocked, or counted. For more information, see < UpdateWebACL>.+-- | Contains the 'Rules' that identify the requests that you want to allow, block, or count. In a 'WebACL', you also specify a default action ('ALLOW' or 'BLOCK'), and the action for each 'Rule' that you add to a 'WebACL', for example, block requests from specified IP addresses or block requests from specified referrers. You also associate the 'WebACL' with a CloudFront distribution to identify the requests that you want AWS WAF to filter. If you add more than one 'Rule' to a 'WebACL', a request needs to match only one of the specifications to be allowed, blocked, or counted. For more information, see < UpdateWebACL>. -- -- /See:/ 'webACL' smart constructor. data WebACL = WebACL'@@ -2064,27 +1735,21 @@ waMetricName :: Lens' WebACL (Maybe Text) waMetricName = lens _waMetricName (\ s a -> s{_waMetricName = a}); --- | A friendly name or description of the 'WebACL'. You can\'t change the--- name of a 'WebACL' after you create it.+-- | A friendly name or description of the 'WebACL'. You can\'t change the name of a 'WebACL' after you create it. waName :: Lens' WebACL (Maybe Text) waName = lens _waName (\ s a -> s{_waName = a}); --- | A unique identifier for a 'WebACL'. You use 'WebACLId' to get--- information about a 'WebACL' (see < GetWebACL>), update a 'WebACL' (see--- < UpdateWebACL>), and delete a 'WebACL' from AWS WAF (see--- < DeleteWebACL>).+-- | A unique identifier for a 'WebACL'. You use 'WebACLId' to get information about a 'WebACL' (see < GetWebACL>), update a 'WebACL' (see < UpdateWebACL>), and delete a 'WebACL' from AWS WAF (see < DeleteWebACL>). -- -- 'WebACLId' is returned by < CreateWebACL> and by < ListWebACLs>. waWebACLId :: Lens' WebACL Text waWebACLId = lens _waWebACLId (\ s a -> s{_waWebACLId = a}); --- | The action to perform if none of the 'Rules' contained in the 'WebACL'--- match. The action is specified by the < WafAction> object.+-- | The action to perform if none of the 'Rules' contained in the 'WebACL' match. The action is specified by the < WafAction> object. waDefaultAction :: Lens' WebACL WafAction waDefaultAction = lens _waDefaultAction (\ s a -> s{_waDefaultAction = a}); --- | An array that contains the action for each 'Rule' in a 'WebACL', the--- priority of the 'Rule', and the ID of the 'Rule'.+-- | An array that contains the action for each 'Rule' in a 'WebACL', the priority of the 'Rule', and the ID of the 'Rule'. waRules :: Lens' WebACL [ActivatedRule] waRules = lens _waRules (\ s a -> s{_waRules = a}) . _Coerce; @@ -2127,17 +1792,13 @@ , _wasName = pName_ } --- | A unique identifier for a 'WebACL'. You use 'WebACLId' to get--- information about a 'WebACL' (see < GetWebACL>), update a 'WebACL' (see--- < UpdateWebACL>), and delete a 'WebACL' from AWS WAF (see--- < DeleteWebACL>).+-- | A unique identifier for a 'WebACL'. You use 'WebACLId' to get information about a 'WebACL' (see < GetWebACL>), update a 'WebACL' (see < UpdateWebACL>), and delete a 'WebACL' from AWS WAF (see < DeleteWebACL>). -- -- 'WebACLId' is returned by < CreateWebACL> and by < ListWebACLs>. wasWebACLId :: Lens' WebACLSummary Text wasWebACLId = lens _wasWebACLId (\ s a -> s{_wasWebACLId = a}); --- | A friendly name or description of the < WebACL>. You can\'t change the--- name of a 'WebACL' after you create it.+-- | A friendly name or description of the < WebACL>. You can\'t change the name of a 'WebACL' after you create it. wasName :: Lens' WebACLSummary Text wasName = lens _wasName (\ s a -> s{_wasName = a}); @@ -2152,8 +1813,7 @@ instance NFData WebACLSummary --- | Specifies whether to insert a 'Rule' into or delete a 'Rule' from a--- 'WebACL'.+-- | Specifies whether to insert a 'Rule' into or delete a 'Rule' from a 'WebACL'. -- -- /See:/ 'webACLUpdate' smart constructor. data WebACLUpdate = WebACLUpdate'@@ -2178,8 +1838,7 @@ , _wauActivatedRule = pActivatedRule_ } --- | Specifies whether to insert a 'Rule' into or delete a 'Rule' from a--- 'WebACL'.+-- | Specifies whether to insert a 'Rule' into or delete a 'Rule' from a 'WebACL'. wauAction :: Lens' WebACLUpdate ChangeAction wauAction = lens _wauAction (\ s a -> s{_wauAction = a}); @@ -2198,12 +1857,7 @@ [Just ("Action" .= _wauAction), Just ("ActivatedRule" .= _wauActivatedRule)]) --- | A complex type that contains 'XssMatchTuple' 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 'XssMatchSet' contains more than one 'XssMatchTuple'--- 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.+-- | A complex type that contains 'XssMatchTuple' 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 'XssMatchSet' contains more than one 'XssMatchTuple' 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. -- -- /See:/ 'xssMatchSet' smart constructor. data XSSMatchSet = XSSMatchSet'@@ -2235,19 +1889,13 @@ xmsName :: Lens' XSSMatchSet (Maybe Text) xmsName = lens _xmsName (\ s a -> s{_xmsName = a}); --- | A unique identifier for an 'XssMatchSet'. You use 'XssMatchSetId' to get--- information about an 'XssMatchSet' (see < GetXssMatchSet>), update an--- 'XssMatchSet' (see < UpdateXssMatchSet>), insert an 'XssMatchSet' into a--- 'Rule' or delete one from a 'Rule' (see < UpdateRule>), and delete an--- 'XssMatchSet' from AWS WAF (see < DeleteXssMatchSet>).+-- | A unique identifier for an 'XssMatchSet'. You use 'XssMatchSetId' to get information about an 'XssMatchSet' (see < GetXssMatchSet>), update an 'XssMatchSet' (see < UpdateXssMatchSet>), insert an 'XssMatchSet' into a 'Rule' or delete one from a 'Rule' (see < UpdateRule>), and delete an 'XssMatchSet' from AWS WAF (see < DeleteXssMatchSet>). ----- 'XssMatchSetId' is returned by < CreateXssMatchSet> and by--- < ListXssMatchSets>.+-- 'XssMatchSetId' is returned by < CreateXssMatchSet> and by < ListXssMatchSets>. xmsXSSMatchSetId :: Lens' XSSMatchSet Text xmsXSSMatchSetId = lens _xmsXSSMatchSetId (\ s a -> s{_xmsXSSMatchSetId = a}); --- | Specifies the parts of web requests that you want to inspect for--- cross-site scripting attacks.+-- | Specifies the parts of web requests that you want to inspect for cross-site scripting attacks. xmsXSSMatchTuples :: Lens' XSSMatchSet [XSSMatchTuple] xmsXSSMatchTuples = lens _xmsXSSMatchTuples (\ s a -> s{_xmsXSSMatchTuples = a}) . _Coerce; @@ -2288,14 +1936,9 @@ , _xmssName = pName_ } --- | A unique identifier for an 'XssMatchSet'. You use 'XssMatchSetId' to get--- information about a 'XssMatchSet' (see < GetXssMatchSet>), update an--- 'XssMatchSet' (see < UpdateXssMatchSet>), insert an 'XssMatchSet' into a--- 'Rule' or delete one from a 'Rule' (see < UpdateRule>), and delete an--- 'XssMatchSet' from AWS WAF (see < DeleteXssMatchSet>).+-- | A unique identifier for an 'XssMatchSet'. You use 'XssMatchSetId' to get information about a 'XssMatchSet' (see < GetXssMatchSet>), update an 'XssMatchSet' (see < UpdateXssMatchSet>), insert an 'XssMatchSet' into a 'Rule' or delete one from a 'Rule' (see < UpdateRule>), and delete an 'XssMatchSet' from AWS WAF (see < DeleteXssMatchSet>). ----- 'XssMatchSetId' is returned by < CreateXssMatchSet> and by--- < ListXssMatchSets>.+-- 'XssMatchSetId' is returned by < CreateXssMatchSet> and by < ListXssMatchSets>. xmssXSSMatchSetId :: Lens' XSSMatchSetSummary Text xmssXSSMatchSetId = lens _xmssXSSMatchSetId (\ s a -> s{_xmssXSSMatchSetId = a}); @@ -2314,9 +1957,7 @@ instance NFData XSSMatchSetSummary --- | 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 < XssMatchSet> or delete it from an 'XssMatchSet'.+-- | 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 < XssMatchSet> or delete it from an 'XssMatchSet'. -- -- /See:/ 'xssMatchSetUpdate' smart constructor. data XSSMatchSetUpdate = XSSMatchSetUpdate'@@ -2341,14 +1982,11 @@ , _xmsuXSSMatchTuple = pXSSMatchTuple_ } --- | Specify 'INSERT' to add a < XssMatchSetUpdate> to an < XssMatchSet>. Use--- 'DELETE' to remove a 'XssMatchSetUpdate' from an 'XssMatchSet'.+-- | Specify 'INSERT' to add a < XssMatchSetUpdate> to an < XssMatchSet>. Use 'DELETE' to remove a 'XssMatchSetUpdate' from an 'XssMatchSet'. xmsuAction :: Lens' XSSMatchSetUpdate ChangeAction xmsuAction = lens _xmsuAction (\ s a -> s{_xmsuAction = a}); --- | 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.+-- | 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. xmsuXSSMatchTuple :: Lens' XSSMatchSetUpdate XSSMatchTuple xmsuXSSMatchTuple = lens _xmsuXSSMatchTuple (\ s a -> s{_xmsuXSSMatchTuple = a}); @@ -2363,9 +2001,7 @@ [Just ("Action" .= _xmsuAction), Just ("XssMatchTuple" .= _xmsuXSSMatchTuple)]) --- | 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.+-- | 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. -- -- /See:/ 'xssMatchTuple' smart constructor. data XSSMatchTuple = XSSMatchTuple'@@ -2394,17 +2030,11 @@ xmtFieldToMatch :: Lens' XSSMatchTuple FieldToMatch xmtFieldToMatch = lens _xmtFieldToMatch (\ s a -> s{_xmtFieldToMatch = a}); --- | 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--- 'FieldToMatch' before inspecting a request for a match.+-- | 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 'FieldToMatch' before inspecting a request for a match. -- -- __CMD_LINE__ ----- 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:+-- 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: -- -- - Delete the following characters: \\ \" \' ^ -- - Delete spaces before the following characters: \/ (@@ -2414,8 +2044,7 @@ -- -- __COMPRESS_WHITE_SPACE__ ----- Use this option to replace the following characters with a space--- character (decimal 32):+-- Use this option to replace the following characters with a space character (decimal 32): -- -- - \\f, formfeed, decimal 12 -- - \\t, tab, decimal 9@@ -2428,17 +2057,14 @@ -- -- __HTML_ENTITY_DECODE__ ----- Use this option to replace HTML-encoded characters with unencoded--- characters. 'HTML_ENTITY_DECODE' performs the following operations:+-- Use this option to replace HTML-encoded characters with unencoded characters. 'HTML_ENTITY_DECODE' performs the following operations: -- -- - Replaces '(ampersand)quot;' with '\"' -- - Replaces '(ampersand)nbsp;' with a non-breaking space, decimal 160 -- - Replaces '(ampersand)lt;' with a \"less than\" symbol -- - Replaces '(ampersand)gt;' with '>'--- - Replaces characters that are represented in hexadecimal format,--- '(ampersand)#xhhhh;', with the corresponding characters--- - Replaces characters that are represented in decimal format,--- '(ampersand)#nnnn;', with the corresponding characters+-- - Replaces characters that are represented in hexadecimal format, '(ampersand)#xhhhh;', with the corresponding characters+-- - Replaces characters that are represented in decimal format, '(ampersand)#nnnn;', with the corresponding characters -- -- __LOWERCASE__ --
gen/Network/AWS/WAF/UpdateByteMatchSet.hs view
@@ -18,42 +18,23 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Inserts or deletes < ByteMatchTuple> objects (filters) in a--- < ByteMatchSet>. For each 'ByteMatchTuple' object, you specify the--- following values:+-- Inserts or deletes < ByteMatchTuple> objects (filters) in a < ByteMatchSet>. For each 'ByteMatchTuple' object, you specify the following values: ----- - Whether to insert or delete the object from the array. If you want--- to change a 'ByteMatchSetUpdate' object, you delete the existing--- object and add a new one.--- - The part of a web request that you want AWS WAF to inspect, such as--- a query string or the value of the 'User-Agent' header.--- - 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 'TargetString' in the < ByteMatchTuple> data type.--- - Where to look, such as at the beginning or the end of a query--- string.--- - Whether to perform any conversions on the request, such as--- converting it to lowercase, before inspecting it for the specified--- string.+-- - Whether to insert or delete the object from the array. If you want to change a 'ByteMatchSetUpdate' object, you delete the existing object and add a new one.+-- - The part of a web request that you want AWS WAF to inspect, such as a query string or the value of the 'User-Agent' header.+-- - 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 'TargetString' in the < ByteMatchTuple> data type.+-- - Where to look, such as at the beginning or the end of a query string.+-- - Whether to perform any conversions on the request, such as converting it to lowercase, before inspecting it for the specified string. ----- For example, you can add a 'ByteMatchSetUpdate' object that matches web--- requests in which 'User-Agent' headers contain the string 'BadBot'. You--- can then configure AWS WAF to block those requests.+-- For example, you can add a 'ByteMatchSetUpdate' object that matches web requests in which 'User-Agent' headers contain the string 'BadBot'. You can then configure AWS WAF to block those requests. -- -- To create and configure a 'ByteMatchSet', perform the following steps: ----- 1. Create a 'ByteMatchSet.' For more information, see--- < CreateByteMatchSet>.--- 2. Use < GetChangeToken> to get the change token that you provide in--- the 'ChangeToken' parameter of an 'UpdateByteMatchSet' request.--- 3. Submit an 'UpdateByteMatchSet' 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.+-- 1. Create a 'ByteMatchSet.' For more information, see < CreateByteMatchSet>.+-- 2. Use < GetChangeToken> to get the change token that you provide in the 'ChangeToken' parameter of an 'UpdateByteMatchSet' request.+-- 3. Submit an 'UpdateByteMatchSet' 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. ----- For more information about how to use the AWS WAF API to allow or block--- HTTP requests, see the--- <http://docs.aws.amazon.com/waf/latest/developerguide/ AWS WAF Developer Guide>.+-- For more information about how to use the AWS WAF API to allow or block HTTP requests, see the <http://docs.aws.amazon.com/waf/latest/developerguide/ AWS WAF Developer Guide>. module Network.AWS.WAF.UpdateByteMatchSet ( -- * Creating a Request@@ -106,9 +87,7 @@ , _ubmsUpdates = mempty } --- | The 'ByteMatchSetId' of the < ByteMatchSet> that you want to update.--- 'ByteMatchSetId' is returned by < CreateByteMatchSet> and by--- < ListByteMatchSets>.+-- | The 'ByteMatchSetId' of the < ByteMatchSet> that you want to update. 'ByteMatchSetId' is returned by < CreateByteMatchSet> and by < ListByteMatchSets>. ubmsByteMatchSetId :: Lens' UpdateByteMatchSet Text ubmsByteMatchSetId = lens _ubmsByteMatchSetId (\ s a -> s{_ubmsByteMatchSetId = a}); @@ -116,13 +95,10 @@ ubmsChangeToken :: Lens' UpdateByteMatchSet Text ubmsChangeToken = lens _ubmsChangeToken (\ s a -> s{_ubmsChangeToken = a}); --- | An array of 'ByteMatchSetUpdate' objects that you want to insert into or--- delete from a < ByteMatchSet>. For more information, see the applicable--- data types:+-- | An array of 'ByteMatchSetUpdate' objects that you want to insert into or delete from a < ByteMatchSet>. For more information, see the applicable data types: -- -- - < ByteMatchSetUpdate>: Contains 'Action' and 'ByteMatchTuple'--- - < ByteMatchTuple>: Contains 'FieldToMatch', 'PositionalConstraint',--- 'TargetString', and 'TextTransformation'+-- - < ByteMatchTuple>: Contains 'FieldToMatch', 'PositionalConstraint', 'TargetString', and 'TextTransformation' -- - < FieldToMatch>: Contains 'Data' and 'Type' ubmsUpdates :: Lens' UpdateByteMatchSet [ByteMatchSetUpdate] ubmsUpdates = lens _ubmsUpdates (\ s a -> s{_ubmsUpdates = a}) . _Coerce;@@ -186,9 +162,7 @@ , _ubmsrsResponseStatus = pResponseStatus_ } --- | The 'ChangeToken' that you used to submit the 'UpdateByteMatchSet'--- request. You can also use this value to query the status of the request.--- For more information, see < GetChangeTokenStatus>.+-- | The 'ChangeToken' that you used to submit the 'UpdateByteMatchSet' request. You can also use this value to query the status of the request. For more information, see < GetChangeTokenStatus>. ubmsrsChangeToken :: Lens' UpdateByteMatchSetResponse (Maybe Text) ubmsrsChangeToken = lens _ubmsrsChangeToken (\ s a -> s{_ubmsrsChangeToken = a});
gen/Network/AWS/WAF/UpdateIPSet.hs view
@@ -18,44 +18,25 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Inserts or deletes < IPSetDescriptor> objects in an 'IPSet'. For each--- 'IPSetDescriptor' object, you specify the following values:+-- Inserts or deletes < IPSetDescriptor> objects in an 'IPSet'. For each 'IPSetDescriptor' object, you specify the following values: ----- - Whether to insert or delete the object from the array. If you want--- to change an 'IPSetDescriptor' object, you delete the existing--- object and add a new one.+-- - Whether to insert or delete the object from the array. If you want to change an 'IPSetDescriptor' object, you delete the existing object and add a new one. -- - The IP address version, 'IPv4'.--- - The IP address in CIDR notation, for example, '192.0.2.0\/24' (for--- the range of IP addresses from '192.0.2.0' to '192.0.2.255') or--- '192.0.2.44\/32' (for the individual IP address '192.0.2.44').+-- - The IP address in CIDR notation, for example, '192.0.2.0\/24' (for the range of IP addresses from '192.0.2.0' to '192.0.2.255') or '192.0.2.44\/32' (for the individual IP address '192.0.2.44'). ----- AWS WAF supports \/8, \/16, \/24, and \/32 IP address ranges. For more--- information about CIDR notation, see the Wikipedia entry--- <https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing Classless Inter-Domain Routing>.+-- AWS WAF supports \/8, \/16, \/24, and \/32 IP address ranges. For more information about CIDR notation, see the Wikipedia entry <https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing Classless Inter-Domain Routing>. ----- You use an 'IPSet' 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 'IPSet' that specifies those IP addresses, and then configure--- AWS WAF to block the requests.+-- You use an 'IPSet' 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 'IPSet' that specifies those IP addresses, and then configure AWS WAF to block the requests. -- -- To create and configure an 'IPSet', perform the following steps: -- -- 1. Submit a < CreateIPSet> request.--- 2. Use < GetChangeToken> to get the change token that you provide in--- the 'ChangeToken' parameter of an < UpdateIPSet> request.--- 3. Submit an 'UpdateIPSet' request to specify the IP addresses that you--- want AWS WAF to watch for.+-- 2. Use < GetChangeToken> to get the change token that you provide in the 'ChangeToken' parameter of an < UpdateIPSet> request.+-- 3. Submit an 'UpdateIPSet' request to specify the IP addresses that you want AWS WAF to watch for. ----- When you update an 'IPSet', 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.+-- When you update an 'IPSet', 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. ----- For more information about how to use the AWS WAF API to allow or block--- HTTP requests, see the--- <http://docs.aws.amazon.com/waf/latest/developerguide/ AWS WAF Developer Guide>.+-- For more information about how to use the AWS WAF API to allow or block HTTP requests, see the <http://docs.aws.amazon.com/waf/latest/developerguide/ AWS WAF Developer Guide>. module Network.AWS.WAF.UpdateIPSet ( -- * Creating a Request@@ -108,8 +89,7 @@ , _uisUpdates = mempty } --- | The 'IPSetId' of the < IPSet> that you want to update. 'IPSetId' is--- returned by < CreateIPSet> and by < ListIPSets>.+-- | The 'IPSetId' of the < IPSet> that you want to update. 'IPSetId' is returned by < CreateIPSet> and by < ListIPSets>. uisIPSetId :: Lens' UpdateIPSet Text uisIPSetId = lens _uisIPSetId (\ s a -> s{_uisIPSetId = a}); @@ -117,8 +97,7 @@ uisChangeToken :: Lens' UpdateIPSet Text uisChangeToken = lens _uisChangeToken (\ s a -> s{_uisChangeToken = a}); --- | An array of 'IPSetUpdate' objects that you want to insert into or delete--- from an < IPSet>. For more information, see the applicable data types:+-- | An array of 'IPSetUpdate' objects that you want to insert into or delete from an < IPSet>. For more information, see the applicable data types: -- -- - < IPSetUpdate>: Contains 'Action' and 'IPSetDescriptor' -- - < IPSetDescriptor>: Contains 'Type' and 'Value'@@ -183,9 +162,7 @@ , _uisrsResponseStatus = pResponseStatus_ } --- | The 'ChangeToken' that you used to submit the 'UpdateIPSet' request. You--- can also use this value to query the status of the request. For more--- information, see < GetChangeTokenStatus>.+-- | The 'ChangeToken' that you used to submit the 'UpdateIPSet' request. You can also use this value to query the status of the request. For more information, see < GetChangeTokenStatus>. uisrsChangeToken :: Lens' UpdateIPSetResponse (Maybe Text) uisrsChangeToken = lens _uisrsChangeToken (\ s a -> s{_uisrsChangeToken = a});
gen/Network/AWS/WAF/UpdateRule.hs view
@@ -18,39 +18,24 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Inserts or deletes < Predicate> objects in a 'Rule'. Each 'Predicate'--- object identifies a predicate, such as a < ByteMatchSet> or an < IPSet>,--- that specifies the web requests that you want to allow, block, or count.--- If you add more than one predicate to a 'Rule', a request must match all--- of the specifications to be allowed, blocked, or counted. For example,--- suppose you add the following to a 'Rule':+-- Inserts or deletes < Predicate> objects in a 'Rule'. Each 'Predicate' object identifies a predicate, such as a < ByteMatchSet> or an < IPSet>, that specifies the web requests that you want to allow, block, or count. If you add more than one predicate to a 'Rule', a request must match all of the specifications to be allowed, blocked, or counted. For example, suppose you add the following to a 'Rule': ----- - A 'ByteMatchSet' that matches the value 'BadBot' in the 'User-Agent'--- header+-- - A 'ByteMatchSet' that matches the value 'BadBot' in the 'User-Agent' header -- - An 'IPSet' that matches the IP address '192.0.2.44' ----- You then add the 'Rule' to a 'WebACL' and specify that you want to block--- requests that satisfy the 'Rule'. For a request to be blocked, the--- 'User-Agent' header in the request must contain the value 'BadBot' /and/--- the request must originate from the IP address 192.0.2.44.+-- You then add the 'Rule' to a 'WebACL' and specify that you want to block requests that satisfy the 'Rule'. For a request to be blocked, the 'User-Agent' header in the request must contain the value 'BadBot' /and/ the request must originate from the IP address 192.0.2.44. -- -- To create and configure a 'Rule', perform the following steps: ----- 1. Create and update the predicates that you want to include in the--- 'Rule'.+-- 1. Create and update the predicates that you want to include in the 'Rule'. -- 2. Create the 'Rule'. See < CreateRule>.--- 3. Use 'GetChangeToken' to get the change token that you provide in the--- 'ChangeToken' parameter of an < UpdateRule> request.+-- 3. Use 'GetChangeToken' to get the change token that you provide in the 'ChangeToken' parameter of an < UpdateRule> request. -- 4. Submit an 'UpdateRule' request to add predicates to the 'Rule'.--- 5. Create and update a 'WebACL' that contains the 'Rule'. See--- < CreateWebACL>.+-- 5. Create and update a 'WebACL' that contains the 'Rule'. See < CreateWebACL>. ----- If you want to replace one 'ByteMatchSet' or 'IPSet' with another, you--- delete the existing one and add the new one.+-- If you want to replace one 'ByteMatchSet' or 'IPSet' with another, you delete the existing one and add the new one. ----- For more information about how to use the AWS WAF API to allow or block--- HTTP requests, see the--- <http://docs.aws.amazon.com/waf/latest/developerguide/ AWS WAF Developer Guide>.+-- For more information about how to use the AWS WAF API to allow or block HTTP requests, see the <http://docs.aws.amazon.com/waf/latest/developerguide/ AWS WAF Developer Guide>. module Network.AWS.WAF.UpdateRule ( -- * Creating a Request@@ -103,8 +88,7 @@ , _urUpdates = mempty } --- | The 'RuleId' of the 'Rule' that you want to update. 'RuleId' is returned--- by 'CreateRule' and by < ListRules>.+-- | The 'RuleId' of the 'Rule' that you want to update. 'RuleId' is returned by 'CreateRule' and by < ListRules>. urRuleId :: Lens' UpdateRule Text urRuleId = lens _urRuleId (\ s a -> s{_urRuleId = a}); @@ -112,8 +96,7 @@ urChangeToken :: Lens' UpdateRule Text urChangeToken = lens _urChangeToken (\ s a -> s{_urChangeToken = a}); --- | An array of 'RuleUpdate' objects that you want to insert into or delete--- from a < Rule>. For more information, see the applicable data types:+-- | An array of 'RuleUpdate' objects that you want to insert into or delete from a < Rule>. For more information, see the applicable data types: -- -- - < RuleUpdate>: Contains 'Action' and 'Predicate' -- - < Predicate>: Contains 'DataId', 'Negated', and 'Type'@@ -179,9 +162,7 @@ , _urrsResponseStatus = pResponseStatus_ } --- | The 'ChangeToken' that you used to submit the 'UpdateRule' request. You--- can also use this value to query the status of the request. For more--- information, see < GetChangeTokenStatus>.+-- | The 'ChangeToken' that you used to submit the 'UpdateRule' request. You can also use this value to query the status of the request. For more information, see < GetChangeTokenStatus>. urrsChangeToken :: Lens' UpdateRuleResponse (Maybe Text) urrsChangeToken = lens _urrsChangeToken (\ s a -> s{_urrsChangeToken = a});
gen/Network/AWS/WAF/UpdateSizeConstraintSet.hs view
@@ -18,46 +18,23 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Inserts or deletes < SizeConstraint> objects (filters) in a--- < SizeConstraintSet>. For each 'SizeConstraint' object, you specify the--- following values:+-- Inserts or deletes < SizeConstraint> objects (filters) in a < SizeConstraintSet>. For each 'SizeConstraint' object, you specify the following values: ----- - Whether to insert or delete the object from the array. If you want--- to change a 'SizeConstraintSetUpdate' object, you delete the--- existing object and add a new one.--- - 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 'User-Agent'--- header.--- - 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 '8192' bytes of your request to--- AWS WAF.--- - A 'ComparisonOperator' used for evaluating the selected part of the--- request against the specified 'Size', such as equals, greater than,--- less than, and so on.--- - 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.+-- - Whether to insert or delete the object from the array. If you want to change a 'SizeConstraintSetUpdate' object, you delete the existing object and add a new one.+-- - 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 'User-Agent' header.+-- - 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 '8192' bytes of your request to AWS WAF.+-- - A 'ComparisonOperator' used for evaluating the selected part of the request against the specified 'Size', such as equals, greater than, less than, and so on.+-- - 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. ----- For example, you can add a 'SizeConstraintSetUpdate' object that matches--- web requests in which the length of the 'User-Agent' header is greater--- than 100 bytes. You can then configure AWS WAF to block those requests.+-- For example, you can add a 'SizeConstraintSetUpdate' object that matches web requests in which the length of the 'User-Agent' header is greater than 100 bytes. You can then configure AWS WAF to block those requests. ----- To create and configure a 'SizeConstraintSet', perform the following--- steps:+-- To create and configure a 'SizeConstraintSet', perform the following steps: ----- 1. Create a 'SizeConstraintSet.' For more information, see--- < CreateSizeConstraintSet>.--- 2. Use < GetChangeToken> to get the change token that you provide in--- the 'ChangeToken' parameter of an 'UpdateSizeConstraintSet' request.--- 3. Submit an 'UpdateSizeConstraintSet' 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.+-- 1. Create a 'SizeConstraintSet.' For more information, see < CreateSizeConstraintSet>.+-- 2. Use < GetChangeToken> to get the change token that you provide in the 'ChangeToken' parameter of an 'UpdateSizeConstraintSet' request.+-- 3. Submit an 'UpdateSizeConstraintSet' 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. ----- For more information about how to use the AWS WAF API to allow or block--- HTTP requests, see the--- <http://docs.aws.amazon.com/waf/latest/developerguide/ AWS WAF Developer Guide>.+-- For more information about how to use the AWS WAF API to allow or block HTTP requests, see the <http://docs.aws.amazon.com/waf/latest/developerguide/ AWS WAF Developer Guide>. module Network.AWS.WAF.UpdateSizeConstraintSet ( -- * Creating a Request@@ -110,9 +87,7 @@ , _uscsUpdates = mempty } --- | The 'SizeConstraintSetId' of the < SizeConstraintSet> that you want to--- update. 'SizeConstraintSetId' is returned by < CreateSizeConstraintSet>--- and by < ListSizeConstraintSets>.+-- | The 'SizeConstraintSetId' of the < SizeConstraintSet> that you want to update. 'SizeConstraintSetId' is returned by < CreateSizeConstraintSet> and by < ListSizeConstraintSets>. uscsSizeConstraintSetId :: Lens' UpdateSizeConstraintSet Text uscsSizeConstraintSetId = lens _uscsSizeConstraintSetId (\ s a -> s{_uscsSizeConstraintSetId = a}); @@ -120,13 +95,10 @@ uscsChangeToken :: Lens' UpdateSizeConstraintSet Text uscsChangeToken = lens _uscsChangeToken (\ s a -> s{_uscsChangeToken = a}); --- | An array of 'SizeConstraintSetUpdate' objects that you want to insert--- into or delete from a < SizeConstraintSet>. For more information, see--- the applicable data types:+-- | An array of 'SizeConstraintSetUpdate' objects that you want to insert into or delete from a < SizeConstraintSet>. For more information, see the applicable data types: -- -- - < SizeConstraintSetUpdate>: Contains 'Action' and 'SizeConstraint'--- - < SizeConstraint>: Contains 'FieldToMatch', 'TextTransformation',--- 'ComparisonOperator', and 'Size'+-- - < SizeConstraint>: Contains 'FieldToMatch', 'TextTransformation', 'ComparisonOperator', and 'Size' -- - < FieldToMatch>: Contains 'Data' and 'Type' uscsUpdates :: Lens' UpdateSizeConstraintSet [SizeConstraintSetUpdate] uscsUpdates = lens _uscsUpdates (\ s a -> s{_uscsUpdates = a}) . _Coerce;@@ -192,9 +164,7 @@ , _uscsrsResponseStatus = pResponseStatus_ } --- | The 'ChangeToken' that you used to submit the 'UpdateSizeConstraintSet'--- request. You can also use this value to query the status of the request.--- For more information, see < GetChangeTokenStatus>.+-- | The 'ChangeToken' that you used to submit the 'UpdateSizeConstraintSet' request. You can also use this value to query the status of the request. For more information, see < GetChangeTokenStatus>. uscsrsChangeToken :: Lens' UpdateSizeConstraintSetResponse (Maybe Text) uscsrsChangeToken = lens _uscsrsChangeToken (\ s a -> s{_uscsrsChangeToken = a});
gen/Network/AWS/WAF/UpdateSqlInjectionMatchSet.hs view
@@ -18,40 +18,21 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Inserts or deletes < SqlInjectionMatchTuple> objects (filters) in a--- < SqlInjectionMatchSet>. For each 'SqlInjectionMatchTuple' object, you--- specify the following values:+-- Inserts or deletes < SqlInjectionMatchTuple> objects (filters) in a < SqlInjectionMatchSet>. For each 'SqlInjectionMatchTuple' object, you specify the following values: ----- - 'Action': Whether to insert the object into or delete the object--- from the array. To change a 'SqlInjectionMatchTuple', you delete the--- existing object and add a new one.--- - 'FieldToMatch': The part of web requests that you want AWS WAF to--- inspect and, if you want AWS WAF to inspect a header, the name of--- the header.--- - 'TextTransformation': Which text transformation, if any, to perform--- on the web request before inspecting the request for snippets of--- malicious SQL code.+-- - 'Action': Whether to insert the object into or delete the object from the array. To change a 'SqlInjectionMatchTuple', you delete the existing object and add a new one.+-- - 'FieldToMatch': The part of web requests that you want AWS WAF to inspect and, if you want AWS WAF to inspect a header, the name of the header.+-- - 'TextTransformation': Which text transformation, if any, to perform on the web request before inspecting the request for snippets of malicious SQL code. ----- You use 'SqlInjectionMatchSet' objects to specify which CloudFront--- requests 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--- 'SqlInjectionMatchSet' with the applicable settings, and then configure--- AWS WAF to block the requests.+-- You use 'SqlInjectionMatchSet' objects to specify which CloudFront requests 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 'SqlInjectionMatchSet' with the applicable settings, and then configure AWS WAF to block the requests. ----- To create and configure a 'SqlInjectionMatchSet', perform the following--- steps:+-- To create and configure a 'SqlInjectionMatchSet', perform the following steps: -- -- 1. Submit a < CreateSqlInjectionMatchSet> request.--- 2. Use < GetChangeToken> to get the change token that you provide in--- the 'ChangeToken' parameter of an < UpdateIPSet> request.--- 3. Submit an 'UpdateSqlInjectionMatchSet' request to specify the parts--- of web requests that you want AWS WAF to inspect for snippets of SQL--- code.+-- 2. Use < GetChangeToken> to get the change token that you provide in the 'ChangeToken' parameter of an < UpdateIPSet> request.+-- 3. Submit an 'UpdateSqlInjectionMatchSet' request to specify the parts of web requests that you want AWS WAF to inspect for snippets of SQL code. ----- For more information about how to use the AWS WAF API to allow or block--- HTTP requests, see the--- <http://docs.aws.amazon.com/waf/latest/developerguide/ AWS WAF Developer Guide>.+-- For more information about how to use the AWS WAF API to allow or block HTTP requests, see the <http://docs.aws.amazon.com/waf/latest/developerguide/ AWS WAF Developer Guide>. module Network.AWS.WAF.UpdateSqlInjectionMatchSet ( -- * Creating a Request@@ -106,9 +87,7 @@ , _usimsUpdates = mempty } --- | The 'SqlInjectionMatchSetId' of the 'SqlInjectionMatchSet' that you want--- to update. 'SqlInjectionMatchSetId' is returned by--- < CreateSqlInjectionMatchSet> and by < ListSqlInjectionMatchSets>.+-- | The 'SqlInjectionMatchSetId' of the 'SqlInjectionMatchSet' that you want to update. 'SqlInjectionMatchSetId' is returned by < CreateSqlInjectionMatchSet> and by < ListSqlInjectionMatchSets>. usimsSqlInjectionMatchSetId :: Lens' UpdateSqlInjectionMatchSet Text usimsSqlInjectionMatchSetId = lens _usimsSqlInjectionMatchSetId (\ s a -> s{_usimsSqlInjectionMatchSetId = a}); @@ -116,14 +95,10 @@ usimsChangeToken :: Lens' UpdateSqlInjectionMatchSet Text usimsChangeToken = lens _usimsChangeToken (\ s a -> s{_usimsChangeToken = a}); --- | An array of 'SqlInjectionMatchSetUpdate' objects that you want to insert--- into or delete from a < SqlInjectionMatchSet>. For more information, see--- the applicable data types:+-- | An array of 'SqlInjectionMatchSetUpdate' objects that you want to insert into or delete from a < SqlInjectionMatchSet>. For more information, see the applicable data types: ----- - < SqlInjectionMatchSetUpdate>: Contains 'Action' and--- 'SqlInjectionMatchTuple'--- - < SqlInjectionMatchTuple>: Contains 'FieldToMatch' and--- 'TextTransformation'+-- - < SqlInjectionMatchSetUpdate>: Contains 'Action' and 'SqlInjectionMatchTuple'+-- - < SqlInjectionMatchTuple>: Contains 'FieldToMatch' and 'TextTransformation' -- - < FieldToMatch>: Contains 'Data' and 'Type' usimsUpdates :: Lens' UpdateSqlInjectionMatchSet [SqlInjectionMatchSetUpdate] usimsUpdates = lens _usimsUpdates (\ s a -> s{_usimsUpdates = a}) . _Coerce;@@ -192,10 +167,7 @@ , _usimsrsResponseStatus = pResponseStatus_ } --- | The 'ChangeToken' that you used to submit the--- 'UpdateSqlInjectionMatchSet' request. You can also use this value to--- query the status of the request. For more information, see--- < GetChangeTokenStatus>.+-- | The 'ChangeToken' that you used to submit the 'UpdateSqlInjectionMatchSet' request. You can also use this value to query the status of the request. For more information, see < GetChangeTokenStatus>. usimsrsChangeToken :: Lens' UpdateSqlInjectionMatchSetResponse (Maybe Text) usimsrsChangeToken = lens _usimsrsChangeToken (\ s a -> s{_usimsrsChangeToken = a});
gen/Network/AWS/WAF/UpdateWebACL.hs view
@@ -18,48 +18,23 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Inserts or deletes < ActivatedRule> objects in a 'WebACL'. Each 'Rule'--- identifies web requests that you want to allow, block, or count. When--- you update a 'WebACL', you specify the following values:+-- Inserts or deletes < ActivatedRule> objects in a 'WebACL'. Each 'Rule' identifies web requests that you want to allow, block, or count. When you update a 'WebACL', you specify the following values: ----- - A default action for the 'WebACL', 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 'WebACL'.--- - The 'Rules' that you want to add and\/or delete. If you want to--- replace one 'Rule' with another, you delete the existing 'Rule' and--- add the new one.--- - For each 'Rule', whether you want AWS WAF to allow requests, block--- requests, or count requests that match the conditions in the 'Rule'.--- - The order in which you want AWS WAF to evaluate the 'Rules' in a--- 'WebACL'. If you add more than one 'Rule' to a 'WebACL', AWS WAF--- evaluates each request against the 'Rules' in order based on the--- value of 'Priority'. (The 'Rule' that has the lowest value for--- 'Priority' is evaluated first.) When a web request matches all of--- the predicates (such as 'ByteMatchSets' and 'IPSets') in a 'Rule',--- AWS WAF immediately takes the corresponding action, allow or block,--- and doesn\'t evaluate the request against the remaining 'Rules' in--- the 'WebACL', if any.--- - The CloudFront distribution that you want to associate with the--- 'WebACL'.+-- - A default action for the 'WebACL', 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 'WebACL'.+-- - The 'Rules' that you want to add and\/or delete. If you want to replace one 'Rule' with another, you delete the existing 'Rule' and add the new one.+-- - For each 'Rule', whether you want AWS WAF to allow requests, block requests, or count requests that match the conditions in the 'Rule'.+-- - The order in which you want AWS WAF to evaluate the 'Rules' in a 'WebACL'. If you add more than one 'Rule' to a 'WebACL', AWS WAF evaluates each request against the 'Rules' in order based on the value of 'Priority'. (The 'Rule' that has the lowest value for 'Priority' is evaluated first.) When a web request matches all of the predicates (such as 'ByteMatchSets' and 'IPSets') in a 'Rule', AWS WAF immediately takes the corresponding action, allow or block, and doesn\'t evaluate the request against the remaining 'Rules' in the 'WebACL', if any.+-- - The CloudFront distribution that you want to associate with the 'WebACL'. -- -- To create and configure a 'WebACL', perform the following steps: ----- 1. Create and update the predicates that you want to include in--- 'Rules'. For more information, see < CreateByteMatchSet>,--- < UpdateByteMatchSet>, < CreateIPSet>, < UpdateIPSet>,--- < CreateSqlInjectionMatchSet>, and < UpdateSqlInjectionMatchSet>.--- 2. Create and update the 'Rules' that you want to include in the--- 'WebACL'. For more information, see < CreateRule> and < UpdateRule>.+-- 1. Create and update the predicates that you want to include in 'Rules'. For more information, see < CreateByteMatchSet>, < UpdateByteMatchSet>, < CreateIPSet>, < UpdateIPSet>, < CreateSqlInjectionMatchSet>, and < UpdateSqlInjectionMatchSet>.+-- 2. Create and update the 'Rules' that you want to include in the 'WebACL'. For more information, see < CreateRule> and < UpdateRule>. -- 3. Create a 'WebACL'. See < CreateWebACL>.--- 4. Use 'GetChangeToken' to get the change token that you provide in the--- 'ChangeToken' parameter of an < UpdateWebACL> request.--- 5. Submit an 'UpdateWebACL' request to specify the 'Rules' that you--- want to include in the 'WebACL', to specify the default action, and--- to associate the 'WebACL' with a CloudFront distribution.+-- 4. Use 'GetChangeToken' to get the change token that you provide in the 'ChangeToken' parameter of an < UpdateWebACL> request.+-- 5. Submit an 'UpdateWebACL' request to specify the 'Rules' that you want to include in the 'WebACL', to specify the default action, and to associate the 'WebACL' with a CloudFront distribution. ----- For more information about how to use the AWS WAF API to allow or block--- HTTP requests, see the--- <http://docs.aws.amazon.com/waf/latest/developerguide/ AWS WAF Developer Guide>.+-- For more information about how to use the AWS WAF API to allow or block HTTP requests, see the <http://docs.aws.amazon.com/waf/latest/developerguide/ AWS WAF Developer Guide>. module Network.AWS.WAF.UpdateWebACL ( -- * Creating a Request@@ -119,9 +94,7 @@ -- | An array of updates to make to the < WebACL>. ----- An array of 'WebACLUpdate' objects that you want to insert into or--- delete from a < WebACL>. For more information, see the applicable data--- types:+-- An array of 'WebACLUpdate' objects that you want to insert into or delete from a < WebACL>. For more information, see the applicable data types: -- -- - < WebACLUpdate>: Contains 'Action' and 'ActivatedRule' -- - < ActivatedRule>: Contains 'Action', 'Priority', and 'RuleId'@@ -133,8 +106,7 @@ uwaDefaultAction :: Lens' UpdateWebACL (Maybe WafAction) uwaDefaultAction = lens _uwaDefaultAction (\ s a -> s{_uwaDefaultAction = a}); --- | The 'WebACLId' of the < WebACL> that you want to update. 'WebACLId' is--- returned by < CreateWebACL> and by < ListWebACLs>.+-- | The 'WebACLId' of the < WebACL> that you want to update. 'WebACLId' is returned by < CreateWebACL> and by < ListWebACLs>. uwaWebACLId :: Lens' UpdateWebACL Text uwaWebACLId = lens _uwaWebACLId (\ s a -> s{_uwaWebACLId = a}); @@ -201,9 +173,7 @@ , _uwarsResponseStatus = pResponseStatus_ } --- | The 'ChangeToken' that you used to submit the 'UpdateWebACL' request.--- You can also use this value to query the status of the request. For more--- information, see < GetChangeTokenStatus>.+-- | The 'ChangeToken' that you used to submit the 'UpdateWebACL' request. You can also use this value to query the status of the request. For more information, see < GetChangeTokenStatus>. uwarsChangeToken :: Lens' UpdateWebACLResponse (Maybe Text) uwarsChangeToken = lens _uwarsChangeToken (\ s a -> s{_uwarsChangeToken = a});
gen/Network/AWS/WAF/UpdateXSSMatchSet.hs view
@@ -18,39 +18,21 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Inserts or deletes < XssMatchTuple> objects (filters) in an--- < XssMatchSet>. For each 'XssMatchTuple' object, you specify the--- following values:+-- Inserts or deletes < XssMatchTuple> objects (filters) in an < XssMatchSet>. For each 'XssMatchTuple' object, you specify the following values: ----- - 'Action': Whether to insert the object into or delete the object--- from the array. To change a 'XssMatchTuple', you delete the existing--- object and add a new one.--- - 'FieldToMatch': The part of web requests that you want AWS WAF to--- inspect and, if you want AWS WAF to inspect a header, the name of--- the header.--- - 'TextTransformation': Which text transformation, if any, to perform--- on the web request before inspecting the request for cross-site--- scripting attacks.+-- - 'Action': Whether to insert the object into or delete the object from the array. To change a 'XssMatchTuple', you delete the existing object and add a new one.+-- - 'FieldToMatch': The part of web requests that you want AWS WAF to inspect and, if you want AWS WAF to inspect a header, the name of the header.+-- - 'TextTransformation': Which text transformation, if any, to perform on the web request before inspecting the request for cross-site scripting attacks. ----- You use 'XssMatchSet' objects to specify which CloudFront requests 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 'XssMatchSet' with--- the applicable settings, and then configure AWS WAF to block the--- requests.+-- You use 'XssMatchSet' objects to specify which CloudFront requests 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 'XssMatchSet' with the applicable settings, and then configure AWS WAF to block the requests. -- -- To create and configure an 'XssMatchSet', perform the following steps: -- -- 1. Submit a < CreateXssMatchSet> request.--- 2. Use < GetChangeToken> to get the change token that you provide in--- the 'ChangeToken' parameter of an < UpdateIPSet> request.--- 3. Submit an 'UpdateXssMatchSet' request to specify the parts of web--- requests that you want AWS WAF to inspect for cross-site scripting--- attacks.+-- 2. Use < GetChangeToken> to get the change token that you provide in the 'ChangeToken' parameter of an < UpdateIPSet> request.+-- 3. Submit an 'UpdateXssMatchSet' request to specify the parts of web requests that you want AWS WAF to inspect for cross-site scripting attacks. ----- For more information about how to use the AWS WAF API to allow or block--- HTTP requests, see the--- <http://docs.aws.amazon.com/waf/latest/developerguide/ AWS WAF Developer Guide>.+-- For more information about how to use the AWS WAF API to allow or block HTTP requests, see the <http://docs.aws.amazon.com/waf/latest/developerguide/ AWS WAF Developer Guide>. module Network.AWS.WAF.UpdateXSSMatchSet ( -- * Creating a Request@@ -105,9 +87,7 @@ , _uxmsUpdates = mempty } --- | The 'XssMatchSetId' of the 'XssMatchSet' that you want to update.--- 'XssMatchSetId' is returned by < CreateXssMatchSet> and by--- < ListXssMatchSets>.+-- | The 'XssMatchSetId' of the 'XssMatchSet' that you want to update. 'XssMatchSetId' is returned by < CreateXssMatchSet> and by < ListXssMatchSets>. uxmsXSSMatchSetId :: Lens' UpdateXSSMatchSet Text uxmsXSSMatchSetId = lens _uxmsXSSMatchSetId (\ s a -> s{_uxmsXSSMatchSetId = a}); @@ -115,9 +95,7 @@ uxmsChangeToken :: Lens' UpdateXSSMatchSet Text uxmsChangeToken = lens _uxmsChangeToken (\ s a -> s{_uxmsChangeToken = a}); --- | An array of 'XssMatchSetUpdate' objects that you want to insert into or--- delete from a < XssMatchSet>. For more information, see the applicable--- data types:+-- | An array of 'XssMatchSetUpdate' objects that you want to insert into or delete from a < XssMatchSet>. For more information, see the applicable data types: -- -- - < XssMatchSetUpdate>: Contains 'Action' and 'XssMatchTuple' -- - < XssMatchTuple>: Contains 'FieldToMatch' and 'TextTransformation'@@ -185,9 +163,7 @@ , _uxmsrsResponseStatus = pResponseStatus_ } --- | The 'ChangeToken' that you used to submit the 'UpdateXssMatchSet'--- request. You can also use this value to query the status of the request.--- For more information, see < GetChangeTokenStatus>.+-- | The 'ChangeToken' that you used to submit the 'UpdateXssMatchSet' request. You can also use this value to query the status of the request. For more information, see < GetChangeTokenStatus>. uxmsrsChangeToken :: Lens' UpdateXSSMatchSetResponse (Maybe Text) uxmsrsChangeToken = lens _uxmsrsChangeToken (\ s a -> s{_uxmsrsChangeToken = a});
test/Test/AWS/Gen/WAF.hs view
@@ -28,235 +28,235 @@ -- fixtures :: TestTree -- fixtures = -- [ testGroup "request"--- [ testGetSizeConstraintSet $+-- [ requestGetSizeConstraintSet $ -- getSizeConstraintSet ----- , testUpdateRule $+-- , requestUpdateRule $ -- updateRule ----- , testDeleteRule $+-- , requestDeleteRule $ -- deleteRule ----- , testCreateIPSet $+-- , requestCreateIPSet $ -- createIPSet ----- , testGetChangeTokenStatus $+-- , requestGetChangeTokenStatus $ -- getChangeTokenStatus ----- , testDeleteWebACL $+-- , requestDeleteWebACL $ -- deleteWebACL ----- , testUpdateWebACL $+-- , requestUpdateWebACL $ -- updateWebACL ----- , testListWebACLs $+-- , requestListWebACLs $ -- listWebACLs ----- , testListRules $+-- , requestListRules $ -- listRules ----- , testCreateRule $+-- , requestCreateRule $ -- createRule ----- , testCreateWebACL $+-- , requestCreateWebACL $ -- createWebACL ----- , testListByteMatchSets $+-- , requestListByteMatchSets $ -- listByteMatchSets ----- , testGetIPSet $+-- , requestGetIPSet $ -- getIPSet ----- , testGetWebACL $+-- , requestGetWebACL $ -- getWebACL ----- , testGetRule $+-- , requestGetRule $ -- getRule ----- , testDeleteXSSMatchSet $+-- , requestDeleteXSSMatchSet $ -- deleteXSSMatchSet ----- , testUpdateXSSMatchSet $+-- , requestUpdateXSSMatchSet $ -- updateXSSMatchSet ----- , testListXSSMatchSets $+-- , requestListXSSMatchSets $ -- listXSSMatchSets ----- , testGetChangeToken $+-- , requestGetChangeToken $ -- getChangeToken ----- , testListSizeConstraintSets $+-- , requestListSizeConstraintSets $ -- listSizeConstraintSets ----- , testGetSampledRequests $+-- , requestGetSampledRequests $ -- getSampledRequests ----- , testGetSqlInjectionMatchSet $+-- , requestGetSqlInjectionMatchSet $ -- getSqlInjectionMatchSet ----- , testCreateSqlInjectionMatchSet $+-- , requestCreateSqlInjectionMatchSet $ -- createSqlInjectionMatchSet ----- , testGetXSSMatchSet $+-- , requestGetXSSMatchSet $ -- getXSSMatchSet ----- , testCreateByteMatchSet $+-- , requestCreateByteMatchSet $ -- createByteMatchSet ----- , testUpdateByteMatchSet $+-- , requestUpdateByteMatchSet $ -- updateByteMatchSet ----- , testDeleteByteMatchSet $+-- , requestDeleteByteMatchSet $ -- deleteByteMatchSet ----- , testDeleteIPSet $+-- , requestDeleteIPSet $ -- deleteIPSet ----- , testUpdateIPSet $+-- , requestUpdateIPSet $ -- updateIPSet ----- , testListIPSets $+-- , requestListIPSets $ -- listIPSets ----- , testCreateXSSMatchSet $+-- , requestCreateXSSMatchSet $ -- createXSSMatchSet ----- , testGetByteMatchSet $+-- , requestGetByteMatchSet $ -- getByteMatchSet ----- , testDeleteSizeConstraintSet $+-- , requestDeleteSizeConstraintSet $ -- deleteSizeConstraintSet ----- , testUpdateSizeConstraintSet $+-- , requestUpdateSizeConstraintSet $ -- updateSizeConstraintSet ----- , testCreateSizeConstraintSet $+-- , requestCreateSizeConstraintSet $ -- createSizeConstraintSet ----- , testListSqlInjectionMatchSets $+-- , requestListSqlInjectionMatchSets $ -- listSqlInjectionMatchSets ----- , testDeleteSqlInjectionMatchSet $+-- , requestDeleteSqlInjectionMatchSet $ -- deleteSqlInjectionMatchSet ----- , testUpdateSqlInjectionMatchSet $+-- , requestUpdateSqlInjectionMatchSet $ -- updateSqlInjectionMatchSet -- -- ] -- , testGroup "response"--- [ testGetSizeConstraintSetResponse $+-- [ responseGetSizeConstraintSet $ -- getSizeConstraintSetResponse ----- , testUpdateRuleResponse $+-- , responseUpdateRule $ -- updateRuleResponse ----- , testDeleteRuleResponse $+-- , responseDeleteRule $ -- deleteRuleResponse ----- , testCreateIPSetResponse $+-- , responseCreateIPSet $ -- createIPSetResponse ----- , testGetChangeTokenStatusResponse $+-- , responseGetChangeTokenStatus $ -- getChangeTokenStatusResponse ----- , testDeleteWebACLResponse $+-- , responseDeleteWebACL $ -- deleteWebACLResponse ----- , testUpdateWebACLResponse $+-- , responseUpdateWebACL $ -- updateWebACLResponse ----- , testListWebACLsResponse $+-- , responseListWebACLs $ -- listWebACLsResponse ----- , testListRulesResponse $+-- , responseListRules $ -- listRulesResponse ----- , testCreateRuleResponse $+-- , responseCreateRule $ -- createRuleResponse ----- , testCreateWebACLResponse $+-- , responseCreateWebACL $ -- createWebACLResponse ----- , testListByteMatchSetsResponse $+-- , responseListByteMatchSets $ -- listByteMatchSetsResponse ----- , testGetIPSetResponse $+-- , responseGetIPSet $ -- getIPSetResponse ----- , testGetWebACLResponse $+-- , responseGetWebACL $ -- getWebACLResponse ----- , testGetRuleResponse $+-- , responseGetRule $ -- getRuleResponse ----- , testDeleteXSSMatchSetResponse $+-- , responseDeleteXSSMatchSet $ -- deleteXSSMatchSetResponse ----- , testUpdateXSSMatchSetResponse $+-- , responseUpdateXSSMatchSet $ -- updateXSSMatchSetResponse ----- , testListXSSMatchSetsResponse $+-- , responseListXSSMatchSets $ -- listXSSMatchSetsResponse ----- , testGetChangeTokenResponse $+-- , responseGetChangeToken $ -- getChangeTokenResponse ----- , testListSizeConstraintSetsResponse $+-- , responseListSizeConstraintSets $ -- listSizeConstraintSetsResponse ----- , testGetSampledRequestsResponse $+-- , responseGetSampledRequests $ -- getSampledRequestsResponse ----- , testGetSqlInjectionMatchSetResponse $+-- , responseGetSqlInjectionMatchSet $ -- getSqlInjectionMatchSetResponse ----- , testCreateSqlInjectionMatchSetResponse $+-- , responseCreateSqlInjectionMatchSet $ -- createSqlInjectionMatchSetResponse ----- , testGetXSSMatchSetResponse $+-- , responseGetXSSMatchSet $ -- getXSSMatchSetResponse ----- , testCreateByteMatchSetResponse $+-- , responseCreateByteMatchSet $ -- createByteMatchSetResponse ----- , testUpdateByteMatchSetResponse $+-- , responseUpdateByteMatchSet $ -- updateByteMatchSetResponse ----- , testDeleteByteMatchSetResponse $+-- , responseDeleteByteMatchSet $ -- deleteByteMatchSetResponse ----- , testDeleteIPSetResponse $+-- , responseDeleteIPSet $ -- deleteIPSetResponse ----- , testUpdateIPSetResponse $+-- , responseUpdateIPSet $ -- updateIPSetResponse ----- , testListIPSetsResponse $+-- , responseListIPSets $ -- listIPSetsResponse ----- , testCreateXSSMatchSetResponse $+-- , responseCreateXSSMatchSet $ -- createXSSMatchSetResponse ----- , testGetByteMatchSetResponse $+-- , responseGetByteMatchSet $ -- getByteMatchSetResponse ----- , testDeleteSizeConstraintSetResponse $+-- , responseDeleteSizeConstraintSet $ -- deleteSizeConstraintSetResponse ----- , testUpdateSizeConstraintSetResponse $+-- , responseUpdateSizeConstraintSet $ -- updateSizeConstraintSetResponse ----- , testCreateSizeConstraintSetResponse $+-- , responseCreateSizeConstraintSet $ -- createSizeConstraintSetResponse ----- , testListSqlInjectionMatchSetsResponse $+-- , responseListSqlInjectionMatchSets $ -- listSqlInjectionMatchSetsResponse ----- , testDeleteSqlInjectionMatchSetResponse $+-- , responseDeleteSqlInjectionMatchSet $ -- deleteSqlInjectionMatchSetResponse ----- , testUpdateSqlInjectionMatchSetResponse $+-- , responseUpdateSqlInjectionMatchSet $ -- updateSqlInjectionMatchSetResponse -- -- ]@@ -264,459 +264,459 @@ -- Requests -testGetSizeConstraintSet :: GetSizeConstraintSet -> TestTree-testGetSizeConstraintSet = req+requestGetSizeConstraintSet :: GetSizeConstraintSet -> TestTree+requestGetSizeConstraintSet = req "GetSizeConstraintSet" "fixture/GetSizeConstraintSet.yaml" -testUpdateRule :: UpdateRule -> TestTree-testUpdateRule = req+requestUpdateRule :: UpdateRule -> TestTree+requestUpdateRule = req "UpdateRule" "fixture/UpdateRule.yaml" -testDeleteRule :: DeleteRule -> TestTree-testDeleteRule = req+requestDeleteRule :: DeleteRule -> TestTree+requestDeleteRule = req "DeleteRule" "fixture/DeleteRule.yaml" -testCreateIPSet :: CreateIPSet -> TestTree-testCreateIPSet = req+requestCreateIPSet :: CreateIPSet -> TestTree+requestCreateIPSet = req "CreateIPSet" "fixture/CreateIPSet.yaml" -testGetChangeTokenStatus :: GetChangeTokenStatus -> TestTree-testGetChangeTokenStatus = req+requestGetChangeTokenStatus :: GetChangeTokenStatus -> TestTree+requestGetChangeTokenStatus = req "GetChangeTokenStatus" "fixture/GetChangeTokenStatus.yaml" -testDeleteWebACL :: DeleteWebACL -> TestTree-testDeleteWebACL = req+requestDeleteWebACL :: DeleteWebACL -> TestTree+requestDeleteWebACL = req "DeleteWebACL" "fixture/DeleteWebACL.yaml" -testUpdateWebACL :: UpdateWebACL -> TestTree-testUpdateWebACL = req+requestUpdateWebACL :: UpdateWebACL -> TestTree+requestUpdateWebACL = req "UpdateWebACL" "fixture/UpdateWebACL.yaml" -testListWebACLs :: ListWebACLs -> TestTree-testListWebACLs = req+requestListWebACLs :: ListWebACLs -> TestTree+requestListWebACLs = req "ListWebACLs" "fixture/ListWebACLs.yaml" -testListRules :: ListRules -> TestTree-testListRules = req+requestListRules :: ListRules -> TestTree+requestListRules = req "ListRules" "fixture/ListRules.yaml" -testCreateRule :: CreateRule -> TestTree-testCreateRule = req+requestCreateRule :: CreateRule -> TestTree+requestCreateRule = req "CreateRule" "fixture/CreateRule.yaml" -testCreateWebACL :: CreateWebACL -> TestTree-testCreateWebACL = req+requestCreateWebACL :: CreateWebACL -> TestTree+requestCreateWebACL = req "CreateWebACL" "fixture/CreateWebACL.yaml" -testListByteMatchSets :: ListByteMatchSets -> TestTree-testListByteMatchSets = req+requestListByteMatchSets :: ListByteMatchSets -> TestTree+requestListByteMatchSets = req "ListByteMatchSets" "fixture/ListByteMatchSets.yaml" -testGetIPSet :: GetIPSet -> TestTree-testGetIPSet = req+requestGetIPSet :: GetIPSet -> TestTree+requestGetIPSet = req "GetIPSet" "fixture/GetIPSet.yaml" -testGetWebACL :: GetWebACL -> TestTree-testGetWebACL = req+requestGetWebACL :: GetWebACL -> TestTree+requestGetWebACL = req "GetWebACL" "fixture/GetWebACL.yaml" -testGetRule :: GetRule -> TestTree-testGetRule = req+requestGetRule :: GetRule -> TestTree+requestGetRule = req "GetRule" "fixture/GetRule.yaml" -testDeleteXSSMatchSet :: DeleteXSSMatchSet -> TestTree-testDeleteXSSMatchSet = req+requestDeleteXSSMatchSet :: DeleteXSSMatchSet -> TestTree+requestDeleteXSSMatchSet = req "DeleteXSSMatchSet" "fixture/DeleteXSSMatchSet.yaml" -testUpdateXSSMatchSet :: UpdateXSSMatchSet -> TestTree-testUpdateXSSMatchSet = req+requestUpdateXSSMatchSet :: UpdateXSSMatchSet -> TestTree+requestUpdateXSSMatchSet = req "UpdateXSSMatchSet" "fixture/UpdateXSSMatchSet.yaml" -testListXSSMatchSets :: ListXSSMatchSets -> TestTree-testListXSSMatchSets = req+requestListXSSMatchSets :: ListXSSMatchSets -> TestTree+requestListXSSMatchSets = req "ListXSSMatchSets" "fixture/ListXSSMatchSets.yaml" -testGetChangeToken :: GetChangeToken -> TestTree-testGetChangeToken = req+requestGetChangeToken :: GetChangeToken -> TestTree+requestGetChangeToken = req "GetChangeToken" "fixture/GetChangeToken.yaml" -testListSizeConstraintSets :: ListSizeConstraintSets -> TestTree-testListSizeConstraintSets = req+requestListSizeConstraintSets :: ListSizeConstraintSets -> TestTree+requestListSizeConstraintSets = req "ListSizeConstraintSets" "fixture/ListSizeConstraintSets.yaml" -testGetSampledRequests :: GetSampledRequests -> TestTree-testGetSampledRequests = req+requestGetSampledRequests :: GetSampledRequests -> TestTree+requestGetSampledRequests = req "GetSampledRequests" "fixture/GetSampledRequests.yaml" -testGetSqlInjectionMatchSet :: GetSqlInjectionMatchSet -> TestTree-testGetSqlInjectionMatchSet = req+requestGetSqlInjectionMatchSet :: GetSqlInjectionMatchSet -> TestTree+requestGetSqlInjectionMatchSet = req "GetSqlInjectionMatchSet" "fixture/GetSqlInjectionMatchSet.yaml" -testCreateSqlInjectionMatchSet :: CreateSqlInjectionMatchSet -> TestTree-testCreateSqlInjectionMatchSet = req+requestCreateSqlInjectionMatchSet :: CreateSqlInjectionMatchSet -> TestTree+requestCreateSqlInjectionMatchSet = req "CreateSqlInjectionMatchSet" "fixture/CreateSqlInjectionMatchSet.yaml" -testGetXSSMatchSet :: GetXSSMatchSet -> TestTree-testGetXSSMatchSet = req+requestGetXSSMatchSet :: GetXSSMatchSet -> TestTree+requestGetXSSMatchSet = req "GetXSSMatchSet" "fixture/GetXSSMatchSet.yaml" -testCreateByteMatchSet :: CreateByteMatchSet -> TestTree-testCreateByteMatchSet = req+requestCreateByteMatchSet :: CreateByteMatchSet -> TestTree+requestCreateByteMatchSet = req "CreateByteMatchSet" "fixture/CreateByteMatchSet.yaml" -testUpdateByteMatchSet :: UpdateByteMatchSet -> TestTree-testUpdateByteMatchSet = req+requestUpdateByteMatchSet :: UpdateByteMatchSet -> TestTree+requestUpdateByteMatchSet = req "UpdateByteMatchSet" "fixture/UpdateByteMatchSet.yaml" -testDeleteByteMatchSet :: DeleteByteMatchSet -> TestTree-testDeleteByteMatchSet = req+requestDeleteByteMatchSet :: DeleteByteMatchSet -> TestTree+requestDeleteByteMatchSet = req "DeleteByteMatchSet" "fixture/DeleteByteMatchSet.yaml" -testDeleteIPSet :: DeleteIPSet -> TestTree-testDeleteIPSet = req+requestDeleteIPSet :: DeleteIPSet -> TestTree+requestDeleteIPSet = req "DeleteIPSet" "fixture/DeleteIPSet.yaml" -testUpdateIPSet :: UpdateIPSet -> TestTree-testUpdateIPSet = req+requestUpdateIPSet :: UpdateIPSet -> TestTree+requestUpdateIPSet = req "UpdateIPSet" "fixture/UpdateIPSet.yaml" -testListIPSets :: ListIPSets -> TestTree-testListIPSets = req+requestListIPSets :: ListIPSets -> TestTree+requestListIPSets = req "ListIPSets" "fixture/ListIPSets.yaml" -testCreateXSSMatchSet :: CreateXSSMatchSet -> TestTree-testCreateXSSMatchSet = req+requestCreateXSSMatchSet :: CreateXSSMatchSet -> TestTree+requestCreateXSSMatchSet = req "CreateXSSMatchSet" "fixture/CreateXSSMatchSet.yaml" -testGetByteMatchSet :: GetByteMatchSet -> TestTree-testGetByteMatchSet = req+requestGetByteMatchSet :: GetByteMatchSet -> TestTree+requestGetByteMatchSet = req "GetByteMatchSet" "fixture/GetByteMatchSet.yaml" -testDeleteSizeConstraintSet :: DeleteSizeConstraintSet -> TestTree-testDeleteSizeConstraintSet = req+requestDeleteSizeConstraintSet :: DeleteSizeConstraintSet -> TestTree+requestDeleteSizeConstraintSet = req "DeleteSizeConstraintSet" "fixture/DeleteSizeConstraintSet.yaml" -testUpdateSizeConstraintSet :: UpdateSizeConstraintSet -> TestTree-testUpdateSizeConstraintSet = req+requestUpdateSizeConstraintSet :: UpdateSizeConstraintSet -> TestTree+requestUpdateSizeConstraintSet = req "UpdateSizeConstraintSet" "fixture/UpdateSizeConstraintSet.yaml" -testCreateSizeConstraintSet :: CreateSizeConstraintSet -> TestTree-testCreateSizeConstraintSet = req+requestCreateSizeConstraintSet :: CreateSizeConstraintSet -> TestTree+requestCreateSizeConstraintSet = req "CreateSizeConstraintSet" "fixture/CreateSizeConstraintSet.yaml" -testListSqlInjectionMatchSets :: ListSqlInjectionMatchSets -> TestTree-testListSqlInjectionMatchSets = req+requestListSqlInjectionMatchSets :: ListSqlInjectionMatchSets -> TestTree+requestListSqlInjectionMatchSets = req "ListSqlInjectionMatchSets" "fixture/ListSqlInjectionMatchSets.yaml" -testDeleteSqlInjectionMatchSet :: DeleteSqlInjectionMatchSet -> TestTree-testDeleteSqlInjectionMatchSet = req+requestDeleteSqlInjectionMatchSet :: DeleteSqlInjectionMatchSet -> TestTree+requestDeleteSqlInjectionMatchSet = req "DeleteSqlInjectionMatchSet" "fixture/DeleteSqlInjectionMatchSet.yaml" -testUpdateSqlInjectionMatchSet :: UpdateSqlInjectionMatchSet -> TestTree-testUpdateSqlInjectionMatchSet = req+requestUpdateSqlInjectionMatchSet :: UpdateSqlInjectionMatchSet -> TestTree+requestUpdateSqlInjectionMatchSet = req "UpdateSqlInjectionMatchSet" "fixture/UpdateSqlInjectionMatchSet.yaml" -- Responses -testGetSizeConstraintSetResponse :: GetSizeConstraintSetResponse -> TestTree-testGetSizeConstraintSetResponse = res+responseGetSizeConstraintSet :: GetSizeConstraintSetResponse -> TestTree+responseGetSizeConstraintSet = res "GetSizeConstraintSetResponse" "fixture/GetSizeConstraintSetResponse.proto" waf (Proxy :: Proxy GetSizeConstraintSet) -testUpdateRuleResponse :: UpdateRuleResponse -> TestTree-testUpdateRuleResponse = res+responseUpdateRule :: UpdateRuleResponse -> TestTree+responseUpdateRule = res "UpdateRuleResponse" "fixture/UpdateRuleResponse.proto" waf (Proxy :: Proxy UpdateRule) -testDeleteRuleResponse :: DeleteRuleResponse -> TestTree-testDeleteRuleResponse = res+responseDeleteRule :: DeleteRuleResponse -> TestTree+responseDeleteRule = res "DeleteRuleResponse" "fixture/DeleteRuleResponse.proto" waf (Proxy :: Proxy DeleteRule) -testCreateIPSetResponse :: CreateIPSetResponse -> TestTree-testCreateIPSetResponse = res+responseCreateIPSet :: CreateIPSetResponse -> TestTree+responseCreateIPSet = res "CreateIPSetResponse" "fixture/CreateIPSetResponse.proto" waf (Proxy :: Proxy CreateIPSet) -testGetChangeTokenStatusResponse :: GetChangeTokenStatusResponse -> TestTree-testGetChangeTokenStatusResponse = res+responseGetChangeTokenStatus :: GetChangeTokenStatusResponse -> TestTree+responseGetChangeTokenStatus = res "GetChangeTokenStatusResponse" "fixture/GetChangeTokenStatusResponse.proto" waf (Proxy :: Proxy GetChangeTokenStatus) -testDeleteWebACLResponse :: DeleteWebACLResponse -> TestTree-testDeleteWebACLResponse = res+responseDeleteWebACL :: DeleteWebACLResponse -> TestTree+responseDeleteWebACL = res "DeleteWebACLResponse" "fixture/DeleteWebACLResponse.proto" waf (Proxy :: Proxy DeleteWebACL) -testUpdateWebACLResponse :: UpdateWebACLResponse -> TestTree-testUpdateWebACLResponse = res+responseUpdateWebACL :: UpdateWebACLResponse -> TestTree+responseUpdateWebACL = res "UpdateWebACLResponse" "fixture/UpdateWebACLResponse.proto" waf (Proxy :: Proxy UpdateWebACL) -testListWebACLsResponse :: ListWebACLsResponse -> TestTree-testListWebACLsResponse = res+responseListWebACLs :: ListWebACLsResponse -> TestTree+responseListWebACLs = res "ListWebACLsResponse" "fixture/ListWebACLsResponse.proto" waf (Proxy :: Proxy ListWebACLs) -testListRulesResponse :: ListRulesResponse -> TestTree-testListRulesResponse = res+responseListRules :: ListRulesResponse -> TestTree+responseListRules = res "ListRulesResponse" "fixture/ListRulesResponse.proto" waf (Proxy :: Proxy ListRules) -testCreateRuleResponse :: CreateRuleResponse -> TestTree-testCreateRuleResponse = res+responseCreateRule :: CreateRuleResponse -> TestTree+responseCreateRule = res "CreateRuleResponse" "fixture/CreateRuleResponse.proto" waf (Proxy :: Proxy CreateRule) -testCreateWebACLResponse :: CreateWebACLResponse -> TestTree-testCreateWebACLResponse = res+responseCreateWebACL :: CreateWebACLResponse -> TestTree+responseCreateWebACL = res "CreateWebACLResponse" "fixture/CreateWebACLResponse.proto" waf (Proxy :: Proxy CreateWebACL) -testListByteMatchSetsResponse :: ListByteMatchSetsResponse -> TestTree-testListByteMatchSetsResponse = res+responseListByteMatchSets :: ListByteMatchSetsResponse -> TestTree+responseListByteMatchSets = res "ListByteMatchSetsResponse" "fixture/ListByteMatchSetsResponse.proto" waf (Proxy :: Proxy ListByteMatchSets) -testGetIPSetResponse :: GetIPSetResponse -> TestTree-testGetIPSetResponse = res+responseGetIPSet :: GetIPSetResponse -> TestTree+responseGetIPSet = res "GetIPSetResponse" "fixture/GetIPSetResponse.proto" waf (Proxy :: Proxy GetIPSet) -testGetWebACLResponse :: GetWebACLResponse -> TestTree-testGetWebACLResponse = res+responseGetWebACL :: GetWebACLResponse -> TestTree+responseGetWebACL = res "GetWebACLResponse" "fixture/GetWebACLResponse.proto" waf (Proxy :: Proxy GetWebACL) -testGetRuleResponse :: GetRuleResponse -> TestTree-testGetRuleResponse = res+responseGetRule :: GetRuleResponse -> TestTree+responseGetRule = res "GetRuleResponse" "fixture/GetRuleResponse.proto" waf (Proxy :: Proxy GetRule) -testDeleteXSSMatchSetResponse :: DeleteXSSMatchSetResponse -> TestTree-testDeleteXSSMatchSetResponse = res+responseDeleteXSSMatchSet :: DeleteXSSMatchSetResponse -> TestTree+responseDeleteXSSMatchSet = res "DeleteXSSMatchSetResponse" "fixture/DeleteXSSMatchSetResponse.proto" waf (Proxy :: Proxy DeleteXSSMatchSet) -testUpdateXSSMatchSetResponse :: UpdateXSSMatchSetResponse -> TestTree-testUpdateXSSMatchSetResponse = res+responseUpdateXSSMatchSet :: UpdateXSSMatchSetResponse -> TestTree+responseUpdateXSSMatchSet = res "UpdateXSSMatchSetResponse" "fixture/UpdateXSSMatchSetResponse.proto" waf (Proxy :: Proxy UpdateXSSMatchSet) -testListXSSMatchSetsResponse :: ListXSSMatchSetsResponse -> TestTree-testListXSSMatchSetsResponse = res+responseListXSSMatchSets :: ListXSSMatchSetsResponse -> TestTree+responseListXSSMatchSets = res "ListXSSMatchSetsResponse" "fixture/ListXSSMatchSetsResponse.proto" waf (Proxy :: Proxy ListXSSMatchSets) -testGetChangeTokenResponse :: GetChangeTokenResponse -> TestTree-testGetChangeTokenResponse = res+responseGetChangeToken :: GetChangeTokenResponse -> TestTree+responseGetChangeToken = res "GetChangeTokenResponse" "fixture/GetChangeTokenResponse.proto" waf (Proxy :: Proxy GetChangeToken) -testListSizeConstraintSetsResponse :: ListSizeConstraintSetsResponse -> TestTree-testListSizeConstraintSetsResponse = res+responseListSizeConstraintSets :: ListSizeConstraintSetsResponse -> TestTree+responseListSizeConstraintSets = res "ListSizeConstraintSetsResponse" "fixture/ListSizeConstraintSetsResponse.proto" waf (Proxy :: Proxy ListSizeConstraintSets) -testGetSampledRequestsResponse :: GetSampledRequestsResponse -> TestTree-testGetSampledRequestsResponse = res+responseGetSampledRequests :: GetSampledRequestsResponse -> TestTree+responseGetSampledRequests = res "GetSampledRequestsResponse" "fixture/GetSampledRequestsResponse.proto" waf (Proxy :: Proxy GetSampledRequests) -testGetSqlInjectionMatchSetResponse :: GetSqlInjectionMatchSetResponse -> TestTree-testGetSqlInjectionMatchSetResponse = res+responseGetSqlInjectionMatchSet :: GetSqlInjectionMatchSetResponse -> TestTree+responseGetSqlInjectionMatchSet = res "GetSqlInjectionMatchSetResponse" "fixture/GetSqlInjectionMatchSetResponse.proto" waf (Proxy :: Proxy GetSqlInjectionMatchSet) -testCreateSqlInjectionMatchSetResponse :: CreateSqlInjectionMatchSetResponse -> TestTree-testCreateSqlInjectionMatchSetResponse = res+responseCreateSqlInjectionMatchSet :: CreateSqlInjectionMatchSetResponse -> TestTree+responseCreateSqlInjectionMatchSet = res "CreateSqlInjectionMatchSetResponse" "fixture/CreateSqlInjectionMatchSetResponse.proto" waf (Proxy :: Proxy CreateSqlInjectionMatchSet) -testGetXSSMatchSetResponse :: GetXSSMatchSetResponse -> TestTree-testGetXSSMatchSetResponse = res+responseGetXSSMatchSet :: GetXSSMatchSetResponse -> TestTree+responseGetXSSMatchSet = res "GetXSSMatchSetResponse" "fixture/GetXSSMatchSetResponse.proto" waf (Proxy :: Proxy GetXSSMatchSet) -testCreateByteMatchSetResponse :: CreateByteMatchSetResponse -> TestTree-testCreateByteMatchSetResponse = res+responseCreateByteMatchSet :: CreateByteMatchSetResponse -> TestTree+responseCreateByteMatchSet = res "CreateByteMatchSetResponse" "fixture/CreateByteMatchSetResponse.proto" waf (Proxy :: Proxy CreateByteMatchSet) -testUpdateByteMatchSetResponse :: UpdateByteMatchSetResponse -> TestTree-testUpdateByteMatchSetResponse = res+responseUpdateByteMatchSet :: UpdateByteMatchSetResponse -> TestTree+responseUpdateByteMatchSet = res "UpdateByteMatchSetResponse" "fixture/UpdateByteMatchSetResponse.proto" waf (Proxy :: Proxy UpdateByteMatchSet) -testDeleteByteMatchSetResponse :: DeleteByteMatchSetResponse -> TestTree-testDeleteByteMatchSetResponse = res+responseDeleteByteMatchSet :: DeleteByteMatchSetResponse -> TestTree+responseDeleteByteMatchSet = res "DeleteByteMatchSetResponse" "fixture/DeleteByteMatchSetResponse.proto" waf (Proxy :: Proxy DeleteByteMatchSet) -testDeleteIPSetResponse :: DeleteIPSetResponse -> TestTree-testDeleteIPSetResponse = res+responseDeleteIPSet :: DeleteIPSetResponse -> TestTree+responseDeleteIPSet = res "DeleteIPSetResponse" "fixture/DeleteIPSetResponse.proto" waf (Proxy :: Proxy DeleteIPSet) -testUpdateIPSetResponse :: UpdateIPSetResponse -> TestTree-testUpdateIPSetResponse = res+responseUpdateIPSet :: UpdateIPSetResponse -> TestTree+responseUpdateIPSet = res "UpdateIPSetResponse" "fixture/UpdateIPSetResponse.proto" waf (Proxy :: Proxy UpdateIPSet) -testListIPSetsResponse :: ListIPSetsResponse -> TestTree-testListIPSetsResponse = res+responseListIPSets :: ListIPSetsResponse -> TestTree+responseListIPSets = res "ListIPSetsResponse" "fixture/ListIPSetsResponse.proto" waf (Proxy :: Proxy ListIPSets) -testCreateXSSMatchSetResponse :: CreateXSSMatchSetResponse -> TestTree-testCreateXSSMatchSetResponse = res+responseCreateXSSMatchSet :: CreateXSSMatchSetResponse -> TestTree+responseCreateXSSMatchSet = res "CreateXSSMatchSetResponse" "fixture/CreateXSSMatchSetResponse.proto" waf (Proxy :: Proxy CreateXSSMatchSet) -testGetByteMatchSetResponse :: GetByteMatchSetResponse -> TestTree-testGetByteMatchSetResponse = res+responseGetByteMatchSet :: GetByteMatchSetResponse -> TestTree+responseGetByteMatchSet = res "GetByteMatchSetResponse" "fixture/GetByteMatchSetResponse.proto" waf (Proxy :: Proxy GetByteMatchSet) -testDeleteSizeConstraintSetResponse :: DeleteSizeConstraintSetResponse -> TestTree-testDeleteSizeConstraintSetResponse = res+responseDeleteSizeConstraintSet :: DeleteSizeConstraintSetResponse -> TestTree+responseDeleteSizeConstraintSet = res "DeleteSizeConstraintSetResponse" "fixture/DeleteSizeConstraintSetResponse.proto" waf (Proxy :: Proxy DeleteSizeConstraintSet) -testUpdateSizeConstraintSetResponse :: UpdateSizeConstraintSetResponse -> TestTree-testUpdateSizeConstraintSetResponse = res+responseUpdateSizeConstraintSet :: UpdateSizeConstraintSetResponse -> TestTree+responseUpdateSizeConstraintSet = res "UpdateSizeConstraintSetResponse" "fixture/UpdateSizeConstraintSetResponse.proto" waf (Proxy :: Proxy UpdateSizeConstraintSet) -testCreateSizeConstraintSetResponse :: CreateSizeConstraintSetResponse -> TestTree-testCreateSizeConstraintSetResponse = res+responseCreateSizeConstraintSet :: CreateSizeConstraintSetResponse -> TestTree+responseCreateSizeConstraintSet = res "CreateSizeConstraintSetResponse" "fixture/CreateSizeConstraintSetResponse.proto" waf (Proxy :: Proxy CreateSizeConstraintSet) -testListSqlInjectionMatchSetsResponse :: ListSqlInjectionMatchSetsResponse -> TestTree-testListSqlInjectionMatchSetsResponse = res+responseListSqlInjectionMatchSets :: ListSqlInjectionMatchSetsResponse -> TestTree+responseListSqlInjectionMatchSets = res "ListSqlInjectionMatchSetsResponse" "fixture/ListSqlInjectionMatchSetsResponse.proto" waf (Proxy :: Proxy ListSqlInjectionMatchSets) -testDeleteSqlInjectionMatchSetResponse :: DeleteSqlInjectionMatchSetResponse -> TestTree-testDeleteSqlInjectionMatchSetResponse = res+responseDeleteSqlInjectionMatchSet :: DeleteSqlInjectionMatchSetResponse -> TestTree+responseDeleteSqlInjectionMatchSet = res "DeleteSqlInjectionMatchSetResponse" "fixture/DeleteSqlInjectionMatchSetResponse.proto" waf (Proxy :: Proxy DeleteSqlInjectionMatchSet) -testUpdateSqlInjectionMatchSetResponse :: UpdateSqlInjectionMatchSetResponse -> TestTree-testUpdateSqlInjectionMatchSetResponse = res+responseUpdateSqlInjectionMatchSet :: UpdateSqlInjectionMatchSetResponse -> TestTree+responseUpdateSqlInjectionMatchSet = res "UpdateSqlInjectionMatchSetResponse" "fixture/UpdateSqlInjectionMatchSetResponse.proto" waf