listTagsForResource
abstract suspend fun listTagsForResource(input: ListTagsForResourceRequest): ListTagsForResourceResponse
Returns the tags associated with the specified Amazon Verified Permissions resource. In Verified Permissions, policy stores can be tagged.
Samples
fun main() {
//sampleStart
// The following example lists all the tags for the resource named in the API call.
val resp = verifiedPermissionsClient.listTagsForResource {
resourceArn = "C7v5xMplfFH3i3e4Jrzb1a"
}
//sampleEnd
}