{-# OPTIONS_GHC -fno-warn-orphans #-} {-# OPTIONS_GHC -fno-warn-unused-imports #-} -- Derived from AWS service descriptions, licensed under Apache 2.0. -- | -- Module : Test.Amazonka.Gen.APIGatewayManagementAPI -- Copyright : (c) 2013-2023 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay -- Stability : auto-generated -- Portability : non-portable (GHC extensions) module Test.Amazonka.Gen.APIGatewayManagementAPI where import Amazonka.APIGatewayManagementAPI import qualified Data.Proxy as Proxy import Test.Amazonka.APIGatewayManagementAPI.Internal import Test.Amazonka.Fixture import Test.Amazonka.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" -- [ requestDeleteConnection $ -- newDeleteConnection -- -- , requestGetConnection $ -- newGetConnection -- -- , requestPostToConnection $ -- newPostToConnection -- -- ] -- , testGroup "response" -- [ responseDeleteConnection $ -- newDeleteConnectionResponse -- -- , responseGetConnection $ -- newGetConnectionResponse -- -- , responsePostToConnection $ -- newPostToConnectionResponse -- -- ] -- ] -- Requests requestDeleteConnection :: DeleteConnection -> TestTree requestDeleteConnection = req "DeleteConnection" "fixture/DeleteConnection.yaml" requestGetConnection :: GetConnection -> TestTree requestGetConnection = req "GetConnection" "fixture/GetConnection.yaml" requestPostToConnection :: PostToConnection -> TestTree requestPostToConnection = req "PostToConnection" "fixture/PostToConnection.yaml" -- Responses responseDeleteConnection :: DeleteConnectionResponse -> TestTree responseDeleteConnection = res "DeleteConnectionResponse" "fixture/DeleteConnectionResponse.proto" defaultService (Proxy.Proxy :: Proxy.Proxy DeleteConnection) responseGetConnection :: GetConnectionResponse -> TestTree responseGetConnection = res "GetConnectionResponse" "fixture/GetConnectionResponse.proto" defaultService (Proxy.Proxy :: Proxy.Proxy GetConnection) responsePostToConnection :: PostToConnectionResponse -> TestTree responsePostToConnection = res "PostToConnectionResponse" "fixture/PostToConnectionResponse.proto" defaultService (Proxy.Proxy :: Proxy.Proxy PostToConnection)