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 |
Documentation
data HttpRouteAction Source #
An object that represents the action to take if a match is determined.
See: newHttpRouteAction
smart constructor.
HttpRouteAction' | |
|
Instances
Create a value of HttpRouteAction
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:weightedTargets:HttpRouteAction'
, httpRouteAction_weightedTargets
- An object that represents the targets that traffic is routed to when a
request matches the route.
httpRouteAction_weightedTargets :: Lens' HttpRouteAction (NonEmpty WeightedTarget) Source #
An object that represents the targets that traffic is routed to when a request matches the route.