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
Documentation
data GrpcTimeout Source #
An object that represents types of timeouts.
See: newGrpcTimeout
smart constructor.
GrpcTimeout' | |
|
Instances
newGrpcTimeout :: GrpcTimeout Source #
Create a value of GrpcTimeout
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:idle:GrpcTimeout'
, grpcTimeout_idle
- An object that represents an idle timeout. An idle timeout bounds the
amount of time that a connection may be idle. The default value is none.
$sel:perRequest:GrpcTimeout'
, grpcTimeout_perRequest
- An object that represents a per request timeout. The default value is 15
seconds. If you set a higher timeout, then make sure that the higher
value is set for each App Mesh resource in a conversation. For example,
if a virtual node backend uses a virtual router provider to route to
another virtual node, then the timeout should be greater than 15 seconds
for the source and destination virtual node and the route.
grpcTimeout_idle :: Lens' GrpcTimeout (Maybe Duration) Source #
An object that represents an idle timeout. An idle timeout bounds the amount of time that a connection may be idle. The default value is none.
grpcTimeout_perRequest :: Lens' GrpcTimeout (Maybe Duration) Source #
An object that represents a per request timeout. The default value is 15 seconds. If you set a higher timeout, then make sure that the higher value is set for each App Mesh resource in a conversation. For example, if a virtual node backend uses a virtual router provider to route to another virtual node, then the timeout should be greater than 15 seconds for the source and destination virtual node and the route.