QConnect / Client / remove_assistant_ai_agent

remove_assistant_ai_agent#

QConnect.Client.remove_assistant_ai_agent(**kwargs)#

Removes the AI Agent that is set for use by defafult on an Amazon Q in Connect Assistant.

See also: AWS API Documentation

Request Syntax

response = client.remove_assistant_ai_agent(
    aiAgentType='MANUAL_SEARCH'|'ANSWER_RECOMMENDATION'|'SELF_SERVICE',
    assistantId='string'
)
Parameters:
  • aiAgentType (string) –

    [REQUIRED]

    The type of the AI Agent being removed for use by default from the Amazon Q in Connect Assistant.

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

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • QConnect.Client.exceptions.ValidationException

  • QConnect.Client.exceptions.AccessDeniedException

  • QConnect.Client.exceptions.ResourceNotFoundException

  • QConnect.Client.exceptions.ThrottlingException