| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | provisional |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Test.AWS.Fixture
Description
Documentation
res :: (AWSRequest a, Eq (Rs a), Show (Rs a)) => TestName -> FilePath -> Service -> Proxy a -> Rs a -> TestTree Source #
testResponse :: forall a. AWSRequest a => Service -> Proxy a -> LazyByteString -> IO (Either String (Rs a)) Source #
Constructors
| Req | |
Fields
| |
Instances
| Eq Req Source # | |
| Show Req Source # | |
| Generic Req Source # | |
| FromJSON Req Source # | |
| type Rep Req Source # | |
Defined in Test.AWS.Fixture type Rep Req = D1 (MetaData "Req" "Test.AWS.Fixture" "amazonka-test-1.6.1-KrFLScW63pkEDzLEDJnOZ9" False) (C1 (MetaCons "Req" PrefixI True) ((S1 (MetaSel (Just "_method") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Method) :*: S1 (MetaSel (Just "_path") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 ByteString)) :*: (S1 (MetaSel (Just "_query") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 ByteString) :*: (S1 (MetaSel (Just "_headers") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Header]) :*: S1 (MetaSel (Just "_body") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 ByteString))))) | |
mkReq :: Method -> ByteString -> ByteString -> [Header] -> ByteString -> Req Source #