QConnect / Client / delete_message_template_attachment

delete_message_template_attachment#

QConnect.Client.delete_message_template_attachment(**kwargs)#

Deletes the attachment file from the Amazon Q in Connect message template that is referenced by $LATEST qualifier. Attachments on available message template versions will remain unchanged.

See also: AWS API Documentation

Request Syntax

response = client.delete_message_template_attachment(
    attachmentId='string',
    knowledgeBaseId='string',
    messageTemplateId='string'
)
Parameters:
  • attachmentId (string) –

    [REQUIRED]

    The identifier of the attachment file.

  • knowledgeBaseId (string) –

    [REQUIRED]

    The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.

  • messageTemplateId (string) –

    [REQUIRED]

    The identifier of the message template. Can be either the ID or the ARN. It cannot contain any qualifier.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions