deleteTags
inline suspend fun EfsClient.deleteTags(crossinline block: DeleteTagsRequest.Builder.() -> Unit): DeleteTagsResponse
Deprecated
Use UntagResource.
DEPRECATED - DeleteTags
is deprecated and not maintained. To remove tags from EFS resources, use the API action.
Deletes the specified tags from a file system. If the DeleteTags
request includes a tag key that doesn't exist, Amazon EFS ignores it and doesn't cause an error. For more information about tags and related restrictions, see Tag restrictions in the Billing and Cost Management User Guide.
This operation requires permissions for the elasticfilesystem:DeleteTags
action.
Samples
fun main() {
//sampleStart
// This operation deletes tags for an EFS file system.
efsClient.deleteTags {
fileSystemId = "fs-01234567"
tagKeys = listOf<String>(
"Name"
)
}
//sampleEnd
}