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

Copyright(c) 2013-2018 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 #

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 #

See: tagQueue smart constructor.

Instances

Eq TagQueue # 
Data TagQueue # 

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 # 
Show TagQueue # 
Generic TagQueue # 

Associated Types

type Rep TagQueue :: * -> * #

Methods

from :: TagQueue -> Rep TagQueue x #

to :: Rep TagQueue x -> TagQueue #

Hashable TagQueue # 

Methods

hashWithSalt :: Int -> TagQueue -> Int #

hash :: TagQueue -> Int #

NFData TagQueue # 

Methods

rnf :: TagQueue -> () #

AWSRequest TagQueue # 
ToHeaders TagQueue # 

Methods

toHeaders :: TagQueue -> [Header] #

ToPath TagQueue # 
ToQuery TagQueue # 
type Rep TagQueue # 
type Rep TagQueue = D1 * (MetaData "TagQueue" "Network.AWS.SQS.TagQueue" "amazonka-sqs-1.6.0-6AKMU5Om8FbICeCVgWDhlE" 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 # 

Request Lenses

tqQueueURL :: Lens' TagQueue Text #

The URL of the queue.

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

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

Destructuring the Response

tagQueueResponse :: TagQueueResponse #

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

data TagQueueResponse #

See: tagQueueResponse smart constructor.

Instances

Eq TagQueueResponse # 
Data TagQueueResponse # 

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 # 
Show TagQueueResponse # 
Generic TagQueueResponse # 
NFData TagQueueResponse # 

Methods

rnf :: TagQueueResponse -> () #

type Rep TagQueueResponse # 
type Rep TagQueueResponse = D1 * (MetaData "TagQueueResponse" "Network.AWS.SQS.TagQueue" "amazonka-sqs-1.6.0-6AKMU5Om8FbICeCVgWDhlE" False) (C1 * (MetaCons "TagQueueResponse'" PrefixI False) (U1 *))