Attachment
¶
Source code in docs_src/capo_sesv2/types/attachment.py
content_description
instance-attribute
¶
content_description: NotRequired[AttachmentContentDescription]
A brief description of the attachment content.
content_disposition
instance-attribute
¶
content_disposition: NotRequired[AttachmentContentDisposition]
A standard descriptor indicating how the attachment should be rendered in the email. Supported values: ATTACHMENT or INLINE.
content_id
instance-attribute
¶
content_id: NotRequired[AttachmentContentId]
Unique identifier for the attachment, used for referencing attachments with INLINE disposition in HTML content.
content_transfer_encoding
instance-attribute
¶
content_transfer_encoding: NotRequired[AttachmentContentTransferEncoding]
Specifies how the attachment is encoded. Supported values: BASE64, QUOTED_PRINTABLE, SEVEN_BIT.
content_type
instance-attribute
¶
content_type: NotRequired[AttachmentContentType]
The MIME type of the attachment.
Example: application/pdf, image/jpeg
file_name
instance-attribute
¶
file_name: AttachmentFileName
The file name for the attachment as it will appear in the email. Amazon SES restricts certain file extensions. To ensure attachments are accepted, check the Unsupported attachment types in the Amazon SES Developer Guide.
raw_content
instance-attribute
¶
raw_content: RawAttachmentData
The raw data of the attachment. It needs to be base64-encoded if you are accessing Amazon SES directly through the HTTPS interface. If you are accessing Amazon SES using an Amazon Web Services SDK, the SDK takes care of the base 64-encoding for you.