Copyright | (c) 2013-2021 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 |
Synopsis
- head' :: ToRequest a => Service -> a -> Request a
- delete :: ToRequest a => Service -> a -> Request a
- get :: ToRequest a => Service -> a -> Request a
- post :: ToRequest a => Service -> a -> Request a
- put :: ToRequest a => Service -> a -> Request a
- patchJSON :: (ToRequest a, ToJSON a) => Service -> a -> Request a
- postXML :: (ToRequest a, ToElement a) => Service -> a -> Request a
- postJSON :: (ToRequest a, ToJSON a) => Service -> a -> Request a
- postQuery :: ToRequest a => Service -> a -> Request a
- postBody :: (ToRequest a, ToBody a) => Service -> a -> Request a
- putXML :: (ToRequest a, ToElement a) => Service -> a -> Request a
- putJSON :: (ToRequest a, ToJSON a) => Service -> a -> Request a
- putBody :: (ToRequest a, ToBody a) => Service -> a -> Request a
- defaultRequest :: ToRequest a => Service -> a -> Request a
- contentMD5Header :: Request a -> Request a
- expectHeader :: Request a -> Request a
- glacierVersionHeader :: ByteString -> Request a -> Request a
- s3vhost :: Request a -> Request a
- clientRequestHeaders :: Lens' ClientRequest RequestHeaders
- clientRequestQuery :: Lens' ClientRequest ByteString
- clientRequestURL :: ClientRequest -> ByteString
Requests
Empty body
Specialised body
Constructors
defaultRequest :: ToRequest a => Service -> a -> Request a Source #
Operation Plugins
contentMD5Header :: Request a -> Request a Source #
expectHeader :: Request a -> Request a Source #
glacierVersionHeader :: ByteString -> Request a -> Request a Source #