| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::ELBv2::Matcher; | ||
| 3 | use Moose; | ||
| 4 | has GrpcCode => (is => 'ro', isa => 'Str'); | ||
| 5 | has HttpCode => (is => 'ro', isa => 'Str'); | ||
| 6 | |||
| 7 | 1; | ||
| 8 | |||
| 9 | ### main pod documentation begin ### | ||
| 10 | |||
| 11 | =head1 NAME | ||
| 12 | |||
| 13 | Paws::ELBv2::Matcher | ||
| 14 | |||
| 15 | =head1 USAGE | ||
| 16 | |||
| 17 | This class represents one of two things: | ||
| 18 | |||
| 19 | =head3 Arguments in a call to a service | ||
| 20 | |||
| 21 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 22 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 23 | |||
| 24 | As an example, if Att1 is expected to be a Paws::ELBv2::Matcher object: | ||
| 25 | |||
| 26 | $service_obj->Method(Att1 => { GrpcCode => $value, ..., HttpCode => $value }); | ||
| 27 | |||
| 28 | =head3 Results returned from an API call | ||
| 29 | |||
| 30 | Use accessors for each attribute. If Att1 is expected to be an Paws::ELBv2::Matcher object: | ||
| 31 | |||
| 32 | $result = $service_obj->Method(...); | ||
| 33 | $result->Att1->GrpcCode | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | The codes to use when checking for a successful response from a target. | ||
| 38 | If the protocol version is gRPC, these are gRPC codes. Otherwise, these | ||
| 39 | are HTTP codes. | ||
| 40 | |||
| 41 | =head1 ATTRIBUTES | ||
| 42 | |||
| 43 | |||
| 44 | =head2 GrpcCode => Str | ||
| 45 | |||
| 46 | You can specify values between 0 and 99. You can specify multiple | ||
| 47 | values (for example, "0,1") or a range of values (for example, "0-5"). | ||
| 48 | The default value is 12. | ||
| 49 | |||
| 50 | |||
| 51 | =head2 HttpCode => Str | ||
| 52 | |||
| 53 | For Application Load Balancers, you can specify values between 200 and | ||
| 54 | 499, and the default value is 200. You can specify multiple values (for | ||
| 55 | example, "200,202") or a range of values (for example, "200-299"). | ||
| 56 | |||
| 57 | For Network Load Balancers and Gateway Load Balancers, this must be | ||
| 58 | "200E<ndash>399". | ||
| 59 | |||
| 60 | |||
| 61 | |||
| 62 | =head1 SEE ALSO | ||
| 63 | |||
| 64 | This class forms part of L<Paws>, describing an object used in L<Paws::ELBv2> | ||
| 65 | |||
| 66 | =head1 BUGS and CONTRIBUTIONS | ||
| 67 | |||
| 68 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 69 | |||
| 70 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 71 | |||
| 72 | =cut | ||
| 73 |