Copyright | (c) 2013-2021 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 |
Add cost allocation tags to the specified Amazon SQS queue. For an overview, see Tagging Your Amazon SQS Queues in the Amazon SQS 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.
For a full list of tag restrictions, see Quotas related to queues in the Amazon SQS Developer Guide.
Cross-account permissions don't apply to this action. For more information, see Grant cross-account permissions to a role and a user name in the Amazon SQS Developer Guide.
Synopsis
- data TagQueue = TagQueue' {}
- newTagQueue :: Text -> TagQueue
- tagQueue_queueUrl :: Lens' TagQueue Text
- tagQueue_tags :: Lens' TagQueue (HashMap Text Text)
- data TagQueueResponse = TagQueueResponse' {
- newTagQueueResponse :: TagQueueResponse
Creating a Request
See: newTagQueue
smart constructor.
Instances
Create a value of TagQueue
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:queueUrl:TagQueue'
, tagQueue_queueUrl
- The URL of the queue.
$sel:tags:TagQueue'
, tagQueue_tags
- The list of tags to be added to the specified queue.
Request Lenses
tagQueue_tags :: Lens' TagQueue (HashMap Text Text) Source #
The list of tags to be added to the specified queue.
Destructuring the Response
data TagQueueResponse Source #
See: newTagQueueResponse
smart constructor.
Instances
Eq TagQueueResponse Source # | |
Defined in Amazonka.SQS.TagQueue (==) :: TagQueueResponse -> TagQueueResponse -> Bool # (/=) :: TagQueueResponse -> TagQueueResponse -> Bool # | |
Read TagQueueResponse Source # | |
Defined in Amazonka.SQS.TagQueue | |
Show TagQueueResponse Source # | |
Defined in Amazonka.SQS.TagQueue showsPrec :: Int -> TagQueueResponse -> ShowS # show :: TagQueueResponse -> String # showList :: [TagQueueResponse] -> ShowS # | |
Generic TagQueueResponse Source # | |
Defined in Amazonka.SQS.TagQueue type Rep TagQueueResponse :: Type -> Type # from :: TagQueueResponse -> Rep TagQueueResponse x # to :: Rep TagQueueResponse x -> TagQueueResponse # | |
NFData TagQueueResponse Source # | |
Defined in Amazonka.SQS.TagQueue rnf :: TagQueueResponse -> () # | |
type Rep TagQueueResponse Source # | |
newTagQueueResponse :: TagQueueResponse Source #
Create a value of TagQueueResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.