Skip to content

List Datasets

bedrockagentcorecontrol_list_datasets R Documentation

Lists all datasets in the caller's account, paginated

Description

Lists all datasets in the caller's account, paginated. No presigned URLs in list results.

Usage

bedrockagentcorecontrol_list_datasets(nextToken, maxResults)

Arguments

nextToken

The token for the next page of results.

maxResults

The maximum number of datasets to return per page.

Value

A list with the following syntax:

list(
  datasets = list(
    list(
      datasetArn = "string",
      datasetId = "string",
      datasetName = "string",
      description = "string",
      status = "CREATING"|"UPDATING"|"DELETING"|"ACTIVE"|"CREATE_FAILED"|"UPDATE_FAILED"|"DELETE_FAILED",
      draftStatus = "MODIFIED"|"UNMODIFIED",
      schemaType = "AGENTCORE_EVALUATION_PREDEFINED_V1"|"AGENTCORE_EVALUATION_SIMULATED_V1",
      exampleCount = 123,
      createdAt = as.POSIXct(
        "2015-01-01"
      ),
      updatedAt = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_datasets(
  nextToken = "string",
  maxResults = 123
)