amazonka-rds-2.0: Amazon Relational Database 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.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
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

AWSRequest AddTagsToResource Source # 
Instance details

Defined in Amazonka.RDS.AddTagsToResource

Associated Types

type AWSResponse AddTagsToResource #

Generic AddTagsToResource Source # 
Instance details

Defined in Amazonka.RDS.AddTagsToResource

Associated Types

type Rep AddTagsToResource :: Type -> Type #

Read AddTagsToResource Source # 
Instance details

Defined in Amazonka.RDS.AddTagsToResource

Show AddTagsToResource Source # 
Instance details

Defined in Amazonka.RDS.AddTagsToResource

NFData AddTagsToResource Source # 
Instance details

Defined in Amazonka.RDS.AddTagsToResource

Methods

rnf :: AddTagsToResource -> () #

Eq AddTagsToResource Source # 
Instance details

Defined in Amazonka.RDS.AddTagsToResource

Hashable AddTagsToResource Source # 
Instance details

Defined in Amazonka.RDS.AddTagsToResource

type AWSResponse 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" "amazonka-rds-2.0-3xXyiLHmAvvCXXUIx1uhpP" 'False) (C1 ('MetaCons "AddTagsToResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Tag])))

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
Generic AddTagsToResourceResponse Source # 
Instance details

Defined in Amazonka.RDS.AddTagsToResource

Associated Types

type Rep AddTagsToResourceResponse :: Type -> Type #

Read AddTagsToResourceResponse Source # 
Instance details

Defined in Amazonka.RDS.AddTagsToResource

Show AddTagsToResourceResponse Source # 
Instance details

Defined in Amazonka.RDS.AddTagsToResource

NFData AddTagsToResourceResponse Source # 
Instance details

Defined in Amazonka.RDS.AddTagsToResource

Eq 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" "amazonka-rds-2.0-3xXyiLHmAvvCXXUIx1uhpP" '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.