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

Description

 
Synopsis

Documentation

data GrpcRouteAction Source #

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

See: newGrpcRouteAction smart constructor.

Constructors

GrpcRouteAction' 

Fields

Instances

Instances details
Eq GrpcRouteAction Source # 
Instance details

Defined in Amazonka.AppMesh.Types.GrpcRouteAction

Read GrpcRouteAction Source # 
Instance details

Defined in Amazonka.AppMesh.Types.GrpcRouteAction

Show GrpcRouteAction Source # 
Instance details

Defined in Amazonka.AppMesh.Types.GrpcRouteAction

Generic GrpcRouteAction Source # 
Instance details

Defined in Amazonka.AppMesh.Types.GrpcRouteAction

Associated Types

type Rep GrpcRouteAction :: Type -> Type #

NFData GrpcRouteAction Source # 
Instance details

Defined in Amazonka.AppMesh.Types.GrpcRouteAction

Methods

rnf :: GrpcRouteAction -> () #

Hashable GrpcRouteAction Source # 
Instance details

Defined in Amazonka.AppMesh.Types.GrpcRouteAction

ToJSON GrpcRouteAction Source # 
Instance details

Defined in Amazonka.AppMesh.Types.GrpcRouteAction

FromJSON GrpcRouteAction Source # 
Instance details

Defined in Amazonka.AppMesh.Types.GrpcRouteAction

type Rep GrpcRouteAction Source # 
Instance details

Defined in Amazonka.AppMesh.Types.GrpcRouteAction

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

newGrpcRouteAction Source #

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

grpcRouteAction_weightedTargets :: Lens' GrpcRouteAction (NonEmpty WeightedTarget) Source #

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