amazonka-sqs-1.6.1: 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 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 # 
Instance details

Defined in Network.AWS.SQS.TagQueue

Data TagQueue Source # 
Instance details

Defined in Network.AWS.SQS.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 Source # 
Instance details

Defined in Network.AWS.SQS.TagQueue

Show TagQueue Source # 
Instance details

Defined in Network.AWS.SQS.TagQueue

Generic TagQueue Source # 
Instance details

Defined in Network.AWS.SQS.TagQueue

Associated Types

type Rep TagQueue :: Type -> Type #

Methods

from :: TagQueue -> Rep TagQueue x #

to :: Rep TagQueue x -> TagQueue #

Hashable TagQueue Source # 
Instance details

Defined in Network.AWS.SQS.TagQueue

Methods

hashWithSalt :: Int -> TagQueue -> Int #

hash :: TagQueue -> Int #

AWSRequest TagQueue Source # 
Instance details

Defined in Network.AWS.SQS.TagQueue

Associated Types

type Rs TagQueue :: Type #

ToHeaders TagQueue Source # 
Instance details

Defined in Network.AWS.SQS.TagQueue

Methods

toHeaders :: TagQueue -> [Header] #

ToPath TagQueue Source # 
Instance details

Defined in Network.AWS.SQS.TagQueue

ToQuery TagQueue Source # 
Instance details

Defined in Network.AWS.SQS.TagQueue

NFData TagQueue Source # 
Instance details

Defined in Network.AWS.SQS.TagQueue

Methods

rnf :: TagQueue -> () #

type Rep TagQueue Source # 
Instance details

Defined in Network.AWS.SQS.TagQueue

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

Defined in Network.AWS.SQS.TagQueue

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 # 
Instance details

Defined in Network.AWS.SQS.TagQueue

Data TagQueueResponse Source # 
Instance details

Defined in Network.AWS.SQS.TagQueue

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 # 
Instance details

Defined in Network.AWS.SQS.TagQueue

Show TagQueueResponse Source # 
Instance details

Defined in Network.AWS.SQS.TagQueue

Generic TagQueueResponse Source # 
Instance details

Defined in Network.AWS.SQS.TagQueue

Associated Types

type Rep TagQueueResponse :: Type -> Type #

NFData TagQueueResponse Source # 
Instance details

Defined in Network.AWS.SQS.TagQueue

Methods

rnf :: TagQueueResponse -> () #

type Rep TagQueueResponse Source # 
Instance details

Defined in Network.AWS.SQS.TagQueue

type Rep TagQueueResponse = D1 (MetaData "TagQueueResponse" "Network.AWS.SQS.TagQueue" "amazonka-sqs-1.6.1-4KwGv5jRSGR2noZdqwtyOA" False) (C1 (MetaCons "TagQueueResponse'" PrefixI False) (U1 :: Type -> Type))