packages feed

amazonka-kinesis-video-archived-media-1.6.0: test/Test/AWS/Gen/KinesisVideoArchivedMedia.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.KinesisVideoArchivedMedia
-- 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.KinesisVideoArchivedMedia where

import Data.Proxy
import Network.AWS.KinesisVideoArchivedMedia
import Test.AWS.Fixture
import Test.AWS.KinesisVideoArchivedMedia.Internal
import Test.AWS.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"
--         [ requestGetMediaForFragmentList $
--             getMediaForFragmentList
--
--         , requestListFragments $
--             listFragments
--
--           ]

--     , testGroup "response"
--         [ responseGetMediaForFragmentList $
--             getMediaForFragmentListResponse
--
--         , responseListFragments $
--             listFragmentsResponse
--
--           ]
--     ]

-- Requests

requestGetMediaForFragmentList :: GetMediaForFragmentList -> TestTree
requestGetMediaForFragmentList = req
    "GetMediaForFragmentList"
    "fixture/GetMediaForFragmentList.yaml"

requestListFragments :: ListFragments -> TestTree
requestListFragments = req
    "ListFragments"
    "fixture/ListFragments.yaml"

-- Responses

responseListFragments :: ListFragmentsResponse -> TestTree
responseListFragments = res
    "ListFragmentsResponse"
    "fixture/ListFragmentsResponse.proto"
    kinesisVideoArchivedMedia
    (Proxy :: Proxy ListFragments)