blib/lib/Paws/AppMesh/HttpGatewayRouteMatch.pm untested

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::AppMesh::HttpGatewayRouteMatch;
3 use Moose;
4 has Headers => (is => 'ro', isa => 'ArrayRef[Paws::AppMesh::HttpGatewayRouteHeader]', request_name => 'headers', traits => ['NameInRequest']);
5 has Hostname => (is => 'ro', isa => 'Paws::AppMesh::GatewayRouteHostnameMatch', request_name => 'hostname', traits => ['NameInRequest']);
6 has Method => (is => 'ro', isa => 'Str', request_name => 'method', traits => ['NameInRequest']);
7 has Path => (is => 'ro', isa => 'Paws::AppMesh::HttpPathMatch', request_name => 'path', traits => ['NameInRequest']);
8 has Prefix => (is => 'ro', isa => 'Str', request_name => 'prefix', traits => ['NameInRequest']);
9 has QueryParameters => (is => 'ro', isa => 'ArrayRef[Paws::AppMesh::HttpQueryParameter]', request_name => 'queryParameters', traits => ['NameInRequest']);
10  
11 1;
12  
13 ### main pod documentation begin ###
14  
15 =head1 NAME
16  
17 Paws::AppMesh::HttpGatewayRouteMatch
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::HttpGatewayRouteMatch object:
29  
30 $service_obj->Method(Att1 => { Headers => $value, ..., QueryParameters => $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::HttpGatewayRouteMatch object:
35  
36 $result = $service_obj->Method(...);
37 $result->Att1->Headers
38  
39 =head1 DESCRIPTION
40  
41 An object that represents the criteria for determining a request match.
42  
43 =head1 ATTRIBUTES
44  
45  
46 =head2 Headers => ArrayRef[L<Paws::AppMesh::HttpGatewayRouteHeader>]
47  
48 The client request headers to match on.
49  
50  
51 =head2 Hostname => L<Paws::AppMesh::GatewayRouteHostnameMatch>
52  
53 The host name to match on.
54  
55  
56 =head2 Method => Str
57  
58 The method to match on.
59  
60  
61 =head2 Path => L<Paws::AppMesh::HttpPathMatch>
62  
63 The path to match on.
64  
65  
66 =head2 Prefix => Str
67  
68 Specifies the path to match requests with. This parameter must always
69 start with C</>, which by itself matches all requests to the virtual
70 service name. You can also match for path-based routing of requests.
71 For example, if your virtual service name is C<my-service.local> and
72 you want the route to match requests to C<my-service.local/metrics>,
73 your prefix should be C</metrics>.
74  
75  
76 =head2 QueryParameters => ArrayRef[L<Paws::AppMesh::HttpQueryParameter>]
77  
78 The query parameter to match on.
79  
80  
81  
82 =head1 SEE ALSO
83  
84 This class forms part of L<Paws>, describing an object used in L<Paws::AppMesh>
85  
86 =head1 BUGS and CONTRIBUTIONS
87  
88 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
89  
90 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
91  
92 =cut
93