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

Description

 
Synopsis

Documentation

data HttpRouteHeader Source #

An object that represents the HTTP header in the request.

See: newHttpRouteHeader smart constructor.

Constructors

HttpRouteHeader' 

Fields

  • invert :: Maybe Bool

    Specify True to match anything except the match criteria. The default value is False.

  • match :: Maybe HeaderMatchMethod

    The HeaderMatchMethod object.

  • name :: Text

    A name for the HTTP header in the client request that will be matched on.

Instances

Instances details
Eq HttpRouteHeader Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpRouteHeader

Read HttpRouteHeader Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpRouteHeader

Show HttpRouteHeader Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpRouteHeader

Generic HttpRouteHeader Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpRouteHeader

Associated Types

type Rep HttpRouteHeader :: Type -> Type #

NFData HttpRouteHeader Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpRouteHeader

Methods

rnf :: HttpRouteHeader -> () #

Hashable HttpRouteHeader Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpRouteHeader

ToJSON HttpRouteHeader Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpRouteHeader

FromJSON HttpRouteHeader Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpRouteHeader

type Rep HttpRouteHeader Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HttpRouteHeader

type Rep HttpRouteHeader = D1 ('MetaData "HttpRouteHeader" "Amazonka.AppMesh.Types.HttpRouteHeader" "libZSservicesZSamazonka-appmeshZSamazonka-appmesh" 'False) (C1 ('MetaCons "HttpRouteHeader'" 'PrefixI 'True) (S1 ('MetaSel ('Just "invert") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "match") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe HeaderMatchMethod)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newHttpRouteHeader Source #

Create a value of HttpRouteHeader 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:invert:HttpRouteHeader', httpRouteHeader_invert - Specify True to match anything except the match criteria. The default value is False.

$sel:match:HttpRouteHeader', httpRouteHeader_match - The HeaderMatchMethod object.

$sel:name:HttpRouteHeader', httpRouteHeader_name - A name for the HTTP header in the client request that will be matched on.

httpRouteHeader_invert :: Lens' HttpRouteHeader (Maybe Bool) Source #

Specify True to match anything except the match criteria. The default value is False.

httpRouteHeader_name :: Lens' HttpRouteHeader Text Source #

A name for the HTTP header in the client request that will be matched on.