You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::IoTSiteWise::Types::Image
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoTSiteWise::Types::Image
- Defined in:
- (unknown)
Overview
Note:
When passing Image as input to an Aws::Client method, you can use a vanilla Hash:
{
id: "ID",
file: {
data: "data", # required
type: "PNG", # required, accepts PNG
},
}
Contains an image that is one of the following:
-
An image file. Choose this option to upload a new image.
-
The ID of an existing image. Choose this option to keep an existing image.
Returned by:
Instance Attribute Summary collapse
-
#file ⇒ Types::ImageFile
Contains an image file.
.
-
#id ⇒ String
The ID of an existing image.
Instance Attribute Details
#file ⇒ Types::ImageFile
Contains an image file.
#id ⇒ String
The ID of an existing image. Specify this parameter to keep an existing image.