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

Description

 
Synopsis

Documentation

data HttpRouteAction Source #

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

See: newHttpRouteAction smart constructor.

Constructors

HttpRouteAction' 

Fields

Instances

Instances details
FromJSON HttpRouteAction Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpRouteAction

ToJSON HttpRouteAction Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpRouteAction

Generic HttpRouteAction Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpRouteAction

Associated Types

type Rep HttpRouteAction :: Type -> Type #

Read HttpRouteAction Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpRouteAction

Show HttpRouteAction Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpRouteAction

NFData HttpRouteAction Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpRouteAction

Methods

rnf :: HttpRouteAction -> () #

Eq HttpRouteAction Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpRouteAction

Hashable HttpRouteAction Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpRouteAction

type Rep HttpRouteAction Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpRouteAction

type Rep HttpRouteAction = D1 ('MetaData "HttpRouteAction" "Amazonka.AppMesh.Types.HttpRouteAction" "amazonka-appmesh-2.0-GBIHUgXnP8s1LEJyvNe1ca" 'False) (C1 ('MetaCons "HttpRouteAction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "weightedTargets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty WeightedTarget))))

newHttpRouteAction Source #

Create a value of HttpRouteAction 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:weightedTargets:HttpRouteAction', httpRouteAction_weightedTargets - An object that represents the targets that traffic is routed to when a request matches the route.

httpRouteAction_weightedTargets :: Lens' HttpRouteAction (NonEmpty WeightedTarget) Source #

An object that represents the targets that traffic is routed to when a request matches the route.