Copyright | (c) 2013-2021 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 |
Deletes an existing virtual node.
You must delete any virtual services that list a virtual node as a service provider before you can delete the virtual node itself.
Synopsis
- data DeleteVirtualNode = DeleteVirtualNode' {}
- newDeleteVirtualNode :: Text -> Text -> DeleteVirtualNode
- deleteVirtualNode_meshOwner :: Lens' DeleteVirtualNode (Maybe Text)
- deleteVirtualNode_meshName :: Lens' DeleteVirtualNode Text
- deleteVirtualNode_virtualNodeName :: Lens' DeleteVirtualNode Text
- data DeleteVirtualNodeResponse = DeleteVirtualNodeResponse' {}
- newDeleteVirtualNodeResponse :: Int -> VirtualNodeData -> DeleteVirtualNodeResponse
- deleteVirtualNodeResponse_httpStatus :: Lens' DeleteVirtualNodeResponse Int
- deleteVirtualNodeResponse_virtualNode :: Lens' DeleteVirtualNodeResponse VirtualNodeData
Creating a Request
data DeleteVirtualNode Source #
Deletes a virtual node input.
See: newDeleteVirtualNode
smart constructor.
DeleteVirtualNode' | |
|
Instances
:: Text | |
-> Text | |
-> DeleteVirtualNode |
Create a value of DeleteVirtualNode
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:meshOwner:DeleteVirtualNode'
, deleteVirtualNode_meshOwner
- The AWS IAM account ID of the service mesh owner. If the account ID is
not your own, then it's the ID of the account that shared the mesh with
your account. For more information about mesh sharing, see
Working with shared meshes.
$sel:meshName:DeleteVirtualNode'
, deleteVirtualNode_meshName
- The name of the service mesh to delete the virtual node in.
$sel:virtualNodeName:DeleteVirtualNode'
, deleteVirtualNode_virtualNodeName
- The name of the virtual node to delete.
Request Lenses
deleteVirtualNode_meshOwner :: Lens' DeleteVirtualNode (Maybe Text) Source #
The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
deleteVirtualNode_meshName :: Lens' DeleteVirtualNode Text Source #
The name of the service mesh to delete the virtual node in.
deleteVirtualNode_virtualNodeName :: Lens' DeleteVirtualNode Text Source #
The name of the virtual node to delete.
Destructuring the Response
data DeleteVirtualNodeResponse Source #
See: newDeleteVirtualNodeResponse
smart constructor.
DeleteVirtualNodeResponse' | |
|
Instances
newDeleteVirtualNodeResponse Source #
Create a value of DeleteVirtualNodeResponse
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:httpStatus:DeleteVirtualNodeResponse'
, deleteVirtualNodeResponse_httpStatus
- The response's http status code.
$sel:virtualNode:DeleteVirtualNodeResponse'
, deleteVirtualNodeResponse_virtualNode
- The virtual node that was deleted.
Response Lenses
deleteVirtualNodeResponse_httpStatus :: Lens' DeleteVirtualNodeResponse Int Source #
The response's http status code.
deleteVirtualNodeResponse_virtualNode :: Lens' DeleteVirtualNodeResponse VirtualNodeData Source #
The virtual node that was deleted.