Table of Contents
A low-level client representing AWS Elemental MediaLive:
client = session.create_client('medialive')
These are the available methods:
Check if an operation can be paginated.
Creates a new channel
See also: AWS API Documentation
Request Syntax
response = client.create_channel(
Destinations=[
{
'Id': 'string',
'Settings': [
{
'PasswordParam': 'string',
'StreamName': 'string',
'Url': 'string',
'Username': 'string'
},
]
},
],
EncoderSettings={
'AudioDescriptions': [
{
'AudioNormalizationSettings': {
'Algorithm': 'ITU_1770_1'|'ITU_1770_2',
'AlgorithmControl': 'CORRECT_AUDIO',
'TargetLkfs': 123.0
},
'AudioSelectorName': 'string',
'AudioType': 'CLEAN_EFFECTS'|'HEARING_IMPAIRED'|'UNDEFINED'|'VISUAL_IMPAIRED_COMMENTARY',
'AudioTypeControl': 'FOLLOW_INPUT'|'USE_CONFIGURED',
'CodecSettings': {
'AacSettings': {
'Bitrate': 123.0,
'CodingMode': 'AD_RECEIVER_MIX'|'CODING_MODE_1_0'|'CODING_MODE_1_1'|'CODING_MODE_2_0'|'CODING_MODE_5_1',
'InputType': 'BROADCASTER_MIXED_AD'|'NORMAL',
'Profile': 'HEV1'|'HEV2'|'LC',
'RateControlMode': 'CBR'|'VBR',
'RawFormat': 'LATM_LOAS'|'NONE',
'SampleRate': 123.0,
'Spec': 'MPEG2'|'MPEG4',
'VbrQuality': 'HIGH'|'LOW'|'MEDIUM_HIGH'|'MEDIUM_LOW'
},
'Ac3Settings': {
'Bitrate': 123.0,
'BitstreamMode': 'COMMENTARY'|'COMPLETE_MAIN'|'DIALOGUE'|'EMERGENCY'|'HEARING_IMPAIRED'|'MUSIC_AND_EFFECTS'|'VISUALLY_IMPAIRED'|'VOICE_OVER',
'CodingMode': 'CODING_MODE_1_0'|'CODING_MODE_1_1'|'CODING_MODE_2_0'|'CODING_MODE_3_2_LFE',
'Dialnorm': 123,
'DrcProfile': 'FILM_STANDARD'|'NONE',
'LfeFilter': 'DISABLED'|'ENABLED',
'MetadataControl': 'FOLLOW_INPUT'|'USE_CONFIGURED'
},
'Eac3Settings': {
'AttenuationControl': 'ATTENUATE_3_DB'|'NONE',
'Bitrate': 123.0,
'BitstreamMode': 'COMMENTARY'|'COMPLETE_MAIN'|'EMERGENCY'|'HEARING_IMPAIRED'|'VISUALLY_IMPAIRED',
'CodingMode': 'CODING_MODE_1_0'|'CODING_MODE_2_0'|'CODING_MODE_3_2',
'DcFilter': 'DISABLED'|'ENABLED',
'Dialnorm': 123,
'DrcLine': 'FILM_LIGHT'|'FILM_STANDARD'|'MUSIC_LIGHT'|'MUSIC_STANDARD'|'NONE'|'SPEECH',
'DrcRf': 'FILM_LIGHT'|'FILM_STANDARD'|'MUSIC_LIGHT'|'MUSIC_STANDARD'|'NONE'|'SPEECH',
'LfeControl': 'LFE'|'NO_LFE',
'LfeFilter': 'DISABLED'|'ENABLED',
'LoRoCenterMixLevel': 123.0,
'LoRoSurroundMixLevel': 123.0,
'LtRtCenterMixLevel': 123.0,
'LtRtSurroundMixLevel': 123.0,
'MetadataControl': 'FOLLOW_INPUT'|'USE_CONFIGURED',
'PassthroughControl': 'NO_PASSTHROUGH'|'WHEN_POSSIBLE',
'PhaseControl': 'NO_SHIFT'|'SHIFT_90_DEGREES',
'StereoDownmix': 'DPL2'|'LO_RO'|'LT_RT'|'NOT_INDICATED',
'SurroundExMode': 'DISABLED'|'ENABLED'|'NOT_INDICATED',
'SurroundMode': 'DISABLED'|'ENABLED'|'NOT_INDICATED'
},
'Mp2Settings': {
'Bitrate': 123.0,
'CodingMode': 'CODING_MODE_1_0'|'CODING_MODE_2_0',
'SampleRate': 123.0
},
'PassThroughSettings': {}
},
'LanguageCode': 'string',
'LanguageCodeControl': 'FOLLOW_INPUT'|'USE_CONFIGURED',
'Name': 'string',
'RemixSettings': {
'ChannelMappings': [
{
'InputChannelLevels': [
{
'Gain': 123,
'InputChannel': 123
},
],
'OutputChannel': 123
},
],
'ChannelsIn': 123,
'ChannelsOut': 123
},
'StreamName': 'string'
},
],
'AvailBlanking': {
'AvailBlankingImage': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'State': 'DISABLED'|'ENABLED'
},
'AvailConfiguration': {
'AvailSettings': {
'Scte35SpliceInsert': {
'AdAvailOffset': 123,
'NoRegionalBlackoutFlag': 'FOLLOW'|'IGNORE',
'WebDeliveryAllowedFlag': 'FOLLOW'|'IGNORE'
},
'Scte35TimeSignalApos': {
'AdAvailOffset': 123,
'NoRegionalBlackoutFlag': 'FOLLOW'|'IGNORE',
'WebDeliveryAllowedFlag': 'FOLLOW'|'IGNORE'
}
}
},
'BlackoutSlate': {
'BlackoutSlateImage': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'NetworkEndBlackout': 'DISABLED'|'ENABLED',
'NetworkEndBlackoutImage': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'NetworkId': 'string',
'State': 'DISABLED'|'ENABLED'
},
'CaptionDescriptions': [
{
'CaptionSelectorName': 'string',
'DestinationSettings': {
'AribDestinationSettings': {}
,
'BurnInDestinationSettings': {
'Alignment': 'CENTERED'|'LEFT'|'SMART',
'BackgroundColor': 'BLACK'|'NONE'|'WHITE',
'BackgroundOpacity': 123,
'Font': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'FontColor': 'BLACK'|'BLUE'|'GREEN'|'RED'|'WHITE'|'YELLOW',
'FontOpacity': 123,
'FontResolution': 123,
'FontSize': 'string',
'OutlineColor': 'BLACK'|'BLUE'|'GREEN'|'RED'|'WHITE'|'YELLOW',
'OutlineSize': 123,
'ShadowColor': 'BLACK'|'NONE'|'WHITE',
'ShadowOpacity': 123,
'ShadowXOffset': 123,
'ShadowYOffset': 123,
'TeletextGridControl': 'FIXED'|'SCALED',
'XPosition': 123,
'YPosition': 123
},
'DvbSubDestinationSettings': {
'Alignment': 'CENTERED'|'LEFT'|'SMART',
'BackgroundColor': 'BLACK'|'NONE'|'WHITE',
'BackgroundOpacity': 123,
'Font': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'FontColor': 'BLACK'|'BLUE'|'GREEN'|'RED'|'WHITE'|'YELLOW',
'FontOpacity': 123,
'FontResolution': 123,
'FontSize': 'string',
'OutlineColor': 'BLACK'|'BLUE'|'GREEN'|'RED'|'WHITE'|'YELLOW',
'OutlineSize': 123,
'ShadowColor': 'BLACK'|'NONE'|'WHITE',
'ShadowOpacity': 123,
'ShadowXOffset': 123,
'ShadowYOffset': 123,
'TeletextGridControl': 'FIXED'|'SCALED',
'XPosition': 123,
'YPosition': 123
},
'EmbeddedDestinationSettings': {}
,
'EmbeddedPlusScte20DestinationSettings': {}
,
'RtmpCaptionInfoDestinationSettings': {}
,
'Scte20PlusEmbeddedDestinationSettings': {}
,
'Scte27DestinationSettings': {}
,
'SmpteTtDestinationSettings': {}
,
'TeletextDestinationSettings': {}
,
'TtmlDestinationSettings': {
'StyleControl': 'PASSTHROUGH'|'USE_CONFIGURED'
},
'WebvttDestinationSettings': {}
},
'LanguageCode': 'string',
'LanguageDescription': 'string',
'Name': 'string'
},
],
'GlobalConfiguration': {
'InitialAudioGain': 123,
'InputEndAction': 'NONE'|'SWITCH_AND_LOOP_INPUTS',
'InputLossBehavior': {
'BlackFrameMsec': 123,
'InputLossImageColor': 'string',
'InputLossImageSlate': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'InputLossImageType': 'COLOR'|'SLATE',
'RepeatFrameMsec': 123
},
'OutputTimingSource': 'INPUT_CLOCK'|'SYSTEM_CLOCK',
'SupportLowFramerateInputs': 'DISABLED'|'ENABLED'
},
'OutputGroups': [
{
'Name': 'string',
'OutputGroupSettings': {
'ArchiveGroupSettings': {
'Destination': {
'DestinationRefId': 'string'
},
'RolloverInterval': 123
},
'HlsGroupSettings': {
'AdMarkers': [
'ADOBE'|'ELEMENTAL'|'ELEMENTAL_SCTE35',
],
'BaseUrlContent': 'string',
'BaseUrlManifest': 'string',
'CaptionLanguageMappings': [
{
'CaptionChannel': 123,
'LanguageCode': 'string',
'LanguageDescription': 'string'
},
],
'CaptionLanguageSetting': 'INSERT'|'NONE'|'OMIT',
'ClientCache': 'DISABLED'|'ENABLED',
'CodecSpecification': 'RFC_4281'|'RFC_6381',
'ConstantIv': 'string',
'Destination': {
'DestinationRefId': 'string'
},
'DirectoryStructure': 'SINGLE_DIRECTORY'|'SUBDIRECTORY_PER_STREAM',
'EncryptionType': 'AES128'|'SAMPLE_AES',
'HlsCdnSettings': {
'HlsAkamaiSettings': {
'ConnectionRetryInterval': 123,
'FilecacheDuration': 123,
'HttpTransferMode': 'CHUNKED'|'NON_CHUNKED',
'NumRetries': 123,
'RestartDelay': 123,
'Salt': 'string',
'Token': 'string'
},
'HlsBasicPutSettings': {
'ConnectionRetryInterval': 123,
'FilecacheDuration': 123,
'NumRetries': 123,
'RestartDelay': 123
},
'HlsMediaStoreSettings': {
'ConnectionRetryInterval': 123,
'FilecacheDuration': 123,
'MediaStoreStorageClass': 'TEMPORAL',
'NumRetries': 123,
'RestartDelay': 123
},
'HlsWebdavSettings': {
'ConnectionRetryInterval': 123,
'FilecacheDuration': 123,
'HttpTransferMode': 'CHUNKED'|'NON_CHUNKED',
'NumRetries': 123,
'RestartDelay': 123
}
},
'IndexNSegments': 123,
'InputLossAction': 'EMIT_OUTPUT'|'PAUSE_OUTPUT',
'IvInManifest': 'EXCLUDE'|'INCLUDE',
'IvSource': 'EXPLICIT'|'FOLLOWS_SEGMENT_NUMBER',
'KeepSegments': 123,
'KeyFormat': 'string',
'KeyFormatVersions': 'string',
'KeyProviderSettings': {
'StaticKeySettings': {
'KeyProviderServer': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'StaticKeyValue': 'string'
}
},
'ManifestCompression': 'GZIP'|'NONE',
'ManifestDurationFormat': 'FLOATING_POINT'|'INTEGER',
'MinSegmentLength': 123,
'Mode': 'LIVE'|'VOD',
'OutputSelection': 'MANIFESTS_AND_SEGMENTS'|'SEGMENTS_ONLY',
'ProgramDateTime': 'EXCLUDE'|'INCLUDE',
'ProgramDateTimePeriod': 123,
'SegmentLength': 123,
'SegmentationMode': 'USE_INPUT_SEGMENTATION'|'USE_SEGMENT_DURATION',
'SegmentsPerSubdirectory': 123,
'StreamInfResolution': 'EXCLUDE'|'INCLUDE',
'TimedMetadataId3Frame': 'NONE'|'PRIV'|'TDRL',
'TimedMetadataId3Period': 123,
'TimestampDeltaMilliseconds': 123,
'TsFileMode': 'SEGMENTED_FILES'|'SINGLE_FILE'
},
'MsSmoothGroupSettings': {
'AcquisitionPointId': 'string',
'AudioOnlyTimecodeControl': 'PASSTHROUGH'|'USE_CONFIGURED_CLOCK',
'CertificateMode': 'SELF_SIGNED'|'VERIFY_AUTHENTICITY',
'ConnectionRetryInterval': 123,
'Destination': {
'DestinationRefId': 'string'
},
'EventId': 'string',
'EventIdMode': 'NO_EVENT_ID'|'USE_CONFIGURED'|'USE_TIMESTAMP',
'EventStopBehavior': 'NONE'|'SEND_EOS',
'FilecacheDuration': 123,
'FragmentLength': 123,
'InputLossAction': 'EMIT_OUTPUT'|'PAUSE_OUTPUT',
'NumRetries': 123,
'RestartDelay': 123,
'SegmentationMode': 'USE_INPUT_SEGMENTATION'|'USE_SEGMENT_DURATION',
'SendDelayMs': 123,
'SparseTrackType': 'NONE'|'SCTE_35',
'StreamManifestBehavior': 'DO_NOT_SEND'|'SEND',
'TimestampOffset': 'string',
'TimestampOffsetMode': 'USE_CONFIGURED_OFFSET'|'USE_EVENT_START_DATE'
},
'RtmpGroupSettings': {
'AuthenticationScheme': 'AKAMAI'|'COMMON',
'CacheFullBehavior': 'DISCONNECT_IMMEDIATELY'|'WAIT_FOR_SERVER',
'CacheLength': 123,
'CaptionData': 'ALL'|'FIELD1_608'|'FIELD1_AND_FIELD2_608',
'RestartDelay': 123
},
'UdpGroupSettings': {
'InputLossAction': 'DROP_PROGRAM'|'DROP_TS'|'EMIT_PROGRAM',
'TimedMetadataId3Frame': 'NONE'|'PRIV'|'TDRL',
'TimedMetadataId3Period': 123
}
},
'Outputs': [
{
'AudioDescriptionNames': [
'string',
],
'CaptionDescriptionNames': [
'string',
],
'OutputName': 'string',
'OutputSettings': {
'ArchiveOutputSettings': {
'ContainerSettings': {
'M2tsSettings': {
'AbsentInputAudioBehavior': 'DROP'|'ENCODE_SILENCE',
'Arib': 'DISABLED'|'ENABLED',
'AribCaptionsPid': 'string',
'AribCaptionsPidControl': 'AUTO'|'USE_CONFIGURED',
'AudioBufferModel': 'ATSC'|'DVB',
'AudioFramesPerPes': 123,
'AudioPids': 'string',
'AudioStreamType': 'ATSC'|'DVB',
'Bitrate': 123,
'BufferModel': 'MULTIPLEX'|'NONE',
'CcDescriptor': 'DISABLED'|'ENABLED',
'DvbNitSettings': {
'NetworkId': 123,
'NetworkName': 'string',
'RepInterval': 123
},
'DvbSdtSettings': {
'OutputSdt': 'SDT_FOLLOW'|'SDT_FOLLOW_IF_PRESENT'|'SDT_MANUAL'|'SDT_NONE',
'RepInterval': 123,
'ServiceName': 'string',
'ServiceProviderName': 'string'
},
'DvbSubPids': 'string',
'DvbTdtSettings': {
'RepInterval': 123
},
'DvbTeletextPid': 'string',
'Ebif': 'NONE'|'PASSTHROUGH',
'EbpAudioInterval': 'VIDEO_AND_FIXED_INTERVALS'|'VIDEO_INTERVAL',
'EbpLookaheadMs': 123,
'EbpPlacement': 'VIDEO_AND_AUDIO_PIDS'|'VIDEO_PID',
'EcmPid': 'string',
'EsRateInPes': 'EXCLUDE'|'INCLUDE',
'EtvPlatformPid': 'string',
'EtvSignalPid': 'string',
'FragmentTime': 123.0,
'Klv': 'NONE'|'PASSTHROUGH',
'KlvDataPids': 'string',
'NullPacketBitrate': 123.0,
'PatInterval': 123,
'PcrControl': 'CONFIGURED_PCR_PERIOD'|'PCR_EVERY_PES_PACKET',
'PcrPeriod': 123,
'PcrPid': 'string',
'PmtInterval': 123,
'PmtPid': 'string',
'ProgramNum': 123,
'RateMode': 'CBR'|'VBR',
'Scte27Pids': 'string',
'Scte35Control': 'NONE'|'PASSTHROUGH',
'Scte35Pid': 'string',
'SegmentationMarkers': 'EBP'|'EBP_LEGACY'|'NONE'|'PSI_SEGSTART'|'RAI_ADAPT'|'RAI_SEGSTART',
'SegmentationStyle': 'MAINTAIN_CADENCE'|'RESET_CADENCE',
'SegmentationTime': 123.0,
'TimedMetadataBehavior': 'NO_PASSTHROUGH'|'PASSTHROUGH',
'TimedMetadataPid': 'string',
'TransportStreamId': 123,
'VideoPid': 'string'
}
},
'Extension': 'string',
'NameModifier': 'string'
},
'HlsOutputSettings': {
'HlsSettings': {
'AudioOnlyHlsSettings': {
'AudioGroupId': 'string',
'AudioOnlyImage': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'AudioTrackType': 'ALTERNATE_AUDIO_AUTO_SELECT'|'ALTERNATE_AUDIO_AUTO_SELECT_DEFAULT'|'ALTERNATE_AUDIO_NOT_AUTO_SELECT'|'AUDIO_ONLY_VARIANT_STREAM'
},
'StandardHlsSettings': {
'AudioRenditionSets': 'string',
'M3u8Settings': {
'AudioFramesPerPes': 123,
'AudioPids': 'string',
'EcmPid': 'string',
'PatInterval': 123,
'PcrControl': 'CONFIGURED_PCR_PERIOD'|'PCR_EVERY_PES_PACKET',
'PcrPeriod': 123,
'PcrPid': 'string',
'PmtInterval': 123,
'PmtPid': 'string',
'ProgramNum': 123,
'Scte35Behavior': 'NO_PASSTHROUGH'|'PASSTHROUGH',
'Scte35Pid': 'string',
'TimedMetadataBehavior': 'NO_PASSTHROUGH'|'PASSTHROUGH',
'TimedMetadataPid': 'string',
'TransportStreamId': 123,
'VideoPid': 'string'
}
}
},
'NameModifier': 'string',
'SegmentModifier': 'string'
},
'MsSmoothOutputSettings': {
'NameModifier': 'string'
},
'RtmpOutputSettings': {
'CertificateMode': 'SELF_SIGNED'|'VERIFY_AUTHENTICITY',
'ConnectionRetryInterval': 123,
'Destination': {
'DestinationRefId': 'string'
},
'NumRetries': 123
},
'UdpOutputSettings': {
'BufferMsec': 123,
'ContainerSettings': {
'M2tsSettings': {
'AbsentInputAudioBehavior': 'DROP'|'ENCODE_SILENCE',
'Arib': 'DISABLED'|'ENABLED',
'AribCaptionsPid': 'string',
'AribCaptionsPidControl': 'AUTO'|'USE_CONFIGURED',
'AudioBufferModel': 'ATSC'|'DVB',
'AudioFramesPerPes': 123,
'AudioPids': 'string',
'AudioStreamType': 'ATSC'|'DVB',
'Bitrate': 123,
'BufferModel': 'MULTIPLEX'|'NONE',
'CcDescriptor': 'DISABLED'|'ENABLED',
'DvbNitSettings': {
'NetworkId': 123,
'NetworkName': 'string',
'RepInterval': 123
},
'DvbSdtSettings': {
'OutputSdt': 'SDT_FOLLOW'|'SDT_FOLLOW_IF_PRESENT'|'SDT_MANUAL'|'SDT_NONE',
'RepInterval': 123,
'ServiceName': 'string',
'ServiceProviderName': 'string'
},
'DvbSubPids': 'string',
'DvbTdtSettings': {
'RepInterval': 123
},
'DvbTeletextPid': 'string',
'Ebif': 'NONE'|'PASSTHROUGH',
'EbpAudioInterval': 'VIDEO_AND_FIXED_INTERVALS'|'VIDEO_INTERVAL',
'EbpLookaheadMs': 123,
'EbpPlacement': 'VIDEO_AND_AUDIO_PIDS'|'VIDEO_PID',
'EcmPid': 'string',
'EsRateInPes': 'EXCLUDE'|'INCLUDE',
'EtvPlatformPid': 'string',
'EtvSignalPid': 'string',
'FragmentTime': 123.0,
'Klv': 'NONE'|'PASSTHROUGH',
'KlvDataPids': 'string',
'NullPacketBitrate': 123.0,
'PatInterval': 123,
'PcrControl': 'CONFIGURED_PCR_PERIOD'|'PCR_EVERY_PES_PACKET',
'PcrPeriod': 123,
'PcrPid': 'string',
'PmtInterval': 123,
'PmtPid': 'string',
'ProgramNum': 123,
'RateMode': 'CBR'|'VBR',
'Scte27Pids': 'string',
'Scte35Control': 'NONE'|'PASSTHROUGH',
'Scte35Pid': 'string',
'SegmentationMarkers': 'EBP'|'EBP_LEGACY'|'NONE'|'PSI_SEGSTART'|'RAI_ADAPT'|'RAI_SEGSTART',
'SegmentationStyle': 'MAINTAIN_CADENCE'|'RESET_CADENCE',
'SegmentationTime': 123.0,
'TimedMetadataBehavior': 'NO_PASSTHROUGH'|'PASSTHROUGH',
'TimedMetadataPid': 'string',
'TransportStreamId': 123,
'VideoPid': 'string'
}
},
'Destination': {
'DestinationRefId': 'string'
},
'FecOutputSettings': {
'ColumnDepth': 123,
'IncludeFec': 'COLUMN'|'COLUMN_AND_ROW',
'RowLength': 123
}
}
},
'VideoDescriptionName': 'string'
},
]
},
],
'TimecodeConfig': {
'Source': 'EMBEDDED'|'SYSTEMCLOCK'|'ZEROBASED',
'SyncThreshold': 123
},
'VideoDescriptions': [
{
'CodecSettings': {
'H264Settings': {
'AdaptiveQuantization': 'HIGH'|'HIGHER'|'LOW'|'MAX'|'MEDIUM'|'OFF',
'AfdSignaling': 'AUTO'|'FIXED'|'NONE',
'Bitrate': 123,
'BufFillPct': 123,
'BufSize': 123,
'ColorMetadata': 'IGNORE'|'INSERT',
'EntropyEncoding': 'CABAC'|'CAVLC',
'FixedAfd': 'AFD_0000'|'AFD_0010'|'AFD_0011'|'AFD_0100'|'AFD_1000'|'AFD_1001'|'AFD_1010'|'AFD_1011'|'AFD_1101'|'AFD_1110'|'AFD_1111',
'FlickerAq': 'DISABLED'|'ENABLED',
'FramerateControl': 'INITIALIZE_FROM_SOURCE'|'SPECIFIED',
'FramerateDenominator': 123,
'FramerateNumerator': 123,
'GopBReference': 'DISABLED'|'ENABLED',
'GopClosedCadence': 123,
'GopNumBFrames': 123,
'GopSize': 123.0,
'GopSizeUnits': 'FRAMES'|'SECONDS',
'Level': 'H264_LEVEL_1'|'H264_LEVEL_1_1'|'H264_LEVEL_1_2'|'H264_LEVEL_1_3'|'H264_LEVEL_2'|'H264_LEVEL_2_1'|'H264_LEVEL_2_2'|'H264_LEVEL_3'|'H264_LEVEL_3_1'|'H264_LEVEL_3_2'|'H264_LEVEL_4'|'H264_LEVEL_4_1'|'H264_LEVEL_4_2'|'H264_LEVEL_5'|'H264_LEVEL_5_1'|'H264_LEVEL_5_2'|'H264_LEVEL_AUTO',
'LookAheadRateControl': 'HIGH'|'LOW'|'MEDIUM',
'MaxBitrate': 123,
'MinIInterval': 123,
'NumRefFrames': 123,
'ParControl': 'INITIALIZE_FROM_SOURCE'|'SPECIFIED',
'ParDenominator': 123,
'ParNumerator': 123,
'Profile': 'BASELINE'|'HIGH'|'HIGH_10BIT'|'HIGH_422'|'HIGH_422_10BIT'|'MAIN',
'RateControlMode': 'CBR'|'VBR',
'ScanType': 'INTERLACED'|'PROGRESSIVE',
'SceneChangeDetect': 'DISABLED'|'ENABLED',
'Slices': 123,
'Softness': 123,
'SpatialAq': 'DISABLED'|'ENABLED',
'Syntax': 'DEFAULT'|'RP2027',
'TemporalAq': 'DISABLED'|'ENABLED',
'TimecodeInsertion': 'DISABLED'|'PIC_TIMING_SEI'
}
},
'Height': 123,
'Name': 'string',
'RespondToAfd': 'NONE'|'PASSTHROUGH'|'RESPOND',
'ScalingBehavior': 'DEFAULT'|'STRETCH_TO_OUTPUT',
'Sharpness': 123,
'Width': 123
},
]
},
InputAttachments=[
{
'InputId': 'string',
'InputSettings': {
'AudioSelectors': [
{
'Name': 'string',
'SelectorSettings': {
'AudioLanguageSelection': {
'LanguageCode': 'string',
'LanguageSelectionPolicy': 'LOOSE'|'STRICT'
},
'AudioPidSelection': {
'Pid': 123
}
}
},
],
'CaptionSelectors': [
{
'LanguageCode': 'string',
'Name': 'string',
'SelectorSettings': {
'AribSourceSettings': {}
,
'DvbSubSourceSettings': {
'Pid': 123
},
'EmbeddedSourceSettings': {
'Convert608To708': 'DISABLED'|'UPCONVERT',
'Scte20Detection': 'AUTO'|'OFF',
'Source608ChannelNumber': 123,
'Source608TrackNumber': 123
},
'Scte20SourceSettings': {
'Convert608To708': 'DISABLED'|'UPCONVERT',
'Source608ChannelNumber': 123
},
'Scte27SourceSettings': {
'Pid': 123
},
'TeletextSourceSettings': {
'PageNumber': 'string'
}
}
},
],
'DeblockFilter': 'DISABLED'|'ENABLED',
'DenoiseFilter': 'DISABLED'|'ENABLED',
'FilterStrength': 123,
'InputFilter': 'AUTO'|'DISABLED'|'FORCED',
'NetworkInputSettings': {
'HlsInputSettings': {
'Bandwidth': 123,
'BufferSegments': 123,
'Retries': 123,
'RetryInterval': 123
},
'ServerValidation': 'CHECK_CRYPTOGRAPHY_AND_VALIDATE_NAME'|'CHECK_CRYPTOGRAPHY_ONLY'
},
'SourceEndBehavior': 'CONTINUE'|'LOOP',
'VideoSelector': {
'ColorSpace': 'FOLLOW'|'REC_601'|'REC_709',
'ColorSpaceUsage': 'FALLBACK'|'FORCE',
'SelectorSettings': {
'VideoSelectorPid': {
'Pid': 123
},
'VideoSelectorProgramId': {
'ProgramId': 123
}
}
}
}
},
],
InputSpecification={
'Codec': 'MPEG2'|'AVC'|'HEVC',
'MaximumBitrate': 'MAX_10_MBPS'|'MAX_20_MBPS'|'MAX_50_MBPS',
'Resolution': 'SD'|'HD'|'UHD'
},
LogLevel='ERROR'|'WARNING'|'INFO'|'DEBUG'|'DISABLED',
Name='string',
RequestId='string',
Reserved='string',
RoleArn='string'
)
Placeholder documentation for __listOfOutputDestination
Placeholder documentation for EncoderSettings
List of input attachments for channel.
Specification of input for this channel (max. bitrate, resolution, codec, etc.)
dict
Response Syntax
{
'Channel': {
'Arn': 'string',
'Destinations': [
{
'Id': 'string',
'Settings': [
{
'PasswordParam': 'string',
'StreamName': 'string',
'Url': 'string',
'Username': 'string'
},
]
},
],
'EgressEndpoints': [
{
'SourceIp': 'string'
},
],
'EncoderSettings': {
'AudioDescriptions': [
{
'AudioNormalizationSettings': {
'Algorithm': 'ITU_1770_1'|'ITU_1770_2',
'AlgorithmControl': 'CORRECT_AUDIO',
'TargetLkfs': 123.0
},
'AudioSelectorName': 'string',
'AudioType': 'CLEAN_EFFECTS'|'HEARING_IMPAIRED'|'UNDEFINED'|'VISUAL_IMPAIRED_COMMENTARY',
'AudioTypeControl': 'FOLLOW_INPUT'|'USE_CONFIGURED',
'CodecSettings': {
'AacSettings': {
'Bitrate': 123.0,
'CodingMode': 'AD_RECEIVER_MIX'|'CODING_MODE_1_0'|'CODING_MODE_1_1'|'CODING_MODE_2_0'|'CODING_MODE_5_1',
'InputType': 'BROADCASTER_MIXED_AD'|'NORMAL',
'Profile': 'HEV1'|'HEV2'|'LC',
'RateControlMode': 'CBR'|'VBR',
'RawFormat': 'LATM_LOAS'|'NONE',
'SampleRate': 123.0,
'Spec': 'MPEG2'|'MPEG4',
'VbrQuality': 'HIGH'|'LOW'|'MEDIUM_HIGH'|'MEDIUM_LOW'
},
'Ac3Settings': {
'Bitrate': 123.0,
'BitstreamMode': 'COMMENTARY'|'COMPLETE_MAIN'|'DIALOGUE'|'EMERGENCY'|'HEARING_IMPAIRED'|'MUSIC_AND_EFFECTS'|'VISUALLY_IMPAIRED'|'VOICE_OVER',
'CodingMode': 'CODING_MODE_1_0'|'CODING_MODE_1_1'|'CODING_MODE_2_0'|'CODING_MODE_3_2_LFE',
'Dialnorm': 123,
'DrcProfile': 'FILM_STANDARD'|'NONE',
'LfeFilter': 'DISABLED'|'ENABLED',
'MetadataControl': 'FOLLOW_INPUT'|'USE_CONFIGURED'
},
'Eac3Settings': {
'AttenuationControl': 'ATTENUATE_3_DB'|'NONE',
'Bitrate': 123.0,
'BitstreamMode': 'COMMENTARY'|'COMPLETE_MAIN'|'EMERGENCY'|'HEARING_IMPAIRED'|'VISUALLY_IMPAIRED',
'CodingMode': 'CODING_MODE_1_0'|'CODING_MODE_2_0'|'CODING_MODE_3_2',
'DcFilter': 'DISABLED'|'ENABLED',
'Dialnorm': 123,
'DrcLine': 'FILM_LIGHT'|'FILM_STANDARD'|'MUSIC_LIGHT'|'MUSIC_STANDARD'|'NONE'|'SPEECH',
'DrcRf': 'FILM_LIGHT'|'FILM_STANDARD'|'MUSIC_LIGHT'|'MUSIC_STANDARD'|'NONE'|'SPEECH',
'LfeControl': 'LFE'|'NO_LFE',
'LfeFilter': 'DISABLED'|'ENABLED',
'LoRoCenterMixLevel': 123.0,
'LoRoSurroundMixLevel': 123.0,
'LtRtCenterMixLevel': 123.0,
'LtRtSurroundMixLevel': 123.0,
'MetadataControl': 'FOLLOW_INPUT'|'USE_CONFIGURED',
'PassthroughControl': 'NO_PASSTHROUGH'|'WHEN_POSSIBLE',
'PhaseControl': 'NO_SHIFT'|'SHIFT_90_DEGREES',
'StereoDownmix': 'DPL2'|'LO_RO'|'LT_RT'|'NOT_INDICATED',
'SurroundExMode': 'DISABLED'|'ENABLED'|'NOT_INDICATED',
'SurroundMode': 'DISABLED'|'ENABLED'|'NOT_INDICATED'
},
'Mp2Settings': {
'Bitrate': 123.0,
'CodingMode': 'CODING_MODE_1_0'|'CODING_MODE_2_0',
'SampleRate': 123.0
},
'PassThroughSettings': {}
},
'LanguageCode': 'string',
'LanguageCodeControl': 'FOLLOW_INPUT'|'USE_CONFIGURED',
'Name': 'string',
'RemixSettings': {
'ChannelMappings': [
{
'InputChannelLevels': [
{
'Gain': 123,
'InputChannel': 123
},
],
'OutputChannel': 123
},
],
'ChannelsIn': 123,
'ChannelsOut': 123
},
'StreamName': 'string'
},
],
'AvailBlanking': {
'AvailBlankingImage': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'State': 'DISABLED'|'ENABLED'
},
'AvailConfiguration': {
'AvailSettings': {
'Scte35SpliceInsert': {
'AdAvailOffset': 123,
'NoRegionalBlackoutFlag': 'FOLLOW'|'IGNORE',
'WebDeliveryAllowedFlag': 'FOLLOW'|'IGNORE'
},
'Scte35TimeSignalApos': {
'AdAvailOffset': 123,
'NoRegionalBlackoutFlag': 'FOLLOW'|'IGNORE',
'WebDeliveryAllowedFlag': 'FOLLOW'|'IGNORE'
}
}
},
'BlackoutSlate': {
'BlackoutSlateImage': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'NetworkEndBlackout': 'DISABLED'|'ENABLED',
'NetworkEndBlackoutImage': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'NetworkId': 'string',
'State': 'DISABLED'|'ENABLED'
},
'CaptionDescriptions': [
{
'CaptionSelectorName': 'string',
'DestinationSettings': {
'AribDestinationSettings': {},
'BurnInDestinationSettings': {
'Alignment': 'CENTERED'|'LEFT'|'SMART',
'BackgroundColor': 'BLACK'|'NONE'|'WHITE',
'BackgroundOpacity': 123,
'Font': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'FontColor': 'BLACK'|'BLUE'|'GREEN'|'RED'|'WHITE'|'YELLOW',
'FontOpacity': 123,
'FontResolution': 123,
'FontSize': 'string',
'OutlineColor': 'BLACK'|'BLUE'|'GREEN'|'RED'|'WHITE'|'YELLOW',
'OutlineSize': 123,
'ShadowColor': 'BLACK'|'NONE'|'WHITE',
'ShadowOpacity': 123,
'ShadowXOffset': 123,
'ShadowYOffset': 123,
'TeletextGridControl': 'FIXED'|'SCALED',
'XPosition': 123,
'YPosition': 123
},
'DvbSubDestinationSettings': {
'Alignment': 'CENTERED'|'LEFT'|'SMART',
'BackgroundColor': 'BLACK'|'NONE'|'WHITE',
'BackgroundOpacity': 123,
'Font': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'FontColor': 'BLACK'|'BLUE'|'GREEN'|'RED'|'WHITE'|'YELLOW',
'FontOpacity': 123,
'FontResolution': 123,
'FontSize': 'string',
'OutlineColor': 'BLACK'|'BLUE'|'GREEN'|'RED'|'WHITE'|'YELLOW',
'OutlineSize': 123,
'ShadowColor': 'BLACK'|'NONE'|'WHITE',
'ShadowOpacity': 123,
'ShadowXOffset': 123,
'ShadowYOffset': 123,
'TeletextGridControl': 'FIXED'|'SCALED',
'XPosition': 123,
'YPosition': 123
},
'EmbeddedDestinationSettings': {},
'EmbeddedPlusScte20DestinationSettings': {},
'RtmpCaptionInfoDestinationSettings': {},
'Scte20PlusEmbeddedDestinationSettings': {},
'Scte27DestinationSettings': {},
'SmpteTtDestinationSettings': {},
'TeletextDestinationSettings': {},
'TtmlDestinationSettings': {
'StyleControl': 'PASSTHROUGH'|'USE_CONFIGURED'
},
'WebvttDestinationSettings': {}
},
'LanguageCode': 'string',
'LanguageDescription': 'string',
'Name': 'string'
},
],
'GlobalConfiguration': {
'InitialAudioGain': 123,
'InputEndAction': 'NONE'|'SWITCH_AND_LOOP_INPUTS',
'InputLossBehavior': {
'BlackFrameMsec': 123,
'InputLossImageColor': 'string',
'InputLossImageSlate': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'InputLossImageType': 'COLOR'|'SLATE',
'RepeatFrameMsec': 123
},
'OutputTimingSource': 'INPUT_CLOCK'|'SYSTEM_CLOCK',
'SupportLowFramerateInputs': 'DISABLED'|'ENABLED'
},
'OutputGroups': [
{
'Name': 'string',
'OutputGroupSettings': {
'ArchiveGroupSettings': {
'Destination': {
'DestinationRefId': 'string'
},
'RolloverInterval': 123
},
'HlsGroupSettings': {
'AdMarkers': [
'ADOBE'|'ELEMENTAL'|'ELEMENTAL_SCTE35',
],
'BaseUrlContent': 'string',
'BaseUrlManifest': 'string',
'CaptionLanguageMappings': [
{
'CaptionChannel': 123,
'LanguageCode': 'string',
'LanguageDescription': 'string'
},
],
'CaptionLanguageSetting': 'INSERT'|'NONE'|'OMIT',
'ClientCache': 'DISABLED'|'ENABLED',
'CodecSpecification': 'RFC_4281'|'RFC_6381',
'ConstantIv': 'string',
'Destination': {
'DestinationRefId': 'string'
},
'DirectoryStructure': 'SINGLE_DIRECTORY'|'SUBDIRECTORY_PER_STREAM',
'EncryptionType': 'AES128'|'SAMPLE_AES',
'HlsCdnSettings': {
'HlsAkamaiSettings': {
'ConnectionRetryInterval': 123,
'FilecacheDuration': 123,
'HttpTransferMode': 'CHUNKED'|'NON_CHUNKED',
'NumRetries': 123,
'RestartDelay': 123,
'Salt': 'string',
'Token': 'string'
},
'HlsBasicPutSettings': {
'ConnectionRetryInterval': 123,
'FilecacheDuration': 123,
'NumRetries': 123,
'RestartDelay': 123
},
'HlsMediaStoreSettings': {
'ConnectionRetryInterval': 123,
'FilecacheDuration': 123,
'MediaStoreStorageClass': 'TEMPORAL',
'NumRetries': 123,
'RestartDelay': 123
},
'HlsWebdavSettings': {
'ConnectionRetryInterval': 123,
'FilecacheDuration': 123,
'HttpTransferMode': 'CHUNKED'|'NON_CHUNKED',
'NumRetries': 123,
'RestartDelay': 123
}
},
'IndexNSegments': 123,
'InputLossAction': 'EMIT_OUTPUT'|'PAUSE_OUTPUT',
'IvInManifest': 'EXCLUDE'|'INCLUDE',
'IvSource': 'EXPLICIT'|'FOLLOWS_SEGMENT_NUMBER',
'KeepSegments': 123,
'KeyFormat': 'string',
'KeyFormatVersions': 'string',
'KeyProviderSettings': {
'StaticKeySettings': {
'KeyProviderServer': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'StaticKeyValue': 'string'
}
},
'ManifestCompression': 'GZIP'|'NONE',
'ManifestDurationFormat': 'FLOATING_POINT'|'INTEGER',
'MinSegmentLength': 123,
'Mode': 'LIVE'|'VOD',
'OutputSelection': 'MANIFESTS_AND_SEGMENTS'|'SEGMENTS_ONLY',
'ProgramDateTime': 'EXCLUDE'|'INCLUDE',
'ProgramDateTimePeriod': 123,
'SegmentLength': 123,
'SegmentationMode': 'USE_INPUT_SEGMENTATION'|'USE_SEGMENT_DURATION',
'SegmentsPerSubdirectory': 123,
'StreamInfResolution': 'EXCLUDE'|'INCLUDE',
'TimedMetadataId3Frame': 'NONE'|'PRIV'|'TDRL',
'TimedMetadataId3Period': 123,
'TimestampDeltaMilliseconds': 123,
'TsFileMode': 'SEGMENTED_FILES'|'SINGLE_FILE'
},
'MsSmoothGroupSettings': {
'AcquisitionPointId': 'string',
'AudioOnlyTimecodeControl': 'PASSTHROUGH'|'USE_CONFIGURED_CLOCK',
'CertificateMode': 'SELF_SIGNED'|'VERIFY_AUTHENTICITY',
'ConnectionRetryInterval': 123,
'Destination': {
'DestinationRefId': 'string'
},
'EventId': 'string',
'EventIdMode': 'NO_EVENT_ID'|'USE_CONFIGURED'|'USE_TIMESTAMP',
'EventStopBehavior': 'NONE'|'SEND_EOS',
'FilecacheDuration': 123,
'FragmentLength': 123,
'InputLossAction': 'EMIT_OUTPUT'|'PAUSE_OUTPUT',
'NumRetries': 123,
'RestartDelay': 123,
'SegmentationMode': 'USE_INPUT_SEGMENTATION'|'USE_SEGMENT_DURATION',
'SendDelayMs': 123,
'SparseTrackType': 'NONE'|'SCTE_35',
'StreamManifestBehavior': 'DO_NOT_SEND'|'SEND',
'TimestampOffset': 'string',
'TimestampOffsetMode': 'USE_CONFIGURED_OFFSET'|'USE_EVENT_START_DATE'
},
'RtmpGroupSettings': {
'AuthenticationScheme': 'AKAMAI'|'COMMON',
'CacheFullBehavior': 'DISCONNECT_IMMEDIATELY'|'WAIT_FOR_SERVER',
'CacheLength': 123,
'CaptionData': 'ALL'|'FIELD1_608'|'FIELD1_AND_FIELD2_608',
'RestartDelay': 123
},
'UdpGroupSettings': {
'InputLossAction': 'DROP_PROGRAM'|'DROP_TS'|'EMIT_PROGRAM',
'TimedMetadataId3Frame': 'NONE'|'PRIV'|'TDRL',
'TimedMetadataId3Period': 123
}
},
'Outputs': [
{
'AudioDescriptionNames': [
'string',
],
'CaptionDescriptionNames': [
'string',
],
'OutputName': 'string',
'OutputSettings': {
'ArchiveOutputSettings': {
'ContainerSettings': {
'M2tsSettings': {
'AbsentInputAudioBehavior': 'DROP'|'ENCODE_SILENCE',
'Arib': 'DISABLED'|'ENABLED',
'AribCaptionsPid': 'string',
'AribCaptionsPidControl': 'AUTO'|'USE_CONFIGURED',
'AudioBufferModel': 'ATSC'|'DVB',
'AudioFramesPerPes': 123,
'AudioPids': 'string',
'AudioStreamType': 'ATSC'|'DVB',
'Bitrate': 123,
'BufferModel': 'MULTIPLEX'|'NONE',
'CcDescriptor': 'DISABLED'|'ENABLED',
'DvbNitSettings': {
'NetworkId': 123,
'NetworkName': 'string',
'RepInterval': 123
},
'DvbSdtSettings': {
'OutputSdt': 'SDT_FOLLOW'|'SDT_FOLLOW_IF_PRESENT'|'SDT_MANUAL'|'SDT_NONE',
'RepInterval': 123,
'ServiceName': 'string',
'ServiceProviderName': 'string'
},
'DvbSubPids': 'string',
'DvbTdtSettings': {
'RepInterval': 123
},
'DvbTeletextPid': 'string',
'Ebif': 'NONE'|'PASSTHROUGH',
'EbpAudioInterval': 'VIDEO_AND_FIXED_INTERVALS'|'VIDEO_INTERVAL',
'EbpLookaheadMs': 123,
'EbpPlacement': 'VIDEO_AND_AUDIO_PIDS'|'VIDEO_PID',
'EcmPid': 'string',
'EsRateInPes': 'EXCLUDE'|'INCLUDE',
'EtvPlatformPid': 'string',
'EtvSignalPid': 'string',
'FragmentTime': 123.0,
'Klv': 'NONE'|'PASSTHROUGH',
'KlvDataPids': 'string',
'NullPacketBitrate': 123.0,
'PatInterval': 123,
'PcrControl': 'CONFIGURED_PCR_PERIOD'|'PCR_EVERY_PES_PACKET',
'PcrPeriod': 123,
'PcrPid': 'string',
'PmtInterval': 123,
'PmtPid': 'string',
'ProgramNum': 123,
'RateMode': 'CBR'|'VBR',
'Scte27Pids': 'string',
'Scte35Control': 'NONE'|'PASSTHROUGH',
'Scte35Pid': 'string',
'SegmentationMarkers': 'EBP'|'EBP_LEGACY'|'NONE'|'PSI_SEGSTART'|'RAI_ADAPT'|'RAI_SEGSTART',
'SegmentationStyle': 'MAINTAIN_CADENCE'|'RESET_CADENCE',
'SegmentationTime': 123.0,
'TimedMetadataBehavior': 'NO_PASSTHROUGH'|'PASSTHROUGH',
'TimedMetadataPid': 'string',
'TransportStreamId': 123,
'VideoPid': 'string'
}
},
'Extension': 'string',
'NameModifier': 'string'
},
'HlsOutputSettings': {
'HlsSettings': {
'AudioOnlyHlsSettings': {
'AudioGroupId': 'string',
'AudioOnlyImage': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'AudioTrackType': 'ALTERNATE_AUDIO_AUTO_SELECT'|'ALTERNATE_AUDIO_AUTO_SELECT_DEFAULT'|'ALTERNATE_AUDIO_NOT_AUTO_SELECT'|'AUDIO_ONLY_VARIANT_STREAM'
},
'StandardHlsSettings': {
'AudioRenditionSets': 'string',
'M3u8Settings': {
'AudioFramesPerPes': 123,
'AudioPids': 'string',
'EcmPid': 'string',
'PatInterval': 123,
'PcrControl': 'CONFIGURED_PCR_PERIOD'|'PCR_EVERY_PES_PACKET',
'PcrPeriod': 123,
'PcrPid': 'string',
'PmtInterval': 123,
'PmtPid': 'string',
'ProgramNum': 123,
'Scte35Behavior': 'NO_PASSTHROUGH'|'PASSTHROUGH',
'Scte35Pid': 'string',
'TimedMetadataBehavior': 'NO_PASSTHROUGH'|'PASSTHROUGH',
'TimedMetadataPid': 'string',
'TransportStreamId': 123,
'VideoPid': 'string'
}
}
},
'NameModifier': 'string',
'SegmentModifier': 'string'
},
'MsSmoothOutputSettings': {
'NameModifier': 'string'
},
'RtmpOutputSettings': {
'CertificateMode': 'SELF_SIGNED'|'VERIFY_AUTHENTICITY',
'ConnectionRetryInterval': 123,
'Destination': {
'DestinationRefId': 'string'
},
'NumRetries': 123
},
'UdpOutputSettings': {
'BufferMsec': 123,
'ContainerSettings': {
'M2tsSettings': {
'AbsentInputAudioBehavior': 'DROP'|'ENCODE_SILENCE',
'Arib': 'DISABLED'|'ENABLED',
'AribCaptionsPid': 'string',
'AribCaptionsPidControl': 'AUTO'|'USE_CONFIGURED',
'AudioBufferModel': 'ATSC'|'DVB',
'AudioFramesPerPes': 123,
'AudioPids': 'string',
'AudioStreamType': 'ATSC'|'DVB',
'Bitrate': 123,
'BufferModel': 'MULTIPLEX'|'NONE',
'CcDescriptor': 'DISABLED'|'ENABLED',
'DvbNitSettings': {
'NetworkId': 123,
'NetworkName': 'string',
'RepInterval': 123
},
'DvbSdtSettings': {
'OutputSdt': 'SDT_FOLLOW'|'SDT_FOLLOW_IF_PRESENT'|'SDT_MANUAL'|'SDT_NONE',
'RepInterval': 123,
'ServiceName': 'string',
'ServiceProviderName': 'string'
},
'DvbSubPids': 'string',
'DvbTdtSettings': {
'RepInterval': 123
},
'DvbTeletextPid': 'string',
'Ebif': 'NONE'|'PASSTHROUGH',
'EbpAudioInterval': 'VIDEO_AND_FIXED_INTERVALS'|'VIDEO_INTERVAL',
'EbpLookaheadMs': 123,
'EbpPlacement': 'VIDEO_AND_AUDIO_PIDS'|'VIDEO_PID',
'EcmPid': 'string',
'EsRateInPes': 'EXCLUDE'|'INCLUDE',
'EtvPlatformPid': 'string',
'EtvSignalPid': 'string',
'FragmentTime': 123.0,
'Klv': 'NONE'|'PASSTHROUGH',
'KlvDataPids': 'string',
'NullPacketBitrate': 123.0,
'PatInterval': 123,
'PcrControl': 'CONFIGURED_PCR_PERIOD'|'PCR_EVERY_PES_PACKET',
'PcrPeriod': 123,
'PcrPid': 'string',
'PmtInterval': 123,
'PmtPid': 'string',
'ProgramNum': 123,
'RateMode': 'CBR'|'VBR',
'Scte27Pids': 'string',
'Scte35Control': 'NONE'|'PASSTHROUGH',
'Scte35Pid': 'string',
'SegmentationMarkers': 'EBP'|'EBP_LEGACY'|'NONE'|'PSI_SEGSTART'|'RAI_ADAPT'|'RAI_SEGSTART',
'SegmentationStyle': 'MAINTAIN_CADENCE'|'RESET_CADENCE',
'SegmentationTime': 123.0,
'TimedMetadataBehavior': 'NO_PASSTHROUGH'|'PASSTHROUGH',
'TimedMetadataPid': 'string',
'TransportStreamId': 123,
'VideoPid': 'string'
}
},
'Destination': {
'DestinationRefId': 'string'
},
'FecOutputSettings': {
'ColumnDepth': 123,
'IncludeFec': 'COLUMN'|'COLUMN_AND_ROW',
'RowLength': 123
}
}
},
'VideoDescriptionName': 'string'
},
]
},
],
'TimecodeConfig': {
'Source': 'EMBEDDED'|'SYSTEMCLOCK'|'ZEROBASED',
'SyncThreshold': 123
},
'VideoDescriptions': [
{
'CodecSettings': {
'H264Settings': {
'AdaptiveQuantization': 'HIGH'|'HIGHER'|'LOW'|'MAX'|'MEDIUM'|'OFF',
'AfdSignaling': 'AUTO'|'FIXED'|'NONE',
'Bitrate': 123,
'BufFillPct': 123,
'BufSize': 123,
'ColorMetadata': 'IGNORE'|'INSERT',
'EntropyEncoding': 'CABAC'|'CAVLC',
'FixedAfd': 'AFD_0000'|'AFD_0010'|'AFD_0011'|'AFD_0100'|'AFD_1000'|'AFD_1001'|'AFD_1010'|'AFD_1011'|'AFD_1101'|'AFD_1110'|'AFD_1111',
'FlickerAq': 'DISABLED'|'ENABLED',
'FramerateControl': 'INITIALIZE_FROM_SOURCE'|'SPECIFIED',
'FramerateDenominator': 123,
'FramerateNumerator': 123,
'GopBReference': 'DISABLED'|'ENABLED',
'GopClosedCadence': 123,
'GopNumBFrames': 123,
'GopSize': 123.0,
'GopSizeUnits': 'FRAMES'|'SECONDS',
'Level': 'H264_LEVEL_1'|'H264_LEVEL_1_1'|'H264_LEVEL_1_2'|'H264_LEVEL_1_3'|'H264_LEVEL_2'|'H264_LEVEL_2_1'|'H264_LEVEL_2_2'|'H264_LEVEL_3'|'H264_LEVEL_3_1'|'H264_LEVEL_3_2'|'H264_LEVEL_4'|'H264_LEVEL_4_1'|'H264_LEVEL_4_2'|'H264_LEVEL_5'|'H264_LEVEL_5_1'|'H264_LEVEL_5_2'|'H264_LEVEL_AUTO',
'LookAheadRateControl': 'HIGH'|'LOW'|'MEDIUM',
'MaxBitrate': 123,
'MinIInterval': 123,
'NumRefFrames': 123,
'ParControl': 'INITIALIZE_FROM_SOURCE'|'SPECIFIED',
'ParDenominator': 123,
'ParNumerator': 123,
'Profile': 'BASELINE'|'HIGH'|'HIGH_10BIT'|'HIGH_422'|'HIGH_422_10BIT'|'MAIN',
'RateControlMode': 'CBR'|'VBR',
'ScanType': 'INTERLACED'|'PROGRESSIVE',
'SceneChangeDetect': 'DISABLED'|'ENABLED',
'Slices': 123,
'Softness': 123,
'SpatialAq': 'DISABLED'|'ENABLED',
'Syntax': 'DEFAULT'|'RP2027',
'TemporalAq': 'DISABLED'|'ENABLED',
'TimecodeInsertion': 'DISABLED'|'PIC_TIMING_SEI'
}
},
'Height': 123,
'Name': 'string',
'RespondToAfd': 'NONE'|'PASSTHROUGH'|'RESPOND',
'ScalingBehavior': 'DEFAULT'|'STRETCH_TO_OUTPUT',
'Sharpness': 123,
'Width': 123
},
]
},
'Id': 'string',
'InputAttachments': [
{
'InputId': 'string',
'InputSettings': {
'AudioSelectors': [
{
'Name': 'string',
'SelectorSettings': {
'AudioLanguageSelection': {
'LanguageCode': 'string',
'LanguageSelectionPolicy': 'LOOSE'|'STRICT'
},
'AudioPidSelection': {
'Pid': 123
}
}
},
],
'CaptionSelectors': [
{
'LanguageCode': 'string',
'Name': 'string',
'SelectorSettings': {
'AribSourceSettings': {},
'DvbSubSourceSettings': {
'Pid': 123
},
'EmbeddedSourceSettings': {
'Convert608To708': 'DISABLED'|'UPCONVERT',
'Scte20Detection': 'AUTO'|'OFF',
'Source608ChannelNumber': 123,
'Source608TrackNumber': 123
},
'Scte20SourceSettings': {
'Convert608To708': 'DISABLED'|'UPCONVERT',
'Source608ChannelNumber': 123
},
'Scte27SourceSettings': {
'Pid': 123
},
'TeletextSourceSettings': {
'PageNumber': 'string'
}
}
},
],
'DeblockFilter': 'DISABLED'|'ENABLED',
'DenoiseFilter': 'DISABLED'|'ENABLED',
'FilterStrength': 123,
'InputFilter': 'AUTO'|'DISABLED'|'FORCED',
'NetworkInputSettings': {
'HlsInputSettings': {
'Bandwidth': 123,
'BufferSegments': 123,
'Retries': 123,
'RetryInterval': 123
},
'ServerValidation': 'CHECK_CRYPTOGRAPHY_AND_VALIDATE_NAME'|'CHECK_CRYPTOGRAPHY_ONLY'
},
'SourceEndBehavior': 'CONTINUE'|'LOOP',
'VideoSelector': {
'ColorSpace': 'FOLLOW'|'REC_601'|'REC_709',
'ColorSpaceUsage': 'FALLBACK'|'FORCE',
'SelectorSettings': {
'VideoSelectorPid': {
'Pid': 123
},
'VideoSelectorProgramId': {
'ProgramId': 123
}
}
}
}
},
],
'InputSpecification': {
'Codec': 'MPEG2'|'AVC'|'HEVC',
'MaximumBitrate': 'MAX_10_MBPS'|'MAX_20_MBPS'|'MAX_50_MBPS',
'Resolution': 'SD'|'HD'|'UHD'
},
'LogLevel': 'ERROR'|'WARNING'|'INFO'|'DEBUG'|'DISABLED',
'Name': 'string',
'PipelinesRunningCount': 123,
'RoleArn': 'string',
'State': 'CREATING'|'CREATE_FAILED'|'IDLE'|'STARTING'|'RUNNING'|'RECOVERING'|'STOPPING'|'DELETING'|'DELETED'
}
}
Response Structure
Create an input
See also: AWS API Documentation
Request Syntax
response = client.create_input(
Destinations=[
{
'StreamName': 'string'
},
],
InputSecurityGroups=[
'string',
],
Name='string',
RequestId='string',
Sources=[
{
'PasswordParam': 'string',
'Url': 'string',
'Username': 'string'
},
],
Type='UDP_PUSH'|'RTP_PUSH'|'RTMP_PUSH'|'RTMP_PULL'|'URL_PULL'
)
Destination settings for PUSH type inputs.
A list of security groups referenced by IDs to attach to the input.
The source URLs for a PULL-type input. Every PULL type input needs exactly two source URLs for redundancy. Only specify sources for PULL type Inputs. Leave Destinations empty.
dict
Response Syntax
{
'Input': {
'Arn': 'string',
'AttachedChannels': [
'string',
],
'Destinations': [
{
'Ip': 'string',
'Port': 'string',
'Url': 'string'
},
],
'Id': 'string',
'Name': 'string',
'SecurityGroups': [
'string',
],
'Sources': [
{
'PasswordParam': 'string',
'Url': 'string',
'Username': 'string'
},
],
'State': 'CREATING'|'DETACHED'|'ATTACHED'|'DELETING'|'DELETED',
'Type': 'UDP_PUSH'|'RTP_PUSH'|'RTMP_PUSH'|'RTMP_PULL'|'URL_PULL'
}
}
Response Structure
Creates a Input Security Group
See also: AWS API Documentation
Request Syntax
response = client.create_input_security_group(
WhitelistRules=[
{
'Cidr': 'string'
},
]
)
List of IPv4 CIDR addresses to whitelist
{
'SecurityGroup': {
'Arn': 'string',
'Id': 'string',
'Inputs': [
'string',
],
'State': 'IDLE'|'IN_USE'|'UPDATING'|'DELETED',
'WhitelistRules': [
{
'Cidr': 'string'
},
]
}
}
Response Structure
Starts deletion of channel. The associated outputs are also deleted.
See also: AWS API Documentation
Request Syntax
response = client.delete_channel(
ChannelId='string'
)
{
'Arn': 'string',
'Destinations': [
{
'Id': 'string',
'Settings': [
{
'PasswordParam': 'string',
'StreamName': 'string',
'Url': 'string',
'Username': 'string'
},
]
},
],
'EgressEndpoints': [
{
'SourceIp': 'string'
},
],
'EncoderSettings': {
'AudioDescriptions': [
{
'AudioNormalizationSettings': {
'Algorithm': 'ITU_1770_1'|'ITU_1770_2',
'AlgorithmControl': 'CORRECT_AUDIO',
'TargetLkfs': 123.0
},
'AudioSelectorName': 'string',
'AudioType': 'CLEAN_EFFECTS'|'HEARING_IMPAIRED'|'UNDEFINED'|'VISUAL_IMPAIRED_COMMENTARY',
'AudioTypeControl': 'FOLLOW_INPUT'|'USE_CONFIGURED',
'CodecSettings': {
'AacSettings': {
'Bitrate': 123.0,
'CodingMode': 'AD_RECEIVER_MIX'|'CODING_MODE_1_0'|'CODING_MODE_1_1'|'CODING_MODE_2_0'|'CODING_MODE_5_1',
'InputType': 'BROADCASTER_MIXED_AD'|'NORMAL',
'Profile': 'HEV1'|'HEV2'|'LC',
'RateControlMode': 'CBR'|'VBR',
'RawFormat': 'LATM_LOAS'|'NONE',
'SampleRate': 123.0,
'Spec': 'MPEG2'|'MPEG4',
'VbrQuality': 'HIGH'|'LOW'|'MEDIUM_HIGH'|'MEDIUM_LOW'
},
'Ac3Settings': {
'Bitrate': 123.0,
'BitstreamMode': 'COMMENTARY'|'COMPLETE_MAIN'|'DIALOGUE'|'EMERGENCY'|'HEARING_IMPAIRED'|'MUSIC_AND_EFFECTS'|'VISUALLY_IMPAIRED'|'VOICE_OVER',
'CodingMode': 'CODING_MODE_1_0'|'CODING_MODE_1_1'|'CODING_MODE_2_0'|'CODING_MODE_3_2_LFE',
'Dialnorm': 123,
'DrcProfile': 'FILM_STANDARD'|'NONE',
'LfeFilter': 'DISABLED'|'ENABLED',
'MetadataControl': 'FOLLOW_INPUT'|'USE_CONFIGURED'
},
'Eac3Settings': {
'AttenuationControl': 'ATTENUATE_3_DB'|'NONE',
'Bitrate': 123.0,
'BitstreamMode': 'COMMENTARY'|'COMPLETE_MAIN'|'EMERGENCY'|'HEARING_IMPAIRED'|'VISUALLY_IMPAIRED',
'CodingMode': 'CODING_MODE_1_0'|'CODING_MODE_2_0'|'CODING_MODE_3_2',
'DcFilter': 'DISABLED'|'ENABLED',
'Dialnorm': 123,
'DrcLine': 'FILM_LIGHT'|'FILM_STANDARD'|'MUSIC_LIGHT'|'MUSIC_STANDARD'|'NONE'|'SPEECH',
'DrcRf': 'FILM_LIGHT'|'FILM_STANDARD'|'MUSIC_LIGHT'|'MUSIC_STANDARD'|'NONE'|'SPEECH',
'LfeControl': 'LFE'|'NO_LFE',
'LfeFilter': 'DISABLED'|'ENABLED',
'LoRoCenterMixLevel': 123.0,
'LoRoSurroundMixLevel': 123.0,
'LtRtCenterMixLevel': 123.0,
'LtRtSurroundMixLevel': 123.0,
'MetadataControl': 'FOLLOW_INPUT'|'USE_CONFIGURED',
'PassthroughControl': 'NO_PASSTHROUGH'|'WHEN_POSSIBLE',
'PhaseControl': 'NO_SHIFT'|'SHIFT_90_DEGREES',
'StereoDownmix': 'DPL2'|'LO_RO'|'LT_RT'|'NOT_INDICATED',
'SurroundExMode': 'DISABLED'|'ENABLED'|'NOT_INDICATED',
'SurroundMode': 'DISABLED'|'ENABLED'|'NOT_INDICATED'
},
'Mp2Settings': {
'Bitrate': 123.0,
'CodingMode': 'CODING_MODE_1_0'|'CODING_MODE_2_0',
'SampleRate': 123.0
},
'PassThroughSettings': {}
},
'LanguageCode': 'string',
'LanguageCodeControl': 'FOLLOW_INPUT'|'USE_CONFIGURED',
'Name': 'string',
'RemixSettings': {
'ChannelMappings': [
{
'InputChannelLevels': [
{
'Gain': 123,
'InputChannel': 123
},
],
'OutputChannel': 123
},
],
'ChannelsIn': 123,
'ChannelsOut': 123
},
'StreamName': 'string'
},
],
'AvailBlanking': {
'AvailBlankingImage': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'State': 'DISABLED'|'ENABLED'
},
'AvailConfiguration': {
'AvailSettings': {
'Scte35SpliceInsert': {
'AdAvailOffset': 123,
'NoRegionalBlackoutFlag': 'FOLLOW'|'IGNORE',
'WebDeliveryAllowedFlag': 'FOLLOW'|'IGNORE'
},
'Scte35TimeSignalApos': {
'AdAvailOffset': 123,
'NoRegionalBlackoutFlag': 'FOLLOW'|'IGNORE',
'WebDeliveryAllowedFlag': 'FOLLOW'|'IGNORE'
}
}
},
'BlackoutSlate': {
'BlackoutSlateImage': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'NetworkEndBlackout': 'DISABLED'|'ENABLED',
'NetworkEndBlackoutImage': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'NetworkId': 'string',
'State': 'DISABLED'|'ENABLED'
},
'CaptionDescriptions': [
{
'CaptionSelectorName': 'string',
'DestinationSettings': {
'AribDestinationSettings': {},
'BurnInDestinationSettings': {
'Alignment': 'CENTERED'|'LEFT'|'SMART',
'BackgroundColor': 'BLACK'|'NONE'|'WHITE',
'BackgroundOpacity': 123,
'Font': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'FontColor': 'BLACK'|'BLUE'|'GREEN'|'RED'|'WHITE'|'YELLOW',
'FontOpacity': 123,
'FontResolution': 123,
'FontSize': 'string',
'OutlineColor': 'BLACK'|'BLUE'|'GREEN'|'RED'|'WHITE'|'YELLOW',
'OutlineSize': 123,
'ShadowColor': 'BLACK'|'NONE'|'WHITE',
'ShadowOpacity': 123,
'ShadowXOffset': 123,
'ShadowYOffset': 123,
'TeletextGridControl': 'FIXED'|'SCALED',
'XPosition': 123,
'YPosition': 123
},
'DvbSubDestinationSettings': {
'Alignment': 'CENTERED'|'LEFT'|'SMART',
'BackgroundColor': 'BLACK'|'NONE'|'WHITE',
'BackgroundOpacity': 123,
'Font': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'FontColor': 'BLACK'|'BLUE'|'GREEN'|'RED'|'WHITE'|'YELLOW',
'FontOpacity': 123,
'FontResolution': 123,
'FontSize': 'string',
'OutlineColor': 'BLACK'|'BLUE'|'GREEN'|'RED'|'WHITE'|'YELLOW',
'OutlineSize': 123,
'ShadowColor': 'BLACK'|'NONE'|'WHITE',
'ShadowOpacity': 123,
'ShadowXOffset': 123,
'ShadowYOffset': 123,
'TeletextGridControl': 'FIXED'|'SCALED',
'XPosition': 123,
'YPosition': 123
},
'EmbeddedDestinationSettings': {},
'EmbeddedPlusScte20DestinationSettings': {},
'RtmpCaptionInfoDestinationSettings': {},
'Scte20PlusEmbeddedDestinationSettings': {},
'Scte27DestinationSettings': {},
'SmpteTtDestinationSettings': {},
'TeletextDestinationSettings': {},
'TtmlDestinationSettings': {
'StyleControl': 'PASSTHROUGH'|'USE_CONFIGURED'
},
'WebvttDestinationSettings': {}
},
'LanguageCode': 'string',
'LanguageDescription': 'string',
'Name': 'string'
},
],
'GlobalConfiguration': {
'InitialAudioGain': 123,
'InputEndAction': 'NONE'|'SWITCH_AND_LOOP_INPUTS',
'InputLossBehavior': {
'BlackFrameMsec': 123,
'InputLossImageColor': 'string',
'InputLossImageSlate': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'InputLossImageType': 'COLOR'|'SLATE',
'RepeatFrameMsec': 123
},
'OutputTimingSource': 'INPUT_CLOCK'|'SYSTEM_CLOCK',
'SupportLowFramerateInputs': 'DISABLED'|'ENABLED'
},
'OutputGroups': [
{
'Name': 'string',
'OutputGroupSettings': {
'ArchiveGroupSettings': {
'Destination': {
'DestinationRefId': 'string'
},
'RolloverInterval': 123
},
'HlsGroupSettings': {
'AdMarkers': [
'ADOBE'|'ELEMENTAL'|'ELEMENTAL_SCTE35',
],
'BaseUrlContent': 'string',
'BaseUrlManifest': 'string',
'CaptionLanguageMappings': [
{
'CaptionChannel': 123,
'LanguageCode': 'string',
'LanguageDescription': 'string'
},
],
'CaptionLanguageSetting': 'INSERT'|'NONE'|'OMIT',
'ClientCache': 'DISABLED'|'ENABLED',
'CodecSpecification': 'RFC_4281'|'RFC_6381',
'ConstantIv': 'string',
'Destination': {
'DestinationRefId': 'string'
},
'DirectoryStructure': 'SINGLE_DIRECTORY'|'SUBDIRECTORY_PER_STREAM',
'EncryptionType': 'AES128'|'SAMPLE_AES',
'HlsCdnSettings': {
'HlsAkamaiSettings': {
'ConnectionRetryInterval': 123,
'FilecacheDuration': 123,
'HttpTransferMode': 'CHUNKED'|'NON_CHUNKED',
'NumRetries': 123,
'RestartDelay': 123,
'Salt': 'string',
'Token': 'string'
},
'HlsBasicPutSettings': {
'ConnectionRetryInterval': 123,
'FilecacheDuration': 123,
'NumRetries': 123,
'RestartDelay': 123
},
'HlsMediaStoreSettings': {
'ConnectionRetryInterval': 123,
'FilecacheDuration': 123,
'MediaStoreStorageClass': 'TEMPORAL',
'NumRetries': 123,
'RestartDelay': 123
},
'HlsWebdavSettings': {
'ConnectionRetryInterval': 123,
'FilecacheDuration': 123,
'HttpTransferMode': 'CHUNKED'|'NON_CHUNKED',
'NumRetries': 123,
'RestartDelay': 123
}
},
'IndexNSegments': 123,
'InputLossAction': 'EMIT_OUTPUT'|'PAUSE_OUTPUT',
'IvInManifest': 'EXCLUDE'|'INCLUDE',
'IvSource': 'EXPLICIT'|'FOLLOWS_SEGMENT_NUMBER',
'KeepSegments': 123,
'KeyFormat': 'string',
'KeyFormatVersions': 'string',
'KeyProviderSettings': {
'StaticKeySettings': {
'KeyProviderServer': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'StaticKeyValue': 'string'
}
},
'ManifestCompression': 'GZIP'|'NONE',
'ManifestDurationFormat': 'FLOATING_POINT'|'INTEGER',
'MinSegmentLength': 123,
'Mode': 'LIVE'|'VOD',
'OutputSelection': 'MANIFESTS_AND_SEGMENTS'|'SEGMENTS_ONLY',
'ProgramDateTime': 'EXCLUDE'|'INCLUDE',
'ProgramDateTimePeriod': 123,
'SegmentLength': 123,
'SegmentationMode': 'USE_INPUT_SEGMENTATION'|'USE_SEGMENT_DURATION',
'SegmentsPerSubdirectory': 123,
'StreamInfResolution': 'EXCLUDE'|'INCLUDE',
'TimedMetadataId3Frame': 'NONE'|'PRIV'|'TDRL',
'TimedMetadataId3Period': 123,
'TimestampDeltaMilliseconds': 123,
'TsFileMode': 'SEGMENTED_FILES'|'SINGLE_FILE'
},
'MsSmoothGroupSettings': {
'AcquisitionPointId': 'string',
'AudioOnlyTimecodeControl': 'PASSTHROUGH'|'USE_CONFIGURED_CLOCK',
'CertificateMode': 'SELF_SIGNED'|'VERIFY_AUTHENTICITY',
'ConnectionRetryInterval': 123,
'Destination': {
'DestinationRefId': 'string'
},
'EventId': 'string',
'EventIdMode': 'NO_EVENT_ID'|'USE_CONFIGURED'|'USE_TIMESTAMP',
'EventStopBehavior': 'NONE'|'SEND_EOS',
'FilecacheDuration': 123,
'FragmentLength': 123,
'InputLossAction': 'EMIT_OUTPUT'|'PAUSE_OUTPUT',
'NumRetries': 123,
'RestartDelay': 123,
'SegmentationMode': 'USE_INPUT_SEGMENTATION'|'USE_SEGMENT_DURATION',
'SendDelayMs': 123,
'SparseTrackType': 'NONE'|'SCTE_35',
'StreamManifestBehavior': 'DO_NOT_SEND'|'SEND',
'TimestampOffset': 'string',
'TimestampOffsetMode': 'USE_CONFIGURED_OFFSET'|'USE_EVENT_START_DATE'
},
'RtmpGroupSettings': {
'AuthenticationScheme': 'AKAMAI'|'COMMON',
'CacheFullBehavior': 'DISCONNECT_IMMEDIATELY'|'WAIT_FOR_SERVER',
'CacheLength': 123,
'CaptionData': 'ALL'|'FIELD1_608'|'FIELD1_AND_FIELD2_608',
'RestartDelay': 123
},
'UdpGroupSettings': {
'InputLossAction': 'DROP_PROGRAM'|'DROP_TS'|'EMIT_PROGRAM',
'TimedMetadataId3Frame': 'NONE'|'PRIV'|'TDRL',
'TimedMetadataId3Period': 123
}
},
'Outputs': [
{
'AudioDescriptionNames': [
'string',
],
'CaptionDescriptionNames': [
'string',
],
'OutputName': 'string',
'OutputSettings': {
'ArchiveOutputSettings': {
'ContainerSettings': {
'M2tsSettings': {
'AbsentInputAudioBehavior': 'DROP'|'ENCODE_SILENCE',
'Arib': 'DISABLED'|'ENABLED',
'AribCaptionsPid': 'string',
'AribCaptionsPidControl': 'AUTO'|'USE_CONFIGURED',
'AudioBufferModel': 'ATSC'|'DVB',
'AudioFramesPerPes': 123,
'AudioPids': 'string',
'AudioStreamType': 'ATSC'|'DVB',
'Bitrate': 123,
'BufferModel': 'MULTIPLEX'|'NONE',
'CcDescriptor': 'DISABLED'|'ENABLED',
'DvbNitSettings': {
'NetworkId': 123,
'NetworkName': 'string',
'RepInterval': 123
},
'DvbSdtSettings': {
'OutputSdt': 'SDT_FOLLOW'|'SDT_FOLLOW_IF_PRESENT'|'SDT_MANUAL'|'SDT_NONE',
'RepInterval': 123,
'ServiceName': 'string',
'ServiceProviderName': 'string'
},
'DvbSubPids': 'string',
'DvbTdtSettings': {
'RepInterval': 123
},
'DvbTeletextPid': 'string',
'Ebif': 'NONE'|'PASSTHROUGH',
'EbpAudioInterval': 'VIDEO_AND_FIXED_INTERVALS'|'VIDEO_INTERVAL',
'EbpLookaheadMs': 123,
'EbpPlacement': 'VIDEO_AND_AUDIO_PIDS'|'VIDEO_PID',
'EcmPid': 'string',
'EsRateInPes': 'EXCLUDE'|'INCLUDE',
'EtvPlatformPid': 'string',
'EtvSignalPid': 'string',
'FragmentTime': 123.0,
'Klv': 'NONE'|'PASSTHROUGH',
'KlvDataPids': 'string',
'NullPacketBitrate': 123.0,
'PatInterval': 123,
'PcrControl': 'CONFIGURED_PCR_PERIOD'|'PCR_EVERY_PES_PACKET',
'PcrPeriod': 123,
'PcrPid': 'string',
'PmtInterval': 123,
'PmtPid': 'string',
'ProgramNum': 123,
'RateMode': 'CBR'|'VBR',
'Scte27Pids': 'string',
'Scte35Control': 'NONE'|'PASSTHROUGH',
'Scte35Pid': 'string',
'SegmentationMarkers': 'EBP'|'EBP_LEGACY'|'NONE'|'PSI_SEGSTART'|'RAI_ADAPT'|'RAI_SEGSTART',
'SegmentationStyle': 'MAINTAIN_CADENCE'|'RESET_CADENCE',
'SegmentationTime': 123.0,
'TimedMetadataBehavior': 'NO_PASSTHROUGH'|'PASSTHROUGH',
'TimedMetadataPid': 'string',
'TransportStreamId': 123,
'VideoPid': 'string'
}
},
'Extension': 'string',
'NameModifier': 'string'
},
'HlsOutputSettings': {
'HlsSettings': {
'AudioOnlyHlsSettings': {
'AudioGroupId': 'string',
'AudioOnlyImage': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'AudioTrackType': 'ALTERNATE_AUDIO_AUTO_SELECT'|'ALTERNATE_AUDIO_AUTO_SELECT_DEFAULT'|'ALTERNATE_AUDIO_NOT_AUTO_SELECT'|'AUDIO_ONLY_VARIANT_STREAM'
},
'StandardHlsSettings': {
'AudioRenditionSets': 'string',
'M3u8Settings': {
'AudioFramesPerPes': 123,
'AudioPids': 'string',
'EcmPid': 'string',
'PatInterval': 123,
'PcrControl': 'CONFIGURED_PCR_PERIOD'|'PCR_EVERY_PES_PACKET',
'PcrPeriod': 123,
'PcrPid': 'string',
'PmtInterval': 123,
'PmtPid': 'string',
'ProgramNum': 123,
'Scte35Behavior': 'NO_PASSTHROUGH'|'PASSTHROUGH',
'Scte35Pid': 'string',
'TimedMetadataBehavior': 'NO_PASSTHROUGH'|'PASSTHROUGH',
'TimedMetadataPid': 'string',
'TransportStreamId': 123,
'VideoPid': 'string'
}
}
},
'NameModifier': 'string',
'SegmentModifier': 'string'
},
'MsSmoothOutputSettings': {
'NameModifier': 'string'
},
'RtmpOutputSettings': {
'CertificateMode': 'SELF_SIGNED'|'VERIFY_AUTHENTICITY',
'ConnectionRetryInterval': 123,
'Destination': {
'DestinationRefId': 'string'
},
'NumRetries': 123
},
'UdpOutputSettings': {
'BufferMsec': 123,
'ContainerSettings': {
'M2tsSettings': {
'AbsentInputAudioBehavior': 'DROP'|'ENCODE_SILENCE',
'Arib': 'DISABLED'|'ENABLED',
'AribCaptionsPid': 'string',
'AribCaptionsPidControl': 'AUTO'|'USE_CONFIGURED',
'AudioBufferModel': 'ATSC'|'DVB',
'AudioFramesPerPes': 123,
'AudioPids': 'string',
'AudioStreamType': 'ATSC'|'DVB',
'Bitrate': 123,
'BufferModel': 'MULTIPLEX'|'NONE',
'CcDescriptor': 'DISABLED'|'ENABLED',
'DvbNitSettings': {
'NetworkId': 123,
'NetworkName': 'string',
'RepInterval': 123
},
'DvbSdtSettings': {
'OutputSdt': 'SDT_FOLLOW'|'SDT_FOLLOW_IF_PRESENT'|'SDT_MANUAL'|'SDT_NONE',
'RepInterval': 123,
'ServiceName': 'string',
'ServiceProviderName': 'string'
},
'DvbSubPids': 'string',
'DvbTdtSettings': {
'RepInterval': 123
},
'DvbTeletextPid': 'string',
'Ebif': 'NONE'|'PASSTHROUGH',
'EbpAudioInterval': 'VIDEO_AND_FIXED_INTERVALS'|'VIDEO_INTERVAL',
'EbpLookaheadMs': 123,
'EbpPlacement': 'VIDEO_AND_AUDIO_PIDS'|'VIDEO_PID',
'EcmPid': 'string',
'EsRateInPes': 'EXCLUDE'|'INCLUDE',
'EtvPlatformPid': 'string',
'EtvSignalPid': 'string',
'FragmentTime': 123.0,
'Klv': 'NONE'|'PASSTHROUGH',
'KlvDataPids': 'string',
'NullPacketBitrate': 123.0,
'PatInterval': 123,
'PcrControl': 'CONFIGURED_PCR_PERIOD'|'PCR_EVERY_PES_PACKET',
'PcrPeriod': 123,
'PcrPid': 'string',
'PmtInterval': 123,
'PmtPid': 'string',
'ProgramNum': 123,
'RateMode': 'CBR'|'VBR',
'Scte27Pids': 'string',
'Scte35Control': 'NONE'|'PASSTHROUGH',
'Scte35Pid': 'string',
'SegmentationMarkers': 'EBP'|'EBP_LEGACY'|'NONE'|'PSI_SEGSTART'|'RAI_ADAPT'|'RAI_SEGSTART',
'SegmentationStyle': 'MAINTAIN_CADENCE'|'RESET_CADENCE',
'SegmentationTime': 123.0,
'TimedMetadataBehavior': 'NO_PASSTHROUGH'|'PASSTHROUGH',
'TimedMetadataPid': 'string',
'TransportStreamId': 123,
'VideoPid': 'string'
}
},
'Destination': {
'DestinationRefId': 'string'
},
'FecOutputSettings': {
'ColumnDepth': 123,
'IncludeFec': 'COLUMN'|'COLUMN_AND_ROW',
'RowLength': 123
}
}
},
'VideoDescriptionName': 'string'
},
]
},
],
'TimecodeConfig': {
'Source': 'EMBEDDED'|'SYSTEMCLOCK'|'ZEROBASED',
'SyncThreshold': 123
},
'VideoDescriptions': [
{
'CodecSettings': {
'H264Settings': {
'AdaptiveQuantization': 'HIGH'|'HIGHER'|'LOW'|'MAX'|'MEDIUM'|'OFF',
'AfdSignaling': 'AUTO'|'FIXED'|'NONE',
'Bitrate': 123,
'BufFillPct': 123,
'BufSize': 123,
'ColorMetadata': 'IGNORE'|'INSERT',
'EntropyEncoding': 'CABAC'|'CAVLC',
'FixedAfd': 'AFD_0000'|'AFD_0010'|'AFD_0011'|'AFD_0100'|'AFD_1000'|'AFD_1001'|'AFD_1010'|'AFD_1011'|'AFD_1101'|'AFD_1110'|'AFD_1111',
'FlickerAq': 'DISABLED'|'ENABLED',
'FramerateControl': 'INITIALIZE_FROM_SOURCE'|'SPECIFIED',
'FramerateDenominator': 123,
'FramerateNumerator': 123,
'GopBReference': 'DISABLED'|'ENABLED',
'GopClosedCadence': 123,
'GopNumBFrames': 123,
'GopSize': 123.0,
'GopSizeUnits': 'FRAMES'|'SECONDS',
'Level': 'H264_LEVEL_1'|'H264_LEVEL_1_1'|'H264_LEVEL_1_2'|'H264_LEVEL_1_3'|'H264_LEVEL_2'|'H264_LEVEL_2_1'|'H264_LEVEL_2_2'|'H264_LEVEL_3'|'H264_LEVEL_3_1'|'H264_LEVEL_3_2'|'H264_LEVEL_4'|'H264_LEVEL_4_1'|'H264_LEVEL_4_2'|'H264_LEVEL_5'|'H264_LEVEL_5_1'|'H264_LEVEL_5_2'|'H264_LEVEL_AUTO',
'LookAheadRateControl': 'HIGH'|'LOW'|'MEDIUM',
'MaxBitrate': 123,
'MinIInterval': 123,
'NumRefFrames': 123,
'ParControl': 'INITIALIZE_FROM_SOURCE'|'SPECIFIED',
'ParDenominator': 123,
'ParNumerator': 123,
'Profile': 'BASELINE'|'HIGH'|'HIGH_10BIT'|'HIGH_422'|'HIGH_422_10BIT'|'MAIN',
'RateControlMode': 'CBR'|'VBR',
'ScanType': 'INTERLACED'|'PROGRESSIVE',
'SceneChangeDetect': 'DISABLED'|'ENABLED',
'Slices': 123,
'Softness': 123,
'SpatialAq': 'DISABLED'|'ENABLED',
'Syntax': 'DEFAULT'|'RP2027',
'TemporalAq': 'DISABLED'|'ENABLED',
'TimecodeInsertion': 'DISABLED'|'PIC_TIMING_SEI'
}
},
'Height': 123,
'Name': 'string',
'RespondToAfd': 'NONE'|'PASSTHROUGH'|'RESPOND',
'ScalingBehavior': 'DEFAULT'|'STRETCH_TO_OUTPUT',
'Sharpness': 123,
'Width': 123
},
]
},
'Id': 'string',
'InputAttachments': [
{
'InputId': 'string',
'InputSettings': {
'AudioSelectors': [
{
'Name': 'string',
'SelectorSettings': {
'AudioLanguageSelection': {
'LanguageCode': 'string',
'LanguageSelectionPolicy': 'LOOSE'|'STRICT'
},
'AudioPidSelection': {
'Pid': 123
}
}
},
],
'CaptionSelectors': [
{
'LanguageCode': 'string',
'Name': 'string',
'SelectorSettings': {
'AribSourceSettings': {},
'DvbSubSourceSettings': {
'Pid': 123
},
'EmbeddedSourceSettings': {
'Convert608To708': 'DISABLED'|'UPCONVERT',
'Scte20Detection': 'AUTO'|'OFF',
'Source608ChannelNumber': 123,
'Source608TrackNumber': 123
},
'Scte20SourceSettings': {
'Convert608To708': 'DISABLED'|'UPCONVERT',
'Source608ChannelNumber': 123
},
'Scte27SourceSettings': {
'Pid': 123
},
'TeletextSourceSettings': {
'PageNumber': 'string'
}
}
},
],
'DeblockFilter': 'DISABLED'|'ENABLED',
'DenoiseFilter': 'DISABLED'|'ENABLED',
'FilterStrength': 123,
'InputFilter': 'AUTO'|'DISABLED'|'FORCED',
'NetworkInputSettings': {
'HlsInputSettings': {
'Bandwidth': 123,
'BufferSegments': 123,
'Retries': 123,
'RetryInterval': 123
},
'ServerValidation': 'CHECK_CRYPTOGRAPHY_AND_VALIDATE_NAME'|'CHECK_CRYPTOGRAPHY_ONLY'
},
'SourceEndBehavior': 'CONTINUE'|'LOOP',
'VideoSelector': {
'ColorSpace': 'FOLLOW'|'REC_601'|'REC_709',
'ColorSpaceUsage': 'FALLBACK'|'FORCE',
'SelectorSettings': {
'VideoSelectorPid': {
'Pid': 123
},
'VideoSelectorProgramId': {
'ProgramId': 123
}
}
}
}
},
],
'InputSpecification': {
'Codec': 'MPEG2'|'AVC'|'HEVC',
'MaximumBitrate': 'MAX_10_MBPS'|'MAX_20_MBPS'|'MAX_50_MBPS',
'Resolution': 'SD'|'HD'|'UHD'
},
'LogLevel': 'ERROR'|'WARNING'|'INFO'|'DEBUG'|'DISABLED',
'Name': 'string',
'PipelinesRunningCount': 123,
'RoleArn': 'string',
'State': 'CREATING'|'CREATE_FAILED'|'IDLE'|'STARTING'|'RUNNING'|'RECOVERING'|'STOPPING'|'DELETING'|'DELETED'
}
Response Structure
Deletes the input end point
See also: AWS API Documentation
Request Syntax
response = client.delete_input(
InputId='string'
)
{}
Response Structure
Deletes an Input Security Group
See also: AWS API Documentation
Request Syntax
response = client.delete_input_security_group(
InputSecurityGroupId='string'
)
{}
Response Structure
Delete an expired reservation.
See also: AWS API Documentation
Request Syntax
response = client.delete_reservation(
ReservationId='string'
)
{
'Arn': 'string',
'Count': 123,
'CurrencyCode': 'string',
'Duration': 123,
'DurationUnits': 'MONTHS',
'End': 'string',
'FixedPrice': 123.0,
'Name': 'string',
'OfferingDescription': 'string',
'OfferingId': 'string',
'OfferingType': 'NO_UPFRONT',
'Region': 'string',
'ReservationId': 'string',
'ResourceSpecification': {
'Codec': 'MPEG2'|'AVC'|'HEVC'|'AUDIO',
'MaximumBitrate': 'MAX_10_MBPS'|'MAX_20_MBPS'|'MAX_50_MBPS',
'MaximumFramerate': 'MAX_30_FPS'|'MAX_60_FPS',
'Resolution': 'SD'|'HD'|'UHD',
'ResourceType': 'INPUT'|'OUTPUT'|'CHANNEL',
'SpecialFeature': 'ADVANCED_AUDIO'|'AUDIO_NORMALIZATION',
'VideoQuality': 'STANDARD'|'ENHANCED'|'PREMIUM'
},
'Start': 'string',
'State': 'ACTIVE'|'EXPIRED'|'CANCELED'|'DELETED',
'UsagePrice': 123.0
}
Response Structure
Gets details about a channel
See also: AWS API Documentation
Request Syntax
response = client.describe_channel(
ChannelId='string'
)
{
'Arn': 'string',
'Destinations': [
{
'Id': 'string',
'Settings': [
{
'PasswordParam': 'string',
'StreamName': 'string',
'Url': 'string',
'Username': 'string'
},
]
},
],
'EgressEndpoints': [
{
'SourceIp': 'string'
},
],
'EncoderSettings': {
'AudioDescriptions': [
{
'AudioNormalizationSettings': {
'Algorithm': 'ITU_1770_1'|'ITU_1770_2',
'AlgorithmControl': 'CORRECT_AUDIO',
'TargetLkfs': 123.0
},
'AudioSelectorName': 'string',
'AudioType': 'CLEAN_EFFECTS'|'HEARING_IMPAIRED'|'UNDEFINED'|'VISUAL_IMPAIRED_COMMENTARY',
'AudioTypeControl': 'FOLLOW_INPUT'|'USE_CONFIGURED',
'CodecSettings': {
'AacSettings': {
'Bitrate': 123.0,
'CodingMode': 'AD_RECEIVER_MIX'|'CODING_MODE_1_0'|'CODING_MODE_1_1'|'CODING_MODE_2_0'|'CODING_MODE_5_1',
'InputType': 'BROADCASTER_MIXED_AD'|'NORMAL',
'Profile': 'HEV1'|'HEV2'|'LC',
'RateControlMode': 'CBR'|'VBR',
'RawFormat': 'LATM_LOAS'|'NONE',
'SampleRate': 123.0,
'Spec': 'MPEG2'|'MPEG4',
'VbrQuality': 'HIGH'|'LOW'|'MEDIUM_HIGH'|'MEDIUM_LOW'
},
'Ac3Settings': {
'Bitrate': 123.0,
'BitstreamMode': 'COMMENTARY'|'COMPLETE_MAIN'|'DIALOGUE'|'EMERGENCY'|'HEARING_IMPAIRED'|'MUSIC_AND_EFFECTS'|'VISUALLY_IMPAIRED'|'VOICE_OVER',
'CodingMode': 'CODING_MODE_1_0'|'CODING_MODE_1_1'|'CODING_MODE_2_0'|'CODING_MODE_3_2_LFE',
'Dialnorm': 123,
'DrcProfile': 'FILM_STANDARD'|'NONE',
'LfeFilter': 'DISABLED'|'ENABLED',
'MetadataControl': 'FOLLOW_INPUT'|'USE_CONFIGURED'
},
'Eac3Settings': {
'AttenuationControl': 'ATTENUATE_3_DB'|'NONE',
'Bitrate': 123.0,
'BitstreamMode': 'COMMENTARY'|'COMPLETE_MAIN'|'EMERGENCY'|'HEARING_IMPAIRED'|'VISUALLY_IMPAIRED',
'CodingMode': 'CODING_MODE_1_0'|'CODING_MODE_2_0'|'CODING_MODE_3_2',
'DcFilter': 'DISABLED'|'ENABLED',
'Dialnorm': 123,
'DrcLine': 'FILM_LIGHT'|'FILM_STANDARD'|'MUSIC_LIGHT'|'MUSIC_STANDARD'|'NONE'|'SPEECH',
'DrcRf': 'FILM_LIGHT'|'FILM_STANDARD'|'MUSIC_LIGHT'|'MUSIC_STANDARD'|'NONE'|'SPEECH',
'LfeControl': 'LFE'|'NO_LFE',
'LfeFilter': 'DISABLED'|'ENABLED',
'LoRoCenterMixLevel': 123.0,
'LoRoSurroundMixLevel': 123.0,
'LtRtCenterMixLevel': 123.0,
'LtRtSurroundMixLevel': 123.0,
'MetadataControl': 'FOLLOW_INPUT'|'USE_CONFIGURED',
'PassthroughControl': 'NO_PASSTHROUGH'|'WHEN_POSSIBLE',
'PhaseControl': 'NO_SHIFT'|'SHIFT_90_DEGREES',
'StereoDownmix': 'DPL2'|'LO_RO'|'LT_RT'|'NOT_INDICATED',
'SurroundExMode': 'DISABLED'|'ENABLED'|'NOT_INDICATED',
'SurroundMode': 'DISABLED'|'ENABLED'|'NOT_INDICATED'
},
'Mp2Settings': {
'Bitrate': 123.0,
'CodingMode': 'CODING_MODE_1_0'|'CODING_MODE_2_0',
'SampleRate': 123.0
},
'PassThroughSettings': {}
},
'LanguageCode': 'string',
'LanguageCodeControl': 'FOLLOW_INPUT'|'USE_CONFIGURED',
'Name': 'string',
'RemixSettings': {
'ChannelMappings': [
{
'InputChannelLevels': [
{
'Gain': 123,
'InputChannel': 123
},
],
'OutputChannel': 123
},
],
'ChannelsIn': 123,
'ChannelsOut': 123
},
'StreamName': 'string'
},
],
'AvailBlanking': {
'AvailBlankingImage': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'State': 'DISABLED'|'ENABLED'
},
'AvailConfiguration': {
'AvailSettings': {
'Scte35SpliceInsert': {
'AdAvailOffset': 123,
'NoRegionalBlackoutFlag': 'FOLLOW'|'IGNORE',
'WebDeliveryAllowedFlag': 'FOLLOW'|'IGNORE'
},
'Scte35TimeSignalApos': {
'AdAvailOffset': 123,
'NoRegionalBlackoutFlag': 'FOLLOW'|'IGNORE',
'WebDeliveryAllowedFlag': 'FOLLOW'|'IGNORE'
}
}
},
'BlackoutSlate': {
'BlackoutSlateImage': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'NetworkEndBlackout': 'DISABLED'|'ENABLED',
'NetworkEndBlackoutImage': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'NetworkId': 'string',
'State': 'DISABLED'|'ENABLED'
},
'CaptionDescriptions': [
{
'CaptionSelectorName': 'string',
'DestinationSettings': {
'AribDestinationSettings': {},
'BurnInDestinationSettings': {
'Alignment': 'CENTERED'|'LEFT'|'SMART',
'BackgroundColor': 'BLACK'|'NONE'|'WHITE',
'BackgroundOpacity': 123,
'Font': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'FontColor': 'BLACK'|'BLUE'|'GREEN'|'RED'|'WHITE'|'YELLOW',
'FontOpacity': 123,
'FontResolution': 123,
'FontSize': 'string',
'OutlineColor': 'BLACK'|'BLUE'|'GREEN'|'RED'|'WHITE'|'YELLOW',
'OutlineSize': 123,
'ShadowColor': 'BLACK'|'NONE'|'WHITE',
'ShadowOpacity': 123,
'ShadowXOffset': 123,
'ShadowYOffset': 123,
'TeletextGridControl': 'FIXED'|'SCALED',
'XPosition': 123,
'YPosition': 123
},
'DvbSubDestinationSettings': {
'Alignment': 'CENTERED'|'LEFT'|'SMART',
'BackgroundColor': 'BLACK'|'NONE'|'WHITE',
'BackgroundOpacity': 123,
'Font': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'FontColor': 'BLACK'|'BLUE'|'GREEN'|'RED'|'WHITE'|'YELLOW',
'FontOpacity': 123,
'FontResolution': 123,
'FontSize': 'string',
'OutlineColor': 'BLACK'|'BLUE'|'GREEN'|'RED'|'WHITE'|'YELLOW',
'OutlineSize': 123,
'ShadowColor': 'BLACK'|'NONE'|'WHITE',
'ShadowOpacity': 123,
'ShadowXOffset': 123,
'ShadowYOffset': 123,
'TeletextGridControl': 'FIXED'|'SCALED',
'XPosition': 123,
'YPosition': 123
},
'EmbeddedDestinationSettings': {},
'EmbeddedPlusScte20DestinationSettings': {},
'RtmpCaptionInfoDestinationSettings': {},
'Scte20PlusEmbeddedDestinationSettings': {},
'Scte27DestinationSettings': {},
'SmpteTtDestinationSettings': {},
'TeletextDestinationSettings': {},
'TtmlDestinationSettings': {
'StyleControl': 'PASSTHROUGH'|'USE_CONFIGURED'
},
'WebvttDestinationSettings': {}
},
'LanguageCode': 'string',
'LanguageDescription': 'string',
'Name': 'string'
},
],
'GlobalConfiguration': {
'InitialAudioGain': 123,
'InputEndAction': 'NONE'|'SWITCH_AND_LOOP_INPUTS',
'InputLossBehavior': {
'BlackFrameMsec': 123,
'InputLossImageColor': 'string',
'InputLossImageSlate': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'InputLossImageType': 'COLOR'|'SLATE',
'RepeatFrameMsec': 123
},
'OutputTimingSource': 'INPUT_CLOCK'|'SYSTEM_CLOCK',
'SupportLowFramerateInputs': 'DISABLED'|'ENABLED'
},
'OutputGroups': [
{
'Name': 'string',
'OutputGroupSettings': {
'ArchiveGroupSettings': {
'Destination': {
'DestinationRefId': 'string'
},
'RolloverInterval': 123
},
'HlsGroupSettings': {
'AdMarkers': [
'ADOBE'|'ELEMENTAL'|'ELEMENTAL_SCTE35',
],
'BaseUrlContent': 'string',
'BaseUrlManifest': 'string',
'CaptionLanguageMappings': [
{
'CaptionChannel': 123,
'LanguageCode': 'string',
'LanguageDescription': 'string'
},
],
'CaptionLanguageSetting': 'INSERT'|'NONE'|'OMIT',
'ClientCache': 'DISABLED'|'ENABLED',
'CodecSpecification': 'RFC_4281'|'RFC_6381',
'ConstantIv': 'string',
'Destination': {
'DestinationRefId': 'string'
},
'DirectoryStructure': 'SINGLE_DIRECTORY'|'SUBDIRECTORY_PER_STREAM',
'EncryptionType': 'AES128'|'SAMPLE_AES',
'HlsCdnSettings': {
'HlsAkamaiSettings': {
'ConnectionRetryInterval': 123,
'FilecacheDuration': 123,
'HttpTransferMode': 'CHUNKED'|'NON_CHUNKED',
'NumRetries': 123,
'RestartDelay': 123,
'Salt': 'string',
'Token': 'string'
},
'HlsBasicPutSettings': {
'ConnectionRetryInterval': 123,
'FilecacheDuration': 123,
'NumRetries': 123,
'RestartDelay': 123
},
'HlsMediaStoreSettings': {
'ConnectionRetryInterval': 123,
'FilecacheDuration': 123,
'MediaStoreStorageClass': 'TEMPORAL',
'NumRetries': 123,
'RestartDelay': 123
},
'HlsWebdavSettings': {
'ConnectionRetryInterval': 123,
'FilecacheDuration': 123,
'HttpTransferMode': 'CHUNKED'|'NON_CHUNKED',
'NumRetries': 123,
'RestartDelay': 123
}
},
'IndexNSegments': 123,
'InputLossAction': 'EMIT_OUTPUT'|'PAUSE_OUTPUT',
'IvInManifest': 'EXCLUDE'|'INCLUDE',
'IvSource': 'EXPLICIT'|'FOLLOWS_SEGMENT_NUMBER',
'KeepSegments': 123,
'KeyFormat': 'string',
'KeyFormatVersions': 'string',
'KeyProviderSettings': {
'StaticKeySettings': {
'KeyProviderServer': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'StaticKeyValue': 'string'
}
},
'ManifestCompression': 'GZIP'|'NONE',
'ManifestDurationFormat': 'FLOATING_POINT'|'INTEGER',
'MinSegmentLength': 123,
'Mode': 'LIVE'|'VOD',
'OutputSelection': 'MANIFESTS_AND_SEGMENTS'|'SEGMENTS_ONLY',
'ProgramDateTime': 'EXCLUDE'|'INCLUDE',
'ProgramDateTimePeriod': 123,
'SegmentLength': 123,
'SegmentationMode': 'USE_INPUT_SEGMENTATION'|'USE_SEGMENT_DURATION',
'SegmentsPerSubdirectory': 123,
'StreamInfResolution': 'EXCLUDE'|'INCLUDE',
'TimedMetadataId3Frame': 'NONE'|'PRIV'|'TDRL',
'TimedMetadataId3Period': 123,
'TimestampDeltaMilliseconds': 123,
'TsFileMode': 'SEGMENTED_FILES'|'SINGLE_FILE'
},
'MsSmoothGroupSettings': {
'AcquisitionPointId': 'string',
'AudioOnlyTimecodeControl': 'PASSTHROUGH'|'USE_CONFIGURED_CLOCK',
'CertificateMode': 'SELF_SIGNED'|'VERIFY_AUTHENTICITY',
'ConnectionRetryInterval': 123,
'Destination': {
'DestinationRefId': 'string'
},
'EventId': 'string',
'EventIdMode': 'NO_EVENT_ID'|'USE_CONFIGURED'|'USE_TIMESTAMP',
'EventStopBehavior': 'NONE'|'SEND_EOS',
'FilecacheDuration': 123,
'FragmentLength': 123,
'InputLossAction': 'EMIT_OUTPUT'|'PAUSE_OUTPUT',
'NumRetries': 123,
'RestartDelay': 123,
'SegmentationMode': 'USE_INPUT_SEGMENTATION'|'USE_SEGMENT_DURATION',
'SendDelayMs': 123,
'SparseTrackType': 'NONE'|'SCTE_35',
'StreamManifestBehavior': 'DO_NOT_SEND'|'SEND',
'TimestampOffset': 'string',
'TimestampOffsetMode': 'USE_CONFIGURED_OFFSET'|'USE_EVENT_START_DATE'
},
'RtmpGroupSettings': {
'AuthenticationScheme': 'AKAMAI'|'COMMON',
'CacheFullBehavior': 'DISCONNECT_IMMEDIATELY'|'WAIT_FOR_SERVER',
'CacheLength': 123,
'CaptionData': 'ALL'|'FIELD1_608'|'FIELD1_AND_FIELD2_608',
'RestartDelay': 123
},
'UdpGroupSettings': {
'InputLossAction': 'DROP_PROGRAM'|'DROP_TS'|'EMIT_PROGRAM',
'TimedMetadataId3Frame': 'NONE'|'PRIV'|'TDRL',
'TimedMetadataId3Period': 123
}
},
'Outputs': [
{
'AudioDescriptionNames': [
'string',
],
'CaptionDescriptionNames': [
'string',
],
'OutputName': 'string',
'OutputSettings': {
'ArchiveOutputSettings': {
'ContainerSettings': {
'M2tsSettings': {
'AbsentInputAudioBehavior': 'DROP'|'ENCODE_SILENCE',
'Arib': 'DISABLED'|'ENABLED',
'AribCaptionsPid': 'string',
'AribCaptionsPidControl': 'AUTO'|'USE_CONFIGURED',
'AudioBufferModel': 'ATSC'|'DVB',
'AudioFramesPerPes': 123,
'AudioPids': 'string',
'AudioStreamType': 'ATSC'|'DVB',
'Bitrate': 123,
'BufferModel': 'MULTIPLEX'|'NONE',
'CcDescriptor': 'DISABLED'|'ENABLED',
'DvbNitSettings': {
'NetworkId': 123,
'NetworkName': 'string',
'RepInterval': 123
},
'DvbSdtSettings': {
'OutputSdt': 'SDT_FOLLOW'|'SDT_FOLLOW_IF_PRESENT'|'SDT_MANUAL'|'SDT_NONE',
'RepInterval': 123,
'ServiceName': 'string',
'ServiceProviderName': 'string'
},
'DvbSubPids': 'string',
'DvbTdtSettings': {
'RepInterval': 123
},
'DvbTeletextPid': 'string',
'Ebif': 'NONE'|'PASSTHROUGH',
'EbpAudioInterval': 'VIDEO_AND_FIXED_INTERVALS'|'VIDEO_INTERVAL',
'EbpLookaheadMs': 123,
'EbpPlacement': 'VIDEO_AND_AUDIO_PIDS'|'VIDEO_PID',
'EcmPid': 'string',
'EsRateInPes': 'EXCLUDE'|'INCLUDE',
'EtvPlatformPid': 'string',
'EtvSignalPid': 'string',
'FragmentTime': 123.0,
'Klv': 'NONE'|'PASSTHROUGH',
'KlvDataPids': 'string',
'NullPacketBitrate': 123.0,
'PatInterval': 123,
'PcrControl': 'CONFIGURED_PCR_PERIOD'|'PCR_EVERY_PES_PACKET',
'PcrPeriod': 123,
'PcrPid': 'string',
'PmtInterval': 123,
'PmtPid': 'string',
'ProgramNum': 123,
'RateMode': 'CBR'|'VBR',
'Scte27Pids': 'string',
'Scte35Control': 'NONE'|'PASSTHROUGH',
'Scte35Pid': 'string',
'SegmentationMarkers': 'EBP'|'EBP_LEGACY'|'NONE'|'PSI_SEGSTART'|'RAI_ADAPT'|'RAI_SEGSTART',
'SegmentationStyle': 'MAINTAIN_CADENCE'|'RESET_CADENCE',
'SegmentationTime': 123.0,
'TimedMetadataBehavior': 'NO_PASSTHROUGH'|'PASSTHROUGH',
'TimedMetadataPid': 'string',
'TransportStreamId': 123,
'VideoPid': 'string'
}
},
'Extension': 'string',
'NameModifier': 'string'
},
'HlsOutputSettings': {
'HlsSettings': {
'AudioOnlyHlsSettings': {
'AudioGroupId': 'string',
'AudioOnlyImage': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'AudioTrackType': 'ALTERNATE_AUDIO_AUTO_SELECT'|'ALTERNATE_AUDIO_AUTO_SELECT_DEFAULT'|'ALTERNATE_AUDIO_NOT_AUTO_SELECT'|'AUDIO_ONLY_VARIANT_STREAM'
},
'StandardHlsSettings': {
'AudioRenditionSets': 'string',
'M3u8Settings': {
'AudioFramesPerPes': 123,
'AudioPids': 'string',
'EcmPid': 'string',
'PatInterval': 123,
'PcrControl': 'CONFIGURED_PCR_PERIOD'|'PCR_EVERY_PES_PACKET',
'PcrPeriod': 123,
'PcrPid': 'string',
'PmtInterval': 123,
'PmtPid': 'string',
'ProgramNum': 123,
'Scte35Behavior': 'NO_PASSTHROUGH'|'PASSTHROUGH',
'Scte35Pid': 'string',
'TimedMetadataBehavior': 'NO_PASSTHROUGH'|'PASSTHROUGH',
'TimedMetadataPid': 'string',
'TransportStreamId': 123,
'VideoPid': 'string'
}
}
},
'NameModifier': 'string',
'SegmentModifier': 'string'
},
'MsSmoothOutputSettings': {
'NameModifier': 'string'
},
'RtmpOutputSettings': {
'CertificateMode': 'SELF_SIGNED'|'VERIFY_AUTHENTICITY',
'ConnectionRetryInterval': 123,
'Destination': {
'DestinationRefId': 'string'
},
'NumRetries': 123
},
'UdpOutputSettings': {
'BufferMsec': 123,
'ContainerSettings': {
'M2tsSettings': {
'AbsentInputAudioBehavior': 'DROP'|'ENCODE_SILENCE',
'Arib': 'DISABLED'|'ENABLED',
'AribCaptionsPid': 'string',
'AribCaptionsPidControl': 'AUTO'|'USE_CONFIGURED',
'AudioBufferModel': 'ATSC'|'DVB',
'AudioFramesPerPes': 123,
'AudioPids': 'string',
'AudioStreamType': 'ATSC'|'DVB',
'Bitrate': 123,
'BufferModel': 'MULTIPLEX'|'NONE',
'CcDescriptor': 'DISABLED'|'ENABLED',
'DvbNitSettings': {
'NetworkId': 123,
'NetworkName': 'string',
'RepInterval': 123
},
'DvbSdtSettings': {
'OutputSdt': 'SDT_FOLLOW'|'SDT_FOLLOW_IF_PRESENT'|'SDT_MANUAL'|'SDT_NONE',
'RepInterval': 123,
'ServiceName': 'string',
'ServiceProviderName': 'string'
},
'DvbSubPids': 'string',
'DvbTdtSettings': {
'RepInterval': 123
},
'DvbTeletextPid': 'string',
'Ebif': 'NONE'|'PASSTHROUGH',
'EbpAudioInterval': 'VIDEO_AND_FIXED_INTERVALS'|'VIDEO_INTERVAL',
'EbpLookaheadMs': 123,
'EbpPlacement': 'VIDEO_AND_AUDIO_PIDS'|'VIDEO_PID',
'EcmPid': 'string',
'EsRateInPes': 'EXCLUDE'|'INCLUDE',
'EtvPlatformPid': 'string',
'EtvSignalPid': 'string',
'FragmentTime': 123.0,
'Klv': 'NONE'|'PASSTHROUGH',
'KlvDataPids': 'string',
'NullPacketBitrate': 123.0,
'PatInterval': 123,
'PcrControl': 'CONFIGURED_PCR_PERIOD'|'PCR_EVERY_PES_PACKET',
'PcrPeriod': 123,
'PcrPid': 'string',
'PmtInterval': 123,
'PmtPid': 'string',
'ProgramNum': 123,
'RateMode': 'CBR'|'VBR',
'Scte27Pids': 'string',
'Scte35Control': 'NONE'|'PASSTHROUGH',
'Scte35Pid': 'string',
'SegmentationMarkers': 'EBP'|'EBP_LEGACY'|'NONE'|'PSI_SEGSTART'|'RAI_ADAPT'|'RAI_SEGSTART',
'SegmentationStyle': 'MAINTAIN_CADENCE'|'RESET_CADENCE',
'SegmentationTime': 123.0,
'TimedMetadataBehavior': 'NO_PASSTHROUGH'|'PASSTHROUGH',
'TimedMetadataPid': 'string',
'TransportStreamId': 123,
'VideoPid': 'string'
}
},
'Destination': {
'DestinationRefId': 'string'
},
'FecOutputSettings': {
'ColumnDepth': 123,
'IncludeFec': 'COLUMN'|'COLUMN_AND_ROW',
'RowLength': 123
}
}
},
'VideoDescriptionName': 'string'
},
]
},
],
'TimecodeConfig': {
'Source': 'EMBEDDED'|'SYSTEMCLOCK'|'ZEROBASED',
'SyncThreshold': 123
},
'VideoDescriptions': [
{
'CodecSettings': {
'H264Settings': {
'AdaptiveQuantization': 'HIGH'|'HIGHER'|'LOW'|'MAX'|'MEDIUM'|'OFF',
'AfdSignaling': 'AUTO'|'FIXED'|'NONE',
'Bitrate': 123,
'BufFillPct': 123,
'BufSize': 123,
'ColorMetadata': 'IGNORE'|'INSERT',
'EntropyEncoding': 'CABAC'|'CAVLC',
'FixedAfd': 'AFD_0000'|'AFD_0010'|'AFD_0011'|'AFD_0100'|'AFD_1000'|'AFD_1001'|'AFD_1010'|'AFD_1011'|'AFD_1101'|'AFD_1110'|'AFD_1111',
'FlickerAq': 'DISABLED'|'ENABLED',
'FramerateControl': 'INITIALIZE_FROM_SOURCE'|'SPECIFIED',
'FramerateDenominator': 123,
'FramerateNumerator': 123,
'GopBReference': 'DISABLED'|'ENABLED',
'GopClosedCadence': 123,
'GopNumBFrames': 123,
'GopSize': 123.0,
'GopSizeUnits': 'FRAMES'|'SECONDS',
'Level': 'H264_LEVEL_1'|'H264_LEVEL_1_1'|'H264_LEVEL_1_2'|'H264_LEVEL_1_3'|'H264_LEVEL_2'|'H264_LEVEL_2_1'|'H264_LEVEL_2_2'|'H264_LEVEL_3'|'H264_LEVEL_3_1'|'H264_LEVEL_3_2'|'H264_LEVEL_4'|'H264_LEVEL_4_1'|'H264_LEVEL_4_2'|'H264_LEVEL_5'|'H264_LEVEL_5_1'|'H264_LEVEL_5_2'|'H264_LEVEL_AUTO',
'LookAheadRateControl': 'HIGH'|'LOW'|'MEDIUM',
'MaxBitrate': 123,
'MinIInterval': 123,
'NumRefFrames': 123,
'ParControl': 'INITIALIZE_FROM_SOURCE'|'SPECIFIED',
'ParDenominator': 123,
'ParNumerator': 123,
'Profile': 'BASELINE'|'HIGH'|'HIGH_10BIT'|'HIGH_422'|'HIGH_422_10BIT'|'MAIN',
'RateControlMode': 'CBR'|'VBR',
'ScanType': 'INTERLACED'|'PROGRESSIVE',
'SceneChangeDetect': 'DISABLED'|'ENABLED',
'Slices': 123,
'Softness': 123,
'SpatialAq': 'DISABLED'|'ENABLED',
'Syntax': 'DEFAULT'|'RP2027',
'TemporalAq': 'DISABLED'|'ENABLED',
'TimecodeInsertion': 'DISABLED'|'PIC_TIMING_SEI'
}
},
'Height': 123,
'Name': 'string',
'RespondToAfd': 'NONE'|'PASSTHROUGH'|'RESPOND',
'ScalingBehavior': 'DEFAULT'|'STRETCH_TO_OUTPUT',
'Sharpness': 123,
'Width': 123
},
]
},
'Id': 'string',
'InputAttachments': [
{
'InputId': 'string',
'InputSettings': {
'AudioSelectors': [
{
'Name': 'string',
'SelectorSettings': {
'AudioLanguageSelection': {
'LanguageCode': 'string',
'LanguageSelectionPolicy': 'LOOSE'|'STRICT'
},
'AudioPidSelection': {
'Pid': 123
}
}
},
],
'CaptionSelectors': [
{
'LanguageCode': 'string',
'Name': 'string',
'SelectorSettings': {
'AribSourceSettings': {},
'DvbSubSourceSettings': {
'Pid': 123
},
'EmbeddedSourceSettings': {
'Convert608To708': 'DISABLED'|'UPCONVERT',
'Scte20Detection': 'AUTO'|'OFF',
'Source608ChannelNumber': 123,
'Source608TrackNumber': 123
},
'Scte20SourceSettings': {
'Convert608To708': 'DISABLED'|'UPCONVERT',
'Source608ChannelNumber': 123
},
'Scte27SourceSettings': {
'Pid': 123
},
'TeletextSourceSettings': {
'PageNumber': 'string'
}
}
},
],
'DeblockFilter': 'DISABLED'|'ENABLED',
'DenoiseFilter': 'DISABLED'|'ENABLED',
'FilterStrength': 123,
'InputFilter': 'AUTO'|'DISABLED'|'FORCED',
'NetworkInputSettings': {
'HlsInputSettings': {
'Bandwidth': 123,
'BufferSegments': 123,
'Retries': 123,
'RetryInterval': 123
},
'ServerValidation': 'CHECK_CRYPTOGRAPHY_AND_VALIDATE_NAME'|'CHECK_CRYPTOGRAPHY_ONLY'
},
'SourceEndBehavior': 'CONTINUE'|'LOOP',
'VideoSelector': {
'ColorSpace': 'FOLLOW'|'REC_601'|'REC_709',
'ColorSpaceUsage': 'FALLBACK'|'FORCE',
'SelectorSettings': {
'VideoSelectorPid': {
'Pid': 123
},
'VideoSelectorProgramId': {
'ProgramId': 123
}
}
}
}
},
],
'InputSpecification': {
'Codec': 'MPEG2'|'AVC'|'HEVC',
'MaximumBitrate': 'MAX_10_MBPS'|'MAX_20_MBPS'|'MAX_50_MBPS',
'Resolution': 'SD'|'HD'|'UHD'
},
'LogLevel': 'ERROR'|'WARNING'|'INFO'|'DEBUG'|'DISABLED',
'Name': 'string',
'PipelinesRunningCount': 123,
'RoleArn': 'string',
'State': 'CREATING'|'CREATE_FAILED'|'IDLE'|'STARTING'|'RUNNING'|'RECOVERING'|'STOPPING'|'DELETING'|'DELETED'
}
Response Structure
Produces details about an input
See also: AWS API Documentation
Request Syntax
response = client.describe_input(
InputId='string'
)
{
'Arn': 'string',
'AttachedChannels': [
'string',
],
'Destinations': [
{
'Ip': 'string',
'Port': 'string',
'Url': 'string'
},
],
'Id': 'string',
'Name': 'string',
'SecurityGroups': [
'string',
],
'Sources': [
{
'PasswordParam': 'string',
'Url': 'string',
'Username': 'string'
},
],
'State': 'CREATING'|'DETACHED'|'ATTACHED'|'DELETING'|'DELETED',
'Type': 'UDP_PUSH'|'RTP_PUSH'|'RTMP_PUSH'|'RTMP_PULL'|'URL_PULL'
}
Response Structure
Produces a summary of an Input Security Group
See also: AWS API Documentation
Request Syntax
response = client.describe_input_security_group(
InputSecurityGroupId='string'
)
{
'Arn': 'string',
'Id': 'string',
'Inputs': [
'string',
],
'State': 'IDLE'|'IN_USE'|'UPDATING'|'DELETED',
'WhitelistRules': [
{
'Cidr': 'string'
},
]
}
Response Structure
Get details for an offering.
See also: AWS API Documentation
Request Syntax
response = client.describe_offering(
OfferingId='string'
)
{
'Arn': 'string',
'CurrencyCode': 'string',
'Duration': 123,
'DurationUnits': 'MONTHS',
'FixedPrice': 123.0,
'OfferingDescription': 'string',
'OfferingId': 'string',
'OfferingType': 'NO_UPFRONT',
'Region': 'string',
'ResourceSpecification': {
'Codec': 'MPEG2'|'AVC'|'HEVC'|'AUDIO',
'MaximumBitrate': 'MAX_10_MBPS'|'MAX_20_MBPS'|'MAX_50_MBPS',
'MaximumFramerate': 'MAX_30_FPS'|'MAX_60_FPS',
'Resolution': 'SD'|'HD'|'UHD',
'ResourceType': 'INPUT'|'OUTPUT'|'CHANNEL',
'SpecialFeature': 'ADVANCED_AUDIO'|'AUDIO_NORMALIZATION',
'VideoQuality': 'STANDARD'|'ENHANCED'|'PREMIUM'
},
'UsagePrice': 123.0
}
Response Structure
Get details for a reservation.
See also: AWS API Documentation
Request Syntax
response = client.describe_reservation(
ReservationId='string'
)
{
'Arn': 'string',
'Count': 123,
'CurrencyCode': 'string',
'Duration': 123,
'DurationUnits': 'MONTHS',
'End': 'string',
'FixedPrice': 123.0,
'Name': 'string',
'OfferingDescription': 'string',
'OfferingId': 'string',
'OfferingType': 'NO_UPFRONT',
'Region': 'string',
'ReservationId': 'string',
'ResourceSpecification': {
'Codec': 'MPEG2'|'AVC'|'HEVC'|'AUDIO',
'MaximumBitrate': 'MAX_10_MBPS'|'MAX_20_MBPS'|'MAX_50_MBPS',
'MaximumFramerate': 'MAX_30_FPS'|'MAX_60_FPS',
'Resolution': 'SD'|'HD'|'UHD',
'ResourceType': 'INPUT'|'OUTPUT'|'CHANNEL',
'SpecialFeature': 'ADVANCED_AUDIO'|'AUDIO_NORMALIZATION',
'VideoQuality': 'STANDARD'|'ENHANCED'|'PREMIUM'
},
'Start': 'string',
'State': 'ACTIVE'|'EXPIRED'|'CANCELED'|'DELETED',
'UsagePrice': 123.0
}
Response Structure
Generate a presigned url given a client, its method, and arguments
The presigned url
Create a paginator for an operation.
Returns an object that can wait for some condition.
Produces list of channels that have been created
See also: AWS API Documentation
Request Syntax
response = client.list_channels(
MaxResults=123,
NextToken='string'
)
dict
Response Syntax
{
'Channels': [
{
'Arn': 'string',
'Destinations': [
{
'Id': 'string',
'Settings': [
{
'PasswordParam': 'string',
'StreamName': 'string',
'Url': 'string',
'Username': 'string'
},
]
},
],
'EgressEndpoints': [
{
'SourceIp': 'string'
},
],
'Id': 'string',
'InputAttachments': [
{
'InputId': 'string',
'InputSettings': {
'AudioSelectors': [
{
'Name': 'string',
'SelectorSettings': {
'AudioLanguageSelection': {
'LanguageCode': 'string',
'LanguageSelectionPolicy': 'LOOSE'|'STRICT'
},
'AudioPidSelection': {
'Pid': 123
}
}
},
],
'CaptionSelectors': [
{
'LanguageCode': 'string',
'Name': 'string',
'SelectorSettings': {
'AribSourceSettings': {},
'DvbSubSourceSettings': {
'Pid': 123
},
'EmbeddedSourceSettings': {
'Convert608To708': 'DISABLED'|'UPCONVERT',
'Scte20Detection': 'AUTO'|'OFF',
'Source608ChannelNumber': 123,
'Source608TrackNumber': 123
},
'Scte20SourceSettings': {
'Convert608To708': 'DISABLED'|'UPCONVERT',
'Source608ChannelNumber': 123
},
'Scte27SourceSettings': {
'Pid': 123
},
'TeletextSourceSettings': {
'PageNumber': 'string'
}
}
},
],
'DeblockFilter': 'DISABLED'|'ENABLED',
'DenoiseFilter': 'DISABLED'|'ENABLED',
'FilterStrength': 123,
'InputFilter': 'AUTO'|'DISABLED'|'FORCED',
'NetworkInputSettings': {
'HlsInputSettings': {
'Bandwidth': 123,
'BufferSegments': 123,
'Retries': 123,
'RetryInterval': 123
},
'ServerValidation': 'CHECK_CRYPTOGRAPHY_AND_VALIDATE_NAME'|'CHECK_CRYPTOGRAPHY_ONLY'
},
'SourceEndBehavior': 'CONTINUE'|'LOOP',
'VideoSelector': {
'ColorSpace': 'FOLLOW'|'REC_601'|'REC_709',
'ColorSpaceUsage': 'FALLBACK'|'FORCE',
'SelectorSettings': {
'VideoSelectorPid': {
'Pid': 123
},
'VideoSelectorProgramId': {
'ProgramId': 123
}
}
}
}
},
],
'InputSpecification': {
'Codec': 'MPEG2'|'AVC'|'HEVC',
'MaximumBitrate': 'MAX_10_MBPS'|'MAX_20_MBPS'|'MAX_50_MBPS',
'Resolution': 'SD'|'HD'|'UHD'
},
'LogLevel': 'ERROR'|'WARNING'|'INFO'|'DEBUG'|'DISABLED',
'Name': 'string',
'PipelinesRunningCount': 123,
'RoleArn': 'string',
'State': 'CREATING'|'CREATE_FAILED'|'IDLE'|'STARTING'|'RUNNING'|'RECOVERING'|'STOPPING'|'DELETING'|'DELETED'
},
],
'NextToken': 'string'
}
Response Structure
Produces a list of Input Security Groups for an account
See also: AWS API Documentation
Request Syntax
response = client.list_input_security_groups(
MaxResults=123,
NextToken='string'
)
dict
Response Syntax
{
'InputSecurityGroups': [
{
'Arn': 'string',
'Id': 'string',
'Inputs': [
'string',
],
'State': 'IDLE'|'IN_USE'|'UPDATING'|'DELETED',
'WhitelistRules': [
{
'Cidr': 'string'
},
]
},
],
'NextToken': 'string'
}
Response Structure
Produces list of inputs that have been created
See also: AWS API Documentation
Request Syntax
response = client.list_inputs(
MaxResults=123,
NextToken='string'
)
dict
Response Syntax
{
'Inputs': [
{
'Arn': 'string',
'AttachedChannels': [
'string',
],
'Destinations': [
{
'Ip': 'string',
'Port': 'string',
'Url': 'string'
},
],
'Id': 'string',
'Name': 'string',
'SecurityGroups': [
'string',
],
'Sources': [
{
'PasswordParam': 'string',
'Url': 'string',
'Username': 'string'
},
],
'State': 'CREATING'|'DETACHED'|'ATTACHED'|'DELETING'|'DELETED',
'Type': 'UDP_PUSH'|'RTP_PUSH'|'RTMP_PUSH'|'RTMP_PULL'|'URL_PULL'
},
],
'NextToken': 'string'
}
Response Structure
List offerings available for purchase.
See also: AWS API Documentation
Request Syntax
response = client.list_offerings(
ChannelConfiguration='string',
Codec='string',
MaxResults=123,
MaximumBitrate='string',
MaximumFramerate='string',
NextToken='string',
Resolution='string',
ResourceType='string',
SpecialFeature='string',
VideoQuality='string'
)
dict
Response Syntax
{
'NextToken': 'string',
'Offerings': [
{
'Arn': 'string',
'CurrencyCode': 'string',
'Duration': 123,
'DurationUnits': 'MONTHS',
'FixedPrice': 123.0,
'OfferingDescription': 'string',
'OfferingId': 'string',
'OfferingType': 'NO_UPFRONT',
'Region': 'string',
'ResourceSpecification': {
'Codec': 'MPEG2'|'AVC'|'HEVC'|'AUDIO',
'MaximumBitrate': 'MAX_10_MBPS'|'MAX_20_MBPS'|'MAX_50_MBPS',
'MaximumFramerate': 'MAX_30_FPS'|'MAX_60_FPS',
'Resolution': 'SD'|'HD'|'UHD',
'ResourceType': 'INPUT'|'OUTPUT'|'CHANNEL',
'SpecialFeature': 'ADVANCED_AUDIO'|'AUDIO_NORMALIZATION',
'VideoQuality': 'STANDARD'|'ENHANCED'|'PREMIUM'
},
'UsagePrice': 123.0
},
]
}
Response Structure
List purchased reservations.
See also: AWS API Documentation
Request Syntax
response = client.list_reservations(
Codec='string',
MaxResults=123,
MaximumBitrate='string',
MaximumFramerate='string',
NextToken='string',
Resolution='string',
ResourceType='string',
SpecialFeature='string',
VideoQuality='string'
)
dict
Response Syntax
{
'NextToken': 'string',
'Reservations': [
{
'Arn': 'string',
'Count': 123,
'CurrencyCode': 'string',
'Duration': 123,
'DurationUnits': 'MONTHS',
'End': 'string',
'FixedPrice': 123.0,
'Name': 'string',
'OfferingDescription': 'string',
'OfferingId': 'string',
'OfferingType': 'NO_UPFRONT',
'Region': 'string',
'ReservationId': 'string',
'ResourceSpecification': {
'Codec': 'MPEG2'|'AVC'|'HEVC'|'AUDIO',
'MaximumBitrate': 'MAX_10_MBPS'|'MAX_20_MBPS'|'MAX_50_MBPS',
'MaximumFramerate': 'MAX_30_FPS'|'MAX_60_FPS',
'Resolution': 'SD'|'HD'|'UHD',
'ResourceType': 'INPUT'|'OUTPUT'|'CHANNEL',
'SpecialFeature': 'ADVANCED_AUDIO'|'AUDIO_NORMALIZATION',
'VideoQuality': 'STANDARD'|'ENHANCED'|'PREMIUM'
},
'Start': 'string',
'State': 'ACTIVE'|'EXPIRED'|'CANCELED'|'DELETED',
'UsagePrice': 123.0
},
]
}
Response Structure
Purchase an offering and create a reservation.
See also: AWS API Documentation
Request Syntax
response = client.purchase_offering(
Count=123,
Name='string',
OfferingId='string',
RequestId='string'
)
dict
Response Syntax
{
'Reservation': {
'Arn': 'string',
'Count': 123,
'CurrencyCode': 'string',
'Duration': 123,
'DurationUnits': 'MONTHS',
'End': 'string',
'FixedPrice': 123.0,
'Name': 'string',
'OfferingDescription': 'string',
'OfferingId': 'string',
'OfferingType': 'NO_UPFRONT',
'Region': 'string',
'ReservationId': 'string',
'ResourceSpecification': {
'Codec': 'MPEG2'|'AVC'|'HEVC'|'AUDIO',
'MaximumBitrate': 'MAX_10_MBPS'|'MAX_20_MBPS'|'MAX_50_MBPS',
'MaximumFramerate': 'MAX_30_FPS'|'MAX_60_FPS',
'Resolution': 'SD'|'HD'|'UHD',
'ResourceType': 'INPUT'|'OUTPUT'|'CHANNEL',
'SpecialFeature': 'ADVANCED_AUDIO'|'AUDIO_NORMALIZATION',
'VideoQuality': 'STANDARD'|'ENHANCED'|'PREMIUM'
},
'Start': 'string',
'State': 'ACTIVE'|'EXPIRED'|'CANCELED'|'DELETED',
'UsagePrice': 123.0
}
}
Response Structure
Starts an existing channel
See also: AWS API Documentation
Request Syntax
response = client.start_channel(
ChannelId='string'
)
{
'Arn': 'string',
'Destinations': [
{
'Id': 'string',
'Settings': [
{
'PasswordParam': 'string',
'StreamName': 'string',
'Url': 'string',
'Username': 'string'
},
]
},
],
'EgressEndpoints': [
{
'SourceIp': 'string'
},
],
'EncoderSettings': {
'AudioDescriptions': [
{
'AudioNormalizationSettings': {
'Algorithm': 'ITU_1770_1'|'ITU_1770_2',
'AlgorithmControl': 'CORRECT_AUDIO',
'TargetLkfs': 123.0
},
'AudioSelectorName': 'string',
'AudioType': 'CLEAN_EFFECTS'|'HEARING_IMPAIRED'|'UNDEFINED'|'VISUAL_IMPAIRED_COMMENTARY',
'AudioTypeControl': 'FOLLOW_INPUT'|'USE_CONFIGURED',
'CodecSettings': {
'AacSettings': {
'Bitrate': 123.0,
'CodingMode': 'AD_RECEIVER_MIX'|'CODING_MODE_1_0'|'CODING_MODE_1_1'|'CODING_MODE_2_0'|'CODING_MODE_5_1',
'InputType': 'BROADCASTER_MIXED_AD'|'NORMAL',
'Profile': 'HEV1'|'HEV2'|'LC',
'RateControlMode': 'CBR'|'VBR',
'RawFormat': 'LATM_LOAS'|'NONE',
'SampleRate': 123.0,
'Spec': 'MPEG2'|'MPEG4',
'VbrQuality': 'HIGH'|'LOW'|'MEDIUM_HIGH'|'MEDIUM_LOW'
},
'Ac3Settings': {
'Bitrate': 123.0,
'BitstreamMode': 'COMMENTARY'|'COMPLETE_MAIN'|'DIALOGUE'|'EMERGENCY'|'HEARING_IMPAIRED'|'MUSIC_AND_EFFECTS'|'VISUALLY_IMPAIRED'|'VOICE_OVER',
'CodingMode': 'CODING_MODE_1_0'|'CODING_MODE_1_1'|'CODING_MODE_2_0'|'CODING_MODE_3_2_LFE',
'Dialnorm': 123,
'DrcProfile': 'FILM_STANDARD'|'NONE',
'LfeFilter': 'DISABLED'|'ENABLED',
'MetadataControl': 'FOLLOW_INPUT'|'USE_CONFIGURED'
},
'Eac3Settings': {
'AttenuationControl': 'ATTENUATE_3_DB'|'NONE',
'Bitrate': 123.0,
'BitstreamMode': 'COMMENTARY'|'COMPLETE_MAIN'|'EMERGENCY'|'HEARING_IMPAIRED'|'VISUALLY_IMPAIRED',
'CodingMode': 'CODING_MODE_1_0'|'CODING_MODE_2_0'|'CODING_MODE_3_2',
'DcFilter': 'DISABLED'|'ENABLED',
'Dialnorm': 123,
'DrcLine': 'FILM_LIGHT'|'FILM_STANDARD'|'MUSIC_LIGHT'|'MUSIC_STANDARD'|'NONE'|'SPEECH',
'DrcRf': 'FILM_LIGHT'|'FILM_STANDARD'|'MUSIC_LIGHT'|'MUSIC_STANDARD'|'NONE'|'SPEECH',
'LfeControl': 'LFE'|'NO_LFE',
'LfeFilter': 'DISABLED'|'ENABLED',
'LoRoCenterMixLevel': 123.0,
'LoRoSurroundMixLevel': 123.0,
'LtRtCenterMixLevel': 123.0,
'LtRtSurroundMixLevel': 123.0,
'MetadataControl': 'FOLLOW_INPUT'|'USE_CONFIGURED',
'PassthroughControl': 'NO_PASSTHROUGH'|'WHEN_POSSIBLE',
'PhaseControl': 'NO_SHIFT'|'SHIFT_90_DEGREES',
'StereoDownmix': 'DPL2'|'LO_RO'|'LT_RT'|'NOT_INDICATED',
'SurroundExMode': 'DISABLED'|'ENABLED'|'NOT_INDICATED',
'SurroundMode': 'DISABLED'|'ENABLED'|'NOT_INDICATED'
},
'Mp2Settings': {
'Bitrate': 123.0,
'CodingMode': 'CODING_MODE_1_0'|'CODING_MODE_2_0',
'SampleRate': 123.0
},
'PassThroughSettings': {}
},
'LanguageCode': 'string',
'LanguageCodeControl': 'FOLLOW_INPUT'|'USE_CONFIGURED',
'Name': 'string',
'RemixSettings': {
'ChannelMappings': [
{
'InputChannelLevels': [
{
'Gain': 123,
'InputChannel': 123
},
],
'OutputChannel': 123
},
],
'ChannelsIn': 123,
'ChannelsOut': 123
},
'StreamName': 'string'
},
],
'AvailBlanking': {
'AvailBlankingImage': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'State': 'DISABLED'|'ENABLED'
},
'AvailConfiguration': {
'AvailSettings': {
'Scte35SpliceInsert': {
'AdAvailOffset': 123,
'NoRegionalBlackoutFlag': 'FOLLOW'|'IGNORE',
'WebDeliveryAllowedFlag': 'FOLLOW'|'IGNORE'
},
'Scte35TimeSignalApos': {
'AdAvailOffset': 123,
'NoRegionalBlackoutFlag': 'FOLLOW'|'IGNORE',
'WebDeliveryAllowedFlag': 'FOLLOW'|'IGNORE'
}
}
},
'BlackoutSlate': {
'BlackoutSlateImage': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'NetworkEndBlackout': 'DISABLED'|'ENABLED',
'NetworkEndBlackoutImage': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'NetworkId': 'string',
'State': 'DISABLED'|'ENABLED'
},
'CaptionDescriptions': [
{
'CaptionSelectorName': 'string',
'DestinationSettings': {
'AribDestinationSettings': {},
'BurnInDestinationSettings': {
'Alignment': 'CENTERED'|'LEFT'|'SMART',
'BackgroundColor': 'BLACK'|'NONE'|'WHITE',
'BackgroundOpacity': 123,
'Font': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'FontColor': 'BLACK'|'BLUE'|'GREEN'|'RED'|'WHITE'|'YELLOW',
'FontOpacity': 123,
'FontResolution': 123,
'FontSize': 'string',
'OutlineColor': 'BLACK'|'BLUE'|'GREEN'|'RED'|'WHITE'|'YELLOW',
'OutlineSize': 123,
'ShadowColor': 'BLACK'|'NONE'|'WHITE',
'ShadowOpacity': 123,
'ShadowXOffset': 123,
'ShadowYOffset': 123,
'TeletextGridControl': 'FIXED'|'SCALED',
'XPosition': 123,
'YPosition': 123
},
'DvbSubDestinationSettings': {
'Alignment': 'CENTERED'|'LEFT'|'SMART',
'BackgroundColor': 'BLACK'|'NONE'|'WHITE',
'BackgroundOpacity': 123,
'Font': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'FontColor': 'BLACK'|'BLUE'|'GREEN'|'RED'|'WHITE'|'YELLOW',
'FontOpacity': 123,
'FontResolution': 123,
'FontSize': 'string',
'OutlineColor': 'BLACK'|'BLUE'|'GREEN'|'RED'|'WHITE'|'YELLOW',
'OutlineSize': 123,
'ShadowColor': 'BLACK'|'NONE'|'WHITE',
'ShadowOpacity': 123,
'ShadowXOffset': 123,
'ShadowYOffset': 123,
'TeletextGridControl': 'FIXED'|'SCALED',
'XPosition': 123,
'YPosition': 123
},
'EmbeddedDestinationSettings': {},
'EmbeddedPlusScte20DestinationSettings': {},
'RtmpCaptionInfoDestinationSettings': {},
'Scte20PlusEmbeddedDestinationSettings': {},
'Scte27DestinationSettings': {},
'SmpteTtDestinationSettings': {},
'TeletextDestinationSettings': {},
'TtmlDestinationSettings': {
'StyleControl': 'PASSTHROUGH'|'USE_CONFIGURED'
},
'WebvttDestinationSettings': {}
},
'LanguageCode': 'string',
'LanguageDescription': 'string',
'Name': 'string'
},
],
'GlobalConfiguration': {
'InitialAudioGain': 123,
'InputEndAction': 'NONE'|'SWITCH_AND_LOOP_INPUTS',
'InputLossBehavior': {
'BlackFrameMsec': 123,
'InputLossImageColor': 'string',
'InputLossImageSlate': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'InputLossImageType': 'COLOR'|'SLATE',
'RepeatFrameMsec': 123
},
'OutputTimingSource': 'INPUT_CLOCK'|'SYSTEM_CLOCK',
'SupportLowFramerateInputs': 'DISABLED'|'ENABLED'
},
'OutputGroups': [
{
'Name': 'string',
'OutputGroupSettings': {
'ArchiveGroupSettings': {
'Destination': {
'DestinationRefId': 'string'
},
'RolloverInterval': 123
},
'HlsGroupSettings': {
'AdMarkers': [
'ADOBE'|'ELEMENTAL'|'ELEMENTAL_SCTE35',
],
'BaseUrlContent': 'string',
'BaseUrlManifest': 'string',
'CaptionLanguageMappings': [
{
'CaptionChannel': 123,
'LanguageCode': 'string',
'LanguageDescription': 'string'
},
],
'CaptionLanguageSetting': 'INSERT'|'NONE'|'OMIT',
'ClientCache': 'DISABLED'|'ENABLED',
'CodecSpecification': 'RFC_4281'|'RFC_6381',
'ConstantIv': 'string',
'Destination': {
'DestinationRefId': 'string'
},
'DirectoryStructure': 'SINGLE_DIRECTORY'|'SUBDIRECTORY_PER_STREAM',
'EncryptionType': 'AES128'|'SAMPLE_AES',
'HlsCdnSettings': {
'HlsAkamaiSettings': {
'ConnectionRetryInterval': 123,
'FilecacheDuration': 123,
'HttpTransferMode': 'CHUNKED'|'NON_CHUNKED',
'NumRetries': 123,
'RestartDelay': 123,
'Salt': 'string',
'Token': 'string'
},
'HlsBasicPutSettings': {
'ConnectionRetryInterval': 123,
'FilecacheDuration': 123,
'NumRetries': 123,
'RestartDelay': 123
},
'HlsMediaStoreSettings': {
'ConnectionRetryInterval': 123,
'FilecacheDuration': 123,
'MediaStoreStorageClass': 'TEMPORAL',
'NumRetries': 123,
'RestartDelay': 123
},
'HlsWebdavSettings': {
'ConnectionRetryInterval': 123,
'FilecacheDuration': 123,
'HttpTransferMode': 'CHUNKED'|'NON_CHUNKED',
'NumRetries': 123,
'RestartDelay': 123
}
},
'IndexNSegments': 123,
'InputLossAction': 'EMIT_OUTPUT'|'PAUSE_OUTPUT',
'IvInManifest': 'EXCLUDE'|'INCLUDE',
'IvSource': 'EXPLICIT'|'FOLLOWS_SEGMENT_NUMBER',
'KeepSegments': 123,
'KeyFormat': 'string',
'KeyFormatVersions': 'string',
'KeyProviderSettings': {
'StaticKeySettings': {
'KeyProviderServer': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'StaticKeyValue': 'string'
}
},
'ManifestCompression': 'GZIP'|'NONE',
'ManifestDurationFormat': 'FLOATING_POINT'|'INTEGER',
'MinSegmentLength': 123,
'Mode': 'LIVE'|'VOD',
'OutputSelection': 'MANIFESTS_AND_SEGMENTS'|'SEGMENTS_ONLY',
'ProgramDateTime': 'EXCLUDE'|'INCLUDE',
'ProgramDateTimePeriod': 123,
'SegmentLength': 123,
'SegmentationMode': 'USE_INPUT_SEGMENTATION'|'USE_SEGMENT_DURATION',
'SegmentsPerSubdirectory': 123,
'StreamInfResolution': 'EXCLUDE'|'INCLUDE',
'TimedMetadataId3Frame': 'NONE'|'PRIV'|'TDRL',
'TimedMetadataId3Period': 123,
'TimestampDeltaMilliseconds': 123,
'TsFileMode': 'SEGMENTED_FILES'|'SINGLE_FILE'
},
'MsSmoothGroupSettings': {
'AcquisitionPointId': 'string',
'AudioOnlyTimecodeControl': 'PASSTHROUGH'|'USE_CONFIGURED_CLOCK',
'CertificateMode': 'SELF_SIGNED'|'VERIFY_AUTHENTICITY',
'ConnectionRetryInterval': 123,
'Destination': {
'DestinationRefId': 'string'
},
'EventId': 'string',
'EventIdMode': 'NO_EVENT_ID'|'USE_CONFIGURED'|'USE_TIMESTAMP',
'EventStopBehavior': 'NONE'|'SEND_EOS',
'FilecacheDuration': 123,
'FragmentLength': 123,
'InputLossAction': 'EMIT_OUTPUT'|'PAUSE_OUTPUT',
'NumRetries': 123,
'RestartDelay': 123,
'SegmentationMode': 'USE_INPUT_SEGMENTATION'|'USE_SEGMENT_DURATION',
'SendDelayMs': 123,
'SparseTrackType': 'NONE'|'SCTE_35',
'StreamManifestBehavior': 'DO_NOT_SEND'|'SEND',
'TimestampOffset': 'string',
'TimestampOffsetMode': 'USE_CONFIGURED_OFFSET'|'USE_EVENT_START_DATE'
},
'RtmpGroupSettings': {
'AuthenticationScheme': 'AKAMAI'|'COMMON',
'CacheFullBehavior': 'DISCONNECT_IMMEDIATELY'|'WAIT_FOR_SERVER',
'CacheLength': 123,
'CaptionData': 'ALL'|'FIELD1_608'|'FIELD1_AND_FIELD2_608',
'RestartDelay': 123
},
'UdpGroupSettings': {
'InputLossAction': 'DROP_PROGRAM'|'DROP_TS'|'EMIT_PROGRAM',
'TimedMetadataId3Frame': 'NONE'|'PRIV'|'TDRL',
'TimedMetadataId3Period': 123
}
},
'Outputs': [
{
'AudioDescriptionNames': [
'string',
],
'CaptionDescriptionNames': [
'string',
],
'OutputName': 'string',
'OutputSettings': {
'ArchiveOutputSettings': {
'ContainerSettings': {
'M2tsSettings': {
'AbsentInputAudioBehavior': 'DROP'|'ENCODE_SILENCE',
'Arib': 'DISABLED'|'ENABLED',
'AribCaptionsPid': 'string',
'AribCaptionsPidControl': 'AUTO'|'USE_CONFIGURED',
'AudioBufferModel': 'ATSC'|'DVB',
'AudioFramesPerPes': 123,
'AudioPids': 'string',
'AudioStreamType': 'ATSC'|'DVB',
'Bitrate': 123,
'BufferModel': 'MULTIPLEX'|'NONE',
'CcDescriptor': 'DISABLED'|'ENABLED',
'DvbNitSettings': {
'NetworkId': 123,
'NetworkName': 'string',
'RepInterval': 123
},
'DvbSdtSettings': {
'OutputSdt': 'SDT_FOLLOW'|'SDT_FOLLOW_IF_PRESENT'|'SDT_MANUAL'|'SDT_NONE',
'RepInterval': 123,
'ServiceName': 'string',
'ServiceProviderName': 'string'
},
'DvbSubPids': 'string',
'DvbTdtSettings': {
'RepInterval': 123
},
'DvbTeletextPid': 'string',
'Ebif': 'NONE'|'PASSTHROUGH',
'EbpAudioInterval': 'VIDEO_AND_FIXED_INTERVALS'|'VIDEO_INTERVAL',
'EbpLookaheadMs': 123,
'EbpPlacement': 'VIDEO_AND_AUDIO_PIDS'|'VIDEO_PID',
'EcmPid': 'string',
'EsRateInPes': 'EXCLUDE'|'INCLUDE',
'EtvPlatformPid': 'string',
'EtvSignalPid': 'string',
'FragmentTime': 123.0,
'Klv': 'NONE'|'PASSTHROUGH',
'KlvDataPids': 'string',
'NullPacketBitrate': 123.0,
'PatInterval': 123,
'PcrControl': 'CONFIGURED_PCR_PERIOD'|'PCR_EVERY_PES_PACKET',
'PcrPeriod': 123,
'PcrPid': 'string',
'PmtInterval': 123,
'PmtPid': 'string',
'ProgramNum': 123,
'RateMode': 'CBR'|'VBR',
'Scte27Pids': 'string',
'Scte35Control': 'NONE'|'PASSTHROUGH',
'Scte35Pid': 'string',
'SegmentationMarkers': 'EBP'|'EBP_LEGACY'|'NONE'|'PSI_SEGSTART'|'RAI_ADAPT'|'RAI_SEGSTART',
'SegmentationStyle': 'MAINTAIN_CADENCE'|'RESET_CADENCE',
'SegmentationTime': 123.0,
'TimedMetadataBehavior': 'NO_PASSTHROUGH'|'PASSTHROUGH',
'TimedMetadataPid': 'string',
'TransportStreamId': 123,
'VideoPid': 'string'
}
},
'Extension': 'string',
'NameModifier': 'string'
},
'HlsOutputSettings': {
'HlsSettings': {
'AudioOnlyHlsSettings': {
'AudioGroupId': 'string',
'AudioOnlyImage': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'AudioTrackType': 'ALTERNATE_AUDIO_AUTO_SELECT'|'ALTERNATE_AUDIO_AUTO_SELECT_DEFAULT'|'ALTERNATE_AUDIO_NOT_AUTO_SELECT'|'AUDIO_ONLY_VARIANT_STREAM'
},
'StandardHlsSettings': {
'AudioRenditionSets': 'string',
'M3u8Settings': {
'AudioFramesPerPes': 123,
'AudioPids': 'string',
'EcmPid': 'string',
'PatInterval': 123,
'PcrControl': 'CONFIGURED_PCR_PERIOD'|'PCR_EVERY_PES_PACKET',
'PcrPeriod': 123,
'PcrPid': 'string',
'PmtInterval': 123,
'PmtPid': 'string',
'ProgramNum': 123,
'Scte35Behavior': 'NO_PASSTHROUGH'|'PASSTHROUGH',
'Scte35Pid': 'string',
'TimedMetadataBehavior': 'NO_PASSTHROUGH'|'PASSTHROUGH',
'TimedMetadataPid': 'string',
'TransportStreamId': 123,
'VideoPid': 'string'
}
}
},
'NameModifier': 'string',
'SegmentModifier': 'string'
},
'MsSmoothOutputSettings': {
'NameModifier': 'string'
},
'RtmpOutputSettings': {
'CertificateMode': 'SELF_SIGNED'|'VERIFY_AUTHENTICITY',
'ConnectionRetryInterval': 123,
'Destination': {
'DestinationRefId': 'string'
},
'NumRetries': 123
},
'UdpOutputSettings': {
'BufferMsec': 123,
'ContainerSettings': {
'M2tsSettings': {
'AbsentInputAudioBehavior': 'DROP'|'ENCODE_SILENCE',
'Arib': 'DISABLED'|'ENABLED',
'AribCaptionsPid': 'string',
'AribCaptionsPidControl': 'AUTO'|'USE_CONFIGURED',
'AudioBufferModel': 'ATSC'|'DVB',
'AudioFramesPerPes': 123,
'AudioPids': 'string',
'AudioStreamType': 'ATSC'|'DVB',
'Bitrate': 123,
'BufferModel': 'MULTIPLEX'|'NONE',
'CcDescriptor': 'DISABLED'|'ENABLED',
'DvbNitSettings': {
'NetworkId': 123,
'NetworkName': 'string',
'RepInterval': 123
},
'DvbSdtSettings': {
'OutputSdt': 'SDT_FOLLOW'|'SDT_FOLLOW_IF_PRESENT'|'SDT_MANUAL'|'SDT_NONE',
'RepInterval': 123,
'ServiceName': 'string',
'ServiceProviderName': 'string'
},
'DvbSubPids': 'string',
'DvbTdtSettings': {
'RepInterval': 123
},
'DvbTeletextPid': 'string',
'Ebif': 'NONE'|'PASSTHROUGH',
'EbpAudioInterval': 'VIDEO_AND_FIXED_INTERVALS'|'VIDEO_INTERVAL',
'EbpLookaheadMs': 123,
'EbpPlacement': 'VIDEO_AND_AUDIO_PIDS'|'VIDEO_PID',
'EcmPid': 'string',
'EsRateInPes': 'EXCLUDE'|'INCLUDE',
'EtvPlatformPid': 'string',
'EtvSignalPid': 'string',
'FragmentTime': 123.0,
'Klv': 'NONE'|'PASSTHROUGH',
'KlvDataPids': 'string',
'NullPacketBitrate': 123.0,
'PatInterval': 123,
'PcrControl': 'CONFIGURED_PCR_PERIOD'|'PCR_EVERY_PES_PACKET',
'PcrPeriod': 123,
'PcrPid': 'string',
'PmtInterval': 123,
'PmtPid': 'string',
'ProgramNum': 123,
'RateMode': 'CBR'|'VBR',
'Scte27Pids': 'string',
'Scte35Control': 'NONE'|'PASSTHROUGH',
'Scte35Pid': 'string',
'SegmentationMarkers': 'EBP'|'EBP_LEGACY'|'NONE'|'PSI_SEGSTART'|'RAI_ADAPT'|'RAI_SEGSTART',
'SegmentationStyle': 'MAINTAIN_CADENCE'|'RESET_CADENCE',
'SegmentationTime': 123.0,
'TimedMetadataBehavior': 'NO_PASSTHROUGH'|'PASSTHROUGH',
'TimedMetadataPid': 'string',
'TransportStreamId': 123,
'VideoPid': 'string'
}
},
'Destination': {
'DestinationRefId': 'string'
},
'FecOutputSettings': {
'ColumnDepth': 123,
'IncludeFec': 'COLUMN'|'COLUMN_AND_ROW',
'RowLength': 123
}
}
},
'VideoDescriptionName': 'string'
},
]
},
],
'TimecodeConfig': {
'Source': 'EMBEDDED'|'SYSTEMCLOCK'|'ZEROBASED',
'SyncThreshold': 123
},
'VideoDescriptions': [
{
'CodecSettings': {
'H264Settings': {
'AdaptiveQuantization': 'HIGH'|'HIGHER'|'LOW'|'MAX'|'MEDIUM'|'OFF',
'AfdSignaling': 'AUTO'|'FIXED'|'NONE',
'Bitrate': 123,
'BufFillPct': 123,
'BufSize': 123,
'ColorMetadata': 'IGNORE'|'INSERT',
'EntropyEncoding': 'CABAC'|'CAVLC',
'FixedAfd': 'AFD_0000'|'AFD_0010'|'AFD_0011'|'AFD_0100'|'AFD_1000'|'AFD_1001'|'AFD_1010'|'AFD_1011'|'AFD_1101'|'AFD_1110'|'AFD_1111',
'FlickerAq': 'DISABLED'|'ENABLED',
'FramerateControl': 'INITIALIZE_FROM_SOURCE'|'SPECIFIED',
'FramerateDenominator': 123,
'FramerateNumerator': 123,
'GopBReference': 'DISABLED'|'ENABLED',
'GopClosedCadence': 123,
'GopNumBFrames': 123,
'GopSize': 123.0,
'GopSizeUnits': 'FRAMES'|'SECONDS',
'Level': 'H264_LEVEL_1'|'H264_LEVEL_1_1'|'H264_LEVEL_1_2'|'H264_LEVEL_1_3'|'H264_LEVEL_2'|'H264_LEVEL_2_1'|'H264_LEVEL_2_2'|'H264_LEVEL_3'|'H264_LEVEL_3_1'|'H264_LEVEL_3_2'|'H264_LEVEL_4'|'H264_LEVEL_4_1'|'H264_LEVEL_4_2'|'H264_LEVEL_5'|'H264_LEVEL_5_1'|'H264_LEVEL_5_2'|'H264_LEVEL_AUTO',
'LookAheadRateControl': 'HIGH'|'LOW'|'MEDIUM',
'MaxBitrate': 123,
'MinIInterval': 123,
'NumRefFrames': 123,
'ParControl': 'INITIALIZE_FROM_SOURCE'|'SPECIFIED',
'ParDenominator': 123,
'ParNumerator': 123,
'Profile': 'BASELINE'|'HIGH'|'HIGH_10BIT'|'HIGH_422'|'HIGH_422_10BIT'|'MAIN',
'RateControlMode': 'CBR'|'VBR',
'ScanType': 'INTERLACED'|'PROGRESSIVE',
'SceneChangeDetect': 'DISABLED'|'ENABLED',
'Slices': 123,
'Softness': 123,
'SpatialAq': 'DISABLED'|'ENABLED',
'Syntax': 'DEFAULT'|'RP2027',
'TemporalAq': 'DISABLED'|'ENABLED',
'TimecodeInsertion': 'DISABLED'|'PIC_TIMING_SEI'
}
},
'Height': 123,
'Name': 'string',
'RespondToAfd': 'NONE'|'PASSTHROUGH'|'RESPOND',
'ScalingBehavior': 'DEFAULT'|'STRETCH_TO_OUTPUT',
'Sharpness': 123,
'Width': 123
},
]
},
'Id': 'string',
'InputAttachments': [
{
'InputId': 'string',
'InputSettings': {
'AudioSelectors': [
{
'Name': 'string',
'SelectorSettings': {
'AudioLanguageSelection': {
'LanguageCode': 'string',
'LanguageSelectionPolicy': 'LOOSE'|'STRICT'
},
'AudioPidSelection': {
'Pid': 123
}
}
},
],
'CaptionSelectors': [
{
'LanguageCode': 'string',
'Name': 'string',
'SelectorSettings': {
'AribSourceSettings': {},
'DvbSubSourceSettings': {
'Pid': 123
},
'EmbeddedSourceSettings': {
'Convert608To708': 'DISABLED'|'UPCONVERT',
'Scte20Detection': 'AUTO'|'OFF',
'Source608ChannelNumber': 123,
'Source608TrackNumber': 123
},
'Scte20SourceSettings': {
'Convert608To708': 'DISABLED'|'UPCONVERT',
'Source608ChannelNumber': 123
},
'Scte27SourceSettings': {
'Pid': 123
},
'TeletextSourceSettings': {
'PageNumber': 'string'
}
}
},
],
'DeblockFilter': 'DISABLED'|'ENABLED',
'DenoiseFilter': 'DISABLED'|'ENABLED',
'FilterStrength': 123,
'InputFilter': 'AUTO'|'DISABLED'|'FORCED',
'NetworkInputSettings': {
'HlsInputSettings': {
'Bandwidth': 123,
'BufferSegments': 123,
'Retries': 123,
'RetryInterval': 123
},
'ServerValidation': 'CHECK_CRYPTOGRAPHY_AND_VALIDATE_NAME'|'CHECK_CRYPTOGRAPHY_ONLY'
},
'SourceEndBehavior': 'CONTINUE'|'LOOP',
'VideoSelector': {
'ColorSpace': 'FOLLOW'|'REC_601'|'REC_709',
'ColorSpaceUsage': 'FALLBACK'|'FORCE',
'SelectorSettings': {
'VideoSelectorPid': {
'Pid': 123
},
'VideoSelectorProgramId': {
'ProgramId': 123
}
}
}
}
},
],
'InputSpecification': {
'Codec': 'MPEG2'|'AVC'|'HEVC',
'MaximumBitrate': 'MAX_10_MBPS'|'MAX_20_MBPS'|'MAX_50_MBPS',
'Resolution': 'SD'|'HD'|'UHD'
},
'LogLevel': 'ERROR'|'WARNING'|'INFO'|'DEBUG'|'DISABLED',
'Name': 'string',
'PipelinesRunningCount': 123,
'RoleArn': 'string',
'State': 'CREATING'|'CREATE_FAILED'|'IDLE'|'STARTING'|'RUNNING'|'RECOVERING'|'STOPPING'|'DELETING'|'DELETED'
}
Response Structure
Stops a running channel
See also: AWS API Documentation
Request Syntax
response = client.stop_channel(
ChannelId='string'
)
{
'Arn': 'string',
'Destinations': [
{
'Id': 'string',
'Settings': [
{
'PasswordParam': 'string',
'StreamName': 'string',
'Url': 'string',
'Username': 'string'
},
]
},
],
'EgressEndpoints': [
{
'SourceIp': 'string'
},
],
'EncoderSettings': {
'AudioDescriptions': [
{
'AudioNormalizationSettings': {
'Algorithm': 'ITU_1770_1'|'ITU_1770_2',
'AlgorithmControl': 'CORRECT_AUDIO',
'TargetLkfs': 123.0
},
'AudioSelectorName': 'string',
'AudioType': 'CLEAN_EFFECTS'|'HEARING_IMPAIRED'|'UNDEFINED'|'VISUAL_IMPAIRED_COMMENTARY',
'AudioTypeControl': 'FOLLOW_INPUT'|'USE_CONFIGURED',
'CodecSettings': {
'AacSettings': {
'Bitrate': 123.0,
'CodingMode': 'AD_RECEIVER_MIX'|'CODING_MODE_1_0'|'CODING_MODE_1_1'|'CODING_MODE_2_0'|'CODING_MODE_5_1',
'InputType': 'BROADCASTER_MIXED_AD'|'NORMAL',
'Profile': 'HEV1'|'HEV2'|'LC',
'RateControlMode': 'CBR'|'VBR',
'RawFormat': 'LATM_LOAS'|'NONE',
'SampleRate': 123.0,
'Spec': 'MPEG2'|'MPEG4',
'VbrQuality': 'HIGH'|'LOW'|'MEDIUM_HIGH'|'MEDIUM_LOW'
},
'Ac3Settings': {
'Bitrate': 123.0,
'BitstreamMode': 'COMMENTARY'|'COMPLETE_MAIN'|'DIALOGUE'|'EMERGENCY'|'HEARING_IMPAIRED'|'MUSIC_AND_EFFECTS'|'VISUALLY_IMPAIRED'|'VOICE_OVER',
'CodingMode': 'CODING_MODE_1_0'|'CODING_MODE_1_1'|'CODING_MODE_2_0'|'CODING_MODE_3_2_LFE',
'Dialnorm': 123,
'DrcProfile': 'FILM_STANDARD'|'NONE',
'LfeFilter': 'DISABLED'|'ENABLED',
'MetadataControl': 'FOLLOW_INPUT'|'USE_CONFIGURED'
},
'Eac3Settings': {
'AttenuationControl': 'ATTENUATE_3_DB'|'NONE',
'Bitrate': 123.0,
'BitstreamMode': 'COMMENTARY'|'COMPLETE_MAIN'|'EMERGENCY'|'HEARING_IMPAIRED'|'VISUALLY_IMPAIRED',
'CodingMode': 'CODING_MODE_1_0'|'CODING_MODE_2_0'|'CODING_MODE_3_2',
'DcFilter': 'DISABLED'|'ENABLED',
'Dialnorm': 123,
'DrcLine': 'FILM_LIGHT'|'FILM_STANDARD'|'MUSIC_LIGHT'|'MUSIC_STANDARD'|'NONE'|'SPEECH',
'DrcRf': 'FILM_LIGHT'|'FILM_STANDARD'|'MUSIC_LIGHT'|'MUSIC_STANDARD'|'NONE'|'SPEECH',
'LfeControl': 'LFE'|'NO_LFE',
'LfeFilter': 'DISABLED'|'ENABLED',
'LoRoCenterMixLevel': 123.0,
'LoRoSurroundMixLevel': 123.0,
'LtRtCenterMixLevel': 123.0,
'LtRtSurroundMixLevel': 123.0,
'MetadataControl': 'FOLLOW_INPUT'|'USE_CONFIGURED',
'PassthroughControl': 'NO_PASSTHROUGH'|'WHEN_POSSIBLE',
'PhaseControl': 'NO_SHIFT'|'SHIFT_90_DEGREES',
'StereoDownmix': 'DPL2'|'LO_RO'|'LT_RT'|'NOT_INDICATED',
'SurroundExMode': 'DISABLED'|'ENABLED'|'NOT_INDICATED',
'SurroundMode': 'DISABLED'|'ENABLED'|'NOT_INDICATED'
},
'Mp2Settings': {
'Bitrate': 123.0,
'CodingMode': 'CODING_MODE_1_0'|'CODING_MODE_2_0',
'SampleRate': 123.0
},
'PassThroughSettings': {}
},
'LanguageCode': 'string',
'LanguageCodeControl': 'FOLLOW_INPUT'|'USE_CONFIGURED',
'Name': 'string',
'RemixSettings': {
'ChannelMappings': [
{
'InputChannelLevels': [
{
'Gain': 123,
'InputChannel': 123
},
],
'OutputChannel': 123
},
],
'ChannelsIn': 123,
'ChannelsOut': 123
},
'StreamName': 'string'
},
],
'AvailBlanking': {
'AvailBlankingImage': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'State': 'DISABLED'|'ENABLED'
},
'AvailConfiguration': {
'AvailSettings': {
'Scte35SpliceInsert': {
'AdAvailOffset': 123,
'NoRegionalBlackoutFlag': 'FOLLOW'|'IGNORE',
'WebDeliveryAllowedFlag': 'FOLLOW'|'IGNORE'
},
'Scte35TimeSignalApos': {
'AdAvailOffset': 123,
'NoRegionalBlackoutFlag': 'FOLLOW'|'IGNORE',
'WebDeliveryAllowedFlag': 'FOLLOW'|'IGNORE'
}
}
},
'BlackoutSlate': {
'BlackoutSlateImage': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'NetworkEndBlackout': 'DISABLED'|'ENABLED',
'NetworkEndBlackoutImage': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'NetworkId': 'string',
'State': 'DISABLED'|'ENABLED'
},
'CaptionDescriptions': [
{
'CaptionSelectorName': 'string',
'DestinationSettings': {
'AribDestinationSettings': {},
'BurnInDestinationSettings': {
'Alignment': 'CENTERED'|'LEFT'|'SMART',
'BackgroundColor': 'BLACK'|'NONE'|'WHITE',
'BackgroundOpacity': 123,
'Font': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'FontColor': 'BLACK'|'BLUE'|'GREEN'|'RED'|'WHITE'|'YELLOW',
'FontOpacity': 123,
'FontResolution': 123,
'FontSize': 'string',
'OutlineColor': 'BLACK'|'BLUE'|'GREEN'|'RED'|'WHITE'|'YELLOW',
'OutlineSize': 123,
'ShadowColor': 'BLACK'|'NONE'|'WHITE',
'ShadowOpacity': 123,
'ShadowXOffset': 123,
'ShadowYOffset': 123,
'TeletextGridControl': 'FIXED'|'SCALED',
'XPosition': 123,
'YPosition': 123
},
'DvbSubDestinationSettings': {
'Alignment': 'CENTERED'|'LEFT'|'SMART',
'BackgroundColor': 'BLACK'|'NONE'|'WHITE',
'BackgroundOpacity': 123,
'Font': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'FontColor': 'BLACK'|'BLUE'|'GREEN'|'RED'|'WHITE'|'YELLOW',
'FontOpacity': 123,
'FontResolution': 123,
'FontSize': 'string',
'OutlineColor': 'BLACK'|'BLUE'|'GREEN'|'RED'|'WHITE'|'YELLOW',
'OutlineSize': 123,
'ShadowColor': 'BLACK'|'NONE'|'WHITE',
'ShadowOpacity': 123,
'ShadowXOffset': 123,
'ShadowYOffset': 123,
'TeletextGridControl': 'FIXED'|'SCALED',
'XPosition': 123,
'YPosition': 123
},
'EmbeddedDestinationSettings': {},
'EmbeddedPlusScte20DestinationSettings': {},
'RtmpCaptionInfoDestinationSettings': {},
'Scte20PlusEmbeddedDestinationSettings': {},
'Scte27DestinationSettings': {},
'SmpteTtDestinationSettings': {},
'TeletextDestinationSettings': {},
'TtmlDestinationSettings': {
'StyleControl': 'PASSTHROUGH'|'USE_CONFIGURED'
},
'WebvttDestinationSettings': {}
},
'LanguageCode': 'string',
'LanguageDescription': 'string',
'Name': 'string'
},
],
'GlobalConfiguration': {
'InitialAudioGain': 123,
'InputEndAction': 'NONE'|'SWITCH_AND_LOOP_INPUTS',
'InputLossBehavior': {
'BlackFrameMsec': 123,
'InputLossImageColor': 'string',
'InputLossImageSlate': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'InputLossImageType': 'COLOR'|'SLATE',
'RepeatFrameMsec': 123
},
'OutputTimingSource': 'INPUT_CLOCK'|'SYSTEM_CLOCK',
'SupportLowFramerateInputs': 'DISABLED'|'ENABLED'
},
'OutputGroups': [
{
'Name': 'string',
'OutputGroupSettings': {
'ArchiveGroupSettings': {
'Destination': {
'DestinationRefId': 'string'
},
'RolloverInterval': 123
},
'HlsGroupSettings': {
'AdMarkers': [
'ADOBE'|'ELEMENTAL'|'ELEMENTAL_SCTE35',
],
'BaseUrlContent': 'string',
'BaseUrlManifest': 'string',
'CaptionLanguageMappings': [
{
'CaptionChannel': 123,
'LanguageCode': 'string',
'LanguageDescription': 'string'
},
],
'CaptionLanguageSetting': 'INSERT'|'NONE'|'OMIT',
'ClientCache': 'DISABLED'|'ENABLED',
'CodecSpecification': 'RFC_4281'|'RFC_6381',
'ConstantIv': 'string',
'Destination': {
'DestinationRefId': 'string'
},
'DirectoryStructure': 'SINGLE_DIRECTORY'|'SUBDIRECTORY_PER_STREAM',
'EncryptionType': 'AES128'|'SAMPLE_AES',
'HlsCdnSettings': {
'HlsAkamaiSettings': {
'ConnectionRetryInterval': 123,
'FilecacheDuration': 123,
'HttpTransferMode': 'CHUNKED'|'NON_CHUNKED',
'NumRetries': 123,
'RestartDelay': 123,
'Salt': 'string',
'Token': 'string'
},
'HlsBasicPutSettings': {
'ConnectionRetryInterval': 123,
'FilecacheDuration': 123,
'NumRetries': 123,
'RestartDelay': 123
},
'HlsMediaStoreSettings': {
'ConnectionRetryInterval': 123,
'FilecacheDuration': 123,
'MediaStoreStorageClass': 'TEMPORAL',
'NumRetries': 123,
'RestartDelay': 123
},
'HlsWebdavSettings': {
'ConnectionRetryInterval': 123,
'FilecacheDuration': 123,
'HttpTransferMode': 'CHUNKED'|'NON_CHUNKED',
'NumRetries': 123,
'RestartDelay': 123
}
},
'IndexNSegments': 123,
'InputLossAction': 'EMIT_OUTPUT'|'PAUSE_OUTPUT',
'IvInManifest': 'EXCLUDE'|'INCLUDE',
'IvSource': 'EXPLICIT'|'FOLLOWS_SEGMENT_NUMBER',
'KeepSegments': 123,
'KeyFormat': 'string',
'KeyFormatVersions': 'string',
'KeyProviderSettings': {
'StaticKeySettings': {
'KeyProviderServer': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'StaticKeyValue': 'string'
}
},
'ManifestCompression': 'GZIP'|'NONE',
'ManifestDurationFormat': 'FLOATING_POINT'|'INTEGER',
'MinSegmentLength': 123,
'Mode': 'LIVE'|'VOD',
'OutputSelection': 'MANIFESTS_AND_SEGMENTS'|'SEGMENTS_ONLY',
'ProgramDateTime': 'EXCLUDE'|'INCLUDE',
'ProgramDateTimePeriod': 123,
'SegmentLength': 123,
'SegmentationMode': 'USE_INPUT_SEGMENTATION'|'USE_SEGMENT_DURATION',
'SegmentsPerSubdirectory': 123,
'StreamInfResolution': 'EXCLUDE'|'INCLUDE',
'TimedMetadataId3Frame': 'NONE'|'PRIV'|'TDRL',
'TimedMetadataId3Period': 123,
'TimestampDeltaMilliseconds': 123,
'TsFileMode': 'SEGMENTED_FILES'|'SINGLE_FILE'
},
'MsSmoothGroupSettings': {
'AcquisitionPointId': 'string',
'AudioOnlyTimecodeControl': 'PASSTHROUGH'|'USE_CONFIGURED_CLOCK',
'CertificateMode': 'SELF_SIGNED'|'VERIFY_AUTHENTICITY',
'ConnectionRetryInterval': 123,
'Destination': {
'DestinationRefId': 'string'
},
'EventId': 'string',
'EventIdMode': 'NO_EVENT_ID'|'USE_CONFIGURED'|'USE_TIMESTAMP',
'EventStopBehavior': 'NONE'|'SEND_EOS',
'FilecacheDuration': 123,
'FragmentLength': 123,
'InputLossAction': 'EMIT_OUTPUT'|'PAUSE_OUTPUT',
'NumRetries': 123,
'RestartDelay': 123,
'SegmentationMode': 'USE_INPUT_SEGMENTATION'|'USE_SEGMENT_DURATION',
'SendDelayMs': 123,
'SparseTrackType': 'NONE'|'SCTE_35',
'StreamManifestBehavior': 'DO_NOT_SEND'|'SEND',
'TimestampOffset': 'string',
'TimestampOffsetMode': 'USE_CONFIGURED_OFFSET'|'USE_EVENT_START_DATE'
},
'RtmpGroupSettings': {
'AuthenticationScheme': 'AKAMAI'|'COMMON',
'CacheFullBehavior': 'DISCONNECT_IMMEDIATELY'|'WAIT_FOR_SERVER',
'CacheLength': 123,
'CaptionData': 'ALL'|'FIELD1_608'|'FIELD1_AND_FIELD2_608',
'RestartDelay': 123
},
'UdpGroupSettings': {
'InputLossAction': 'DROP_PROGRAM'|'DROP_TS'|'EMIT_PROGRAM',
'TimedMetadataId3Frame': 'NONE'|'PRIV'|'TDRL',
'TimedMetadataId3Period': 123
}
},
'Outputs': [
{
'AudioDescriptionNames': [
'string',
],
'CaptionDescriptionNames': [
'string',
],
'OutputName': 'string',
'OutputSettings': {
'ArchiveOutputSettings': {
'ContainerSettings': {
'M2tsSettings': {
'AbsentInputAudioBehavior': 'DROP'|'ENCODE_SILENCE',
'Arib': 'DISABLED'|'ENABLED',
'AribCaptionsPid': 'string',
'AribCaptionsPidControl': 'AUTO'|'USE_CONFIGURED',
'AudioBufferModel': 'ATSC'|'DVB',
'AudioFramesPerPes': 123,
'AudioPids': 'string',
'AudioStreamType': 'ATSC'|'DVB',
'Bitrate': 123,
'BufferModel': 'MULTIPLEX'|'NONE',
'CcDescriptor': 'DISABLED'|'ENABLED',
'DvbNitSettings': {
'NetworkId': 123,
'NetworkName': 'string',
'RepInterval': 123
},
'DvbSdtSettings': {
'OutputSdt': 'SDT_FOLLOW'|'SDT_FOLLOW_IF_PRESENT'|'SDT_MANUAL'|'SDT_NONE',
'RepInterval': 123,
'ServiceName': 'string',
'ServiceProviderName': 'string'
},
'DvbSubPids': 'string',
'DvbTdtSettings': {
'RepInterval': 123
},
'DvbTeletextPid': 'string',
'Ebif': 'NONE'|'PASSTHROUGH',
'EbpAudioInterval': 'VIDEO_AND_FIXED_INTERVALS'|'VIDEO_INTERVAL',
'EbpLookaheadMs': 123,
'EbpPlacement': 'VIDEO_AND_AUDIO_PIDS'|'VIDEO_PID',
'EcmPid': 'string',
'EsRateInPes': 'EXCLUDE'|'INCLUDE',
'EtvPlatformPid': 'string',
'EtvSignalPid': 'string',
'FragmentTime': 123.0,
'Klv': 'NONE'|'PASSTHROUGH',
'KlvDataPids': 'string',
'NullPacketBitrate': 123.0,
'PatInterval': 123,
'PcrControl': 'CONFIGURED_PCR_PERIOD'|'PCR_EVERY_PES_PACKET',
'PcrPeriod': 123,
'PcrPid': 'string',
'PmtInterval': 123,
'PmtPid': 'string',
'ProgramNum': 123,
'RateMode': 'CBR'|'VBR',
'Scte27Pids': 'string',
'Scte35Control': 'NONE'|'PASSTHROUGH',
'Scte35Pid': 'string',
'SegmentationMarkers': 'EBP'|'EBP_LEGACY'|'NONE'|'PSI_SEGSTART'|'RAI_ADAPT'|'RAI_SEGSTART',
'SegmentationStyle': 'MAINTAIN_CADENCE'|'RESET_CADENCE',
'SegmentationTime': 123.0,
'TimedMetadataBehavior': 'NO_PASSTHROUGH'|'PASSTHROUGH',
'TimedMetadataPid': 'string',
'TransportStreamId': 123,
'VideoPid': 'string'
}
},
'Extension': 'string',
'NameModifier': 'string'
},
'HlsOutputSettings': {
'HlsSettings': {
'AudioOnlyHlsSettings': {
'AudioGroupId': 'string',
'AudioOnlyImage': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'AudioTrackType': 'ALTERNATE_AUDIO_AUTO_SELECT'|'ALTERNATE_AUDIO_AUTO_SELECT_DEFAULT'|'ALTERNATE_AUDIO_NOT_AUTO_SELECT'|'AUDIO_ONLY_VARIANT_STREAM'
},
'StandardHlsSettings': {
'AudioRenditionSets': 'string',
'M3u8Settings': {
'AudioFramesPerPes': 123,
'AudioPids': 'string',
'EcmPid': 'string',
'PatInterval': 123,
'PcrControl': 'CONFIGURED_PCR_PERIOD'|'PCR_EVERY_PES_PACKET',
'PcrPeriod': 123,
'PcrPid': 'string',
'PmtInterval': 123,
'PmtPid': 'string',
'ProgramNum': 123,
'Scte35Behavior': 'NO_PASSTHROUGH'|'PASSTHROUGH',
'Scte35Pid': 'string',
'TimedMetadataBehavior': 'NO_PASSTHROUGH'|'PASSTHROUGH',
'TimedMetadataPid': 'string',
'TransportStreamId': 123,
'VideoPid': 'string'
}
}
},
'NameModifier': 'string',
'SegmentModifier': 'string'
},
'MsSmoothOutputSettings': {
'NameModifier': 'string'
},
'RtmpOutputSettings': {
'CertificateMode': 'SELF_SIGNED'|'VERIFY_AUTHENTICITY',
'ConnectionRetryInterval': 123,
'Destination': {
'DestinationRefId': 'string'
},
'NumRetries': 123
},
'UdpOutputSettings': {
'BufferMsec': 123,
'ContainerSettings': {
'M2tsSettings': {
'AbsentInputAudioBehavior': 'DROP'|'ENCODE_SILENCE',
'Arib': 'DISABLED'|'ENABLED',
'AribCaptionsPid': 'string',
'AribCaptionsPidControl': 'AUTO'|'USE_CONFIGURED',
'AudioBufferModel': 'ATSC'|'DVB',
'AudioFramesPerPes': 123,
'AudioPids': 'string',
'AudioStreamType': 'ATSC'|'DVB',
'Bitrate': 123,
'BufferModel': 'MULTIPLEX'|'NONE',
'CcDescriptor': 'DISABLED'|'ENABLED',
'DvbNitSettings': {
'NetworkId': 123,
'NetworkName': 'string',
'RepInterval': 123
},
'DvbSdtSettings': {
'OutputSdt': 'SDT_FOLLOW'|'SDT_FOLLOW_IF_PRESENT'|'SDT_MANUAL'|'SDT_NONE',
'RepInterval': 123,
'ServiceName': 'string',
'ServiceProviderName': 'string'
},
'DvbSubPids': 'string',
'DvbTdtSettings': {
'RepInterval': 123
},
'DvbTeletextPid': 'string',
'Ebif': 'NONE'|'PASSTHROUGH',
'EbpAudioInterval': 'VIDEO_AND_FIXED_INTERVALS'|'VIDEO_INTERVAL',
'EbpLookaheadMs': 123,
'EbpPlacement': 'VIDEO_AND_AUDIO_PIDS'|'VIDEO_PID',
'EcmPid': 'string',
'EsRateInPes': 'EXCLUDE'|'INCLUDE',
'EtvPlatformPid': 'string',
'EtvSignalPid': 'string',
'FragmentTime': 123.0,
'Klv': 'NONE'|'PASSTHROUGH',
'KlvDataPids': 'string',
'NullPacketBitrate': 123.0,
'PatInterval': 123,
'PcrControl': 'CONFIGURED_PCR_PERIOD'|'PCR_EVERY_PES_PACKET',
'PcrPeriod': 123,
'PcrPid': 'string',
'PmtInterval': 123,
'PmtPid': 'string',
'ProgramNum': 123,
'RateMode': 'CBR'|'VBR',
'Scte27Pids': 'string',
'Scte35Control': 'NONE'|'PASSTHROUGH',
'Scte35Pid': 'string',
'SegmentationMarkers': 'EBP'|'EBP_LEGACY'|'NONE'|'PSI_SEGSTART'|'RAI_ADAPT'|'RAI_SEGSTART',
'SegmentationStyle': 'MAINTAIN_CADENCE'|'RESET_CADENCE',
'SegmentationTime': 123.0,
'TimedMetadataBehavior': 'NO_PASSTHROUGH'|'PASSTHROUGH',
'TimedMetadataPid': 'string',
'TransportStreamId': 123,
'VideoPid': 'string'
}
},
'Destination': {
'DestinationRefId': 'string'
},
'FecOutputSettings': {
'ColumnDepth': 123,
'IncludeFec': 'COLUMN'|'COLUMN_AND_ROW',
'RowLength': 123
}
}
},
'VideoDescriptionName': 'string'
},
]
},
],
'TimecodeConfig': {
'Source': 'EMBEDDED'|'SYSTEMCLOCK'|'ZEROBASED',
'SyncThreshold': 123
},
'VideoDescriptions': [
{
'CodecSettings': {
'H264Settings': {
'AdaptiveQuantization': 'HIGH'|'HIGHER'|'LOW'|'MAX'|'MEDIUM'|'OFF',
'AfdSignaling': 'AUTO'|'FIXED'|'NONE',
'Bitrate': 123,
'BufFillPct': 123,
'BufSize': 123,
'ColorMetadata': 'IGNORE'|'INSERT',
'EntropyEncoding': 'CABAC'|'CAVLC',
'FixedAfd': 'AFD_0000'|'AFD_0010'|'AFD_0011'|'AFD_0100'|'AFD_1000'|'AFD_1001'|'AFD_1010'|'AFD_1011'|'AFD_1101'|'AFD_1110'|'AFD_1111',
'FlickerAq': 'DISABLED'|'ENABLED',
'FramerateControl': 'INITIALIZE_FROM_SOURCE'|'SPECIFIED',
'FramerateDenominator': 123,
'FramerateNumerator': 123,
'GopBReference': 'DISABLED'|'ENABLED',
'GopClosedCadence': 123,
'GopNumBFrames': 123,
'GopSize': 123.0,
'GopSizeUnits': 'FRAMES'|'SECONDS',
'Level': 'H264_LEVEL_1'|'H264_LEVEL_1_1'|'H264_LEVEL_1_2'|'H264_LEVEL_1_3'|'H264_LEVEL_2'|'H264_LEVEL_2_1'|'H264_LEVEL_2_2'|'H264_LEVEL_3'|'H264_LEVEL_3_1'|'H264_LEVEL_3_2'|'H264_LEVEL_4'|'H264_LEVEL_4_1'|'H264_LEVEL_4_2'|'H264_LEVEL_5'|'H264_LEVEL_5_1'|'H264_LEVEL_5_2'|'H264_LEVEL_AUTO',
'LookAheadRateControl': 'HIGH'|'LOW'|'MEDIUM',
'MaxBitrate': 123,
'MinIInterval': 123,
'NumRefFrames': 123,
'ParControl': 'INITIALIZE_FROM_SOURCE'|'SPECIFIED',
'ParDenominator': 123,
'ParNumerator': 123,
'Profile': 'BASELINE'|'HIGH'|'HIGH_10BIT'|'HIGH_422'|'HIGH_422_10BIT'|'MAIN',
'RateControlMode': 'CBR'|'VBR',
'ScanType': 'INTERLACED'|'PROGRESSIVE',
'SceneChangeDetect': 'DISABLED'|'ENABLED',
'Slices': 123,
'Softness': 123,
'SpatialAq': 'DISABLED'|'ENABLED',
'Syntax': 'DEFAULT'|'RP2027',
'TemporalAq': 'DISABLED'|'ENABLED',
'TimecodeInsertion': 'DISABLED'|'PIC_TIMING_SEI'
}
},
'Height': 123,
'Name': 'string',
'RespondToAfd': 'NONE'|'PASSTHROUGH'|'RESPOND',
'ScalingBehavior': 'DEFAULT'|'STRETCH_TO_OUTPUT',
'Sharpness': 123,
'Width': 123
},
]
},
'Id': 'string',
'InputAttachments': [
{
'InputId': 'string',
'InputSettings': {
'AudioSelectors': [
{
'Name': 'string',
'SelectorSettings': {
'AudioLanguageSelection': {
'LanguageCode': 'string',
'LanguageSelectionPolicy': 'LOOSE'|'STRICT'
},
'AudioPidSelection': {
'Pid': 123
}
}
},
],
'CaptionSelectors': [
{
'LanguageCode': 'string',
'Name': 'string',
'SelectorSettings': {
'AribSourceSettings': {},
'DvbSubSourceSettings': {
'Pid': 123
},
'EmbeddedSourceSettings': {
'Convert608To708': 'DISABLED'|'UPCONVERT',
'Scte20Detection': 'AUTO'|'OFF',
'Source608ChannelNumber': 123,
'Source608TrackNumber': 123
},
'Scte20SourceSettings': {
'Convert608To708': 'DISABLED'|'UPCONVERT',
'Source608ChannelNumber': 123
},
'Scte27SourceSettings': {
'Pid': 123
},
'TeletextSourceSettings': {
'PageNumber': 'string'
}
}
},
],
'DeblockFilter': 'DISABLED'|'ENABLED',
'DenoiseFilter': 'DISABLED'|'ENABLED',
'FilterStrength': 123,
'InputFilter': 'AUTO'|'DISABLED'|'FORCED',
'NetworkInputSettings': {
'HlsInputSettings': {
'Bandwidth': 123,
'BufferSegments': 123,
'Retries': 123,
'RetryInterval': 123
},
'ServerValidation': 'CHECK_CRYPTOGRAPHY_AND_VALIDATE_NAME'|'CHECK_CRYPTOGRAPHY_ONLY'
},
'SourceEndBehavior': 'CONTINUE'|'LOOP',
'VideoSelector': {
'ColorSpace': 'FOLLOW'|'REC_601'|'REC_709',
'ColorSpaceUsage': 'FALLBACK'|'FORCE',
'SelectorSettings': {
'VideoSelectorPid': {
'Pid': 123
},
'VideoSelectorProgramId': {
'ProgramId': 123
}
}
}
}
},
],
'InputSpecification': {
'Codec': 'MPEG2'|'AVC'|'HEVC',
'MaximumBitrate': 'MAX_10_MBPS'|'MAX_20_MBPS'|'MAX_50_MBPS',
'Resolution': 'SD'|'HD'|'UHD'
},
'LogLevel': 'ERROR'|'WARNING'|'INFO'|'DEBUG'|'DISABLED',
'Name': 'string',
'PipelinesRunningCount': 123,
'RoleArn': 'string',
'State': 'CREATING'|'CREATE_FAILED'|'IDLE'|'STARTING'|'RUNNING'|'RECOVERING'|'STOPPING'|'DELETING'|'DELETED'
}
Response Structure
Updates a channel.
See also: AWS API Documentation
Request Syntax
response = client.update_channel(
ChannelId='string',
Destinations=[
{
'Id': 'string',
'Settings': [
{
'PasswordParam': 'string',
'StreamName': 'string',
'Url': 'string',
'Username': 'string'
},
]
},
],
EncoderSettings={
'AudioDescriptions': [
{
'AudioNormalizationSettings': {
'Algorithm': 'ITU_1770_1'|'ITU_1770_2',
'AlgorithmControl': 'CORRECT_AUDIO',
'TargetLkfs': 123.0
},
'AudioSelectorName': 'string',
'AudioType': 'CLEAN_EFFECTS'|'HEARING_IMPAIRED'|'UNDEFINED'|'VISUAL_IMPAIRED_COMMENTARY',
'AudioTypeControl': 'FOLLOW_INPUT'|'USE_CONFIGURED',
'CodecSettings': {
'AacSettings': {
'Bitrate': 123.0,
'CodingMode': 'AD_RECEIVER_MIX'|'CODING_MODE_1_0'|'CODING_MODE_1_1'|'CODING_MODE_2_0'|'CODING_MODE_5_1',
'InputType': 'BROADCASTER_MIXED_AD'|'NORMAL',
'Profile': 'HEV1'|'HEV2'|'LC',
'RateControlMode': 'CBR'|'VBR',
'RawFormat': 'LATM_LOAS'|'NONE',
'SampleRate': 123.0,
'Spec': 'MPEG2'|'MPEG4',
'VbrQuality': 'HIGH'|'LOW'|'MEDIUM_HIGH'|'MEDIUM_LOW'
},
'Ac3Settings': {
'Bitrate': 123.0,
'BitstreamMode': 'COMMENTARY'|'COMPLETE_MAIN'|'DIALOGUE'|'EMERGENCY'|'HEARING_IMPAIRED'|'MUSIC_AND_EFFECTS'|'VISUALLY_IMPAIRED'|'VOICE_OVER',
'CodingMode': 'CODING_MODE_1_0'|'CODING_MODE_1_1'|'CODING_MODE_2_0'|'CODING_MODE_3_2_LFE',
'Dialnorm': 123,
'DrcProfile': 'FILM_STANDARD'|'NONE',
'LfeFilter': 'DISABLED'|'ENABLED',
'MetadataControl': 'FOLLOW_INPUT'|'USE_CONFIGURED'
},
'Eac3Settings': {
'AttenuationControl': 'ATTENUATE_3_DB'|'NONE',
'Bitrate': 123.0,
'BitstreamMode': 'COMMENTARY'|'COMPLETE_MAIN'|'EMERGENCY'|'HEARING_IMPAIRED'|'VISUALLY_IMPAIRED',
'CodingMode': 'CODING_MODE_1_0'|'CODING_MODE_2_0'|'CODING_MODE_3_2',
'DcFilter': 'DISABLED'|'ENABLED',
'Dialnorm': 123,
'DrcLine': 'FILM_LIGHT'|'FILM_STANDARD'|'MUSIC_LIGHT'|'MUSIC_STANDARD'|'NONE'|'SPEECH',
'DrcRf': 'FILM_LIGHT'|'FILM_STANDARD'|'MUSIC_LIGHT'|'MUSIC_STANDARD'|'NONE'|'SPEECH',
'LfeControl': 'LFE'|'NO_LFE',
'LfeFilter': 'DISABLED'|'ENABLED',
'LoRoCenterMixLevel': 123.0,
'LoRoSurroundMixLevel': 123.0,
'LtRtCenterMixLevel': 123.0,
'LtRtSurroundMixLevel': 123.0,
'MetadataControl': 'FOLLOW_INPUT'|'USE_CONFIGURED',
'PassthroughControl': 'NO_PASSTHROUGH'|'WHEN_POSSIBLE',
'PhaseControl': 'NO_SHIFT'|'SHIFT_90_DEGREES',
'StereoDownmix': 'DPL2'|'LO_RO'|'LT_RT'|'NOT_INDICATED',
'SurroundExMode': 'DISABLED'|'ENABLED'|'NOT_INDICATED',
'SurroundMode': 'DISABLED'|'ENABLED'|'NOT_INDICATED'
},
'Mp2Settings': {
'Bitrate': 123.0,
'CodingMode': 'CODING_MODE_1_0'|'CODING_MODE_2_0',
'SampleRate': 123.0
},
'PassThroughSettings': {}
},
'LanguageCode': 'string',
'LanguageCodeControl': 'FOLLOW_INPUT'|'USE_CONFIGURED',
'Name': 'string',
'RemixSettings': {
'ChannelMappings': [
{
'InputChannelLevels': [
{
'Gain': 123,
'InputChannel': 123
},
],
'OutputChannel': 123
},
],
'ChannelsIn': 123,
'ChannelsOut': 123
},
'StreamName': 'string'
},
],
'AvailBlanking': {
'AvailBlankingImage': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'State': 'DISABLED'|'ENABLED'
},
'AvailConfiguration': {
'AvailSettings': {
'Scte35SpliceInsert': {
'AdAvailOffset': 123,
'NoRegionalBlackoutFlag': 'FOLLOW'|'IGNORE',
'WebDeliveryAllowedFlag': 'FOLLOW'|'IGNORE'
},
'Scte35TimeSignalApos': {
'AdAvailOffset': 123,
'NoRegionalBlackoutFlag': 'FOLLOW'|'IGNORE',
'WebDeliveryAllowedFlag': 'FOLLOW'|'IGNORE'
}
}
},
'BlackoutSlate': {
'BlackoutSlateImage': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'NetworkEndBlackout': 'DISABLED'|'ENABLED',
'NetworkEndBlackoutImage': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'NetworkId': 'string',
'State': 'DISABLED'|'ENABLED'
},
'CaptionDescriptions': [
{
'CaptionSelectorName': 'string',
'DestinationSettings': {
'AribDestinationSettings': {}
,
'BurnInDestinationSettings': {
'Alignment': 'CENTERED'|'LEFT'|'SMART',
'BackgroundColor': 'BLACK'|'NONE'|'WHITE',
'BackgroundOpacity': 123,
'Font': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'FontColor': 'BLACK'|'BLUE'|'GREEN'|'RED'|'WHITE'|'YELLOW',
'FontOpacity': 123,
'FontResolution': 123,
'FontSize': 'string',
'OutlineColor': 'BLACK'|'BLUE'|'GREEN'|'RED'|'WHITE'|'YELLOW',
'OutlineSize': 123,
'ShadowColor': 'BLACK'|'NONE'|'WHITE',
'ShadowOpacity': 123,
'ShadowXOffset': 123,
'ShadowYOffset': 123,
'TeletextGridControl': 'FIXED'|'SCALED',
'XPosition': 123,
'YPosition': 123
},
'DvbSubDestinationSettings': {
'Alignment': 'CENTERED'|'LEFT'|'SMART',
'BackgroundColor': 'BLACK'|'NONE'|'WHITE',
'BackgroundOpacity': 123,
'Font': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'FontColor': 'BLACK'|'BLUE'|'GREEN'|'RED'|'WHITE'|'YELLOW',
'FontOpacity': 123,
'FontResolution': 123,
'FontSize': 'string',
'OutlineColor': 'BLACK'|'BLUE'|'GREEN'|'RED'|'WHITE'|'YELLOW',
'OutlineSize': 123,
'ShadowColor': 'BLACK'|'NONE'|'WHITE',
'ShadowOpacity': 123,
'ShadowXOffset': 123,
'ShadowYOffset': 123,
'TeletextGridControl': 'FIXED'|'SCALED',
'XPosition': 123,
'YPosition': 123
},
'EmbeddedDestinationSettings': {}
,
'EmbeddedPlusScte20DestinationSettings': {}
,
'RtmpCaptionInfoDestinationSettings': {}
,
'Scte20PlusEmbeddedDestinationSettings': {}
,
'Scte27DestinationSettings': {}
,
'SmpteTtDestinationSettings': {}
,
'TeletextDestinationSettings': {}
,
'TtmlDestinationSettings': {
'StyleControl': 'PASSTHROUGH'|'USE_CONFIGURED'
},
'WebvttDestinationSettings': {}
},
'LanguageCode': 'string',
'LanguageDescription': 'string',
'Name': 'string'
},
],
'GlobalConfiguration': {
'InitialAudioGain': 123,
'InputEndAction': 'NONE'|'SWITCH_AND_LOOP_INPUTS',
'InputLossBehavior': {
'BlackFrameMsec': 123,
'InputLossImageColor': 'string',
'InputLossImageSlate': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'InputLossImageType': 'COLOR'|'SLATE',
'RepeatFrameMsec': 123
},
'OutputTimingSource': 'INPUT_CLOCK'|'SYSTEM_CLOCK',
'SupportLowFramerateInputs': 'DISABLED'|'ENABLED'
},
'OutputGroups': [
{
'Name': 'string',
'OutputGroupSettings': {
'ArchiveGroupSettings': {
'Destination': {
'DestinationRefId': 'string'
},
'RolloverInterval': 123
},
'HlsGroupSettings': {
'AdMarkers': [
'ADOBE'|'ELEMENTAL'|'ELEMENTAL_SCTE35',
],
'BaseUrlContent': 'string',
'BaseUrlManifest': 'string',
'CaptionLanguageMappings': [
{
'CaptionChannel': 123,
'LanguageCode': 'string',
'LanguageDescription': 'string'
},
],
'CaptionLanguageSetting': 'INSERT'|'NONE'|'OMIT',
'ClientCache': 'DISABLED'|'ENABLED',
'CodecSpecification': 'RFC_4281'|'RFC_6381',
'ConstantIv': 'string',
'Destination': {
'DestinationRefId': 'string'
},
'DirectoryStructure': 'SINGLE_DIRECTORY'|'SUBDIRECTORY_PER_STREAM',
'EncryptionType': 'AES128'|'SAMPLE_AES',
'HlsCdnSettings': {
'HlsAkamaiSettings': {
'ConnectionRetryInterval': 123,
'FilecacheDuration': 123,
'HttpTransferMode': 'CHUNKED'|'NON_CHUNKED',
'NumRetries': 123,
'RestartDelay': 123,
'Salt': 'string',
'Token': 'string'
},
'HlsBasicPutSettings': {
'ConnectionRetryInterval': 123,
'FilecacheDuration': 123,
'NumRetries': 123,
'RestartDelay': 123
},
'HlsMediaStoreSettings': {
'ConnectionRetryInterval': 123,
'FilecacheDuration': 123,
'MediaStoreStorageClass': 'TEMPORAL',
'NumRetries': 123,
'RestartDelay': 123
},
'HlsWebdavSettings': {
'ConnectionRetryInterval': 123,
'FilecacheDuration': 123,
'HttpTransferMode': 'CHUNKED'|'NON_CHUNKED',
'NumRetries': 123,
'RestartDelay': 123
}
},
'IndexNSegments': 123,
'InputLossAction': 'EMIT_OUTPUT'|'PAUSE_OUTPUT',
'IvInManifest': 'EXCLUDE'|'INCLUDE',
'IvSource': 'EXPLICIT'|'FOLLOWS_SEGMENT_NUMBER',
'KeepSegments': 123,
'KeyFormat': 'string',
'KeyFormatVersions': 'string',
'KeyProviderSettings': {
'StaticKeySettings': {
'KeyProviderServer': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'StaticKeyValue': 'string'
}
},
'ManifestCompression': 'GZIP'|'NONE',
'ManifestDurationFormat': 'FLOATING_POINT'|'INTEGER',
'MinSegmentLength': 123,
'Mode': 'LIVE'|'VOD',
'OutputSelection': 'MANIFESTS_AND_SEGMENTS'|'SEGMENTS_ONLY',
'ProgramDateTime': 'EXCLUDE'|'INCLUDE',
'ProgramDateTimePeriod': 123,
'SegmentLength': 123,
'SegmentationMode': 'USE_INPUT_SEGMENTATION'|'USE_SEGMENT_DURATION',
'SegmentsPerSubdirectory': 123,
'StreamInfResolution': 'EXCLUDE'|'INCLUDE',
'TimedMetadataId3Frame': 'NONE'|'PRIV'|'TDRL',
'TimedMetadataId3Period': 123,
'TimestampDeltaMilliseconds': 123,
'TsFileMode': 'SEGMENTED_FILES'|'SINGLE_FILE'
},
'MsSmoothGroupSettings': {
'AcquisitionPointId': 'string',
'AudioOnlyTimecodeControl': 'PASSTHROUGH'|'USE_CONFIGURED_CLOCK',
'CertificateMode': 'SELF_SIGNED'|'VERIFY_AUTHENTICITY',
'ConnectionRetryInterval': 123,
'Destination': {
'DestinationRefId': 'string'
},
'EventId': 'string',
'EventIdMode': 'NO_EVENT_ID'|'USE_CONFIGURED'|'USE_TIMESTAMP',
'EventStopBehavior': 'NONE'|'SEND_EOS',
'FilecacheDuration': 123,
'FragmentLength': 123,
'InputLossAction': 'EMIT_OUTPUT'|'PAUSE_OUTPUT',
'NumRetries': 123,
'RestartDelay': 123,
'SegmentationMode': 'USE_INPUT_SEGMENTATION'|'USE_SEGMENT_DURATION',
'SendDelayMs': 123,
'SparseTrackType': 'NONE'|'SCTE_35',
'StreamManifestBehavior': 'DO_NOT_SEND'|'SEND',
'TimestampOffset': 'string',
'TimestampOffsetMode': 'USE_CONFIGURED_OFFSET'|'USE_EVENT_START_DATE'
},
'RtmpGroupSettings': {
'AuthenticationScheme': 'AKAMAI'|'COMMON',
'CacheFullBehavior': 'DISCONNECT_IMMEDIATELY'|'WAIT_FOR_SERVER',
'CacheLength': 123,
'CaptionData': 'ALL'|'FIELD1_608'|'FIELD1_AND_FIELD2_608',
'RestartDelay': 123
},
'UdpGroupSettings': {
'InputLossAction': 'DROP_PROGRAM'|'DROP_TS'|'EMIT_PROGRAM',
'TimedMetadataId3Frame': 'NONE'|'PRIV'|'TDRL',
'TimedMetadataId3Period': 123
}
},
'Outputs': [
{
'AudioDescriptionNames': [
'string',
],
'CaptionDescriptionNames': [
'string',
],
'OutputName': 'string',
'OutputSettings': {
'ArchiveOutputSettings': {
'ContainerSettings': {
'M2tsSettings': {
'AbsentInputAudioBehavior': 'DROP'|'ENCODE_SILENCE',
'Arib': 'DISABLED'|'ENABLED',
'AribCaptionsPid': 'string',
'AribCaptionsPidControl': 'AUTO'|'USE_CONFIGURED',
'AudioBufferModel': 'ATSC'|'DVB',
'AudioFramesPerPes': 123,
'AudioPids': 'string',
'AudioStreamType': 'ATSC'|'DVB',
'Bitrate': 123,
'BufferModel': 'MULTIPLEX'|'NONE',
'CcDescriptor': 'DISABLED'|'ENABLED',
'DvbNitSettings': {
'NetworkId': 123,
'NetworkName': 'string',
'RepInterval': 123
},
'DvbSdtSettings': {
'OutputSdt': 'SDT_FOLLOW'|'SDT_FOLLOW_IF_PRESENT'|'SDT_MANUAL'|'SDT_NONE',
'RepInterval': 123,
'ServiceName': 'string',
'ServiceProviderName': 'string'
},
'DvbSubPids': 'string',
'DvbTdtSettings': {
'RepInterval': 123
},
'DvbTeletextPid': 'string',
'Ebif': 'NONE'|'PASSTHROUGH',
'EbpAudioInterval': 'VIDEO_AND_FIXED_INTERVALS'|'VIDEO_INTERVAL',
'EbpLookaheadMs': 123,
'EbpPlacement': 'VIDEO_AND_AUDIO_PIDS'|'VIDEO_PID',
'EcmPid': 'string',
'EsRateInPes': 'EXCLUDE'|'INCLUDE',
'EtvPlatformPid': 'string',
'EtvSignalPid': 'string',
'FragmentTime': 123.0,
'Klv': 'NONE'|'PASSTHROUGH',
'KlvDataPids': 'string',
'NullPacketBitrate': 123.0,
'PatInterval': 123,
'PcrControl': 'CONFIGURED_PCR_PERIOD'|'PCR_EVERY_PES_PACKET',
'PcrPeriod': 123,
'PcrPid': 'string',
'PmtInterval': 123,
'PmtPid': 'string',
'ProgramNum': 123,
'RateMode': 'CBR'|'VBR',
'Scte27Pids': 'string',
'Scte35Control': 'NONE'|'PASSTHROUGH',
'Scte35Pid': 'string',
'SegmentationMarkers': 'EBP'|'EBP_LEGACY'|'NONE'|'PSI_SEGSTART'|'RAI_ADAPT'|'RAI_SEGSTART',
'SegmentationStyle': 'MAINTAIN_CADENCE'|'RESET_CADENCE',
'SegmentationTime': 123.0,
'TimedMetadataBehavior': 'NO_PASSTHROUGH'|'PASSTHROUGH',
'TimedMetadataPid': 'string',
'TransportStreamId': 123,
'VideoPid': 'string'
}
},
'Extension': 'string',
'NameModifier': 'string'
},
'HlsOutputSettings': {
'HlsSettings': {
'AudioOnlyHlsSettings': {
'AudioGroupId': 'string',
'AudioOnlyImage': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'AudioTrackType': 'ALTERNATE_AUDIO_AUTO_SELECT'|'ALTERNATE_AUDIO_AUTO_SELECT_DEFAULT'|'ALTERNATE_AUDIO_NOT_AUTO_SELECT'|'AUDIO_ONLY_VARIANT_STREAM'
},
'StandardHlsSettings': {
'AudioRenditionSets': 'string',
'M3u8Settings': {
'AudioFramesPerPes': 123,
'AudioPids': 'string',
'EcmPid': 'string',
'PatInterval': 123,
'PcrControl': 'CONFIGURED_PCR_PERIOD'|'PCR_EVERY_PES_PACKET',
'PcrPeriod': 123,
'PcrPid': 'string',
'PmtInterval': 123,
'PmtPid': 'string',
'ProgramNum': 123,
'Scte35Behavior': 'NO_PASSTHROUGH'|'PASSTHROUGH',
'Scte35Pid': 'string',
'TimedMetadataBehavior': 'NO_PASSTHROUGH'|'PASSTHROUGH',
'TimedMetadataPid': 'string',
'TransportStreamId': 123,
'VideoPid': 'string'
}
}
},
'NameModifier': 'string',
'SegmentModifier': 'string'
},
'MsSmoothOutputSettings': {
'NameModifier': 'string'
},
'RtmpOutputSettings': {
'CertificateMode': 'SELF_SIGNED'|'VERIFY_AUTHENTICITY',
'ConnectionRetryInterval': 123,
'Destination': {
'DestinationRefId': 'string'
},
'NumRetries': 123
},
'UdpOutputSettings': {
'BufferMsec': 123,
'ContainerSettings': {
'M2tsSettings': {
'AbsentInputAudioBehavior': 'DROP'|'ENCODE_SILENCE',
'Arib': 'DISABLED'|'ENABLED',
'AribCaptionsPid': 'string',
'AribCaptionsPidControl': 'AUTO'|'USE_CONFIGURED',
'AudioBufferModel': 'ATSC'|'DVB',
'AudioFramesPerPes': 123,
'AudioPids': 'string',
'AudioStreamType': 'ATSC'|'DVB',
'Bitrate': 123,
'BufferModel': 'MULTIPLEX'|'NONE',
'CcDescriptor': 'DISABLED'|'ENABLED',
'DvbNitSettings': {
'NetworkId': 123,
'NetworkName': 'string',
'RepInterval': 123
},
'DvbSdtSettings': {
'OutputSdt': 'SDT_FOLLOW'|'SDT_FOLLOW_IF_PRESENT'|'SDT_MANUAL'|'SDT_NONE',
'RepInterval': 123,
'ServiceName': 'string',
'ServiceProviderName': 'string'
},
'DvbSubPids': 'string',
'DvbTdtSettings': {
'RepInterval': 123
},
'DvbTeletextPid': 'string',
'Ebif': 'NONE'|'PASSTHROUGH',
'EbpAudioInterval': 'VIDEO_AND_FIXED_INTERVALS'|'VIDEO_INTERVAL',
'EbpLookaheadMs': 123,
'EbpPlacement': 'VIDEO_AND_AUDIO_PIDS'|'VIDEO_PID',
'EcmPid': 'string',
'EsRateInPes': 'EXCLUDE'|'INCLUDE',
'EtvPlatformPid': 'string',
'EtvSignalPid': 'string',
'FragmentTime': 123.0,
'Klv': 'NONE'|'PASSTHROUGH',
'KlvDataPids': 'string',
'NullPacketBitrate': 123.0,
'PatInterval': 123,
'PcrControl': 'CONFIGURED_PCR_PERIOD'|'PCR_EVERY_PES_PACKET',
'PcrPeriod': 123,
'PcrPid': 'string',
'PmtInterval': 123,
'PmtPid': 'string',
'ProgramNum': 123,
'RateMode': 'CBR'|'VBR',
'Scte27Pids': 'string',
'Scte35Control': 'NONE'|'PASSTHROUGH',
'Scte35Pid': 'string',
'SegmentationMarkers': 'EBP'|'EBP_LEGACY'|'NONE'|'PSI_SEGSTART'|'RAI_ADAPT'|'RAI_SEGSTART',
'SegmentationStyle': 'MAINTAIN_CADENCE'|'RESET_CADENCE',
'SegmentationTime': 123.0,
'TimedMetadataBehavior': 'NO_PASSTHROUGH'|'PASSTHROUGH',
'TimedMetadataPid': 'string',
'TransportStreamId': 123,
'VideoPid': 'string'
}
},
'Destination': {
'DestinationRefId': 'string'
},
'FecOutputSettings': {
'ColumnDepth': 123,
'IncludeFec': 'COLUMN'|'COLUMN_AND_ROW',
'RowLength': 123
}
}
},
'VideoDescriptionName': 'string'
},
]
},
],
'TimecodeConfig': {
'Source': 'EMBEDDED'|'SYSTEMCLOCK'|'ZEROBASED',
'SyncThreshold': 123
},
'VideoDescriptions': [
{
'CodecSettings': {
'H264Settings': {
'AdaptiveQuantization': 'HIGH'|'HIGHER'|'LOW'|'MAX'|'MEDIUM'|'OFF',
'AfdSignaling': 'AUTO'|'FIXED'|'NONE',
'Bitrate': 123,
'BufFillPct': 123,
'BufSize': 123,
'ColorMetadata': 'IGNORE'|'INSERT',
'EntropyEncoding': 'CABAC'|'CAVLC',
'FixedAfd': 'AFD_0000'|'AFD_0010'|'AFD_0011'|'AFD_0100'|'AFD_1000'|'AFD_1001'|'AFD_1010'|'AFD_1011'|'AFD_1101'|'AFD_1110'|'AFD_1111',
'FlickerAq': 'DISABLED'|'ENABLED',
'FramerateControl': 'INITIALIZE_FROM_SOURCE'|'SPECIFIED',
'FramerateDenominator': 123,
'FramerateNumerator': 123,
'GopBReference': 'DISABLED'|'ENABLED',
'GopClosedCadence': 123,
'GopNumBFrames': 123,
'GopSize': 123.0,
'GopSizeUnits': 'FRAMES'|'SECONDS',
'Level': 'H264_LEVEL_1'|'H264_LEVEL_1_1'|'H264_LEVEL_1_2'|'H264_LEVEL_1_3'|'H264_LEVEL_2'|'H264_LEVEL_2_1'|'H264_LEVEL_2_2'|'H264_LEVEL_3'|'H264_LEVEL_3_1'|'H264_LEVEL_3_2'|'H264_LEVEL_4'|'H264_LEVEL_4_1'|'H264_LEVEL_4_2'|'H264_LEVEL_5'|'H264_LEVEL_5_1'|'H264_LEVEL_5_2'|'H264_LEVEL_AUTO',
'LookAheadRateControl': 'HIGH'|'LOW'|'MEDIUM',
'MaxBitrate': 123,
'MinIInterval': 123,
'NumRefFrames': 123,
'ParControl': 'INITIALIZE_FROM_SOURCE'|'SPECIFIED',
'ParDenominator': 123,
'ParNumerator': 123,
'Profile': 'BASELINE'|'HIGH'|'HIGH_10BIT'|'HIGH_422'|'HIGH_422_10BIT'|'MAIN',
'RateControlMode': 'CBR'|'VBR',
'ScanType': 'INTERLACED'|'PROGRESSIVE',
'SceneChangeDetect': 'DISABLED'|'ENABLED',
'Slices': 123,
'Softness': 123,
'SpatialAq': 'DISABLED'|'ENABLED',
'Syntax': 'DEFAULT'|'RP2027',
'TemporalAq': 'DISABLED'|'ENABLED',
'TimecodeInsertion': 'DISABLED'|'PIC_TIMING_SEI'
}
},
'Height': 123,
'Name': 'string',
'RespondToAfd': 'NONE'|'PASSTHROUGH'|'RESPOND',
'ScalingBehavior': 'DEFAULT'|'STRETCH_TO_OUTPUT',
'Sharpness': 123,
'Width': 123
},
]
},
InputAttachments=[
{
'InputId': 'string',
'InputSettings': {
'AudioSelectors': [
{
'Name': 'string',
'SelectorSettings': {
'AudioLanguageSelection': {
'LanguageCode': 'string',
'LanguageSelectionPolicy': 'LOOSE'|'STRICT'
},
'AudioPidSelection': {
'Pid': 123
}
}
},
],
'CaptionSelectors': [
{
'LanguageCode': 'string',
'Name': 'string',
'SelectorSettings': {
'AribSourceSettings': {}
,
'DvbSubSourceSettings': {
'Pid': 123
},
'EmbeddedSourceSettings': {
'Convert608To708': 'DISABLED'|'UPCONVERT',
'Scte20Detection': 'AUTO'|'OFF',
'Source608ChannelNumber': 123,
'Source608TrackNumber': 123
},
'Scte20SourceSettings': {
'Convert608To708': 'DISABLED'|'UPCONVERT',
'Source608ChannelNumber': 123
},
'Scte27SourceSettings': {
'Pid': 123
},
'TeletextSourceSettings': {
'PageNumber': 'string'
}
}
},
],
'DeblockFilter': 'DISABLED'|'ENABLED',
'DenoiseFilter': 'DISABLED'|'ENABLED',
'FilterStrength': 123,
'InputFilter': 'AUTO'|'DISABLED'|'FORCED',
'NetworkInputSettings': {
'HlsInputSettings': {
'Bandwidth': 123,
'BufferSegments': 123,
'Retries': 123,
'RetryInterval': 123
},
'ServerValidation': 'CHECK_CRYPTOGRAPHY_AND_VALIDATE_NAME'|'CHECK_CRYPTOGRAPHY_ONLY'
},
'SourceEndBehavior': 'CONTINUE'|'LOOP',
'VideoSelector': {
'ColorSpace': 'FOLLOW'|'REC_601'|'REC_709',
'ColorSpaceUsage': 'FALLBACK'|'FORCE',
'SelectorSettings': {
'VideoSelectorPid': {
'Pid': 123
},
'VideoSelectorProgramId': {
'ProgramId': 123
}
}
}
}
},
],
InputSpecification={
'Codec': 'MPEG2'|'AVC'|'HEVC',
'MaximumBitrate': 'MAX_10_MBPS'|'MAX_20_MBPS'|'MAX_50_MBPS',
'Resolution': 'SD'|'HD'|'UHD'
},
LogLevel='ERROR'|'WARNING'|'INFO'|'DEBUG'|'DISABLED',
Name='string',
RoleArn='string'
)
A list of output destinations for this channel.
The encoder settings for this channel.
Placeholder documentation for __listOfInputAttachment
Specification of input for this channel (max. bitrate, resolution, codec, etc.)
dict
Response Syntax
{
'Channel': {
'Arn': 'string',
'Destinations': [
{
'Id': 'string',
'Settings': [
{
'PasswordParam': 'string',
'StreamName': 'string',
'Url': 'string',
'Username': 'string'
},
]
},
],
'EgressEndpoints': [
{
'SourceIp': 'string'
},
],
'EncoderSettings': {
'AudioDescriptions': [
{
'AudioNormalizationSettings': {
'Algorithm': 'ITU_1770_1'|'ITU_1770_2',
'AlgorithmControl': 'CORRECT_AUDIO',
'TargetLkfs': 123.0
},
'AudioSelectorName': 'string',
'AudioType': 'CLEAN_EFFECTS'|'HEARING_IMPAIRED'|'UNDEFINED'|'VISUAL_IMPAIRED_COMMENTARY',
'AudioTypeControl': 'FOLLOW_INPUT'|'USE_CONFIGURED',
'CodecSettings': {
'AacSettings': {
'Bitrate': 123.0,
'CodingMode': 'AD_RECEIVER_MIX'|'CODING_MODE_1_0'|'CODING_MODE_1_1'|'CODING_MODE_2_0'|'CODING_MODE_5_1',
'InputType': 'BROADCASTER_MIXED_AD'|'NORMAL',
'Profile': 'HEV1'|'HEV2'|'LC',
'RateControlMode': 'CBR'|'VBR',
'RawFormat': 'LATM_LOAS'|'NONE',
'SampleRate': 123.0,
'Spec': 'MPEG2'|'MPEG4',
'VbrQuality': 'HIGH'|'LOW'|'MEDIUM_HIGH'|'MEDIUM_LOW'
},
'Ac3Settings': {
'Bitrate': 123.0,
'BitstreamMode': 'COMMENTARY'|'COMPLETE_MAIN'|'DIALOGUE'|'EMERGENCY'|'HEARING_IMPAIRED'|'MUSIC_AND_EFFECTS'|'VISUALLY_IMPAIRED'|'VOICE_OVER',
'CodingMode': 'CODING_MODE_1_0'|'CODING_MODE_1_1'|'CODING_MODE_2_0'|'CODING_MODE_3_2_LFE',
'Dialnorm': 123,
'DrcProfile': 'FILM_STANDARD'|'NONE',
'LfeFilter': 'DISABLED'|'ENABLED',
'MetadataControl': 'FOLLOW_INPUT'|'USE_CONFIGURED'
},
'Eac3Settings': {
'AttenuationControl': 'ATTENUATE_3_DB'|'NONE',
'Bitrate': 123.0,
'BitstreamMode': 'COMMENTARY'|'COMPLETE_MAIN'|'EMERGENCY'|'HEARING_IMPAIRED'|'VISUALLY_IMPAIRED',
'CodingMode': 'CODING_MODE_1_0'|'CODING_MODE_2_0'|'CODING_MODE_3_2',
'DcFilter': 'DISABLED'|'ENABLED',
'Dialnorm': 123,
'DrcLine': 'FILM_LIGHT'|'FILM_STANDARD'|'MUSIC_LIGHT'|'MUSIC_STANDARD'|'NONE'|'SPEECH',
'DrcRf': 'FILM_LIGHT'|'FILM_STANDARD'|'MUSIC_LIGHT'|'MUSIC_STANDARD'|'NONE'|'SPEECH',
'LfeControl': 'LFE'|'NO_LFE',
'LfeFilter': 'DISABLED'|'ENABLED',
'LoRoCenterMixLevel': 123.0,
'LoRoSurroundMixLevel': 123.0,
'LtRtCenterMixLevel': 123.0,
'LtRtSurroundMixLevel': 123.0,
'MetadataControl': 'FOLLOW_INPUT'|'USE_CONFIGURED',
'PassthroughControl': 'NO_PASSTHROUGH'|'WHEN_POSSIBLE',
'PhaseControl': 'NO_SHIFT'|'SHIFT_90_DEGREES',
'StereoDownmix': 'DPL2'|'LO_RO'|'LT_RT'|'NOT_INDICATED',
'SurroundExMode': 'DISABLED'|'ENABLED'|'NOT_INDICATED',
'SurroundMode': 'DISABLED'|'ENABLED'|'NOT_INDICATED'
},
'Mp2Settings': {
'Bitrate': 123.0,
'CodingMode': 'CODING_MODE_1_0'|'CODING_MODE_2_0',
'SampleRate': 123.0
},
'PassThroughSettings': {}
},
'LanguageCode': 'string',
'LanguageCodeControl': 'FOLLOW_INPUT'|'USE_CONFIGURED',
'Name': 'string',
'RemixSettings': {
'ChannelMappings': [
{
'InputChannelLevels': [
{
'Gain': 123,
'InputChannel': 123
},
],
'OutputChannel': 123
},
],
'ChannelsIn': 123,
'ChannelsOut': 123
},
'StreamName': 'string'
},
],
'AvailBlanking': {
'AvailBlankingImage': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'State': 'DISABLED'|'ENABLED'
},
'AvailConfiguration': {
'AvailSettings': {
'Scte35SpliceInsert': {
'AdAvailOffset': 123,
'NoRegionalBlackoutFlag': 'FOLLOW'|'IGNORE',
'WebDeliveryAllowedFlag': 'FOLLOW'|'IGNORE'
},
'Scte35TimeSignalApos': {
'AdAvailOffset': 123,
'NoRegionalBlackoutFlag': 'FOLLOW'|'IGNORE',
'WebDeliveryAllowedFlag': 'FOLLOW'|'IGNORE'
}
}
},
'BlackoutSlate': {
'BlackoutSlateImage': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'NetworkEndBlackout': 'DISABLED'|'ENABLED',
'NetworkEndBlackoutImage': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'NetworkId': 'string',
'State': 'DISABLED'|'ENABLED'
},
'CaptionDescriptions': [
{
'CaptionSelectorName': 'string',
'DestinationSettings': {
'AribDestinationSettings': {},
'BurnInDestinationSettings': {
'Alignment': 'CENTERED'|'LEFT'|'SMART',
'BackgroundColor': 'BLACK'|'NONE'|'WHITE',
'BackgroundOpacity': 123,
'Font': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'FontColor': 'BLACK'|'BLUE'|'GREEN'|'RED'|'WHITE'|'YELLOW',
'FontOpacity': 123,
'FontResolution': 123,
'FontSize': 'string',
'OutlineColor': 'BLACK'|'BLUE'|'GREEN'|'RED'|'WHITE'|'YELLOW',
'OutlineSize': 123,
'ShadowColor': 'BLACK'|'NONE'|'WHITE',
'ShadowOpacity': 123,
'ShadowXOffset': 123,
'ShadowYOffset': 123,
'TeletextGridControl': 'FIXED'|'SCALED',
'XPosition': 123,
'YPosition': 123
},
'DvbSubDestinationSettings': {
'Alignment': 'CENTERED'|'LEFT'|'SMART',
'BackgroundColor': 'BLACK'|'NONE'|'WHITE',
'BackgroundOpacity': 123,
'Font': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'FontColor': 'BLACK'|'BLUE'|'GREEN'|'RED'|'WHITE'|'YELLOW',
'FontOpacity': 123,
'FontResolution': 123,
'FontSize': 'string',
'OutlineColor': 'BLACK'|'BLUE'|'GREEN'|'RED'|'WHITE'|'YELLOW',
'OutlineSize': 123,
'ShadowColor': 'BLACK'|'NONE'|'WHITE',
'ShadowOpacity': 123,
'ShadowXOffset': 123,
'ShadowYOffset': 123,
'TeletextGridControl': 'FIXED'|'SCALED',
'XPosition': 123,
'YPosition': 123
},
'EmbeddedDestinationSettings': {},
'EmbeddedPlusScte20DestinationSettings': {},
'RtmpCaptionInfoDestinationSettings': {},
'Scte20PlusEmbeddedDestinationSettings': {},
'Scte27DestinationSettings': {},
'SmpteTtDestinationSettings': {},
'TeletextDestinationSettings': {},
'TtmlDestinationSettings': {
'StyleControl': 'PASSTHROUGH'|'USE_CONFIGURED'
},
'WebvttDestinationSettings': {}
},
'LanguageCode': 'string',
'LanguageDescription': 'string',
'Name': 'string'
},
],
'GlobalConfiguration': {
'InitialAudioGain': 123,
'InputEndAction': 'NONE'|'SWITCH_AND_LOOP_INPUTS',
'InputLossBehavior': {
'BlackFrameMsec': 123,
'InputLossImageColor': 'string',
'InputLossImageSlate': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'InputLossImageType': 'COLOR'|'SLATE',
'RepeatFrameMsec': 123
},
'OutputTimingSource': 'INPUT_CLOCK'|'SYSTEM_CLOCK',
'SupportLowFramerateInputs': 'DISABLED'|'ENABLED'
},
'OutputGroups': [
{
'Name': 'string',
'OutputGroupSettings': {
'ArchiveGroupSettings': {
'Destination': {
'DestinationRefId': 'string'
},
'RolloverInterval': 123
},
'HlsGroupSettings': {
'AdMarkers': [
'ADOBE'|'ELEMENTAL'|'ELEMENTAL_SCTE35',
],
'BaseUrlContent': 'string',
'BaseUrlManifest': 'string',
'CaptionLanguageMappings': [
{
'CaptionChannel': 123,
'LanguageCode': 'string',
'LanguageDescription': 'string'
},
],
'CaptionLanguageSetting': 'INSERT'|'NONE'|'OMIT',
'ClientCache': 'DISABLED'|'ENABLED',
'CodecSpecification': 'RFC_4281'|'RFC_6381',
'ConstantIv': 'string',
'Destination': {
'DestinationRefId': 'string'
},
'DirectoryStructure': 'SINGLE_DIRECTORY'|'SUBDIRECTORY_PER_STREAM',
'EncryptionType': 'AES128'|'SAMPLE_AES',
'HlsCdnSettings': {
'HlsAkamaiSettings': {
'ConnectionRetryInterval': 123,
'FilecacheDuration': 123,
'HttpTransferMode': 'CHUNKED'|'NON_CHUNKED',
'NumRetries': 123,
'RestartDelay': 123,
'Salt': 'string',
'Token': 'string'
},
'HlsBasicPutSettings': {
'ConnectionRetryInterval': 123,
'FilecacheDuration': 123,
'NumRetries': 123,
'RestartDelay': 123
},
'HlsMediaStoreSettings': {
'ConnectionRetryInterval': 123,
'FilecacheDuration': 123,
'MediaStoreStorageClass': 'TEMPORAL',
'NumRetries': 123,
'RestartDelay': 123
},
'HlsWebdavSettings': {
'ConnectionRetryInterval': 123,
'FilecacheDuration': 123,
'HttpTransferMode': 'CHUNKED'|'NON_CHUNKED',
'NumRetries': 123,
'RestartDelay': 123
}
},
'IndexNSegments': 123,
'InputLossAction': 'EMIT_OUTPUT'|'PAUSE_OUTPUT',
'IvInManifest': 'EXCLUDE'|'INCLUDE',
'IvSource': 'EXPLICIT'|'FOLLOWS_SEGMENT_NUMBER',
'KeepSegments': 123,
'KeyFormat': 'string',
'KeyFormatVersions': 'string',
'KeyProviderSettings': {
'StaticKeySettings': {
'KeyProviderServer': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'StaticKeyValue': 'string'
}
},
'ManifestCompression': 'GZIP'|'NONE',
'ManifestDurationFormat': 'FLOATING_POINT'|'INTEGER',
'MinSegmentLength': 123,
'Mode': 'LIVE'|'VOD',
'OutputSelection': 'MANIFESTS_AND_SEGMENTS'|'SEGMENTS_ONLY',
'ProgramDateTime': 'EXCLUDE'|'INCLUDE',
'ProgramDateTimePeriod': 123,
'SegmentLength': 123,
'SegmentationMode': 'USE_INPUT_SEGMENTATION'|'USE_SEGMENT_DURATION',
'SegmentsPerSubdirectory': 123,
'StreamInfResolution': 'EXCLUDE'|'INCLUDE',
'TimedMetadataId3Frame': 'NONE'|'PRIV'|'TDRL',
'TimedMetadataId3Period': 123,
'TimestampDeltaMilliseconds': 123,
'TsFileMode': 'SEGMENTED_FILES'|'SINGLE_FILE'
},
'MsSmoothGroupSettings': {
'AcquisitionPointId': 'string',
'AudioOnlyTimecodeControl': 'PASSTHROUGH'|'USE_CONFIGURED_CLOCK',
'CertificateMode': 'SELF_SIGNED'|'VERIFY_AUTHENTICITY',
'ConnectionRetryInterval': 123,
'Destination': {
'DestinationRefId': 'string'
},
'EventId': 'string',
'EventIdMode': 'NO_EVENT_ID'|'USE_CONFIGURED'|'USE_TIMESTAMP',
'EventStopBehavior': 'NONE'|'SEND_EOS',
'FilecacheDuration': 123,
'FragmentLength': 123,
'InputLossAction': 'EMIT_OUTPUT'|'PAUSE_OUTPUT',
'NumRetries': 123,
'RestartDelay': 123,
'SegmentationMode': 'USE_INPUT_SEGMENTATION'|'USE_SEGMENT_DURATION',
'SendDelayMs': 123,
'SparseTrackType': 'NONE'|'SCTE_35',
'StreamManifestBehavior': 'DO_NOT_SEND'|'SEND',
'TimestampOffset': 'string',
'TimestampOffsetMode': 'USE_CONFIGURED_OFFSET'|'USE_EVENT_START_DATE'
},
'RtmpGroupSettings': {
'AuthenticationScheme': 'AKAMAI'|'COMMON',
'CacheFullBehavior': 'DISCONNECT_IMMEDIATELY'|'WAIT_FOR_SERVER',
'CacheLength': 123,
'CaptionData': 'ALL'|'FIELD1_608'|'FIELD1_AND_FIELD2_608',
'RestartDelay': 123
},
'UdpGroupSettings': {
'InputLossAction': 'DROP_PROGRAM'|'DROP_TS'|'EMIT_PROGRAM',
'TimedMetadataId3Frame': 'NONE'|'PRIV'|'TDRL',
'TimedMetadataId3Period': 123
}
},
'Outputs': [
{
'AudioDescriptionNames': [
'string',
],
'CaptionDescriptionNames': [
'string',
],
'OutputName': 'string',
'OutputSettings': {
'ArchiveOutputSettings': {
'ContainerSettings': {
'M2tsSettings': {
'AbsentInputAudioBehavior': 'DROP'|'ENCODE_SILENCE',
'Arib': 'DISABLED'|'ENABLED',
'AribCaptionsPid': 'string',
'AribCaptionsPidControl': 'AUTO'|'USE_CONFIGURED',
'AudioBufferModel': 'ATSC'|'DVB',
'AudioFramesPerPes': 123,
'AudioPids': 'string',
'AudioStreamType': 'ATSC'|'DVB',
'Bitrate': 123,
'BufferModel': 'MULTIPLEX'|'NONE',
'CcDescriptor': 'DISABLED'|'ENABLED',
'DvbNitSettings': {
'NetworkId': 123,
'NetworkName': 'string',
'RepInterval': 123
},
'DvbSdtSettings': {
'OutputSdt': 'SDT_FOLLOW'|'SDT_FOLLOW_IF_PRESENT'|'SDT_MANUAL'|'SDT_NONE',
'RepInterval': 123,
'ServiceName': 'string',
'ServiceProviderName': 'string'
},
'DvbSubPids': 'string',
'DvbTdtSettings': {
'RepInterval': 123
},
'DvbTeletextPid': 'string',
'Ebif': 'NONE'|'PASSTHROUGH',
'EbpAudioInterval': 'VIDEO_AND_FIXED_INTERVALS'|'VIDEO_INTERVAL',
'EbpLookaheadMs': 123,
'EbpPlacement': 'VIDEO_AND_AUDIO_PIDS'|'VIDEO_PID',
'EcmPid': 'string',
'EsRateInPes': 'EXCLUDE'|'INCLUDE',
'EtvPlatformPid': 'string',
'EtvSignalPid': 'string',
'FragmentTime': 123.0,
'Klv': 'NONE'|'PASSTHROUGH',
'KlvDataPids': 'string',
'NullPacketBitrate': 123.0,
'PatInterval': 123,
'PcrControl': 'CONFIGURED_PCR_PERIOD'|'PCR_EVERY_PES_PACKET',
'PcrPeriod': 123,
'PcrPid': 'string',
'PmtInterval': 123,
'PmtPid': 'string',
'ProgramNum': 123,
'RateMode': 'CBR'|'VBR',
'Scte27Pids': 'string',
'Scte35Control': 'NONE'|'PASSTHROUGH',
'Scte35Pid': 'string',
'SegmentationMarkers': 'EBP'|'EBP_LEGACY'|'NONE'|'PSI_SEGSTART'|'RAI_ADAPT'|'RAI_SEGSTART',
'SegmentationStyle': 'MAINTAIN_CADENCE'|'RESET_CADENCE',
'SegmentationTime': 123.0,
'TimedMetadataBehavior': 'NO_PASSTHROUGH'|'PASSTHROUGH',
'TimedMetadataPid': 'string',
'TransportStreamId': 123,
'VideoPid': 'string'
}
},
'Extension': 'string',
'NameModifier': 'string'
},
'HlsOutputSettings': {
'HlsSettings': {
'AudioOnlyHlsSettings': {
'AudioGroupId': 'string',
'AudioOnlyImage': {
'PasswordParam': 'string',
'Uri': 'string',
'Username': 'string'
},
'AudioTrackType': 'ALTERNATE_AUDIO_AUTO_SELECT'|'ALTERNATE_AUDIO_AUTO_SELECT_DEFAULT'|'ALTERNATE_AUDIO_NOT_AUTO_SELECT'|'AUDIO_ONLY_VARIANT_STREAM'
},
'StandardHlsSettings': {
'AudioRenditionSets': 'string',
'M3u8Settings': {
'AudioFramesPerPes': 123,
'AudioPids': 'string',
'EcmPid': 'string',
'PatInterval': 123,
'PcrControl': 'CONFIGURED_PCR_PERIOD'|'PCR_EVERY_PES_PACKET',
'PcrPeriod': 123,
'PcrPid': 'string',
'PmtInterval': 123,
'PmtPid': 'string',
'ProgramNum': 123,
'Scte35Behavior': 'NO_PASSTHROUGH'|'PASSTHROUGH',
'Scte35Pid': 'string',
'TimedMetadataBehavior': 'NO_PASSTHROUGH'|'PASSTHROUGH',
'TimedMetadataPid': 'string',
'TransportStreamId': 123,
'VideoPid': 'string'
}
}
},
'NameModifier': 'string',
'SegmentModifier': 'string'
},
'MsSmoothOutputSettings': {
'NameModifier': 'string'
},
'RtmpOutputSettings': {
'CertificateMode': 'SELF_SIGNED'|'VERIFY_AUTHENTICITY',
'ConnectionRetryInterval': 123,
'Destination': {
'DestinationRefId': 'string'
},
'NumRetries': 123
},
'UdpOutputSettings': {
'BufferMsec': 123,
'ContainerSettings': {
'M2tsSettings': {
'AbsentInputAudioBehavior': 'DROP'|'ENCODE_SILENCE',
'Arib': 'DISABLED'|'ENABLED',
'AribCaptionsPid': 'string',
'AribCaptionsPidControl': 'AUTO'|'USE_CONFIGURED',
'AudioBufferModel': 'ATSC'|'DVB',
'AudioFramesPerPes': 123,
'AudioPids': 'string',
'AudioStreamType': 'ATSC'|'DVB',
'Bitrate': 123,
'BufferModel': 'MULTIPLEX'|'NONE',
'CcDescriptor': 'DISABLED'|'ENABLED',
'DvbNitSettings': {
'NetworkId': 123,
'NetworkName': 'string',
'RepInterval': 123
},
'DvbSdtSettings': {
'OutputSdt': 'SDT_FOLLOW'|'SDT_FOLLOW_IF_PRESENT'|'SDT_MANUAL'|'SDT_NONE',
'RepInterval': 123,
'ServiceName': 'string',
'ServiceProviderName': 'string'
},
'DvbSubPids': 'string',
'DvbTdtSettings': {
'RepInterval': 123
},
'DvbTeletextPid': 'string',
'Ebif': 'NONE'|'PASSTHROUGH',
'EbpAudioInterval': 'VIDEO_AND_FIXED_INTERVALS'|'VIDEO_INTERVAL',
'EbpLookaheadMs': 123,
'EbpPlacement': 'VIDEO_AND_AUDIO_PIDS'|'VIDEO_PID',
'EcmPid': 'string',
'EsRateInPes': 'EXCLUDE'|'INCLUDE',
'EtvPlatformPid': 'string',
'EtvSignalPid': 'string',
'FragmentTime': 123.0,
'Klv': 'NONE'|'PASSTHROUGH',
'KlvDataPids': 'string',
'NullPacketBitrate': 123.0,
'PatInterval': 123,
'PcrControl': 'CONFIGURED_PCR_PERIOD'|'PCR_EVERY_PES_PACKET',
'PcrPeriod': 123,
'PcrPid': 'string',
'PmtInterval': 123,
'PmtPid': 'string',
'ProgramNum': 123,
'RateMode': 'CBR'|'VBR',
'Scte27Pids': 'string',
'Scte35Control': 'NONE'|'PASSTHROUGH',
'Scte35Pid': 'string',
'SegmentationMarkers': 'EBP'|'EBP_LEGACY'|'NONE'|'PSI_SEGSTART'|'RAI_ADAPT'|'RAI_SEGSTART',
'SegmentationStyle': 'MAINTAIN_CADENCE'|'RESET_CADENCE',
'SegmentationTime': 123.0,
'TimedMetadataBehavior': 'NO_PASSTHROUGH'|'PASSTHROUGH',
'TimedMetadataPid': 'string',
'TransportStreamId': 123,
'VideoPid': 'string'
}
},
'Destination': {
'DestinationRefId': 'string'
},
'FecOutputSettings': {
'ColumnDepth': 123,
'IncludeFec': 'COLUMN'|'COLUMN_AND_ROW',
'RowLength': 123
}
}
},
'VideoDescriptionName': 'string'
},
]
},
],
'TimecodeConfig': {
'Source': 'EMBEDDED'|'SYSTEMCLOCK'|'ZEROBASED',
'SyncThreshold': 123
},
'VideoDescriptions': [
{
'CodecSettings': {
'H264Settings': {
'AdaptiveQuantization': 'HIGH'|'HIGHER'|'LOW'|'MAX'|'MEDIUM'|'OFF',
'AfdSignaling': 'AUTO'|'FIXED'|'NONE',
'Bitrate': 123,
'BufFillPct': 123,
'BufSize': 123,
'ColorMetadata': 'IGNORE'|'INSERT',
'EntropyEncoding': 'CABAC'|'CAVLC',
'FixedAfd': 'AFD_0000'|'AFD_0010'|'AFD_0011'|'AFD_0100'|'AFD_1000'|'AFD_1001'|'AFD_1010'|'AFD_1011'|'AFD_1101'|'AFD_1110'|'AFD_1111',
'FlickerAq': 'DISABLED'|'ENABLED',
'FramerateControl': 'INITIALIZE_FROM_SOURCE'|'SPECIFIED',
'FramerateDenominator': 123,
'FramerateNumerator': 123,
'GopBReference': 'DISABLED'|'ENABLED',
'GopClosedCadence': 123,
'GopNumBFrames': 123,
'GopSize': 123.0,
'GopSizeUnits': 'FRAMES'|'SECONDS',
'Level': 'H264_LEVEL_1'|'H264_LEVEL_1_1'|'H264_LEVEL_1_2'|'H264_LEVEL_1_3'|'H264_LEVEL_2'|'H264_LEVEL_2_1'|'H264_LEVEL_2_2'|'H264_LEVEL_3'|'H264_LEVEL_3_1'|'H264_LEVEL_3_2'|'H264_LEVEL_4'|'H264_LEVEL_4_1'|'H264_LEVEL_4_2'|'H264_LEVEL_5'|'H264_LEVEL_5_1'|'H264_LEVEL_5_2'|'H264_LEVEL_AUTO',
'LookAheadRateControl': 'HIGH'|'LOW'|'MEDIUM',
'MaxBitrate': 123,
'MinIInterval': 123,
'NumRefFrames': 123,
'ParControl': 'INITIALIZE_FROM_SOURCE'|'SPECIFIED',
'ParDenominator': 123,
'ParNumerator': 123,
'Profile': 'BASELINE'|'HIGH'|'HIGH_10BIT'|'HIGH_422'|'HIGH_422_10BIT'|'MAIN',
'RateControlMode': 'CBR'|'VBR',
'ScanType': 'INTERLACED'|'PROGRESSIVE',
'SceneChangeDetect': 'DISABLED'|'ENABLED',
'Slices': 123,
'Softness': 123,
'SpatialAq': 'DISABLED'|'ENABLED',
'Syntax': 'DEFAULT'|'RP2027',
'TemporalAq': 'DISABLED'|'ENABLED',
'TimecodeInsertion': 'DISABLED'|'PIC_TIMING_SEI'
}
},
'Height': 123,
'Name': 'string',
'RespondToAfd': 'NONE'|'PASSTHROUGH'|'RESPOND',
'ScalingBehavior': 'DEFAULT'|'STRETCH_TO_OUTPUT',
'Sharpness': 123,
'Width': 123
},
]
},
'Id': 'string',
'InputAttachments': [
{
'InputId': 'string',
'InputSettings': {
'AudioSelectors': [
{
'Name': 'string',
'SelectorSettings': {
'AudioLanguageSelection': {
'LanguageCode': 'string',
'LanguageSelectionPolicy': 'LOOSE'|'STRICT'
},
'AudioPidSelection': {
'Pid': 123
}
}
},
],
'CaptionSelectors': [
{
'LanguageCode': 'string',
'Name': 'string',
'SelectorSettings': {
'AribSourceSettings': {},
'DvbSubSourceSettings': {
'Pid': 123
},
'EmbeddedSourceSettings': {
'Convert608To708': 'DISABLED'|'UPCONVERT',
'Scte20Detection': 'AUTO'|'OFF',
'Source608ChannelNumber': 123,
'Source608TrackNumber': 123
},
'Scte20SourceSettings': {
'Convert608To708': 'DISABLED'|'UPCONVERT',
'Source608ChannelNumber': 123
},
'Scte27SourceSettings': {
'Pid': 123
},
'TeletextSourceSettings': {
'PageNumber': 'string'
}
}
},
],
'DeblockFilter': 'DISABLED'|'ENABLED',
'DenoiseFilter': 'DISABLED'|'ENABLED',
'FilterStrength': 123,
'InputFilter': 'AUTO'|'DISABLED'|'FORCED',
'NetworkInputSettings': {
'HlsInputSettings': {
'Bandwidth': 123,
'BufferSegments': 123,
'Retries': 123,
'RetryInterval': 123
},
'ServerValidation': 'CHECK_CRYPTOGRAPHY_AND_VALIDATE_NAME'|'CHECK_CRYPTOGRAPHY_ONLY'
},
'SourceEndBehavior': 'CONTINUE'|'LOOP',
'VideoSelector': {
'ColorSpace': 'FOLLOW'|'REC_601'|'REC_709',
'ColorSpaceUsage': 'FALLBACK'|'FORCE',
'SelectorSettings': {
'VideoSelectorPid': {
'Pid': 123
},
'VideoSelectorProgramId': {
'ProgramId': 123
}
}
}
}
},
],
'InputSpecification': {
'Codec': 'MPEG2'|'AVC'|'HEVC',
'MaximumBitrate': 'MAX_10_MBPS'|'MAX_20_MBPS'|'MAX_50_MBPS',
'Resolution': 'SD'|'HD'|'UHD'
},
'LogLevel': 'ERROR'|'WARNING'|'INFO'|'DEBUG'|'DISABLED',
'Name': 'string',
'PipelinesRunningCount': 123,
'RoleArn': 'string',
'State': 'CREATING'|'CREATE_FAILED'|'IDLE'|'STARTING'|'RUNNING'|'RECOVERING'|'STOPPING'|'DELETING'|'DELETED'
}
}
Response Structure
Updates an input.
See also: AWS API Documentation
Request Syntax
response = client.update_input(
Destinations=[
{
'StreamName': 'string'
},
],
InputId='string',
InputSecurityGroups=[
'string',
],
Name='string',
Sources=[
{
'PasswordParam': 'string',
'Url': 'string',
'Username': 'string'
},
]
)
Destination settings for PUSH type inputs.
A list of security groups referenced by IDs to attach to the input.
The source URLs for a PULL-type input. Every PULL type input needs exactly two source URLs for redundancy. Only specify sources for PULL type Inputs. Leave Destinations empty.
dict
Response Syntax
{
'Input': {
'Arn': 'string',
'AttachedChannels': [
'string',
],
'Destinations': [
{
'Ip': 'string',
'Port': 'string',
'Url': 'string'
},
],
'Id': 'string',
'Name': 'string',
'SecurityGroups': [
'string',
],
'Sources': [
{
'PasswordParam': 'string',
'Url': 'string',
'Username': 'string'
},
],
'State': 'CREATING'|'DETACHED'|'ATTACHED'|'DELETING'|'DELETED',
'Type': 'UDP_PUSH'|'RTP_PUSH'|'RTMP_PUSH'|'RTMP_PULL'|'URL_PULL'
}
}
Response Structure
Update an Input Security Group's Whilelists.
See also: AWS API Documentation
Request Syntax
response = client.update_input_security_group(
InputSecurityGroupId='string',
WhitelistRules=[
{
'Cidr': 'string'
},
]
)
List of IPv4 CIDR addresses to whitelist
dict
Response Syntax
{
'SecurityGroup': {
'Arn': 'string',
'Id': 'string',
'Inputs': [
'string',
],
'State': 'IDLE'|'IN_USE'|'UPDATING'|'DELETED',
'WhitelistRules': [
{
'Cidr': 'string'
},
]
}
}
Response Structure
The available paginators are:
paginator = client.get_paginator('list_channels')
Creates an iterator that will paginate through responses from MediaLive.Client.list_channels().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken from a previous response.
{
'Channels': [
{
'Arn': 'string',
'Destinations': [
{
'Id': 'string',
'Settings': [
{
'PasswordParam': 'string',
'StreamName': 'string',
'Url': 'string',
'Username': 'string'
},
]
},
],
'EgressEndpoints': [
{
'SourceIp': 'string'
},
],
'Id': 'string',
'InputAttachments': [
{
'InputId': 'string',
'InputSettings': {
'AudioSelectors': [
{
'Name': 'string',
'SelectorSettings': {
'AudioLanguageSelection': {
'LanguageCode': 'string',
'LanguageSelectionPolicy': 'LOOSE'|'STRICT'
},
'AudioPidSelection': {
'Pid': 123
}
}
},
],
'CaptionSelectors': [
{
'LanguageCode': 'string',
'Name': 'string',
'SelectorSettings': {
'AribSourceSettings': {},
'DvbSubSourceSettings': {
'Pid': 123
},
'EmbeddedSourceSettings': {
'Convert608To708': 'DISABLED'|'UPCONVERT',
'Scte20Detection': 'AUTO'|'OFF',
'Source608ChannelNumber': 123,
'Source608TrackNumber': 123
},
'Scte20SourceSettings': {
'Convert608To708': 'DISABLED'|'UPCONVERT',
'Source608ChannelNumber': 123
},
'Scte27SourceSettings': {
'Pid': 123
},
'TeletextSourceSettings': {
'PageNumber': 'string'
}
}
},
],
'DeblockFilter': 'DISABLED'|'ENABLED',
'DenoiseFilter': 'DISABLED'|'ENABLED',
'FilterStrength': 123,
'InputFilter': 'AUTO'|'DISABLED'|'FORCED',
'NetworkInputSettings': {
'HlsInputSettings': {
'Bandwidth': 123,
'BufferSegments': 123,
'Retries': 123,
'RetryInterval': 123
},
'ServerValidation': 'CHECK_CRYPTOGRAPHY_AND_VALIDATE_NAME'|'CHECK_CRYPTOGRAPHY_ONLY'
},
'SourceEndBehavior': 'CONTINUE'|'LOOP',
'VideoSelector': {
'ColorSpace': 'FOLLOW'|'REC_601'|'REC_709',
'ColorSpaceUsage': 'FALLBACK'|'FORCE',
'SelectorSettings': {
'VideoSelectorPid': {
'Pid': 123
},
'VideoSelectorProgramId': {
'ProgramId': 123
}
}
}
}
},
],
'InputSpecification': {
'Codec': 'MPEG2'|'AVC'|'HEVC',
'MaximumBitrate': 'MAX_10_MBPS'|'MAX_20_MBPS'|'MAX_50_MBPS',
'Resolution': 'SD'|'HD'|'UHD'
},
'LogLevel': 'ERROR'|'WARNING'|'INFO'|'DEBUG'|'DISABLED',
'Name': 'string',
'PipelinesRunningCount': 123,
'RoleArn': 'string',
'State': 'CREATING'|'CREATE_FAILED'|'IDLE'|'STARTING'|'RUNNING'|'RECOVERING'|'STOPPING'|'DELETING'|'DELETED'
},
],
}
Response Structure
paginator = client.get_paginator('list_input_security_groups')
Creates an iterator that will paginate through responses from MediaLive.Client.list_input_security_groups().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken from a previous response.
{
'InputSecurityGroups': [
{
'Arn': 'string',
'Id': 'string',
'Inputs': [
'string',
],
'State': 'IDLE'|'IN_USE'|'UPDATING'|'DELETED',
'WhitelistRules': [
{
'Cidr': 'string'
},
]
},
],
}
Response Structure
paginator = client.get_paginator('list_inputs')
Creates an iterator that will paginate through responses from MediaLive.Client.list_inputs().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken from a previous response.
{
'Inputs': [
{
'Arn': 'string',
'AttachedChannels': [
'string',
],
'Destinations': [
{
'Ip': 'string',
'Port': 'string',
'Url': 'string'
},
],
'Id': 'string',
'Name': 'string',
'SecurityGroups': [
'string',
],
'Sources': [
{
'PasswordParam': 'string',
'Url': 'string',
'Username': 'string'
},
],
'State': 'CREATING'|'DETACHED'|'ATTACHED'|'DELETING'|'DELETED',
'Type': 'UDP_PUSH'|'RTP_PUSH'|'RTMP_PUSH'|'RTMP_PULL'|'URL_PULL'
},
],
}
Response Structure
paginator = client.get_paginator('list_offerings')
Creates an iterator that will paginate through responses from MediaLive.Client.list_offerings().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
ChannelConfiguration='string',
Codec='string',
MaximumBitrate='string',
MaximumFramerate='string',
Resolution='string',
ResourceType='string',
SpecialFeature='string',
VideoQuality='string',
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken from a previous response.
dict
Response Syntax
{
'Offerings': [
{
'Arn': 'string',
'CurrencyCode': 'string',
'Duration': 123,
'DurationUnits': 'MONTHS',
'FixedPrice': 123.0,
'OfferingDescription': 'string',
'OfferingId': 'string',
'OfferingType': 'NO_UPFRONT',
'Region': 'string',
'ResourceSpecification': {
'Codec': 'MPEG2'|'AVC'|'HEVC'|'AUDIO',
'MaximumBitrate': 'MAX_10_MBPS'|'MAX_20_MBPS'|'MAX_50_MBPS',
'MaximumFramerate': 'MAX_30_FPS'|'MAX_60_FPS',
'Resolution': 'SD'|'HD'|'UHD',
'ResourceType': 'INPUT'|'OUTPUT'|'CHANNEL',
'SpecialFeature': 'ADVANCED_AUDIO'|'AUDIO_NORMALIZATION',
'VideoQuality': 'STANDARD'|'ENHANCED'|'PREMIUM'
},
'UsagePrice': 123.0
},
]
}
Response Structure
paginator = client.get_paginator('list_reservations')
Creates an iterator that will paginate through responses from MediaLive.Client.list_reservations().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
Codec='string',
MaximumBitrate='string',
MaximumFramerate='string',
Resolution='string',
ResourceType='string',
SpecialFeature='string',
VideoQuality='string',
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken from a previous response.
dict
Response Syntax
{
'Reservations': [
{
'Arn': 'string',
'Count': 123,
'CurrencyCode': 'string',
'Duration': 123,
'DurationUnits': 'MONTHS',
'End': 'string',
'FixedPrice': 123.0,
'Name': 'string',
'OfferingDescription': 'string',
'OfferingId': 'string',
'OfferingType': 'NO_UPFRONT',
'Region': 'string',
'ReservationId': 'string',
'ResourceSpecification': {
'Codec': 'MPEG2'|'AVC'|'HEVC'|'AUDIO',
'MaximumBitrate': 'MAX_10_MBPS'|'MAX_20_MBPS'|'MAX_50_MBPS',
'MaximumFramerate': 'MAX_30_FPS'|'MAX_60_FPS',
'Resolution': 'SD'|'HD'|'UHD',
'ResourceType': 'INPUT'|'OUTPUT'|'CHANNEL',
'SpecialFeature': 'ADVANCED_AUDIO'|'AUDIO_NORMALIZATION',
'VideoQuality': 'STANDARD'|'ENHANCED'|'PREMIUM'
},
'Start': 'string',
'State': 'ACTIVE'|'EXPIRED'|'CANCELED'|'DELETED',
'UsagePrice': 123.0
},
]
}
Response Structure