Skip to content

Removes tags from a function, event source mapping, or code signing configuration

Description

Removes tags from a function, event source mapping, or code signing configuration.

Usage

lambda_untag_resource(Resource, TagKeys)

Arguments

  • Resource

    [required] The resource's Amazon Resource Name (ARN).

  • TagKeys

    [required] A list of tag keys to remove from the resource.

Value

An empty list.

Request syntax

svc$untag_resource(
  Resource = "string",
  TagKeys = list(
    "string"
  )
)

Examples

# The following example removes the tag with the key name DEPARTMENT tag
# from the my-function Lambda function.
svc$untag_resource(
  Resource = "arn:aws:lambda:us-west-2:123456789012:function:my-function",
  TagKeys = list(
    "DEPARTMENT"
  )
)