Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
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.
Matcher' | |
|
Instances
ToQuery Matcher Source # | |
Defined in Amazonka.ELBV2.Types.Matcher toQuery :: Matcher -> QueryString # | |
FromXML Matcher Source # | |
Generic Matcher Source # | |
Read Matcher Source # | |
Show Matcher Source # | |
NFData Matcher Source # | |
Defined in Amazonka.ELBV2.Types.Matcher | |
Eq Matcher Source # | |
Hashable Matcher Source # | |
Defined in Amazonka.ELBV2.Types.Matcher | |
type Rep Matcher Source # | |
Defined in Amazonka.ELBV2.Types.Matcher type Rep Matcher = D1 ('MetaData "Matcher" "Amazonka.ELBV2.Types.Matcher" "amazonka-elbv2-2.0-361J9F5fkBoAtGaOoJg8Ev" 'False) (C1 ('MetaCons "Matcher'" 'PrefixI 'True) (S1 ('MetaSel ('Just "grpcCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpCode") '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: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.
$sel:httpCode:Matcher'
, matcher_httpCode
- For Application Load Balancers, you can specify values between 200 and
499, with the default value being 200. You can specify multiple values
(for example, "200,202") or a range of values (for example,
"200-299").
For Network Load Balancers, you can specify values between 200 and 599, with the default value being 200-399. You can specify multiple values (for example, "200,202") or a range of values (for example, "200-299").
For 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.
matcher_httpCode :: Lens' Matcher (Maybe Text) Source #
For Application Load Balancers, you can specify values between 200 and 499, with the default value being 200. You can specify multiple values (for example, "200,202") or a range of values (for example, "200-299").
For Network Load Balancers, you can specify values between 200 and 599, with the default value being 200-399. You can specify multiple values (for example, "200,202") or a range of values (for example, "200-299").
For Gateway Load Balancers, this must be "200–399".
Note that when using shorthand syntax, some values such as commas need to be escaped.