QConnect / Client / delete_ai_prompt

delete_ai_prompt#

QConnect.Client.delete_ai_prompt(**kwargs)#

Deletes an Amazon Q in Connect AI Prompt.

See also: AWS API Documentation

Request Syntax

response = client.delete_ai_prompt(
    aiPromptId='string',
    assistantId='string'
)
Parameters:
  • aiPromptId (string) –

    [REQUIRED]

    The identifier of the Amazon Q in Connect AI prompt. 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.

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