Skip to content

List Versions

opensearchservice_list_versions R Documentation

Lists all versions of OpenSearch and Elasticsearch that Amazon OpenSearch Service supports

Description

Lists all versions of OpenSearch and Elasticsearch that Amazon OpenSearch Service supports.

Usage

opensearchservice_list_versions(MaxResults, NextToken)

Arguments

MaxResults

An optional parameter that specifies the maximum number of results to return. You can use nextToken to get the next page of results.

NextToken

If your initial list_versions operation returns a nextToken, you can include the returned nextToken in subsequent list_versions operations, which returns results in the next page.

Value

A list with the following syntax:

list(
  Versions = list(
    "string"
  ),
  NextToken = "string"
)

Request syntax

svc$list_versions(
  MaxResults = 123,
  NextToken = "string"
)