Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data AssociatedAssetsSummary = AssociatedAssetsSummary' {
- id :: Text
- arn :: Text
- name :: Text
- assetModelId :: Text
- creationDate :: POSIX
- lastUpdateDate :: POSIX
- status :: AssetStatus
- hierarchies :: [AssetHierarchy]
- newAssociatedAssetsSummary :: Text -> Text -> Text -> Text -> UTCTime -> UTCTime -> AssetStatus -> AssociatedAssetsSummary
- associatedAssetsSummary_id :: Lens' AssociatedAssetsSummary Text
- associatedAssetsSummary_arn :: Lens' AssociatedAssetsSummary Text
- associatedAssetsSummary_name :: Lens' AssociatedAssetsSummary Text
- associatedAssetsSummary_assetModelId :: Lens' AssociatedAssetsSummary Text
- associatedAssetsSummary_creationDate :: Lens' AssociatedAssetsSummary UTCTime
- associatedAssetsSummary_lastUpdateDate :: Lens' AssociatedAssetsSummary UTCTime
- associatedAssetsSummary_status :: Lens' AssociatedAssetsSummary AssetStatus
- associatedAssetsSummary_hierarchies :: Lens' AssociatedAssetsSummary [AssetHierarchy]
Documentation
data AssociatedAssetsSummary Source #
Contains a summary of an associated asset.
See: newAssociatedAssetsSummary
smart constructor.
AssociatedAssetsSummary' | |
|
Instances
newAssociatedAssetsSummary Source #
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> UTCTime | |
-> UTCTime | |
-> AssetStatus | |
-> AssociatedAssetsSummary |
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_id :: Lens' AssociatedAssetsSummary Text Source #
The ID of the asset.
associatedAssetsSummary_arn :: Lens' AssociatedAssetsSummary Text Source #
The ARN of the asset, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}
associatedAssetsSummary_name :: Lens' AssociatedAssetsSummary Text Source #
The name of the asset.
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_status :: Lens' AssociatedAssetsSummary AssetStatus Source #
The current status of the asset.
associatedAssetsSummary_hierarchies :: Lens' AssociatedAssetsSummary [AssetHierarchy] Source #
A list of asset hierarchies that each contain a hierarchyId
. A
hierarchy specifies allowed parent/child asset relationships.