/AWS1/CL_BDA=>CREATEDATASOURCE()
¶
About CreateDataSource¶
Sets up a data source to be added to a knowledge base.
You can't change the chunkingConfiguration
after you create the data source.
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_KNOWLEDGEBASEID
TYPE /AWS1/BDAID
/AWS1/BDAID
¶
The unique identifier of the knowledge base to which to add the data source.
IV_NAME
TYPE /AWS1/BDANAME
/AWS1/BDANAME
¶
The name of the data source.
IO_DATASOURCECONFIGURATION
TYPE REF TO /AWS1/CL_BDADATASOURCECONF
/AWS1/CL_BDADATASOURCECONF
¶
Contains metadata about where the data source is stored.
Optional arguments:¶
IV_CLIENTTOKEN
TYPE /AWS1/BDACLIENTTOKEN
/AWS1/BDACLIENTTOKEN
¶
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
IV_DESCRIPTION
TYPE /AWS1/BDADESCRIPTION
/AWS1/BDADESCRIPTION
¶
A description of the data source.
IV_DATADELETIONPOLICY
TYPE /AWS1/BDADATADELETIONPOLICY
/AWS1/BDADATADELETIONPOLICY
¶
The data deletion policy assigned to the data source.
IO_SERVERSIDEENCRYPTIONCONF
TYPE REF TO /AWS1/CL_BDASERVERSIDEENCCONF
/AWS1/CL_BDASERVERSIDEENCCONF
¶
Contains details about the server-side encryption for the data source.
IO_VECTORINGESTIONCONF
TYPE REF TO /AWS1/CL_BDAVECTORINGESTIONC00
/AWS1/CL_BDAVECTORINGESTIONC00
¶
Contains details about how to ingest the documents in the data source.