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

Description

 
Synopsis

Documentation

data AssociatedAssetsSummary Source #

Contains a summary of an associated asset.

See: newAssociatedAssetsSummary smart constructor.

Constructors

AssociatedAssetsSummary' 

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 the 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 AssociatedAssetsSummary Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssociatedAssetsSummary

Read AssociatedAssetsSummary Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssociatedAssetsSummary

Show AssociatedAssetsSummary Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssociatedAssetsSummary

Generic AssociatedAssetsSummary Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssociatedAssetsSummary

Associated Types

type Rep AssociatedAssetsSummary :: Type -> Type #

NFData AssociatedAssetsSummary Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssociatedAssetsSummary

Methods

rnf :: AssociatedAssetsSummary -> () #

Hashable AssociatedAssetsSummary Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssociatedAssetsSummary

FromJSON AssociatedAssetsSummary Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssociatedAssetsSummary

type Rep AssociatedAssetsSummary Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.AssociatedAssetsSummary

type Rep AssociatedAssetsSummary = D1 ('MetaData "AssociatedAssetsSummary" "Amazonka.IoTSiteWise.Types.AssociatedAssetsSummary" "libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise" 'False) (C1 ('MetaCons "AssociatedAssetsSummary'" '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 "assetModelId") '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 AssetStatus) :*: S1 ('MetaSel ('Just "hierarchies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [AssetHierarchy])))))

newAssociatedAssetsSummary Source #

Create a value of AssociatedAssetsSummary 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:AssociatedAssetsSummary', associatedAssetsSummary_id - The ID of the asset.

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

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

$sel:name:AssociatedAssetsSummary', associatedAssetsSummary_name - The name of the asset.

$sel:assetModelId:AssociatedAssetsSummary', associatedAssetsSummary_assetModelId - The ID of the asset model used to create the asset.

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

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

$sel:status:AssociatedAssetsSummary', associatedAssetsSummary_status - The current status of the asset.

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

associatedAssetsSummary_arn :: Lens' AssociatedAssetsSummary Text Source #

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

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

associatedAssetsSummary_assetModelId :: Lens' AssociatedAssetsSummary Text Source #

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

associatedAssetsSummary_creationDate :: Lens' AssociatedAssetsSummary UTCTime Source #

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

associatedAssetsSummary_lastUpdateDate :: Lens' AssociatedAssetsSummary UTCTime Source #

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

associatedAssetsSummary_hierarchies :: Lens' AssociatedAssetsSummary [AssetHierarchy] Source #

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