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 router in a specified service mesh.
Synopsis
- data UpdateVirtualRouter = UpdateVirtualRouter' {}
- newUpdateVirtualRouter :: Text -> VirtualRouterSpec -> Text -> UpdateVirtualRouter
- updateVirtualRouter_clientToken :: Lens' UpdateVirtualRouter (Maybe Text)
- updateVirtualRouter_meshOwner :: Lens' UpdateVirtualRouter (Maybe Text)
- updateVirtualRouter_meshName :: Lens' UpdateVirtualRouter Text
- updateVirtualRouter_spec :: Lens' UpdateVirtualRouter VirtualRouterSpec
- updateVirtualRouter_virtualRouterName :: Lens' UpdateVirtualRouter Text
- data UpdateVirtualRouterResponse = UpdateVirtualRouterResponse' {}
- newUpdateVirtualRouterResponse :: Int -> VirtualRouterData -> UpdateVirtualRouterResponse
- updateVirtualRouterResponse_httpStatus :: Lens' UpdateVirtualRouterResponse Int
- updateVirtualRouterResponse_virtualRouter :: Lens' UpdateVirtualRouterResponse VirtualRouterData
Creating a Request
data UpdateVirtualRouter Source #
See: newUpdateVirtualRouter
smart constructor.
UpdateVirtualRouter' | |
|
Instances
newUpdateVirtualRouter Source #
:: Text | |
-> VirtualRouterSpec | |
-> Text | |
-> UpdateVirtualRouter |
Create a value of UpdateVirtualRouter
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:UpdateVirtualRouter'
, updateVirtualRouter_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:UpdateVirtualRouter'
, updateVirtualRouter_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:UpdateVirtualRouter'
, updateVirtualRouter_meshName
- The name of the service mesh that the virtual router resides in.
$sel:spec:UpdateVirtualRouter'
, updateVirtualRouter_spec
- The new virtual router specification to apply. This overwrites the
existing data.
$sel:virtualRouterName:UpdateVirtualRouter'
, updateVirtualRouter_virtualRouterName
- The name of the virtual router to update.
Request Lenses
updateVirtualRouter_clientToken :: Lens' UpdateVirtualRouter (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.
updateVirtualRouter_meshOwner :: Lens' UpdateVirtualRouter (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.
updateVirtualRouter_meshName :: Lens' UpdateVirtualRouter Text Source #
The name of the service mesh that the virtual router resides in.
updateVirtualRouter_spec :: Lens' UpdateVirtualRouter VirtualRouterSpec Source #
The new virtual router specification to apply. This overwrites the existing data.
updateVirtualRouter_virtualRouterName :: Lens' UpdateVirtualRouter Text Source #
The name of the virtual router to update.
Destructuring the Response
data UpdateVirtualRouterResponse Source #
See: newUpdateVirtualRouterResponse
smart constructor.
UpdateVirtualRouterResponse' | |
|
Instances
newUpdateVirtualRouterResponse Source #
Create a value of UpdateVirtualRouterResponse
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:UpdateVirtualRouterResponse'
, updateVirtualRouterResponse_httpStatus
- The response's http status code.
$sel:virtualRouter:UpdateVirtualRouterResponse'
, updateVirtualRouterResponse_virtualRouter
- A full description of the virtual router that was updated.
Response Lenses
updateVirtualRouterResponse_httpStatus :: Lens' UpdateVirtualRouterResponse Int Source #
The response's http status code.
updateVirtualRouterResponse_virtualRouter :: Lens' UpdateVirtualRouterResponse VirtualRouterData Source #
A full description of the virtual router that was updated.