{-# 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.SQS -- 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.SQS where import Data.Proxy import Test.AWS.Fixture import Test.AWS.Prelude import Test.Tasty import Network.AWS.SQS import Test.AWS.SQS.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" -- [ requestGetQueueURL $ -- getQueueURL -- -- , requestPurgeQueue $ -- purgeQueue -- -- , requestChangeMessageVisibilityBatch $ -- changeMessageVisibilityBatch -- -- , requestSendMessage $ -- sendMessage -- -- , requestRemovePermission $ -- removePermission -- -- , requestGetQueueAttributes $ -- getQueueAttributes -- -- , requestListQueues $ -- listQueues -- -- , requestReceiveMessage $ -- receiveMessage -- -- , requestDeleteQueue $ -- deleteQueue -- -- , requestDeleteMessageBatch $ -- deleteMessageBatch -- -- , requestSetQueueAttributes $ -- setQueueAttributes -- -- , requestListDeadLetterSourceQueues $ -- listDeadLetterSourceQueues -- -- , requestAddPermission $ -- addPermission -- -- , requestDeleteMessage $ -- deleteMessage -- -- , requestCreateQueue $ -- createQueue -- -- , requestSendMessageBatch $ -- sendMessageBatch -- -- , requestChangeMessageVisibility $ -- changeMessageVisibility -- -- ] -- , testGroup "response" -- [ responseGetQueueURL $ -- getQueueURLResponse -- -- , responsePurgeQueue $ -- purgeQueueResponse -- -- , responseChangeMessageVisibilityBatch $ -- changeMessageVisibilityBatchResponse -- -- , responseSendMessage $ -- sendMessageResponse -- -- , responseRemovePermission $ -- removePermissionResponse -- -- , responseGetQueueAttributes $ -- getQueueAttributesResponse -- -- , responseListQueues $ -- listQueuesResponse -- -- , responseReceiveMessage $ -- receiveMessageResponse -- -- , responseDeleteQueue $ -- deleteQueueResponse -- -- , responseDeleteMessageBatch $ -- deleteMessageBatchResponse -- -- , responseSetQueueAttributes $ -- setQueueAttributesResponse -- -- , responseListDeadLetterSourceQueues $ -- listDeadLetterSourceQueuesResponse -- -- , responseAddPermission $ -- addPermissionResponse -- -- , responseDeleteMessage $ -- deleteMessageResponse -- -- , responseCreateQueue $ -- createQueueResponse -- -- , responseSendMessageBatch $ -- sendMessageBatchResponse -- -- , responseChangeMessageVisibility $ -- changeMessageVisibilityResponse -- -- ] -- ] -- Requests requestGetQueueURL :: GetQueueURL -> TestTree requestGetQueueURL = req "GetQueueURL" "fixture/GetQueueURL.yaml" requestPurgeQueue :: PurgeQueue -> TestTree requestPurgeQueue = req "PurgeQueue" "fixture/PurgeQueue.yaml" requestChangeMessageVisibilityBatch :: ChangeMessageVisibilityBatch -> TestTree requestChangeMessageVisibilityBatch = req "ChangeMessageVisibilityBatch" "fixture/ChangeMessageVisibilityBatch.yaml" requestSendMessage :: SendMessage -> TestTree requestSendMessage = req "SendMessage" "fixture/SendMessage.yaml" requestRemovePermission :: RemovePermission -> TestTree requestRemovePermission = req "RemovePermission" "fixture/RemovePermission.yaml" requestGetQueueAttributes :: GetQueueAttributes -> TestTree requestGetQueueAttributes = req "GetQueueAttributes" "fixture/GetQueueAttributes.yaml" requestListQueues :: ListQueues -> TestTree requestListQueues = req "ListQueues" "fixture/ListQueues.yaml" requestReceiveMessage :: ReceiveMessage -> TestTree requestReceiveMessage = req "ReceiveMessage" "fixture/ReceiveMessage.yaml" requestDeleteQueue :: DeleteQueue -> TestTree requestDeleteQueue = req "DeleteQueue" "fixture/DeleteQueue.yaml" requestDeleteMessageBatch :: DeleteMessageBatch -> TestTree requestDeleteMessageBatch = req "DeleteMessageBatch" "fixture/DeleteMessageBatch.yaml" requestSetQueueAttributes :: SetQueueAttributes -> TestTree requestSetQueueAttributes = req "SetQueueAttributes" "fixture/SetQueueAttributes.yaml" requestListDeadLetterSourceQueues :: ListDeadLetterSourceQueues -> TestTree requestListDeadLetterSourceQueues = req "ListDeadLetterSourceQueues" "fixture/ListDeadLetterSourceQueues.yaml" requestAddPermission :: AddPermission -> TestTree requestAddPermission = req "AddPermission" "fixture/AddPermission.yaml" requestDeleteMessage :: DeleteMessage -> TestTree requestDeleteMessage = req "DeleteMessage" "fixture/DeleteMessage.yaml" requestCreateQueue :: CreateQueue -> TestTree requestCreateQueue = req "CreateQueue" "fixture/CreateQueue.yaml" requestSendMessageBatch :: SendMessageBatch -> TestTree requestSendMessageBatch = req "SendMessageBatch" "fixture/SendMessageBatch.yaml" requestChangeMessageVisibility :: ChangeMessageVisibility -> TestTree requestChangeMessageVisibility = req "ChangeMessageVisibility" "fixture/ChangeMessageVisibility.yaml" -- Responses responseGetQueueURL :: GetQueueURLResponse -> TestTree responseGetQueueURL = res "GetQueueURLResponse" "fixture/GetQueueURLResponse.proto" sqs (Proxy :: Proxy GetQueueURL) responsePurgeQueue :: PurgeQueueResponse -> TestTree responsePurgeQueue = res "PurgeQueueResponse" "fixture/PurgeQueueResponse.proto" sqs (Proxy :: Proxy PurgeQueue) responseChangeMessageVisibilityBatch :: ChangeMessageVisibilityBatchResponse -> TestTree responseChangeMessageVisibilityBatch = res "ChangeMessageVisibilityBatchResponse" "fixture/ChangeMessageVisibilityBatchResponse.proto" sqs (Proxy :: Proxy ChangeMessageVisibilityBatch) responseSendMessage :: SendMessageResponse -> TestTree responseSendMessage = res "SendMessageResponse" "fixture/SendMessageResponse.proto" sqs (Proxy :: Proxy SendMessage) responseRemovePermission :: RemovePermissionResponse -> TestTree responseRemovePermission = res "RemovePermissionResponse" "fixture/RemovePermissionResponse.proto" sqs (Proxy :: Proxy RemovePermission) responseGetQueueAttributes :: GetQueueAttributesResponse -> TestTree responseGetQueueAttributes = res "GetQueueAttributesResponse" "fixture/GetQueueAttributesResponse.proto" sqs (Proxy :: Proxy GetQueueAttributes) responseListQueues :: ListQueuesResponse -> TestTree responseListQueues = res "ListQueuesResponse" "fixture/ListQueuesResponse.proto" sqs (Proxy :: Proxy ListQueues) responseReceiveMessage :: ReceiveMessageResponse -> TestTree responseReceiveMessage = res "ReceiveMessageResponse" "fixture/ReceiveMessageResponse.proto" sqs (Proxy :: Proxy ReceiveMessage) responseDeleteQueue :: DeleteQueueResponse -> TestTree responseDeleteQueue = res "DeleteQueueResponse" "fixture/DeleteQueueResponse.proto" sqs (Proxy :: Proxy DeleteQueue) responseDeleteMessageBatch :: DeleteMessageBatchResponse -> TestTree responseDeleteMessageBatch = res "DeleteMessageBatchResponse" "fixture/DeleteMessageBatchResponse.proto" sqs (Proxy :: Proxy DeleteMessageBatch) responseSetQueueAttributes :: SetQueueAttributesResponse -> TestTree responseSetQueueAttributes = res "SetQueueAttributesResponse" "fixture/SetQueueAttributesResponse.proto" sqs (Proxy :: Proxy SetQueueAttributes) responseListDeadLetterSourceQueues :: ListDeadLetterSourceQueuesResponse -> TestTree responseListDeadLetterSourceQueues = res "ListDeadLetterSourceQueuesResponse" "fixture/ListDeadLetterSourceQueuesResponse.proto" sqs (Proxy :: Proxy ListDeadLetterSourceQueues) responseAddPermission :: AddPermissionResponse -> TestTree responseAddPermission = res "AddPermissionResponse" "fixture/AddPermissionResponse.proto" sqs (Proxy :: Proxy AddPermission) responseDeleteMessage :: DeleteMessageResponse -> TestTree responseDeleteMessage = res "DeleteMessageResponse" "fixture/DeleteMessageResponse.proto" sqs (Proxy :: Proxy DeleteMessage) responseCreateQueue :: CreateQueueResponse -> TestTree responseCreateQueue = res "CreateQueueResponse" "fixture/CreateQueueResponse.proto" sqs (Proxy :: Proxy CreateQueue) responseSendMessageBatch :: SendMessageBatchResponse -> TestTree responseSendMessageBatch = res "SendMessageBatchResponse" "fixture/SendMessageBatchResponse.proto" sqs (Proxy :: Proxy SendMessageBatch) responseChangeMessageVisibility :: ChangeMessageVisibilityResponse -> TestTree responseChangeMessageVisibility = res "ChangeMessageVisibilityResponse" "fixture/ChangeMessageVisibilityResponse.proto" sqs (Proxy :: Proxy ChangeMessageVisibility)