libZSservicesZSamazonka-mqZSamazonka-mq
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.MQ.CreateTags

Description

Add a tag to a resource.

Synopsis

Creating a Request

data CreateTags Source #

A map of the key-value pairs for the resource tag.

See: newCreateTags smart constructor.

Constructors

CreateTags' 

Fields

Instances

Instances details
Eq CreateTags Source # 
Instance details

Defined in Amazonka.MQ.CreateTags

Read CreateTags Source # 
Instance details

Defined in Amazonka.MQ.CreateTags

Show CreateTags Source # 
Instance details

Defined in Amazonka.MQ.CreateTags

Generic CreateTags Source # 
Instance details

Defined in Amazonka.MQ.CreateTags

Associated Types

type Rep CreateTags :: Type -> Type #

NFData CreateTags Source # 
Instance details

Defined in Amazonka.MQ.CreateTags

Methods

rnf :: CreateTags -> () #

Hashable CreateTags Source # 
Instance details

Defined in Amazonka.MQ.CreateTags

ToJSON CreateTags Source # 
Instance details

Defined in Amazonka.MQ.CreateTags

AWSRequest CreateTags Source # 
Instance details

Defined in Amazonka.MQ.CreateTags

Associated Types

type AWSResponse CreateTags #

ToHeaders CreateTags Source # 
Instance details

Defined in Amazonka.MQ.CreateTags

Methods

toHeaders :: CreateTags -> [Header] #

ToPath CreateTags Source # 
Instance details

Defined in Amazonka.MQ.CreateTags

ToQuery CreateTags Source # 
Instance details

Defined in Amazonka.MQ.CreateTags

type Rep CreateTags Source # 
Instance details

Defined in Amazonka.MQ.CreateTags

type Rep CreateTags = D1 ('MetaData "CreateTags" "Amazonka.MQ.CreateTags" "libZSservicesZSamazonka-mqZSamazonka-mq" 'False) (C1 ('MetaCons "CreateTags'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse CreateTags Source # 
Instance details

Defined in Amazonka.MQ.CreateTags

newCreateTags Source #

Create a value of CreateTags 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:tags:CreateTags', createTags_tags - The key-value pair for the resource tag.

$sel:resourceArn:CreateTags', createTags_resourceArn - The Amazon Resource Name (ARN) of the resource tag.

Request Lenses

createTags_tags :: Lens' CreateTags (Maybe (HashMap Text Text)) Source #

The key-value pair for the resource tag.

createTags_resourceArn :: Lens' CreateTags Text Source #

The Amazon Resource Name (ARN) of the resource tag.

Destructuring the Response

data CreateTagsResponse Source #

See: newCreateTagsResponse smart constructor.

Constructors

CreateTagsResponse' 

Instances

Instances details
Eq CreateTagsResponse Source # 
Instance details

Defined in Amazonka.MQ.CreateTags

Read CreateTagsResponse Source # 
Instance details

Defined in Amazonka.MQ.CreateTags

Show CreateTagsResponse Source # 
Instance details

Defined in Amazonka.MQ.CreateTags

Generic CreateTagsResponse Source # 
Instance details

Defined in Amazonka.MQ.CreateTags

Associated Types

type Rep CreateTagsResponse :: Type -> Type #

NFData CreateTagsResponse Source # 
Instance details

Defined in Amazonka.MQ.CreateTags

Methods

rnf :: CreateTagsResponse -> () #

type Rep CreateTagsResponse Source # 
Instance details

Defined in Amazonka.MQ.CreateTags

type Rep CreateTagsResponse = D1 ('MetaData "CreateTagsResponse" "Amazonka.MQ.CreateTags" "libZSservicesZSamazonka-mqZSamazonka-mq" 'False) (C1 ('MetaCons "CreateTagsResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newCreateTagsResponse :: CreateTagsResponse Source #

Create a value of CreateTagsResponse with all optional fields omitted.

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