- 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 key-value tag pairs associated to your Amazon Managed Workflows for Apache Airflow (MWAA) environment. For example, "Environment": "Staging"
.
Example Syntax
Use a bare-bones client and the command you need to make an API call.
import { MWAAClient, UntagResourceCommand } from "@aws-sdk/client-mwaa"; // ES Modules import
// const { MWAAClient, UntagResourceCommand } = require("@aws-sdk/client-mwaa"); // CommonJS import
const client = new MWAAClient(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 |
---|
Parameter | Type | Description |
---|---|---|
ResourceArn Required | string | undefined | The Amazon Resource Name (ARN) of the Amazon MWAA environment. For example, |
tagKeys Required | string[] | undefined | The key-value tag pair you want to remove. For example, |
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 |
---|---|---|
InternalServerException | server | InternalServerException: An internal error has occurred. |
ResourceNotFoundException | client | ResourceNotFoundException: The resource is not available. |
ValidationException | client | ValidationException: The provided input is not valid. |
MWAAServiceException | Base exception class for all service exceptions from MWAA service. |