QConnect / Client / delete_ai_prompt_version
delete_ai_prompt_version#
- QConnect.Client.delete_ai_prompt_version(**kwargs)#
- Delete and Amazon Q in Connect AI Prompt version. - See also: AWS API Documentation - Request Syntax- response = client.delete_ai_prompt_version( aiPromptId='string', assistantId='string', versionNumber=123 ) - Parameters:
- aiPromptId (string) – - [REQUIRED] - The identifier of the Amazon Q in Connect AI prompt. 
- assistantId (string) – - [REQUIRED] - The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN. 
- versionNumber (integer) – - [REQUIRED] - The version number of the AI Prompt version to be deleted. 
 
- Return type:
- dict 
- Returns:
- Response Syntax- {}- Response Structure- (dict) – 
 
 - Exceptions- QConnect.Client.exceptions.ConflictException
- QConnect.Client.exceptions.ValidationException
- QConnect.Client.exceptions.AccessDeniedException
- QConnect.Client.exceptions.ResourceNotFoundException
- QConnect.Client.exceptions.ThrottlingException