amazonka-mgn-2.0: Amazon Application Migration Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
ToJSON TagResource Source # 
Instance details

Defined in Amazonka.MGN.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

AWSRequest TagResource Source # 
Instance details

Defined in Amazonka.MGN.TagResource

Associated Types

type AWSResponse TagResource #

Generic TagResource Source # 
Instance details

Defined in Amazonka.MGN.TagResource

Associated Types

type Rep TagResource :: Type -> Type #

Show TagResource Source # 
Instance details

Defined in Amazonka.MGN.TagResource

NFData TagResource Source # 
Instance details

Defined in Amazonka.MGN.TagResource

Methods

rnf :: TagResource -> () #

Eq TagResource Source # 
Instance details

Defined in Amazonka.MGN.TagResource

Hashable TagResource Source # 
Instance details

Defined in Amazonka.MGN.TagResource

type AWSResponse 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" "amazonka-mgn-2.0-BuezedRYkBsCUJQfnWhjEk" '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)))))

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.

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.