« blib/lib/Paws/ApiGatewayV2/UpdateIntegrationInput.pm
↑ Summary
blib/lib/Paws/ApiGatewayV2/UpdateIntegrationResponseInput.pm »
| 1 | |||
| 2 | package Paws::ApiGatewayV2::UpdateIntegrationResponse; | ||
| 3 | use Moose; | ||
| 4 | has ApiId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'apiId', required => 1); | ||
| 5 | has ContentHandlingStrategy => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'contentHandlingStrategy'); | ||
| 6 | has IntegrationId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'integrationId', required => 1); | ||
| 7 | has IntegrationResponseId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'integrationResponseId', required => 1); | ||
| 8 | has IntegrationResponseKey => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'integrationResponseKey'); | ||
| 9 | has ResponseParameters => (is => 'ro', isa => 'Paws::ApiGatewayV2::IntegrationParameters', traits => ['NameInRequest'], request_name => 'responseParameters'); | ||
| 10 | has ResponseTemplates => (is => 'ro', isa => 'Paws::ApiGatewayV2::TemplateMap', traits => ['NameInRequest'], request_name => 'responseTemplates'); | ||
| 11 | has TemplateSelectionExpression => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'templateSelectionExpression'); | ||
| 12 | |||
| 13 | use MooseX::ClassAttribute; | ||
| 14 | |||
| 15 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateIntegrationResponse'); | ||
| 16 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/v2/apis/{apiId}/integrations/{integrationId}/integrationresponses/{integrationResponseId}'); | ||
| 17 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'PATCH'); | ||
| 18 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ApiGatewayV2::UpdateIntegrationResponseResponse'); | ||
| 19 | 1; | ||
| 20 | |||
| 21 | ### main pod documentation begin ### | ||
| 22 | |||
| 23 | =head1 NAME | ||
| 24 | |||
| 25 | Paws::ApiGatewayV2::UpdateIntegrationResponse - Arguments for method UpdateIntegrationResponse on L<Paws::ApiGatewayV2> | ||
| 26 | |||
| 27 | =head1 DESCRIPTION | ||
| 28 | |||
| 29 | This class represents the parameters used for calling the method UpdateIntegrationResponse on the | ||
| 30 | L<AmazonApiGatewayV2|Paws::ApiGatewayV2> service. Use the attributes of this class | ||
| 31 | as arguments to method UpdateIntegrationResponse. | ||
| 32 | |||
| 33 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateIntegrationResponse. | ||
| 34 | |||
| 35 | =head1 SYNOPSIS | ||
| 36 | |||
| 37 | my $apigateway = Paws->service('ApiGatewayV2'); | ||
| 38 | my $UpdateIntegrationResponseResponse = | ||
| 39 | $apigateway->UpdateIntegrationResponse( | ||
| 40 | ApiId => 'My__string', | ||
| 41 | IntegrationId => 'My__string', | ||
| 42 | IntegrationResponseId => 'My__string', | ||
| 43 | ContentHandlingStrategy => 'CONVERT_TO_BINARY', # OPTIONAL | ||
| 44 | IntegrationResponseKey => 'MySelectionKey', # OPTIONAL | ||
| 45 | ResponseParameters => | ||
| 46 | { 'My__string' => 'MyStringWithLengthBetween1And512', }, # OPTIONAL | ||
| 47 | ResponseTemplates => | ||
| 48 | { 'My__string' => 'MyStringWithLengthBetween0And32K', }, # OPTIONAL | ||
| 49 | TemplateSelectionExpression => 'MySelectionExpression', # OPTIONAL | ||
| 50 | ); | ||
| 51 | |||
| 52 | # Results: | ||
| 53 | my $ContentHandlingStrategy = | ||
| 54 | $UpdateIntegrationResponseResponse->ContentHandlingStrategy; | ||
| 55 | my $IntegrationResponseId = | ||
| 56 | $UpdateIntegrationResponseResponse->IntegrationResponseId; | ||
| 57 | my $IntegrationResponseKey = | ||
| 58 | $UpdateIntegrationResponseResponse->IntegrationResponseKey; | ||
| 59 | my $ResponseParameters = | ||
| 60 | $UpdateIntegrationResponseResponse->ResponseParameters; | ||
| 61 | my $ResponseTemplates = | ||
| 62 | $UpdateIntegrationResponseResponse->ResponseTemplates; | ||
| 63 | my $TemplateSelectionExpression = | ||
| 64 | $UpdateIntegrationResponseResponse->TemplateSelectionExpression; | ||
| 65 | |||
| 66 | # Returns a L<Paws::ApiGatewayV2::UpdateIntegrationResponseResponse> object. | ||
| 67 | |||
| 68 | 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. | ||
| 69 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/apigateway/UpdateIntegrationResponse> | ||
| 70 | |||
| 71 | =head1 ATTRIBUTES | ||
| 72 | |||
| 73 | |||
| 74 | =head2 B<REQUIRED> ApiId => Str | ||
| 75 | |||
| 76 | The API identifier. | ||
| 77 | |||
| 78 | |||
| 79 | |||
| 80 | =head2 ContentHandlingStrategy => Str | ||
| 81 | |||
| 82 | Supported only for WebSocket APIs. Specifies how to handle response | ||
| 83 | payload content type conversions. Supported values are | ||
| 84 | CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors: | ||
| 85 | |||
| 86 | CONVERT_TO_BINARY: Converts a response payload from a Base64-encoded | ||
| 87 | string to the corresponding binary blob. | ||
| 88 | |||
| 89 | CONVERT_TO_TEXT: Converts a response payload from a binary blob to a | ||
| 90 | Base64-encoded string. | ||
| 91 | |||
| 92 | If this property is not defined, the response payload will be passed | ||
| 93 | through from the integration response to the route response or method | ||
| 94 | response without modification. | ||
| 95 | |||
| 96 | Valid values are: C<"CONVERT_TO_BINARY">, C<"CONVERT_TO_TEXT"> | ||
| 97 | |||
| 98 | =head2 B<REQUIRED> IntegrationId => Str | ||
| 99 | |||
| 100 | The integration ID. | ||
| 101 | |||
| 102 | |||
| 103 | |||
| 104 | =head2 B<REQUIRED> IntegrationResponseId => Str | ||
| 105 | |||
| 106 | The integration response ID. | ||
| 107 | |||
| 108 | |||
| 109 | |||
| 110 | =head2 IntegrationResponseKey => Str | ||
| 111 | |||
| 112 | The integration response key. | ||
| 113 | |||
| 114 | |||
| 115 | |||
| 116 | =head2 ResponseParameters => L<Paws::ApiGatewayV2::IntegrationParameters> | ||
| 117 | |||
| 118 | A key-value map specifying response parameters that are passed to the | ||
| 119 | method response from the backend. The key is a method response header | ||
| 120 | parameter name and the mapped value is an integration response header | ||
| 121 | value, a static value enclosed within a pair of single quotes, or a | ||
| 122 | JSON expression from the integration response body. The mapping key | ||
| 123 | must match the pattern of method.response.header.{name} , where name is | ||
| 124 | a valid and unique header name. The mapped non-static value must match | ||
| 125 | the pattern of integration.response.header.{name} or | ||
| 126 | integration.response.body.{JSON-expression} , where {name} is a valid | ||
| 127 | and unique response header name and {JSON-expression} is a valid JSON | ||
| 128 | expression without the $ prefix. | ||
| 129 | |||
| 130 | |||
| 131 | |||
| 132 | =head2 ResponseTemplates => L<Paws::ApiGatewayV2::TemplateMap> | ||
| 133 | |||
| 134 | The collection of response templates for the integration response as a | ||
| 135 | string-to-string map of key-value pairs. Response templates are | ||
| 136 | represented as a key/value map, with a content-type as the key and a | ||
| 137 | template as the value. | ||
| 138 | |||
| 139 | |||
| 140 | |||
| 141 | =head2 TemplateSelectionExpression => Str | ||
| 142 | |||
| 143 | The template selection expression for the integration response. | ||
| 144 | Supported only for WebSocket APIs. | ||
| 145 | |||
| 146 | |||
| 147 | |||
| 148 | |||
| 149 | =head1 SEE ALSO | ||
| 150 | |||
| 151 | This class forms part of L<Paws>, documenting arguments for method UpdateIntegrationResponse in L<Paws::ApiGatewayV2> | ||
| 152 | |||
| 153 | =head1 BUGS and CONTRIBUTIONS | ||
| 154 | |||
| 155 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 156 | |||
| 157 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 158 | |||
| 159 | =cut | ||
| 160 |