AgentsforBedrock / Client / delete_data_source
delete_data_source#
- AgentsforBedrock.Client.delete_data_source(**kwargs)#
Delete an existing data source
See also: AWS API Documentation
Request Syntax
response = client.delete_data_source( knowledgeBaseId='string', dataSourceId='string' )
- Parameters:
knowledgeBaseId (string) –
[REQUIRED]
Identifier for a resource.
dataSourceId (string) –
[REQUIRED]
Identifier for a resource.
- Return type:
dict
- Returns:
Response Syntax
{ 'knowledgeBaseId': 'string', 'dataSourceId': 'string', 'status': 'AVAILABLE'|'DELETING' }
Response Structure
(dict) –
knowledgeBaseId (string) –
Identifier for a resource.
dataSourceId (string) –
Identifier for a resource.
status (string) –
The status of a data source.
Exceptions
AgentsforBedrock.Client.exceptions.ThrottlingExceptionAgentsforBedrock.Client.exceptions.AccessDeniedExceptionAgentsforBedrock.Client.exceptions.ValidationExceptionAgentsforBedrock.Client.exceptions.InternalServerExceptionAgentsforBedrock.Client.exceptions.ResourceNotFoundExceptionAgentsforBedrock.Client.exceptions.ConflictException