You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::ApiGatewayV2::Types::UpdateRouteResponseRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb

Overview

Note:

When making an API call, you may pass UpdateRouteResponseRequest data as a hash:

{
  api_id: "__string", # required
  model_selection_expression: "SelectionExpression",
  response_models: {
    "__string" => "StringWithLengthBetween1And128",
  },
  response_parameters: {
    "__string" => {
      required: false,
    },
  },
  route_id: "__string", # required
  route_response_id: "__string", # required
  route_response_key: "SelectionKey",
}

Instance Attribute Summary collapse

Instance Attribute Details

#api_idString

Returns:

  • (String)


6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 6269

class UpdateRouteResponseRequest < Struct.new(
  :api_id,
  :model_selection_expression,
  :response_models,
  :response_parameters,
  :route_id,
  :route_response_id,
  :route_response_key)
  include Aws::Structure
end

#model_selection_expressionString

An expression used to extract information at runtime. See Selection Expressions for more information.

Returns:

  • (String)


6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 6269

class UpdateRouteResponseRequest < Struct.new(
  :api_id,
  :model_selection_expression,
  :response_models,
  :response_parameters,
  :route_id,
  :route_response_id,
  :route_response_key)
  include Aws::Structure
end

#response_modelsHash<String,String>

The route models.

Returns:

  • (Hash<String,String>)


6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 6269

class UpdateRouteResponseRequest < Struct.new(
  :api_id,
  :model_selection_expression,
  :response_models,
  :response_parameters,
  :route_id,
  :route_response_id,
  :route_response_key)
  include Aws::Structure
end

#response_parametersHash<String,Types::ParameterConstraints>

The route parameters.

Returns:



6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 6269

class UpdateRouteResponseRequest < Struct.new(
  :api_id,
  :model_selection_expression,
  :response_models,
  :response_parameters,
  :route_id,
  :route_response_id,
  :route_response_key)
  include Aws::Structure
end

#route_idString

Returns:

  • (String)


6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 6269

class UpdateRouteResponseRequest < Struct.new(
  :api_id,
  :model_selection_expression,
  :response_models,
  :response_parameters,
  :route_id,
  :route_response_id,
  :route_response_key)
  include Aws::Structure
end

#route_response_idString

Returns:

  • (String)


6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 6269

class UpdateRouteResponseRequest < Struct.new(
  :api_id,
  :model_selection_expression,
  :response_models,
  :response_parameters,
  :route_id,
  :route_response_id,
  :route_response_key)
  include Aws::Structure
end

#route_response_keyString

After evaulating a selection expression, the result is compared against one or more selection keys to find a matching key. See Selection Expressions for a list of expressions and each expression's associated selection key type.

Returns:

  • (String)


6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 6269

class UpdateRouteResponseRequest < Struct.new(
  :api_id,
  :model_selection_expression,
  :response_models,
  :response_parameters,
  :route_id,
  :route_response_id,
  :route_response_key)
  include Aws::Structure
end