Class: Aws::IoTSiteWise::Types::ImageFile

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

Overview

Note:

When making an API call, you may pass ImageFile data as a hash:

{
  data: "data", # required
  type: "PNG", # required, accepts PNG
}

Contains an image file.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#dataString

The image file contents, represented as a base64-encoded string. The file size must be less than 1 MB.

Returns:

  • (String)


3248
3249
3250
3251
3252
3253
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 3248

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

#typeString

The file type of the image.

Returns:

  • (String)


3248
3249
3250
3251
3252
3253
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 3248

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