{-# 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.AutoScalingPlans -- 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.AutoScalingPlans where import Amazonka.AutoScalingPlans import qualified Data.Proxy as Proxy import Test.Amazonka.AutoScalingPlans.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" -- [ requestCreateScalingPlan $ -- newCreateScalingPlan -- -- , requestDeleteScalingPlan $ -- newDeleteScalingPlan -- -- , requestDescribeScalingPlanResources $ -- newDescribeScalingPlanResources -- -- , requestDescribeScalingPlans $ -- newDescribeScalingPlans -- -- , requestGetScalingPlanResourceForecastData $ -- newGetScalingPlanResourceForecastData -- -- , requestUpdateScalingPlan $ -- newUpdateScalingPlan -- -- ] -- , testGroup "response" -- [ responseCreateScalingPlan $ -- newCreateScalingPlanResponse -- -- , responseDeleteScalingPlan $ -- newDeleteScalingPlanResponse -- -- , responseDescribeScalingPlanResources $ -- newDescribeScalingPlanResourcesResponse -- -- , responseDescribeScalingPlans $ -- newDescribeScalingPlansResponse -- -- , responseGetScalingPlanResourceForecastData $ -- newGetScalingPlanResourceForecastDataResponse -- -- , responseUpdateScalingPlan $ -- newUpdateScalingPlanResponse -- -- ] -- ] -- Requests requestCreateScalingPlan :: CreateScalingPlan -> TestTree requestCreateScalingPlan = req "CreateScalingPlan" "fixture/CreateScalingPlan.yaml" requestDeleteScalingPlan :: DeleteScalingPlan -> TestTree requestDeleteScalingPlan = req "DeleteScalingPlan" "fixture/DeleteScalingPlan.yaml" requestDescribeScalingPlanResources :: DescribeScalingPlanResources -> TestTree requestDescribeScalingPlanResources = req "DescribeScalingPlanResources" "fixture/DescribeScalingPlanResources.yaml" requestDescribeScalingPlans :: DescribeScalingPlans -> TestTree requestDescribeScalingPlans = req "DescribeScalingPlans" "fixture/DescribeScalingPlans.yaml" requestGetScalingPlanResourceForecastData :: GetScalingPlanResourceForecastData -> TestTree requestGetScalingPlanResourceForecastData = req "GetScalingPlanResourceForecastData" "fixture/GetScalingPlanResourceForecastData.yaml" requestUpdateScalingPlan :: UpdateScalingPlan -> TestTree requestUpdateScalingPlan = req "UpdateScalingPlan" "fixture/UpdateScalingPlan.yaml" -- Responses responseCreateScalingPlan :: CreateScalingPlanResponse -> TestTree responseCreateScalingPlan = res "CreateScalingPlanResponse" "fixture/CreateScalingPlanResponse.proto" defaultService (Proxy.Proxy :: Proxy.Proxy CreateScalingPlan) responseDeleteScalingPlan :: DeleteScalingPlanResponse -> TestTree responseDeleteScalingPlan = res "DeleteScalingPlanResponse" "fixture/DeleteScalingPlanResponse.proto" defaultService (Proxy.Proxy :: Proxy.Proxy DeleteScalingPlan) responseDescribeScalingPlanResources :: DescribeScalingPlanResourcesResponse -> TestTree responseDescribeScalingPlanResources = res "DescribeScalingPlanResourcesResponse" "fixture/DescribeScalingPlanResourcesResponse.proto" defaultService (Proxy.Proxy :: Proxy.Proxy DescribeScalingPlanResources) responseDescribeScalingPlans :: DescribeScalingPlansResponse -> TestTree responseDescribeScalingPlans = res "DescribeScalingPlansResponse" "fixture/DescribeScalingPlansResponse.proto" defaultService (Proxy.Proxy :: Proxy.Proxy DescribeScalingPlans) responseGetScalingPlanResourceForecastData :: GetScalingPlanResourceForecastDataResponse -> TestTree responseGetScalingPlanResourceForecastData = res "GetScalingPlanResourceForecastDataResponse" "fixture/GetScalingPlanResourceForecastDataResponse.proto" defaultService (Proxy.Proxy :: Proxy.Proxy GetScalingPlanResourceForecastData) responseUpdateScalingPlan :: UpdateScalingPlanResponse -> TestTree responseUpdateScalingPlan = res "UpdateScalingPlanResponse" "fixture/UpdateScalingPlanResponse.proto" defaultService (Proxy.Proxy :: Proxy.Proxy UpdateScalingPlan)