Safe Haskell | None |
---|---|
Language | Haskell2010 |
Resets an attribute of an instance to its default value. To reset the kernel
or ramdisk
, the instance must be in a stopped state. To reset the SourceDestCheck
, the instance can be either running or stopped.
The SourceDestCheck
attribute controls whether source/destination checking
is enabled. The default value is true
, which means checking is enabled. This
value must be false
for a NAT instance to perform NAT. For more information,
see NAT Instances in the Amazon Virtual Private Cloud User Guide.
http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-ResetInstanceAttribute.html
- data ResetInstanceAttribute
- resetInstanceAttribute :: Text -> InstanceAttributeName -> ResetInstanceAttribute
- riaAttribute :: Lens' ResetInstanceAttribute InstanceAttributeName
- riaDryRun :: Lens' ResetInstanceAttribute (Maybe Bool)
- riaInstanceId :: Lens' ResetInstanceAttribute Text
- data ResetInstanceAttributeResponse
- resetInstanceAttributeResponse :: ResetInstanceAttributeResponse
Request
data ResetInstanceAttribute Source
Request constructor
ResetInstanceAttribute
constructor.
The fields accessible through corresponding lenses are:
Request lenses
riaAttribute :: Lens' ResetInstanceAttribute InstanceAttributeName Source
The attribute to reset.
riaDryRun :: Lens' ResetInstanceAttribute (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
.
riaInstanceId :: Lens' ResetInstanceAttribute Text Source
The ID of the instance.