{-# 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.DynamoDBStreams -- 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.DynamoDBStreams where import Amazonka.DynamoDBStreams import qualified Data.Proxy as Proxy import Test.Amazonka.DynamoDBStreams.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" -- [ requestDescribeStream $ -- newDescribeStream -- -- , requestGetRecords $ -- newGetRecords -- -- , requestGetShardIterator $ -- newGetShardIterator -- -- , requestListStreams $ -- newListStreams -- -- ] -- , testGroup "response" -- [ responseDescribeStream $ -- newDescribeStreamResponse -- -- , responseGetRecords $ -- newGetRecordsResponse -- -- , responseGetShardIterator $ -- newGetShardIteratorResponse -- -- , responseListStreams $ -- newListStreamsResponse -- -- ] -- ] -- Requests requestDescribeStream :: DescribeStream -> TestTree requestDescribeStream = req "DescribeStream" "fixture/DescribeStream.yaml" requestGetRecords :: GetRecords -> TestTree requestGetRecords = req "GetRecords" "fixture/GetRecords.yaml" requestGetShardIterator :: GetShardIterator -> TestTree requestGetShardIterator = req "GetShardIterator" "fixture/GetShardIterator.yaml" requestListStreams :: ListStreams -> TestTree requestListStreams = req "ListStreams" "fixture/ListStreams.yaml" -- Responses responseDescribeStream :: DescribeStreamResponse -> TestTree responseDescribeStream = res "DescribeStreamResponse" "fixture/DescribeStreamResponse.proto" defaultService (Proxy.Proxy :: Proxy.Proxy DescribeStream) responseGetRecords :: GetRecordsResponse -> TestTree responseGetRecords = res "GetRecordsResponse" "fixture/GetRecordsResponse.proto" defaultService (Proxy.Proxy :: Proxy.Proxy GetRecords) responseGetShardIterator :: GetShardIteratorResponse -> TestTree responseGetShardIterator = res "GetShardIteratorResponse" "fixture/GetShardIteratorResponse.proto" defaultService (Proxy.Proxy :: Proxy.Proxy GetShardIterator) responseListStreams :: ListStreamsResponse -> TestTree responseListStreams = res "ListStreamsResponse" "fixture/ListStreamsResponse.proto" defaultService (Proxy.Proxy :: Proxy.Proxy ListStreams)