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 |
Updates an existing gateway route that is associated to a specified virtual gateway in a service mesh.
Synopsis
- data UpdateGatewayRoute = UpdateGatewayRoute' {}
- newUpdateGatewayRoute :: Text -> Text -> GatewayRouteSpec -> Text -> UpdateGatewayRoute
- updateGatewayRoute_clientToken :: Lens' UpdateGatewayRoute (Maybe Text)
- updateGatewayRoute_meshOwner :: Lens' UpdateGatewayRoute (Maybe Text)
- updateGatewayRoute_gatewayRouteName :: Lens' UpdateGatewayRoute Text
- updateGatewayRoute_meshName :: Lens' UpdateGatewayRoute Text
- updateGatewayRoute_spec :: Lens' UpdateGatewayRoute GatewayRouteSpec
- updateGatewayRoute_virtualGatewayName :: Lens' UpdateGatewayRoute Text
- data UpdateGatewayRouteResponse = UpdateGatewayRouteResponse' {}
- newUpdateGatewayRouteResponse :: Int -> GatewayRouteData -> UpdateGatewayRouteResponse
- updateGatewayRouteResponse_httpStatus :: Lens' UpdateGatewayRouteResponse Int
- updateGatewayRouteResponse_gatewayRoute :: Lens' UpdateGatewayRouteResponse GatewayRouteData
Creating a Request
data UpdateGatewayRoute Source #
See: newUpdateGatewayRoute
smart constructor.
UpdateGatewayRoute' | |
|
Instances
newUpdateGatewayRoute Source #
:: Text | |
-> Text | |
-> GatewayRouteSpec | |
-> Text | |
-> UpdateGatewayRoute |
Create a value of UpdateGatewayRoute
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:UpdateGatewayRoute'
, updateGatewayRoute_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.
UpdateGatewayRoute
, updateGatewayRoute_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.
UpdateGatewayRoute
, updateGatewayRoute_gatewayRouteName
- The name of the gateway route to update.
UpdateGatewayRoute
, updateGatewayRoute_meshName
- The name of the service mesh that the gateway route resides in.
UpdateGatewayRoute
, updateGatewayRoute_spec
- The new gateway route specification to apply. This overwrites the
existing data.
UpdateGatewayRoute
, updateGatewayRoute_virtualGatewayName
- The name of the virtual gateway that the gateway route is associated
with.
Request Lenses
updateGatewayRoute_clientToken :: Lens' UpdateGatewayRoute (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.
updateGatewayRoute_meshOwner :: Lens' UpdateGatewayRoute (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.
updateGatewayRoute_gatewayRouteName :: Lens' UpdateGatewayRoute Text Source #
The name of the gateway route to update.
updateGatewayRoute_meshName :: Lens' UpdateGatewayRoute Text Source #
The name of the service mesh that the gateway route resides in.
updateGatewayRoute_spec :: Lens' UpdateGatewayRoute GatewayRouteSpec Source #
The new gateway route specification to apply. This overwrites the existing data.
updateGatewayRoute_virtualGatewayName :: Lens' UpdateGatewayRoute Text Source #
The name of the virtual gateway that the gateway route is associated with.
Destructuring the Response
data UpdateGatewayRouteResponse Source #
See: newUpdateGatewayRouteResponse
smart constructor.
UpdateGatewayRouteResponse' | |
|
Instances
newUpdateGatewayRouteResponse Source #
Create a value of UpdateGatewayRouteResponse
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:UpdateGatewayRouteResponse'
, updateGatewayRouteResponse_httpStatus
- The response's http status code.
$sel:gatewayRoute:UpdateGatewayRouteResponse'
, updateGatewayRouteResponse_gatewayRoute
- A full description of the gateway route that was updated.
Response Lenses
updateGatewayRouteResponse_httpStatus :: Lens' UpdateGatewayRouteResponse Int Source #
The response's http status code.
updateGatewayRouteResponse_gatewayRoute :: Lens' UpdateGatewayRouteResponse GatewayRouteData Source #
A full description of the gateway route that was updated.