libZSservicesZSamazonka-iot-analyticsZSamazonka-iot-analytics
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq ChannelSummary Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.ChannelSummary

Read ChannelSummary Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.ChannelSummary

Show 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 #

NFData ChannelSummary Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.ChannelSummary

Methods

rnf :: ChannelSummary -> () #

Hashable ChannelSummary Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.ChannelSummary

FromJSON 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" "libZSservicesZSamazonka-iot-analyticsZSamazonka-iot-analytics" 'False) (C1 ('MetaCons "ChannelSummary'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ChannelStatus)) :*: S1 ('MetaSel ('Just "lastMessageArrivalTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "channelName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "channelStorage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ChannelStorageSummary)) :*: S1 ('MetaSel ('Just "lastUpdateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))))

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:creationTime:ChannelSummary', channelSummary_creationTime - When the channel was created.

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

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

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

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

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.