amazonka-ec2-0.3.5: Amazon Elastic Compute Cloud SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.ResetImageAttribute

Contents

Description

Resets an attribute of an AMI to its default value.

The productCodes attribute can't be reset.

http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-ResetImageAttribute.html

Synopsis

Request

Request constructor

Request lenses

ria1Attribute :: Lens' ResetImageAttribute ResetImageAttributeName Source

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

ria1DryRun :: Lens' ResetImageAttribute (Maybe Bool) Source

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.

Response

Response constructor