listTags

abstract suspend fun listTags(input: ListTagsRequest): ListTagsResponse

Returns a function, event source mapping, or code signing configuration's tags. You can also view function tags with GetFunction.

Samples


fun main() { 
   //sampleStart 
   // The following example displays the tags attached to the my function Lambda function.
val resp = lambdaClient.listTags {
    resource = "arn:aws:lambda:us-west-2:123456789012:function:my-function"
} 
   //sampleEnd
}