listTagsForResource

abstract suspend fun listTagsForResource(input: ListTagsForResourceRequest = ListTagsForResourceRequest { }): ListTagsForResourceResponse

Lists all metadata tags attached to an DMS resource, including replication instance, endpoint, subnet group, and migration task. For more information, see Tag data type description.

Samples

// Lists all tags for an AWS DMS resource.
val resp = databaseMigrationClient.listTagsForResource {
    resourceArn = ""
}