libZSservicesZSamazonka-appmeshZSamazonka-appmesh
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq HttpTimeout Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpTimeout

Read HttpTimeout Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpTimeout

Show 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 #

NFData HttpTimeout Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpTimeout

Methods

rnf :: HttpTimeout -> () #

Hashable HttpTimeout Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpTimeout

ToJSON HttpTimeout Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpTimeout

FromJSON 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" "libZSservicesZSamazonka-appmeshZSamazonka-appmesh" '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.