updateChannel
inline suspend fun MediaPackageV2Client.updateChannel(crossinline block: UpdateChannelRequest.Builder.() -> Unit): UpdateChannelResponse
Update the specified channel. You can edit if MediaPackage sends ingest or egress access logs to the CloudWatch log group, if content will be encrypted, the description on a channel, and your channel's policy settings. You can't edit the name of the channel or CloudFront distribution details.
Any edits you make that impact the video output may not be reflected for a few minutes.
Samples
fun main() {
//sampleStart
// Updating a Channel
val resp = mediaPackageV2Client.updateChannel {
channelGroupName = "exampleChannelGroup"
channelName = "exampleChannel"
description = "Updated description for exampleChannel"
}
//sampleEnd
}