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 AssetModelSummary = AssetModelSummary' {
- id :: Text
- arn :: Text
- name :: Text
- description :: Text
- creationDate :: POSIX
- lastUpdateDate :: POSIX
- status :: AssetModelStatus
- newAssetModelSummary :: Text -> Text -> Text -> Text -> UTCTime -> UTCTime -> AssetModelStatus -> AssetModelSummary
- assetModelSummary_id :: Lens' AssetModelSummary Text
- assetModelSummary_arn :: Lens' AssetModelSummary Text
- assetModelSummary_name :: Lens' AssetModelSummary Text
- assetModelSummary_description :: Lens' AssetModelSummary Text
- assetModelSummary_creationDate :: Lens' AssetModelSummary UTCTime
- assetModelSummary_lastUpdateDate :: Lens' AssetModelSummary UTCTime
- assetModelSummary_status :: Lens' AssetModelSummary AssetModelStatus
Documentation
data AssetModelSummary Source #
Contains a summary of an asset model.
See: newAssetModelSummary
smart constructor.
AssetModelSummary' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> UTCTime | |
-> UTCTime | |
-> AssetModelStatus | |
-> AssetModelSummary |
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_name :: Lens' AssetModelSummary Text Source #
The name of the asset model.
assetModelSummary_description :: Lens' AssetModelSummary Text Source #
The asset model description.
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.