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 |
Detaches a network interface from an instance.
See: AWS API Reference for DetachNetworkInterface.
- detachNetworkInterface :: Text -> DetachNetworkInterface
- data DetachNetworkInterface
- dniForce :: Lens' DetachNetworkInterface (Maybe Bool)
- dniDryRun :: Lens' DetachNetworkInterface (Maybe Bool)
- dniAttachmentId :: Lens' DetachNetworkInterface Text
- detachNetworkInterfaceResponse :: DetachNetworkInterfaceResponse
- data DetachNetworkInterfaceResponse
Creating a Request
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:
data DetachNetworkInterface Source
See: detachNetworkInterface
smart constructor.
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
.
dniAttachmentId :: Lens' DetachNetworkInterface Text Source
The ID of the attachment.
Destructuring the Response
detachNetworkInterfaceResponse :: DetachNetworkInterfaceResponse Source
Creates a value of DetachNetworkInterfaceResponse
with the minimum fields required to make a request.
data DetachNetworkInterfaceResponse Source
See: detachNetworkInterfaceResponse
smart constructor.