We are excited to announce the developer preview of our new API documentation for AWS SDK for JavaScript v3. Please follow instructions on the landing page to leave us your feedback.
Protected
Adds or updates tags for the AWS resource with the specified ARN.
Use a bare-bones client and the command you need to make an API call.
import { IvschatClient, TagResourceCommand } from "@aws-sdk/client-ivschat"; // ES Modules import// const { IvschatClient, TagResourceCommand } = require("@aws-sdk/client-ivschat"); // CommonJS importconst client = new IvschatClient(config);const input = { // TagResourceRequest resourceArn: "STRING_VALUE", // required tags: { // Tags // required "<keys>": "STRING_VALUE", },};const command = new TagResourceCommand(input);const response = await client.send(command);// {};
TagResourceCommandInput
TagResourceCommandOutput
input
response
config
InternalServerException (server fault)
ResourceNotFoundException (client fault)
ValidationException (client fault)
IvschatServiceException
Base exception class for all service exceptions from Ivschat service.
Readonly
Static
Adds or updates tags for the AWS resource with the specified ARN.
Example
Use a bare-bones client and the command you need to make an API call.
Param
TagResourceCommandInput
Returns
TagResourceCommandOutput
See
input
shape.response
shape.config
shape.Throws
InternalServerException (server fault)
Throws
ResourceNotFoundException (client fault)
Throws
ValidationException (client fault)
Throws
IvschatServiceException
Base exception class for all service exceptions from Ivschat service.