Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TagResourceCommand

deprecated

Adds or overwrites one or more tags for the specified resource, such as a fleet. Each tag consists of a key and an optional value. If a resource already has a tag with the same key, this operation updates its value.

example

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

import { WorkLinkClient, TagResourceCommand } from "@aws-sdk/client-worklink"; // ES Modules import
// const { WorkLinkClient, TagResourceCommand } = require("@aws-sdk/client-worklink"); // CommonJS import
const client = new WorkLinkClient(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 WorkLinkClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: TagResourceCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<TagResourceCommandInput, TagResourceCommandOutput>

Methods

Static getEndpointParameterInstructions