MediaLive.Client.
update_input_device
(**kwargs)¶Updates the parameters for the input device.
See also: AWS API Documentation
Request Syntax
response = client.update_input_device(
HdDeviceSettings={
'ConfiguredInput': 'AUTO'|'HDMI'|'SDI',
'MaxBitrate': 123,
'LatencyMs': 123
},
InputDeviceId='string',
Name='string',
UhdDeviceSettings={
'ConfiguredInput': 'AUTO'|'HDMI'|'SDI',
'MaxBitrate': 123,
'LatencyMs': 123
}
)
The settings that you want to apply to the HD input device.
The settings that you want to apply to the UHD input device.
dict
Response Syntax
{
'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
}
}
Response Structure
Exceptions
MediaLive.Client.exceptions.BadRequestException
MediaLive.Client.exceptions.UnprocessableEntityException
MediaLive.Client.exceptions.InternalServerErrorException
MediaLive.Client.exceptions.ForbiddenException
MediaLive.Client.exceptions.BadGatewayException
MediaLive.Client.exceptions.NotFoundException
MediaLive.Client.exceptions.GatewayTimeoutException
MediaLive.Client.exceptions.TooManyRequestsException