Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Deletes the specified network interface. You must detach the network interface before you can delete it.
Synopsis
- data DeleteNetworkInterface = DeleteNetworkInterface' {}
- newDeleteNetworkInterface :: Text -> DeleteNetworkInterface
- deleteNetworkInterface_dryRun :: Lens' DeleteNetworkInterface (Maybe Bool)
- deleteNetworkInterface_networkInterfaceId :: Lens' DeleteNetworkInterface Text
- data DeleteNetworkInterfaceResponse = DeleteNetworkInterfaceResponse' {
- newDeleteNetworkInterfaceResponse :: DeleteNetworkInterfaceResponse
Creating a Request
data DeleteNetworkInterface Source #
Contains the parameters for DeleteNetworkInterface.
See: newDeleteNetworkInterface
smart constructor.
DeleteNetworkInterface' | |
|
Instances
newDeleteNetworkInterface Source #
Create a value of DeleteNetworkInterface
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:dryRun:DeleteNetworkInterface'
, deleteNetworkInterface_dryRun
- 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
.
DeleteNetworkInterface
, deleteNetworkInterface_networkInterfaceId
- The ID of the network interface.
Request Lenses
deleteNetworkInterface_dryRun :: Lens' DeleteNetworkInterface (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
.
deleteNetworkInterface_networkInterfaceId :: Lens' DeleteNetworkInterface Text Source #
The ID of the network interface.
Destructuring the Response
data DeleteNetworkInterfaceResponse Source #
See: newDeleteNetworkInterfaceResponse
smart constructor.
Instances
newDeleteNetworkInterfaceResponse :: DeleteNetworkInterfaceResponse Source #
Create a value of DeleteNetworkInterfaceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.