Skip to content

Lists the content

Description

Lists the content.

Usage

connectwisdomservice_list_contents(knowledgeBaseId, maxResults,
  nextToken)

Arguments

  • knowledgeBaseId

    [required] The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.

  • maxResults

    The maximum number of results to return per page.

  • nextToken

    The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

Value

A list with the following syntax:

list(
  contentSummaries = list(
    list(
      contentArn = "string",
      contentId = "string",
      contentType = "string",
      knowledgeBaseArn = "string",
      knowledgeBaseId = "string",
      metadata = list(
        "string"
      ),
      name = "string",
      revisionId = "string",
      status = "CREATE_IN_PROGRESS"|"CREATE_FAILED"|"ACTIVE"|"DELETE_IN_PROGRESS"|"DELETE_FAILED"|"DELETED"|"UPDATE_FAILED",
      tags = list(
        "string"
      ),
      title = "string"
    )
  ),
  nextToken = "string"
)

Request syntax

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