Paws::ApiGatewayV2::CreateRouteResponse - Arguments for method CreateRouteResponse on Paws::ApiGatewayV2
This 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.
my $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
The API identifier.
The model selection expression for the route response. Supported only for WebSocket APIs.
The response models for the route response.
The route response parameters.
The route ID.
The route response key.
This class forms part of Paws, documenting arguments for method CreateRouteResponse in Paws::ApiGatewayV2
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
To install Paws, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws
CPAN shell
perl -MCPAN -e shell install Paws
For more information on module installation, please visit the detailed CPAN module installation guide.