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

Copyright(c) 2013-2016 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.DetachNetworkInterface

Contents

Description

Detaches a network interface from an instance.

Synopsis

Creating a Request

detachNetworkInterface Source

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

Use one of the following lenses to modify other fields as desired:

Request Lenses

dniForce :: Lens' DetachNetworkInterface (Maybe Bool) Source

Specifies whether to force a detachment.

dniDryRun :: Lens' DetachNetworkInterface (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

detachNetworkInterfaceResponse :: DetachNetworkInterfaceResponse Source

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