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 HttpGatewayRouteAction = HttpGatewayRouteAction' {}
- newHttpGatewayRouteAction :: GatewayRouteTarget -> HttpGatewayRouteAction
- httpGatewayRouteAction_rewrite :: Lens' HttpGatewayRouteAction (Maybe HttpGatewayRouteRewrite)
- httpGatewayRouteAction_target :: Lens' HttpGatewayRouteAction GatewayRouteTarget
Documentation
data HttpGatewayRouteAction Source #
An object that represents the action to take if a match is determined.
See: newHttpGatewayRouteAction
smart constructor.
HttpGatewayRouteAction' | |
|
Instances
newHttpGatewayRouteAction Source #
Create a value of HttpGatewayRouteAction
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:HttpGatewayRouteAction'
, httpGatewayRouteAction_rewrite
- The gateway route action to rewrite.
$sel:target:HttpGatewayRouteAction'
, httpGatewayRouteAction_target
- An object that represents the target that traffic is routed to when a
request matches the gateway route.
httpGatewayRouteAction_rewrite :: Lens' HttpGatewayRouteAction (Maybe HttpGatewayRouteRewrite) Source #
The gateway route action to rewrite.
httpGatewayRouteAction_target :: Lens' HttpGatewayRouteAction GatewayRouteTarget Source #
An object that represents the target that traffic is routed to when a request matches the gateway route.