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

Defined in Amazonka.AppMesh.Types.HttpRouteAction

Read HttpRouteAction Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpRouteAction

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

NFData HttpRouteAction Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpRouteAction

Methods

rnf :: HttpRouteAction -> () #

Hashable HttpRouteAction Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpRouteAction

ToJSON HttpRouteAction Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpRouteAction

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