libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.IoTSiteWise.Types.Image

Description

 
Synopsis

Documentation

data Image Source #

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.

See: newImage smart constructor.

Constructors

Image' 

Fields

Instances

Instances details
Eq Image Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Image

Methods

(==) :: Image -> Image -> Bool #

(/=) :: Image -> Image -> Bool #

Read Image Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Image

Show Image Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Image

Methods

showsPrec :: Int -> Image -> ShowS #

show :: Image -> String #

showList :: [Image] -> ShowS #

Generic Image Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Image

Associated Types

type Rep Image :: Type -> Type #

Methods

from :: Image -> Rep Image x #

to :: Rep Image x -> Image #

NFData Image Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Image

Methods

rnf :: Image -> () #

Hashable Image Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Image

Methods

hashWithSalt :: Int -> Image -> Int #

hash :: Image -> Int #

ToJSON Image Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Image

type Rep Image Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Image

type Rep Image = D1 ('MetaData "Image" "Amazonka.IoTSiteWise.Types.Image" "libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise" 'False) (C1 ('MetaCons "Image'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "file") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ImageFile))))

newImage :: Image Source #

Create a value of Image with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:id:Image', image_id - The ID of an existing image. Specify this parameter to keep an existing image.

$sel:file:Image', image_file - Undocumented member.

image_id :: Lens' Image (Maybe Text) Source #

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

image_file :: Lens' Image (Maybe ImageFile) Source #

Undocumented member.