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

Defined in Amazonka.IoTAnalytics.Types.Channel

Methods

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

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

Read Channel Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.Channel

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

NFData Channel Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.Channel

Methods

rnf :: Channel -> () #

Hashable Channel Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.Channel

Methods

hashWithSalt :: Int -> Channel -> Int #

hash :: Channel -> Int #

FromJSON Channel Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.Channel

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

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

$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:arn:Channel', channel_arn - The ARN 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.

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

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

$sel:lastUpdateTime:Channel', channel_lastUpdateTime - When the channel was last updated.

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

When the channel was created.

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

The status of the channel.

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_arn :: Lens' Channel (Maybe Text) Source #

The ARN 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.

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

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

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

The name of the channel.

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

When the channel was last updated.