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

Description

 
Synopsis

Documentation

data ImageLocation Source #

Contains an image that is uploaded to IoT SiteWise and available at a URL.

See: newImageLocation smart constructor.

Constructors

ImageLocation' 

Fields

  • id :: Text

    The ID of the image.

  • url :: Text

    The URL where the image is available. The URL is valid for 15 minutes so that you can view and download the image

Instances

Instances details
Eq ImageLocation Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.ImageLocation

Read ImageLocation Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.ImageLocation

Show ImageLocation Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.ImageLocation

Generic ImageLocation Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.ImageLocation

Associated Types

type Rep ImageLocation :: Type -> Type #

NFData ImageLocation Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.ImageLocation

Methods

rnf :: ImageLocation -> () #

Hashable ImageLocation Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.ImageLocation

FromJSON ImageLocation Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.ImageLocation

type Rep ImageLocation Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.ImageLocation

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

newImageLocation Source #

Create a value of ImageLocation 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:ImageLocation', imageLocation_id - The ID of the image.

$sel:url:ImageLocation', imageLocation_url - The URL where the image is available. The URL is valid for 15 minutes so that you can view and download the image

imageLocation_url :: Lens' ImageLocation Text Source #

The URL where the image is available. The URL is valid for 15 minutes so that you can view and download the image