| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.SQS.TagQueue
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
- tagQueue :: Text -> TagQueue
- data TagQueue
- tqQueueURL :: Lens' TagQueue Text
- tqTags :: Lens' TagQueue (HashMap Text Text)
- tagQueueResponse :: TagQueueResponse
- data TagQueueResponse
Creating a Request
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.
See: tagQueue smart constructor.
Instances
| Eq TagQueue # | |
| Data TagQueue # | |
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 # | |
| Show TagQueue # | |
| Generic TagQueue # | |
| Hashable TagQueue # | |
Defined in Network.AWS.SQS.TagQueue | |
| AWSRequest TagQueue # | |
| ToHeaders TagQueue # | |
Defined in Network.AWS.SQS.TagQueue | |
| ToPath TagQueue # | |
Defined in Network.AWS.SQS.TagQueue Methods toPath :: TagQueue -> ByteString # | |
| ToQuery TagQueue # | |
Defined in Network.AWS.SQS.TagQueue Methods toQuery :: TagQueue -> QueryString # | |
| NFData TagQueue # | |
Defined in Network.AWS.SQS.TagQueue | |
| type Rep TagQueue # | |
Defined in Network.AWS.SQS.TagQueue type Rep TagQueue = D1 (MetaData "TagQueue" "Network.AWS.SQS.TagQueue" "amazonka-sqs-1.6.0-6BfvsoMwFto2w6xsl91xQd" 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 # | |
Defined in Network.AWS.SQS.TagQueue | |
Request Lenses
tqQueueURL :: Lens' TagQueue Text #
The URL of the 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.