amazonka-sqs-1.4.3: Amazon Simple Queue Service SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.SQS.Types

Contents

Description

 

Synopsis

Service Configuration

sqs :: Service Source #

API version '2012-11-05' of the Amazon Simple Queue Service SDK configuration.

Errors

_InvalidBatchEntryId :: AsError a => Getting (First ServiceError) a ServiceError Source #

The Id of a batch entry in a batch request does not abide by the specification.

_TooManyEntriesInBatchRequest :: AsError a => Getting (First ServiceError) a ServiceError Source #

Batch request contains more number of entries than permissible.

_QueueDeletedRecently :: AsError a => Getting (First ServiceError) a ServiceError Source #

You must wait 60 seconds after deleting a queue before you can create another with the same name.

_QueueDoesNotExist :: AsError a => Getting (First ServiceError) a ServiceError Source #

The queue referred to does not exist.

_InvalidAttributeName :: AsError a => Getting (First ServiceError) a ServiceError Source #

The attribute referred to does not exist.

_UnsupportedOperation :: AsError a => Getting (First ServiceError) a ServiceError Source #

Error code 400. Unsupported operation.

_InvalidMessageContents :: AsError a => Getting (First ServiceError) a ServiceError Source #

The message contains characters outside the allowed set.

_BatchRequestTooLong :: AsError a => Getting (First ServiceError) a ServiceError Source #

The length of all the messages put together is more than the limit.

_OverLimit :: AsError a => Getting (First ServiceError) a ServiceError Source #

The action that you requested would violate a limit. For example, ReceiveMessage returns this error if the maximum number of messages inflight has already been reached. AddPermission returns this error if the maximum number of permissions for the queue has already been reached.

_QueueNameExists :: AsError a => Getting (First ServiceError) a ServiceError Source #

A queue already exists with this name. Amazon SQS returns this error only if the request includes attributes whose values differ from those of the existing queue.

_PurgeQueueInProgress :: AsError a => Getting (First ServiceError) a ServiceError Source #

Indicates that the specified queue previously received a PurgeQueue request within the last 60 seconds, the time it can take to delete the messages in the queue.

_InvalidIdFormat :: AsError a => Getting (First ServiceError) a ServiceError Source #

The receipt handle is not valid for the current version.

_ReceiptHandleIsInvalid :: AsError a => Getting (First ServiceError) a ServiceError Source #

The receipt handle provided is not valid.

_EmptyBatchRequest :: AsError a => Getting (First ServiceError) a ServiceError Source #

Batch request does not contain an entry.

_BatchEntryIdsNotDistinct :: AsError a => Getting (First ServiceError) a ServiceError Source #

Two or more batch entries have the same Id in the request.

_MessageNotInflight :: AsError a => Getting (First ServiceError) a ServiceError Source #

The message referred to is not in flight.

MessageAttribute

data MessageAttribute Source #

Instances

Bounded MessageAttribute Source # 
Enum MessageAttribute Source # 
Eq MessageAttribute Source # 
Data MessageAttribute Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MessageAttribute -> c MessageAttribute #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MessageAttribute #

toConstr :: MessageAttribute -> Constr #

dataTypeOf :: MessageAttribute -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c MessageAttribute) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MessageAttribute) #

gmapT :: (forall b. Data b => b -> b) -> MessageAttribute -> MessageAttribute #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MessageAttribute -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MessageAttribute -> r #

gmapQ :: (forall d. Data d => d -> u) -> MessageAttribute -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MessageAttribute -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MessageAttribute -> m MessageAttribute #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MessageAttribute -> m MessageAttribute #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MessageAttribute -> m MessageAttribute #

Ord MessageAttribute Source # 
Read MessageAttribute Source # 
Show MessageAttribute Source # 
Generic MessageAttribute Source # 
Hashable MessageAttribute Source # 
NFData MessageAttribute Source # 

Methods

rnf :: MessageAttribute -> () #

FromXML MessageAttribute Source # 
ToQuery MessageAttribute Source # 
ToHeader MessageAttribute Source # 
ToByteString MessageAttribute Source # 
FromText MessageAttribute Source # 
ToText MessageAttribute Source # 
type Rep MessageAttribute Source # 
type Rep MessageAttribute = D1 (MetaData "MessageAttribute" "Network.AWS.SQS.Types.Sum" "amazonka-sqs-1.4.3-EAMo5disTZNCNkt77bXGB0" False) ((:+:) ((:+:) (C1 (MetaCons "All" PrefixI False) U1) (C1 (MetaCons "ApproximateFirstReceiveTimestamp" PrefixI False) U1)) ((:+:) (C1 (MetaCons "ApproximateReceiveCount" PrefixI False) U1) ((:+:) (C1 (MetaCons "SenderId" PrefixI False) U1) (C1 (MetaCons "SentTimestamp" PrefixI False) U1))))

QueueAttributeName

data QueueAttributeName Source #

Instances

Bounded QueueAttributeName Source # 
Enum QueueAttributeName Source # 
Eq QueueAttributeName Source # 
Data QueueAttributeName Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> QueueAttributeName -> c QueueAttributeName #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c QueueAttributeName #

toConstr :: QueueAttributeName -> Constr #

dataTypeOf :: QueueAttributeName -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c QueueAttributeName) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c QueueAttributeName) #

gmapT :: (forall b. Data b => b -> b) -> QueueAttributeName -> QueueAttributeName #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> QueueAttributeName -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> QueueAttributeName -> r #

gmapQ :: (forall d. Data d => d -> u) -> QueueAttributeName -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> QueueAttributeName -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> QueueAttributeName -> m QueueAttributeName #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> QueueAttributeName -> m QueueAttributeName #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> QueueAttributeName -> m QueueAttributeName #

Ord QueueAttributeName Source # 
Read QueueAttributeName Source # 
Show QueueAttributeName Source # 
Generic QueueAttributeName Source # 
Hashable QueueAttributeName Source # 
NFData QueueAttributeName Source # 

Methods

rnf :: QueueAttributeName -> () #

FromXML QueueAttributeName Source # 
ToQuery QueueAttributeName Source # 
ToHeader QueueAttributeName Source # 
ToByteString QueueAttributeName Source # 
FromText QueueAttributeName Source # 
ToText QueueAttributeName Source # 
type Rep QueueAttributeName Source # 
type Rep QueueAttributeName = D1 (MetaData "QueueAttributeName" "Network.AWS.SQS.Types.Sum" "amazonka-sqs-1.4.3-EAMo5disTZNCNkt77bXGB0" False) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "ApproximateNumberOfMessages" PrefixI False) U1) ((:+:) (C1 (MetaCons "ApproximateNumberOfMessagesDelayed" PrefixI False) U1) (C1 (MetaCons "ApproximateNumberOfMessagesNotVisible" PrefixI False) U1))) ((:+:) (C1 (MetaCons "CreatedTimestamp" PrefixI False) U1) ((:+:) (C1 (MetaCons "DelaySeconds" PrefixI False) U1) (C1 (MetaCons "LastModifiedTimestamp" PrefixI False) U1)))) ((:+:) ((:+:) (C1 (MetaCons "MaximumMessageSize" PrefixI False) U1) ((:+:) (C1 (MetaCons "MessageRetentionPeriod" PrefixI False) U1) (C1 (MetaCons "Policy" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "QueueARN" PrefixI False) U1) (C1 (MetaCons "ReceiveMessageWaitTimeSeconds" PrefixI False) U1)) ((:+:) (C1 (MetaCons "RedrivePolicy" PrefixI False) U1) (C1 (MetaCons "VisibilityTimeout" PrefixI False) U1)))))

BatchResultErrorEntry

data BatchResultErrorEntry Source #

This is used in the responses of batch API to give a detailed description of the result of an action on each entry in the request.

See: batchResultErrorEntry smart constructor.

Instances

Eq BatchResultErrorEntry Source # 
Data BatchResultErrorEntry Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BatchResultErrorEntry -> c BatchResultErrorEntry #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BatchResultErrorEntry #

toConstr :: BatchResultErrorEntry -> Constr #

dataTypeOf :: BatchResultErrorEntry -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c BatchResultErrorEntry) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BatchResultErrorEntry) #

gmapT :: (forall b. Data b => b -> b) -> BatchResultErrorEntry -> BatchResultErrorEntry #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BatchResultErrorEntry -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BatchResultErrorEntry -> r #

gmapQ :: (forall d. Data d => d -> u) -> BatchResultErrorEntry -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> BatchResultErrorEntry -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> BatchResultErrorEntry -> m BatchResultErrorEntry #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BatchResultErrorEntry -> m BatchResultErrorEntry #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BatchResultErrorEntry -> m BatchResultErrorEntry #

Read BatchResultErrorEntry Source # 
Show BatchResultErrorEntry Source # 
Generic BatchResultErrorEntry Source # 
Hashable BatchResultErrorEntry Source # 
NFData BatchResultErrorEntry Source # 

Methods

rnf :: BatchResultErrorEntry -> () #

FromXML BatchResultErrorEntry Source # 
type Rep BatchResultErrorEntry Source # 
type Rep BatchResultErrorEntry = D1 (MetaData "BatchResultErrorEntry" "Network.AWS.SQS.Types.Product" "amazonka-sqs-1.4.3-EAMo5disTZNCNkt77bXGB0" False) (C1 (MetaCons "BatchResultErrorEntry'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_breeMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_breeId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_breeSenderFault") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "_breeCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))

batchResultErrorEntry Source #

Creates a value of BatchResultErrorEntry with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

breeMessage :: Lens' BatchResultErrorEntry (Maybe Text) Source #

A message explaining why the action failed on this entry.

breeId :: Lens' BatchResultErrorEntry Text Source #

The id of an entry in a batch request.

breeSenderFault :: Lens' BatchResultErrorEntry Bool Source #

Whether the error happened due to the sender's fault.

breeCode :: Lens' BatchResultErrorEntry Text Source #

An error code representing why the action failed on this entry.

ChangeMessageVisibilityBatchRequestEntry

data ChangeMessageVisibilityBatchRequestEntry Source #

Encloses a receipt handle and an entry id for each message in ChangeMessageVisibilityBatch.

All of the following parameters are list parameters that must be prefixed with n, where n is an integer value starting with 1. For example, a parameter list for this action might look like this:

'&ChangeMessageVisibilityBatchRequestEntry.1.Id=change_visibility_msg_2'

'&ChangeMessageVisibilityBatchRequestEntry.1.ReceiptHandle=Your_Receipt_Handle'

'&ChangeMessageVisibilityBatchRequestEntry.1.VisibilityTimeout=45'

See: changeMessageVisibilityBatchRequestEntry smart constructor.

Instances

Eq ChangeMessageVisibilityBatchRequestEntry Source # 
Data ChangeMessageVisibilityBatchRequestEntry Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ChangeMessageVisibilityBatchRequestEntry -> c ChangeMessageVisibilityBatchRequestEntry #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ChangeMessageVisibilityBatchRequestEntry #

toConstr :: ChangeMessageVisibilityBatchRequestEntry -> Constr #

dataTypeOf :: ChangeMessageVisibilityBatchRequestEntry -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ChangeMessageVisibilityBatchRequestEntry) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ChangeMessageVisibilityBatchRequestEntry) #

gmapT :: (forall b. Data b => b -> b) -> ChangeMessageVisibilityBatchRequestEntry -> ChangeMessageVisibilityBatchRequestEntry #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ChangeMessageVisibilityBatchRequestEntry -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ChangeMessageVisibilityBatchRequestEntry -> r #

gmapQ :: (forall d. Data d => d -> u) -> ChangeMessageVisibilityBatchRequestEntry -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ChangeMessageVisibilityBatchRequestEntry -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ChangeMessageVisibilityBatchRequestEntry -> m ChangeMessageVisibilityBatchRequestEntry #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ChangeMessageVisibilityBatchRequestEntry -> m ChangeMessageVisibilityBatchRequestEntry #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ChangeMessageVisibilityBatchRequestEntry -> m ChangeMessageVisibilityBatchRequestEntry #

Read ChangeMessageVisibilityBatchRequestEntry Source # 
Show ChangeMessageVisibilityBatchRequestEntry Source # 
Generic ChangeMessageVisibilityBatchRequestEntry Source # 
Hashable ChangeMessageVisibilityBatchRequestEntry Source # 
NFData ChangeMessageVisibilityBatchRequestEntry Source # 
ToQuery ChangeMessageVisibilityBatchRequestEntry Source # 
type Rep ChangeMessageVisibilityBatchRequestEntry Source # 
type Rep ChangeMessageVisibilityBatchRequestEntry = D1 (MetaData "ChangeMessageVisibilityBatchRequestEntry" "Network.AWS.SQS.Types.Product" "amazonka-sqs-1.4.3-EAMo5disTZNCNkt77bXGB0" False) (C1 (MetaCons "ChangeMessageVisibilityBatchRequestEntry'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cVisibilityTimeout") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) ((:*:) (S1 (MetaSel (Just Symbol "_cId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_cReceiptHandle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))

changeMessageVisibilityBatchRequestEntry Source #

Creates a value of ChangeMessageVisibilityBatchRequestEntry with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

cVisibilityTimeout :: Lens' ChangeMessageVisibilityBatchRequestEntry (Maybe Int) Source #

The new value (in seconds) for the message's visibility timeout.

cId :: Lens' ChangeMessageVisibilityBatchRequestEntry Text Source #

An identifier for this particular receipt handle. This is used to communicate the result. Note that the Ids of a batch request need to be unique within the request.

ChangeMessageVisibilityBatchResultEntry

data ChangeMessageVisibilityBatchResultEntry Source #

Encloses the id of an entry in ChangeMessageVisibilityBatch.

See: changeMessageVisibilityBatchResultEntry smart constructor.

Instances

Eq ChangeMessageVisibilityBatchResultEntry Source # 
Data ChangeMessageVisibilityBatchResultEntry Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ChangeMessageVisibilityBatchResultEntry -> c ChangeMessageVisibilityBatchResultEntry #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ChangeMessageVisibilityBatchResultEntry #

toConstr :: ChangeMessageVisibilityBatchResultEntry -> Constr #

dataTypeOf :: ChangeMessageVisibilityBatchResultEntry -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ChangeMessageVisibilityBatchResultEntry) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ChangeMessageVisibilityBatchResultEntry) #

gmapT :: (forall b. Data b => b -> b) -> ChangeMessageVisibilityBatchResultEntry -> ChangeMessageVisibilityBatchResultEntry #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ChangeMessageVisibilityBatchResultEntry -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ChangeMessageVisibilityBatchResultEntry -> r #

gmapQ :: (forall d. Data d => d -> u) -> ChangeMessageVisibilityBatchResultEntry -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ChangeMessageVisibilityBatchResultEntry -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ChangeMessageVisibilityBatchResultEntry -> m ChangeMessageVisibilityBatchResultEntry #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ChangeMessageVisibilityBatchResultEntry -> m ChangeMessageVisibilityBatchResultEntry #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ChangeMessageVisibilityBatchResultEntry -> m ChangeMessageVisibilityBatchResultEntry #

Read ChangeMessageVisibilityBatchResultEntry Source # 
Show ChangeMessageVisibilityBatchResultEntry Source # 
Generic ChangeMessageVisibilityBatchResultEntry Source # 
Hashable ChangeMessageVisibilityBatchResultEntry Source # 
NFData ChangeMessageVisibilityBatchResultEntry Source # 
FromXML ChangeMessageVisibilityBatchResultEntry Source # 
type Rep ChangeMessageVisibilityBatchResultEntry Source # 
type Rep ChangeMessageVisibilityBatchResultEntry = D1 (MetaData "ChangeMessageVisibilityBatchResultEntry" "Network.AWS.SQS.Types.Product" "amazonka-sqs-1.4.3-EAMo5disTZNCNkt77bXGB0" True) (C1 (MetaCons "ChangeMessageVisibilityBatchResultEntry'" PrefixI True) (S1 (MetaSel (Just Symbol "_cmvbreId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))

changeMessageVisibilityBatchResultEntry Source #

Creates a value of ChangeMessageVisibilityBatchResultEntry with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

cmvbreId :: Lens' ChangeMessageVisibilityBatchResultEntry Text Source #

Represents a message whose visibility timeout has been changed successfully.

DeleteMessageBatchRequestEntry

data DeleteMessageBatchRequestEntry Source #

Encloses a receipt handle and an identifier for it.

See: deleteMessageBatchRequestEntry smart constructor.

Instances

Eq DeleteMessageBatchRequestEntry Source # 
Data DeleteMessageBatchRequestEntry Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeleteMessageBatchRequestEntry -> c DeleteMessageBatchRequestEntry #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeleteMessageBatchRequestEntry #

toConstr :: DeleteMessageBatchRequestEntry -> Constr #

dataTypeOf :: DeleteMessageBatchRequestEntry -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DeleteMessageBatchRequestEntry) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeleteMessageBatchRequestEntry) #

gmapT :: (forall b. Data b => b -> b) -> DeleteMessageBatchRequestEntry -> DeleteMessageBatchRequestEntry #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeleteMessageBatchRequestEntry -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeleteMessageBatchRequestEntry -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeleteMessageBatchRequestEntry -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeleteMessageBatchRequestEntry -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeleteMessageBatchRequestEntry -> m DeleteMessageBatchRequestEntry #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteMessageBatchRequestEntry -> m DeleteMessageBatchRequestEntry #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteMessageBatchRequestEntry -> m DeleteMessageBatchRequestEntry #

Read DeleteMessageBatchRequestEntry Source # 
Show DeleteMessageBatchRequestEntry Source # 
Generic DeleteMessageBatchRequestEntry Source # 
Hashable DeleteMessageBatchRequestEntry Source # 
NFData DeleteMessageBatchRequestEntry Source # 
ToQuery DeleteMessageBatchRequestEntry Source # 
type Rep DeleteMessageBatchRequestEntry Source # 
type Rep DeleteMessageBatchRequestEntry = D1 (MetaData "DeleteMessageBatchRequestEntry" "Network.AWS.SQS.Types.Product" "amazonka-sqs-1.4.3-EAMo5disTZNCNkt77bXGB0" False) (C1 (MetaCons "DeleteMessageBatchRequestEntry'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dmbreId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_dmbreReceiptHandle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))

deleteMessageBatchRequestEntry Source #

Creates a value of DeleteMessageBatchRequestEntry with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

dmbreId :: Lens' DeleteMessageBatchRequestEntry Text Source #

An identifier for this particular receipt handle. This is used to communicate the result. Note that the Ids of a batch request need to be unique within the request.

DeleteMessageBatchResultEntry

data DeleteMessageBatchResultEntry Source #

Encloses the id an entry in DeleteMessageBatch.

See: deleteMessageBatchResultEntry smart constructor.

Instances

Eq DeleteMessageBatchResultEntry Source # 
Data DeleteMessageBatchResultEntry Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeleteMessageBatchResultEntry -> c DeleteMessageBatchResultEntry #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeleteMessageBatchResultEntry #

toConstr :: DeleteMessageBatchResultEntry -> Constr #

dataTypeOf :: DeleteMessageBatchResultEntry -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DeleteMessageBatchResultEntry) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeleteMessageBatchResultEntry) #

gmapT :: (forall b. Data b => b -> b) -> DeleteMessageBatchResultEntry -> DeleteMessageBatchResultEntry #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeleteMessageBatchResultEntry -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeleteMessageBatchResultEntry -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeleteMessageBatchResultEntry -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeleteMessageBatchResultEntry -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeleteMessageBatchResultEntry -> m DeleteMessageBatchResultEntry #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteMessageBatchResultEntry -> m DeleteMessageBatchResultEntry #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteMessageBatchResultEntry -> m DeleteMessageBatchResultEntry #

Read DeleteMessageBatchResultEntry Source # 
Show DeleteMessageBatchResultEntry Source # 
Generic DeleteMessageBatchResultEntry Source # 
Hashable DeleteMessageBatchResultEntry Source # 
NFData DeleteMessageBatchResultEntry Source # 
FromXML DeleteMessageBatchResultEntry Source # 
type Rep DeleteMessageBatchResultEntry Source # 
type Rep DeleteMessageBatchResultEntry = D1 (MetaData "DeleteMessageBatchResultEntry" "Network.AWS.SQS.Types.Product" "amazonka-sqs-1.4.3-EAMo5disTZNCNkt77bXGB0" True) (C1 (MetaCons "DeleteMessageBatchResultEntry'" PrefixI True) (S1 (MetaSel (Just Symbol "_dId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))

deleteMessageBatchResultEntry Source #

Creates a value of DeleteMessageBatchResultEntry with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

dId :: Lens' DeleteMessageBatchResultEntry Text Source #

Represents a successfully deleted message.

Message

data Message Source #

An Amazon SQS message.

See: message smart constructor.

Instances

Eq Message Source # 

Methods

(==) :: Message -> Message -> Bool #

(/=) :: Message -> Message -> Bool #

Data Message Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Message -> c Message #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Message #

toConstr :: Message -> Constr #

dataTypeOf :: Message -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Message) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Message) #

gmapT :: (forall b. Data b => b -> b) -> Message -> Message #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Message -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Message -> r #

gmapQ :: (forall d. Data d => d -> u) -> Message -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Message -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Message -> m Message #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Message -> m Message #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Message -> m Message #

Read Message Source # 
Show Message Source # 
Generic Message Source # 

Associated Types

type Rep Message :: * -> * #

Methods

from :: Message -> Rep Message x #

to :: Rep Message x -> Message #

Hashable Message Source # 

Methods

hashWithSalt :: Int -> Message -> Int #

hash :: Message -> Int #

NFData Message Source # 

Methods

rnf :: Message -> () #

FromXML Message Source # 
type Rep Message Source # 

message :: Message Source #

Creates a value of Message with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

mMessageAttributes :: Lens' Message (HashMap Text MessageAttributeValue) Source #

Each message attribute consists of a Name, Type, and Value. For more information, see Message Attribute Items.

mMD5OfBody :: Lens' Message (Maybe Text) Source #

An MD5 digest of the non-URL-encoded message body string.

mBody :: Lens' Message (Maybe Text) Source #

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

mReceiptHandle :: Lens' Message (Maybe Text) Source #

An identifier associated with the act of receiving the message. A new receipt handle is returned every time you receive a message. When deleting a message, you provide the last received receipt handle to delete the message.

mMessageId :: Lens' Message (Maybe Text) Source #

A unique identifier for the message. Message IDs are considered unique across all AWS accounts for an extended period of time.

mMD5OfMessageAttributes :: Lens' Message (Maybe Text) Source #

An MD5 digest of the non-URL-encoded message attribute string. This can be used to verify that Amazon SQS received the message correctly. Amazon SQS first URL decodes the message before creating the MD5 digest. For information about MD5, go to http://www.faqs.org/rfcs/rfc1321.html.

MessageAttributeValue

data MessageAttributeValue Source #

The user-specified message attribute value. For string data types, the value attribute has the same restrictions on the content as the message body. For more information, see SendMessage.

Name, type, and value must not be empty or null. In addition, the message body should not be empty or null. All parts of the message attribute, including name, type, and value, are included in the message size restriction, which is currently 256 KB (262,144 bytes).

See: messageAttributeValue smart constructor.

Instances

Eq MessageAttributeValue Source # 
Data MessageAttributeValue Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MessageAttributeValue -> c MessageAttributeValue #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MessageAttributeValue #

toConstr :: MessageAttributeValue -> Constr #

dataTypeOf :: MessageAttributeValue -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c MessageAttributeValue) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MessageAttributeValue) #

gmapT :: (forall b. Data b => b -> b) -> MessageAttributeValue -> MessageAttributeValue #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MessageAttributeValue -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MessageAttributeValue -> r #

gmapQ :: (forall d. Data d => d -> u) -> MessageAttributeValue -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MessageAttributeValue -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MessageAttributeValue -> m MessageAttributeValue #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MessageAttributeValue -> m MessageAttributeValue #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MessageAttributeValue -> m MessageAttributeValue #

Read MessageAttributeValue Source # 
Show MessageAttributeValue Source # 
Generic MessageAttributeValue Source # 
Hashable MessageAttributeValue Source # 
NFData MessageAttributeValue Source # 

Methods

rnf :: MessageAttributeValue -> () #

FromXML MessageAttributeValue Source # 
ToQuery MessageAttributeValue Source # 
type Rep MessageAttributeValue Source # 
type Rep MessageAttributeValue = D1 (MetaData "MessageAttributeValue" "Network.AWS.SQS.Types.Product" "amazonka-sqs-1.4.3-EAMo5disTZNCNkt77bXGB0" False) (C1 (MetaCons "MessageAttributeValue'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_mavBinaryValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Base64))) (S1 (MetaSel (Just Symbol "_mavStringListValues") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])))) ((:*:) (S1 (MetaSel (Just Symbol "_mavStringValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_mavBinaryListValues") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Base64]))) (S1 (MetaSel (Just Symbol "_mavDataType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))))

messageAttributeValue Source #

Creates a value of MessageAttributeValue with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

mavBinaryValue :: Lens' MessageAttributeValue (Maybe ByteString) Source #

Binary type attributes can store any binary data, for example, compressed data, encrypted data, or images.

Note: This Lens automatically encodes and decodes Base64 data, despite what the AWS documentation might say. The underlying isomorphism will encode to Base64 representation during serialisation, and decode from Base64 representation during deserialisation. This Lens accepts and returns only raw unencoded data.

mavStringListValues :: Lens' MessageAttributeValue [Text] Source #

Not implemented. Reserved for future use.

mavStringValue :: Lens' MessageAttributeValue (Maybe Text) Source #

Strings are Unicode with UTF8 binary encoding. For a list of code values, see http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters.

mavBinaryListValues :: Lens' MessageAttributeValue [ByteString] Source #

Not implemented. Reserved for future use.

mavDataType :: Lens' MessageAttributeValue Text Source #

Amazon SQS supports the following logical data types: String, Number, and Binary. In addition, you can append your own custom labels. For more information, see Message Attribute Data Types.

SendMessageBatchRequestEntry

data SendMessageBatchRequestEntry Source #

Contains the details of a single Amazon SQS message along with a Id.

See: sendMessageBatchRequestEntry smart constructor.

Instances

Eq SendMessageBatchRequestEntry Source # 
Data SendMessageBatchRequestEntry Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SendMessageBatchRequestEntry -> c SendMessageBatchRequestEntry #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SendMessageBatchRequestEntry #

toConstr :: SendMessageBatchRequestEntry -> Constr #

dataTypeOf :: SendMessageBatchRequestEntry -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c SendMessageBatchRequestEntry) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SendMessageBatchRequestEntry) #

gmapT :: (forall b. Data b => b -> b) -> SendMessageBatchRequestEntry -> SendMessageBatchRequestEntry #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SendMessageBatchRequestEntry -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SendMessageBatchRequestEntry -> r #

gmapQ :: (forall d. Data d => d -> u) -> SendMessageBatchRequestEntry -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SendMessageBatchRequestEntry -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SendMessageBatchRequestEntry -> m SendMessageBatchRequestEntry #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SendMessageBatchRequestEntry -> m SendMessageBatchRequestEntry #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SendMessageBatchRequestEntry -> m SendMessageBatchRequestEntry #

Read SendMessageBatchRequestEntry Source # 
Show SendMessageBatchRequestEntry Source # 
Generic SendMessageBatchRequestEntry Source # 
Hashable SendMessageBatchRequestEntry Source # 
NFData SendMessageBatchRequestEntry Source # 
ToQuery SendMessageBatchRequestEntry Source # 
type Rep SendMessageBatchRequestEntry Source # 
type Rep SendMessageBatchRequestEntry = D1 (MetaData "SendMessageBatchRequestEntry" "Network.AWS.SQS.Types.Product" "amazonka-sqs-1.4.3-EAMo5disTZNCNkt77bXGB0" False) (C1 (MetaCons "SendMessageBatchRequestEntry'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_sMessageAttributes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text MessageAttributeValue)))) (S1 (MetaSel (Just Symbol "_sDelaySeconds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)))) ((:*:) (S1 (MetaSel (Just Symbol "_sId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_sMessageBody") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))

sendMessageBatchRequestEntry Source #

Creates a value of SendMessageBatchRequestEntry with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

sMessageAttributes :: Lens' SendMessageBatchRequestEntry (HashMap Text MessageAttributeValue) Source #

Each message attribute consists of a Name, Type, and Value. For more information, see Message Attribute Items.

sDelaySeconds :: Lens' SendMessageBatchRequestEntry (Maybe Int) Source #

The number of seconds for which the message has to be delayed.

sId :: Lens' SendMessageBatchRequestEntry Text Source #

An identifier for the message in this batch. This is used to communicate the result. Note that the Ids of a batch request need to be unique within the request.

SendMessageBatchResultEntry

data SendMessageBatchResultEntry Source #

Encloses a message ID for successfully enqueued message of a SendMessageBatch.

See: sendMessageBatchResultEntry smart constructor.

Instances

Eq SendMessageBatchResultEntry Source # 
Data SendMessageBatchResultEntry Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SendMessageBatchResultEntry -> c SendMessageBatchResultEntry #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SendMessageBatchResultEntry #

toConstr :: SendMessageBatchResultEntry -> Constr #

dataTypeOf :: SendMessageBatchResultEntry -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c SendMessageBatchResultEntry) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SendMessageBatchResultEntry) #

gmapT :: (forall b. Data b => b -> b) -> SendMessageBatchResultEntry -> SendMessageBatchResultEntry #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SendMessageBatchResultEntry -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SendMessageBatchResultEntry -> r #

gmapQ :: (forall d. Data d => d -> u) -> SendMessageBatchResultEntry -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SendMessageBatchResultEntry -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SendMessageBatchResultEntry -> m SendMessageBatchResultEntry #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SendMessageBatchResultEntry -> m SendMessageBatchResultEntry #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SendMessageBatchResultEntry -> m SendMessageBatchResultEntry #

Read SendMessageBatchResultEntry Source # 
Show SendMessageBatchResultEntry Source # 
Generic SendMessageBatchResultEntry Source # 
Hashable SendMessageBatchResultEntry Source # 
NFData SendMessageBatchResultEntry Source # 
FromXML SendMessageBatchResultEntry Source # 
type Rep SendMessageBatchResultEntry Source # 
type Rep SendMessageBatchResultEntry = D1 (MetaData "SendMessageBatchResultEntry" "Network.AWS.SQS.Types.Product" "amazonka-sqs-1.4.3-EAMo5disTZNCNkt77bXGB0" False) (C1 (MetaCons "SendMessageBatchResultEntry'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_smbreMD5OfMessageAttributes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_smbreId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_smbreMessageId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_smbreMD5OfMessageBody") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))

sendMessageBatchResultEntry Source #

Creates a value of SendMessageBatchResultEntry with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

smbreMD5OfMessageAttributes :: Lens' SendMessageBatchResultEntry (Maybe Text) Source #

An MD5 digest of the non-URL-encoded message attribute string. This can be used to verify that Amazon SQS received the message batch correctly. Amazon SQS first URL decodes the message before creating the MD5 digest. For information about MD5, go to http://www.faqs.org/rfcs/rfc1321.html.

smbreId :: Lens' SendMessageBatchResultEntry Text Source #

An identifier for the message in this batch.

smbreMessageId :: Lens' SendMessageBatchResultEntry Text Source #

An identifier for the message.

smbreMD5OfMessageBody :: Lens' SendMessageBatchResultEntry Text Source #

An MD5 digest of the non-URL-encoded message body string. This can be used to verify that Amazon SQS received the message correctly. Amazon SQS first URL decodes the message before creating the MD5 digest. For information about MD5, go to http://www.faqs.org/rfcs/rfc1321.html.