AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::IoTSiteWise::Types::Image

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 Image data as a 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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#fileTypes::ImageFile

Contains an image file.

Returns:



4163
4164
4165
4166
4167
4168
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 4163

class Image < Struct.new(
  :id,
  :file)
  SENSITIVE = []
  include Aws::Structure
end

#idString

The ID of an existing image. Specify this parameter to keep an existing image.

Returns:

  • (String)


4163
4164
4165
4166
4167
4168
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 4163

class Image < Struct.new(
  :id,
  :file)
  SENSITIVE = []
  include Aws::Structure
end