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
- Struct
- Aws::IoTSiteWise::Types::ImageFile
- 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
-
#data ⇒ String
The image file contents, represented as a base64-encoded string.
-
#type ⇒ String
The file type of the image.
Instance Attribute Details
#data ⇒ String
The image file contents, represented as a base64-encoded string. The file size must be less than 1 MB.
#type ⇒ String
The file type of the image.
Possible values:
- PNG