QBusiness / Client / delete_attachment

delete_attachment#

QBusiness.Client.delete_attachment(**kwargs)#

Deletes an attachment associated with a specific Amazon Q Business conversation.

See also: AWS API Documentation

Request Syntax

response = client.delete_attachment(
    applicationId='string',
    conversationId='string',
    attachmentId='string',
    userId='string'
)
Parameters:
  • applicationId (string) –

    [REQUIRED]

    The unique identifier for the Amazon Q Business application environment.

  • conversationId (string) –

    [REQUIRED]

    The unique identifier of the conversation.

  • attachmentId (string) –

    [REQUIRED]

    The unique identifier for the attachment.

  • userId (string) – The unique identifier of the user involved in the conversation.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions