Copyright | Copyright (c) 2013-2014 PivotCloud, Inc. |
---|---|
License | Apache-2.0 |
Safe Haskell | None |
Language | Haskell2010 |
- data StreamsAction
- streamsActionToText :: IsString s => StreamsAction -> s
- parseStreamsAction :: CharParsing m => m StreamsAction
- streamsServiceEndpoint :: Region -> ByteString
- data StreamsMetadata = StreamsMetadata {
- _stmAmzId2 :: !(Maybe Text)
- _stmRequestId :: !(Maybe Text)
- stmAmzId2 :: Functor f => (Maybe Text -> f (Maybe Text)) -> StreamsMetadata -> f StreamsMetadata
- stmRequestId :: Functor f => (Maybe Text -> f (Maybe Text)) -> StreamsMetadata -> f StreamsMetadata
- data StreamsConfiguration qt = StreamsConfiguration {
- _stcRegion :: !Region
- stcRegion :: Functor f => (Region -> f Region) -> StreamsConfiguration qt -> f (StreamsConfiguration qt)
- data StreamsQuery = StreamsQuery {}
- stqAction :: Functor f => (StreamsAction -> f StreamsAction) -> StreamsQuery -> f StreamsQuery
- stqBody :: Functor f => (ByteString -> f ByteString) -> StreamsQuery -> f StreamsQuery
- streamsSignQuery :: StreamsQuery -> StreamsConfiguration qt -> SignatureData -> SignedQuery
- data StreamsResponseJsonErrorData = StreamsResponseJsonErrorData {
- _srjedMessage :: !Text
- _srjedJSON :: !ByteString
- srjedMessage :: Functor f => (Text -> f Text) -> StreamsResponseJsonErrorData -> f StreamsResponseJsonErrorData
- srjedJSON :: Functor f => (ByteString -> f ByteString) -> StreamsResponseJsonErrorData -> f StreamsResponseJsonErrorData
- data StreamsErrorResponse
- _StreamsResponseJsonError :: (Choice p, Applicative f) => p StreamsResponseJsonErrorData (f StreamsResponseJsonErrorData) -> p StreamsErrorResponse (f StreamsErrorResponse)
- _StreamsErrorResponse :: (Choice p, Applicative f) => p StreamsErrorResponseData (f StreamsErrorResponseData) -> p StreamsErrorResponse (f StreamsErrorResponse)
- _StreamsOtherError :: (Choice p, Applicative f) => p StreamsOtherErrorData (f StreamsOtherErrorData) -> p StreamsErrorResponse (f StreamsErrorResponse)
- data StreamsErrorResponseData = StreamsErrorResponseData {}
- sterdErrorCode :: Functor f => (Text -> f Text) -> StreamsErrorResponseData -> f StreamsErrorResponseData
- sterdErrorMessage :: Functor f => (Text -> f Text) -> StreamsErrorResponseData -> f StreamsErrorResponseData
- data StreamsOtherErrorData = StreamsOtherErrorData {
- _stoeStatus :: !Status
- _stoeMessage :: !Text
- stoeStatus :: Functor f => (Status -> f Status) -> StreamsOtherErrorData -> f StreamsOtherErrorData
- stoeMessage :: Functor f => (Text -> f Text) -> StreamsOtherErrorData -> f StreamsOtherErrorData
- jsonResponseConsumer :: FromJSON α => HTTPResponseConsumer α
- errorResponseConsumer :: HTTPResponseConsumer a
- streamsResponseConsumer :: FromJSON a => IORef StreamsMetadata -> HTTPResponseConsumer a
Documentation
data StreamsAction Source
streamsActionToText :: IsString s => StreamsAction -> s Source
Render a StreamsAction
as a string for use in an AWS request.
parseStreamsAction :: CharParsing m => m StreamsAction Source
Parse a StreamsAction
; this is the inverse of streamsActionToText
.
data StreamsMetadata Source
StreamsMetadata | |
|
stmAmzId2 :: Functor f => (Maybe Text -> f (Maybe Text)) -> StreamsMetadata -> f StreamsMetadata Source
A lens for _stmAmzId2
.
stmAmzId2
∷ Lens'StreamsMetadata
(Maybe
Text
)
stmRequestId :: Functor f => (Maybe Text -> f (Maybe Text)) -> StreamsMetadata -> f StreamsMetadata Source
A lens for _stmRequestId
.
stmRequestId
∷ Lens'StreamsMetadata
(Maybe
Text
)
data StreamsConfiguration qt Source
Eq (StreamsConfiguration qt) | |
Show (StreamsConfiguration qt) |
stcRegion :: Functor f => (Region -> f Region) -> StreamsConfiguration qt -> f (StreamsConfiguration qt) Source
A lens for _stcRegion
.
stcRegion
∷ Lens'StreamsConfiguration
Region
data StreamsQuery Source
stqAction :: Functor f => (StreamsAction -> f StreamsAction) -> StreamsQuery -> f StreamsQuery Source
A lens for _stqAction
.
stqAction
∷ Lens'StreamsQuery
StreamsAction
stqBody :: Functor f => (ByteString -> f ByteString) -> StreamsQuery -> f StreamsQuery Source
A lens for _stqBody
.
stqBody
∷ Lens'StreamsQuery
ByteString
streamsSignQuery :: StreamsQuery -> StreamsConfiguration qt -> SignatureData -> SignedQuery Source
Creates a signed query.
Uses AWS Signature V4. All requests are POST requests with the signature placed in an HTTP header
srjedMessage :: Functor f => (Text -> f Text) -> StreamsResponseJsonErrorData -> f StreamsResponseJsonErrorData Source
A lens for _srjedMessage
.
srjedMessage
∷ Lens'StreamsResponseJsonErrorData
Text
srjedJSON :: Functor f => (ByteString -> f ByteString) -> StreamsResponseJsonErrorData -> f StreamsResponseJsonErrorData Source
A lens for _srjedJSON
.
srjedJSON
∷ Lens'StreamsResponseJsonErrorData
ByteString
data StreamsErrorResponse Source
StreamsResponseJsonError StreamsResponseJsonErrorData | |
StreamsErrorResponse StreamsErrorResponseData | |
StreamsOtherError StreamsOtherErrorData |
Eq StreamsErrorResponse | |
Show StreamsErrorResponse | |
FromJSON StreamsErrorResponse | This instance captures only the |
Exception StreamsErrorResponse | |
Typeable * StreamsErrorResponse |
_StreamsResponseJsonError :: (Choice p, Applicative f) => p StreamsResponseJsonErrorData (f StreamsResponseJsonErrorData) -> p StreamsErrorResponse (f StreamsErrorResponse) Source
_StreamsErrorResponse :: (Choice p, Applicative f) => p StreamsErrorResponseData (f StreamsErrorResponseData) -> p StreamsErrorResponse (f StreamsErrorResponse) Source
A prism for StreamsErrorResponse
.
_StreamsErrorResponse
∷ Prism'StreamsErrorResponse
StreamsErrorResponseData
_StreamsOtherError :: (Choice p, Applicative f) => p StreamsOtherErrorData (f StreamsOtherErrorData) -> p StreamsErrorResponse (f StreamsErrorResponse) Source
A prism for StreamsOtherError
.
_StreamsOtherError
∷ Prism'StreamsErrorResponse
StreamsOtherErrorData
sterdErrorCode :: Functor f => (Text -> f Text) -> StreamsErrorResponseData -> f StreamsErrorResponseData Source
A lens for _sterdErrorCode
.
sterdErrorCode
∷ Lens'StreamsErrorResponseData
Text
sterdErrorMessage :: Functor f => (Text -> f Text) -> StreamsErrorResponseData -> f StreamsErrorResponseData Source
A lens for _sterdErrorMessage
.
sterdErrorMessage
∷ Lens'StreamsErrorResponseData
Text
stoeStatus :: Functor f => (Status -> f Status) -> StreamsOtherErrorData -> f StreamsOtherErrorData Source
A lens for _stoeStatus
stoeStatus
∷ Lens'StreamsOtherErrorData
Status
stoeMessage :: Functor f => (Text -> f Text) -> StreamsOtherErrorData -> f StreamsOtherErrorData Source
A lens for _stoeMessage
stoeMessage
∷ Lens'StreamsOtherErrorData
Text
jsonResponseConsumer :: FromJSON α => HTTPResponseConsumer α Source
Create a complete HTTPResponseConsumer
for response types with an
FromJSON
instance