The following code examples show how to use UntagResource
.
- AWS CLI
-
To remove tags from an existing Lambda function
The following
untag-resource
example removes the tag with the key nameDEPARTMENT
tag from themy-function
Lambda function.aws lambda untag-resource \ --resource
arn:aws:lambda:us-west-2:123456789012:function:my-function
\ --tag-keysDEPARTMENT
This command produces no output.
For more information, see Tagging Lambda Functions in the AWS Lambda Developer Guide.
-
For API details, see UntagResource
in AWS CLI Command Reference.
-
For a complete list of AWS SDK developer guides and code examples, see Using Lambda with an AWS SDK. This topic also includes information about getting started and details about previous SDK versions.