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 HttpTimeout Source #
An object that represents types of timeouts.
See: newHttpTimeout
smart constructor.
HttpTimeout' | |
|
Instances
newHttpTimeout :: HttpTimeout Source #
Create a value of HttpTimeout
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:HttpTimeout'
, httpTimeout_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:HttpTimeout'
, httpTimeout_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.
httpTimeout_idle :: Lens' HttpTimeout (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.
httpTimeout_perRequest :: Lens' HttpTimeout (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.