Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Used to update the settings of a channel.
Synopsis
- data UpdateChannel = UpdateChannel' {}
- newUpdateChannel :: Text -> UpdateChannel
- updateChannel_retentionPeriod :: Lens' UpdateChannel (Maybe RetentionPeriod)
- updateChannel_channelStorage :: Lens' UpdateChannel (Maybe ChannelStorage)
- updateChannel_channelName :: Lens' UpdateChannel Text
- data UpdateChannelResponse = UpdateChannelResponse' {
- newUpdateChannelResponse :: UpdateChannelResponse
Creating a Request
data UpdateChannel Source #
See: newUpdateChannel
smart constructor.
UpdateChannel' | |
|
Instances
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
Eq UpdateChannelResponse Source # | |
Defined in Amazonka.IoTAnalytics.UpdateChannel (==) :: UpdateChannelResponse -> UpdateChannelResponse -> Bool # (/=) :: UpdateChannelResponse -> UpdateChannelResponse -> Bool # | |
Read UpdateChannelResponse Source # | |
Show UpdateChannelResponse Source # | |
Defined in Amazonka.IoTAnalytics.UpdateChannel showsPrec :: Int -> UpdateChannelResponse -> ShowS # show :: UpdateChannelResponse -> String # showList :: [UpdateChannelResponse] -> ShowS # | |
Generic UpdateChannelResponse Source # | |
Defined in Amazonka.IoTAnalytics.UpdateChannel type Rep UpdateChannelResponse :: Type -> Type # | |
NFData UpdateChannelResponse Source # | |
Defined in Amazonka.IoTAnalytics.UpdateChannel rnf :: UpdateChannelResponse -> () # | |
type Rep UpdateChannelResponse Source # | |
Defined in Amazonka.IoTAnalytics.UpdateChannel |
newUpdateChannelResponse :: UpdateChannelResponse Source #
Create a value of UpdateChannelResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.