amazonka-cloudtrail-1.6.0: test/Test/AWS/Gen/CloudTrail.hs
{-# 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.CloudTrail
-- Copyright : (c) 2013-2018 Brendan Hay
-- License : Mozilla Public License, v. 2.0.
-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>
-- Stability : auto-generated
-- Portability : non-portable (GHC extensions)
--
module Test.AWS.Gen.CloudTrail where
import Data.Proxy
import Network.AWS.CloudTrail
import Test.AWS.CloudTrail.Internal
import Test.AWS.Fixture
import Test.AWS.Prelude
import Test.Tasty
-- 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"
-- [ requestDescribeTrails $
-- describeTrails
--
-- , requestListPublicKeys $
-- listPublicKeys
--
-- , requestRemoveTags $
-- removeTags
--
-- , requestLookupEvents $
-- lookupEvents
--
-- , requestStopLogging $
-- stopLogging
--
-- , requestDeleteTrail $
-- deleteTrail
--
-- , requestUpdateTrail $
-- updateTrail
--
-- , requestCreateTrail $
-- createTrail
--
-- , requestGetEventSelectors $
-- getEventSelectors
--
-- , requestGetTrailStatus $
-- getTrailStatus
--
-- , requestAddTags $
-- addTags
--
-- , requestListTags $
-- listTags
--
-- , requestPutEventSelectors $
-- putEventSelectors
--
-- , requestStartLogging $
-- startLogging
--
-- ]
-- , testGroup "response"
-- [ responseDescribeTrails $
-- describeTrailsResponse
--
-- , responseListPublicKeys $
-- listPublicKeysResponse
--
-- , responseRemoveTags $
-- removeTagsResponse
--
-- , responseLookupEvents $
-- lookupEventsResponse
--
-- , responseStopLogging $
-- stopLoggingResponse
--
-- , responseDeleteTrail $
-- deleteTrailResponse
--
-- , responseUpdateTrail $
-- updateTrailResponse
--
-- , responseCreateTrail $
-- createTrailResponse
--
-- , responseGetEventSelectors $
-- getEventSelectorsResponse
--
-- , responseGetTrailStatus $
-- getTrailStatusResponse
--
-- , responseAddTags $
-- addTagsResponse
--
-- , responseListTags $
-- listTagsResponse
--
-- , responsePutEventSelectors $
-- putEventSelectorsResponse
--
-- , responseStartLogging $
-- startLoggingResponse
--
-- ]
-- ]
-- Requests
requestDescribeTrails :: DescribeTrails -> TestTree
requestDescribeTrails = req
"DescribeTrails"
"fixture/DescribeTrails.yaml"
requestListPublicKeys :: ListPublicKeys -> TestTree
requestListPublicKeys = req
"ListPublicKeys"
"fixture/ListPublicKeys.yaml"
requestRemoveTags :: RemoveTags -> TestTree
requestRemoveTags = req
"RemoveTags"
"fixture/RemoveTags.yaml"
requestLookupEvents :: LookupEvents -> TestTree
requestLookupEvents = req
"LookupEvents"
"fixture/LookupEvents.yaml"
requestStopLogging :: StopLogging -> TestTree
requestStopLogging = req
"StopLogging"
"fixture/StopLogging.yaml"
requestDeleteTrail :: DeleteTrail -> TestTree
requestDeleteTrail = req
"DeleteTrail"
"fixture/DeleteTrail.yaml"
requestUpdateTrail :: UpdateTrail -> TestTree
requestUpdateTrail = req
"UpdateTrail"
"fixture/UpdateTrail.yaml"
requestCreateTrail :: CreateTrail -> TestTree
requestCreateTrail = req
"CreateTrail"
"fixture/CreateTrail.yaml"
requestGetEventSelectors :: GetEventSelectors -> TestTree
requestGetEventSelectors = req
"GetEventSelectors"
"fixture/GetEventSelectors.yaml"
requestGetTrailStatus :: GetTrailStatus -> TestTree
requestGetTrailStatus = req
"GetTrailStatus"
"fixture/GetTrailStatus.yaml"
requestAddTags :: AddTags -> TestTree
requestAddTags = req
"AddTags"
"fixture/AddTags.yaml"
requestListTags :: ListTags -> TestTree
requestListTags = req
"ListTags"
"fixture/ListTags.yaml"
requestPutEventSelectors :: PutEventSelectors -> TestTree
requestPutEventSelectors = req
"PutEventSelectors"
"fixture/PutEventSelectors.yaml"
requestStartLogging :: StartLogging -> TestTree
requestStartLogging = req
"StartLogging"
"fixture/StartLogging.yaml"
-- Responses
responseDescribeTrails :: DescribeTrailsResponse -> TestTree
responseDescribeTrails = res
"DescribeTrailsResponse"
"fixture/DescribeTrailsResponse.proto"
cloudTrail
(Proxy :: Proxy DescribeTrails)
responseListPublicKeys :: ListPublicKeysResponse -> TestTree
responseListPublicKeys = res
"ListPublicKeysResponse"
"fixture/ListPublicKeysResponse.proto"
cloudTrail
(Proxy :: Proxy ListPublicKeys)
responseRemoveTags :: RemoveTagsResponse -> TestTree
responseRemoveTags = res
"RemoveTagsResponse"
"fixture/RemoveTagsResponse.proto"
cloudTrail
(Proxy :: Proxy RemoveTags)
responseLookupEvents :: LookupEventsResponse -> TestTree
responseLookupEvents = res
"LookupEventsResponse"
"fixture/LookupEventsResponse.proto"
cloudTrail
(Proxy :: Proxy LookupEvents)
responseStopLogging :: StopLoggingResponse -> TestTree
responseStopLogging = res
"StopLoggingResponse"
"fixture/StopLoggingResponse.proto"
cloudTrail
(Proxy :: Proxy StopLogging)
responseDeleteTrail :: DeleteTrailResponse -> TestTree
responseDeleteTrail = res
"DeleteTrailResponse"
"fixture/DeleteTrailResponse.proto"
cloudTrail
(Proxy :: Proxy DeleteTrail)
responseUpdateTrail :: UpdateTrailResponse -> TestTree
responseUpdateTrail = res
"UpdateTrailResponse"
"fixture/UpdateTrailResponse.proto"
cloudTrail
(Proxy :: Proxy UpdateTrail)
responseCreateTrail :: CreateTrailResponse -> TestTree
responseCreateTrail = res
"CreateTrailResponse"
"fixture/CreateTrailResponse.proto"
cloudTrail
(Proxy :: Proxy CreateTrail)
responseGetEventSelectors :: GetEventSelectorsResponse -> TestTree
responseGetEventSelectors = res
"GetEventSelectorsResponse"
"fixture/GetEventSelectorsResponse.proto"
cloudTrail
(Proxy :: Proxy GetEventSelectors)
responseGetTrailStatus :: GetTrailStatusResponse -> TestTree
responseGetTrailStatus = res
"GetTrailStatusResponse"
"fixture/GetTrailStatusResponse.proto"
cloudTrail
(Proxy :: Proxy GetTrailStatus)
responseAddTags :: AddTagsResponse -> TestTree
responseAddTags = res
"AddTagsResponse"
"fixture/AddTagsResponse.proto"
cloudTrail
(Proxy :: Proxy AddTags)
responseListTags :: ListTagsResponse -> TestTree
responseListTags = res
"ListTagsResponse"
"fixture/ListTagsResponse.proto"
cloudTrail
(Proxy :: Proxy ListTags)
responsePutEventSelectors :: PutEventSelectorsResponse -> TestTree
responsePutEventSelectors = res
"PutEventSelectorsResponse"
"fixture/PutEventSelectorsResponse.proto"
cloudTrail
(Proxy :: Proxy PutEventSelectors)
responseStartLogging :: StartLoggingResponse -> TestTree
responseStartLogging = res
"StartLoggingResponse"
"fixture/StartLoggingResponse.proto"
cloudTrail
(Proxy :: Proxy StartLogging)