You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Support::Types::Attachment

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing Attachment as input to an Aws::Client method, you can use a vanilla Hash:

{
  file_name: "FileName",
  data: "data",
}

An attachment to a case communication. The attachment consists of the file name and the content of the file.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#dataString

The content of the attachment file.

Returns:

  • (String)

    The content of the attachment file.

#file_nameString

The name of the attachment file.

Returns:

  • (String)

    The name of the attachment file.