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.
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' )
string
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.
string
[REQUIRED] The unique ID of the input device to reboot. For example, hd-123456789abcdef.
dict
Response Syntax
{}
Response Structure
(dict) -- Your reboot request has succeeded.
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' )
string
[REQUIRED] The unique ID of the input device to start a maintenance window for. For example, hd-123456789abcdef.
dict
Response Syntax
{}
Response Structure
(dict) -- Your start maintenance window request has succeeded.