Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CreateTagsCommand

deprecated

DEPRECATED - CreateTags is deprecated and not maintained. To create tags for EFS resources, use the API action.

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.

example

Use a bare-bones client and the command you need to make an API call.

import { EFSClient, CreateTagsCommand } from "@aws-sdk/client-efs"; // ES Modules import
// const { EFSClient, CreateTagsCommand } = require("@aws-sdk/client-efs"); // CommonJS import
const client = new EFSClient(config);
const command = new CreateTagsCommand(input);
const response = await client.send(command);
see

CreateTagsCommandInput for command's input shape.

see

CreateTagsCommandOutput for command's response shape.

see

config for EFSClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: CreateTagsCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<CreateTagsCommandInput, CreateTagsCommandOutput>

Methods

Static getEndpointParameterInstructions