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

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

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

Overview

Note:

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

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

Contains an image file.

Returned by:

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)

    The image file contents, represented as a base64-encoded string.

#typeString

The file type of the image.

Possible values:

  • PNG

Returns:

  • (String)

    The file type of the image.