| Copyright | Copyright (c) 2013-2014 PivotCloud, Inc. | 
|---|---|
| License | Apache-2.0 | 
| Safe Haskell | None | 
| Language | Haskell2010 | 
Aws.DynamoDb.Streams.Core
Description
- 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
Constructors
| StreamsMetadata | |
Fields 
  | |
stmAmzId2 :: Functor f => (Maybe Text -> f (Maybe Text)) -> StreamsMetadata -> f StreamsMetadata Source
A lens for _stmAmzId2.
stmAmzId2∷ Lens'StreamsMetadata(MaybeText)
stmRequestId :: Functor f => (Maybe Text -> f (Maybe Text)) -> StreamsMetadata -> f StreamsMetadata Source
A lens for _stmRequestId.
stmRequestId∷ Lens'StreamsMetadata(MaybeText)
data StreamsConfiguration qt Source
Constructors
| StreamsConfiguration | |
Fields 
  | |
Instances
| Eq (StreamsConfiguration qt) | |
| Show (StreamsConfiguration qt) | 
stcRegion :: Functor f => (Region -> f Region) -> StreamsConfiguration qt -> f (StreamsConfiguration qt) Source
A lens for _stcRegion.
stcRegion∷ Lens'StreamsConfigurationRegion
data StreamsQuery Source
Constructors
| StreamsQuery | |
Fields 
  | |
Instances
stqAction :: Functor f => (StreamsAction -> f StreamsAction) -> StreamsQuery -> f StreamsQuery Source
A lens for _stqAction.
stqAction∷ Lens'StreamsQueryStreamsAction
stqBody :: Functor f => (ByteString -> f ByteString) -> StreamsQuery -> f StreamsQuery Source
A lens for _stqBody.
stqBody∷ Lens'StreamsQueryByteString
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
data StreamsResponseJsonErrorData Source
Constructors
| StreamsResponseJsonErrorData | |
Fields 
  | |
srjedMessage :: Functor f => (Text -> f Text) -> StreamsResponseJsonErrorData -> f StreamsResponseJsonErrorData Source
A lens for _srjedMessage.
srjedMessage∷ Lens'StreamsResponseJsonErrorDataText
srjedJSON :: Functor f => (ByteString -> f ByteString) -> StreamsResponseJsonErrorData -> f StreamsResponseJsonErrorData Source
A lens for _srjedJSON.
srjedJSON∷ Lens'StreamsResponseJsonErrorDataByteString
data StreamsErrorResponse Source
Constructors
| StreamsResponseJsonError StreamsResponseJsonErrorData | |
| StreamsErrorResponse StreamsErrorResponseData | |
| StreamsOtherError StreamsOtherErrorData | 
Instances
| 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'StreamsErrorResponseStreamsErrorResponseData
_StreamsOtherError :: (Choice p, Applicative f) => p StreamsOtherErrorData (f StreamsOtherErrorData) -> p StreamsErrorResponse (f StreamsErrorResponse) Source
A prism for StreamsOtherError.
_StreamsOtherError∷ Prism'StreamsErrorResponseStreamsOtherErrorData
data StreamsErrorResponseData Source
Constructors
| StreamsErrorResponseData | |
Fields 
  | |
sterdErrorCode :: Functor f => (Text -> f Text) -> StreamsErrorResponseData -> f StreamsErrorResponseData Source
A lens for _sterdErrorCode.
sterdErrorCode∷ Lens'StreamsErrorResponseDataText
sterdErrorMessage :: Functor f => (Text -> f Text) -> StreamsErrorResponseData -> f StreamsErrorResponseData Source
A lens for _sterdErrorMessage.
sterdErrorMessage∷ Lens'StreamsErrorResponseDataText
data StreamsOtherErrorData Source
Constructors
| StreamsOtherErrorData | |
Fields 
  | |
stoeStatus :: Functor f => (Status -> f Status) -> StreamsOtherErrorData -> f StreamsOtherErrorData Source
A lens for _stoeStatus
stoeStatus∷ Lens'StreamsOtherErrorDataStatus
stoeMessage :: Functor f => (Text -> f Text) -> StreamsOtherErrorData -> f StreamsOtherErrorData Source
A lens for _stoeMessage
stoeMessage∷ Lens'StreamsOtherErrorDataText
jsonResponseConsumer :: FromJSON α => HTTPResponseConsumer α Source
Create a complete HTTPResponseConsumer for response types with an
 FromJSON instance