libZSservicesZSamazonka-mgnZSamazonka-mgn
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.MGN.TagResource

Description

Adds or overwrites only the specified tags for the specified Application Migration Service resource or resources. When you specify an existing tag key, the value is overwritten with the new value. Each resource can have a maximum of 50 tags. Each tag consists of a key and optional value.

Synopsis

Creating a Request

data TagResource Source #

See: newTagResource smart constructor.

Constructors

TagResource' 

Fields

Instances

Instances details
Eq TagResource Source # 
Instance details

Defined in Amazonka.MGN.TagResource

Show TagResource Source # 
Instance details

Defined in Amazonka.MGN.TagResource

Generic TagResource Source # 
Instance details

Defined in Amazonka.MGN.TagResource

Associated Types

type Rep TagResource :: Type -> Type #

NFData TagResource Source # 
Instance details

Defined in Amazonka.MGN.TagResource

Methods

rnf :: TagResource -> () #

Hashable TagResource Source # 
Instance details

Defined in Amazonka.MGN.TagResource

ToJSON TagResource Source # 
Instance details

Defined in Amazonka.MGN.TagResource

AWSRequest TagResource Source # 
Instance details

Defined in Amazonka.MGN.TagResource

Associated Types

type AWSResponse TagResource #

ToHeaders TagResource Source # 
Instance details

Defined in Amazonka.MGN.TagResource

Methods

toHeaders :: TagResource -> [Header] #

ToPath TagResource Source # 
Instance details

Defined in Amazonka.MGN.TagResource

ToQuery TagResource Source # 
Instance details

Defined in Amazonka.MGN.TagResource

type Rep TagResource Source # 
Instance details

Defined in Amazonka.MGN.TagResource

type Rep TagResource = D1 ('MetaData "TagResource" "Amazonka.MGN.TagResource" "libZSservicesZSamazonka-mgnZSamazonka-mgn" 'False) (C1 ('MetaCons "TagResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive (HashMap Text Text)))))
type AWSResponse TagResource Source # 
Instance details

Defined in Amazonka.MGN.TagResource

newTagResource Source #

Create a value of TagResource 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:resourceArn:TagResource', tagResource_resourceArn - Tag resource by ARN.

$sel:tags:TagResource', tagResource_tags - Tag resource by Tags.

Request Lenses

Destructuring the Response

data TagResourceResponse Source #

See: newTagResourceResponse smart constructor.

Constructors

TagResourceResponse' 

newTagResourceResponse :: TagResourceResponse Source #

Create a value of TagResourceResponse with all optional fields omitted.

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