AWS Elemental MediaLive

2022/07/22 - AWS Elemental MediaLive - 2 new api methods

Changes  Link devices now support remote rebooting. Link devices now support maintenance windows. Maintenance windows allow a Link device to install software updates without stopping the MediaLive channel. The channel will experience a brief loss of input from the device while updates are installed.

StartInputDeviceMaintenanceWindow (new) Link ¶

Start a maintenance window for the specified input device. Starting a maintenance window will give the device up to two hours to install software. If the device was streaming prior to the maintenance, it will resume streaming when the software is fully installed. Devices automatically install updates while they are powered on and their MediaLive channels are stopped. A maintenance window allows you to update a device without having to stop MediaLive channels that use the device. The device must remain powered on and connected to the internet for the duration of the maintenance.

See also: AWS API Documentation

Request Syntax

client.start_input_device_maintenance_window(
    InputDeviceId='string'
)
type InputDeviceId

string

param InputDeviceId

[REQUIRED] The unique ID of the input device to start a maintenance window for. For example, hd-123456789abcdef.

rtype

dict

returns

Response Syntax

{}

Response Structure

  • (dict) -- Your start maintenance window request has succeeded.

RebootInputDevice (new) Link ¶

Send a reboot command to the specified input device. The device will begin rebooting within a few seconds of sending the command. When the reboot is complete, the device’s connection status will change to connected.

See also: AWS API Documentation

Request Syntax

client.reboot_input_device(
    Force='NO'|'YES',
    InputDeviceId='string'
)
type Force

string

param Force

Force a reboot of an input device. If the device is streaming, it will stop streaming and begin rebooting within a few seconds of sending the command. If the device was streaming prior to the reboot, the device will resume streaming when the reboot completes.

type InputDeviceId

string

param InputDeviceId

[REQUIRED] The unique ID of the input device to reboot. For example, hd-123456789abcdef.

rtype

dict

returns

Response Syntax

{}

Response Structure

  • (dict) -- Your reboot request has succeeded.