packages feed

amazonka-sagemaker-runtime-1.6.0: test/Test/AWS/Gen/SageMakerRuntime.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.SageMakerRuntime
-- Copyright   : (c) 2013-2018 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
--
module Test.AWS.Gen.SageMakerRuntime where

import Data.Proxy
import Network.AWS.SageMakerRuntime
import Test.AWS.Fixture
import Test.AWS.Prelude
import Test.AWS.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 $
--             invokeEndpoint
--
--           ]

--     , testGroup "response"
--         [ responseInvokeEndpoint $
--             invokeEndpointResponse
--
--           ]
--     ]

-- Requests

requestInvokeEndpoint :: InvokeEndpoint -> TestTree
requestInvokeEndpoint = req
    "InvokeEndpoint"
    "fixture/InvokeEndpoint.yaml"

-- Responses

responseInvokeEndpoint :: InvokeEndpointResponse -> TestTree
responseInvokeEndpoint = res
    "InvokeEndpointResponse"
    "fixture/InvokeEndpointResponse.proto"
    sageMakerRuntime
    (Proxy :: Proxy InvokeEndpoint)