Skip to content

Gets the RouteResponses for a Route

Description

Gets the RouteResponses for a Route.

Usage

apigatewayv2_get_route_responses(ApiId, MaxResults, NextToken, RouteId)

Arguments

  • ApiId

    [required] The API identifier.

  • MaxResults

    The maximum number of elements to be returned for this resource.

  • NextToken

    The next page of elements from this collection. Not valid for the last element of the collection.

  • RouteId

    [required] The route ID.

Value

A list with the following syntax:

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

Request syntax

svc$get_route_responses(
  ApiId = "string",
  MaxResults = "string",
  NextToken = "string",
  RouteId = "string"
)