AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the UpdateStream operation. Updates stream metadata, such as the device name and media type.

You must provide the stream name or the Amazon Resource Name (ARN) of the stream.

To make sure that you have the latest version of the stream before updating it, you can specify the stream version. Kinesis Video Streams assigns a version to each stream. When you update a stream, Kinesis Video Streams assigns a new version number. To get the latest stream version, use the DescribeStream API.

UpdateStream is an asynchronous operation, and takes time to complete.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.KinesisVideo.AmazonKinesisVideoRequest
      Amazon.KinesisVideo.Model.UpdateStreamRequest

Namespace: Amazon.KinesisVideo.Model
Assembly: AWSSDK.KinesisVideo.dll
Version: 3.x.y.z

Syntax

C#
public class UpdateStreamRequest : AmazonKinesisVideoRequest
         IAmazonWebServiceRequest

The UpdateStreamRequest type exposes the following members

Constructors

NameDescription
Public Method UpdateStreamRequest()

Properties

NameTypeDescription
Public Property CurrentVersion System.String

Gets and sets the property CurrentVersion.

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

Public Property DeviceName System.String

Gets and sets the property DeviceName.

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

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

Public Property MediaType System.String

Gets and sets the property 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.

Public Property StreamARN System.String

Gets and sets the property StreamARN.

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

Public Property StreamName System.String

Gets and sets the property 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.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5