Cancel Image Launch Permission
ec2_cancel_image_launch_permission | R Documentation |
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.
Usage¶
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 isUnauthorizedOperation
.
Value¶
A list with the following syntax: