Skip to content

Get Routes

apigatewayv2_get_routes R Documentation

Gets the Routes for an API

Description

Gets the Routes for an API.

Usage

apigatewayv2_get_routes(ApiId, MaxResults, NextToken)

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.

Value

A list with the following syntax:

list(
  Items = list(
    list(
      ApiGatewayManaged = TRUE|FALSE,
      ApiKeyRequired = TRUE|FALSE,
      AuthorizationScopes = list(
        "string"
      ),
      AuthorizationType = "NONE"|"AWS_IAM"|"CUSTOM"|"JWT",
      AuthorizerId = "string",
      ModelSelectionExpression = "string",
      OperationName = "string",
      RequestModels = list(
        "string"
      ),
      RequestParameters = list(
        list(
          Required = TRUE|FALSE
        )
      ),
      RouteId = "string",
      RouteKey = "string",
      RouteResponseSelectionExpression = "string",
      Target = "string"
    )
  ),
  NextToken = "string"
)

Request syntax

svc$get_routes(
  ApiId = "string",
  MaxResults = "string",
  NextToken = "string"
)