Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
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.
See: AWS API Reference for ResetInstanceAttribute.
- resetInstanceAttribute :: Text -> InstanceAttributeName -> ResetInstanceAttribute
- data ResetInstanceAttribute
- riaDryRun :: Lens' ResetInstanceAttribute (Maybe Bool)
- riaInstanceId :: Lens' ResetInstanceAttribute Text
- riaAttribute :: Lens' ResetInstanceAttribute InstanceAttributeName
- resetInstanceAttributeResponse :: ResetInstanceAttributeResponse
- data ResetInstanceAttributeResponse
Creating a Request
Creates a value of ResetInstanceAttribute
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ResetInstanceAttribute Source
See: resetInstanceAttribute
smart constructor.
Request Lenses
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.
riaAttribute :: Lens' ResetInstanceAttribute InstanceAttributeName Source
The attribute to reset.
Destructuring the Response
resetInstanceAttributeResponse :: ResetInstanceAttributeResponse Source
Creates a value of ResetInstanceAttributeResponse
with the minimum fields required to make a request.
data ResetInstanceAttributeResponse Source
See: resetInstanceAttributeResponse
smart constructor.