Skip to content

HttpTimeout

Source code in docs_src/capo_app_mesh/types/http_timeout.py
class HttpTimeout(TypedDict, closed=True):
    per_request: NotRequired["capo_app_mesh.types.duration.Duration"]
    """<p>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.</p>"""
    idle: NotRequired["capo_app_mesh.types.duration.Duration"]
    """<p>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.</p>"""

idle instance-attribute

idle: NotRequired[Duration]

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.

per_request instance-attribute

per_request: NotRequired[Duration]

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.