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

Description

 
Synopsis

Documentation

data AssetSummary Source #

Contains a summary of an asset.

See: newAssetSummary smart constructor.

Constructors

AssetSummary' 

Fields

  • id :: Text

    The ID of the asset.

  • arn :: Text

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

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

    The name of the asset.

  • assetModelId :: Text

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

  • creationDate :: POSIX

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

  • lastUpdateDate :: POSIX

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

  • status :: AssetStatus

    The current status of the asset.

  • hierarchies :: [AssetHierarchy]

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

Instances

Instances details
Eq AssetSummary Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetSummary

Read AssetSummary Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetSummary

Show 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 #

NFData AssetSummary Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetSummary

Methods

rnf :: AssetSummary -> () #

Hashable AssetSummary Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetSummary

FromJSON 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:id: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}

$sel:name: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_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.