Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
- data ResetImageAttribute
- resetImageAttribute :: Text -> ResetImageAttributeName -> ResetImageAttribute
- ria1Attribute :: Lens' ResetImageAttribute ResetImageAttributeName
- ria1DryRun :: Lens' ResetImageAttribute (Maybe Bool)
- ria1ImageId :: Lens' ResetImageAttribute Text
- data ResetImageAttributeResponse
- resetImageAttributeResponse :: ResetImageAttributeResponse
Request
Request constructor
ResetImageAttribute
constructor.
The fields accessible through corresponding lenses are:
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
.
ria1ImageId :: Lens' ResetImageAttribute Text Source
The ID of the AMI.