{-# 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.SWF -- Copyright : (c) 2013-2015 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay -- Stability : auto-generated -- Portability : non-portable (GHC extensions) -- module Test.AWS.Gen.SWF where import Data.Proxy import Test.AWS.Fixture import Test.AWS.Prelude import Test.Tasty import Network.AWS.SWF import Test.AWS.SWF.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" -- [ testListActivityTypes $ -- listActivityTypes -- -- , testListOpenWorkflowExecutions $ -- listOpenWorkflowExecutions -- -- , testRegisterActivityType $ -- registerActivityType -- -- , testCountPendingActivityTasks $ -- countPendingActivityTasks -- -- , testRegisterWorkflowType $ -- registerWorkflowType -- -- , testRespondActivityTaskFailed $ -- respondActivityTaskFailed -- -- , testListWorkflowTypes $ -- listWorkflowTypes -- -- , testCountOpenWorkflowExecutions $ -- countOpenWorkflowExecutions -- -- , testDescribeWorkflowType $ -- describeWorkflowType -- -- , testRequestCancelWorkflowExecution $ -- requestCancelWorkflowExecution -- -- , testDeprecateWorkflowType $ -- deprecateWorkflowType -- -- , testRespondDecisionTaskCompleted $ -- respondDecisionTaskCompleted -- -- , testRegisterDomain $ -- registerDomain -- -- , testDescribeWorkflowExecution $ -- describeWorkflowExecution -- -- , testPollForActivityTask $ -- pollForActivityTask -- -- , testRespondActivityTaskCompleted $ -- respondActivityTaskCompleted -- -- , testSignalWorkflowExecution $ -- signalWorkflowExecution -- -- , testCountPendingDecisionTasks $ -- countPendingDecisionTasks -- -- , testListClosedWorkflowExecutions $ -- listClosedWorkflowExecutions -- -- , testRecordActivityTaskHeartbeat $ -- recordActivityTaskHeartbeat -- -- , testDescribeDomain $ -- describeDomain -- -- , testDeprecateDomain $ -- deprecateDomain -- -- , testGetWorkflowExecutionHistory $ -- getWorkflowExecutionHistory -- -- , testDescribeActivityType $ -- describeActivityType -- -- , testDeprecateActivityType $ -- deprecateActivityType -- -- , testTerminateWorkflowExecution $ -- terminateWorkflowExecution -- -- , testCountClosedWorkflowExecutions $ -- countClosedWorkflowExecutions -- -- , testRespondActivityTaskCanceled $ -- respondActivityTaskCanceled -- -- , testListDomains $ -- listDomains -- -- , testStartWorkflowExecution $ -- startWorkflowExecution -- -- , testPollForDecisionTask $ -- pollForDecisionTask -- -- ] -- , testGroup "response" -- [ testListActivityTypesResponse $ -- listActivityTypesResponse -- -- , testListOpenWorkflowExecutionsResponse $ -- workflowExecutionInfos -- -- , testRegisterActivityTypeResponse $ -- registerActivityTypeResponse -- -- , testCountPendingActivityTasksResponse $ -- pendingTaskCount -- -- , testRegisterWorkflowTypeResponse $ -- registerWorkflowTypeResponse -- -- , testRespondActivityTaskFailedResponse $ -- respondActivityTaskFailedResponse -- -- , testListWorkflowTypesResponse $ -- listWorkflowTypesResponse -- -- , testCountOpenWorkflowExecutionsResponse $ -- workflowExecutionCount -- -- , testDescribeWorkflowTypeResponse $ -- describeWorkflowTypeResponse -- -- , testRequestCancelWorkflowExecutionResponse $ -- requestCancelWorkflowExecutionResponse -- -- , testDeprecateWorkflowTypeResponse $ -- deprecateWorkflowTypeResponse -- -- , testRespondDecisionTaskCompletedResponse $ -- respondDecisionTaskCompletedResponse -- -- , testRegisterDomainResponse $ -- registerDomainResponse -- -- , testDescribeWorkflowExecutionResponse $ -- describeWorkflowExecutionResponse -- -- , testPollForActivityTaskResponse $ -- pollForActivityTaskResponse -- -- , testRespondActivityTaskCompletedResponse $ -- respondActivityTaskCompletedResponse -- -- , testSignalWorkflowExecutionResponse $ -- signalWorkflowExecutionResponse -- -- , testCountPendingDecisionTasksResponse $ -- pendingTaskCount -- -- , testListClosedWorkflowExecutionsResponse $ -- workflowExecutionInfos -- -- , testRecordActivityTaskHeartbeatResponse $ -- recordActivityTaskHeartbeatResponse -- -- , testDescribeDomainResponse $ -- describeDomainResponse -- -- , testDeprecateDomainResponse $ -- deprecateDomainResponse -- -- , testGetWorkflowExecutionHistoryResponse $ -- getWorkflowExecutionHistoryResponse -- -- , testDescribeActivityTypeResponse $ -- describeActivityTypeResponse -- -- , testDeprecateActivityTypeResponse $ -- deprecateActivityTypeResponse -- -- , testTerminateWorkflowExecutionResponse $ -- terminateWorkflowExecutionResponse -- -- , testCountClosedWorkflowExecutionsResponse $ -- workflowExecutionCount -- -- , testRespondActivityTaskCanceledResponse $ -- respondActivityTaskCanceledResponse -- -- , testListDomainsResponse $ -- listDomainsResponse -- -- , testStartWorkflowExecutionResponse $ -- startWorkflowExecutionResponse -- -- , testPollForDecisionTaskResponse $ -- pollForDecisionTaskResponse -- -- ] -- ] -- Requests testListActivityTypes :: ListActivityTypes -> TestTree testListActivityTypes = req "ListActivityTypes" "fixture/ListActivityTypes" testListOpenWorkflowExecutions :: ListOpenWorkflowExecutions -> TestTree testListOpenWorkflowExecutions = req "ListOpenWorkflowExecutions" "fixture/ListOpenWorkflowExecutions" testRegisterActivityType :: RegisterActivityType -> TestTree testRegisterActivityType = req "RegisterActivityType" "fixture/RegisterActivityType" testCountPendingActivityTasks :: CountPendingActivityTasks -> TestTree testCountPendingActivityTasks = req "CountPendingActivityTasks" "fixture/CountPendingActivityTasks" testRegisterWorkflowType :: RegisterWorkflowType -> TestTree testRegisterWorkflowType = req "RegisterWorkflowType" "fixture/RegisterWorkflowType" testRespondActivityTaskFailed :: RespondActivityTaskFailed -> TestTree testRespondActivityTaskFailed = req "RespondActivityTaskFailed" "fixture/RespondActivityTaskFailed" testListWorkflowTypes :: ListWorkflowTypes -> TestTree testListWorkflowTypes = req "ListWorkflowTypes" "fixture/ListWorkflowTypes" testCountOpenWorkflowExecutions :: CountOpenWorkflowExecutions -> TestTree testCountOpenWorkflowExecutions = req "CountOpenWorkflowExecutions" "fixture/CountOpenWorkflowExecutions" testDescribeWorkflowType :: DescribeWorkflowType -> TestTree testDescribeWorkflowType = req "DescribeWorkflowType" "fixture/DescribeWorkflowType" testRequestCancelWorkflowExecution :: RequestCancelWorkflowExecution -> TestTree testRequestCancelWorkflowExecution = req "RequestCancelWorkflowExecution" "fixture/RequestCancelWorkflowExecution" testDeprecateWorkflowType :: DeprecateWorkflowType -> TestTree testDeprecateWorkflowType = req "DeprecateWorkflowType" "fixture/DeprecateWorkflowType" testRespondDecisionTaskCompleted :: RespondDecisionTaskCompleted -> TestTree testRespondDecisionTaskCompleted = req "RespondDecisionTaskCompleted" "fixture/RespondDecisionTaskCompleted" testRegisterDomain :: RegisterDomain -> TestTree testRegisterDomain = req "RegisterDomain" "fixture/RegisterDomain" testDescribeWorkflowExecution :: DescribeWorkflowExecution -> TestTree testDescribeWorkflowExecution = req "DescribeWorkflowExecution" "fixture/DescribeWorkflowExecution" testPollForActivityTask :: PollForActivityTask -> TestTree testPollForActivityTask = req "PollForActivityTask" "fixture/PollForActivityTask" testRespondActivityTaskCompleted :: RespondActivityTaskCompleted -> TestTree testRespondActivityTaskCompleted = req "RespondActivityTaskCompleted" "fixture/RespondActivityTaskCompleted" testSignalWorkflowExecution :: SignalWorkflowExecution -> TestTree testSignalWorkflowExecution = req "SignalWorkflowExecution" "fixture/SignalWorkflowExecution" testCountPendingDecisionTasks :: CountPendingDecisionTasks -> TestTree testCountPendingDecisionTasks = req "CountPendingDecisionTasks" "fixture/CountPendingDecisionTasks" testListClosedWorkflowExecutions :: ListClosedWorkflowExecutions -> TestTree testListClosedWorkflowExecutions = req "ListClosedWorkflowExecutions" "fixture/ListClosedWorkflowExecutions" testRecordActivityTaskHeartbeat :: RecordActivityTaskHeartbeat -> TestTree testRecordActivityTaskHeartbeat = req "RecordActivityTaskHeartbeat" "fixture/RecordActivityTaskHeartbeat" testDescribeDomain :: DescribeDomain -> TestTree testDescribeDomain = req "DescribeDomain" "fixture/DescribeDomain" testDeprecateDomain :: DeprecateDomain -> TestTree testDeprecateDomain = req "DeprecateDomain" "fixture/DeprecateDomain" testGetWorkflowExecutionHistory :: GetWorkflowExecutionHistory -> TestTree testGetWorkflowExecutionHistory = req "GetWorkflowExecutionHistory" "fixture/GetWorkflowExecutionHistory" testDescribeActivityType :: DescribeActivityType -> TestTree testDescribeActivityType = req "DescribeActivityType" "fixture/DescribeActivityType" testDeprecateActivityType :: DeprecateActivityType -> TestTree testDeprecateActivityType = req "DeprecateActivityType" "fixture/DeprecateActivityType" testTerminateWorkflowExecution :: TerminateWorkflowExecution -> TestTree testTerminateWorkflowExecution = req "TerminateWorkflowExecution" "fixture/TerminateWorkflowExecution" testCountClosedWorkflowExecutions :: CountClosedWorkflowExecutions -> TestTree testCountClosedWorkflowExecutions = req "CountClosedWorkflowExecutions" "fixture/CountClosedWorkflowExecutions" testRespondActivityTaskCanceled :: RespondActivityTaskCanceled -> TestTree testRespondActivityTaskCanceled = req "RespondActivityTaskCanceled" "fixture/RespondActivityTaskCanceled" testListDomains :: ListDomains -> TestTree testListDomains = req "ListDomains" "fixture/ListDomains" testStartWorkflowExecution :: StartWorkflowExecution -> TestTree testStartWorkflowExecution = req "StartWorkflowExecution" "fixture/StartWorkflowExecution" testPollForDecisionTask :: PollForDecisionTask -> TestTree testPollForDecisionTask = req "PollForDecisionTask" "fixture/PollForDecisionTask" -- Responses testListActivityTypesResponse :: ListActivityTypesResponse -> TestTree testListActivityTypesResponse = res "ListActivityTypesResponse" "fixture/ListActivityTypesResponse" (Proxy :: Proxy ListActivityTypes) testListOpenWorkflowExecutionsResponse :: WorkflowExecutionInfos -> TestTree testListOpenWorkflowExecutionsResponse = res "ListOpenWorkflowExecutionsResponse" "fixture/ListOpenWorkflowExecutionsResponse" (Proxy :: Proxy ListOpenWorkflowExecutions) testRegisterActivityTypeResponse :: RegisterActivityTypeResponse -> TestTree testRegisterActivityTypeResponse = res "RegisterActivityTypeResponse" "fixture/RegisterActivityTypeResponse" (Proxy :: Proxy RegisterActivityType) testCountPendingActivityTasksResponse :: PendingTaskCount -> TestTree testCountPendingActivityTasksResponse = res "CountPendingActivityTasksResponse" "fixture/CountPendingActivityTasksResponse" (Proxy :: Proxy CountPendingActivityTasks) testRegisterWorkflowTypeResponse :: RegisterWorkflowTypeResponse -> TestTree testRegisterWorkflowTypeResponse = res "RegisterWorkflowTypeResponse" "fixture/RegisterWorkflowTypeResponse" (Proxy :: Proxy RegisterWorkflowType) testRespondActivityTaskFailedResponse :: RespondActivityTaskFailedResponse -> TestTree testRespondActivityTaskFailedResponse = res "RespondActivityTaskFailedResponse" "fixture/RespondActivityTaskFailedResponse" (Proxy :: Proxy RespondActivityTaskFailed) testListWorkflowTypesResponse :: ListWorkflowTypesResponse -> TestTree testListWorkflowTypesResponse = res "ListWorkflowTypesResponse" "fixture/ListWorkflowTypesResponse" (Proxy :: Proxy ListWorkflowTypes) testCountOpenWorkflowExecutionsResponse :: WorkflowExecutionCount -> TestTree testCountOpenWorkflowExecutionsResponse = res "CountOpenWorkflowExecutionsResponse" "fixture/CountOpenWorkflowExecutionsResponse" (Proxy :: Proxy CountOpenWorkflowExecutions) testDescribeWorkflowTypeResponse :: DescribeWorkflowTypeResponse -> TestTree testDescribeWorkflowTypeResponse = res "DescribeWorkflowTypeResponse" "fixture/DescribeWorkflowTypeResponse" (Proxy :: Proxy DescribeWorkflowType) testRequestCancelWorkflowExecutionResponse :: RequestCancelWorkflowExecutionResponse -> TestTree testRequestCancelWorkflowExecutionResponse = res "RequestCancelWorkflowExecutionResponse" "fixture/RequestCancelWorkflowExecutionResponse" (Proxy :: Proxy RequestCancelWorkflowExecution) testDeprecateWorkflowTypeResponse :: DeprecateWorkflowTypeResponse -> TestTree testDeprecateWorkflowTypeResponse = res "DeprecateWorkflowTypeResponse" "fixture/DeprecateWorkflowTypeResponse" (Proxy :: Proxy DeprecateWorkflowType) testRespondDecisionTaskCompletedResponse :: RespondDecisionTaskCompletedResponse -> TestTree testRespondDecisionTaskCompletedResponse = res "RespondDecisionTaskCompletedResponse" "fixture/RespondDecisionTaskCompletedResponse" (Proxy :: Proxy RespondDecisionTaskCompleted) testRegisterDomainResponse :: RegisterDomainResponse -> TestTree testRegisterDomainResponse = res "RegisterDomainResponse" "fixture/RegisterDomainResponse" (Proxy :: Proxy RegisterDomain) testDescribeWorkflowExecutionResponse :: DescribeWorkflowExecutionResponse -> TestTree testDescribeWorkflowExecutionResponse = res "DescribeWorkflowExecutionResponse" "fixture/DescribeWorkflowExecutionResponse" (Proxy :: Proxy DescribeWorkflowExecution) testPollForActivityTaskResponse :: PollForActivityTaskResponse -> TestTree testPollForActivityTaskResponse = res "PollForActivityTaskResponse" "fixture/PollForActivityTaskResponse" (Proxy :: Proxy PollForActivityTask) testRespondActivityTaskCompletedResponse :: RespondActivityTaskCompletedResponse -> TestTree testRespondActivityTaskCompletedResponse = res "RespondActivityTaskCompletedResponse" "fixture/RespondActivityTaskCompletedResponse" (Proxy :: Proxy RespondActivityTaskCompleted) testSignalWorkflowExecutionResponse :: SignalWorkflowExecutionResponse -> TestTree testSignalWorkflowExecutionResponse = res "SignalWorkflowExecutionResponse" "fixture/SignalWorkflowExecutionResponse" (Proxy :: Proxy SignalWorkflowExecution) testCountPendingDecisionTasksResponse :: PendingTaskCount -> TestTree testCountPendingDecisionTasksResponse = res "CountPendingDecisionTasksResponse" "fixture/CountPendingDecisionTasksResponse" (Proxy :: Proxy CountPendingDecisionTasks) testListClosedWorkflowExecutionsResponse :: WorkflowExecutionInfos -> TestTree testListClosedWorkflowExecutionsResponse = res "ListClosedWorkflowExecutionsResponse" "fixture/ListClosedWorkflowExecutionsResponse" (Proxy :: Proxy ListClosedWorkflowExecutions) testRecordActivityTaskHeartbeatResponse :: RecordActivityTaskHeartbeatResponse -> TestTree testRecordActivityTaskHeartbeatResponse = res "RecordActivityTaskHeartbeatResponse" "fixture/RecordActivityTaskHeartbeatResponse" (Proxy :: Proxy RecordActivityTaskHeartbeat) testDescribeDomainResponse :: DescribeDomainResponse -> TestTree testDescribeDomainResponse = res "DescribeDomainResponse" "fixture/DescribeDomainResponse" (Proxy :: Proxy DescribeDomain) testDeprecateDomainResponse :: DeprecateDomainResponse -> TestTree testDeprecateDomainResponse = res "DeprecateDomainResponse" "fixture/DeprecateDomainResponse" (Proxy :: Proxy DeprecateDomain) testGetWorkflowExecutionHistoryResponse :: GetWorkflowExecutionHistoryResponse -> TestTree testGetWorkflowExecutionHistoryResponse = res "GetWorkflowExecutionHistoryResponse" "fixture/GetWorkflowExecutionHistoryResponse" (Proxy :: Proxy GetWorkflowExecutionHistory) testDescribeActivityTypeResponse :: DescribeActivityTypeResponse -> TestTree testDescribeActivityTypeResponse = res "DescribeActivityTypeResponse" "fixture/DescribeActivityTypeResponse" (Proxy :: Proxy DescribeActivityType) testDeprecateActivityTypeResponse :: DeprecateActivityTypeResponse -> TestTree testDeprecateActivityTypeResponse = res "DeprecateActivityTypeResponse" "fixture/DeprecateActivityTypeResponse" (Proxy :: Proxy DeprecateActivityType) testTerminateWorkflowExecutionResponse :: TerminateWorkflowExecutionResponse -> TestTree testTerminateWorkflowExecutionResponse = res "TerminateWorkflowExecutionResponse" "fixture/TerminateWorkflowExecutionResponse" (Proxy :: Proxy TerminateWorkflowExecution) testCountClosedWorkflowExecutionsResponse :: WorkflowExecutionCount -> TestTree testCountClosedWorkflowExecutionsResponse = res "CountClosedWorkflowExecutionsResponse" "fixture/CountClosedWorkflowExecutionsResponse" (Proxy :: Proxy CountClosedWorkflowExecutions) testRespondActivityTaskCanceledResponse :: RespondActivityTaskCanceledResponse -> TestTree testRespondActivityTaskCanceledResponse = res "RespondActivityTaskCanceledResponse" "fixture/RespondActivityTaskCanceledResponse" (Proxy :: Proxy RespondActivityTaskCanceled) testListDomainsResponse :: ListDomainsResponse -> TestTree testListDomainsResponse = res "ListDomainsResponse" "fixture/ListDomainsResponse" (Proxy :: Proxy ListDomains) testStartWorkflowExecutionResponse :: StartWorkflowExecutionResponse -> TestTree testStartWorkflowExecutionResponse = res "StartWorkflowExecutionResponse" "fixture/StartWorkflowExecutionResponse" (Proxy :: Proxy StartWorkflowExecution) testPollForDecisionTaskResponse :: PollForDecisionTaskResponse -> TestTree testPollForDecisionTaskResponse = res "PollForDecisionTaskResponse" "fixture/PollForDecisionTaskResponse" (Proxy :: Proxy PollForDecisionTask)