| 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 |
Amazonka.AppMesh.UpdateMesh
Description
Updates an existing service mesh.
Synopsis
- data UpdateMesh = UpdateMesh' {}
- newUpdateMesh :: Text -> UpdateMesh
- updateMesh_clientToken :: Lens' UpdateMesh (Maybe Text)
- updateMesh_spec :: Lens' UpdateMesh (Maybe MeshSpec)
- updateMesh_meshName :: Lens' UpdateMesh Text
- data UpdateMeshResponse = UpdateMeshResponse' {
- httpStatus :: Int
- mesh :: MeshData
- newUpdateMeshResponse :: Int -> MeshData -> UpdateMeshResponse
- updateMeshResponse_httpStatus :: Lens' UpdateMeshResponse Int
- updateMeshResponse_mesh :: Lens' UpdateMeshResponse MeshData
Creating a Request
data UpdateMesh Source #
See: newUpdateMesh smart constructor.
Constructors
| UpdateMesh' | |
Fields | |
Instances
Arguments
| :: Text | |
| -> UpdateMesh |
Create a value of UpdateMesh 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:clientToken:UpdateMesh', updateMesh_clientToken - Unique, case-sensitive identifier that you provide to ensure the
idempotency of the request. Up to 36 letters, numbers, hyphens, and
underscores are allowed.
UpdateMesh, updateMesh_spec - The service mesh specification to apply.
UpdateMesh, updateMesh_meshName - The name of the service mesh to update.
Request Lenses
updateMesh_clientToken :: Lens' UpdateMesh (Maybe Text) Source #
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36 letters, numbers, hyphens, and underscores are allowed.
updateMesh_spec :: Lens' UpdateMesh (Maybe MeshSpec) Source #
The service mesh specification to apply.
updateMesh_meshName :: Lens' UpdateMesh Text Source #
The name of the service mesh to update.
Destructuring the Response
data UpdateMeshResponse Source #
See: newUpdateMeshResponse smart constructor.
Constructors
| UpdateMeshResponse' | |
Fields
| |
Instances
newUpdateMeshResponse Source #
Arguments
| :: Int | |
| -> MeshData | |
| -> UpdateMeshResponse |
Create a value of UpdateMeshResponse 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:UpdateMeshResponse', updateMeshResponse_httpStatus - The response's http status code.
$sel:mesh:UpdateMeshResponse', updateMeshResponse_mesh - Undocumented member.
Response Lenses
updateMeshResponse_httpStatus :: Lens' UpdateMeshResponse Int Source #
The response's http status code.
updateMeshResponse_mesh :: Lens' UpdateMeshResponse MeshData Source #
Undocumented member.