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.ImageFile

Description

 
Synopsis

Documentation

data ImageFile Source #

Contains an image file.

See: newImageFile smart constructor.

Constructors

ImageFile' 

Fields

  • data' :: Base64

    The image file contents, represented as a base64-encoded string. The file size must be less than 1 MB.

  • type' :: ImageFileType

    The file type of the image.

Instances

Instances details
Eq ImageFile Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.ImageFile

Read ImageFile Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.ImageFile

Show ImageFile Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.ImageFile

Generic ImageFile Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.ImageFile

Associated Types

type Rep ImageFile :: Type -> Type #

NFData ImageFile Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.ImageFile

Methods

rnf :: ImageFile -> () #

Hashable ImageFile Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.ImageFile

ToJSON ImageFile Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.ImageFile

type Rep ImageFile Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.ImageFile

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

newImageFile Source #

Create a value of ImageFile 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:data':ImageFile', imageFile_data - The image file contents, represented as a base64-encoded string. The file size must be less than 1 MB.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

$sel:type':ImageFile', imageFile_type - The file type of the image.

imageFile_data :: Lens' ImageFile ByteString Source #

The image file contents, represented as a base64-encoded string. The file size must be less than 1 MB.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

imageFile_type :: Lens' ImageFile ImageFileType Source #

The file type of the image.