- Navigation GuideYou are on a Command (operation) page with structural examples. Use the navigation breadcrumb if you would like to return to the Client landing page.
UntagResourceCommand
Removes the association of tags from a Amazon Keyspaces resource.
Example Syntax
Use a bare-bones client and the command you need to make an API call.
import { KeyspacesClient, UntagResourceCommand } from "@aws-sdk/client-keyspaces"; // ES Modules import
// const { KeyspacesClient, UntagResourceCommand } = require("@aws-sdk/client-keyspaces"); // CommonJS import
const client = new KeyspacesClient(config);
const input = { // UntagResourceRequest
resourceArn: "STRING_VALUE", // required
tags: [ // TagList // required
{ // Tag
key: "STRING_VALUE", // required
value: "STRING_VALUE", // required
},
],
};
const command = new UntagResourceCommand(input);
const response = await client.send(command);
// {};
UntagResourceCommand Input
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
resourceArn Required | string | undefined | The Amazon Keyspaces resource that the tags will be removed from. This value is an Amazon Resource Name (ARN). |
tags Required | Tag[] | undefined | A list of existing tags to be removed from the Amazon Keyspaces resource. |
UntagResourceCommand Output
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
$metadata Required | ResponseMetadata | Metadata pertaining to this request. |
Throws
Name | Fault | Details |
---|
Name | Fault | Details |
---|---|---|
AccessDeniedException | client | You don't have sufficient access permissions to perform this action. |
ConflictException | client | Amazon Keyspaces couldn't complete the requested action. This error may occur if you try to perform an action and the same or a different action is already in progress, or if you try to create a resource that already exists. |
InternalServerException | server | Amazon Keyspaces was unable to fully process this request because of an internal server error. |
ResourceNotFoundException | client | The operation tried to access a keyspace, table, or type that doesn't exist. The resource might not be specified correctly, or its status might not be |
ServiceQuotaExceededException | client | The operation exceeded the service quota for this resource. For more information on service quotas, see Quotas in the Amazon Keyspaces Developer Guide. |
ValidationException | client | The operation failed due to an invalid or malformed request. |
KeyspacesServiceException | Base exception class for all service exceptions from Keyspaces service. |