| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::AppMesh::HttpRouteMatch; | ||
| 3 | use Moose; | ||
| 4 | has Headers => (is => 'ro', isa => 'ArrayRef[Paws::AppMesh::HttpRouteHeader]', request_name => 'headers', traits => ['NameInRequest']); | ||
| 5 | has Method => (is => 'ro', isa => 'Str', request_name => 'method', traits => ['NameInRequest']); | ||
| 6 | has Path => (is => 'ro', isa => 'Paws::AppMesh::HttpPathMatch', request_name => 'path', traits => ['NameInRequest']); | ||
| 7 | has Prefix => (is => 'ro', isa => 'Str', request_name => 'prefix', traits => ['NameInRequest']); | ||
| 8 | has QueryParameters => (is => 'ro', isa => 'ArrayRef[Paws::AppMesh::HttpQueryParameter]', request_name => 'queryParameters', traits => ['NameInRequest']); | ||
| 9 | has Scheme => (is => 'ro', isa => 'Str', request_name => 'scheme', traits => ['NameInRequest']); | ||
| 10 | |||
| 11 | 1; | ||
| 12 | |||
| 13 | ### main pod documentation begin ### | ||
| 14 | |||
| 15 | =head1 NAME | ||
| 16 | |||
| 17 | Paws::AppMesh::HttpRouteMatch | ||
| 18 | |||
| 19 | =head1 USAGE | ||
| 20 | |||
| 21 | This class represents one of two things: | ||
| 22 | |||
| 23 | =head3 Arguments in a call to a service | ||
| 24 | |||
| 25 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 26 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 27 | |||
| 28 | As an example, if Att1 is expected to be a Paws::AppMesh::HttpRouteMatch object: | ||
| 29 | |||
| 30 | $service_obj->Method(Att1 => { Headers => $value, ..., Scheme => $value }); | ||
| 31 | |||
| 32 | =head3 Results returned from an API call | ||
| 33 | |||
| 34 | Use accessors for each attribute. If Att1 is expected to be an Paws::AppMesh::HttpRouteMatch object: | ||
| 35 | |||
| 36 | $result = $service_obj->Method(...); | ||
| 37 | $result->Att1->Headers | ||
| 38 | |||
| 39 | =head1 DESCRIPTION | ||
| 40 | |||
| 41 | An object that represents the requirements for a route to match HTTP | ||
| 42 | requests for a virtual router. | ||
| 43 | |||
| 44 | =head1 ATTRIBUTES | ||
| 45 | |||
| 46 | |||
| 47 | =head2 Headers => ArrayRef[L<Paws::AppMesh::HttpRouteHeader>] | ||
| 48 | |||
| 49 | The client request headers to match on. | ||
| 50 | |||
| 51 | |||
| 52 | =head2 Method => Str | ||
| 53 | |||
| 54 | The client request method to match on. Specify only one. | ||
| 55 | |||
| 56 | |||
| 57 | =head2 Path => L<Paws::AppMesh::HttpPathMatch> | ||
| 58 | |||
| 59 | The client request path to match on. | ||
| 60 | |||
| 61 | |||
| 62 | =head2 Prefix => Str | ||
| 63 | |||
| 64 | Specifies the path to match requests with. This parameter must always | ||
| 65 | start with C</>, which by itself matches all requests to the virtual | ||
| 66 | service name. You can also match for path-based routing of requests. | ||
| 67 | For example, if your virtual service name is C<my-service.local> and | ||
| 68 | you want the route to match requests to C<my-service.local/metrics>, | ||
| 69 | your prefix should be C</metrics>. | ||
| 70 | |||
| 71 | |||
| 72 | =head2 QueryParameters => ArrayRef[L<Paws::AppMesh::HttpQueryParameter>] | ||
| 73 | |||
| 74 | The client request query parameters to match on. | ||
| 75 | |||
| 76 | |||
| 77 | =head2 Scheme => Str | ||
| 78 | |||
| 79 | The client request scheme to match on. Specify only one. Applicable | ||
| 80 | only for HTTP2 routes. | ||
| 81 | |||
| 82 | |||
| 83 | |||
| 84 | =head1 SEE ALSO | ||
| 85 | |||
| 86 | This class forms part of L<Paws>, describing an object used in L<Paws::AppMesh> | ||
| 87 | |||
| 88 | =head1 BUGS and CONTRIBUTIONS | ||
| 89 | |||
| 90 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 91 | |||
| 92 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 93 | |||
| 94 | =cut | ||
| 95 |