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.UpdateVirtualRouter
Description
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.
Constructors
UpdateVirtualRouter' | |
Fields
|
Instances
newUpdateVirtualRouter Source #
Arguments
:: 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.
UpdateVirtualRouter
, updateVirtualRouter_meshOwner
- The Amazon Web Services 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
, updateVirtualRouter_meshName
- The name of the service mesh that the virtual router resides in.
UpdateVirtualRouter
, updateVirtualRouter_spec
- The new virtual router specification to apply. This overwrites the
existing data.
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 Amazon Web Services 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.
Constructors
UpdateVirtualRouterResponse' | |
Fields
|
Instances
newUpdateVirtualRouterResponse Source #
Arguments
:: Int | |
-> VirtualRouterData | |
-> UpdateVirtualRouterResponse |
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.
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.