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

Description

 
Synopsis

Documentation

data AssetModelSummary Source #

Contains a summary of an asset model.

See: newAssetModelSummary smart constructor.

Constructors

AssetModelSummary' 

Fields

  • id :: Text

    The ID of the asset model (used with IoT SiteWise APIs).

  • arn :: Text

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

    arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}
  • name :: Text

    The name of the asset model.

  • description :: Text

    The asset model description.

  • creationDate :: POSIX

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

  • lastUpdateDate :: POSIX

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

  • status :: AssetModelStatus

    The current status of the asset model.

Instances

Instances details
FromJSON AssetModelSummary Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetModelSummary

Generic AssetModelSummary Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetModelSummary

Associated Types

type Rep AssetModelSummary :: Type -> Type #

Read AssetModelSummary Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetModelSummary

Show AssetModelSummary Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetModelSummary

NFData AssetModelSummary Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetModelSummary

Methods

rnf :: AssetModelSummary -> () #

Eq AssetModelSummary Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetModelSummary

Hashable AssetModelSummary Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetModelSummary

type Rep AssetModelSummary Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetModelSummary

newAssetModelSummary Source #

Create a value of AssetModelSummary 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:AssetModelSummary', assetModelSummary_id - The ID of the asset model (used with IoT SiteWise APIs).

$sel:arn:AssetModelSummary', assetModelSummary_arn - The ARN of the asset model, which has the following format.

arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}

$sel:name:AssetModelSummary', assetModelSummary_name - The name of the asset model.

$sel:description:AssetModelSummary', assetModelSummary_description - The asset model description.

$sel:creationDate:AssetModelSummary', assetModelSummary_creationDate - The date the asset model was created, in Unix epoch time.

$sel:lastUpdateDate:AssetModelSummary', assetModelSummary_lastUpdateDate - The date the asset model was last updated, in Unix epoch time.

$sel:status:AssetModelSummary', assetModelSummary_status - The current status of the asset model.

assetModelSummary_id :: Lens' AssetModelSummary Text Source #

The ID of the asset model (used with IoT SiteWise APIs).

assetModelSummary_arn :: Lens' AssetModelSummary Text Source #

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

arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}

assetModelSummary_creationDate :: Lens' AssetModelSummary UTCTime Source #

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

assetModelSummary_lastUpdateDate :: Lens' AssetModelSummary UTCTime Source #

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

assetModelSummary_status :: Lens' AssetModelSummary AssetModelStatus Source #

The current status of the asset model.