Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TagResourceCommand

Creates tags for the specified resource.

example

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

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

TagResourceCommandInput for command's input shape.

see

TagResourceCommandOutput for command's response shape.

see

config for AmpClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: TagResourceCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<TagResourceCommandInput, TagResourceCommandOutput>

Methods

Static getEndpointParameterInstructions