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

Amazonka.SQS.TagQueue

Description

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

Creating a Request

data TagQueue Source #

See: newTagQueue smart constructor.

Constructors

TagQueue' 

Fields

Instances

Instances details
Eq TagQueue Source # 
Instance details

Defined in Amazonka.SQS.TagQueue

Read TagQueue Source # 
Instance details

Defined in Amazonka.SQS.TagQueue

Show TagQueue Source # 
Instance details

Defined in Amazonka.SQS.TagQueue

Generic TagQueue Source # 
Instance details

Defined in Amazonka.SQS.TagQueue

Associated Types

type Rep TagQueue :: Type -> Type #

Methods

from :: TagQueue -> Rep TagQueue x #

to :: Rep TagQueue x -> TagQueue #

NFData TagQueue Source # 
Instance details

Defined in Amazonka.SQS.TagQueue

Methods

rnf :: TagQueue -> () #

Hashable TagQueue Source # 
Instance details

Defined in Amazonka.SQS.TagQueue

Methods

hashWithSalt :: Int -> TagQueue -> Int #

hash :: TagQueue -> Int #

AWSRequest TagQueue Source # 
Instance details

Defined in Amazonka.SQS.TagQueue

Associated Types

type AWSResponse TagQueue #

ToHeaders TagQueue Source # 
Instance details

Defined in Amazonka.SQS.TagQueue

Methods

toHeaders :: TagQueue -> [Header] #

ToPath TagQueue Source # 
Instance details

Defined in Amazonka.SQS.TagQueue

ToQuery TagQueue Source # 
Instance details

Defined in Amazonka.SQS.TagQueue

type Rep TagQueue Source # 
Instance details

Defined in Amazonka.SQS.TagQueue

type Rep TagQueue = D1 ('MetaData "TagQueue" "Amazonka.SQS.TagQueue" "libZSservicesZSamazonka-sqsZSamazonka-sqs" 'False) (C1 ('MetaCons "TagQueue'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queueUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap Text Text))))
type AWSResponse TagQueue Source # 
Instance details

Defined in Amazonka.SQS.TagQueue

newTagQueue Source #

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_queueUrl :: Lens' TagQueue Text Source #

The URL of the queue.

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.

Constructors

TagQueueResponse' 

Instances

Instances details
Eq TagQueueResponse Source # 
Instance details

Defined in Amazonka.SQS.TagQueue

Read TagQueueResponse Source # 
Instance details

Defined in Amazonka.SQS.TagQueue

Show TagQueueResponse Source # 
Instance details

Defined in Amazonka.SQS.TagQueue

Generic TagQueueResponse Source # 
Instance details

Defined in Amazonka.SQS.TagQueue

Associated Types

type Rep TagQueueResponse :: Type -> Type #

NFData TagQueueResponse Source # 
Instance details

Defined in Amazonka.SQS.TagQueue

Methods

rnf :: TagQueueResponse -> () #

type Rep TagQueueResponse Source # 
Instance details

Defined in Amazonka.SQS.TagQueue

type Rep TagQueueResponse = D1 ('MetaData "TagQueueResponse" "Amazonka.SQS.TagQueue" "libZSservicesZSamazonka-sqsZSamazonka-sqs" 'False) (C1 ('MetaCons "TagQueueResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newTagQueueResponse :: TagQueueResponse Source #

Create a value of TagQueueResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.