Options
All
  • Public
  • Public/Protected
  • All
Menu

Class UntagResourceCommand

Adds to or modifies the tags of the given resource. Tags are metadata which can be used to manage a resource. To untag a resource, the caller account must be the same as the resource’s OwnerAccountId. Untagging resources across accounts is not supported.

example

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

import { MigrationHubRefactorSpacesClient, UntagResourceCommand } from "@aws-sdk/client-migration-hub-refactor-spaces"; // ES Modules import
// const { MigrationHubRefactorSpacesClient, UntagResourceCommand } = require("@aws-sdk/client-migration-hub-refactor-spaces"); // CommonJS import
const client = new MigrationHubRefactorSpacesClient(config);
const command = new UntagResourceCommand(input);
const response = await client.send(command);
see

UntagResourceCommandInput for command's input shape.

see

UntagResourceCommandOutput for command's response shape.

see

config for MigrationHubRefactorSpacesClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: UntagResourceCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<UntagResourceCommandInput, UntagResourceCommandOutput>