| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IoTAnalytics.UpdateChannel
Description
Used to update the settings of a channel.
Synopsis
- data UpdateChannel = UpdateChannel' {}
- newUpdateChannel :: Text -> UpdateChannel
- updateChannel_channelStorage :: Lens' UpdateChannel (Maybe ChannelStorage)
- updateChannel_retentionPeriod :: Lens' UpdateChannel (Maybe RetentionPeriod)
- updateChannel_channelName :: Lens' UpdateChannel Text
- data UpdateChannelResponse = UpdateChannelResponse' {
- newUpdateChannelResponse :: UpdateChannelResponse
Creating a Request
data UpdateChannel Source #
See: newUpdateChannel smart constructor.
Constructors
| UpdateChannel' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> UpdateChannel |
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:
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.
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.
UpdateChannel, updateChannel_channelName - The name of the channel to be updated.
Request Lenses
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_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_channelName :: Lens' UpdateChannel Text Source #
The name of the channel to be updated.
Destructuring the Response
data UpdateChannelResponse Source #
See: newUpdateChannelResponse smart constructor.
Constructors
| UpdateChannelResponse' | |
Instances
newUpdateChannelResponse :: UpdateChannelResponse Source #
Create a value of UpdateChannelResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.