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

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

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

Overview

Note:

When making an API call, you may pass Attachment data as a 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.

Instance Attribute Summary collapse

Instance Attribute Details

#dataString

The content of the attachment file.

Returns:

  • (String)


143
144
145
146
147
# File 'gems/aws-sdk-support/lib/aws-sdk-support/types.rb', line 143

class Attachment < Struct.new(
  :file_name,
  :data)
  include Aws::Structure
end

#file_nameString

The name of the attachment file.

Returns:

  • (String)


143
144
145
146
147
# File 'gems/aws-sdk-support/lib/aws-sdk-support/types.rb', line 143

class Attachment < Struct.new(
  :file_name,
  :data)
  include Aws::Structure
end