Learn R Programming

paws.compute (version 0.7.0)

ec2_cancel_image_launch_permission: Removes your Amazon Web Services account from the launch permissions for the specified AMI

Description

Removes your Amazon Web Services account from the launch permissions for the specified AMI. For more information, see Cancel having an AMI shared with your Amazon Web Services account in the Amazon EC2 User Guide.

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

Usage

ec2_cancel_image_launch_permission(ImageId, DryRun = NULL)

Arguments

ImageId

[required] The ID of the AMI that was shared with your Amazon Web Services account.

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.