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 service in a specified service mesh.
Synopsis
- data UpdateVirtualService = UpdateVirtualService' {}
- newUpdateVirtualService :: Text -> VirtualServiceSpec -> Text -> UpdateVirtualService
- updateVirtualService_clientToken :: Lens' UpdateVirtualService (Maybe Text)
- updateVirtualService_meshOwner :: Lens' UpdateVirtualService (Maybe Text)
- updateVirtualService_meshName :: Lens' UpdateVirtualService Text
- updateVirtualService_spec :: Lens' UpdateVirtualService VirtualServiceSpec
- updateVirtualService_virtualServiceName :: Lens' UpdateVirtualService Text
- data UpdateVirtualServiceResponse = UpdateVirtualServiceResponse' {}
- newUpdateVirtualServiceResponse :: Int -> VirtualServiceData -> UpdateVirtualServiceResponse
- updateVirtualServiceResponse_httpStatus :: Lens' UpdateVirtualServiceResponse Int
- updateVirtualServiceResponse_virtualService :: Lens' UpdateVirtualServiceResponse VirtualServiceData
Creating a Request
data UpdateVirtualService Source #
See: newUpdateVirtualService
smart constructor.
UpdateVirtualService' | |
|
Instances
newUpdateVirtualService Source #
:: Text | |
-> VirtualServiceSpec | |
-> Text | |
-> UpdateVirtualService |
Create a value of UpdateVirtualService
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:UpdateVirtualService'
, updateVirtualService_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:UpdateVirtualService'
, updateVirtualService_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:UpdateVirtualService'
, updateVirtualService_meshName
- The name of the service mesh that the virtual service resides in.
$sel:spec:UpdateVirtualService'
, updateVirtualService_spec
- The new virtual service specification to apply. This overwrites the
existing data.
$sel:virtualServiceName:UpdateVirtualService'
, updateVirtualService_virtualServiceName
- The name of the virtual service to update.
Request Lenses
updateVirtualService_clientToken :: Lens' UpdateVirtualService (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.
updateVirtualService_meshOwner :: Lens' UpdateVirtualService (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.
updateVirtualService_meshName :: Lens' UpdateVirtualService Text Source #
The name of the service mesh that the virtual service resides in.
updateVirtualService_spec :: Lens' UpdateVirtualService VirtualServiceSpec Source #
The new virtual service specification to apply. This overwrites the existing data.
updateVirtualService_virtualServiceName :: Lens' UpdateVirtualService Text Source #
The name of the virtual service to update.
Destructuring the Response
data UpdateVirtualServiceResponse Source #
See: newUpdateVirtualServiceResponse
smart constructor.
UpdateVirtualServiceResponse' | |
|
Instances
newUpdateVirtualServiceResponse Source #
Create a value of UpdateVirtualServiceResponse
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:UpdateVirtualServiceResponse'
, updateVirtualServiceResponse_httpStatus
- The response's http status code.
$sel:virtualService:UpdateVirtualServiceResponse'
, updateVirtualServiceResponse_virtualService
- A full description of the virtual service that was updated.
Response Lenses
updateVirtualServiceResponse_httpStatus :: Lens' UpdateVirtualServiceResponse Int Source #
The response's http status code.
updateVirtualServiceResponse_virtualService :: Lens' UpdateVirtualServiceResponse VirtualServiceData Source #
A full description of the virtual service that was updated.