Skip to content

List Knowledge Bases

bedrockagent_list_knowledge_bases R Documentation

Lists the knowledge bases in an account

Description

Lists the knowledge bases in an account. The list also includesinformation about each knowledge base.

Usage

bedrockagent_list_knowledge_bases(maxResults, nextToken)

Arguments

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(
  knowledgeBaseSummaries = list(
    list(
      description = "string",
      knowledgeBaseId = "string",
      name = "string",
      status = "CREATING"|"ACTIVE"|"DELETING"|"UPDATING"|"FAILED"|"DELETE_UNSUCCESSFUL",
      updatedAt = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  nextToken = "string"
)

Request syntax

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