QConnect / Client / delete_ai_guardrail_version
delete_ai_guardrail_version#
- QConnect.Client.delete_ai_guardrail_version(**kwargs)#
- Delete and Amazon Q in Connect AI Guardrail version. - See also: AWS API Documentation - Request Syntax- response = client.delete_ai_guardrail_version( aiGuardrailId='string', assistantId='string', versionNumber=123 ) - Parameters:
- aiGuardrailId (string) – - [REQUIRED] - The identifier of the Amazon Q in Connect AI Guardrail. 
- 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 Guardrail 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