amazonka-test-1.6.1: Common functionality for Amazonka library test-suites.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityprovisional
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Test.AWS.Fixture

Description

 

Documentation

res :: (AWSRequest a, Eq (Rs a), Show (Rs a)) => TestName -> FilePath -> Service -> Proxy a -> Rs a -> TestTree #

req :: (AWSRequest a, Eq a, Show a) => TestName -> FilePath -> a -> TestTree #

testResponse :: forall a. AWSRequest a => Service -> Proxy a -> LazyByteString -> IO (Either String (Rs a)) #

data Req #

Constructors

Req 
Instances
Eq Req # 
Instance details

Defined in Test.AWS.Fixture

Methods

(==) :: Req -> Req -> Bool #

(/=) :: Req -> Req -> Bool #

Show Req # 
Instance details

Defined in Test.AWS.Fixture

Methods

showsPrec :: Int -> Req -> ShowS #

show :: Req -> String #

showList :: [Req] -> ShowS #

Generic Req # 
Instance details

Defined in Test.AWS.Fixture

Associated Types

type Rep Req :: Type -> Type #

Methods

from :: Req -> Rep Req x #

to :: Rep Req x -> Req #

FromJSON Req # 
Instance details

Defined in Test.AWS.Fixture

type Rep Req # 
Instance details

Defined in Test.AWS.Fixture

sortKeys :: Ord a => [(a, b)] -> [(a, b)] #