removeTagsFromResource
abstract suspend fun removeTagsFromResource(input: RemoveTagsFromResourceRequest): RemoveTagsFromResourceResponse
Removes one or more tags from the specified resource. This operation is supported in storage gateways of all types.
Samples
fun main() {
//sampleStart
// Lists the iSCSI stored volumes of a gateway. Removes one or more tags from the specified resource.
val resp = storageGatewayClient.removeTagsFromResource {
resourceArn = "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-11A2222B"
tagKeys = listOf<String>(
"Dev Gatgeway Region",
"East Coast"
)
}
//sampleEnd
}