libZSservicesZSamazonka-elbv2ZSamazonka-elbv2
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.ELBV2.Types.Matcher

Description

 
Synopsis

Documentation

data Matcher Source #

The codes to use when checking for a successful response from a target. If the protocol version is gRPC, these are gRPC codes. Otherwise, these are HTTP codes.

See: newMatcher smart constructor.

Constructors

Matcher' 

Fields

  • httpCode :: Maybe Text

    For Application Load Balancers, you can specify values between 200 and 499, and the default value is 200. You can specify multiple values (for example, "200,202") or a range of values (for example, "200-299").

    For Network Load Balancers and Gateway Load Balancers, this must be "200–399".

    Note that when using shorthand syntax, some values such as commas need to be escaped.

  • grpcCode :: Maybe Text

    You can specify values between 0 and 99. You can specify multiple values (for example, "0,1") or a range of values (for example, "0-5"). The default value is 12.

Instances

Instances details
Eq Matcher Source # 
Instance details

Defined in Amazonka.ELBV2.Types.Matcher

Methods

(==) :: Matcher -> Matcher -> Bool #

(/=) :: Matcher -> Matcher -> Bool #

Read Matcher Source # 
Instance details

Defined in Amazonka.ELBV2.Types.Matcher

Show Matcher Source # 
Instance details

Defined in Amazonka.ELBV2.Types.Matcher

Generic Matcher Source # 
Instance details

Defined in Amazonka.ELBV2.Types.Matcher

Associated Types

type Rep Matcher :: Type -> Type #

Methods

from :: Matcher -> Rep Matcher x #

to :: Rep Matcher x -> Matcher #

NFData Matcher Source # 
Instance details

Defined in Amazonka.ELBV2.Types.Matcher

Methods

rnf :: Matcher -> () #

Hashable Matcher Source # 
Instance details

Defined in Amazonka.ELBV2.Types.Matcher

Methods

hashWithSalt :: Int -> Matcher -> Int #

hash :: Matcher -> Int #

ToQuery Matcher Source # 
Instance details

Defined in Amazonka.ELBV2.Types.Matcher

FromXML Matcher Source # 
Instance details

Defined in Amazonka.ELBV2.Types.Matcher

type Rep Matcher Source # 
Instance details

Defined in Amazonka.ELBV2.Types.Matcher

type Rep Matcher = D1 ('MetaData "Matcher" "Amazonka.ELBV2.Types.Matcher" "libZSservicesZSamazonka-elbv2ZSamazonka-elbv2" 'False) (C1 ('MetaCons "Matcher'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "grpcCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newMatcher :: Matcher Source #

Create a value of Matcher 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:httpCode:Matcher', matcher_httpCode - For Application Load Balancers, you can specify values between 200 and 499, and the default value is 200. You can specify multiple values (for example, "200,202") or a range of values (for example, "200-299").

For Network Load Balancers and Gateway Load Balancers, this must be "200–399".

Note that when using shorthand syntax, some values such as commas need to be escaped.

$sel:grpcCode:Matcher', matcher_grpcCode - You can specify values between 0 and 99. You can specify multiple values (for example, "0,1") or a range of values (for example, "0-5"). The default value is 12.

matcher_httpCode :: Lens' Matcher (Maybe Text) Source #

For Application Load Balancers, you can specify values between 200 and 499, and the default value is 200. You can specify multiple values (for example, "200,202") or a range of values (for example, "200-299").

For Network Load Balancers and Gateway Load Balancers, this must be "200–399".

Note that when using shorthand syntax, some values such as commas need to be escaped.

matcher_grpcCode :: Lens' Matcher (Maybe Text) Source #

You can specify values between 0 and 99. You can specify multiple values (for example, "0,1") or a range of values (for example, "0-5"). The default value is 12.