{-# 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.SageMakerRuntime
-- 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.SageMakerRuntime where
import Amazonka.SageMakerRuntime
import qualified Data.Proxy as Proxy
import Test.Amazonka.Fixture
import Test.Amazonka.Prelude
import Test.Amazonka.SageMakerRuntime.Internal
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"
-- [ requestInvokeEndpoint $
-- newInvokeEndpoint
--
-- , requestInvokeEndpointAsync $
-- newInvokeEndpointAsync
--
-- ]
-- , testGroup "response"
-- [ responseInvokeEndpoint $
-- newInvokeEndpointResponse
--
-- , responseInvokeEndpointAsync $
-- newInvokeEndpointAsyncResponse
--
-- ]
-- ]
-- Requests
requestInvokeEndpoint :: InvokeEndpoint -> TestTree
requestInvokeEndpoint =
req
"InvokeEndpoint"
"fixture/InvokeEndpoint.yaml"
requestInvokeEndpointAsync :: InvokeEndpointAsync -> TestTree
requestInvokeEndpointAsync =
req
"InvokeEndpointAsync"
"fixture/InvokeEndpointAsync.yaml"
-- Responses
responseInvokeEndpoint :: InvokeEndpointResponse -> TestTree
responseInvokeEndpoint =
res
"InvokeEndpointResponse"
"fixture/InvokeEndpointResponse.proto"
defaultService
(Proxy.Proxy :: Proxy.Proxy InvokeEndpoint)
responseInvokeEndpointAsync :: InvokeEndpointAsyncResponse -> TestTree
responseInvokeEndpointAsync =
res
"InvokeEndpointAsyncResponse"
"fixture/InvokeEndpointAsyncResponse.proto"
defaultService
(Proxy.Proxy :: Proxy.Proxy InvokeEndpointAsync)