AWS CLI version 2, the latest major version of AWS CLI, is now stable and recommended for general use. To view this page for the AWS CLI version 2, click here. For more information see the AWS CLI version 2 installation instructions and migration guide.
update-input-device
[--hd-device-settings <value>]
--input-device-id <value>
[--name <value>]
[--uhd-device-settings <value>]
[--availability-zone <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]
[--debug]
[--endpoint-url <value>]
[--no-verify-ssl]
[--no-paginate]
[--output <value>]
[--query <value>]
[--profile <value>]
[--region <value>]
[--version <value>]
[--color <value>]
[--no-sign-request]
[--ca-bundle <value>]
[--cli-read-timeout <value>]
[--cli-connect-timeout <value>]
--hd-device-settings
(structure)
The settings that you want to apply to the HD input device.ConfiguredInput -> (string)
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.MaxBitrate -> (integer)
The maximum bitrate in bits per second. Set a value here to throttle the bitrate of the source video.LatencyMs -> (integer)
The Link device's buffer size (latency) in milliseconds (ms).Codec -> (string)
Choose the codec for the video that the device produces. Only UHD devices can specify this parameter.MediaconnectSettings -> (structure)
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.
FlowArn -> (string)
The ARN of the MediaConnect flow to attach this device to.RoleArn -> (string)
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)
The ARN for the secret that holds the encryption key to encrypt the content output by the device.SourceName -> (string)
The name of the MediaConnect Flow source to stream to.AudioChannelPairs -> (list)
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.
(structure)
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 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.
Shorthand Syntax:
ConfiguredInput=string,MaxBitrate=integer,LatencyMs=integer,Codec=string,MediaconnectSettings={FlowArn=string,RoleArn=string,SecretArn=string,SourceName=string},AudioChannelPairs=[{Id=integer,Profile=string},{Id=integer,Profile=string}]
JSON Syntax:
{
"ConfiguredInput": "AUTO"|"HDMI"|"SDI",
"MaxBitrate": integer,
"LatencyMs": integer,
"Codec": "HEVC"|"AVC",
"MediaconnectSettings": {
"FlowArn": "string",
"RoleArn": "string",
"SecretArn": "string",
"SourceName": "string"
},
"AudioChannelPairs": [
{
"Id": integer,
"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"
}
...
]
}
--input-device-id
(string)
The unique ID of the input device. For example, hd-123456789abcdef.
--name
(string)
The name that you assigned to this input device (not the unique ID).
--uhd-device-settings
(structure)
The settings that you want to apply to the UHD input device.ConfiguredInput -> (string)
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.MaxBitrate -> (integer)
The maximum bitrate in bits per second. Set a value here to throttle the bitrate of the source video.LatencyMs -> (integer)
The Link device's buffer size (latency) in milliseconds (ms).Codec -> (string)
Choose the codec for the video that the device produces. Only UHD devices can specify this parameter.MediaconnectSettings -> (structure)
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.
FlowArn -> (string)
The ARN of the MediaConnect flow to attach this device to.RoleArn -> (string)
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)
The ARN for the secret that holds the encryption key to encrypt the content output by the device.SourceName -> (string)
The name of the MediaConnect Flow source to stream to.AudioChannelPairs -> (list)
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.
(structure)
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 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.
Shorthand Syntax:
ConfiguredInput=string,MaxBitrate=integer,LatencyMs=integer,Codec=string,MediaconnectSettings={FlowArn=string,RoleArn=string,SecretArn=string,SourceName=string},AudioChannelPairs=[{Id=integer,Profile=string},{Id=integer,Profile=string}]
JSON Syntax:
{
"ConfiguredInput": "AUTO"|"HDMI"|"SDI",
"MaxBitrate": integer,
"LatencyMs": integer,
"Codec": "HEVC"|"AVC",
"MediaconnectSettings": {
"FlowArn": "string",
"RoleArn": "string",
"SecretArn": "string",
"SourceName": "string"
},
"AudioChannelPairs": [
{
"Id": integer,
"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"
}
...
]
}
--availability-zone
(string)
The Availability Zone you want associated with this input device.
--cli-input-json
(string)
Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton
. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally.
--generate-cli-skeleton
(string)
Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input
, prints a sample input JSON that can be used as an argument for --cli-input-json
. If provided with the value output
, it validates the command inputs and returns a sample output JSON for that command.
--debug
(boolean)
Turn on debug logging.
--endpoint-url
(string)
Override command's default URL with the given URL.
--no-verify-ssl
(boolean)
By default, the AWS CLI uses SSL when communicating with AWS services. For each SSL connection, the AWS CLI will verify SSL certificates. This option overrides the default behavior of verifying SSL certificates.
--no-paginate
(boolean)
Disable automatic pagination. If automatic pagination is disabled, the AWS CLI will only make one call, for the first page of results.
--output
(string)
The formatting style for command output.
--query
(string)
A JMESPath query to use in filtering the response data.
--profile
(string)
Use a specific profile from your credential file.
--region
(string)
The region to use. Overrides config/env settings.
--version
(string)
Display the version of this tool.
--color
(string)
Turn on/off color output.
--no-sign-request
(boolean)
Do not sign requests. Credentials will not be loaded if this argument is provided.
--ca-bundle
(string)
The CA certificate bundle to use when verifying SSL certificates. Overrides config/env settings.
--cli-read-timeout
(int)
The maximum socket read time in seconds. If the value is set to 0, the socket read will be blocking and not timeout. The default value is 60 seconds.
--cli-connect-timeout
(int)
The maximum socket connect time in seconds. If the value is set to 0, the socket connect will be blocking and not timeout. The default value is 60 seconds.
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 -> (structure)
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 -> (double)
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 -> (structure)
The network settings for the input device.
DnsAddresses -> (list)
The DNS addresses of the input device.
(string)
Placeholder documentation for __stringGateway -> (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 -> (structure)
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 -> (double)
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 -> (structure)
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.
(structure)
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 -> (map)
A collection of key-value pairs.
key -> (string)
Placeholder documentation for __stringvalue -> (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.