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.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
FromJSON HttpRoute Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpRoute

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

Read HttpRoute Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpRoute

Show HttpRoute Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpRoute

NFData HttpRoute Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpRoute

Methods

rnf :: HttpRoute -> () #

Eq HttpRoute Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpRoute

Hashable 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" "amazonka-appmesh-2.0-GBIHUgXnP8s1LEJyvNe1ca" '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.