Skip to content

Restores a volume from the Recycle Bin

Description

Restores a volume from the Recycle Bin. For more information, see Restore volumes from the Recycle Bin in the Amazon EBS User Guide.

Usage

ec2_restore_volume_from_recycle_bin(VolumeId, DryRun)

Arguments

  • VolumeId

    [required] The ID of the volume to restore.

  • DryRun

    Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Value

A list with the following syntax:

list(
  Return = TRUE|FALSE
)

Request syntax

svc$restore_volume_from_recycle_bin(
  VolumeId = "string",
  DryRun = TRUE|FALSE
)