Class: Aws::SESV2::Types::Attachment
- Inherits:
-
Struct
- Object
- Struct
- Aws::SESV2::Types::Attachment
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-sesv2/types.rb
Overview
Contains metadata and attachment raw content.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#content_description ⇒ String
A brief description of the attachment content.
-
#content_disposition ⇒ String
A standard descriptor indicating how the attachment should be rendered in the email.
-
#content_id ⇒ String
Unique identifier for the attachment, used for referencing attachments with INLINE disposition in HTML content.
-
#content_transfer_encoding ⇒ String
Specifies how the attachment is encoded.
-
#content_type ⇒ String
The MIME type of the attachment.
-
#file_name ⇒ String
The file name for the attachment as it will appear in the email.
-
#raw_content ⇒ String
The raw data of the attachment.
Instance Attribute Details
#content_description ⇒ String
A brief description of the attachment content.
139 140 141 142 143 144 145 146 147 148 149 |
# File 'lib/aws-sdk-sesv2/types.rb', line 139 class Attachment < Struct.new( :raw_content, :content_disposition, :file_name, :content_description, :content_id, :content_transfer_encoding, :content_type) SENSITIVE = [] include Aws::Structure end |
#content_disposition ⇒ String
A standard descriptor indicating how the attachment should be rendered in the email. Supported values: ‘ATTACHMENT` or `INLINE`.
139 140 141 142 143 144 145 146 147 148 149 |
# File 'lib/aws-sdk-sesv2/types.rb', line 139 class Attachment < Struct.new( :raw_content, :content_disposition, :file_name, :content_description, :content_id, :content_transfer_encoding, :content_type) SENSITIVE = [] include Aws::Structure end |
#content_id ⇒ String
Unique identifier for the attachment, used for referencing attachments with INLINE disposition in HTML content.
139 140 141 142 143 144 145 146 147 148 149 |
# File 'lib/aws-sdk-sesv2/types.rb', line 139 class Attachment < Struct.new( :raw_content, :content_disposition, :file_name, :content_description, :content_id, :content_transfer_encoding, :content_type) SENSITIVE = [] include Aws::Structure end |
#content_transfer_encoding ⇒ String
Specifies how the attachment is encoded. Supported values: ‘BASE64`, `QUOTED_PRINTABLE`, `SEVEN_BIT`.
139 140 141 142 143 144 145 146 147 148 149 |
# File 'lib/aws-sdk-sesv2/types.rb', line 139 class Attachment < Struct.new( :raw_content, :content_disposition, :file_name, :content_description, :content_id, :content_transfer_encoding, :content_type) SENSITIVE = [] include Aws::Structure end |
#content_type ⇒ String
The MIME type of the attachment.
<note markdown=“1”> Example: ‘application/pdf`, `image/jpeg`
</note>
139 140 141 142 143 144 145 146 147 148 149 |
# File 'lib/aws-sdk-sesv2/types.rb', line 139 class Attachment < Struct.new( :raw_content, :content_disposition, :file_name, :content_description, :content_id, :content_transfer_encoding, :content_type) SENSITIVE = [] include Aws::Structure end |
#file_name ⇒ String
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.
139 140 141 142 143 144 145 146 147 148 149 |
# File 'lib/aws-sdk-sesv2/types.rb', line 139 class Attachment < Struct.new( :raw_content, :content_disposition, :file_name, :content_description, :content_id, :content_transfer_encoding, :content_type) SENSITIVE = [] include Aws::Structure end |
#raw_content ⇒ String
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.
139 140 141 142 143 144 145 146 147 148 149 |
# File 'lib/aws-sdk-sesv2/types.rb', line 139 class Attachment < Struct.new( :raw_content, :content_disposition, :file_name, :content_description, :content_id, :content_transfer_encoding, :content_type) SENSITIVE = [] include Aws::Structure end |