Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AddTagsCommand

Attaches tags to an existing Elasticsearch domain. Tags are a set of case-sensitive key value pairs. An Elasticsearch domain may have up to 10 tags. See Tagging Amazon Elasticsearch Service Domains for more information.

example

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

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

AddTagsCommandInput for command's input shape.

see

AddTagsCommandOutput for command's response shape.

see

config for ElasticsearchServiceClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: AddTagsCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<AddTagsCommandInput, AddTagsCommandOutput>

Methods

Static getEndpointParameterInstructions