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

Description

Used to update the settings of a channel.

Synopsis

Creating a Request

data UpdateChannel Source #

See: newUpdateChannel smart constructor.

Constructors

UpdateChannel' 

Fields

  • retentionPeriod :: Maybe RetentionPeriod

    How long, in days, message data is kept for the channel. The retention period can't be updated if the channel's Amazon S3 storage is customer-managed.

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

  • channelName :: Text

    The name of the channel to be updated.

Instances

Instances details
Eq UpdateChannel Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateChannel

Read UpdateChannel Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateChannel

Show UpdateChannel Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateChannel

Generic UpdateChannel Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateChannel

Associated Types

type Rep UpdateChannel :: Type -> Type #

NFData UpdateChannel Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateChannel

Methods

rnf :: UpdateChannel -> () #

Hashable UpdateChannel Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateChannel

ToJSON UpdateChannel Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateChannel

AWSRequest UpdateChannel Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateChannel

Associated Types

type AWSResponse UpdateChannel #

ToHeaders UpdateChannel Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateChannel

ToPath UpdateChannel Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateChannel

ToQuery UpdateChannel Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateChannel

type Rep UpdateChannel Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateChannel

type Rep UpdateChannel = D1 ('MetaData "UpdateChannel" "Amazonka.IoTAnalytics.UpdateChannel" "libZSservicesZSamazonka-iot-analyticsZSamazonka-iot-analytics" 'False) (C1 ('MetaCons "UpdateChannel'" '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 "channelName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateChannel Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateChannel

newUpdateChannel Source #

Create a value of UpdateChannel 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:UpdateChannel', updateChannel_retentionPeriod - How long, in days, message data is kept for the channel. The retention period can't be updated if the channel's Amazon S3 storage is customer-managed.

$sel:channelStorage:UpdateChannel', updateChannel_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:channelName:UpdateChannel', updateChannel_channelName - The name of the channel to be updated.

Request Lenses

updateChannel_retentionPeriod :: Lens' UpdateChannel (Maybe RetentionPeriod) Source #

How long, in days, message data is kept for the channel. The retention period can't be updated if the channel's Amazon S3 storage is customer-managed.

updateChannel_channelStorage :: Lens' UpdateChannel (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.

updateChannel_channelName :: Lens' UpdateChannel Text Source #

The name of the channel to be updated.

Destructuring the Response

data UpdateChannelResponse Source #

See: newUpdateChannelResponse smart constructor.

Instances

Instances details
Eq UpdateChannelResponse Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateChannel

Read UpdateChannelResponse Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateChannel

Show UpdateChannelResponse Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateChannel

Generic UpdateChannelResponse Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateChannel

Associated Types

type Rep UpdateChannelResponse :: Type -> Type #

NFData UpdateChannelResponse Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateChannel

Methods

rnf :: UpdateChannelResponse -> () #

type Rep UpdateChannelResponse Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateChannel

type Rep UpdateChannelResponse = D1 ('MetaData "UpdateChannelResponse" "Amazonka.IoTAnalytics.UpdateChannel" "libZSservicesZSamazonka-iot-analyticsZSamazonka-iot-analytics" 'False) (C1 ('MetaCons "UpdateChannelResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newUpdateChannelResponse :: UpdateChannelResponse Source #

Create a value of UpdateChannelResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.