delete_content
¶
delete_content(
knowledge_base_id: UuidOrArn,
content_id: UuidOrArn,
*,
config_overrides: Optional[WisdomClientConfig] = None,
) -> DeleteContentResponse
Deletes the content.
Parameters:
-
knowledge_base_id(UuidOrArn) –The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.
-
content_id(UuidOrArn) –The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ResourceNotFoundException–The specified resource does not exist.
-
ValidationException–The input fails to satisfy the constraints specified by a service.
-
UnknownServiceError–The service returned an error code this client does not model.