{-# 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.DynamoDB -- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay -- Stability : auto-generated -- Portability : non-portable (GHC extensions) -- module Test.AWS.Gen.DynamoDB where import Data.Proxy import Test.AWS.Fixture import Test.AWS.Prelude import Test.Tasty import Network.AWS.DynamoDB import Test.AWS.DynamoDB.Internal -- 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" -- [ testPutItem $ -- putItem -- -- , testDeleteItem $ -- deleteItem -- -- , testUpdateItem $ -- updateItem -- -- , testDeleteTable $ -- deleteTable -- -- , testUpdateTable $ -- updateTable -- -- , testBatchGetItem $ -- batchGetItem -- -- , testDescribeTable $ -- describeTable -- -- , testDescribeLimits $ -- describeLimits -- -- , testGetItem $ -- getItem -- -- , testBatchWriteItem $ -- batchWriteItem -- -- , testListTables $ -- listTables -- -- , testScan $ -- scan -- -- , testQuery $ -- query -- -- , testCreateTable $ -- createTable -- -- ] -- , testGroup "response" -- [ testPutItemResponse $ -- putItemResponse -- -- , testDeleteItemResponse $ -- deleteItemResponse -- -- , testUpdateItemResponse $ -- updateItemResponse -- -- , testDeleteTableResponse $ -- deleteTableResponse -- -- , testUpdateTableResponse $ -- updateTableResponse -- -- , testBatchGetItemResponse $ -- batchGetItemResponse -- -- , testDescribeTableResponse $ -- describeTableResponse -- -- , testDescribeLimitsResponse $ -- describeLimitsResponse -- -- , testGetItemResponse $ -- getItemResponse -- -- , testBatchWriteItemResponse $ -- batchWriteItemResponse -- -- , testListTablesResponse $ -- listTablesResponse -- -- , testScanResponse $ -- scanResponse -- -- , testQueryResponse $ -- queryResponse -- -- , testCreateTableResponse $ -- createTableResponse -- -- ] -- ] -- Requests testPutItem :: PutItem -> TestTree testPutItem = req "PutItem" "fixture/PutItem.yaml" testDeleteItem :: DeleteItem -> TestTree testDeleteItem = req "DeleteItem" "fixture/DeleteItem.yaml" testUpdateItem :: UpdateItem -> TestTree testUpdateItem = req "UpdateItem" "fixture/UpdateItem.yaml" testDeleteTable :: DeleteTable -> TestTree testDeleteTable = req "DeleteTable" "fixture/DeleteTable.yaml" testUpdateTable :: UpdateTable -> TestTree testUpdateTable = req "UpdateTable" "fixture/UpdateTable.yaml" testBatchGetItem :: BatchGetItem -> TestTree testBatchGetItem = req "BatchGetItem" "fixture/BatchGetItem.yaml" testDescribeTable :: DescribeTable -> TestTree testDescribeTable = req "DescribeTable" "fixture/DescribeTable.yaml" testDescribeLimits :: DescribeLimits -> TestTree testDescribeLimits = req "DescribeLimits" "fixture/DescribeLimits.yaml" testGetItem :: GetItem -> TestTree testGetItem = req "GetItem" "fixture/GetItem.yaml" testBatchWriteItem :: BatchWriteItem -> TestTree testBatchWriteItem = req "BatchWriteItem" "fixture/BatchWriteItem.yaml" testListTables :: ListTables -> TestTree testListTables = req "ListTables" "fixture/ListTables.yaml" testScan :: Scan -> TestTree testScan = req "Scan" "fixture/Scan.yaml" testQuery :: Query -> TestTree testQuery = req "Query" "fixture/Query.yaml" testCreateTable :: CreateTable -> TestTree testCreateTable = req "CreateTable" "fixture/CreateTable.yaml" -- Responses testPutItemResponse :: PutItemResponse -> TestTree testPutItemResponse = res "PutItemResponse" "fixture/PutItemResponse.proto" dynamoDB (Proxy :: Proxy PutItem) testDeleteItemResponse :: DeleteItemResponse -> TestTree testDeleteItemResponse = res "DeleteItemResponse" "fixture/DeleteItemResponse.proto" dynamoDB (Proxy :: Proxy DeleteItem) testUpdateItemResponse :: UpdateItemResponse -> TestTree testUpdateItemResponse = res "UpdateItemResponse" "fixture/UpdateItemResponse.proto" dynamoDB (Proxy :: Proxy UpdateItem) testDeleteTableResponse :: DeleteTableResponse -> TestTree testDeleteTableResponse = res "DeleteTableResponse" "fixture/DeleteTableResponse.proto" dynamoDB (Proxy :: Proxy DeleteTable) testUpdateTableResponse :: UpdateTableResponse -> TestTree testUpdateTableResponse = res "UpdateTableResponse" "fixture/UpdateTableResponse.proto" dynamoDB (Proxy :: Proxy UpdateTable) testBatchGetItemResponse :: BatchGetItemResponse -> TestTree testBatchGetItemResponse = res "BatchGetItemResponse" "fixture/BatchGetItemResponse.proto" dynamoDB (Proxy :: Proxy BatchGetItem) testDescribeTableResponse :: DescribeTableResponse -> TestTree testDescribeTableResponse = res "DescribeTableResponse" "fixture/DescribeTableResponse.proto" dynamoDB (Proxy :: Proxy DescribeTable) testDescribeLimitsResponse :: DescribeLimitsResponse -> TestTree testDescribeLimitsResponse = res "DescribeLimitsResponse" "fixture/DescribeLimitsResponse.proto" dynamoDB (Proxy :: Proxy DescribeLimits) testGetItemResponse :: GetItemResponse -> TestTree testGetItemResponse = res "GetItemResponse" "fixture/GetItemResponse.proto" dynamoDB (Proxy :: Proxy GetItem) testBatchWriteItemResponse :: BatchWriteItemResponse -> TestTree testBatchWriteItemResponse = res "BatchWriteItemResponse" "fixture/BatchWriteItemResponse.proto" dynamoDB (Proxy :: Proxy BatchWriteItem) testListTablesResponse :: ListTablesResponse -> TestTree testListTablesResponse = res "ListTablesResponse" "fixture/ListTablesResponse.proto" dynamoDB (Proxy :: Proxy ListTables) testScanResponse :: ScanResponse -> TestTree testScanResponse = res "ScanResponse" "fixture/ScanResponse.proto" dynamoDB (Proxy :: Proxy Scan) testQueryResponse :: QueryResponse -> TestTree testQueryResponse = res "QueryResponse" "fixture/QueryResponse.proto" dynamoDB (Proxy :: Proxy Query) testCreateTableResponse :: CreateTableResponse -> TestTree testCreateTableResponse = res "CreateTableResponse" "fixture/CreateTableResponse.proto" dynamoDB (Proxy :: Proxy CreateTable)