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

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.ResetInstanceAttribute

Contents

Description

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.

Synopsis

Creating a Request

resetInstanceAttribute Source

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:

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.

Destructuring the Response

resetInstanceAttributeResponse :: ResetInstanceAttributeResponse Source

Creates a value of ResetInstanceAttributeResponse with the minimum fields required to make a request.