delete_content(**kwargs)¶Deletes the content.
See also: AWS API Documentation
Request Syntax
response = client.delete_content(
contentId='string',
knowledgeBaseId='string'
)
[REQUIRED]
The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN.
[REQUIRED]
The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
dict
Response Syntax
{}
Response Structure
Exceptions
ConnectWisdomService.Client.exceptions.ValidationExceptionConnectWisdomService.Client.exceptions.AccessDeniedExceptionConnectWisdomService.Client.exceptions.ResourceNotFoundException