class Aws::ApiGatewayV2::Types::CreateRouteResponseRequest
@note When making an API call, you may pass CreateRouteResponseRequest
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_key: "SelectionKey", # required }
@!attribute [rw] api_id
@return [String]
@!attribute [rw] model_selection_expression
An expression used to extract information at runtime. See [Selection Expressions][1] for more information. [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions @return [String]
@!attribute [rw] response_models
The route models. @return [Hash<String,String>]
@!attribute [rw] response_parameters
The route parameters. @return [Hash<String,Types::ParameterConstraints>]
@!attribute [rw] route_id
@return [String]
@!attribute [rw] route_response_key
After evaluating a selection expression, the result is compared against one or more selection keys to find a matching key. See [Selection Expressions][1] for a list of expressions and each expression's associated selection key type. [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions @return [String]
Constants
- SENSITIVE