blib/lib/Paws/ApiGatewayV2/GetIntegrationResult.pm untested

filter: Statementstmt 0.0% 0 / 44 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 45 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::ApiGatewayV2::GetIntegrationResult;
3 use Moose;
4 has ApiGatewayManaged => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'apiGatewayManaged');
5 has ConnectionId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'connectionId');
6 has ConnectionType => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'connectionType');
7 has ContentHandlingStrategy => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'contentHandlingStrategy');
8 has CredentialsArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'credentialsArn');
9 has Description => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'description');
10 has IntegrationId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'integrationId');
11 has IntegrationMethod => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'integrationMethod');
12 has IntegrationResponseSelectionExpression => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'integrationResponseSelectionExpression');
13 has IntegrationSubtype => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'integrationSubtype');
14 has IntegrationType => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'integrationType');
15 has IntegrationUri => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'integrationUri');
16 has PassthroughBehavior => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'passthroughBehavior');
17 has PayloadFormatVersion => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'payloadFormatVersion');
18 has RequestParameters => (is => 'ro', isa => 'Paws::ApiGatewayV2::IntegrationParameters', traits => ['NameInRequest'], request_name => 'requestParameters');
19 has RequestTemplates => (is => 'ro', isa => 'Paws::ApiGatewayV2::TemplateMap', traits => ['NameInRequest'], request_name => 'requestTemplates');
20 has ResponseParameters => (is => 'ro', isa => 'Paws::ApiGatewayV2::ResponseParameters', traits => ['NameInRequest'], request_name => 'responseParameters');
21 has TemplateSelectionExpression => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'templateSelectionExpression');
22 has TimeoutInMillis => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'timeoutInMillis');
23 has TlsConfig => (is => 'ro', isa => 'Paws::ApiGatewayV2::TlsConfig', traits => ['NameInRequest'], request_name => 'tlsConfig');
24  
25 has _request_id => (is => 'ro', isa => 'Str');
26 1;
27  
28 ### main pod documentation begin ###
29  
30 =head1 NAME
31  
32 Paws::ApiGatewayV2::GetIntegrationResult
33  
34 =head1 ATTRIBUTES
35  
36  
37 =head2 ApiGatewayManaged => Bool
38  
39 Specifies whether an integration is managed by API Gateway. If you
40 created an API using using quick create, the resulting integration is
41 managed by API Gateway. You can update a managed integration, but you
42 can't delete it.
43  
44  
45 =head2 ConnectionId => Str
46  
47 The ID of the VPC link for a private integration. Supported only for
48 HTTP APIs.
49  
50  
51 =head2 ConnectionType => Str
52  
53 The type of the network connection to the integration endpoint. Specify
54 INTERNET for connections through the public routable internet or
55 VPC_LINK for private connections between API Gateway and resources in a
56 VPC. The default value is INTERNET.
57  
58 Valid values are: C<"INTERNET">, C<"VPC_LINK">
59 =head2 ContentHandlingStrategy => Str
60  
61 Supported only for WebSocket APIs. Specifies how to handle response
62 payload content type conversions. Supported values are
63 CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors:
64  
65 CONVERT_TO_BINARY: Converts a response payload from a Base64-encoded
66 string to the corresponding binary blob.
67  
68 CONVERT_TO_TEXT: Converts a response payload from a binary blob to a
69 Base64-encoded string.
70  
71 If this property is not defined, the response payload will be passed
72 through from the integration response to the route response or method
73 response without modification.
74  
75 Valid values are: C<"CONVERT_TO_BINARY">, C<"CONVERT_TO_TEXT">
76 =head2 CredentialsArn => Str
77  
78 Specifies the credentials required for the integration, if any. For AWS
79 integrations, three options are available. To specify an IAM Role for
80 API Gateway to assume, use the role's Amazon Resource Name (ARN). To
81 require that the caller's identity be passed through from the request,
82 specify the string arn:aws:iam::*:user/*. To use resource-based
83 permissions on supported AWS services, specify null.
84  
85  
86 =head2 Description => Str
87  
88 Represents the description of an integration.
89  
90  
91 =head2 IntegrationId => Str
92  
93 Represents the identifier of an integration.
94  
95  
96 =head2 IntegrationMethod => Str
97  
98 Specifies the integration's HTTP method type.
99  
100  
101 =head2 IntegrationResponseSelectionExpression => Str
102  
103 The integration response selection expression for the integration.
104 Supported only for WebSocket APIs. See Integration Response Selection
105 Expressions
106 (https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-integration-response-selection-expressions).
107  
108  
109 =head2 IntegrationSubtype => Str
110  
111 Supported only for HTTP API AWS_PROXY integrations. Specifies the AWS
112 service action to invoke. To learn more, see Integration subtype
113 reference
114 (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services-reference.html).
115  
116  
117 =head2 IntegrationType => Str
118  
119 The integration type of an integration. One of the following:
120  
121 AWS: for integrating the route or method request with an AWS service
122 action, including the Lambda function-invoking action. With the Lambda
123 function-invoking action, this is referred to as the Lambda custom
124 integration. With any other AWS service action, this is known as AWS
125 integration. Supported only for WebSocket APIs.
126  
127 AWS_PROXY: for integrating the route or method request with a Lambda
128 function or other AWS service action. This integration is also referred
129 to as a Lambda proxy integration.
130  
131 HTTP: for integrating the route or method request with an HTTP
132 endpoint. This integration is also referred to as the HTTP custom
133 integration. Supported only for WebSocket APIs.
134  
135 HTTP_PROXY: for integrating the route or method request with an HTTP
136 endpoint, with the client request passed through as-is. This is also
137 referred to as HTTP proxy integration.
138  
139 MOCK: for integrating the route or method request with API Gateway as a
140 "loopback" endpoint without invoking any backend. Supported only for
141 WebSocket APIs.
142  
143 Valid values are: C<"AWS">, C<"HTTP">, C<"MOCK">, C<"HTTP_PROXY">, C<"AWS_PROXY">
144 =head2 IntegrationUri => Str
145  
146 For a Lambda integration, specify the URI of a Lambda function.
147  
148 For an HTTP integration, specify a fully-qualified URL.
149  
150 For an HTTP API private integration, specify the ARN of an Application
151 Load Balancer listener, Network Load Balancer listener, or AWS Cloud
152 Map service. If you specify the ARN of an AWS Cloud Map service, API
153 Gateway uses DiscoverInstances to identify resources. You can use query
154 parameters to target specific resources. To learn more, see
155 DiscoverInstances
156 (https://docs.aws.amazon.com/cloud-map/latest/api/API_DiscoverInstances.html).
157 For private integrations, all resources must be owned by the same AWS
158 account.
159  
160  
161 =head2 PassthroughBehavior => Str
162  
163 Specifies the pass-through behavior for incoming requests based on the
164 Content-Type header in the request, and the available mapping templates
165 specified as the requestTemplates property on the Integration resource.
166 There are three valid values: WHEN_NO_MATCH, WHEN_NO_TEMPLATES, and
167 NEVER. Supported only for WebSocket APIs.
168  
169 WHEN_NO_MATCH passes the request body for unmapped content types
170 through to the integration backend without transformation.
171  
172 NEVER rejects unmapped content types with an HTTP 415 Unsupported Media
173 Type response.
174  
175 WHEN_NO_TEMPLATES allows pass-through when the integration has no
176 content types mapped to templates. However, if there is at least one
177 content type defined, unmapped content types will be rejected with the
178 same HTTP 415 Unsupported Media Type response.
179  
180 Valid values are: C<"WHEN_NO_MATCH">, C<"NEVER">, C<"WHEN_NO_TEMPLATES">
181 =head2 PayloadFormatVersion => Str
182  
183 Specifies the format of the payload sent to an integration. Required
184 for HTTP APIs.
185  
186  
187 =head2 RequestParameters => L<Paws::ApiGatewayV2::IntegrationParameters>
188  
189 For WebSocket APIs, a key-value map specifying request parameters that
190 are passed from the method request to the backend. The key is an
191 integration request parameter name and the associated value is a method
192 request parameter value or static value that must be enclosed within
193 single quotes and pre-encoded as required by the backend. The method
194 request parameter value must match the pattern of
195 method.request.{location}.{name} , where {location} is querystring,
196 path, or header; and {name} must be a valid and unique method request
197 parameter name.
198  
199 For HTTP API integrations with a specified integrationSubtype, request
200 parameters are a key-value map specifying parameters that are passed to
201 AWS_PROXY integrations. You can provide static values, or map request
202 data, stage variables, or context variables that are evaluated at
203 runtime. To learn more, see Working with AWS service integrations for
204 HTTP APIs
205 (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html).
206  
207 For HTTP API itegrations, without a specified integrationSubtype
208 request parameters are a key-value map specifying how to transform HTTP
209 requests before sending them to backend integrations. The key should
210 follow the pattern
211 E<lt>actionE<gt>:E<lt>header|querystring|pathE<gt>.E<lt>locationE<gt>.
212 The action can be append, overwrite or remove. For values, you can
213 provide static values, or map request data, stage variables, or context
214 variables that are evaluated at runtime. To learn more, see
215 Transforming API requests and responses
216 (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html).
217  
218  
219 =head2 RequestTemplates => L<Paws::ApiGatewayV2::TemplateMap>
220  
221 Represents a map of Velocity templates that are applied on the request
222 payload based on the value of the Content-Type header sent by the
223 client. The content type value is the key in this map, and the template
224 (as a String) is the value. Supported only for WebSocket APIs.
225  
226  
227 =head2 ResponseParameters => L<Paws::ApiGatewayV2::ResponseParameters>
228  
229 Supported only for HTTP APIs. You use response parameters to transform
230 the HTTP response from a backend integration before returning the
231 response to clients. Specify a key-value map from a selection key to
232 response parameters. The selection key must be a valid HTTP status code
233 within the range of 200-599. Response parameters are a key-value map.
234 The key must match pattern
235 E<lt>actionE<gt>:E<lt>headerE<gt>.E<lt>locationE<gt> or
236 overwrite.statuscode. The action can be append, overwrite or remove.
237 The value can be a static value, or map to response data, stage
238 variables, or context variables that are evaluated at runtime. To learn
239 more, see Transforming API requests and responses
240 (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html).
241  
242  
243 =head2 TemplateSelectionExpression => Str
244  
245 The template selection expression for the integration. Supported only
246 for WebSocket APIs.
247  
248  
249 =head2 TimeoutInMillis => Int
250  
251 Custom timeout between 50 and 29,000 milliseconds for WebSocket APIs
252 and between 50 and 30,000 milliseconds for HTTP APIs. The default
253 timeout is 29 seconds for WebSocket APIs and 30 seconds for HTTP APIs.
254  
255  
256 =head2 TlsConfig => L<Paws::ApiGatewayV2::TlsConfig>
257  
258 The TLS configuration for a private integration. If you specify a TLS
259 configuration, private integration traffic uses the HTTPS protocol.
260 Supported only for HTTP APIs.
261  
262  
263 =head2 _request_id => Str
264  
265  
266 =cut
267