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

Description

 
Synopsis

Documentation

data GrpcRouteMatch Source #

An object that represents the criteria for determining a request match.

See: newGrpcRouteMatch smart constructor.

Constructors

GrpcRouteMatch' 

Fields

Instances

Instances details
FromJSON GrpcRouteMatch Source # 
Instance details

Defined in Amazonka.AppMesh.Types.GrpcRouteMatch

ToJSON GrpcRouteMatch Source # 
Instance details

Defined in Amazonka.AppMesh.Types.GrpcRouteMatch

Generic GrpcRouteMatch Source # 
Instance details

Defined in Amazonka.AppMesh.Types.GrpcRouteMatch

Associated Types

type Rep GrpcRouteMatch :: Type -> Type #

Read GrpcRouteMatch Source # 
Instance details

Defined in Amazonka.AppMesh.Types.GrpcRouteMatch

Show GrpcRouteMatch Source # 
Instance details

Defined in Amazonka.AppMesh.Types.GrpcRouteMatch

NFData GrpcRouteMatch Source # 
Instance details

Defined in Amazonka.AppMesh.Types.GrpcRouteMatch

Methods

rnf :: GrpcRouteMatch -> () #

Eq GrpcRouteMatch Source # 
Instance details

Defined in Amazonka.AppMesh.Types.GrpcRouteMatch

Hashable GrpcRouteMatch Source # 
Instance details

Defined in Amazonka.AppMesh.Types.GrpcRouteMatch

type Rep GrpcRouteMatch Source # 
Instance details

Defined in Amazonka.AppMesh.Types.GrpcRouteMatch

type Rep GrpcRouteMatch = D1 ('MetaData "GrpcRouteMatch" "Amazonka.AppMesh.Types.GrpcRouteMatch" "amazonka-appmesh-2.0-GBIHUgXnP8s1LEJyvNe1ca" 'False) (C1 ('MetaCons "GrpcRouteMatch'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "metadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty GrpcRouteMetadata))) :*: S1 ('MetaSel ('Just "methodName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "port") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "serviceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newGrpcRouteMatch :: GrpcRouteMatch Source #

Create a value of GrpcRouteMatch 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:metadata:GrpcRouteMatch', grpcRouteMatch_metadata - An object that represents the data to match from the request.

$sel:methodName:GrpcRouteMatch', grpcRouteMatch_methodName - The method name to match from the request. If you specify a name, you must also specify a serviceName.

$sel:port:GrpcRouteMatch', grpcRouteMatch_port - The port number to match on.

$sel:serviceName:GrpcRouteMatch', grpcRouteMatch_serviceName - The fully qualified domain name for the service to match from the request.

grpcRouteMatch_metadata :: Lens' GrpcRouteMatch (Maybe (NonEmpty GrpcRouteMetadata)) Source #

An object that represents the data to match from the request.

grpcRouteMatch_methodName :: Lens' GrpcRouteMatch (Maybe Text) Source #

The method name to match from the request. If you specify a name, you must also specify a serviceName.

grpcRouteMatch_port :: Lens' GrpcRouteMatch (Maybe Natural) Source #

The port number to match on.

grpcRouteMatch_serviceName :: Lens' GrpcRouteMatch (Maybe Text) Source #

The fully qualified domain name for the service to match from the request.