Skip to content

UpdateStreamInput

Source code in docs_src/capo_kinesis_video/types/update_stream_input.py
class UpdateStreamInput(TypedDict, closed=True):
    stream_name: NotRequired["capo_kinesis_video.types.stream_name.StreamName"]
    """<p>The name of the stream whose metadata you want to update.</p> <p>The stream name is an identifier for the stream, and must be unique for each account and region.</p>"""
    stream_arn: NotRequired["capo_kinesis_video.types.resource_arn.ResourceARN"]
    """<p>The ARN of the stream whose metadata you want to update.</p>"""
    current_version: "capo_kinesis_video.types.version.Version"
    """<p>The version of the stream whose metadata you want to update.</p>"""
    device_name: NotRequired["capo_kinesis_video.types.device_name.DeviceName"]
    """<p>The name of the device that is writing to the stream. </p> <note> <p> In the current implementation, Kinesis Video Streams does not use this name. </p> </note>"""
    media_type: NotRequired["capo_kinesis_video.types.media_type.MediaType"]
    """<p>The stream's media type. Use <code>MediaType</code> to specify the type of content that the stream contains to the consumers of the stream. For more information about media types, see <a href="http://www.iana.org/assignments/media-types/media-types.xhtml">Media Types</a>. If you choose to specify the <code>MediaType</code>, see <a href="https://tools.ietf.org/html/rfc6838#section-4.2">Naming Requirements</a>.</p> <p>To play video on the console, you must specify the correct video type. For example, if the video in the stream is H.264, specify <code>video/h264</code> as the <code>MediaType</code>.</p>"""

current_version instance-attribute

current_version: Version

The version of the stream whose metadata you want to update.

device_name instance-attribute

device_name: NotRequired[DeviceName]

The name of the device that is writing to the stream.

In the current implementation, Kinesis Video Streams does not use this name.

media_type instance-attribute

media_type: NotRequired[MediaType]

The stream's media type. Use MediaType to specify the type of content that the stream contains to the consumers of the stream. For more information about media types, see Media Types. If you choose to specify the MediaType, see Naming Requirements.

To play video on the console, you must specify the correct video type. For example, if the video in the stream is H.264, specify video/h264 as the MediaType.

stream_arn instance-attribute

stream_arn: NotRequired[ResourceARN]

The ARN of the stream whose metadata you want to update.

stream_name instance-attribute

stream_name: NotRequired[StreamName]

The name of the stream whose metadata you want to update.

The stream name is an identifier for the stream, and must be unique for each account and region.