Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

apigatewayv2_create_route_response

Creates a RouteResponse for a Route


Description

Creates a RouteResponse for a Route.

Usage

apigatewayv2_create_route_response(ApiId, ModelSelectionExpression,
  ResponseModels, ResponseParameters, RouteId, RouteResponseKey)

Arguments

ApiId

[required] The API identifier.

ModelSelectionExpression

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

ResponseModels

The response models for the route response.

ResponseParameters

The route response parameters.

RouteId

[required] The route ID.

RouteResponseKey

[required] The route response key.

Value

A list with the following syntax:

list(
  ModelSelectionExpression = "string",
  ResponseModels = list(
    "string"
  ),
  ResponseParameters = list(
    list(
      Required = TRUE|FALSE
    )
  ),
  RouteResponseId = "string",
  RouteResponseKey = "string"
)

Request syntax

svc$create_route_response(
  ApiId = "string",
  ModelSelectionExpression = "string",
  ResponseModels = list(
    "string"
  ),
  ResponseParameters = list(
    list(
      Required = TRUE|FALSE
    )
  ),
  RouteId = "string",
  RouteResponseKey = "string"
)

paws.networking

Amazon Web Services Networking & Content Delivery Services

v0.1.11
Apache License (>= 2.0)
Authors
David Kretch [aut, cre], Adam Banker [aut], Amazon.com, Inc. [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.