amazonka-emr-0.3.0: Amazon Elastic MapReduce SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.EMR.AddTags

Contents

Description

Adds tags to an Amazon EMR resource. Tags make it easier to associate clusters in various ways, such as grouping clusters to track your Amazon EMR resource allocation costs. For more information, see Tagging Amazon EMRResources.

http://docs.aws.amazon.com/ElasticMapReduce/latest/API/API_AddTags.html

Synopsis

Request

data AddTags Source

Instances

Eq AddTags 
Read AddTags 
Show AddTags 
ToJSON AddTags 
AWSRequest AddTags 
ToQuery AddTags 
ToPath AddTags 
ToHeaders AddTags 
type Sv AddTags = EMR 
type Rs AddTags = AddTagsResponse 

Request constructor

addTags Source

Arguments

:: Text

atResourceId

-> AddTags 

AddTags constructor.

The fields accessible through corresponding lenses are:

Request lenses

atResourceId :: Lens' AddTags Text Source

The Amazon EMR resource identifier to which tags will be added. This value must be a cluster identifier.

atTags :: Lens' AddTags [Tag] Source

A list of tags to associate with a cluster and propagate to Amazon EC2 instances. Tags are user-defined key/value pairs that consist of a required key string with a maximum of 128 characters, and an optional value string with a maximum of 256 characters.

Response

Response constructor