QConnect / Client / delete_content
delete_content#
- QConnect.Client.delete_content(**kwargs)#
Deletes the content.
See also: AWS API Documentation
Request Syntax
response = client.delete_content( contentId='string', knowledgeBaseId='string' )
- Parameters:
contentId (string) –
[REQUIRED]
The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN.
knowledgeBaseId (string) –
[REQUIRED]
The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you’re storing Amazon Q Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions
QConnect.Client.exceptions.ValidationException
QConnect.Client.exceptions.AccessDeniedException
QConnect.Client.exceptions.ResourceNotFoundException