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

Description

 
Synopsis

Documentation

data HttpRoute Source #

An object that represents an HTTP or HTTP/2 route type.

See: newHttpRoute smart constructor.

Constructors

HttpRoute' 

Fields

Instances

Instances details
Eq HttpRoute Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpRoute

Read HttpRoute Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpRoute

Show HttpRoute Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpRoute

Generic HttpRoute Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpRoute

Associated Types

type Rep HttpRoute :: Type -> Type #

NFData HttpRoute Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpRoute

Methods

rnf :: HttpRoute -> () #

Hashable HttpRoute Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpRoute

ToJSON HttpRoute Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpRoute

FromJSON HttpRoute Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpRoute

type Rep HttpRoute Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpRoute

type Rep HttpRoute = D1 ('MetaData "HttpRoute" "Amazonka.AppMesh.Types.HttpRoute" "libZSservicesZSamazonka-appmeshZSamazonka-appmesh" 'False) (C1 ('MetaCons "HttpRoute'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "retryPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe HttpRetryPolicy)) :*: S1 ('MetaSel ('Just "timeout") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe HttpTimeout))) :*: (S1 ('MetaSel ('Just "action") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 HttpRouteAction) :*: S1 ('MetaSel ('Just "match") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 HttpRouteMatch))))

newHttpRoute Source #

Create a value of HttpRoute 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:retryPolicy:HttpRoute', httpRoute_retryPolicy - An object that represents a retry policy.

$sel:timeout:HttpRoute', httpRoute_timeout - An object that represents types of timeouts.

$sel:action:HttpRoute', httpRoute_action - An object that represents the action to take if a match is determined.

$sel:match:HttpRoute', httpRoute_match - An object that represents the criteria for determining a request match.

httpRoute_retryPolicy :: Lens' HttpRoute (Maybe HttpRetryPolicy) Source #

An object that represents a retry policy.

httpRoute_timeout :: Lens' HttpRoute (Maybe HttpTimeout) Source #

An object that represents types of timeouts.

httpRoute_action :: Lens' HttpRoute HttpRouteAction Source #

An object that represents the action to take if a match is determined.

httpRoute_match :: Lens' HttpRoute HttpRouteMatch Source #

An object that represents the criteria for determining a request match.