| 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.HttpRoute
Description
Synopsis
- data HttpRoute = HttpRoute' {}
- newHttpRoute :: HttpRouteAction -> HttpRouteMatch -> HttpRoute
- httpRoute_retryPolicy :: Lens' HttpRoute (Maybe HttpRetryPolicy)
- httpRoute_timeout :: Lens' HttpRoute (Maybe HttpTimeout)
- httpRoute_action :: Lens' HttpRoute HttpRouteAction
- httpRoute_match :: Lens' HttpRoute HttpRouteMatch
Documentation
An object that represents an HTTP or HTTP/2 route type.
See: newHttpRoute smart constructor.
Constructors
| HttpRoute' | |
Fields
| |
Instances
Create a value of HttpRoute 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:retryPolicy:HttpRoute', httpRoute_retryPolicy - An object that represents a retry policy.
$sel:timeout:HttpRoute', httpRoute_timeout - An object that represents types of timeouts.
$sel:action:HttpRoute', httpRoute_action - An object that represents the action to take if a match is determined.
$sel:match:HttpRoute', httpRoute_match - An object that represents the criteria for determining a request match.
httpRoute_retryPolicy :: Lens' HttpRoute (Maybe HttpRetryPolicy) Source #
An object that represents a retry policy.
httpRoute_timeout :: Lens' HttpRoute (Maybe HttpTimeout) Source #
An object that represents types of timeouts.
httpRoute_action :: Lens' HttpRoute HttpRouteAction Source #
An object that represents the action to take if a match is determined.
httpRoute_match :: Lens' HttpRoute HttpRouteMatch Source #
An object that represents the criteria for determining a request match.