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

Description

 
Synopsis

Documentation

data GrpcGatewayRouteAction Source #

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

See: newGrpcGatewayRouteAction smart constructor.

Constructors

GrpcGatewayRouteAction' 

Fields

Instances

Instances details
Eq GrpcGatewayRouteAction Source # 
Instance details

Defined in Amazonka.AppMesh.Types.GrpcGatewayRouteAction

Read GrpcGatewayRouteAction Source # 
Instance details

Defined in Amazonka.AppMesh.Types.GrpcGatewayRouteAction

Show GrpcGatewayRouteAction Source # 
Instance details

Defined in Amazonka.AppMesh.Types.GrpcGatewayRouteAction

Generic GrpcGatewayRouteAction Source # 
Instance details

Defined in Amazonka.AppMesh.Types.GrpcGatewayRouteAction

Associated Types

type Rep GrpcGatewayRouteAction :: Type -> Type #

NFData GrpcGatewayRouteAction Source # 
Instance details

Defined in Amazonka.AppMesh.Types.GrpcGatewayRouteAction

Methods

rnf :: GrpcGatewayRouteAction -> () #

Hashable GrpcGatewayRouteAction Source # 
Instance details

Defined in Amazonka.AppMesh.Types.GrpcGatewayRouteAction

ToJSON GrpcGatewayRouteAction Source # 
Instance details

Defined in Amazonka.AppMesh.Types.GrpcGatewayRouteAction

FromJSON GrpcGatewayRouteAction Source # 
Instance details

Defined in Amazonka.AppMesh.Types.GrpcGatewayRouteAction

type Rep GrpcGatewayRouteAction Source # 
Instance details

Defined in Amazonka.AppMesh.Types.GrpcGatewayRouteAction

type Rep GrpcGatewayRouteAction = D1 ('MetaData "GrpcGatewayRouteAction" "Amazonka.AppMesh.Types.GrpcGatewayRouteAction" "libZSservicesZSamazonka-appmeshZSamazonka-appmesh" 'False) (C1 ('MetaCons "GrpcGatewayRouteAction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "rewrite") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe GrpcGatewayRouteRewrite)) :*: S1 ('MetaSel ('Just "target") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 GatewayRouteTarget)))

newGrpcGatewayRouteAction Source #

Create a value of GrpcGatewayRouteAction 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:rewrite:GrpcGatewayRouteAction', grpcGatewayRouteAction_rewrite - The gateway route action to rewrite.

$sel:target:GrpcGatewayRouteAction', grpcGatewayRouteAction_target - An object that represents the target that traffic is routed to when a request matches the gateway route.

grpcGatewayRouteAction_target :: Lens' GrpcGatewayRouteAction GatewayRouteTarget Source #

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