« blib/lib/Paws/ApiGatewayV2/CreateIntegrationResponseInput.pm
↑ Summary
blib/lib/Paws/ApiGatewayV2/CreateIntegrationResult.pm »
| 1 | |||
| 2 | package Paws::ApiGatewayV2::CreateIntegrationResponseResponse; | ||
| 3 | use Moose; | ||
| 4 | has ContentHandlingStrategy => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'contentHandlingStrategy'); | ||
| 5 | has IntegrationResponseId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'integrationResponseId'); | ||
| 6 | has IntegrationResponseKey => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'integrationResponseKey'); | ||
| 7 | has ResponseParameters => (is => 'ro', isa => 'Paws::ApiGatewayV2::IntegrationParameters', traits => ['NameInRequest'], request_name => 'responseParameters'); | ||
| 8 | has ResponseTemplates => (is => 'ro', isa => 'Paws::ApiGatewayV2::TemplateMap', traits => ['NameInRequest'], request_name => 'responseTemplates'); | ||
| 9 | has TemplateSelectionExpression => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'templateSelectionExpression'); | ||
| 10 | |||
| 11 | has _request_id => (is => 'ro', isa => 'Str'); | ||
| 12 | 1; | ||
| 13 | |||
| 14 | ### main pod documentation begin ### | ||
| 15 | |||
| 16 | =head1 NAME | ||
| 17 | |||
| 18 | Paws::ApiGatewayV2::CreateIntegrationResponseResponse | ||
| 19 | |||
| 20 | =head1 ATTRIBUTES | ||
| 21 | |||
| 22 | |||
| 23 | =head2 ContentHandlingStrategy => Str | ||
| 24 | |||
| 25 | Supported only for WebSocket APIs. Specifies how to handle response | ||
| 26 | payload content type conversions. Supported values are | ||
| 27 | CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors: | ||
| 28 | |||
| 29 | CONVERT_TO_BINARY: Converts a response payload from a Base64-encoded | ||
| 30 | string to the corresponding binary blob. | ||
| 31 | |||
| 32 | CONVERT_TO_TEXT: Converts a response payload from a binary blob to a | ||
| 33 | Base64-encoded string. | ||
| 34 | |||
| 35 | If this property is not defined, the response payload will be passed | ||
| 36 | through from the integration response to the route response or method | ||
| 37 | response without modification. | ||
| 38 | |||
| 39 | Valid values are: C<"CONVERT_TO_BINARY">, C<"CONVERT_TO_TEXT"> | ||
| 40 | =head2 IntegrationResponseId => Str | ||
| 41 | |||
| 42 | The integration response ID. | ||
| 43 | |||
| 44 | |||
| 45 | =head2 IntegrationResponseKey => Str | ||
| 46 | |||
| 47 | The integration response key. | ||
| 48 | |||
| 49 | |||
| 50 | =head2 ResponseParameters => L<Paws::ApiGatewayV2::IntegrationParameters> | ||
| 51 | |||
| 52 | A key-value map specifying response parameters that are passed to the | ||
| 53 | method response from the backend. The key is a method response header | ||
| 54 | parameter name and the mapped value is an integration response header | ||
| 55 | value, a static value enclosed within a pair of single quotes, or a | ||
| 56 | JSON expression from the integration response body. The mapping key | ||
| 57 | must match the pattern of method.response.header.{name}, where name is | ||
| 58 | a valid and unique header name. The mapped non-static value must match | ||
| 59 | the pattern of integration.response.header.{name} or | ||
| 60 | integration.response.body.{JSON-expression}, where name is a valid and | ||
| 61 | unique response header name and JSON-expression is a valid JSON | ||
| 62 | expression without the $ prefix. | ||
| 63 | |||
| 64 | |||
| 65 | =head2 ResponseTemplates => L<Paws::ApiGatewayV2::TemplateMap> | ||
| 66 | |||
| 67 | The collection of response templates for the integration response as a | ||
| 68 | string-to-string map of key-value pairs. Response templates are | ||
| 69 | represented as a key/value map, with a content-type as the key and a | ||
| 70 | template as the value. | ||
| 71 | |||
| 72 | |||
| 73 | =head2 TemplateSelectionExpression => Str | ||
| 74 | |||
| 75 | The template selection expressions for the integration response. | ||
| 76 | |||
| 77 | |||
| 78 | =head2 _request_id => Str | ||
| 79 | |||
| 80 | |||
| 81 | =cut | ||
| 82 |