Learn R Programming

paws.compute (version 0.7.0)

ec2_restore_image_from_recycle_bin: Restores an AMI from the Recycle Bin

Description

Restores an AMI from the Recycle Bin. For more information, see Recycle Bin in the Amazon EC2 User Guide.

See https://www.paws-r-sdk.com/docs/ec2_restore_image_from_recycle_bin/ for full documentation.

Usage

ec2_restore_image_from_recycle_bin(ImageId, DryRun = NULL)

Arguments

ImageId

[required] The ID of the AMI 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.