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 service mesh.
You must delete all resources (virtual services, routes, virtual routers, and virtual nodes) in the service mesh before you can delete the mesh itself.
Synopsis
- data DeleteMesh = DeleteMesh' {}
- newDeleteMesh :: Text -> DeleteMesh
- deleteMesh_meshName :: Lens' DeleteMesh Text
- data DeleteMeshResponse = DeleteMeshResponse' {
- httpStatus :: Int
- mesh :: MeshData
- newDeleteMeshResponse :: Int -> MeshData -> DeleteMeshResponse
- deleteMeshResponse_httpStatus :: Lens' DeleteMeshResponse Int
- deleteMeshResponse_mesh :: Lens' DeleteMeshResponse MeshData
Creating a Request
data DeleteMesh Source #
See: newDeleteMesh
smart constructor.
Instances
Create a value of DeleteMesh
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:meshName:DeleteMesh'
, deleteMesh_meshName
- The name of the service mesh to delete.
Request Lenses
deleteMesh_meshName :: Lens' DeleteMesh Text Source #
The name of the service mesh to delete.
Destructuring the Response
data DeleteMeshResponse Source #
See: newDeleteMeshResponse
smart constructor.
DeleteMeshResponse' | |
|
Instances
newDeleteMeshResponse Source #
:: Int | |
-> MeshData | |
-> DeleteMeshResponse |
Create a value of DeleteMeshResponse
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:DeleteMeshResponse'
, deleteMeshResponse_httpStatus
- The response's http status code.
$sel:mesh:DeleteMeshResponse'
, deleteMeshResponse_mesh
- The service mesh that was deleted.
Response Lenses
deleteMeshResponse_httpStatus :: Lens' DeleteMeshResponse Int Source #
The response's http status code.
deleteMeshResponse_mesh :: Lens' DeleteMeshResponse MeshData Source #
The service mesh that was deleted.