update_channel
¶
update_channel(
arn: ChannelArn,
*,
config_overrides: Optional[ivsClientConfig] = None,
name: Optional[ChannelName] = None,
latency_mode: Optional[ChannelLatencyMode] = None,
type: Optional[ChannelType] = None,
authorized: Optional[Boolean] = None,
recording_configuration_arn: Optional[ChannelRecordingConfigurationArn] = None,
insecure_ingest: Optional[Boolean] = None,
preset: Optional[TranscodePreset] = None,
playback_restriction_policy_arn: Optional[
ChannelPlaybackRestrictionPolicyArn
] = None,
multitrack_input_configuration: Optional[MultitrackInputConfiguration] = None,
container_format: Optional[ContainerFormat] = None,
ad_configuration_arn: Optional[ChannelAdConfigurationArn] = None,
) -> UpdateChannelResponse
Updates a channel's configuration. Live channels cannot be updated. You must stop the ongoing stream, update the channel, and restart the stream for the changes to take effect.
Parameters:
-
arn(ChannelArn) –ARN of the channel to be updated.
-
name(Optional[ChannelName], default:None) –Channel name.
-
latency_mode(Optional[ChannelLatencyMode], default:None) –Channel latency mode. Use
NORMALto broadcast and deliver live video up to Full HD. UseLOWfor near-real-time interaction with viewers. -
type(Optional[ChannelType], default:None) –Channel type, which determines the allowable resolution and bitrate. If you exceed the allowable input resolution or bitrate, the stream probably will disconnect immediately. Default:
STANDARD. For details, see Channel Types. -
authorized(Optional[Boolean], default:None) –Whether the channel is private (enabled for playback authorization).
-
recording_configuration_arn(Optional[ChannelRecordingConfigurationArn], default:None) –Recording-configuration ARN. A valid ARN value here both specifies the ARN and enables recording. If this is set to an empty string, recording is disabled.
-
insecure_ingest(Optional[Boolean], default:None) –Whether the channel allows insecure RTMP and SRT ingest. Default:
false. -
preset(Optional[TranscodePreset], default:None) –Optional transcode preset for the channel. This is selectable only for
ADVANCED_HDandADVANCED_SDchannel types. For those channel types, the defaultpresetisHIGHER_BANDWIDTH_DELIVERY. For other channel types (BASICandSTANDARD),presetis the empty string (""). -
playback_restriction_policy_arn(Optional[ChannelPlaybackRestrictionPolicyArn], default:None) –Playback-restriction-policy ARN. A valid ARN value here both specifies the ARN and enables playback restriction. If this is set to an empty string, playback restriction policy is disabled.
-
multitrack_input_configuration(Optional[MultitrackInputConfiguration], default:None) –Object specifying multitrack input configuration. Default: no multitrack input configuration is specified.
-
container_format(Optional[ContainerFormat], default:None) –Indicates which content-packaging format is used (MPEG-TS or fMP4). If
multitrackInputConfigurationis specified andenabledistrue, thencontainerFormatis required and must be set toFRAGMENTED_MP4. Otherwise,containerFormatmay be set toTSorFRAGMENTED_MP4. Default:TS. -
ad_configuration_arn(Optional[ChannelAdConfigurationArn], default:None) –ARN of the ad configuration associated with the channel.
Raises:
-
AccessDeniedException–User does not have sufficient access to perform this action.
-
ConflictException–Updating or deleting a resource can cause an inconsistent state.
-
PendingVerification–Your account is pending verification.
-
ResourceNotFoundException–Request references a resource which does not exist.
-
ValidationException–The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ivs/_services/ivs.py
2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 | |