amazonka-rds-1.2.0.1: Amazon Relational Database Service SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.RDS.AddTagsToResource

Contents

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.

See: AWS API Reference for AddTagsToResource.

Synopsis

Creating a Request

addTagsToResource Source

Creates a value of AddTagsToResource with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

attrResourceName :: Lens' AddTagsToResource Text Source

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

attrTags :: Lens' AddTagsToResource [Tag] Source

The tags to be assigned to the Amazon RDS resource.

Destructuring the Response

addTagsToResourceResponse :: AddTagsToResourceResponse Source

Creates a value of AddTagsToResourceResponse with the minimum fields required to make a request.