Add a tag to a Amazon SWF domain.
Amazon SWF supports a maximum of 50 tags per resource.
Use a bare-bones client and the command you need to make an API call.
import { SWFClient, TagResourceCommand } from "@aws-sdk/client-swf"; // ES Modules import // const { SWFClient, TagResourceCommand } = require("@aws-sdk/client-swf"); // CommonJS import const client = new SWFClient(config); const command = new TagResourceCommand(input); const response = await client.send(command);
TagResourceCommandInput for command's input shape.
input
TagResourceCommandOutput for command's response shape.
response
config for SWFClient's config shape.
config
Add a tag to a Amazon SWF domain.
Amazon SWF supports a maximum of 50 tags per resource.
Use a bare-bones client and the command you need to make an API call.
import { SWFClient, TagResourceCommand } from "@aws-sdk/client-swf"; // ES Modules import // const { SWFClient, TagResourceCommand } = require("@aws-sdk/client-swf"); // CommonJS import const client = new SWFClient(config); const command = new TagResourceCommand(input); const response = await client.send(command);
TagResourceCommandInput for command's
input
shape.TagResourceCommandOutput for command's
response
shape.config for SWFClient's
config
shape.