line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package Paws::ApiGateway::TestInvokeMethod; |
3
|
1
|
|
|
1
|
|
509
|
use Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
7
|
|
4
|
|
|
|
|
|
|
has Body => (is => 'ro', isa => 'Str'); |
5
|
|
|
|
|
|
|
has ClientCertificateId => (is => 'ro', isa => 'Str'); |
6
|
|
|
|
|
|
|
has Headers => (is => 'ro', isa => 'Paws::ApiGateway::MapOfHeaderValues'); |
7
|
|
|
|
|
|
|
has HttpMethod => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'httpMethod' , required => 1); |
8
|
|
|
|
|
|
|
has PathWithQueryString => (is => 'ro', isa => 'Str'); |
9
|
|
|
|
|
|
|
has ResourceId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'resourceId' , required => 1); |
10
|
|
|
|
|
|
|
has RestApiId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'restApiId' , required => 1); |
11
|
|
|
|
|
|
|
has StageVariables => (is => 'ro', isa => 'Paws::ApiGateway::MapOfStringToString'); |
12
|
|
|
|
|
|
|
|
13
|
1
|
|
|
1
|
|
6179
|
use MooseX::ClassAttribute; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
9
|
|
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
class_has _api_call => (isa => 'Str', is => 'ro', default => 'TestInvokeMethod'); |
16
|
|
|
|
|
|
|
class_has _api_uri => (isa => 'Str', is => 'ro', default => '/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}'); |
17
|
|
|
|
|
|
|
class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); |
18
|
|
|
|
|
|
|
class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ApiGateway::TestInvokeMethodResponse'); |
19
|
|
|
|
|
|
|
class_has _result_key => (isa => 'Str', is => 'ro'); |
20
|
|
|
|
|
|
|
1; |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
### main pod documentation begin ### |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=head1 NAME |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
Paws::ApiGateway::TestInvokeMethod - Arguments for method TestInvokeMethod on Paws::ApiGateway |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 DESCRIPTION |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
This class represents the parameters used for calling the method TestInvokeMethod on the |
31
|
|
|
|
|
|
|
Amazon API Gateway service. Use the attributes of this class |
32
|
|
|
|
|
|
|
as arguments to method TestInvokeMethod. |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to TestInvokeMethod. |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
As an example: |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
$service_obj->TestInvokeMethod(Att1 => $value1, Att2 => $value2, ...); |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=head2 Body => Str |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
The simulated request body of an incoming invocation request. |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=head2 ClientCertificateId => Str |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
A ClientCertificate identifier to use in the test invocation. API |
54
|
|
|
|
|
|
|
Gateway will use the certificate when making the HTTPS request to the |
55
|
|
|
|
|
|
|
defined back-end endpoint. |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=head2 Headers => L<Paws::ApiGateway::MapOfHeaderValues> |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
A key-value map of headers to simulate an incoming invocation request. |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
=head2 B<REQUIRED> HttpMethod => Str |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
Specifies a test invoke method request's HTTP method. |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=head2 PathWithQueryString => Str |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
The URI path, including query string, of the simulated invocation |
74
|
|
|
|
|
|
|
request. Use this to specify path parameters and query string |
75
|
|
|
|
|
|
|
parameters. |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
=head2 B<REQUIRED> ResourceId => Str |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
Specifies a test invoke method request's resource ID. |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
=head2 B<REQUIRED> RestApiId => Str |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
Specifies a test invoke method request's API identifier. |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
=head2 StageVariables => L<Paws::ApiGateway::MapOfStringToString> |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
A key-value map of stage variables to simulate an invocation on a |
94
|
|
|
|
|
|
|
deployed Stage. |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
=head1 SEE ALSO |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
This class forms part of L<Paws>, documenting arguments for method TestInvokeMethod in L<Paws::ApiGateway> |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
=cut |
110
|
|
|
|
|
|
|
|