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

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

Network.AWS.SQS.TagQueue

Contents

Description

Add cost allocation tags to the specified Amazon SQS queue. For an overview, see Tagging Amazon SQS Queues in the Amazon Simple Queue Service Developer Guide .

When you use queue tags, keep the following guidelines in mind:

  • Adding more than 50 tags to a queue isn't recommended.
  • Tags don't have any semantic meaning. Amazon SQS interprets tags as character strings.
  • Tags are case-sensitive.
  • A new tag with a key identical to that of an existing tag overwrites the existing tag.
  • Tagging API actions are limited to 5 TPS per AWS account. If your application requires a higher throughput, file a technical support request .

For a full list of tag restrictions, see Limits Related to Queues in the Amazon Simple Queue Service Developer Guide .

Synopsis

Creating a Request

tagQueue Source #

Arguments

:: Text

tqQueueURL

-> TagQueue 

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

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

  • tqQueueURL - The URL of the queue.
  • tqTags - The list of tags to be added to the specified queue.

data TagQueue Source #

See: tagQueue smart constructor.

Instances

Eq TagQueue Source # 
Data TagQueue Source # 

Methods

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

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

toConstr :: TagQueue -> Constr #

dataTypeOf :: TagQueue -> DataType #

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

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

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

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

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

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

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

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

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

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

Read TagQueue Source # 
Show TagQueue Source # 
Generic TagQueue Source # 

Associated Types

type Rep TagQueue :: * -> * #

Methods

from :: TagQueue -> Rep TagQueue x #

to :: Rep TagQueue x -> TagQueue #

Hashable TagQueue Source # 

Methods

hashWithSalt :: Int -> TagQueue -> Int #

hash :: TagQueue -> Int #

NFData TagQueue Source # 

Methods

rnf :: TagQueue -> () #

AWSRequest TagQueue Source # 
ToQuery TagQueue Source # 
ToPath TagQueue Source # 
ToHeaders TagQueue Source # 

Methods

toHeaders :: TagQueue -> [Header] #

type Rep TagQueue Source # 
type Rep TagQueue = D1 (MetaData "TagQueue" "Network.AWS.SQS.TagQueue" "amazonka-sqs-1.5.0-GGKLvMJdHnF9FsLIXBFcpn" False) (C1 (MetaCons "TagQueue'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_tqQueueURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_tqTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Map Text Text)))))
type Rs TagQueue Source # 

Request Lenses

tqQueueURL :: Lens' TagQueue Text Source #

The URL of the queue.

tqTags :: Lens' TagQueue (HashMap Text Text) Source #

The list of tags to be added to the specified queue.

Destructuring the Response

tagQueueResponse :: TagQueueResponse Source #

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

data TagQueueResponse Source #

See: tagQueueResponse smart constructor.

Instances

Eq TagQueueResponse Source # 
Data TagQueueResponse Source # 

Methods

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

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

toConstr :: TagQueueResponse -> Constr #

dataTypeOf :: TagQueueResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read TagQueueResponse Source # 
Show TagQueueResponse Source # 
Generic TagQueueResponse Source # 
NFData TagQueueResponse Source # 

Methods

rnf :: TagQueueResponse -> () #

type Rep TagQueueResponse Source # 
type Rep TagQueueResponse = D1 (MetaData "TagQueueResponse" "Network.AWS.SQS.TagQueue" "amazonka-sqs-1.5.0-GGKLvMJdHnF9FsLIXBFcpn" False) (C1 (MetaCons "TagQueueResponse'" PrefixI False) U1)