OpsWorks / Client / unassign_volume

unassign_volume#

OpsWorks.Client.unassign_volume(**kwargs)#

Unassigns an assigned Amazon EBS volume. The volume remains registered with the stack. For more information, see Resource Management.

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

See also: AWS API Documentation

Request Syntax

response = client.unassign_volume(
    VolumeId='string'
)
Parameters:

VolumeId (string) –

[REQUIRED]

The volume ID.

Returns:

None

Exceptions

  • OpsWorks.Client.exceptions.ValidationException

  • OpsWorks.Client.exceptions.ResourceNotFoundException