describeTags
inline suspend fun ElasticLoadBalancingV2Client.describeTags(crossinline block: DescribeTagsRequest.Builder.() -> Unit): DescribeTagsResponse
Describes the tags for the specified Elastic Load Balancing resources. You can describe the tags for one or more Application Load Balancers, Network Load Balancers, Gateway Load Balancers, target groups, listeners, or rules.
Samples
fun main() {
//sampleStart
// This example describes the tags assigned to the specified load balancer.
val resp = elasticLoadBalancingV2Client.describeTags {
resourceArns = listOf<String>(
"arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188"
)
}
//sampleEnd
}