CmdID / aws / aws storagegateway
aws storagegateway detach-volume
Disconnects a volume from an iSCSI connection and then detaches the volume from the specified gateway. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--force-detachSet to true to forcibly remove the iSCSI connection of the target volume and detach the volume.--volume-arnThe Amazon Resource Name (ARN) of the volume to detach from the gateway.