listTagsForResource

Returns a list of tags associated with a resource.

Samples


fun main() { 
   //sampleStart 
   // The following example returns a list of tags associated with the specified resource.
val resp = securityHubClient.listTagsForResource {
    resourceArn = "arn:aws:securityhub:us-west-1:123456789012:hub/default"
} 
   //sampleEnd
}