untagResource (original) (raw)
lambda/aws.sdk.kotlin.services.lambda/LambdaClient/untagResource
abstract suspend fun untagResource(input: UntagResourceRequest): UntagResourceResponse
Removes tags from a function, event source mapping, or code signing configuration.
Samples
fun main() {
//sampleStart
// The following example removes the tag with the key name DEPARTMENT tag from the my function Lambda
// function.
lambdaClient.untagResource {
resource = "arn:aws:lambda:us-west-2:123456789012:function:my-function"
tagKeys = listOf<String>(
"DEPARTMENT"
)
}
//sampleEnd
}
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.Generated by dokka