amazonka-sqs-1.4.5: 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.ChangeMessageVisibilityBatch

Contents

Description

Changes the visibility timeout of multiple messages. This is a batch version of ChangeMessageVisibility . The result of the action on each message is reported individually in the response. You can send up to 10 ChangeMessageVisibility requests with each ChangeMessageVisibilityBatch action.

Important: Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of 200.

&amp;Attribute.1=this
&amp;Attribute.2=that

Synopsis

Creating a Request

changeMessageVisibilityBatch Source #

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

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

  • cmvbQueueURL - The URL of the Amazon SQS queue to take action on. Queue URLs are case-sensitive.
  • cmvbEntries - A list of receipt handles of the messages for which the visibility timeout must be changed.

data ChangeMessageVisibilityBatch Source #

See: changeMessageVisibilityBatch smart constructor.

Instances

Eq ChangeMessageVisibilityBatch Source # 
Data ChangeMessageVisibilityBatch Source # 

Methods

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

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

toConstr :: ChangeMessageVisibilityBatch -> Constr #

dataTypeOf :: ChangeMessageVisibilityBatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ChangeMessageVisibilityBatch Source # 
Show ChangeMessageVisibilityBatch Source # 
Generic ChangeMessageVisibilityBatch Source # 
Hashable ChangeMessageVisibilityBatch Source # 
NFData ChangeMessageVisibilityBatch Source # 
AWSRequest ChangeMessageVisibilityBatch Source # 
ToPath ChangeMessageVisibilityBatch Source # 
ToHeaders ChangeMessageVisibilityBatch Source # 
ToQuery ChangeMessageVisibilityBatch Source # 
type Rep ChangeMessageVisibilityBatch Source # 
type Rep ChangeMessageVisibilityBatch = D1 (MetaData "ChangeMessageVisibilityBatch" "Network.AWS.SQS.ChangeMessageVisibilityBatch" "amazonka-sqs-1.4.5-4rQHB5Mk9mo8cQvbOgAp4I" False) (C1 (MetaCons "ChangeMessageVisibilityBatch'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cmvbQueueURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_cmvbEntries") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [ChangeMessageVisibilityBatchRequestEntry]))))
type Rs ChangeMessageVisibilityBatch Source # 

Request Lenses

cmvbQueueURL :: Lens' ChangeMessageVisibilityBatch Text Source #

The URL of the Amazon SQS queue to take action on. Queue URLs are case-sensitive.

cmvbEntries :: Lens' ChangeMessageVisibilityBatch [ChangeMessageVisibilityBatchRequestEntry] Source #

A list of receipt handles of the messages for which the visibility timeout must be changed.

Destructuring the Response

changeMessageVisibilityBatchResponse Source #

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

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

data ChangeMessageVisibilityBatchResponse Source #

For each message in the batch, the response contains a ChangeMessageVisibilityBatchResultEntry tag if the message succeeds or a BatchResultErrorEntry tag if the message fails.

See: changeMessageVisibilityBatchResponse smart constructor.

Instances

Eq ChangeMessageVisibilityBatchResponse Source # 
Data ChangeMessageVisibilityBatchResponse Source # 

Methods

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

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

toConstr :: ChangeMessageVisibilityBatchResponse -> Constr #

dataTypeOf :: ChangeMessageVisibilityBatchResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ChangeMessageVisibilityBatchResponse Source # 
Show ChangeMessageVisibilityBatchResponse Source # 
Generic ChangeMessageVisibilityBatchResponse Source # 
NFData ChangeMessageVisibilityBatchResponse Source # 
type Rep ChangeMessageVisibilityBatchResponse Source # 
type Rep ChangeMessageVisibilityBatchResponse = D1 (MetaData "ChangeMessageVisibilityBatchResponse" "Network.AWS.SQS.ChangeMessageVisibilityBatch" "amazonka-sqs-1.4.5-4rQHB5Mk9mo8cQvbOgAp4I" False) (C1 (MetaCons "ChangeMessageVisibilityBatchResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cmvbrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)) ((:*:) (S1 (MetaSel (Just Symbol "_cmvbrsSuccessful") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [ChangeMessageVisibilityBatchResultEntry])) (S1 (MetaSel (Just Symbol "_cmvbrsFailed") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [BatchResultErrorEntry])))))

Response Lenses