Class: Aws::SESV2::Types::Attachment

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-sesv2/lib/aws-sdk-sesv2/types.rb

Overview

Contains metadata and attachment raw content.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#content_descriptionString

A brief description of the attachment content.

Returns:

  • (String)


176
177
178
179
180
181
182
183
184
185
186
# File 'gems/aws-sdk-sesv2/lib/aws-sdk-sesv2/types.rb', line 176

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_dispositionString

A standard descriptor indicating how the attachment should be rendered in the email. Supported values: ATTACHMENT or INLINE.

Returns:

  • (String)


176
177
178
179
180
181
182
183
184
185
186
# File 'gems/aws-sdk-sesv2/lib/aws-sdk-sesv2/types.rb', line 176

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_idString

Unique identifier for the attachment, used for referencing attachments with INLINE disposition in HTML content.

Returns:

  • (String)


176
177
178
179
180
181
182
183
184
185
186
# File 'gems/aws-sdk-sesv2/lib/aws-sdk-sesv2/types.rb', line 176

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_encodingString

Specifies how the attachment is encoded. Supported values: BASE64, QUOTED_PRINTABLE, SEVEN_BIT.

Returns:

  • (String)


176
177
178
179
180
181
182
183
184
185
186
# File 'gems/aws-sdk-sesv2/lib/aws-sdk-sesv2/types.rb', line 176

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_typeString

The MIME type of the attachment.

Example: application/pdf, image/jpeg

Returns:

  • (String)


176
177
178
179
180
181
182
183
184
185
186
# File 'gems/aws-sdk-sesv2/lib/aws-sdk-sesv2/types.rb', line 176

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_nameString

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.

Returns:

  • (String)


176
177
178
179
180
181
182
183
184
185
186
# File 'gems/aws-sdk-sesv2/lib/aws-sdk-sesv2/types.rb', line 176

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_contentString

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.

Returns:

  • (String)


176
177
178
179
180
181
182
183
184
185
186
# File 'gems/aws-sdk-sesv2/lib/aws-sdk-sesv2/types.rb', line 176

class Attachment < Struct.new(
  :raw_content,
  :content_disposition,
  :file_name,
  :content_description,
  :content_id,
  :content_transfer_encoding,
  :content_type)
  SENSITIVE = []
  include Aws::Structure
end