amazonka-iot-analytics-2.0: Amazon IoT Analytics 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.IoTAnalytics.Types.ChannelSummary

Description

 
Synopsis

Documentation

data ChannelSummary Source #

A summary of information about a channel.

See: newChannelSummary smart constructor.

Constructors

ChannelSummary' 

Fields

Instances

Instances details
FromJSON ChannelSummary Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.ChannelSummary

Generic ChannelSummary Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.ChannelSummary

Associated Types

type Rep ChannelSummary :: Type -> Type #

Read ChannelSummary Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.ChannelSummary

Show ChannelSummary Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.ChannelSummary

NFData ChannelSummary Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.ChannelSummary

Methods

rnf :: ChannelSummary -> () #

Eq ChannelSummary Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.ChannelSummary

Hashable ChannelSummary Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.ChannelSummary

type Rep ChannelSummary Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.ChannelSummary

type Rep ChannelSummary = D1 ('MetaData "ChannelSummary" "Amazonka.IoTAnalytics.Types.ChannelSummary" "amazonka-iot-analytics-2.0-2pxFb0PbSzA9ccOL4CofY4" 'False) (C1 ('MetaCons "ChannelSummary'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "channelName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "channelStorage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ChannelStorageSummary)) :*: S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "lastMessageArrivalTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "lastUpdateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ChannelStatus))))))

newChannelSummary :: ChannelSummary Source #

Create a value of ChannelSummary 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:channelName:ChannelSummary', channelSummary_channelName - The name of the channel.

$sel:channelStorage:ChannelSummary', channelSummary_channelStorage - Where channel data is stored.

$sel:creationTime:ChannelSummary', channelSummary_creationTime - When the channel was created.

$sel:lastMessageArrivalTime:ChannelSummary', channelSummary_lastMessageArrivalTime - The last time when a new message arrived in the channel.

IoT Analytics updates this value at most once per minute for one channel. Hence, the lastMessageArrivalTime value is an approximation.

This feature only applies to messages that arrived in the data store after October 23, 2020.

$sel:lastUpdateTime:ChannelSummary', channelSummary_lastUpdateTime - The last time the channel was updated.

$sel:status:ChannelSummary', channelSummary_status - The status of the channel.

channelSummary_lastMessageArrivalTime :: Lens' ChannelSummary (Maybe UTCTime) Source #

The last time when a new message arrived in the channel.

IoT Analytics updates this value at most once per minute for one channel. Hence, the lastMessageArrivalTime value is an approximation.

This feature only applies to messages that arrived in the data store after October 23, 2020.

channelSummary_lastUpdateTime :: Lens' ChannelSummary (Maybe UTCTime) Source #

The last time the channel was updated.