line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package Paws::ApiGateway::PutIntegrationResponse; |
3
|
1
|
|
|
1
|
|
565
|
use Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
7
|
|
4
|
|
|
|
|
|
|
has ContentHandling => (is => 'ro', isa => 'Str'); |
5
|
|
|
|
|
|
|
has HttpMethod => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'httpMethod' , required => 1); |
6
|
|
|
|
|
|
|
has ResourceId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'resourceId' , required => 1); |
7
|
|
|
|
|
|
|
has ResponseParameters => (is => 'ro', isa => 'Paws::ApiGateway::MapOfStringToString'); |
8
|
|
|
|
|
|
|
has ResponseTemplates => (is => 'ro', isa => 'Paws::ApiGateway::MapOfStringToString'); |
9
|
|
|
|
|
|
|
has RestApiId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'restApiId' , required => 1); |
10
|
|
|
|
|
|
|
has SelectionPattern => (is => 'ro', isa => 'Str'); |
11
|
|
|
|
|
|
|
has StatusCode => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'statusCode' , required => 1); |
12
|
|
|
|
|
|
|
|
13
|
1
|
|
|
1
|
|
6801
|
use MooseX::ClassAttribute; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
8
|
|
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
class_has _api_call => (isa => 'Str', is => 'ro', default => 'PutIntegrationResponse'); |
16
|
|
|
|
|
|
|
class_has _api_uri => (isa => 'Str', is => 'ro', default => '/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}'); |
17
|
|
|
|
|
|
|
class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT'); |
18
|
|
|
|
|
|
|
class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ApiGateway::IntegrationResponse'); |
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::PutIntegrationResponse - Arguments for method PutIntegrationResponse on Paws::ApiGateway |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 DESCRIPTION |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
This class represents the parameters used for calling the method PutIntegrationResponse on the |
31
|
|
|
|
|
|
|
Amazon API Gateway service. Use the attributes of this class |
32
|
|
|
|
|
|
|
as arguments to method PutIntegrationResponse. |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutIntegrationResponse. |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
As an example: |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
$service_obj->PutIntegrationResponse(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 ContentHandling => Str |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
Specifies how to handle response payload content type conversions. |
48
|
|
|
|
|
|
|
Supported values are C<CONVERT_TO_BINARY> and C<CONVERT_TO_TEXT>, with |
49
|
|
|
|
|
|
|
the following behaviors: |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=over |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=item * |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
C<CONVERT_TO_BINARY>: Converts a response payload from a Base64-encoded |
56
|
|
|
|
|
|
|
string to the corresponding binary blob. |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=item * |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
C<CONVERT_TO_TEXT>: Converts a response payload from a binary blob to a |
61
|
|
|
|
|
|
|
Base64-encoded string. |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=back |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
If this property is not defined, the response payload will be passed |
66
|
|
|
|
|
|
|
through from the integration response to the method response without |
67
|
|
|
|
|
|
|
modification. |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
Valid values are: C<"CONVERT_TO_BINARY">, C<"CONVERT_TO_TEXT"> |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=head2 B<REQUIRED> HttpMethod => Str |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
Specifies a put integration response request's HTTP method. |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
=head2 B<REQUIRED> ResourceId => Str |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
Specifies a put integration response request's resource identifier. |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
=head2 ResponseParameters => L<Paws::ApiGateway::MapOfStringToString> |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
A key-value map specifying response parameters that are passed to the |
86
|
|
|
|
|
|
|
method response from the back end. The key is a method response header |
87
|
|
|
|
|
|
|
parameter name and the mapped value is an integration response header |
88
|
|
|
|
|
|
|
value, a static value enclosed within a pair of single quotes, or a |
89
|
|
|
|
|
|
|
JSON expression from the integration response body. The mapping key |
90
|
|
|
|
|
|
|
must match the pattern of C<method.response.header.{name}>, where |
91
|
|
|
|
|
|
|
C<name> is a valid and unique header name. The mapped non-static value |
92
|
|
|
|
|
|
|
must match the pattern of C<integration.response.header.{name}> or |
93
|
|
|
|
|
|
|
C<integration.response.body.{JSON-expression}>, where C<name> must be a |
94
|
|
|
|
|
|
|
valid and unique response header name and C<JSON-expression> a valid |
95
|
|
|
|
|
|
|
JSON expression without the C<$> prefix. |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
=head2 ResponseTemplates => L<Paws::ApiGateway::MapOfStringToString> |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
Specifies a put integration response's templates. |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
=head2 B<REQUIRED> RestApiId => Str |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
Specifies a put integration response request's API identifier. |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
=head2 SelectionPattern => Str |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
Specifies the selection pattern of a put integration response. |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
=head2 B<REQUIRED> StatusCode => Str |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
Specifies the status code that is used to map the integration response |
120
|
|
|
|
|
|
|
to an existing MethodResponse. |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
=head1 SEE ALSO |
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
This class forms part of L<Paws>, documenting arguments for method PutIntegrationResponse in L<Paws::ApiGateway> |
128
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
130
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
134
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
=cut |
136
|
|
|
|
|
|
|
|