list_channels
(**kwargs)¶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',
'CdiInputSpecification': {
'Resolution': 'SD'|'HD'|'FHD'|'UHD'
},
'ChannelClass': 'STANDARD'|'SINGLE_PIPELINE',
'Destinations': [
{
'Id': 'string',
'MediaPackageSettings': [
{
'ChannelId': 'string'
},
],
'MultiplexSettings': {
'MultiplexId': 'string',
'ProgramName': 'string'
},
'Settings': [
{
'PasswordParam': 'string',
'StreamName': 'string',
'Url': 'string',
'Username': 'string'
},
]
},
],
'EgressEndpoints': [
{
'SourceIp': 'string'
},
],
'Id': 'string',
'InputAttachments': [
{
'AutomaticInputFailoverSettings': {
'ErrorClearTimeMsec': 123,
'FailoverConditions': [
{
'FailoverConditionSettings': {
'AudioSilenceSettings': {
'AudioSelectorName': 'string',
'AudioSilenceThresholdMsec': 123
},
'InputLossSettings': {
'InputLossThresholdMsec': 123
},
'VideoBlackSettings': {
'BlackDetectThreshold': 123.0,
'VideoBlackThresholdMsec': 123
}
}
},
],
'InputPreference': 'EQUAL_INPUT_PREFERENCE'|'PRIMARY_INPUT_PREFERRED',
'SecondaryInputId': 'string'
},
'InputAttachmentName': 'string',
'InputId': 'string',
'InputSettings': {
'AudioSelectors': [
{
'Name': 'string',
'SelectorSettings': {
'AudioHlsRenditionSelection': {
'GroupId': 'string',
'Name': 'string'
},
'AudioLanguageSelection': {
'LanguageCode': 'string',
'LanguageSelectionPolicy': 'LOOSE'|'STRICT'
},
'AudioPidSelection': {
'Pid': 123
},
'AudioTrackSelection': {
'Tracks': [
{
'Track': 123
},
],
'DolbyEDecode': {
'ProgramSelection': 'ALL_CHANNELS'|'PROGRAM_1'|'PROGRAM_2'|'PROGRAM_3'|'PROGRAM_4'|'PROGRAM_5'|'PROGRAM_6'|'PROGRAM_7'|'PROGRAM_8'
}
}
}
},
],
'CaptionSelectors': [
{
'LanguageCode': 'string',
'Name': 'string',
'SelectorSettings': {
'AncillarySourceSettings': {
'SourceAncillaryChannelNumber': 123
},
'AribSourceSettings': {},
'DvbSubSourceSettings': {
'OcrLanguage': 'DEU'|'ENG'|'FRA'|'NLD'|'POR'|'SPA',
'Pid': 123
},
'EmbeddedSourceSettings': {
'Convert608To708': 'DISABLED'|'UPCONVERT',
'Scte20Detection': 'AUTO'|'OFF',
'Source608ChannelNumber': 123,
'Source608TrackNumber': 123
},
'Scte20SourceSettings': {
'Convert608To708': 'DISABLED'|'UPCONVERT',
'Source608ChannelNumber': 123
},
'Scte27SourceSettings': {
'OcrLanguage': 'DEU'|'ENG'|'FRA'|'NLD'|'POR'|'SPA',
'Pid': 123
},
'TeletextSourceSettings': {
'OutputRectangle': {
'Height': 123.0,
'LeftOffset': 123.0,
'TopOffset': 123.0,
'Width': 123.0
},
'PageNumber': 'string'
}
}
},
],
'DeblockFilter': 'DISABLED'|'ENABLED',
'DenoiseFilter': 'DISABLED'|'ENABLED',
'FilterStrength': 123,
'InputFilter': 'AUTO'|'DISABLED'|'FORCED',
'NetworkInputSettings': {
'HlsInputSettings': {
'Bandwidth': 123,
'BufferSegments': 123,
'Retries': 123,
'RetryInterval': 123,
'Scte35Source': 'MANIFEST'|'SEGMENTS'
},
'ServerValidation': 'CHECK_CRYPTOGRAPHY_AND_VALIDATE_NAME'|'CHECK_CRYPTOGRAPHY_ONLY'
},
'Scte35Pid': 123,
'Smpte2038DataPreference': 'IGNORE'|'PREFER',
'SourceEndBehavior': 'CONTINUE'|'LOOP',
'VideoSelector': {
'ColorSpace': 'FOLLOW'|'HDR10'|'HLG_2020'|'REC_601'|'REC_709',
'ColorSpaceSettings': {
'Hdr10Settings': {
'MaxCll': 123,
'MaxFall': 123
}
},
'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',
'Maintenance': {
'MaintenanceDay': 'MONDAY'|'TUESDAY'|'WEDNESDAY'|'THURSDAY'|'FRIDAY'|'SATURDAY'|'SUNDAY',
'MaintenanceDeadline': 'string',
'MaintenanceScheduledDate': 'string',
'MaintenanceStartTime': 'string'
},
'Name': 'string',
'PipelinesRunningCount': 123,
'RoleArn': 'string',
'State': 'CREATING'|'CREATE_FAILED'|'IDLE'|'STARTING'|'RUNNING'|'RECOVERING'|'STOPPING'|'DELETING'|'DELETED'|'UPDATING'|'UPDATE_FAILED',
'Tags': {
'string': 'string'
},
'Vpc': {
'AvailabilityZones': [
'string',
],
'NetworkInterfaceIds': [
'string',
],
'SecurityGroupIds': [
'string',
],
'SubnetIds': [
'string',
]
}
},
],
'NextToken': 'string'
}
Response Structure
Exceptions
MediaLive.Client.exceptions.BadRequestException
MediaLive.Client.exceptions.InternalServerErrorException
MediaLive.Client.exceptions.ForbiddenException
MediaLive.Client.exceptions.BadGatewayException
MediaLive.Client.exceptions.GatewayTimeoutException
MediaLive.Client.exceptions.TooManyRequestsException