| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.EFS.CreateTags
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 operation.
This operation requires permission for the elasticfilesystem:CreateTags action.
Synopsis
Creating a Request
Arguments
| :: Text | |
| -> CreateTags |
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:
ctFileSystemId- ID of the file system whose tags you want to modify (String). This operation modifies the tags only, not the file system.ctTags- Array ofTagobjects to add. EachTagobject is a key-value pair.
data CreateTags Source #
See: createTags smart constructor.
Instances
Request Lenses
ctFileSystemId :: Lens' CreateTags Text Source #
ID of the file system whose tags you want to modify (String). This operation modifies the tags only, not the file system.
ctTags :: Lens' CreateTags [Tag] Source #
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.
data CreateTagsResponse Source #
See: createTagsResponse smart constructor.