Searches for content in a specified knowledge base¶
Description¶
Searches for content in a specified knowledge base. Can be used to get a specific content resource by its name.
Usage¶
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.
-
maxResultsThe maximum number of results to return per page.
-
nextTokenThe 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.
-
searchExpression[required] The search expression to filter 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"
)