Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
Eq Matcher Source # | |
Read Matcher Source # | |
Show Matcher Source # | |
Generic Matcher Source # | |
NFData Matcher Source # | |
Defined in Amazonka.ELBV2.Types.Matcher | |
Hashable Matcher Source # | |
Defined in Amazonka.ELBV2.Types.Matcher | |
ToQuery Matcher Source # | |
Defined in Amazonka.ELBV2.Types.Matcher toQuery :: Matcher -> QueryString # | |
FromXML Matcher Source # | |
type Rep Matcher Source # | |
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.