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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#dataString

The content of the attachment file.

Returns:

  • (String)


153
154
155
156
157
158
# File 'gems/aws-sdk-support/lib/aws-sdk-support/types.rb', line 153

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

#file_nameString

The name of the attachment file.

Returns:

  • (String)


153
154
155
156
157
158
# File 'gems/aws-sdk-support/lib/aws-sdk-support/types.rb', line 153

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