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.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
Eq AssetModelSummary Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetModelSummary

Read AssetModelSummary Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetModelSummary

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

NFData AssetModelSummary Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetModelSummary

Methods

rnf :: AssetModelSummary -> () #

Hashable AssetModelSummary Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetModelSummary

FromJSON AssetModelSummary Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetModelSummary

type Rep AssetModelSummary Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssetModelSummary

type Rep AssetModelSummary = D1 ('MetaData "AssetModelSummary" "Amazonka.IoTSiteWise.Types.AssetModelSummary" "libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise" 'False) (C1 ('MetaCons "AssetModelSummary'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "creationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX)) :*: (S1 ('MetaSel ('Just "lastUpdateDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 AssetModelStatus)))))

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.