Skip to content

Get Models

apigatewayv2_get_models R Documentation

Gets the Models for an API

Description

Gets the Models for an API.

Usage

apigatewayv2_get_models(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(
      ContentType = "string",
      Description = "string",
      ModelId = "string",
      Name = "string",
      Schema = "string"
    )
  ),
  NextToken = "string"
)

Request syntax

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