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.GrpcTimeout

Description

 
Synopsis

Documentation

data GrpcTimeout Source #

An object that represents types of timeouts.

See: newGrpcTimeout smart constructor.

Constructors

GrpcTimeout' 

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

Defined in Amazonka.AppMesh.Types.GrpcTimeout

Read GrpcTimeout Source # 
Instance details

Defined in Amazonka.AppMesh.Types.GrpcTimeout

Show GrpcTimeout Source # 
Instance details

Defined in Amazonka.AppMesh.Types.GrpcTimeout

Generic GrpcTimeout Source # 
Instance details

Defined in Amazonka.AppMesh.Types.GrpcTimeout

Associated Types

type Rep GrpcTimeout :: Type -> Type #

NFData GrpcTimeout Source # 
Instance details

Defined in Amazonka.AppMesh.Types.GrpcTimeout

Methods

rnf :: GrpcTimeout -> () #

Hashable GrpcTimeout Source # 
Instance details

Defined in Amazonka.AppMesh.Types.GrpcTimeout

ToJSON GrpcTimeout Source # 
Instance details

Defined in Amazonka.AppMesh.Types.GrpcTimeout

FromJSON GrpcTimeout Source # 
Instance details

Defined in Amazonka.AppMesh.Types.GrpcTimeout

type Rep GrpcTimeout Source # 
Instance details

Defined in Amazonka.AppMesh.Types.GrpcTimeout

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

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.