listTagsForResource

Returns all the tags on the specified Application Auto Scaling scalable target.

For general information about tags, including the format and syntax, see Tagging your Amazon Web Services resources in the Amazon Web Services General Reference.

Samples


fun main() { 
   //sampleStart 
   // This example lists the tag key names and values that are attached to the scalable target specified
// by its ARN.
val resp = applicationAutoScalingClient.listTagsForResource {
    resourceArn = "arn:aws:application-autoscaling:us-west-2:123456789012:scalable-target/1234abcd56ab78cd901ef1234567890ab123"
} 
   //sampleEnd
}