amazonka-iotsitewise-2.0: Amazon IoT SiteWise SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.IoTSiteWise.Types.AssetSummary

Description

 
Synopsis

Documentation

data AssetSummary Source #

Contains a summary of an asset.

See: newAssetSummary smart constructor.

Constructors

AssetSummary' 

Fields

Instances

Instances details
FromJSON AssetSummary Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetSummary

Generic AssetSummary Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetSummary

Associated Types

type Rep AssetSummary :: Type -> Type #

Read AssetSummary Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetSummary

Show AssetSummary Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetSummary

NFData AssetSummary Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetSummary

Methods

rnf :: AssetSummary -> () #

Eq AssetSummary Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetSummary

Hashable AssetSummary Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetSummary

type Rep AssetSummary Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetSummary

newAssetSummary Source #

Create a value of AssetSummary 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:description:AssetSummary', assetSummary_description - A description for the asset.

AssetSummary, assetSummary_id - The ID of the asset.

$sel:arn:AssetSummary', assetSummary_arn - The ARN of the asset, which has the following format.

arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}

AssetSummary, assetSummary_name - The name of the asset.

$sel:assetModelId:AssetSummary', assetSummary_assetModelId - The ID of the asset model used to create this asset.

$sel:creationDate:AssetSummary', assetSummary_creationDate - The date the asset was created, in Unix epoch time.

$sel:lastUpdateDate:AssetSummary', assetSummary_lastUpdateDate - The date the asset was last updated, in Unix epoch time.

$sel:status:AssetSummary', assetSummary_status - The current status of the asset.

$sel:hierarchies:AssetSummary', assetSummary_hierarchies - A list of asset hierarchies that each contain a hierarchyId. A hierarchy specifies allowed parent/child asset relationships.

assetSummary_description :: Lens' AssetSummary (Maybe Text) Source #

A description for the asset.

assetSummary_arn :: Lens' AssetSummary Text Source #

The ARN of the asset, which has the following format.

arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}

assetSummary_name :: Lens' AssetSummary Text Source #

The name of the asset.

assetSummary_assetModelId :: Lens' AssetSummary Text Source #

The ID of the asset model used to create this asset.

assetSummary_creationDate :: Lens' AssetSummary UTCTime Source #

The date the asset was created, in Unix epoch time.

assetSummary_lastUpdateDate :: Lens' AssetSummary UTCTime Source #

The date the asset was last updated, in Unix epoch time.

assetSummary_status :: Lens' AssetSummary AssetStatus Source #

The current status of the asset.

assetSummary_hierarchies :: Lens' AssetSummary [AssetHierarchy] Source #

A list of asset hierarchies that each contain a hierarchyId. A hierarchy specifies allowed parent/child asset relationships.