amazonka-sns-1.4.0: test/Test/AWS/Gen/SNS.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.SNS
-- Copyright : (c) 2013-2016 Brendan Hay
-- License : Mozilla Public License, v. 2.0.
-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
-- Stability : auto-generated
-- Portability : non-portable (GHC extensions)
--
module Test.AWS.Gen.SNS where
import Data.Proxy
import Test.AWS.Fixture
import Test.AWS.Prelude
import Test.Tasty
import Network.AWS.SNS
import Test.AWS.SNS.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"
-- [ testDeleteEndpoint $
-- deleteEndpoint
--
-- , testRemovePermission $
-- removePermission
--
-- , testDeleteTopic $
-- deleteTopic
--
-- , testListTopics $
-- listTopics
--
-- , testCreatePlatformEndpoint $
-- createPlatformEndpoint
--
-- , testSetPlatformApplicationAttributes $
-- setPlatformApplicationAttributes
--
-- , testListSubscriptionsByTopic $
-- listSubscriptionsByTopic
--
-- , testGetTopicAttributes $
-- getTopicAttributes
--
-- , testCreatePlatformApplication $
-- createPlatformApplication
--
-- , testGetPlatformApplicationAttributes $
-- getPlatformApplicationAttributes
--
-- , testListEndpointsByPlatformApplication $
-- listEndpointsByPlatformApplication
--
-- , testSetTopicAttributes $
-- setTopicAttributes
--
-- , testDeletePlatformApplication $
-- deletePlatformApplication
--
-- , testListPlatformApplications $
-- listPlatformApplications
--
-- , testAddPermission $
-- addPermission
--
-- , testGetEndpointAttributes $
-- getEndpointAttributes
--
-- , testListSubscriptions $
-- listSubscriptions
--
-- , testGetSubscriptionAttributes $
-- getSubscriptionAttributes
--
-- , testCreateTopic $
-- createTopic
--
-- , testSubscribe $
-- subscribe
--
-- , testUnsubscribe $
-- unsubscribe
--
-- , testSetEndpointAttributes $
-- setEndpointAttributes
--
-- , testSetSubscriptionAttributes $
-- setSubscriptionAttributes
--
-- , testConfirmSubscription $
-- confirmSubscription
--
-- , testPublish $
-- publish
--
-- ]
-- , testGroup "response"
-- [ testDeleteEndpointResponse $
-- deleteEndpointResponse
--
-- , testRemovePermissionResponse $
-- removePermissionResponse
--
-- , testDeleteTopicResponse $
-- deleteTopicResponse
--
-- , testListTopicsResponse $
-- listTopicsResponse
--
-- , testCreatePlatformEndpointResponse $
-- createPlatformEndpointResponse
--
-- , testSetPlatformApplicationAttributesResponse $
-- setPlatformApplicationAttributesResponse
--
-- , testListSubscriptionsByTopicResponse $
-- listSubscriptionsByTopicResponse
--
-- , testGetTopicAttributesResponse $
-- getTopicAttributesResponse
--
-- , testCreatePlatformApplicationResponse $
-- createPlatformApplicationResponse
--
-- , testGetPlatformApplicationAttributesResponse $
-- getPlatformApplicationAttributesResponse
--
-- , testListEndpointsByPlatformApplicationResponse $
-- listEndpointsByPlatformApplicationResponse
--
-- , testSetTopicAttributesResponse $
-- setTopicAttributesResponse
--
-- , testDeletePlatformApplicationResponse $
-- deletePlatformApplicationResponse
--
-- , testListPlatformApplicationsResponse $
-- listPlatformApplicationsResponse
--
-- , testAddPermissionResponse $
-- addPermissionResponse
--
-- , testGetEndpointAttributesResponse $
-- getEndpointAttributesResponse
--
-- , testListSubscriptionsResponse $
-- listSubscriptionsResponse
--
-- , testGetSubscriptionAttributesResponse $
-- getSubscriptionAttributesResponse
--
-- , testCreateTopicResponse $
-- createTopicResponse
--
-- , testSubscribeResponse $
-- subscribeResponse
--
-- , testUnsubscribeResponse $
-- unsubscribeResponse
--
-- , testSetEndpointAttributesResponse $
-- setEndpointAttributesResponse
--
-- , testSetSubscriptionAttributesResponse $
-- setSubscriptionAttributesResponse
--
-- , testConfirmSubscriptionResponse $
-- confirmSubscriptionResponse
--
-- , testPublishResponse $
-- publishResponse
--
-- ]
-- ]
-- Requests
testDeleteEndpoint :: DeleteEndpoint -> TestTree
testDeleteEndpoint = req
"DeleteEndpoint"
"fixture/DeleteEndpoint.yaml"
testRemovePermission :: RemovePermission -> TestTree
testRemovePermission = req
"RemovePermission"
"fixture/RemovePermission.yaml"
testDeleteTopic :: DeleteTopic -> TestTree
testDeleteTopic = req
"DeleteTopic"
"fixture/DeleteTopic.yaml"
testListTopics :: ListTopics -> TestTree
testListTopics = req
"ListTopics"
"fixture/ListTopics.yaml"
testCreatePlatformEndpoint :: CreatePlatformEndpoint -> TestTree
testCreatePlatformEndpoint = req
"CreatePlatformEndpoint"
"fixture/CreatePlatformEndpoint.yaml"
testSetPlatformApplicationAttributes :: SetPlatformApplicationAttributes -> TestTree
testSetPlatformApplicationAttributes = req
"SetPlatformApplicationAttributes"
"fixture/SetPlatformApplicationAttributes.yaml"
testListSubscriptionsByTopic :: ListSubscriptionsByTopic -> TestTree
testListSubscriptionsByTopic = req
"ListSubscriptionsByTopic"
"fixture/ListSubscriptionsByTopic.yaml"
testGetTopicAttributes :: GetTopicAttributes -> TestTree
testGetTopicAttributes = req
"GetTopicAttributes"
"fixture/GetTopicAttributes.yaml"
testCreatePlatformApplication :: CreatePlatformApplication -> TestTree
testCreatePlatformApplication = req
"CreatePlatformApplication"
"fixture/CreatePlatformApplication.yaml"
testGetPlatformApplicationAttributes :: GetPlatformApplicationAttributes -> TestTree
testGetPlatformApplicationAttributes = req
"GetPlatformApplicationAttributes"
"fixture/GetPlatformApplicationAttributes.yaml"
testListEndpointsByPlatformApplication :: ListEndpointsByPlatformApplication -> TestTree
testListEndpointsByPlatformApplication = req
"ListEndpointsByPlatformApplication"
"fixture/ListEndpointsByPlatformApplication.yaml"
testSetTopicAttributes :: SetTopicAttributes -> TestTree
testSetTopicAttributes = req
"SetTopicAttributes"
"fixture/SetTopicAttributes.yaml"
testDeletePlatformApplication :: DeletePlatformApplication -> TestTree
testDeletePlatformApplication = req
"DeletePlatformApplication"
"fixture/DeletePlatformApplication.yaml"
testListPlatformApplications :: ListPlatformApplications -> TestTree
testListPlatformApplications = req
"ListPlatformApplications"
"fixture/ListPlatformApplications.yaml"
testAddPermission :: AddPermission -> TestTree
testAddPermission = req
"AddPermission"
"fixture/AddPermission.yaml"
testGetEndpointAttributes :: GetEndpointAttributes -> TestTree
testGetEndpointAttributes = req
"GetEndpointAttributes"
"fixture/GetEndpointAttributes.yaml"
testListSubscriptions :: ListSubscriptions -> TestTree
testListSubscriptions = req
"ListSubscriptions"
"fixture/ListSubscriptions.yaml"
testGetSubscriptionAttributes :: GetSubscriptionAttributes -> TestTree
testGetSubscriptionAttributes = req
"GetSubscriptionAttributes"
"fixture/GetSubscriptionAttributes.yaml"
testCreateTopic :: CreateTopic -> TestTree
testCreateTopic = req
"CreateTopic"
"fixture/CreateTopic.yaml"
testSubscribe :: Subscribe -> TestTree
testSubscribe = req
"Subscribe"
"fixture/Subscribe.yaml"
testUnsubscribe :: Unsubscribe -> TestTree
testUnsubscribe = req
"Unsubscribe"
"fixture/Unsubscribe.yaml"
testSetEndpointAttributes :: SetEndpointAttributes -> TestTree
testSetEndpointAttributes = req
"SetEndpointAttributes"
"fixture/SetEndpointAttributes.yaml"
testSetSubscriptionAttributes :: SetSubscriptionAttributes -> TestTree
testSetSubscriptionAttributes = req
"SetSubscriptionAttributes"
"fixture/SetSubscriptionAttributes.yaml"
testConfirmSubscription :: ConfirmSubscription -> TestTree
testConfirmSubscription = req
"ConfirmSubscription"
"fixture/ConfirmSubscription.yaml"
testPublish :: Publish -> TestTree
testPublish = req
"Publish"
"fixture/Publish.yaml"
-- Responses
testDeleteEndpointResponse :: DeleteEndpointResponse -> TestTree
testDeleteEndpointResponse = res
"DeleteEndpointResponse"
"fixture/DeleteEndpointResponse.proto"
sns
(Proxy :: Proxy DeleteEndpoint)
testRemovePermissionResponse :: RemovePermissionResponse -> TestTree
testRemovePermissionResponse = res
"RemovePermissionResponse"
"fixture/RemovePermissionResponse.proto"
sns
(Proxy :: Proxy RemovePermission)
testDeleteTopicResponse :: DeleteTopicResponse -> TestTree
testDeleteTopicResponse = res
"DeleteTopicResponse"
"fixture/DeleteTopicResponse.proto"
sns
(Proxy :: Proxy DeleteTopic)
testListTopicsResponse :: ListTopicsResponse -> TestTree
testListTopicsResponse = res
"ListTopicsResponse"
"fixture/ListTopicsResponse.proto"
sns
(Proxy :: Proxy ListTopics)
testCreatePlatformEndpointResponse :: CreatePlatformEndpointResponse -> TestTree
testCreatePlatformEndpointResponse = res
"CreatePlatformEndpointResponse"
"fixture/CreatePlatformEndpointResponse.proto"
sns
(Proxy :: Proxy CreatePlatformEndpoint)
testSetPlatformApplicationAttributesResponse :: SetPlatformApplicationAttributesResponse -> TestTree
testSetPlatformApplicationAttributesResponse = res
"SetPlatformApplicationAttributesResponse"
"fixture/SetPlatformApplicationAttributesResponse.proto"
sns
(Proxy :: Proxy SetPlatformApplicationAttributes)
testListSubscriptionsByTopicResponse :: ListSubscriptionsByTopicResponse -> TestTree
testListSubscriptionsByTopicResponse = res
"ListSubscriptionsByTopicResponse"
"fixture/ListSubscriptionsByTopicResponse.proto"
sns
(Proxy :: Proxy ListSubscriptionsByTopic)
testGetTopicAttributesResponse :: GetTopicAttributesResponse -> TestTree
testGetTopicAttributesResponse = res
"GetTopicAttributesResponse"
"fixture/GetTopicAttributesResponse.proto"
sns
(Proxy :: Proxy GetTopicAttributes)
testCreatePlatformApplicationResponse :: CreatePlatformApplicationResponse -> TestTree
testCreatePlatformApplicationResponse = res
"CreatePlatformApplicationResponse"
"fixture/CreatePlatformApplicationResponse.proto"
sns
(Proxy :: Proxy CreatePlatformApplication)
testGetPlatformApplicationAttributesResponse :: GetPlatformApplicationAttributesResponse -> TestTree
testGetPlatformApplicationAttributesResponse = res
"GetPlatformApplicationAttributesResponse"
"fixture/GetPlatformApplicationAttributesResponse.proto"
sns
(Proxy :: Proxy GetPlatformApplicationAttributes)
testListEndpointsByPlatformApplicationResponse :: ListEndpointsByPlatformApplicationResponse -> TestTree
testListEndpointsByPlatformApplicationResponse = res
"ListEndpointsByPlatformApplicationResponse"
"fixture/ListEndpointsByPlatformApplicationResponse.proto"
sns
(Proxy :: Proxy ListEndpointsByPlatformApplication)
testSetTopicAttributesResponse :: SetTopicAttributesResponse -> TestTree
testSetTopicAttributesResponse = res
"SetTopicAttributesResponse"
"fixture/SetTopicAttributesResponse.proto"
sns
(Proxy :: Proxy SetTopicAttributes)
testDeletePlatformApplicationResponse :: DeletePlatformApplicationResponse -> TestTree
testDeletePlatformApplicationResponse = res
"DeletePlatformApplicationResponse"
"fixture/DeletePlatformApplicationResponse.proto"
sns
(Proxy :: Proxy DeletePlatformApplication)
testListPlatformApplicationsResponse :: ListPlatformApplicationsResponse -> TestTree
testListPlatformApplicationsResponse = res
"ListPlatformApplicationsResponse"
"fixture/ListPlatformApplicationsResponse.proto"
sns
(Proxy :: Proxy ListPlatformApplications)
testAddPermissionResponse :: AddPermissionResponse -> TestTree
testAddPermissionResponse = res
"AddPermissionResponse"
"fixture/AddPermissionResponse.proto"
sns
(Proxy :: Proxy AddPermission)
testGetEndpointAttributesResponse :: GetEndpointAttributesResponse -> TestTree
testGetEndpointAttributesResponse = res
"GetEndpointAttributesResponse"
"fixture/GetEndpointAttributesResponse.proto"
sns
(Proxy :: Proxy GetEndpointAttributes)
testListSubscriptionsResponse :: ListSubscriptionsResponse -> TestTree
testListSubscriptionsResponse = res
"ListSubscriptionsResponse"
"fixture/ListSubscriptionsResponse.proto"
sns
(Proxy :: Proxy ListSubscriptions)
testGetSubscriptionAttributesResponse :: GetSubscriptionAttributesResponse -> TestTree
testGetSubscriptionAttributesResponse = res
"GetSubscriptionAttributesResponse"
"fixture/GetSubscriptionAttributesResponse.proto"
sns
(Proxy :: Proxy GetSubscriptionAttributes)
testCreateTopicResponse :: CreateTopicResponse -> TestTree
testCreateTopicResponse = res
"CreateTopicResponse"
"fixture/CreateTopicResponse.proto"
sns
(Proxy :: Proxy CreateTopic)
testSubscribeResponse :: SubscribeResponse -> TestTree
testSubscribeResponse = res
"SubscribeResponse"
"fixture/SubscribeResponse.proto"
sns
(Proxy :: Proxy Subscribe)
testUnsubscribeResponse :: UnsubscribeResponse -> TestTree
testUnsubscribeResponse = res
"UnsubscribeResponse"
"fixture/UnsubscribeResponse.proto"
sns
(Proxy :: Proxy Unsubscribe)
testSetEndpointAttributesResponse :: SetEndpointAttributesResponse -> TestTree
testSetEndpointAttributesResponse = res
"SetEndpointAttributesResponse"
"fixture/SetEndpointAttributesResponse.proto"
sns
(Proxy :: Proxy SetEndpointAttributes)
testSetSubscriptionAttributesResponse :: SetSubscriptionAttributesResponse -> TestTree
testSetSubscriptionAttributesResponse = res
"SetSubscriptionAttributesResponse"
"fixture/SetSubscriptionAttributesResponse.proto"
sns
(Proxy :: Proxy SetSubscriptionAttributes)
testConfirmSubscriptionResponse :: ConfirmSubscriptionResponse -> TestTree
testConfirmSubscriptionResponse = res
"ConfirmSubscriptionResponse"
"fixture/ConfirmSubscriptionResponse.proto"
sns
(Proxy :: Proxy ConfirmSubscription)
testPublishResponse :: PublishResponse -> TestTree
testPublishResponse = res
"PublishResponse"
"fixture/PublishResponse.proto"
sns
(Proxy :: Proxy Publish)