reset_attribute

reset_attribute(**kwargs)

Resets an attribute of an AMI to its default value.

See also: AWS API Documentation

Request Syntax

response = image.reset_attribute(
    Attribute='launchPermission',
    DryRun=True|False
)
Parameters
  • Attribute (string) --

    [REQUIRED]

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

  • DryRun (boolean) -- 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 .
Returns

None