detachDisk
inline suspend fun LightsailClient.detachDisk(crossinline block: DetachDiskRequest.Builder.() -> Unit): DetachDiskResponse
Detaches a stopped block storage disk from a Lightsail instance. Make sure to unmount any file systems on the device within your operating system before stopping the instance and detaching the disk.
The detach disk
operation supports tag-based access control via resource tags applied to the resource identified by disk name
. For more information, see the Amazon Lightsail Developer Guide.