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:



3222
3223
3224
3225
3226
3227
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 3222

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)


3222
3223
3224
3225
3226
3227
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 3222

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