Jump to Content

Class UntagResourceCommandProtected

Deprecated

Removes a tag from the specified resource.

Example

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

import { IoTThingsGraphClient, UntagResourceCommand } from "@aws-sdk/client-iotthingsgraph"; // ES Modules import
// const { IoTThingsGraphClient, UntagResourceCommand } = require("@aws-sdk/client-iotthingsgraph"); // CommonJS import
const client = new IoTThingsGraphClient(config);
const input = { // UntagResourceRequest
resourceArn: "STRING_VALUE", // required
tagKeys: [ // TagKeyList // required
"STRING_VALUE",
],
};
const command = new UntagResourceCommand(input);
const response = await client.send(command);

Param

UntagResourceCommandInput

Returns

UntagResourceCommandOutput

See

Throws

InternalFailureException (server fault)

Throws

InvalidRequestException (client fault)

Throws

ResourceAlreadyExistsException (client fault)

Throws

ThrottlingException (client fault)

Hierarchy

Constructors

Properties

middlewareStack: MiddlewareStack<UntagResourceCommandInput, UntagResourceCommandOutput>

Methods