| 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.Types.GrpcGatewayRouteAction
Description
Synopsis
- data GrpcGatewayRouteAction = GrpcGatewayRouteAction' {}
- newGrpcGatewayRouteAction :: GatewayRouteTarget -> GrpcGatewayRouteAction
- grpcGatewayRouteAction_rewrite :: Lens' GrpcGatewayRouteAction (Maybe GrpcGatewayRouteRewrite)
- grpcGatewayRouteAction_target :: Lens' GrpcGatewayRouteAction GatewayRouteTarget
Documentation
data GrpcGatewayRouteAction Source #
An object that represents the action to take if a match is determined.
See: newGrpcGatewayRouteAction smart constructor.
Constructors
| GrpcGatewayRouteAction' | |
Fields
| |
Instances
newGrpcGatewayRouteAction Source #
Create a value of GrpcGatewayRouteAction 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:rewrite:GrpcGatewayRouteAction', grpcGatewayRouteAction_rewrite - The gateway route action to rewrite.
$sel:target:GrpcGatewayRouteAction', grpcGatewayRouteAction_target - An object that represents the target that traffic is routed to when a
request matches the gateway route.
grpcGatewayRouteAction_rewrite :: Lens' GrpcGatewayRouteAction (Maybe GrpcGatewayRouteRewrite) Source #
The gateway route action to rewrite.
grpcGatewayRouteAction_target :: Lens' GrpcGatewayRouteAction GatewayRouteTarget Source #
An object that represents the target that traffic is routed to when a request matches the gateway route.