Jump to Content

This API Documentation is now deprecated

We are excited to announce our new API Documentation.

Class UntagResourceCommandProtected

Removes a tag from a device or task.

Example

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

import { SnowDeviceManagementClient, UntagResourceCommand } from "@aws-sdk/client-snow-device-management"; // ES Modules import
// const { SnowDeviceManagementClient, UntagResourceCommand } = require("@aws-sdk/client-snow-device-management"); // CommonJS import
const client = new SnowDeviceManagementClient(config);
const input = { // UntagResourceInput
resourceArn: "STRING_VALUE", // required
tagKeys: [ // TagKeys // required
"STRING_VALUE",
],
};
const command = new UntagResourceCommand(input);
const response = await client.send(command);
// {};

Param

UntagResourceCommandInput

Returns

UntagResourceCommandOutput

See

Throws

InternalServerException (server fault)

An unexpected error occurred while processing the request.

Throws

ResourceNotFoundException (client fault)

The request references a resource that doesn't exist.

Throws

ValidationException (client fault)

The input fails to satisfy the constraints specified by an Amazon Web Services service.

Throws

SnowDeviceManagementServiceException

Base exception class for all service exceptions from SnowDeviceManagement service.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

Methods