WorkspacesInstances / Client / associate_volume

associate_volume

WorkspacesInstances.Client.associate_volume(**kwargs)

Attaches a volume to a WorkSpace Instance.

See also: AWS API Documentation

Request Syntax

response = client.associate_volume(
    WorkspaceInstanceId='string',
    VolumeId='string',
    Device='string'
)
Parameters:
  • WorkspaceInstanceId (string) –

    [REQUIRED]

    WorkSpace Instance to attach volume to.

  • VolumeId (string) –

    [REQUIRED]

    Volume to be attached.

  • Device (string) –

    [REQUIRED]

    Device path for volume attachment.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

    Confirms volume attachment.

Exceptions