Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data AssetSummary = AssetSummary' {
- description :: Maybe Text
- id :: Text
- arn :: Text
- name :: Text
- assetModelId :: Text
- creationDate :: POSIX
- lastUpdateDate :: POSIX
- status :: AssetStatus
- hierarchies :: [AssetHierarchy]
- newAssetSummary :: Text -> Text -> Text -> Text -> UTCTime -> UTCTime -> AssetStatus -> AssetSummary
- assetSummary_description :: Lens' AssetSummary (Maybe Text)
- assetSummary_id :: Lens' AssetSummary Text
- assetSummary_arn :: Lens' AssetSummary Text
- assetSummary_name :: Lens' AssetSummary Text
- assetSummary_assetModelId :: Lens' AssetSummary Text
- assetSummary_creationDate :: Lens' AssetSummary UTCTime
- assetSummary_lastUpdateDate :: Lens' AssetSummary UTCTime
- assetSummary_status :: Lens' AssetSummary AssetStatus
- assetSummary_hierarchies :: Lens' AssetSummary [AssetHierarchy]
Documentation
data AssetSummary Source #
Contains a summary of an asset.
See: newAssetSummary
smart constructor.
AssetSummary' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> UTCTime | |
-> UTCTime | |
-> AssetStatus | |
-> AssetSummary |
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_id :: Lens' AssetSummary Text Source #
The ID of 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.