MediaLive / Client / list_input_devices

list_input_devices#

MediaLive.Client.list_input_devices(**kwargs)#

List input devices

See also: AWS API Documentation

Request Syntax

response = client.list_input_devices(
    MaxResults=123,
    NextToken='string'
)
Parameters:
  • MaxResults (integer) – Placeholder documentation for MaxResults

  • NextToken (string) – Placeholder documentation for __string

Return type:

dict

Returns:

Response Syntax

{
    'InputDevices': [
        {
            'Arn': 'string',
            'ConnectionState': 'DISCONNECTED'|'CONNECTED',
            'DeviceSettingsSyncState': 'SYNCED'|'SYNCING',
            'DeviceUpdateStatus': 'UP_TO_DATE'|'NOT_UP_TO_DATE'|'UPDATING',
            'HdDeviceSettings': {
                'ActiveInput': 'HDMI'|'SDI',
                'ConfiguredInput': 'AUTO'|'HDMI'|'SDI',
                'DeviceState': 'IDLE'|'STREAMING',
                'Framerate': 123.0,
                'Height': 123,
                'MaxBitrate': 123,
                'ScanType': 'INTERLACED'|'PROGRESSIVE',
                'Width': 123,
                'LatencyMs': 123
            },
            'Id': 'string',
            'MacAddress': 'string',
            'Name': 'string',
            'NetworkSettings': {
                'DnsAddresses': [
                    'string',
                ],
                'Gateway': 'string',
                'IpAddress': 'string',
                'IpScheme': 'STATIC'|'DHCP',
                'SubnetMask': 'string'
            },
            'SerialNumber': 'string',
            'Type': 'HD'|'UHD',
            'UhdDeviceSettings': {
                'ActiveInput': 'HDMI'|'SDI',
                'ConfiguredInput': 'AUTO'|'HDMI'|'SDI',
                'DeviceState': 'IDLE'|'STREAMING',
                'Framerate': 123.0,
                'Height': 123,
                'MaxBitrate': 123,
                'ScanType': 'INTERLACED'|'PROGRESSIVE',
                'Width': 123,
                'LatencyMs': 123,
                'Codec': 'HEVC'|'AVC',
                'MediaconnectSettings': {
                    'FlowArn': 'string',
                    'RoleArn': 'string',
                    'SecretArn': 'string',
                    'SourceName': 'string'
                },
                'AudioChannelPairs': [
                    {
                        'Id': 123,
                        'Profile': 'DISABLED'|'VBR-AAC_HHE-16000'|'VBR-AAC_HE-64000'|'VBR-AAC_LC-128000'|'CBR-AAC_HQ-192000'|'CBR-AAC_HQ-256000'|'CBR-AAC_HQ-384000'|'CBR-AAC_HQ-512000'
                    },
                ]
            },
            'Tags': {
                'string': 'string'
            },
            'AvailabilityZone': 'string',
            'MedialiveInputArns': [
                'string',
            ],
            'OutputType': 'NONE'|'MEDIALIVE_INPUT'|'MEDIACONNECT_FLOW'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) – An array of input devices.

    • InputDevices (list) – The list of input devices.

      • (dict) – Details of the input device.

        • Arn (string) – The unique ARN of the input device.

        • ConnectionState (string) – The state of the connection between the input device and AWS.

        • DeviceSettingsSyncState (string) – The status of the action to synchronize the device configuration. If you change the configuration of the input device (for example, the maximum bitrate), MediaLive sends the new data to the device. The device might not update itself immediately. SYNCED means the device has updated its configuration. SYNCING means that it has not updated its configuration.

        • DeviceUpdateStatus (string) – The status of software on the input device.

        • HdDeviceSettings (dict) – Settings that describe an input device that is type HD.

          • ActiveInput (string) – If you specified Auto as the configured input, specifies which of the sources is currently active (SDI or HDMI).

          • ConfiguredInput (string) – The source at the input device that is currently active. You can specify this source.

          • DeviceState (string) – The state of the input device.

          • Framerate (float) – The frame rate of the video source.

          • Height (integer) – The height of the video source, in pixels.

          • MaxBitrate (integer) – The current maximum bitrate for ingesting this source, in bits per second. You can specify this maximum.

          • ScanType (string) – The scan type of the video source.

          • Width (integer) – The width of the video source, in pixels.

          • LatencyMs (integer) – The Link device’s buffer size (latency) in milliseconds (ms). You can specify this value.

        • Id (string) – The unique ID of the input device.

        • MacAddress (string) – The network MAC address of the input device.

        • Name (string) – A name that you specify for the input device.

        • NetworkSettings (dict) – Network settings for the input device.

          • DnsAddresses (list) – The DNS addresses of the input device.

            • (string) – Placeholder documentation for __string

          • Gateway (string) – The network gateway IP address.

          • IpAddress (string) – The IP address of the input device.

          • IpScheme (string) – Specifies whether the input device has been configured (outside of MediaLive) to use a dynamic IP address assignment (DHCP) or a static IP address.

          • SubnetMask (string) – The subnet mask of the input device.

        • SerialNumber (string) – The unique serial number of the input device.

        • Type (string) – The type of the input device.

        • UhdDeviceSettings (dict) – Settings that describe an input device that is type UHD.

          • ActiveInput (string) – If you specified Auto as the configured input, specifies which of the sources is currently active (SDI or HDMI).

          • ConfiguredInput (string) – The source at the input device that is currently active. You can specify this source.

          • DeviceState (string) – The state of the input device.

          • Framerate (float) – The frame rate of the video source.

          • Height (integer) – The height of the video source, in pixels.

          • MaxBitrate (integer) – The current maximum bitrate for ingesting this source, in bits per second. You can specify this maximum.

          • ScanType (string) – The scan type of the video source.

          • Width (integer) – The width of the video source, in pixels.

          • LatencyMs (integer) – The Link device’s buffer size (latency) in milliseconds (ms). You can specify this value.

          • Codec (string) – The codec for the video that the device produces.

          • MediaconnectSettings (dict) – Information about the MediaConnect flow attached to the device. Returned only if the outputType is MEDIACONNECT_FLOW.

            • FlowArn (string) – The ARN of the MediaConnect flow.

            • RoleArn (string) – The ARN for the role that MediaLive assumes to access the attached flow and secret.

            • SecretArn (string) – The ARN of the secret used to encrypt the stream.

            • SourceName (string) – The name of the MediaConnect flow source.

          • AudioChannelPairs (list) – An array of eight audio configurations, one for each audio pair in the source. Each audio configuration specifies either to exclude the pair, or to format it and include it in the output from the UHD device. Applies only when the device is configured as the source for a MediaConnect flow.

            • (dict) – One audio configuration that specifies the format for one audio pair that the device produces as output.

              • Id (integer) – The ID for one audio pair configuration, a value from 1 to 8.

              • Profile (string) – The profile for one audio pair configuration. This property describes one audio configuration in the format (rate control algorithm)-(codec)_(quality)-(bitrate in bytes). For example, CBR-AAC_HQ-192000. Or DISABLED, in which case the device won’t produce audio for this pair.

        • Tags (dict) – A collection of key-value pairs.

          • (string) – Placeholder documentation for __string

            • (string) – Placeholder documentation for __string

        • AvailabilityZone (string) – The Availability Zone associated with this input device.

        • MedialiveInputArns (list) – An array of the ARNs for the MediaLive inputs attached to the device. Returned only if the outputType is MEDIALIVE_INPUT.

          • (string) – Placeholder documentation for __string

        • OutputType (string) – The output attachment type of the input device. Specifies MEDIACONNECT_FLOW if this device is the source for a MediaConnect flow. Specifies MEDIALIVE_INPUT if this device is the source for a MediaLive input.

    • NextToken (string) – A token to get additional list results.

Exceptions