NAME

Paws::ApiGatewayV2::UpdateRouteResponse - Arguments for method UpdateRouteResponse on Paws::ApiGatewayV2

DESCRIPTION

This class represents the parameters used for calling the method UpdateRouteResponse on the AmazonApiGatewayV2 service. Use the attributes of this class as arguments to method UpdateRouteResponse.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateRouteResponse.

SYNOPSIS

my $apigateway = Paws->service('ApiGatewayV2');
my $UpdateRouteResponseResponse = $apigateway->UpdateRouteResponse(
  ApiId                    => 'My__string',
  RouteId                  => 'My__string',
  RouteResponseId          => 'My__string',
  ModelSelectionExpression => 'MySelectionExpression',    # OPTIONAL
  ResponseModels => { 'My__string' => 'MyStringWithLengthBetween1And128', }
  ,                                                       # OPTIONAL
  ResponseParameters => {
    'My__string' => {
      Required => 1,                                      # OPTIONAL
    },
  },    # OPTIONAL
  RouteResponseKey => 'MySelectionKey',    # OPTIONAL
);

# Results:
my $ModelSelectionExpression =
  $UpdateRouteResponseResponse->ModelSelectionExpression;
my $ResponseModels     = $UpdateRouteResponseResponse->ResponseModels;
my $ResponseParameters = $UpdateRouteResponseResponse->ResponseParameters;
my $RouteResponseId    = $UpdateRouteResponseResponse->RouteResponseId;
my $RouteResponseKey   = $UpdateRouteResponseResponse->RouteResponseKey;

# Returns a L<Paws::ApiGatewayV2::UpdateRouteResponseResponse> 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/UpdateRouteResponse

ATTRIBUTES

REQUIRED ApiId => Str

The API identifier.

ModelSelectionExpression => Str

The model selection expression for the route response. Supported only for WebSocket APIs.

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 RouteResponseId => Str

The route response ID.

RouteResponseKey => Str

The route response key.

SEE ALSO

This class forms part of Paws, documenting arguments for method UpdateRouteResponse 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