amazonka-appmesh-2.0: Amazon App Mesh SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.AppMesh.Types.HttpTimeout

Description

 
Synopsis

Documentation

data HttpTimeout Source #

An object that represents types of timeouts.

See: newHttpTimeout smart constructor.

Constructors

HttpTimeout' 

Fields

  • idle :: Maybe 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.

  • perRequest :: Maybe 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.

Instances

Instances details
FromJSON HttpTimeout Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpTimeout

ToJSON HttpTimeout Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpTimeout

Generic HttpTimeout Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpTimeout

Associated Types

type Rep HttpTimeout :: Type -> Type #

Read HttpTimeout Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpTimeout

Show HttpTimeout Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpTimeout

NFData HttpTimeout Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpTimeout

Methods

rnf :: HttpTimeout -> () #

Eq HttpTimeout Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpTimeout

Hashable HttpTimeout Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpTimeout

type Rep HttpTimeout Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpTimeout

type Rep HttpTimeout = D1 ('MetaData "HttpTimeout" "Amazonka.AppMesh.Types.HttpTimeout" "amazonka-appmesh-2.0-GBIHUgXnP8s1LEJyvNe1ca" 'False) (C1 ('MetaCons "HttpTimeout'" 'PrefixI 'True) (S1 ('MetaSel ('Just "idle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Duration)) :*: S1 ('MetaSel ('Just "perRequest") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Duration))))

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.