delete_attachment¶
Operation¶
delete_attachment
async
¶
delete_attachment(input: DeleteAttachmentInput, plugins: list[Plugin] | None = None) -> DeleteAttachmentOutput
Deletes an attachment associated with a specific Amazon Q Business conversation.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
DeleteAttachmentInput
|
An instance of |
required |
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
Returns:
| Type | Description |
|---|---|
DeleteAttachmentOutput
|
An instance of |
Input¶
DeleteAttachmentInput
dataclass
¶
Dataclass for DeleteAttachmentInput structure.
Attributes¶
application_id
class-attribute
instance-attribute
¶
application_id: str | None = None
The unique identifier for the Amazon Q Business application environment.
attachment_id
class-attribute
instance-attribute
¶
attachment_id: str | None = None
The unique identifier for the attachment.
conversation_id
class-attribute
instance-attribute
¶
conversation_id: str | None = None
The unique identifier of the conversation.
user_id
class-attribute
instance-attribute
¶
user_id: str | None = None
The unique identifier of the user involved in the conversation.
Output¶
DeleteAttachmentOutput
dataclass
¶
Dataclass for DeleteAttachmentOutput structure.