libZSservicesZSamazonka-rdsZSamazonka-rds
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.RDS.AddTagsToResource

Description

Adds metadata tags to an Amazon RDS resource. These tags can also be used with cost allocation reporting to track cost associated with Amazon RDS resources, or used in a Condition statement in an IAM policy for Amazon RDS.

For an overview on tagging Amazon RDS resources, see Tagging Amazon RDS Resources.

Synopsis

Creating a Request

data AddTagsToResource Source #

See: newAddTagsToResource smart constructor.

Constructors

AddTagsToResource' 

Fields

Instances

Instances details
Eq AddTagsToResource Source # 
Instance details

Defined in Amazonka.RDS.AddTagsToResource

Read AddTagsToResource Source # 
Instance details

Defined in Amazonka.RDS.AddTagsToResource

Show AddTagsToResource Source # 
Instance details

Defined in Amazonka.RDS.AddTagsToResource

Generic AddTagsToResource Source # 
Instance details

Defined in Amazonka.RDS.AddTagsToResource

Associated Types

type Rep AddTagsToResource :: Type -> Type #

NFData AddTagsToResource Source # 
Instance details

Defined in Amazonka.RDS.AddTagsToResource

Methods

rnf :: AddTagsToResource -> () #

Hashable AddTagsToResource Source # 
Instance details

Defined in Amazonka.RDS.AddTagsToResource

AWSRequest AddTagsToResource Source # 
Instance details

Defined in Amazonka.RDS.AddTagsToResource

Associated Types

type AWSResponse AddTagsToResource #

ToHeaders AddTagsToResource Source # 
Instance details

Defined in Amazonka.RDS.AddTagsToResource

ToPath AddTagsToResource Source # 
Instance details

Defined in Amazonka.RDS.AddTagsToResource

ToQuery AddTagsToResource Source # 
Instance details

Defined in Amazonka.RDS.AddTagsToResource

type Rep AddTagsToResource Source # 
Instance details

Defined in Amazonka.RDS.AddTagsToResource

type Rep AddTagsToResource = D1 ('MetaData "AddTagsToResource" "Amazonka.RDS.AddTagsToResource" "libZSservicesZSamazonka-rdsZSamazonka-rds" 'False) (C1 ('MetaCons "AddTagsToResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Tag])))
type AWSResponse AddTagsToResource Source # 
Instance details

Defined in Amazonka.RDS.AddTagsToResource

newAddTagsToResource Source #

Create a value of AddTagsToResource 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:resourceName:AddTagsToResource', addTagsToResource_resourceName - The Amazon RDS resource that the tags are added to. This value is an Amazon Resource Name (ARN). For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN).

$sel:tags:AddTagsToResource', addTagsToResource_tags - The tags to be assigned to the Amazon RDS resource.

Request Lenses

addTagsToResource_resourceName :: Lens' AddTagsToResource Text Source #

The Amazon RDS resource that the tags are added to. This value is an Amazon Resource Name (ARN). For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN).

addTagsToResource_tags :: Lens' AddTagsToResource [Tag] Source #

The tags to be assigned to the Amazon RDS resource.

Destructuring the Response

data AddTagsToResourceResponse Source #

See: newAddTagsToResourceResponse smart constructor.

Instances

Instances details
Eq AddTagsToResourceResponse Source # 
Instance details

Defined in Amazonka.RDS.AddTagsToResource

Read AddTagsToResourceResponse Source # 
Instance details

Defined in Amazonka.RDS.AddTagsToResource

Show AddTagsToResourceResponse Source # 
Instance details

Defined in Amazonka.RDS.AddTagsToResource

Generic AddTagsToResourceResponse Source # 
Instance details

Defined in Amazonka.RDS.AddTagsToResource

Associated Types

type Rep AddTagsToResourceResponse :: Type -> Type #

NFData AddTagsToResourceResponse Source # 
Instance details

Defined in Amazonka.RDS.AddTagsToResource

type Rep AddTagsToResourceResponse Source # 
Instance details

Defined in Amazonka.RDS.AddTagsToResource

type Rep AddTagsToResourceResponse = D1 ('MetaData "AddTagsToResourceResponse" "Amazonka.RDS.AddTagsToResource" "libZSservicesZSamazonka-rdsZSamazonka-rds" 'False) (C1 ('MetaCons "AddTagsToResourceResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newAddTagsToResourceResponse :: AddTagsToResourceResponse Source #

Create a value of AddTagsToResourceResponse with all optional fields omitted.

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