Skip to content

List Data Sources

bedrockagent_list_data_sources R Documentation

Lists the data sources in a knowledge base and information about each one

Description

Lists the data sources in a knowledge base and information about each one.

Usage

bedrockagent_list_data_sources(knowledgeBaseId, maxResults, nextToken)

Arguments

knowledgeBaseId

[required] The unique identifier of the knowledge base for which to return a list of information.

maxResults

The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results.

nextToken

If the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results.

Value

A list with the following syntax:

list(
  dataSourceSummaries = list(
    list(
      dataSourceId = "string",
      description = "string",
      knowledgeBaseId = "string",
      name = "string",
      status = "AVAILABLE"|"DELETING"|"DELETE_UNSUCCESSFUL",
      updatedAt = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_data_sources(
  knowledgeBaseId = "string",
  maxResults = 123,
  nextToken = "string"
)