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 |
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.
Instances
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.
$sel:spec:UpdateMesh'
, updateMesh_spec
- The service mesh specification to apply.
$sel:meshName: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.
UpdateMeshResponse' | |
|
Instances
newUpdateMeshResponse Source #
:: 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.