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

Description

 
Synopsis

Documentation

data HeaderMatchMethod Source #

An object that represents the method and value to match with the header value sent in a request. Specify one match method.

See: newHeaderMatchMethod smart constructor.

Constructors

HeaderMatchMethod' 

Fields

  • suffix :: Maybe Text

    The value sent by the client must end with the specified characters.

  • regex :: Maybe Text

    The value sent by the client must include the specified characters.

  • prefix :: Maybe Text

    The value sent by the client must begin with the specified characters.

  • range :: Maybe MatchRange

    An object that represents the range of values to match on.

  • exact :: Maybe Text

    The value sent by the client must match the specified value exactly.

Instances

Instances details
Eq HeaderMatchMethod Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HeaderMatchMethod

Read HeaderMatchMethod Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HeaderMatchMethod

Show HeaderMatchMethod Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HeaderMatchMethod

Generic HeaderMatchMethod Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HeaderMatchMethod

Associated Types

type Rep HeaderMatchMethod :: Type -> Type #

NFData HeaderMatchMethod Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HeaderMatchMethod

Methods

rnf :: HeaderMatchMethod -> () #

Hashable HeaderMatchMethod Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HeaderMatchMethod

ToJSON HeaderMatchMethod Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HeaderMatchMethod

FromJSON HeaderMatchMethod Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HeaderMatchMethod

type Rep HeaderMatchMethod Source # 
Instance details

Defined in Amazonka.AppMesh.Types.HeaderMatchMethod

type Rep HeaderMatchMethod = D1 ('MetaData "HeaderMatchMethod" "Amazonka.AppMesh.Types.HeaderMatchMethod" "libZSservicesZSamazonka-appmeshZSamazonka-appmesh" 'False) (C1 ('MetaCons "HeaderMatchMethod'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "suffix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "regex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "prefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MatchRange)) :*: S1 ('MetaSel ('Just "exact") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newHeaderMatchMethod :: HeaderMatchMethod Source #

Create a value of HeaderMatchMethod 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:suffix:HeaderMatchMethod', headerMatchMethod_suffix - The value sent by the client must end with the specified characters.

$sel:regex:HeaderMatchMethod', headerMatchMethod_regex - The value sent by the client must include the specified characters.

$sel:prefix:HeaderMatchMethod', headerMatchMethod_prefix - The value sent by the client must begin with the specified characters.

$sel:range:HeaderMatchMethod', headerMatchMethod_range - An object that represents the range of values to match on.

$sel:exact:HeaderMatchMethod', headerMatchMethod_exact - The value sent by the client must match the specified value exactly.

headerMatchMethod_suffix :: Lens' HeaderMatchMethod (Maybe Text) Source #

The value sent by the client must end with the specified characters.

headerMatchMethod_regex :: Lens' HeaderMatchMethod (Maybe Text) Source #

The value sent by the client must include the specified characters.

headerMatchMethod_prefix :: Lens' HeaderMatchMethod (Maybe Text) Source #

The value sent by the client must begin with the specified characters.

headerMatchMethod_range :: Lens' HeaderMatchMethod (Maybe MatchRange) Source #

An object that represents the range of values to match on.

headerMatchMethod_exact :: Lens' HeaderMatchMethod (Maybe Text) Source #

The value sent by the client must match the specified value exactly.