Skip to content

Get Package Version History

opensearchservice_get_package_version_history R Documentation

Returns a list of Amazon OpenSearch Service package versions, along with their creation time, commit message, and plugin properties (if the package is a zip plugin package)

Description

Returns a list of Amazon OpenSearch Service package versions, along with their creation time, commit message, and plugin properties (if the package is a zip plugin package). For more information, see Custom packages for Amazon OpenSearch Service.

Usage

opensearchservice_get_package_version_history(PackageID, MaxResults,
  NextToken)

Arguments

PackageID

[required] The unique identifier of the package.

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 get_package_version_history operation returns a nextToken, you can include the returned nextToken in subsequent get_package_version_history operations, which returns results in the next page.

Value

A list with the following syntax:

list(
  PackageID = "string",
  PackageVersionHistoryList = list(
    list(
      PackageVersion = "string",
      CommitMessage = "string",
      CreatedAt = as.POSIXct(
        "2015-01-01"
      ),
      PluginProperties = list(
        Name = "string",
        Description = "string",
        Version = "string",
        ClassName = "string",
        UncompressedSizeInBytes = 123
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$get_package_version_history(
  PackageID = "string",
  MaxResults = 123,
  NextToken = "string"
)