« blib/lib/Paws/ApiGatewayV2/RouteParameters.pm
↑ Summary
blib/lib/Paws/ApiGatewayV2/RouteResponses.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::ApiGatewayV2::RouteResponse; | ||
| 3 | use Moose; | ||
| 4 | has ModelSelectionExpression => (is => 'ro', isa => 'Str', request_name => 'modelSelectionExpression', traits => ['NameInRequest']); | ||
| 5 | has ResponseModels => (is => 'ro', isa => 'Paws::ApiGatewayV2::RouteModels', request_name => 'responseModels', traits => ['NameInRequest']); | ||
| 6 | has ResponseParameters => (is => 'ro', isa => 'Paws::ApiGatewayV2::RouteParameters', request_name => 'responseParameters', traits => ['NameInRequest']); | ||
| 7 | has RouteResponseId => (is => 'ro', isa => 'Str', request_name => 'routeResponseId', traits => ['NameInRequest']); | ||
| 8 | has RouteResponseKey => (is => 'ro', isa => 'Str', request_name => 'routeResponseKey', traits => ['NameInRequest'], required => 1); | ||
| 9 | |||
| 10 | 1; | ||
| 11 | |||
| 12 | ### main pod documentation begin ### | ||
| 13 | |||
| 14 | =head1 NAME | ||
| 15 | |||
| 16 | Paws::ApiGatewayV2::RouteResponse | ||
| 17 | |||
| 18 | =head1 USAGE | ||
| 19 | |||
| 20 | This class represents one of two things: | ||
| 21 | |||
| 22 | =head3 Arguments in a call to a service | ||
| 23 | |||
| 24 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 25 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 26 | |||
| 27 | As an example, if Att1 is expected to be a Paws::ApiGatewayV2::RouteResponse object: | ||
| 28 | |||
| 29 | $service_obj->Method(Att1 => { ModelSelectionExpression => $value, ..., RouteResponseKey => $value }); | ||
| 30 | |||
| 31 | =head3 Results returned from an API call | ||
| 32 | |||
| 33 | Use accessors for each attribute. If Att1 is expected to be an Paws::ApiGatewayV2::RouteResponse object: | ||
| 34 | |||
| 35 | $result = $service_obj->Method(...); | ||
| 36 | $result->Att1->ModelSelectionExpression | ||
| 37 | |||
| 38 | =head1 DESCRIPTION | ||
| 39 | |||
| 40 | Represents a route response. | ||
| 41 | |||
| 42 | =head1 ATTRIBUTES | ||
| 43 | |||
| 44 | |||
| 45 | =head2 ModelSelectionExpression => Str | ||
| 46 | |||
| 47 | Represents the model selection expression of a route response. | ||
| 48 | Supported only for WebSocket APIs. | ||
| 49 | |||
| 50 | |||
| 51 | =head2 ResponseModels => L<Paws::ApiGatewayV2::RouteModels> | ||
| 52 | |||
| 53 | Represents the response models of a route response. | ||
| 54 | |||
| 55 | |||
| 56 | =head2 ResponseParameters => L<Paws::ApiGatewayV2::RouteParameters> | ||
| 57 | |||
| 58 | Represents the response parameters of a route response. | ||
| 59 | |||
| 60 | |||
| 61 | =head2 RouteResponseId => Str | ||
| 62 | |||
| 63 | Represents the identifier of a route response. | ||
| 64 | |||
| 65 | |||
| 66 | =head2 B<REQUIRED> RouteResponseKey => Str | ||
| 67 | |||
| 68 | Represents the route response key of a route response. | ||
| 69 | |||
| 70 | |||
| 71 | |||
| 72 | =head1 SEE ALSO | ||
| 73 | |||
| 74 | This class forms part of L<Paws>, describing an object used in L<Paws::ApiGatewayV2> | ||
| 75 | |||
| 76 | =head1 BUGS and CONTRIBUTIONS | ||
| 77 | |||
| 78 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 79 | |||
| 80 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 81 | |||
| 82 | =cut | ||
| 83 |