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 |
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.
GrpcGatewayRouteAction' | |
|
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.