untagResource
inline suspend fun VerifiedPermissionsClient.untagResource(crossinline block: UntagResourceRequest.Builder.() -> Unit): UntagResourceResponse
Removes one or more tags from the specified Amazon Verified Permissions resource. In Verified Permissions, policy stores can be tagged.
Samples
fun main() {
//sampleStart
// The following example removes the listed tags from the resource.
val resp = verifiedPermissionsClient.untagResource {
resourceArn = "C7v5xMplfFH3i3e4Jrzb1a"
tagKeys = listOf<String>(
"key1",
"key2"
)
}
//sampleEnd
}