UntagResourceCommand

Untag an Amazon Bedrock Data Automation resource

Example Syntax

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

import { BedrockDataAutomationRuntimeClient, UntagResourceCommand } from "@aws-sdk/client-bedrock-data-automation-runtime"; // ES Modules import
// const { BedrockDataAutomationRuntimeClient, UntagResourceCommand } = require("@aws-sdk/client-bedrock-data-automation-runtime"); // CommonJS import
const client = new BedrockDataAutomationRuntimeClient(config);
const input = { // UntagResourceRequest
  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 a taggable resource
tagKeys
Required
string[] | undefined
List of tag keys

UntagResourceCommand Output

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

Throws

Name
Fault
Details
AccessDeniedException
client
This exception will be thrown when customer does not have access to API.
InternalServerException
server
This exception is for any internal un-expected service errors.
ResourceNotFoundException
client
This exception will be thrown when resource provided from customer not found.
ThrottlingException
client
This exception will be thrown when customer reached API TPS limit.
ValidationException
client
This exception will be thrown when customer provided invalid parameters.
BedrockDataAutomationRuntimeServiceException
Base exception class for all service exceptions from BedrockDataAutomationRuntime service.