/AWS1/CL_BDA=>CREATEDATASOURCE()
¶
About CreateDataSource¶
Creates a data source connector for a knowledge base.
You can't change the chunkingConfiguration
after you create the data source connector.
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
¶
The connection configuration for the data source.
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 for the data source.
You can set the data deletion policy to:
DELETE: Deletes all data from your data source that’s converted into vector embeddings upon deletion of a knowledge base or data source resource. Note that the vector store itself is not deleted, only the data. This flag is ignored if an Amazon Web Services account is deleted.
RETAIN: Retains all data from your data source that’s converted into vector embeddings upon deletion of a knowledge base or data source resource. Note that the vector store itself is not deleted if you delete a knowledge base or data source resource.
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.