View a markdown version of this page

Input devices: device ID - AWS Elemental MediaLive API Reference

Input devices: device ID

URI

/prod/inputDevices/inputDeviceId

HTTP methods

GET

Operation ID: DescribeInputDevice

Path parameters
NameTypeRequiredDescription
inputDeviceIdStringTrue
Responses
Status codeResponse modelDescription
200InputDevice

200 response

400InvalidRequest

400 response

403AccessDenied

403 response

404ResourceNotFound

404 response

429LimitExceeded

429 response

500InternalServiceError

500 response

502BadGatewayException

502 response

504GatewayTimeoutException

504 response

PUT

Operation ID: UpdateInputDevice

Path parameters
NameTypeRequiredDescription
inputDeviceIdStringTrue
Responses
Status codeResponse modelDescription
200InputDevice

200 response

400InvalidRequest

400 response

403AccessDenied

403 response

404ResourceNotFound

404 response

422InputDeviceConfigurationValidationError

422 response

429LimitExceeded

429 response

500InternalServiceError

500 response

502BadGatewayException

502 response

504GatewayTimeoutException

504 response

Schemas

Request bodies

{ "availabilityZone": "string", "hdDeviceSettings": { "audioChannelPairs": [ { "id": integer, "profile": enum } ], "codec": enum, "configuredInput": enum, "inputResolution": "string", "latencyMs": integer, "maxBitrate": integer, "mediaconnectSettings": { "flowArn": "string", "roleArn": "string", "secretArn": "string", "sourceName": "string" } }, "name": "string", "uhdDeviceSettings": { "audioChannelPairs": [ { "id": integer, "profile": enum } ], "codec": enum, "configuredInput": enum, "inputResolution": "string", "latencyMs": integer, "maxBitrate": integer, "mediaconnectSettings": { "flowArn": "string", "roleArn": "string", "secretArn": "string", "sourceName": "string" } } }

Response bodies

{ "arn": "string", "availabilityZone": "string", "connectionState": enum, "deviceSettingsSyncState": enum, "deviceUpdateStatus": enum, "hdDeviceSettings": { "activeInput": enum, "configuredInput": enum, "deviceState": enum, "framerate": number, "height": integer, "maxBitrate": integer, "scanType": enum, "width": integer }, "id": "string", "macAddress": "string", "name": "string", "networkSettings": { "dnsAddresses": [ "string" ], "gateway": "string", "ipAddress": "string", "ipScheme": enum, "subnetMask": "string" }, "serialNumber": "string", "type": enum, "uhdDeviceSettings": { "activeInput": enum, "configuredInput": enum, "deviceState": enum, "framerate": number, "height": integer, "maxBitrate": integer, "scanType": enum, "width": integer } }
{ "message": "string" }
{ "message": "string" }
{ "message": "string" }
{ "message": "string", "validationErrors": [ { "elementPath": "string", "errorMessage": "string" } ] }
{ "message": "string" }
{ "message": "string" }
{ "message": "string" }
{ "message": "string" }

Properties

AccessDenied

PropertyTypeRequiredDescription
message

string

False

BadGatewayException

PropertyTypeRequiredDescription
message

string

False

DeviceSettingsSyncState

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.

  • SYNCED

  • SYNCING

DeviceUpdateStatus

The status of software on the input device.

  • UP_TO_DATE

  • NOT_UP_TO_DATE

  • UPDATING

GatewayTimeoutException

PropertyTypeRequiredDescription
message

string

False

InputDevice

An input device.

PropertyTypeRequiredDescription
arn

string

False

The unique ARN of the input device.

availabilityZone

string

False

The Availability Zone associated with this input device.

connectionState

InputDeviceConnectionState

False

The state of the connection between the input device and AWS.

deviceSettingsSyncState

DeviceSettingsSyncState

False

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

DeviceUpdateStatus

False

The status of software on the input device.

hdDeviceSettings

InputDeviceHdSettings

False

Settings that describe an input device that is type HD.

id

string

False

The unique ID of the input device.

macAddress

string

False

The network MAC address of the input device.

name

string

False

A name that you specify for the input device.

networkSettings

InputDeviceNetworkSettings

False

The network settings for the input device.

serialNumber

string

False

The unique serial number of the input device.

type

InputDeviceType

False

The type of the input device.

uhdDeviceSettings

InputDeviceUhdSettings

False

Settings that describe an input device that is type UHD.

InputDeviceActiveInput

The source at the input device that is currently active.

  • HDMI

  • SDI

InputDeviceCodec

The codec to use on the video that the device produces.

  • AVC

  • HEVC

InputDeviceConfigurableAudioChannelPairConfig

One audio configuration that specifies the format for one audio pair that the device produces as output.

PropertyTypeRequiredDescription
id

integer

False

The ID for one audio pair configuration, a value from 1 to 8.

profile

InputDeviceConfigurableAudioChannelPairProfile

False

The profile to set for one audio pair configuration. Choose an enumeration value. Each value describes one audio configuration using the format (rate control algorithm)-(codec)_(quality)-(bitrate in bytes). For example, CBR-AAC_HQ-192000. Or choose DISABLED, in which case the device won't produce audio for this pair.

InputDeviceConfigurableAudioChannelPairProfile

Property of InputDeviceConfigurableAudioChannelPairConfig, which configures one audio channel that the device produces.

  • CBR-AAC_HQ-192000

  • CBR-AAC_HQ-256000

  • CBR-AAC_HQ-384000

  • CBR-AAC_HQ-512000

  • DISABLED

  • VBR-AAC_HE-64000

  • VBR-AAC_HHE-16000

  • VBR-AAC_LC-128000

InputDeviceConfigurableSettings

Configurable settings for the input device.

PropertyTypeRequiredDescription
audioChannelPairs

Array of type InputDeviceConfigurableAudioChannelPairConfig

False

An array of eight audio configurations, one for each audio pair in the source. Set up each audio configuration either to exclude the pair, or to format it and include it in the output from the device. This parameter applies only to UHD devices, and only when the device is configured as the source for a MediaConnect flow. For an HD device, you configure the audio by setting up audio selectors in the channel configuration.

codec

InputDeviceCodec

False

Choose the codec for the video that the device produces. Only UHD devices can specify this parameter.

configuredInput

InputDeviceConfiguredInput

False

The input source that you want to use. If the device has a source connected to only one of its input ports, or if you don't care which source the device sends, specify Auto. If the device has sources connected to both its input ports, and you want to use a specific source, specify the source.

inputResolution

string

False

Choose the resolution of the Link device's source (HD or UHD). Make sure the resolution matches the current source from the device. This value determines MediaLive resource allocation and billing for this input. Only UHD devices can specify this parameter.

latencyMs

integer

False

The Link device's buffer size (latency) in milliseconds (ms).

maxBitrate

integer

False

The maximum bitrate in bits per second. Set a value here to throttle the bitrate of the source video.

mediaconnectSettings

InputDeviceMediaConnectConfigurableSettings

False

To attach this device to a MediaConnect flow, specify these parameters. To detach an existing flow, enter {} for the value of mediaconnectSettings. Only UHD devices can specify this parameter.

InputDeviceConfigurationValidationError

PropertyTypeRequiredDescription
message

string

False

The error message.

validationErrors

Array of type ValidationError

False

A collection of validation error responses.

InputDeviceConfiguredInput

The source to activate (use) from the input device.

  • AUTO

  • HDMI

  • SDI

InputDeviceConnectionState

The state of the connection between the input device and AWS.

  • DISCONNECTED

  • CONNECTED

InputDeviceHdSettings

Settings that describe the active source from the input device, and the video characteristics of that source.

PropertyTypeRequiredDescription
activeInput

InputDeviceActiveInput

False

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

configuredInput

InputDeviceConfiguredInput

False

The source at the input device that is currently active. You can specify this source.

deviceState

InputDeviceState

False

The state of the input device.

framerate

number

False

The frame rate of the video source.

height

integer

False

The height of the video source, in pixels.

maxBitrate

integer

False

The current maximum bitrate for ingesting this source, in bits per second. You can specify this maximum.

scanType

InputDeviceScanType

False

The scan type of the video source.

width

integer

False

The width of the video source, in pixels.

InputDeviceIpScheme

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

  • STATIC

  • DHCP

InputDeviceMediaConnectConfigurableSettings

Parameters required to attach a MediaConnect flow to the device.

PropertyTypeRequiredDescription
flowArn

string

False

The ARN of the MediaConnect flow to attach this device to.

roleArn

string

False

The ARN for the role that MediaLive assumes to access the attached flow and secret. For more information about how to create this role, see the MediaLive user guide.

secretArn

string

False

The ARN for the secret that holds the encryption key to encrypt the content output by the device.

sourceName

string

False

The name of the MediaConnect Flow source to stream to.

InputDeviceNetworkSettings

The network settings for the input device.

PropertyTypeRequiredDescription
dnsAddresses

Array of type string

False

The DNS addresses of the input device.

gateway

string

False

The network gateway IP address.

ipAddress

string

False

The IP address of the input device.

ipScheme

InputDeviceIpScheme

False

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

False

The subnet mask of the input device.

InputDeviceScanType

The scan type of the video source.

  • INTERLACED

  • PROGRESSIVE

InputDeviceState

The state of the input device.

  • IDLE

  • STREAMING

InputDeviceType

The type of the input device. For an AWS Elemental Link device that outputs resolutions up to 1080, choose "HD".

  • HD

  • UHD

InputDeviceUhdSettings

Settings that describe the active source from the input device, and the video characteristics of that source.

PropertyTypeRequiredDescription
activeInput

InputDeviceActiveInput

False

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

configuredInput

InputDeviceConfiguredInput

False

The source at the input device that is currently active. You can specify this source.

deviceState

InputDeviceState

False

The state of the input device.

framerate

number

False

The frame rate of the video source.

height

integer

False

The height of the video source, in pixels.

maxBitrate

integer

False

The current maximum bitrate for ingesting this source, in bits per second. You can specify this maximum.

scanType

InputDeviceScanType

False

The scan type of the video source.

width

integer

False

The width of the video source, in pixels.

InternalServiceError

PropertyTypeRequiredDescription
message

string

False

InvalidRequest

PropertyTypeRequiredDescription
message

string

False

LimitExceeded

PropertyTypeRequiredDescription
message

string

False

ResourceNotFound

PropertyTypeRequiredDescription
message

string

False

UpdateInputDevice

Updates an input device.

PropertyTypeRequiredDescription
availabilityZone

string

False

The Availability Zone you want to associate with this input device.

hdDeviceSettings

InputDeviceConfigurableSettings

False

The settings that you want to apply to the HD input device.

name

string

False

The name that you assigned to this input device (not the unique ID).

uhdDeviceSettings

InputDeviceConfigurableSettings

False

The settings that you want to apply to the UHD input device.

ValidationError

PropertyTypeRequiredDescription
elementPath

string

False

Path to the source of the error.

errorMessage

string

False

The error message.

See also

For more information about using this API in one of the language-specific AWS SDKs and references, see the following:

DescribeInputDevice

UpdateInputDevice