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

Description

Used to create a channel. A channel collects data from an MQTT topic and archives the raw, unprocessed messages before publishing the data to a pipeline.

Synopsis

Creating a Request

data CreateChannel Source #

See: newCreateChannel smart constructor.

Constructors

CreateChannel' 

Fields

  • retentionPeriod :: Maybe RetentionPeriod

    How long, in days, message data is kept for the channel. When customerManagedS3 storage is selected, this parameter is ignored.

  • channelStorage :: Maybe ChannelStorage

    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.

  • tags :: Maybe (NonEmpty Tag)

    Metadata which can be used to manage the channel.

  • channelName :: Text

    The name of the channel.

Instances

Instances details
Eq CreateChannel Source # 
Instance details

Defined in Amazonka.IoTAnalytics.CreateChannel

Read CreateChannel Source # 
Instance details

Defined in Amazonka.IoTAnalytics.CreateChannel

Show CreateChannel Source # 
Instance details

Defined in Amazonka.IoTAnalytics.CreateChannel

Generic CreateChannel Source # 
Instance details

Defined in Amazonka.IoTAnalytics.CreateChannel

Associated Types

type Rep CreateChannel :: Type -> Type #

NFData CreateChannel Source # 
Instance details

Defined in Amazonka.IoTAnalytics.CreateChannel

Methods

rnf :: CreateChannel -> () #

Hashable CreateChannel Source # 
Instance details

Defined in Amazonka.IoTAnalytics.CreateChannel

ToJSON CreateChannel Source # 
Instance details

Defined in Amazonka.IoTAnalytics.CreateChannel

AWSRequest CreateChannel Source # 
Instance details

Defined in Amazonka.IoTAnalytics.CreateChannel

Associated Types

type AWSResponse CreateChannel #

ToHeaders CreateChannel Source # 
Instance details

Defined in Amazonka.IoTAnalytics.CreateChannel

ToPath CreateChannel Source # 
Instance details

Defined in Amazonka.IoTAnalytics.CreateChannel

ToQuery CreateChannel Source # 
Instance details

Defined in Amazonka.IoTAnalytics.CreateChannel

type Rep CreateChannel Source # 
Instance details

Defined in Amazonka.IoTAnalytics.CreateChannel

type Rep CreateChannel = D1 ('MetaData "CreateChannel" "Amazonka.IoTAnalytics.CreateChannel" "libZSservicesZSamazonka-iot-analyticsZSamazonka-iot-analytics" 'False) (C1 ('MetaCons "CreateChannel'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "retentionPeriod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RetentionPeriod)) :*: S1 ('MetaSel ('Just "channelStorage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ChannelStorage))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Tag))) :*: S1 ('MetaSel ('Just "channelName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse CreateChannel Source # 
Instance details

Defined in Amazonka.IoTAnalytics.CreateChannel

newCreateChannel Source #

Create a value of CreateChannel 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:retentionPeriod:CreateChannel', createChannel_retentionPeriod - How long, in days, message data is kept for the channel. When customerManagedS3 storage is selected, this parameter is ignored.

$sel:channelStorage:CreateChannel', createChannel_channelStorage - 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:tags:CreateChannel', createChannel_tags - Metadata which can be used to manage the channel.

$sel:channelName:CreateChannel', createChannel_channelName - The name of the channel.

Request Lenses

createChannel_retentionPeriod :: Lens' CreateChannel (Maybe RetentionPeriod) Source #

How long, in days, message data is kept for the channel. When customerManagedS3 storage is selected, this parameter is ignored.

createChannel_channelStorage :: Lens' CreateChannel (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.

createChannel_tags :: Lens' CreateChannel (Maybe (NonEmpty Tag)) Source #

Metadata which can be used to manage the channel.

Destructuring the Response

data CreateChannelResponse Source #

See: newCreateChannelResponse smart constructor.

Constructors

CreateChannelResponse' 

Fields

Instances

Instances details
Eq CreateChannelResponse Source # 
Instance details

Defined in Amazonka.IoTAnalytics.CreateChannel

Read CreateChannelResponse Source # 
Instance details

Defined in Amazonka.IoTAnalytics.CreateChannel

Show CreateChannelResponse Source # 
Instance details

Defined in Amazonka.IoTAnalytics.CreateChannel

Generic CreateChannelResponse Source # 
Instance details

Defined in Amazonka.IoTAnalytics.CreateChannel

Associated Types

type Rep CreateChannelResponse :: Type -> Type #

NFData CreateChannelResponse Source # 
Instance details

Defined in Amazonka.IoTAnalytics.CreateChannel

Methods

rnf :: CreateChannelResponse -> () #

type Rep CreateChannelResponse Source # 
Instance details

Defined in Amazonka.IoTAnalytics.CreateChannel

type Rep CreateChannelResponse = D1 ('MetaData "CreateChannelResponse" "Amazonka.IoTAnalytics.CreateChannel" "libZSservicesZSamazonka-iot-analyticsZSamazonka-iot-analytics" 'False) (C1 ('MetaCons "CreateChannelResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "channelArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "retentionPeriod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RetentionPeriod))) :*: (S1 ('MetaSel ('Just "channelName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newCreateChannelResponse Source #

Create a value of CreateChannelResponse 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:channelArn:CreateChannelResponse', createChannelResponse_channelArn - The ARN of the channel.

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

$sel:channelName:CreateChannel', createChannelResponse_channelName - The name of the channel.

$sel:httpStatus:CreateChannelResponse', createChannelResponse_httpStatus - The response's http status code.

Response Lenses

createChannelResponse_retentionPeriod :: Lens' CreateChannelResponse (Maybe RetentionPeriod) Source #

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