Skip to content

List Dataset Versions

bedrockagentcorecontrol_list_dataset_versions R Documentation

Lists all published versions of a dataset, sorted by version number descending (newest first)

Description

Lists all published versions of a dataset, sorted by version number descending (newest first). Does not include the DRAFT working copy.

State guard: Allowed for all statuses including DELETING.

Usage

bedrockagentcorecontrol_list_dataset_versions(datasetId, nextToken,
  maxResults)

Arguments

datasetId

[required] The unique identifier of the dataset.

nextToken

The token for the next page of results.

maxResults

The maximum number of versions to return per page.

Value

A list with the following syntax:

list(
  versions = list(
    list(
      datasetVersion = "string",
      exampleCount = 123,
      createdAt = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_dataset_versions(
  datasetId = "string",
  nextToken = "string",
  maxResults = 123
)