delete_message_template_attachment
async
¶
delete_message_template_attachment(
knowledge_base_id: UuidOrArn,
message_template_id: UuidOrArnOrEitherWithQualifier,
attachment_id: Uuid,
*,
config_overrides: Optional[AsyncQConnectClientConfig] = None,
) -> DeleteMessageTemplateAttachmentResponse
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.
Parameters:
-
knowledge_base_id(UuidOrArn) –The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
-
message_template_id(UuidOrArnOrEitherWithQualifier) –The identifier of the message template. Can be either the ID or the ARN. It cannot contain any qualifier.
-
attachment_id(Uuid) –The identifier of the attachment file.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–The request could not be processed because of conflict in the current state of the resource. For example, if you're using a
CreateAPI (such asCreateAssistant) that accepts name, a conflicting resource (usually with the same name) is being created or mutated. -
ResourceNotFoundException–The specified resource does not exist.
-
ThrottlingException–The throttling limit has been exceeded.
-
ValidationException–The input fails to satisfy the constraints specified by a service.
-
UnknownServiceError–The service returned an error code this client does not model.