Skip to content

CreateMessageTemplateAttachmentRequest

Source code in docs_src/capo_qconnect/types/create_message_template_attachment_request.py
class CreateMessageTemplateAttachmentRequest(TypedDict, closed=True):
    knowledge_base_id: "capo_qconnect.types.uuid_or_arn.UuidOrArn"
    """<p>The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>"""
    message_template_id: "capo_qconnect.types.uuid_or_arn_or_either_with_qualifier.UuidOrArnOrEitherWithQualifier"
    """<p>The identifier of the message template. Can be either the ID or the ARN. It cannot contain any qualifier.</p>"""
    content_disposition: "capo_qconnect.types.content_disposition.ContentDisposition"
    """<p>The presentation information for the attachment file.</p>"""
    name: "capo_qconnect.types.attachment_file_name.AttachmentFileName"
    """<p>The name of the attachment file being uploaded. The name should include the file extension.</p>"""
    body: "capo_qconnect.types.non_empty_unlimited_string.NonEmptyUnlimitedString"
    """<p>The body of the attachment file being uploaded. It should be encoded using base64 encoding.</p>"""
    client_token: NotRequired["capo_qconnect.types.client_token.ClientToken"]
    """<p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see <a href="http://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.</p>"""

body instance-attribute

The body of the attachment file being uploaded. It should be encoded using base64 encoding.

client_token instance-attribute

client_token: NotRequired[ClientToken]

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

content_disposition instance-attribute

content_disposition: ContentDisposition

The presentation information for the attachment file.

knowledge_base_id instance-attribute

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 instance-attribute

message_template_id: UuidOrArnOrEitherWithQualifier

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

name instance-attribute

The name of the attachment file being uploaded. The name should include the file extension.