Skip to content

Deletes a data source from a knowledge base

Description

Deletes a data source from a knowledge base.

Usage

bedrockagent_delete_data_source(knowledgeBaseId, dataSourceId)

Arguments

  • knowledgeBaseId

    [required] The unique identifier of the knowledge base from which to delete the data source.

  • dataSourceId

    [required] The unique identifier of the data source to delete.

Value

A list with the following syntax:

list(
  knowledgeBaseId = "string",
  dataSourceId = "string",
  status = "AVAILABLE"|"DELETING"|"DELETE_UNSUCCESSFUL"|"CREATING"|"UPDATING"|"FAILED"
)

Request syntax

svc$delete_data_source(
  knowledgeBaseId = "string",
  dataSourceId = "string"
)