« blib/lib/Paws/ApiGatewayV2/UpdateRouteInput.pm
↑ Summary
blib/lib/Paws/ApiGatewayV2/UpdateRouteResponseInput.pm »
| 1 | |||
| 2 | package Paws::ApiGatewayV2::UpdateRouteResponse; | ||
| 3 | use Moose; | ||
| 4 | has ApiId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'apiId', required => 1); | ||
| 5 | has ModelSelectionExpression => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'modelSelectionExpression'); | ||
| 6 | has ResponseModels => (is => 'ro', isa => 'Paws::ApiGatewayV2::RouteModels', traits => ['NameInRequest'], request_name => 'responseModels'); | ||
| 7 | has ResponseParameters => (is => 'ro', isa => 'Paws::ApiGatewayV2::RouteParameters', traits => ['NameInRequest'], request_name => 'responseParameters'); | ||
| 8 | has RouteId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'routeId', required => 1); | ||
| 9 | has RouteResponseId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'routeResponseId', required => 1); | ||
| 10 | has RouteResponseKey => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'routeResponseKey'); | ||
| 11 | |||
| 12 | use MooseX::ClassAttribute; | ||
| 13 | |||
| 14 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateRouteResponse'); | ||
| 15 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/v2/apis/{apiId}/routes/{routeId}/routeresponses/{routeResponseId}'); | ||
| 16 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'PATCH'); | ||
| 17 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ApiGatewayV2::UpdateRouteResponseResponse'); | ||
| 18 | 1; | ||
| 19 | |||
| 20 | ### main pod documentation begin ### | ||
| 21 | |||
| 22 | =head1 NAME | ||
| 23 | |||
| 24 | Paws::ApiGatewayV2::UpdateRouteResponse - Arguments for method UpdateRouteResponse on L<Paws::ApiGatewayV2> | ||
| 25 | |||
| 26 | =head1 DESCRIPTION | ||
| 27 | |||
| 28 | This class represents the parameters used for calling the method UpdateRouteResponse on the | ||
| 29 | L<AmazonApiGatewayV2|Paws::ApiGatewayV2> service. Use the attributes of this class | ||
| 30 | as arguments to method UpdateRouteResponse. | ||
| 31 | |||
| 32 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateRouteResponse. | ||
| 33 | |||
| 34 | =head1 SYNOPSIS | ||
| 35 | |||
| 36 | my $apigateway = Paws->service('ApiGatewayV2'); | ||
| 37 | my $UpdateRouteResponseResponse = $apigateway->UpdateRouteResponse( | ||
| 38 | ApiId => 'My__string', | ||
| 39 | RouteId => 'My__string', | ||
| 40 | RouteResponseId => 'My__string', | ||
| 41 | ModelSelectionExpression => 'MySelectionExpression', # OPTIONAL | ||
| 42 | ResponseModels => { 'My__string' => 'MyStringWithLengthBetween1And128', } | ||
| 43 | , # OPTIONAL | ||
| 44 | ResponseParameters => { | ||
| 45 | 'My__string' => { | ||
| 46 | Required => 1, # OPTIONAL | ||
| 47 | }, | ||
| 48 | }, # OPTIONAL | ||
| 49 | RouteResponseKey => 'MySelectionKey', # OPTIONAL | ||
| 50 | ); | ||
| 51 | |||
| 52 | # Results: | ||
| 53 | my $ModelSelectionExpression = | ||
| 54 | $UpdateRouteResponseResponse->ModelSelectionExpression; | ||
| 55 | my $ResponseModels = $UpdateRouteResponseResponse->ResponseModels; | ||
| 56 | my $ResponseParameters = $UpdateRouteResponseResponse->ResponseParameters; | ||
| 57 | my $RouteResponseId = $UpdateRouteResponseResponse->RouteResponseId; | ||
| 58 | my $RouteResponseKey = $UpdateRouteResponseResponse->RouteResponseKey; | ||
| 59 | |||
| 60 | # Returns a L<Paws::ApiGatewayV2::UpdateRouteResponseResponse> object. | ||
| 61 | |||
| 62 | 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. | ||
| 63 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/apigateway/UpdateRouteResponse> | ||
| 64 | |||
| 65 | =head1 ATTRIBUTES | ||
| 66 | |||
| 67 | |||
| 68 | =head2 B<REQUIRED> ApiId => Str | ||
| 69 | |||
| 70 | The API identifier. | ||
| 71 | |||
| 72 | |||
| 73 | |||
| 74 | =head2 ModelSelectionExpression => Str | ||
| 75 | |||
| 76 | The model selection expression for the route response. Supported only | ||
| 77 | for WebSocket APIs. | ||
| 78 | |||
| 79 | |||
| 80 | |||
| 81 | =head2 ResponseModels => L<Paws::ApiGatewayV2::RouteModels> | ||
| 82 | |||
| 83 | The response models for the route response. | ||
| 84 | |||
| 85 | |||
| 86 | |||
| 87 | =head2 ResponseParameters => L<Paws::ApiGatewayV2::RouteParameters> | ||
| 88 | |||
| 89 | The route response parameters. | ||
| 90 | |||
| 91 | |||
| 92 | |||
| 93 | =head2 B<REQUIRED> RouteId => Str | ||
| 94 | |||
| 95 | The route ID. | ||
| 96 | |||
| 97 | |||
| 98 | |||
| 99 | =head2 B<REQUIRED> RouteResponseId => Str | ||
| 100 | |||
| 101 | The route response ID. | ||
| 102 | |||
| 103 | |||
| 104 | |||
| 105 | =head2 RouteResponseKey => Str | ||
| 106 | |||
| 107 | The route response key. | ||
| 108 | |||
| 109 | |||
| 110 | |||
| 111 | |||
| 112 | =head1 SEE ALSO | ||
| 113 | |||
| 114 | This class forms part of L<Paws>, documenting arguments for method UpdateRouteResponse in L<Paws::ApiGatewayV2> | ||
| 115 | |||
| 116 | =head1 BUGS and CONTRIBUTIONS | ||
| 117 | |||
| 118 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 119 | |||
| 120 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 121 | |||
| 122 | =cut | ||
| 123 |