QConnect / Client / delete_ai_agent_version

delete_ai_agent_version#

QConnect.Client.delete_ai_agent_version(**kwargs)#

Deletes an Amazon Q in Connect AI Agent Version.

See also: AWS API Documentation

Request Syntax

response = client.delete_ai_agent_version(
    aiAgentId='string',
    assistantId='string',
    versionNumber=123
)
Parameters:
  • aiAgentId (string) –

    [REQUIRED]

    The identifier of the Amazon Q in Connect AI Agent. Can be either the ID or the ARN. URLs cannot contain the ARN.

  • 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 Agent version.

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