Reset Image Attribute
ec2_reset_image_attribute | R Documentation |
Resets an attribute of an AMI to its default value¶
Description¶
Resets an attribute of an AMI to its default value.
Usage¶
Arguments¶
Attribute
[required] The attribute to reset (currently you can only reset the launch permission attribute).
ImageId
[required] The ID of the AMI.
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¶
An empty list.
Request syntax¶
svc$reset_image_attribute(
Attribute = "launchPermission",
ImageId = "string",
DryRun = TRUE|FALSE
)