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 TimeSeriesSummary = TimeSeriesSummary' {}
- newTimeSeriesSummary :: Text -> PropertyDataType -> UTCTime -> UTCTime -> TimeSeriesSummary
- timeSeriesSummary_alias :: Lens' TimeSeriesSummary (Maybe Text)
- timeSeriesSummary_assetId :: Lens' TimeSeriesSummary (Maybe Text)
- timeSeriesSummary_dataTypeSpec :: Lens' TimeSeriesSummary (Maybe Text)
- timeSeriesSummary_propertyId :: Lens' TimeSeriesSummary (Maybe Text)
- timeSeriesSummary_timeSeriesId :: Lens' TimeSeriesSummary Text
- timeSeriesSummary_dataType :: Lens' TimeSeriesSummary PropertyDataType
- timeSeriesSummary_timeSeriesCreationDate :: Lens' TimeSeriesSummary UTCTime
- timeSeriesSummary_timeSeriesLastUpdateDate :: Lens' TimeSeriesSummary UTCTime
Documentation
data TimeSeriesSummary Source #
Contains a summary of a time series (data stream).
See: newTimeSeriesSummary
smart constructor.
TimeSeriesSummary' | |
|
Instances
:: Text | |
-> PropertyDataType | |
-> UTCTime | |
-> UTCTime | |
-> TimeSeriesSummary |
Create a value of TimeSeriesSummary
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:alias:TimeSeriesSummary'
, timeSeriesSummary_alias
- The alias that identifies the time series.
$sel:assetId:TimeSeriesSummary'
, timeSeriesSummary_assetId
- The ID of the asset in which the asset property was created.
$sel:dataTypeSpec:TimeSeriesSummary'
, timeSeriesSummary_dataTypeSpec
- The data type of the structure for this time series. This parameter is
required for time series that have the STRUCT
data type.
The options for this parameter depend on the type of the composite model
in which you created the asset property that is associated with your
time series. Use AWS/ALARM_STATE
for alarm state in alarm composite
models.
$sel:propertyId:TimeSeriesSummary'
, timeSeriesSummary_propertyId
- The ID of the asset property.
$sel:timeSeriesId:TimeSeriesSummary'
, timeSeriesSummary_timeSeriesId
- The ID of the time series.
$sel:dataType:TimeSeriesSummary'
, timeSeriesSummary_dataType
- The data type of the time series.
If you specify STRUCT
, you must also specify dataTypeSpec
to
identify the type of the structure for this time series.
$sel:timeSeriesCreationDate:TimeSeriesSummary'
, timeSeriesSummary_timeSeriesCreationDate
- The date that the time series was created, in Unix epoch time.
$sel:timeSeriesLastUpdateDate:TimeSeriesSummary'
, timeSeriesSummary_timeSeriesLastUpdateDate
- The date that the time series was last updated, in Unix epoch time.
timeSeriesSummary_alias :: Lens' TimeSeriesSummary (Maybe Text) Source #
The alias that identifies the time series.
timeSeriesSummary_assetId :: Lens' TimeSeriesSummary (Maybe Text) Source #
The ID of the asset in which the asset property was created.
timeSeriesSummary_dataTypeSpec :: Lens' TimeSeriesSummary (Maybe Text) Source #
The data type of the structure for this time series. This parameter is
required for time series that have the STRUCT
data type.
The options for this parameter depend on the type of the composite model
in which you created the asset property that is associated with your
time series. Use AWS/ALARM_STATE
for alarm state in alarm composite
models.
timeSeriesSummary_propertyId :: Lens' TimeSeriesSummary (Maybe Text) Source #
The ID of the asset property.
timeSeriesSummary_timeSeriesId :: Lens' TimeSeriesSummary Text Source #
The ID of the time series.
timeSeriesSummary_dataType :: Lens' TimeSeriesSummary PropertyDataType Source #
The data type of the time series.
If you specify STRUCT
, you must also specify dataTypeSpec
to
identify the type of the structure for this time series.
timeSeriesSummary_timeSeriesCreationDate :: Lens' TimeSeriesSummary UTCTime Source #
The date that the time series was created, in Unix epoch time.
timeSeriesSummary_timeSeriesLastUpdateDate :: Lens' TimeSeriesSummary UTCTime Source #
The date that the time series was last updated, in Unix epoch time.