{-# OPTIONS_GHC -fno-warn-unused-imports #-} {-# OPTIONS_GHC -fno-warn-orphans #-} -- Derived from AWS service descriptions, licensed under Apache 2.0. -- | -- Module : Test.AWS.Gen.WAF -- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay -- Stability : auto-generated -- Portability : non-portable (GHC extensions) -- module Test.AWS.Gen.WAF where import Data.Proxy import Test.AWS.Fixture import Test.AWS.Prelude import Test.Tasty import Network.AWS.WAF import Test.AWS.WAF.Internal -- Auto-generated: the actual test selection needs to be manually placed into -- the top-level so that real test data can be incrementally added. -- -- This commented snippet is what the entire set should look like: -- fixtures :: TestTree -- fixtures = -- [ testGroup "request" -- [ testGetSizeConstraintSet $ -- getSizeConstraintSet -- -- , testUpdateRule $ -- updateRule -- -- , testDeleteRule $ -- deleteRule -- -- , testCreateIPSet $ -- createIPSet -- -- , testGetChangeTokenStatus $ -- getChangeTokenStatus -- -- , testDeleteWebACL $ -- deleteWebACL -- -- , testUpdateWebACL $ -- updateWebACL -- -- , testListWebACLs $ -- listWebACLs -- -- , testListRules $ -- listRules -- -- , testCreateRule $ -- createRule -- -- , testCreateWebACL $ -- createWebACL -- -- , testListByteMatchSets $ -- listByteMatchSets -- -- , testGetIPSet $ -- getIPSet -- -- , testGetWebACL $ -- getWebACL -- -- , testGetRule $ -- getRule -- -- , testDeleteXSSMatchSet $ -- deleteXSSMatchSet -- -- , testUpdateXSSMatchSet $ -- updateXSSMatchSet -- -- , testListXSSMatchSets $ -- listXSSMatchSets -- -- , testGetChangeToken $ -- getChangeToken -- -- , testListSizeConstraintSets $ -- listSizeConstraintSets -- -- , testGetSampledRequests $ -- getSampledRequests -- -- , testGetSqlInjectionMatchSet $ -- getSqlInjectionMatchSet -- -- , testCreateSqlInjectionMatchSet $ -- createSqlInjectionMatchSet -- -- , testGetXSSMatchSet $ -- getXSSMatchSet -- -- , testCreateByteMatchSet $ -- createByteMatchSet -- -- , testUpdateByteMatchSet $ -- updateByteMatchSet -- -- , testDeleteByteMatchSet $ -- deleteByteMatchSet -- -- , testDeleteIPSet $ -- deleteIPSet -- -- , testUpdateIPSet $ -- updateIPSet -- -- , testListIPSets $ -- listIPSets -- -- , testCreateXSSMatchSet $ -- createXSSMatchSet -- -- , testGetByteMatchSet $ -- getByteMatchSet -- -- , testDeleteSizeConstraintSet $ -- deleteSizeConstraintSet -- -- , testUpdateSizeConstraintSet $ -- updateSizeConstraintSet -- -- , testCreateSizeConstraintSet $ -- createSizeConstraintSet -- -- , testListSqlInjectionMatchSets $ -- listSqlInjectionMatchSets -- -- , testDeleteSqlInjectionMatchSet $ -- deleteSqlInjectionMatchSet -- -- , testUpdateSqlInjectionMatchSet $ -- updateSqlInjectionMatchSet -- -- ] -- , testGroup "response" -- [ testGetSizeConstraintSetResponse $ -- getSizeConstraintSetResponse -- -- , testUpdateRuleResponse $ -- updateRuleResponse -- -- , testDeleteRuleResponse $ -- deleteRuleResponse -- -- , testCreateIPSetResponse $ -- createIPSetResponse -- -- , testGetChangeTokenStatusResponse $ -- getChangeTokenStatusResponse -- -- , testDeleteWebACLResponse $ -- deleteWebACLResponse -- -- , testUpdateWebACLResponse $ -- updateWebACLResponse -- -- , testListWebACLsResponse $ -- listWebACLsResponse -- -- , testListRulesResponse $ -- listRulesResponse -- -- , testCreateRuleResponse $ -- createRuleResponse -- -- , testCreateWebACLResponse $ -- createWebACLResponse -- -- , testListByteMatchSetsResponse $ -- listByteMatchSetsResponse -- -- , testGetIPSetResponse $ -- getIPSetResponse -- -- , testGetWebACLResponse $ -- getWebACLResponse -- -- , testGetRuleResponse $ -- getRuleResponse -- -- , testDeleteXSSMatchSetResponse $ -- deleteXSSMatchSetResponse -- -- , testUpdateXSSMatchSetResponse $ -- updateXSSMatchSetResponse -- -- , testListXSSMatchSetsResponse $ -- listXSSMatchSetsResponse -- -- , testGetChangeTokenResponse $ -- getChangeTokenResponse -- -- , testListSizeConstraintSetsResponse $ -- listSizeConstraintSetsResponse -- -- , testGetSampledRequestsResponse $ -- getSampledRequestsResponse -- -- , testGetSqlInjectionMatchSetResponse $ -- getSqlInjectionMatchSetResponse -- -- , testCreateSqlInjectionMatchSetResponse $ -- createSqlInjectionMatchSetResponse -- -- , testGetXSSMatchSetResponse $ -- getXSSMatchSetResponse -- -- , testCreateByteMatchSetResponse $ -- createByteMatchSetResponse -- -- , testUpdateByteMatchSetResponse $ -- updateByteMatchSetResponse -- -- , testDeleteByteMatchSetResponse $ -- deleteByteMatchSetResponse -- -- , testDeleteIPSetResponse $ -- deleteIPSetResponse -- -- , testUpdateIPSetResponse $ -- updateIPSetResponse -- -- , testListIPSetsResponse $ -- listIPSetsResponse -- -- , testCreateXSSMatchSetResponse $ -- createXSSMatchSetResponse -- -- , testGetByteMatchSetResponse $ -- getByteMatchSetResponse -- -- , testDeleteSizeConstraintSetResponse $ -- deleteSizeConstraintSetResponse -- -- , testUpdateSizeConstraintSetResponse $ -- updateSizeConstraintSetResponse -- -- , testCreateSizeConstraintSetResponse $ -- createSizeConstraintSetResponse -- -- , testListSqlInjectionMatchSetsResponse $ -- listSqlInjectionMatchSetsResponse -- -- , testDeleteSqlInjectionMatchSetResponse $ -- deleteSqlInjectionMatchSetResponse -- -- , testUpdateSqlInjectionMatchSetResponse $ -- updateSqlInjectionMatchSetResponse -- -- ] -- ] -- Requests testGetSizeConstraintSet :: GetSizeConstraintSet -> TestTree testGetSizeConstraintSet = req "GetSizeConstraintSet" "fixture/GetSizeConstraintSet.yaml" testUpdateRule :: UpdateRule -> TestTree testUpdateRule = req "UpdateRule" "fixture/UpdateRule.yaml" testDeleteRule :: DeleteRule -> TestTree testDeleteRule = req "DeleteRule" "fixture/DeleteRule.yaml" testCreateIPSet :: CreateIPSet -> TestTree testCreateIPSet = req "CreateIPSet" "fixture/CreateIPSet.yaml" testGetChangeTokenStatus :: GetChangeTokenStatus -> TestTree testGetChangeTokenStatus = req "GetChangeTokenStatus" "fixture/GetChangeTokenStatus.yaml" testDeleteWebACL :: DeleteWebACL -> TestTree testDeleteWebACL = req "DeleteWebACL" "fixture/DeleteWebACL.yaml" testUpdateWebACL :: UpdateWebACL -> TestTree testUpdateWebACL = req "UpdateWebACL" "fixture/UpdateWebACL.yaml" testListWebACLs :: ListWebACLs -> TestTree testListWebACLs = req "ListWebACLs" "fixture/ListWebACLs.yaml" testListRules :: ListRules -> TestTree testListRules = req "ListRules" "fixture/ListRules.yaml" testCreateRule :: CreateRule -> TestTree testCreateRule = req "CreateRule" "fixture/CreateRule.yaml" testCreateWebACL :: CreateWebACL -> TestTree testCreateWebACL = req "CreateWebACL" "fixture/CreateWebACL.yaml" testListByteMatchSets :: ListByteMatchSets -> TestTree testListByteMatchSets = req "ListByteMatchSets" "fixture/ListByteMatchSets.yaml" testGetIPSet :: GetIPSet -> TestTree testGetIPSet = req "GetIPSet" "fixture/GetIPSet.yaml" testGetWebACL :: GetWebACL -> TestTree testGetWebACL = req "GetWebACL" "fixture/GetWebACL.yaml" testGetRule :: GetRule -> TestTree testGetRule = req "GetRule" "fixture/GetRule.yaml" testDeleteXSSMatchSet :: DeleteXSSMatchSet -> TestTree testDeleteXSSMatchSet = req "DeleteXSSMatchSet" "fixture/DeleteXSSMatchSet.yaml" testUpdateXSSMatchSet :: UpdateXSSMatchSet -> TestTree testUpdateXSSMatchSet = req "UpdateXSSMatchSet" "fixture/UpdateXSSMatchSet.yaml" testListXSSMatchSets :: ListXSSMatchSets -> TestTree testListXSSMatchSets = req "ListXSSMatchSets" "fixture/ListXSSMatchSets.yaml" testGetChangeToken :: GetChangeToken -> TestTree testGetChangeToken = req "GetChangeToken" "fixture/GetChangeToken.yaml" testListSizeConstraintSets :: ListSizeConstraintSets -> TestTree testListSizeConstraintSets = req "ListSizeConstraintSets" "fixture/ListSizeConstraintSets.yaml" testGetSampledRequests :: GetSampledRequests -> TestTree testGetSampledRequests = req "GetSampledRequests" "fixture/GetSampledRequests.yaml" testGetSqlInjectionMatchSet :: GetSqlInjectionMatchSet -> TestTree testGetSqlInjectionMatchSet = req "GetSqlInjectionMatchSet" "fixture/GetSqlInjectionMatchSet.yaml" testCreateSqlInjectionMatchSet :: CreateSqlInjectionMatchSet -> TestTree testCreateSqlInjectionMatchSet = req "CreateSqlInjectionMatchSet" "fixture/CreateSqlInjectionMatchSet.yaml" testGetXSSMatchSet :: GetXSSMatchSet -> TestTree testGetXSSMatchSet = req "GetXSSMatchSet" "fixture/GetXSSMatchSet.yaml" testCreateByteMatchSet :: CreateByteMatchSet -> TestTree testCreateByteMatchSet = req "CreateByteMatchSet" "fixture/CreateByteMatchSet.yaml" testUpdateByteMatchSet :: UpdateByteMatchSet -> TestTree testUpdateByteMatchSet = req "UpdateByteMatchSet" "fixture/UpdateByteMatchSet.yaml" testDeleteByteMatchSet :: DeleteByteMatchSet -> TestTree testDeleteByteMatchSet = req "DeleteByteMatchSet" "fixture/DeleteByteMatchSet.yaml" testDeleteIPSet :: DeleteIPSet -> TestTree testDeleteIPSet = req "DeleteIPSet" "fixture/DeleteIPSet.yaml" testUpdateIPSet :: UpdateIPSet -> TestTree testUpdateIPSet = req "UpdateIPSet" "fixture/UpdateIPSet.yaml" testListIPSets :: ListIPSets -> TestTree testListIPSets = req "ListIPSets" "fixture/ListIPSets.yaml" testCreateXSSMatchSet :: CreateXSSMatchSet -> TestTree testCreateXSSMatchSet = req "CreateXSSMatchSet" "fixture/CreateXSSMatchSet.yaml" testGetByteMatchSet :: GetByteMatchSet -> TestTree testGetByteMatchSet = req "GetByteMatchSet" "fixture/GetByteMatchSet.yaml" testDeleteSizeConstraintSet :: DeleteSizeConstraintSet -> TestTree testDeleteSizeConstraintSet = req "DeleteSizeConstraintSet" "fixture/DeleteSizeConstraintSet.yaml" testUpdateSizeConstraintSet :: UpdateSizeConstraintSet -> TestTree testUpdateSizeConstraintSet = req "UpdateSizeConstraintSet" "fixture/UpdateSizeConstraintSet.yaml" testCreateSizeConstraintSet :: CreateSizeConstraintSet -> TestTree testCreateSizeConstraintSet = req "CreateSizeConstraintSet" "fixture/CreateSizeConstraintSet.yaml" testListSqlInjectionMatchSets :: ListSqlInjectionMatchSets -> TestTree testListSqlInjectionMatchSets = req "ListSqlInjectionMatchSets" "fixture/ListSqlInjectionMatchSets.yaml" testDeleteSqlInjectionMatchSet :: DeleteSqlInjectionMatchSet -> TestTree testDeleteSqlInjectionMatchSet = req "DeleteSqlInjectionMatchSet" "fixture/DeleteSqlInjectionMatchSet.yaml" testUpdateSqlInjectionMatchSet :: UpdateSqlInjectionMatchSet -> TestTree testUpdateSqlInjectionMatchSet = req "UpdateSqlInjectionMatchSet" "fixture/UpdateSqlInjectionMatchSet.yaml" -- Responses testGetSizeConstraintSetResponse :: GetSizeConstraintSetResponse -> TestTree testGetSizeConstraintSetResponse = res "GetSizeConstraintSetResponse" "fixture/GetSizeConstraintSetResponse.proto" waf (Proxy :: Proxy GetSizeConstraintSet) testUpdateRuleResponse :: UpdateRuleResponse -> TestTree testUpdateRuleResponse = res "UpdateRuleResponse" "fixture/UpdateRuleResponse.proto" waf (Proxy :: Proxy UpdateRule) testDeleteRuleResponse :: DeleteRuleResponse -> TestTree testDeleteRuleResponse = res "DeleteRuleResponse" "fixture/DeleteRuleResponse.proto" waf (Proxy :: Proxy DeleteRule) testCreateIPSetResponse :: CreateIPSetResponse -> TestTree testCreateIPSetResponse = res "CreateIPSetResponse" "fixture/CreateIPSetResponse.proto" waf (Proxy :: Proxy CreateIPSet) testGetChangeTokenStatusResponse :: GetChangeTokenStatusResponse -> TestTree testGetChangeTokenStatusResponse = res "GetChangeTokenStatusResponse" "fixture/GetChangeTokenStatusResponse.proto" waf (Proxy :: Proxy GetChangeTokenStatus) testDeleteWebACLResponse :: DeleteWebACLResponse -> TestTree testDeleteWebACLResponse = res "DeleteWebACLResponse" "fixture/DeleteWebACLResponse.proto" waf (Proxy :: Proxy DeleteWebACL) testUpdateWebACLResponse :: UpdateWebACLResponse -> TestTree testUpdateWebACLResponse = res "UpdateWebACLResponse" "fixture/UpdateWebACLResponse.proto" waf (Proxy :: Proxy UpdateWebACL) testListWebACLsResponse :: ListWebACLsResponse -> TestTree testListWebACLsResponse = res "ListWebACLsResponse" "fixture/ListWebACLsResponse.proto" waf (Proxy :: Proxy ListWebACLs) testListRulesResponse :: ListRulesResponse -> TestTree testListRulesResponse = res "ListRulesResponse" "fixture/ListRulesResponse.proto" waf (Proxy :: Proxy ListRules) testCreateRuleResponse :: CreateRuleResponse -> TestTree testCreateRuleResponse = res "CreateRuleResponse" "fixture/CreateRuleResponse.proto" waf (Proxy :: Proxy CreateRule) testCreateWebACLResponse :: CreateWebACLResponse -> TestTree testCreateWebACLResponse = res "CreateWebACLResponse" "fixture/CreateWebACLResponse.proto" waf (Proxy :: Proxy CreateWebACL) testListByteMatchSetsResponse :: ListByteMatchSetsResponse -> TestTree testListByteMatchSetsResponse = res "ListByteMatchSetsResponse" "fixture/ListByteMatchSetsResponse.proto" waf (Proxy :: Proxy ListByteMatchSets) testGetIPSetResponse :: GetIPSetResponse -> TestTree testGetIPSetResponse = res "GetIPSetResponse" "fixture/GetIPSetResponse.proto" waf (Proxy :: Proxy GetIPSet) testGetWebACLResponse :: GetWebACLResponse -> TestTree testGetWebACLResponse = res "GetWebACLResponse" "fixture/GetWebACLResponse.proto" waf (Proxy :: Proxy GetWebACL) testGetRuleResponse :: GetRuleResponse -> TestTree testGetRuleResponse = res "GetRuleResponse" "fixture/GetRuleResponse.proto" waf (Proxy :: Proxy GetRule) testDeleteXSSMatchSetResponse :: DeleteXSSMatchSetResponse -> TestTree testDeleteXSSMatchSetResponse = res "DeleteXSSMatchSetResponse" "fixture/DeleteXSSMatchSetResponse.proto" waf (Proxy :: Proxy DeleteXSSMatchSet) testUpdateXSSMatchSetResponse :: UpdateXSSMatchSetResponse -> TestTree testUpdateXSSMatchSetResponse = res "UpdateXSSMatchSetResponse" "fixture/UpdateXSSMatchSetResponse.proto" waf (Proxy :: Proxy UpdateXSSMatchSet) testListXSSMatchSetsResponse :: ListXSSMatchSetsResponse -> TestTree testListXSSMatchSetsResponse = res "ListXSSMatchSetsResponse" "fixture/ListXSSMatchSetsResponse.proto" waf (Proxy :: Proxy ListXSSMatchSets) testGetChangeTokenResponse :: GetChangeTokenResponse -> TestTree testGetChangeTokenResponse = res "GetChangeTokenResponse" "fixture/GetChangeTokenResponse.proto" waf (Proxy :: Proxy GetChangeToken) testListSizeConstraintSetsResponse :: ListSizeConstraintSetsResponse -> TestTree testListSizeConstraintSetsResponse = res "ListSizeConstraintSetsResponse" "fixture/ListSizeConstraintSetsResponse.proto" waf (Proxy :: Proxy ListSizeConstraintSets) testGetSampledRequestsResponse :: GetSampledRequestsResponse -> TestTree testGetSampledRequestsResponse = res "GetSampledRequestsResponse" "fixture/GetSampledRequestsResponse.proto" waf (Proxy :: Proxy GetSampledRequests) testGetSqlInjectionMatchSetResponse :: GetSqlInjectionMatchSetResponse -> TestTree testGetSqlInjectionMatchSetResponse = res "GetSqlInjectionMatchSetResponse" "fixture/GetSqlInjectionMatchSetResponse.proto" waf (Proxy :: Proxy GetSqlInjectionMatchSet) testCreateSqlInjectionMatchSetResponse :: CreateSqlInjectionMatchSetResponse -> TestTree testCreateSqlInjectionMatchSetResponse = res "CreateSqlInjectionMatchSetResponse" "fixture/CreateSqlInjectionMatchSetResponse.proto" waf (Proxy :: Proxy CreateSqlInjectionMatchSet) testGetXSSMatchSetResponse :: GetXSSMatchSetResponse -> TestTree testGetXSSMatchSetResponse = res "GetXSSMatchSetResponse" "fixture/GetXSSMatchSetResponse.proto" waf (Proxy :: Proxy GetXSSMatchSet) testCreateByteMatchSetResponse :: CreateByteMatchSetResponse -> TestTree testCreateByteMatchSetResponse = res "CreateByteMatchSetResponse" "fixture/CreateByteMatchSetResponse.proto" waf (Proxy :: Proxy CreateByteMatchSet) testUpdateByteMatchSetResponse :: UpdateByteMatchSetResponse -> TestTree testUpdateByteMatchSetResponse = res "UpdateByteMatchSetResponse" "fixture/UpdateByteMatchSetResponse.proto" waf (Proxy :: Proxy UpdateByteMatchSet) testDeleteByteMatchSetResponse :: DeleteByteMatchSetResponse -> TestTree testDeleteByteMatchSetResponse = res "DeleteByteMatchSetResponse" "fixture/DeleteByteMatchSetResponse.proto" waf (Proxy :: Proxy DeleteByteMatchSet) testDeleteIPSetResponse :: DeleteIPSetResponse -> TestTree testDeleteIPSetResponse = res "DeleteIPSetResponse" "fixture/DeleteIPSetResponse.proto" waf (Proxy :: Proxy DeleteIPSet) testUpdateIPSetResponse :: UpdateIPSetResponse -> TestTree testUpdateIPSetResponse = res "UpdateIPSetResponse" "fixture/UpdateIPSetResponse.proto" waf (Proxy :: Proxy UpdateIPSet) testListIPSetsResponse :: ListIPSetsResponse -> TestTree testListIPSetsResponse = res "ListIPSetsResponse" "fixture/ListIPSetsResponse.proto" waf (Proxy :: Proxy ListIPSets) testCreateXSSMatchSetResponse :: CreateXSSMatchSetResponse -> TestTree testCreateXSSMatchSetResponse = res "CreateXSSMatchSetResponse" "fixture/CreateXSSMatchSetResponse.proto" waf (Proxy :: Proxy CreateXSSMatchSet) testGetByteMatchSetResponse :: GetByteMatchSetResponse -> TestTree testGetByteMatchSetResponse = res "GetByteMatchSetResponse" "fixture/GetByteMatchSetResponse.proto" waf (Proxy :: Proxy GetByteMatchSet) testDeleteSizeConstraintSetResponse :: DeleteSizeConstraintSetResponse -> TestTree testDeleteSizeConstraintSetResponse = res "DeleteSizeConstraintSetResponse" "fixture/DeleteSizeConstraintSetResponse.proto" waf (Proxy :: Proxy DeleteSizeConstraintSet) testUpdateSizeConstraintSetResponse :: UpdateSizeConstraintSetResponse -> TestTree testUpdateSizeConstraintSetResponse = res "UpdateSizeConstraintSetResponse" "fixture/UpdateSizeConstraintSetResponse.proto" waf (Proxy :: Proxy UpdateSizeConstraintSet) testCreateSizeConstraintSetResponse :: CreateSizeConstraintSetResponse -> TestTree testCreateSizeConstraintSetResponse = res "CreateSizeConstraintSetResponse" "fixture/CreateSizeConstraintSetResponse.proto" waf (Proxy :: Proxy CreateSizeConstraintSet) testListSqlInjectionMatchSetsResponse :: ListSqlInjectionMatchSetsResponse -> TestTree testListSqlInjectionMatchSetsResponse = res "ListSqlInjectionMatchSetsResponse" "fixture/ListSqlInjectionMatchSetsResponse.proto" waf (Proxy :: Proxy ListSqlInjectionMatchSets) testDeleteSqlInjectionMatchSetResponse :: DeleteSqlInjectionMatchSetResponse -> TestTree testDeleteSqlInjectionMatchSetResponse = res "DeleteSqlInjectionMatchSetResponse" "fixture/DeleteSqlInjectionMatchSetResponse.proto" waf (Proxy :: Proxy DeleteSqlInjectionMatchSet) testUpdateSqlInjectionMatchSetResponse :: UpdateSqlInjectionMatchSetResponse -> TestTree testUpdateSqlInjectionMatchSetResponse = res "UpdateSqlInjectionMatchSetResponse" "fixture/UpdateSqlInjectionMatchSetResponse.proto" waf (Proxy :: Proxy UpdateSqlInjectionMatchSet)