amazonka-efs-1.3.1: Amazon Elastic File System 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.EFS.CreateTags

Contents

Description

Creates or overwrites tags associated with a file system. Each tag is a key-value pair. If a tag key specified in the request already exists on the file system, this operation overwrites its value with the value provided in the request. If you add the "Name" tag to your file system, Amazon EFS returns it in the response to the DescribeFileSystems API.

This operation requires permission for the 'elasticfilesystem:CreateTags' action.

See: AWS API Reference for CreateTags.

Synopsis

Creating a Request

createTags Source

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

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

Request Lenses

ctFileSystemId :: Lens' CreateTags Text Source

String. The ID of the file system whose tags you want to modify. This operation modifies only the tags and not the file system.

ctTags :: Lens' CreateTags [Tag] Source

An array of Tag objects to add. Each Tag object is a key-value pair.

Destructuring the Response

createTagsResponse :: CreateTagsResponse Source

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