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 GrpcRoute = GrpcRoute' {}
- newGrpcRoute :: GrpcRouteAction -> GrpcRouteMatch -> GrpcRoute
- grpcRoute_retryPolicy :: Lens' GrpcRoute (Maybe GrpcRetryPolicy)
- grpcRoute_timeout :: Lens' GrpcRoute (Maybe GrpcTimeout)
- grpcRoute_action :: Lens' GrpcRoute GrpcRouteAction
- grpcRoute_match :: Lens' GrpcRoute GrpcRouteMatch
Documentation
An object that represents a gRPC route type.
See: newGrpcRoute
smart constructor.
GrpcRoute' | |
|
Instances
Create a value of GrpcRoute
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:GrpcRoute'
, grpcRoute_retryPolicy
- An object that represents a retry policy.
$sel:timeout:GrpcRoute'
, grpcRoute_timeout
- An object that represents types of timeouts.
$sel:action:GrpcRoute'
, grpcRoute_action
- An object that represents the action to take if a match is determined.
$sel:match:GrpcRoute'
, grpcRoute_match
- An object that represents the criteria for determining a request match.
grpcRoute_retryPolicy :: Lens' GrpcRoute (Maybe GrpcRetryPolicy) Source #
An object that represents a retry policy.
grpcRoute_timeout :: Lens' GrpcRoute (Maybe GrpcTimeout) Source #
An object that represents types of timeouts.
grpcRoute_action :: Lens' GrpcRoute GrpcRouteAction Source #
An object that represents the action to take if a match is determined.
grpcRoute_match :: Lens' GrpcRoute GrpcRouteMatch Source #
An object that represents the criteria for determining a request match.