Skip to content

/AWS1/CL_EC2=>RESETIMAGEATTRIBUTE()

About ResetImageAttribute

Resets an attribute of an AMI to its default value.

Method Signature

IMPORTING

Required arguments:

IV_ATTRIBUTE TYPE /AWS1/EC2RESETIMAGEATTRNAME /AWS1/EC2RESETIMAGEATTRNAME

The attribute to reset (currently you can only reset the launch permission attribute).

IV_IMAGEID TYPE /AWS1/EC2IMAGEID /AWS1/EC2IMAGEID

The ID of the AMI.

Optional arguments:

IV_DRYRUN TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

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.