Jump to Content

New API Documentation - Developer Preview Available

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.

Class UntagResourceCommandProtected

Removes the association of tags from a DAX resource. You can call UntagResource up to 5 times per second, per account.

Example

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

import { DAXClient, UntagResourceCommand } from "@aws-sdk/client-dax"; // ES Modules import
// const { DAXClient, UntagResourceCommand } = require("@aws-sdk/client-dax"); // CommonJS import
const client = new DAXClient(config);
const input = { // UntagResourceRequest
ResourceName: "STRING_VALUE", // required
TagKeys: [ // KeyList // required
"STRING_VALUE",
],
};
const command = new UntagResourceCommand(input);
const response = await client.send(command);
// { // UntagResourceResponse
// Tags: [ // TagList
// { // Tag
// Key: "STRING_VALUE",
// Value: "STRING_VALUE",
// },
// ],
// };

Param

UntagResourceCommandInput

Returns

UntagResourceCommandOutput

See

Throws

ClusterNotFoundFault (client fault)

The requested cluster ID does not refer to an existing DAX cluster.

Throws

InvalidARNFault (client fault)

The Amazon Resource Name (ARN) supplied in the request is not valid.

Throws

InvalidClusterStateFault (client fault)

The requested DAX cluster is not in the available state.

Throws

InvalidParameterCombinationException (client fault)

Two or more incompatible parameters were specified.

Throws

InvalidParameterValueException (client fault)

The value for a parameter is invalid.

Throws

ServiceLinkedRoleNotFoundFault (client fault)

The specified service linked role (SLR) was not found.

Throws

TagNotFoundFault (client fault)

The tag does not exist.

Throws

DAXServiceException

Base exception class for all service exceptions from DAX service.

Hierarchy

Constructors

Properties

middlewareStack: MiddlewareStack<UntagResourceCommandInput, UntagResourceCommandOutput>

Methods