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 virtual node in a specified service mesh.
Synopsis
- data UpdateVirtualNode = UpdateVirtualNode' {
- clientToken :: Maybe Text
- meshOwner :: Maybe Text
- meshName :: Text
- spec :: VirtualNodeSpec
- virtualNodeName :: Text
- newUpdateVirtualNode :: Text -> VirtualNodeSpec -> Text -> UpdateVirtualNode
- updateVirtualNode_clientToken :: Lens' UpdateVirtualNode (Maybe Text)
- updateVirtualNode_meshOwner :: Lens' UpdateVirtualNode (Maybe Text)
- updateVirtualNode_meshName :: Lens' UpdateVirtualNode Text
- updateVirtualNode_spec :: Lens' UpdateVirtualNode VirtualNodeSpec
- updateVirtualNode_virtualNodeName :: Lens' UpdateVirtualNode Text
- data UpdateVirtualNodeResponse = UpdateVirtualNodeResponse' {}
- newUpdateVirtualNodeResponse :: Int -> VirtualNodeData -> UpdateVirtualNodeResponse
- updateVirtualNodeResponse_httpStatus :: Lens' UpdateVirtualNodeResponse Int
- updateVirtualNodeResponse_virtualNode :: Lens' UpdateVirtualNodeResponse VirtualNodeData
Creating a Request
data UpdateVirtualNode Source #
See: newUpdateVirtualNode
smart constructor.
UpdateVirtualNode' | |
|
Instances
:: Text | |
-> VirtualNodeSpec | |
-> Text | |
-> UpdateVirtualNode |
Create a value of UpdateVirtualNode
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:UpdateVirtualNode'
, updateVirtualNode_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:meshOwner:UpdateVirtualNode'
, updateVirtualNode_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:UpdateVirtualNode'
, updateVirtualNode_meshName
- The name of the service mesh that the virtual node resides in.
$sel:spec:UpdateVirtualNode'
, updateVirtualNode_spec
- The new virtual node specification to apply. This overwrites the
existing data.
$sel:virtualNodeName:UpdateVirtualNode'
, updateVirtualNode_virtualNodeName
- The name of the virtual node to update.
Request Lenses
updateVirtualNode_clientToken :: Lens' UpdateVirtualNode (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.
updateVirtualNode_meshOwner :: Lens' UpdateVirtualNode (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.
updateVirtualNode_meshName :: Lens' UpdateVirtualNode Text Source #
The name of the service mesh that the virtual node resides in.
updateVirtualNode_spec :: Lens' UpdateVirtualNode VirtualNodeSpec Source #
The new virtual node specification to apply. This overwrites the existing data.
updateVirtualNode_virtualNodeName :: Lens' UpdateVirtualNode Text Source #
The name of the virtual node to update.
Destructuring the Response
data UpdateVirtualNodeResponse Source #
See: newUpdateVirtualNodeResponse
smart constructor.
UpdateVirtualNodeResponse' | |
|
Instances
newUpdateVirtualNodeResponse Source #
Create a value of UpdateVirtualNodeResponse
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:UpdateVirtualNodeResponse'
, updateVirtualNodeResponse_httpStatus
- The response's http status code.
$sel:virtualNode:UpdateVirtualNodeResponse'
, updateVirtualNodeResponse_virtualNode
- A full description of the virtual node that was updated.
Response Lenses
updateVirtualNodeResponse_httpStatus :: Lens' UpdateVirtualNodeResponse Int Source #
The response's http status code.
updateVirtualNodeResponse_virtualNode :: Lens' UpdateVirtualNodeResponse VirtualNodeData Source #
A full description of the virtual node that was updated.