Jump to Content

Class TagResourceCommandProtected

This operation tags a resource.

Example

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

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

Param

TagResourceCommandInput

Returns

TagResourceCommandOutput

See

Hierarchy

Constructors

Properties

middlewareStack: MiddlewareStack<TagResourceCommandInput, TagResourceCommandOutput>

Methods