WorkspacesInstances / Client / disassociate_volume
disassociate_volume¶
- WorkspacesInstances.Client.disassociate_volume(**kwargs)¶
Detaches a volume from a WorkSpace Instance.
See also: AWS API Documentation
Request Syntax
response = client.disassociate_volume( WorkspaceInstanceId='string', VolumeId='string', Device='string', DisassociateMode='FORCE'|'NO_FORCE' )
- Parameters:
WorkspaceInstanceId (string) –
[REQUIRED]
WorkSpace Instance to detach volume from.
VolumeId (string) –
[REQUIRED]
Volume to be detached.
Device (string) – Device path of volume to detach.
DisassociateMode (string) – Mode for volume detachment.
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Confirms volume detachment.
Exceptions