| Copyright | (c) 2013-2023 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 | Safe-Inferred |
| Language | Haskell2010 |
Test.Amazonka.Fixture
Description
Documentation
res :: (AWSRequest a, Eq (AWSResponse a), Show (AWSResponse a)) => TestName -> FilePath -> Service -> Proxy a -> AWSResponse a -> TestTree Source #
testResponse :: forall a. AWSRequest a => Service -> Proxy a -> ByteStringLazy -> IO (Either String (AWSResponse a)) Source #
Constructors
| Req | |
Fields
| |
Instances
| FromJSON Req Source # | |
| Generic Req Source # | |
| Show Req Source # | |
| Eq Req Source # | |
| type Rep Req Source # | |
Defined in Test.Amazonka.Fixture type Rep Req = D1 ('MetaData "Req" "Test.Amazonka.Fixture" "amazonka-test-2.0-JQI7ThK8cIcFliZnOFUB1x" '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 #