- 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 the tag with the AWS re:Post Private resource.
Example Syntax
Use a bare-bones client and the command you need to make an API call.
import { RepostspaceClient, UntagResourceCommand } from "@aws-sdk/client-repostspace"; // ES Modules import
// const { RepostspaceClient, UntagResourceCommand } = require("@aws-sdk/client-repostspace"); // CommonJS import
const client = new RepostspaceClient(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 |
---|
Parameter | Type | Description |
---|---|---|
resourceArn Required | string | undefined | The ARN of the resource. |
tagKeys Required | string[] | undefined | The key values of the tag. |
UntagResourceCommand Output
See UntagResourceCommandOutput for details
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
$metadata Required | ResponseMetadata | Metadata pertaining to this request. |
Throws
Name | Fault | Details |
---|
Name | Fault | Details |
---|---|---|
AccessDeniedException | client | User does not have sufficient access to perform this action. |
InternalServerException | server | Unexpected error during processing of request. |
ResourceNotFoundException | client | Request references a resource which does not exist. |
ThrottlingException | client | Request was denied due to request throttling. |
ValidationException | client | The input fails to satisfy the constraints specified by an AWS service. |
RepostspaceServiceException | Base exception class for all service exceptions from Repostspace service. |