![]() |
![]()
| ![]() |
![]()
NAMEPaws::ApiGatewayV2::CreateRouteResponse - Arguments for method CreateRouteResponse on Paws::ApiGatewayV2 DESCRIPTIONThis class represents the parameters used for calling the method CreateRouteResponse on the AmazonApiGatewayV2 service. Use the attributes of this class as arguments to method CreateRouteResponse. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateRouteResponse. SYNOPSISmy $apigateway = Paws->service('ApiGatewayV2'); my $CreateRouteResponseResponse = $apigateway->CreateRouteResponse( ApiId => 'My__string', RouteId => 'My__string', RouteResponseKey => 'MySelectionKey', ModelSelectionExpression => 'MySelectionExpression', # OPTIONAL ResponseModels => { 'My__string' => 'MyStringWithLengthBetween1And128', } , # OPTIONAL ResponseParameters => { 'My__string' => { Required => 1, # OPTIONAL }, }, # OPTIONAL ); # Results: my $ModelSelectionExpression = $CreateRouteResponseResponse->ModelSelectionExpression; my $ResponseModels = $CreateRouteResponseResponse->ResponseModels; my $ResponseParameters = $CreateRouteResponseResponse->ResponseParameters; my $RouteResponseId = $CreateRouteResponseResponse->RouteResponseId; my $RouteResponseKey = $CreateRouteResponseResponse->RouteResponseKey; # Returns a L<Paws::ApiGatewayV2::CreateRouteResponseResponse> object. 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. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/apigateway/CreateRouteResponse> ATTRIBUTESREQUIRED ApiId => StrThe API identifier. ModelSelectionExpression => StrThe model selection expression for the route response. Supported only for WebSocket APIs. ResponseModels => Paws::ApiGatewayV2::RouteModelsThe response models for the route response. ResponseParameters => Paws::ApiGatewayV2::RouteParametersThe route response parameters. REQUIRED RouteId => StrThe route ID. REQUIRED RouteResponseKey => StrThe route response key. SEE ALSOThis class forms part of Paws, documenting arguments for method CreateRouteResponse in Paws::ApiGatewayV2 BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|