Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Detaches a network interface from an instance.
- 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
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:
dniForce
- Specifies whether to force a detachment.dniDryRun
- 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 isDryRunOperation
. Otherwise, it isUnauthorizedOperation
.dniAttachmentId
- The ID of the attachment.
data DetachNetworkInterface Source #
Contains the parameters for DetachNetworkInterface.
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.