Safe Haskell | None |
---|---|
Language | Haskell2010 |
Detaches a network interface from an instance.
http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-DetachNetworkInterface.html
- data DetachNetworkInterface
- detachNetworkInterface :: Text -> DetachNetworkInterface
- dniAttachmentId :: Lens' DetachNetworkInterface Text
- dniDryRun :: Lens' DetachNetworkInterface (Maybe Bool)
- dniForce :: Lens' DetachNetworkInterface (Maybe Bool)
- data DetachNetworkInterfaceResponse
- detachNetworkInterfaceResponse :: DetachNetworkInterfaceResponse
Request
data DetachNetworkInterface Source
Request constructor
DetachNetworkInterface
constructor.
The fields accessible through corresponding lenses are:
Request lenses
dniAttachmentId :: Lens' DetachNetworkInterface Text Source
The ID of the attachment.
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
.
dniForce :: Lens' DetachNetworkInterface (Maybe Bool) Source
Specifies whether to force a detachment.