NAME
Paws::ApiGatewayV2::CreateRouteResponse - Arguments for method CreateRouteResponse on Paws::ApiGatewayV2
DESCRIPTION
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.
SYNOPSIS
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
ATTRIBUTES
REQUIRED ApiId => Str
The API identifier.
ModelSelectionExpression => Str
The model selection expression for the route response.
ResponseModels => Paws::ApiGatewayV2::RouteModels
The response models for the route response.
ResponseParameters => Paws::ApiGatewayV2::RouteParameters
The route response parameters.
REQUIRED RouteId => Str
The route ID.
REQUIRED RouteResponseKey => Str
The route response key.
SEE ALSO
This class forms part of Paws, documenting arguments for method CreateRouteResponse in Paws::ApiGatewayV2
BUGS and CONTRIBUTIONS
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