summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBrendanHay <>2017-11-15 08:22:00 (GMT)
committerhdiff <hdiff@hdiff.luite.com>2017-11-15 08:22:00 (GMT)
commit359dbe1baa676737237474b1da54f05cf5c665e1 (patch)
tree4764abf1fc8fed5b6d8c2309f3ac7201ef35c1da /test
parent4847cf9cd367e313b277d434574d49aff36e9ccc (diff)
version 1.5.01.5.0
Diffstat (limited to 'test')
-rw-r--r--test/Main.hs4
-rw-r--r--test/Test/AWS/Gen/Discovery.hs196
2 files changed, 163 insertions, 37 deletions
diff --git a/test/Main.hs b/test/Main.hs
index 421bcbc..6dfeeb9 100644
--- a/test/Main.hs
+++ b/test/Main.hs
@@ -2,9 +2,9 @@
-- |
-- Module : Main
--- Copyright : (c) 2013-2016 Brendan Hay
+-- Copyright : (c) 2013-2017 Brendan Hay
-- License : Mozilla Public License, v. 2.0.
--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>
-- Stability : auto-generated
-- Portability : non-portable (GHC extensions)
--
diff --git a/test/Test/AWS/Gen/Discovery.hs b/test/Test/AWS/Gen/Discovery.hs
index 1957229..66c16d9 100644
--- a/test/Test/AWS/Gen/Discovery.hs
+++ b/test/Test/AWS/Gen/Discovery.hs
@@ -5,20 +5,20 @@
-- |
-- Module : Test.AWS.Gen.Discovery
--- Copyright : (c) 2013-2016 Brendan Hay
+-- Copyright : (c) 2013-2017 Brendan Hay
-- License : Mozilla Public License, v. 2.0.
--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>
-- Stability : auto-generated
-- Portability : non-portable (GHC extensions)
--
module Test.AWS.Gen.Discovery where
import Data.Proxy
+import Network.AWS.Discovery
+import Test.AWS.Discovery.Internal
import Test.AWS.Fixture
import Test.AWS.Prelude
import Test.Tasty
-import Network.AWS.Discovery
-import Test.AWS.Discovery.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.
@@ -31,9 +31,6 @@ import Test.AWS.Discovery.Internal
-- [ requestDescribeTags $
-- describeTags
--
--- , requestExportConfigurations $
--- exportConfigurations
---
-- , requestStopDataCollectionByAgentIds $
-- stopDataCollectionByAgentIds
--
@@ -43,30 +40,51 @@ import Test.AWS.Discovery.Internal
-- , requestDeleteTags $
-- deleteTags
--
+-- , requestDeleteApplications $
+-- deleteApplications
+--
+-- , requestUpdateApplication $
+-- updateApplication
+--
-- , requestDescribeConfigurations $
-- describeConfigurations
--
+-- , requestCreateApplication $
+-- createApplication
+--
-- , requestListConfigurations $
-- listConfigurations
--
-- , requestDescribeAgents $
-- describeAgents
--
--- , requestDescribeExportConfigurations $
--- describeExportConfigurations
+-- , requestDescribeExportTasks $
+-- describeExportTasks
--
-- , requestStartDataCollectionByAgentIds $
-- startDataCollectionByAgentIds
--
+-- , requestGetDiscoverySummary $
+-- getDiscoverySummary
+--
+-- , requestDisassociateConfigurationItemsFromApplication $
+-- disassociateConfigurationItemsFromApplication
+--
+-- , requestAssociateConfigurationItemsToApplication $
+-- associateConfigurationItemsToApplication
+--
+-- , requestListServerNeighbors $
+-- listServerNeighbors
+--
+-- , requestStartExportTask $
+-- startExportTask
+--
-- ]
-- , testGroup "response"
-- [ responseDescribeTags $
-- describeTagsResponse
--
--- , responseExportConfigurations $
--- exportConfigurationsResponse
---
-- , responseStopDataCollectionByAgentIds $
-- stopDataCollectionByAgentIdsResponse
--
@@ -76,21 +94,45 @@ import Test.AWS.Discovery.Internal
-- , responseDeleteTags $
-- deleteTagsResponse
--
+-- , responseDeleteApplications $
+-- deleteApplicationsResponse
+--
+-- , responseUpdateApplication $
+-- updateApplicationResponse
+--
-- , responseDescribeConfigurations $
-- describeConfigurationsResponse
--
+-- , responseCreateApplication $
+-- createApplicationResponse
+--
-- , responseListConfigurations $
-- listConfigurationsResponse
--
-- , responseDescribeAgents $
-- describeAgentsResponse
--
--- , responseDescribeExportConfigurations $
--- describeExportConfigurationsResponse
+-- , responseDescribeExportTasks $
+-- describeExportTasksResponse
--
-- , responseStartDataCollectionByAgentIds $
-- startDataCollectionByAgentIdsResponse
--
+-- , responseGetDiscoverySummary $
+-- getDiscoverySummaryResponse
+--
+-- , responseDisassociateConfigurationItemsFromApplication $
+-- disassociateConfigurationItemsFromApplicationResponse
+--
+-- , responseAssociateConfigurationItemsToApplication $
+-- associateConfigurationItemsToApplicationResponse
+--
+-- , responseListServerNeighbors $
+-- listServerNeighborsResponse
+--
+-- , responseStartExportTask $
+-- startExportTaskResponse
+--
-- ]
-- ]
@@ -101,11 +143,6 @@ requestDescribeTags = req
"DescribeTags"
"fixture/DescribeTags.yaml"
-requestExportConfigurations :: ExportConfigurations -> TestTree
-requestExportConfigurations = req
- "ExportConfigurations"
- "fixture/ExportConfigurations.yaml"
-
requestStopDataCollectionByAgentIds :: StopDataCollectionByAgentIds -> TestTree
requestStopDataCollectionByAgentIds = req
"StopDataCollectionByAgentIds"
@@ -121,11 +158,26 @@ requestDeleteTags = req
"DeleteTags"
"fixture/DeleteTags.yaml"
+requestDeleteApplications :: DeleteApplications -> TestTree
+requestDeleteApplications = req
+ "DeleteApplications"
+ "fixture/DeleteApplications.yaml"
+
+requestUpdateApplication :: UpdateApplication -> TestTree
+requestUpdateApplication = req
+ "UpdateApplication"
+ "fixture/UpdateApplication.yaml"
+
requestDescribeConfigurations :: DescribeConfigurations -> TestTree
requestDescribeConfigurations = req
"DescribeConfigurations"
"fixture/DescribeConfigurations.yaml"
+requestCreateApplication :: CreateApplication -> TestTree
+requestCreateApplication = req
+ "CreateApplication"
+ "fixture/CreateApplication.yaml"
+
requestListConfigurations :: ListConfigurations -> TestTree
requestListConfigurations = req
"ListConfigurations"
@@ -136,16 +188,41 @@ requestDescribeAgents = req
"DescribeAgents"
"fixture/DescribeAgents.yaml"
-requestDescribeExportConfigurations :: DescribeExportConfigurations -> TestTree
-requestDescribeExportConfigurations = req
- "DescribeExportConfigurations"
- "fixture/DescribeExportConfigurations.yaml"
+requestDescribeExportTasks :: DescribeExportTasks -> TestTree
+requestDescribeExportTasks = req
+ "DescribeExportTasks"
+ "fixture/DescribeExportTasks.yaml"
requestStartDataCollectionByAgentIds :: StartDataCollectionByAgentIds -> TestTree
requestStartDataCollectionByAgentIds = req
"StartDataCollectionByAgentIds"
"fixture/StartDataCollectionByAgentIds.yaml"
+requestGetDiscoverySummary :: GetDiscoverySummary -> TestTree
+requestGetDiscoverySummary = req
+ "GetDiscoverySummary"
+ "fixture/GetDiscoverySummary.yaml"
+
+requestDisassociateConfigurationItemsFromApplication :: DisassociateConfigurationItemsFromApplication -> TestTree
+requestDisassociateConfigurationItemsFromApplication = req
+ "DisassociateConfigurationItemsFromApplication"
+ "fixture/DisassociateConfigurationItemsFromApplication.yaml"
+
+requestAssociateConfigurationItemsToApplication :: AssociateConfigurationItemsToApplication -> TestTree
+requestAssociateConfigurationItemsToApplication = req
+ "AssociateConfigurationItemsToApplication"
+ "fixture/AssociateConfigurationItemsToApplication.yaml"
+
+requestListServerNeighbors :: ListServerNeighbors -> TestTree
+requestListServerNeighbors = req
+ "ListServerNeighbors"
+ "fixture/ListServerNeighbors.yaml"
+
+requestStartExportTask :: StartExportTask -> TestTree
+requestStartExportTask = req
+ "StartExportTask"
+ "fixture/StartExportTask.yaml"
+
-- Responses
responseDescribeTags :: DescribeTagsResponse -> TestTree
@@ -155,13 +232,6 @@ responseDescribeTags = res
discovery
(Proxy :: Proxy DescribeTags)
-responseExportConfigurations :: ExportConfigurationsResponse -> TestTree
-responseExportConfigurations = res
- "ExportConfigurationsResponse"
- "fixture/ExportConfigurationsResponse.proto"
- discovery
- (Proxy :: Proxy ExportConfigurations)
-
responseStopDataCollectionByAgentIds :: StopDataCollectionByAgentIdsResponse -> TestTree
responseStopDataCollectionByAgentIds = res
"StopDataCollectionByAgentIdsResponse"
@@ -183,6 +253,20 @@ responseDeleteTags = res
discovery
(Proxy :: Proxy DeleteTags)
+responseDeleteApplications :: DeleteApplicationsResponse -> TestTree
+responseDeleteApplications = res
+ "DeleteApplicationsResponse"
+ "fixture/DeleteApplicationsResponse.proto"
+ discovery
+ (Proxy :: Proxy DeleteApplications)
+
+responseUpdateApplication :: UpdateApplicationResponse -> TestTree
+responseUpdateApplication = res
+ "UpdateApplicationResponse"
+ "fixture/UpdateApplicationResponse.proto"
+ discovery
+ (Proxy :: Proxy UpdateApplication)
+
responseDescribeConfigurations :: DescribeConfigurationsResponse -> TestTree
responseDescribeConfigurations = res
"DescribeConfigurationsResponse"
@@ -190,6 +274,13 @@ responseDescribeConfigurations = res
discovery
(Proxy :: Proxy DescribeConfigurations)
+responseCreateApplication :: CreateApplicationResponse -> TestTree
+responseCreateApplication = res
+ "CreateApplicationResponse"
+ "fixture/CreateApplicationResponse.proto"
+ discovery
+ (Proxy :: Proxy CreateApplication)
+
responseListConfigurations :: ListConfigurationsResponse -> TestTree
responseListConfigurations = res
"ListConfigurationsResponse"
@@ -204,12 +295,12 @@ responseDescribeAgents = res
discovery
(Proxy :: Proxy DescribeAgents)
-responseDescribeExportConfigurations :: DescribeExportConfigurationsResponse -> TestTree
-responseDescribeExportConfigurations = res
- "DescribeExportConfigurationsResponse"
- "fixture/DescribeExportConfigurationsResponse.proto"
+responseDescribeExportTasks :: DescribeExportTasksResponse -> TestTree
+responseDescribeExportTasks = res
+ "DescribeExportTasksResponse"
+ "fixture/DescribeExportTasksResponse.proto"
discovery
- (Proxy :: Proxy DescribeExportConfigurations)
+ (Proxy :: Proxy DescribeExportTasks)
responseStartDataCollectionByAgentIds :: StartDataCollectionByAgentIdsResponse -> TestTree
responseStartDataCollectionByAgentIds = res
@@ -217,3 +308,38 @@ responseStartDataCollectionByAgentIds = res
"fixture/StartDataCollectionByAgentIdsResponse.proto"
discovery
(Proxy :: Proxy StartDataCollectionByAgentIds)
+
+responseGetDiscoverySummary :: GetDiscoverySummaryResponse -> TestTree
+responseGetDiscoverySummary = res
+ "GetDiscoverySummaryResponse"
+ "fixture/GetDiscoverySummaryResponse.proto"
+ discovery
+ (Proxy :: Proxy GetDiscoverySummary)
+
+responseDisassociateConfigurationItemsFromApplication :: DisassociateConfigurationItemsFromApplicationResponse -> TestTree
+responseDisassociateConfigurationItemsFromApplication = res
+ "DisassociateConfigurationItemsFromApplicationResponse"
+ "fixture/DisassociateConfigurationItemsFromApplicationResponse.proto"
+ discovery
+ (Proxy :: Proxy DisassociateConfigurationItemsFromApplication)
+
+responseAssociateConfigurationItemsToApplication :: AssociateConfigurationItemsToApplicationResponse -> TestTree
+responseAssociateConfigurationItemsToApplication = res
+ "AssociateConfigurationItemsToApplicationResponse"
+ "fixture/AssociateConfigurationItemsToApplicationResponse.proto"
+ discovery
+ (Proxy :: Proxy AssociateConfigurationItemsToApplication)
+
+responseListServerNeighbors :: ListServerNeighborsResponse -> TestTree
+responseListServerNeighbors = res
+ "ListServerNeighborsResponse"
+ "fixture/ListServerNeighborsResponse.proto"
+ discovery
+ (Proxy :: Proxy ListServerNeighbors)
+
+responseStartExportTask :: StartExportTaskResponse -> TestTree
+responseStartExportTask = res
+ "StartExportTaskResponse"
+ "fixture/StartExportTaskResponse.proto"
+ discovery
+ (Proxy :: Proxy StartExportTask)