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.
ec2_cancel_image_launch_permission(ImageId, DryRun = NULL)
[required] The ID of the AMI that was shared with your Amazon Web Services account.
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
.