{-# 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.ELBV2 -- 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.ELBV2 where import Amazonka.ELBV2 import qualified Data.Proxy as Proxy import Test.Amazonka.ELBV2.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" -- [ requestAddListenerCertificates $ -- newAddListenerCertificates -- -- , requestAddTags $ -- newAddTags -- -- , requestCreateListener $ -- newCreateListener -- -- , requestCreateLoadBalancer $ -- newCreateLoadBalancer -- -- , requestCreateRule $ -- newCreateRule -- -- , requestCreateTargetGroup $ -- newCreateTargetGroup -- -- , requestDeleteListener $ -- newDeleteListener -- -- , requestDeleteLoadBalancer $ -- newDeleteLoadBalancer -- -- , requestDeleteRule $ -- newDeleteRule -- -- , requestDeleteTargetGroup $ -- newDeleteTargetGroup -- -- , requestDeregisterTargets $ -- newDeregisterTargets -- -- , requestDescribeAccountLimits $ -- newDescribeAccountLimits -- -- , requestDescribeListenerCertificates $ -- newDescribeListenerCertificates -- -- , requestDescribeListeners $ -- newDescribeListeners -- -- , requestDescribeLoadBalancerAttributes $ -- newDescribeLoadBalancerAttributes -- -- , requestDescribeLoadBalancers $ -- newDescribeLoadBalancers -- -- , requestDescribeRules $ -- newDescribeRules -- -- , requestDescribeSSLPolicies $ -- newDescribeSSLPolicies -- -- , requestDescribeTags $ -- newDescribeTags -- -- , requestDescribeTargetGroupAttributes $ -- newDescribeTargetGroupAttributes -- -- , requestDescribeTargetGroups $ -- newDescribeTargetGroups -- -- , requestDescribeTargetHealth $ -- newDescribeTargetHealth -- -- , requestModifyListener $ -- newModifyListener -- -- , requestModifyLoadBalancerAttributes $ -- newModifyLoadBalancerAttributes -- -- , requestModifyRule $ -- newModifyRule -- -- , requestModifyTargetGroup $ -- newModifyTargetGroup -- -- , requestModifyTargetGroupAttributes $ -- newModifyTargetGroupAttributes -- -- , requestRegisterTargets $ -- newRegisterTargets -- -- , requestRemoveListenerCertificates $ -- newRemoveListenerCertificates -- -- , requestRemoveTags $ -- newRemoveTags -- -- , requestSetIpAddressType $ -- newSetIpAddressType -- -- , requestSetRulePriorities $ -- newSetRulePriorities -- -- , requestSetSecurityGroups $ -- newSetSecurityGroups -- -- , requestSetSubnets $ -- newSetSubnets -- -- ] -- , testGroup "response" -- [ responseAddListenerCertificates $ -- newAddListenerCertificatesResponse -- -- , responseAddTags $ -- newAddTagsResponse -- -- , responseCreateListener $ -- newCreateListenerResponse -- -- , responseCreateLoadBalancer $ -- newCreateLoadBalancerResponse -- -- , responseCreateRule $ -- newCreateRuleResponse -- -- , responseCreateTargetGroup $ -- newCreateTargetGroupResponse -- -- , responseDeleteListener $ -- newDeleteListenerResponse -- -- , responseDeleteLoadBalancer $ -- newDeleteLoadBalancerResponse -- -- , responseDeleteRule $ -- newDeleteRuleResponse -- -- , responseDeleteTargetGroup $ -- newDeleteTargetGroupResponse -- -- , responseDeregisterTargets $ -- newDeregisterTargetsResponse -- -- , responseDescribeAccountLimits $ -- newDescribeAccountLimitsResponse -- -- , responseDescribeListenerCertificates $ -- newDescribeListenerCertificatesResponse -- -- , responseDescribeListeners $ -- newDescribeListenersResponse -- -- , responseDescribeLoadBalancerAttributes $ -- newDescribeLoadBalancerAttributesResponse -- -- , responseDescribeLoadBalancers $ -- newDescribeLoadBalancersResponse -- -- , responseDescribeRules $ -- newDescribeRulesResponse -- -- , responseDescribeSSLPolicies $ -- newDescribeSSLPoliciesResponse -- -- , responseDescribeTags $ -- newDescribeTagsResponse -- -- , responseDescribeTargetGroupAttributes $ -- newDescribeTargetGroupAttributesResponse -- -- , responseDescribeTargetGroups $ -- newDescribeTargetGroupsResponse -- -- , responseDescribeTargetHealth $ -- newDescribeTargetHealthResponse -- -- , responseModifyListener $ -- newModifyListenerResponse -- -- , responseModifyLoadBalancerAttributes $ -- newModifyLoadBalancerAttributesResponse -- -- , responseModifyRule $ -- newModifyRuleResponse -- -- , responseModifyTargetGroup $ -- newModifyTargetGroupResponse -- -- , responseModifyTargetGroupAttributes $ -- newModifyTargetGroupAttributesResponse -- -- , responseRegisterTargets $ -- newRegisterTargetsResponse -- -- , responseRemoveListenerCertificates $ -- newRemoveListenerCertificatesResponse -- -- , responseRemoveTags $ -- newRemoveTagsResponse -- -- , responseSetIpAddressType $ -- newSetIpAddressTypeResponse -- -- , responseSetRulePriorities $ -- newSetRulePrioritiesResponse -- -- , responseSetSecurityGroups $ -- newSetSecurityGroupsResponse -- -- , responseSetSubnets $ -- newSetSubnetsResponse -- -- ] -- ] -- Requests requestAddListenerCertificates :: AddListenerCertificates -> TestTree requestAddListenerCertificates = req "AddListenerCertificates" "fixture/AddListenerCertificates.yaml" requestAddTags :: AddTags -> TestTree requestAddTags = req "AddTags" "fixture/AddTags.yaml" requestCreateListener :: CreateListener -> TestTree requestCreateListener = req "CreateListener" "fixture/CreateListener.yaml" requestCreateLoadBalancer :: CreateLoadBalancer -> TestTree requestCreateLoadBalancer = req "CreateLoadBalancer" "fixture/CreateLoadBalancer.yaml" requestCreateRule :: CreateRule -> TestTree requestCreateRule = req "CreateRule" "fixture/CreateRule.yaml" requestCreateTargetGroup :: CreateTargetGroup -> TestTree requestCreateTargetGroup = req "CreateTargetGroup" "fixture/CreateTargetGroup.yaml" requestDeleteListener :: DeleteListener -> TestTree requestDeleteListener = req "DeleteListener" "fixture/DeleteListener.yaml" requestDeleteLoadBalancer :: DeleteLoadBalancer -> TestTree requestDeleteLoadBalancer = req "DeleteLoadBalancer" "fixture/DeleteLoadBalancer.yaml" requestDeleteRule :: DeleteRule -> TestTree requestDeleteRule = req "DeleteRule" "fixture/DeleteRule.yaml" requestDeleteTargetGroup :: DeleteTargetGroup -> TestTree requestDeleteTargetGroup = req "DeleteTargetGroup" "fixture/DeleteTargetGroup.yaml" requestDeregisterTargets :: DeregisterTargets -> TestTree requestDeregisterTargets = req "DeregisterTargets" "fixture/DeregisterTargets.yaml" requestDescribeAccountLimits :: DescribeAccountLimits -> TestTree requestDescribeAccountLimits = req "DescribeAccountLimits" "fixture/DescribeAccountLimits.yaml" requestDescribeListenerCertificates :: DescribeListenerCertificates -> TestTree requestDescribeListenerCertificates = req "DescribeListenerCertificates" "fixture/DescribeListenerCertificates.yaml" requestDescribeListeners :: DescribeListeners -> TestTree requestDescribeListeners = req "DescribeListeners" "fixture/DescribeListeners.yaml" requestDescribeLoadBalancerAttributes :: DescribeLoadBalancerAttributes -> TestTree requestDescribeLoadBalancerAttributes = req "DescribeLoadBalancerAttributes" "fixture/DescribeLoadBalancerAttributes.yaml" requestDescribeLoadBalancers :: DescribeLoadBalancers -> TestTree requestDescribeLoadBalancers = req "DescribeLoadBalancers" "fixture/DescribeLoadBalancers.yaml" requestDescribeRules :: DescribeRules -> TestTree requestDescribeRules = req "DescribeRules" "fixture/DescribeRules.yaml" requestDescribeSSLPolicies :: DescribeSSLPolicies -> TestTree requestDescribeSSLPolicies = req "DescribeSSLPolicies" "fixture/DescribeSSLPolicies.yaml" requestDescribeTags :: DescribeTags -> TestTree requestDescribeTags = req "DescribeTags" "fixture/DescribeTags.yaml" requestDescribeTargetGroupAttributes :: DescribeTargetGroupAttributes -> TestTree requestDescribeTargetGroupAttributes = req "DescribeTargetGroupAttributes" "fixture/DescribeTargetGroupAttributes.yaml" requestDescribeTargetGroups :: DescribeTargetGroups -> TestTree requestDescribeTargetGroups = req "DescribeTargetGroups" "fixture/DescribeTargetGroups.yaml" requestDescribeTargetHealth :: DescribeTargetHealth -> TestTree requestDescribeTargetHealth = req "DescribeTargetHealth" "fixture/DescribeTargetHealth.yaml" requestModifyListener :: ModifyListener -> TestTree requestModifyListener = req "ModifyListener" "fixture/ModifyListener.yaml" requestModifyLoadBalancerAttributes :: ModifyLoadBalancerAttributes -> TestTree requestModifyLoadBalancerAttributes = req "ModifyLoadBalancerAttributes" "fixture/ModifyLoadBalancerAttributes.yaml" requestModifyRule :: ModifyRule -> TestTree requestModifyRule = req "ModifyRule" "fixture/ModifyRule.yaml" requestModifyTargetGroup :: ModifyTargetGroup -> TestTree requestModifyTargetGroup = req "ModifyTargetGroup" "fixture/ModifyTargetGroup.yaml" requestModifyTargetGroupAttributes :: ModifyTargetGroupAttributes -> TestTree requestModifyTargetGroupAttributes = req "ModifyTargetGroupAttributes" "fixture/ModifyTargetGroupAttributes.yaml" requestRegisterTargets :: RegisterTargets -> TestTree requestRegisterTargets = req "RegisterTargets" "fixture/RegisterTargets.yaml" requestRemoveListenerCertificates :: RemoveListenerCertificates -> TestTree requestRemoveListenerCertificates = req "RemoveListenerCertificates" "fixture/RemoveListenerCertificates.yaml" requestRemoveTags :: RemoveTags -> TestTree requestRemoveTags = req "RemoveTags" "fixture/RemoveTags.yaml" requestSetIpAddressType :: SetIpAddressType -> TestTree requestSetIpAddressType = req "SetIpAddressType" "fixture/SetIpAddressType.yaml" requestSetRulePriorities :: SetRulePriorities -> TestTree requestSetRulePriorities = req "SetRulePriorities" "fixture/SetRulePriorities.yaml" requestSetSecurityGroups :: SetSecurityGroups -> TestTree requestSetSecurityGroups = req "SetSecurityGroups" "fixture/SetSecurityGroups.yaml" requestSetSubnets :: SetSubnets -> TestTree requestSetSubnets = req "SetSubnets" "fixture/SetSubnets.yaml" -- Responses responseAddListenerCertificates :: AddListenerCertificatesResponse -> TestTree responseAddListenerCertificates = res "AddListenerCertificatesResponse" "fixture/AddListenerCertificatesResponse.proto" defaultService (Proxy.Proxy :: Proxy.Proxy AddListenerCertificates) responseAddTags :: AddTagsResponse -> TestTree responseAddTags = res "AddTagsResponse" "fixture/AddTagsResponse.proto" defaultService (Proxy.Proxy :: Proxy.Proxy AddTags) responseCreateListener :: CreateListenerResponse -> TestTree responseCreateListener = res "CreateListenerResponse" "fixture/CreateListenerResponse.proto" defaultService (Proxy.Proxy :: Proxy.Proxy CreateListener) responseCreateLoadBalancer :: CreateLoadBalancerResponse -> TestTree responseCreateLoadBalancer = res "CreateLoadBalancerResponse" "fixture/CreateLoadBalancerResponse.proto" defaultService (Proxy.Proxy :: Proxy.Proxy CreateLoadBalancer) responseCreateRule :: CreateRuleResponse -> TestTree responseCreateRule = res "CreateRuleResponse" "fixture/CreateRuleResponse.proto" defaultService (Proxy.Proxy :: Proxy.Proxy CreateRule) responseCreateTargetGroup :: CreateTargetGroupResponse -> TestTree responseCreateTargetGroup = res "CreateTargetGroupResponse" "fixture/CreateTargetGroupResponse.proto" defaultService (Proxy.Proxy :: Proxy.Proxy CreateTargetGroup) responseDeleteListener :: DeleteListenerResponse -> TestTree responseDeleteListener = res "DeleteListenerResponse" "fixture/DeleteListenerResponse.proto" defaultService (Proxy.Proxy :: Proxy.Proxy DeleteListener) responseDeleteLoadBalancer :: DeleteLoadBalancerResponse -> TestTree responseDeleteLoadBalancer = res "DeleteLoadBalancerResponse" "fixture/DeleteLoadBalancerResponse.proto" defaultService (Proxy.Proxy :: Proxy.Proxy DeleteLoadBalancer) responseDeleteRule :: DeleteRuleResponse -> TestTree responseDeleteRule = res "DeleteRuleResponse" "fixture/DeleteRuleResponse.proto" defaultService (Proxy.Proxy :: Proxy.Proxy DeleteRule) responseDeleteTargetGroup :: DeleteTargetGroupResponse -> TestTree responseDeleteTargetGroup = res "DeleteTargetGroupResponse" "fixture/DeleteTargetGroupResponse.proto" defaultService (Proxy.Proxy :: Proxy.Proxy DeleteTargetGroup) responseDeregisterTargets :: DeregisterTargetsResponse -> TestTree responseDeregisterTargets = res "DeregisterTargetsResponse" "fixture/DeregisterTargetsResponse.proto" defaultService (Proxy.Proxy :: Proxy.Proxy DeregisterTargets) responseDescribeAccountLimits :: DescribeAccountLimitsResponse -> TestTree responseDescribeAccountLimits = res "DescribeAccountLimitsResponse" "fixture/DescribeAccountLimitsResponse.proto" defaultService (Proxy.Proxy :: Proxy.Proxy DescribeAccountLimits) responseDescribeListenerCertificates :: DescribeListenerCertificatesResponse -> TestTree responseDescribeListenerCertificates = res "DescribeListenerCertificatesResponse" "fixture/DescribeListenerCertificatesResponse.proto" defaultService (Proxy.Proxy :: Proxy.Proxy DescribeListenerCertificates) responseDescribeListeners :: DescribeListenersResponse -> TestTree responseDescribeListeners = res "DescribeListenersResponse" "fixture/DescribeListenersResponse.proto" defaultService (Proxy.Proxy :: Proxy.Proxy DescribeListeners) responseDescribeLoadBalancerAttributes :: DescribeLoadBalancerAttributesResponse -> TestTree responseDescribeLoadBalancerAttributes = res "DescribeLoadBalancerAttributesResponse" "fixture/DescribeLoadBalancerAttributesResponse.proto" defaultService (Proxy.Proxy :: Proxy.Proxy DescribeLoadBalancerAttributes) responseDescribeLoadBalancers :: DescribeLoadBalancersResponse -> TestTree responseDescribeLoadBalancers = res "DescribeLoadBalancersResponse" "fixture/DescribeLoadBalancersResponse.proto" defaultService (Proxy.Proxy :: Proxy.Proxy DescribeLoadBalancers) responseDescribeRules :: DescribeRulesResponse -> TestTree responseDescribeRules = res "DescribeRulesResponse" "fixture/DescribeRulesResponse.proto" defaultService (Proxy.Proxy :: Proxy.Proxy DescribeRules) responseDescribeSSLPolicies :: DescribeSSLPoliciesResponse -> TestTree responseDescribeSSLPolicies = res "DescribeSSLPoliciesResponse" "fixture/DescribeSSLPoliciesResponse.proto" defaultService (Proxy.Proxy :: Proxy.Proxy DescribeSSLPolicies) responseDescribeTags :: DescribeTagsResponse -> TestTree responseDescribeTags = res "DescribeTagsResponse" "fixture/DescribeTagsResponse.proto" defaultService (Proxy.Proxy :: Proxy.Proxy DescribeTags) responseDescribeTargetGroupAttributes :: DescribeTargetGroupAttributesResponse -> TestTree responseDescribeTargetGroupAttributes = res "DescribeTargetGroupAttributesResponse" "fixture/DescribeTargetGroupAttributesResponse.proto" defaultService (Proxy.Proxy :: Proxy.Proxy DescribeTargetGroupAttributes) responseDescribeTargetGroups :: DescribeTargetGroupsResponse -> TestTree responseDescribeTargetGroups = res "DescribeTargetGroupsResponse" "fixture/DescribeTargetGroupsResponse.proto" defaultService (Proxy.Proxy :: Proxy.Proxy DescribeTargetGroups) responseDescribeTargetHealth :: DescribeTargetHealthResponse -> TestTree responseDescribeTargetHealth = res "DescribeTargetHealthResponse" "fixture/DescribeTargetHealthResponse.proto" defaultService (Proxy.Proxy :: Proxy.Proxy DescribeTargetHealth) responseModifyListener :: ModifyListenerResponse -> TestTree responseModifyListener = res "ModifyListenerResponse" "fixture/ModifyListenerResponse.proto" defaultService (Proxy.Proxy :: Proxy.Proxy ModifyListener) responseModifyLoadBalancerAttributes :: ModifyLoadBalancerAttributesResponse -> TestTree responseModifyLoadBalancerAttributes = res "ModifyLoadBalancerAttributesResponse" "fixture/ModifyLoadBalancerAttributesResponse.proto" defaultService (Proxy.Proxy :: Proxy.Proxy ModifyLoadBalancerAttributes) responseModifyRule :: ModifyRuleResponse -> TestTree responseModifyRule = res "ModifyRuleResponse" "fixture/ModifyRuleResponse.proto" defaultService (Proxy.Proxy :: Proxy.Proxy ModifyRule) responseModifyTargetGroup :: ModifyTargetGroupResponse -> TestTree responseModifyTargetGroup = res "ModifyTargetGroupResponse" "fixture/ModifyTargetGroupResponse.proto" defaultService (Proxy.Proxy :: Proxy.Proxy ModifyTargetGroup) responseModifyTargetGroupAttributes :: ModifyTargetGroupAttributesResponse -> TestTree responseModifyTargetGroupAttributes = res "ModifyTargetGroupAttributesResponse" "fixture/ModifyTargetGroupAttributesResponse.proto" defaultService (Proxy.Proxy :: Proxy.Proxy ModifyTargetGroupAttributes) responseRegisterTargets :: RegisterTargetsResponse -> TestTree responseRegisterTargets = res "RegisterTargetsResponse" "fixture/RegisterTargetsResponse.proto" defaultService (Proxy.Proxy :: Proxy.Proxy RegisterTargets) responseRemoveListenerCertificates :: RemoveListenerCertificatesResponse -> TestTree responseRemoveListenerCertificates = res "RemoveListenerCertificatesResponse" "fixture/RemoveListenerCertificatesResponse.proto" defaultService (Proxy.Proxy :: Proxy.Proxy RemoveListenerCertificates) responseRemoveTags :: RemoveTagsResponse -> TestTree responseRemoveTags = res "RemoveTagsResponse" "fixture/RemoveTagsResponse.proto" defaultService (Proxy.Proxy :: Proxy.Proxy RemoveTags) responseSetIpAddressType :: SetIpAddressTypeResponse -> TestTree responseSetIpAddressType = res "SetIpAddressTypeResponse" "fixture/SetIpAddressTypeResponse.proto" defaultService (Proxy.Proxy :: Proxy.Proxy SetIpAddressType) responseSetRulePriorities :: SetRulePrioritiesResponse -> TestTree responseSetRulePriorities = res "SetRulePrioritiesResponse" "fixture/SetRulePrioritiesResponse.proto" defaultService (Proxy.Proxy :: Proxy.Proxy SetRulePriorities) responseSetSecurityGroups :: SetSecurityGroupsResponse -> TestTree responseSetSecurityGroups = res "SetSecurityGroupsResponse" "fixture/SetSecurityGroupsResponse.proto" defaultService (Proxy.Proxy :: Proxy.Proxy SetSecurityGroups) responseSetSubnets :: SetSubnetsResponse -> TestTree responseSetSubnets = res "SetSubnetsResponse" "fixture/SetSubnetsResponse.proto" defaultService (Proxy.Proxy :: Proxy.Proxy SetSubnets)