UntagResourceCommand

Removes the specified tags from the specified resource.

Example Syntax

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

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

UntagResourceCommand Input

See UntagResourceCommandInput for more details

Parameter
Type
Description
resourceArn
Required
string | undefined

ARN of the resource whose tag needs to be removed.

tagKeys
Required
string[] | undefined

Tag keys for the tags to be removed.

UntagResourceCommand Output

Parameter
Type
Description
$metadata
Required
ResponseMetadata
Metadata pertaining to this request.

Throws

Name
Fault
Details
InternalServerException
server

A failure occurred on the server.

ResourceNotFoundException
client

A specified resource could not be located.

ThrottlingException
client

The exception was interrupted by throttling.

ValidationException
client

A resource could not be validated.

NeptuneGraphServiceException
Base exception class for all service exceptions from NeptuneGraph service.