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

Description

 
Synopsis

Documentation

data Channel Source #

A collection of data from an MQTT topic. Channels archive the raw, unprocessed messages before publishing the data to a pipeline.

See: newChannel smart constructor.

Constructors

Channel' 

Fields

Instances

Instances details
FromJSON Channel Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.Channel

Generic Channel Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.Channel

Associated Types

type Rep Channel :: Type -> Type #

Methods

from :: Channel -> Rep Channel x #

to :: Rep Channel x -> Channel #

Read Channel Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.Channel

Show Channel Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.Channel

NFData Channel Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.Channel

Methods

rnf :: Channel -> () #

Eq Channel Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.Channel

Methods

(==) :: Channel -> Channel -> Bool #

(/=) :: Channel -> Channel -> Bool #

Hashable Channel Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.Channel

Methods

hashWithSalt :: Int -> Channel -> Int #

hash :: Channel -> Int #

type Rep Channel Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.Channel

newChannel :: Channel Source #

Create a value of Channel 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:arn:Channel', channel_arn - The ARN of the channel.

$sel:creationTime:Channel', channel_creationTime - When the channel was created.

$sel:lastMessageArrivalTime:Channel', channel_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:Channel', channel_lastUpdateTime - When the channel was last updated.

$sel:name:Channel', channel_name - The name of the channel.

$sel:retentionPeriod:Channel', channel_retentionPeriod - How long, in days, message data is kept for the channel.

$sel:status:Channel', channel_status - The status of the channel.

$sel:storage:Channel', channel_storage - Where channel data is stored. You can choose one of serviceManagedS3 or customerManagedS3 storage. If not specified, the default is serviceManagedS3. You can't change this storage option after the channel is created.

channel_arn :: Lens' Channel (Maybe Text) Source #

The ARN of the channel.

channel_creationTime :: Lens' Channel (Maybe UTCTime) Source #

When the channel was created.

channel_lastMessageArrivalTime :: Lens' Channel (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.

channel_lastUpdateTime :: Lens' Channel (Maybe UTCTime) Source #

When the channel was last updated.

channel_name :: Lens' Channel (Maybe Text) Source #

The name of the channel.

channel_retentionPeriod :: Lens' Channel (Maybe RetentionPeriod) Source #

How long, in days, message data is kept for the channel.

channel_status :: Lens' Channel (Maybe ChannelStatus) Source #

The status of the channel.

channel_storage :: Lens' Channel (Maybe ChannelStorage) Source #

Where channel data is stored. You can choose one of serviceManagedS3 or customerManagedS3 storage. If not specified, the default is serviceManagedS3. You can't change this storage option after the channel is created.