antiope-sqs-6.1.3

Safe HaskellNone
LanguageHaskell2010

Antiope.SQS

Synopsis

Documentation

newtype QueueUrl #

Constructors

QueueUrl Text 
Instances
Eq QueueUrl 
Instance details

Defined in Antiope.Messages.Types

Show QueueUrl 
Instance details

Defined in Antiope.Messages.Types

IsString QueueUrl 
Instance details

Defined in Antiope.Messages.Types

Generic QueueUrl 
Instance details

Defined in Antiope.Messages.Types

Associated Types

type Rep QueueUrl :: Type -> Type #

Methods

from :: QueueUrl -> Rep QueueUrl x #

to :: Rep QueueUrl x -> QueueUrl #

ToText QueueUrl 
Instance details

Defined in Antiope.Messages.Types

Methods

toText :: QueueUrl -> Text #

FromText QueueUrl 
Instance details

Defined in Antiope.Messages.Types

type Rep QueueUrl 
Instance details

Defined in Antiope.Messages.Types

type Rep QueueUrl = D1 (MetaData "QueueUrl" "Antiope.Messages.Types" "antiope-messages-6.1.3-VzIN2IKFEX15QzUd1hUhU" True) (C1 (MetaCons "QueueUrl" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))

data SQSError #

Instances
Eq SQSError 
Instance details

Defined in Antiope.Messages.Types

Show SQSError 
Instance details

Defined in Antiope.Messages.Types

Generic SQSError 
Instance details

Defined in Antiope.Messages.Types

Associated Types

type Rep SQSError :: Type -> Type #

Methods

from :: SQSError -> Rep SQSError x #

to :: Rep SQSError x -> SQSError #

type Rep SQSError 
Instance details

Defined in Antiope.Messages.Types

type Rep SQSError = D1 (MetaData "SQSError" "Antiope.Messages.Types" "antiope-messages-6.1.3-VzIN2IKFEX15QzUd1hUhU" False) (C1 (MetaCons "DeleteMessageBatchError" PrefixI False) (U1 :: Type -> Type))

readQueue :: MonadAWS m => QueueUrl -> m [Message] Source #

Reads the specified SQS queue once returning a bath of messages

drainQueue :: MonadAWS m => QueueUrl -> m [Message] Source #

Reads the specified SQS queue until it is empty and returns a list of messages

mBody :: Lens' Message (Maybe Text) #

The message's contents (not URL-encoded).