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

Description

 
Synopsis

Documentation

data AssetStatus Source #

Contains information about the current status of an asset. For more information, see Asset and model states in the IoT SiteWise User Guide.

See: newAssetStatus smart constructor.

Constructors

AssetStatus' 

Fields

Instances

Instances details
Eq AssetStatus Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetStatus

Read AssetStatus Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetStatus

Show AssetStatus Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetStatus

Generic AssetStatus Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetStatus

Associated Types

type Rep AssetStatus :: Type -> Type #

NFData AssetStatus Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetStatus

Methods

rnf :: AssetStatus -> () #

Hashable AssetStatus Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetStatus

FromJSON AssetStatus Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetStatus

type Rep AssetStatus Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetStatus

type Rep AssetStatus = D1 ('MetaData "AssetStatus" "Amazonka.IoTSiteWise.Types.AssetStatus" "libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise" 'False) (C1 ('MetaCons "AssetStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "error") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ErrorDetails)) :*: S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 AssetState)))

newAssetStatus Source #

Create a value of AssetStatus 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:error:AssetStatus', assetStatus_error - Contains associated error information, if any.

$sel:state:AssetStatus', assetStatus_state - The current status of the asset.

assetStatus_error :: Lens' AssetStatus (Maybe ErrorDetails) Source #

Contains associated error information, if any.

assetStatus_state :: Lens' AssetStatus AssetState Source #

The current status of the asset.