amazonka-iotsitewise-2.0: Amazon IoT SiteWise SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.IoTSiteWise.Types.TimeSeriesSummary

Description

 
Synopsis

Documentation

data TimeSeriesSummary Source #

Contains a summary of a time series (data stream).

See: newTimeSeriesSummary smart constructor.

Constructors

TimeSeriesSummary' 

Fields

  • alias :: Maybe Text

    The alias that identifies the time series.

  • assetId :: Maybe Text

    The ID of the asset in which the asset property was created.

  • dataTypeSpec :: Maybe Text

    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.

  • propertyId :: Maybe Text

    The ID of the asset property.

  • timeSeriesId :: Text

    The ID of the time series.

  • dataType :: PropertyDataType

    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.

  • timeSeriesCreationDate :: POSIX

    The date that the time series was created, in Unix epoch time.

  • timeSeriesLastUpdateDate :: POSIX

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

Instances

Instances details
FromJSON TimeSeriesSummary Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.TimeSeriesSummary

Generic TimeSeriesSummary Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.TimeSeriesSummary

Associated Types

type Rep TimeSeriesSummary :: Type -> Type #

Read TimeSeriesSummary Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.TimeSeriesSummary

Show TimeSeriesSummary Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.TimeSeriesSummary

NFData TimeSeriesSummary Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.TimeSeriesSummary

Methods

rnf :: TimeSeriesSummary -> () #

Eq TimeSeriesSummary Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.TimeSeriesSummary

Hashable TimeSeriesSummary Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.TimeSeriesSummary

type Rep TimeSeriesSummary Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.TimeSeriesSummary

type Rep TimeSeriesSummary = D1 ('MetaData "TimeSeriesSummary" "Amazonka.IoTSiteWise.Types.TimeSeriesSummary" "amazonka-iotsitewise-2.0-AK8rDlpQ5oPJsrLUUxJgY" 'False) (C1 ('MetaCons "TimeSeriesSummary'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "alias") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "assetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "dataTypeSpec") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "propertyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "timeSeriesId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "dataType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PropertyDataType)) :*: (S1 ('MetaSel ('Just "timeSeriesCreationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: S1 ('MetaSel ('Just "timeSeriesLastUpdateDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX)))))

newTimeSeriesSummary Source #

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