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.

Creates a new Kinesis video stream.

When you create a new stream, Kinesis Video Streams assigns it a version number. When you change the stream's metadata, Kinesis Video Streams updates the version.

CreateStream is an asynchronous operation.

For information about how the service works, see How it Works.

You must have permissions for the KinesisVideo:CreateStream action.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to CreateStreamAsync.

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

Syntax

C#
public abstract CreateStreamResponse CreateStream(
         CreateStreamRequest request
)

Parameters

request
Type: Amazon.KinesisVideo.Model.CreateStreamRequest

Container for the necessary parameters to execute the CreateStream service method.

Return Value


The response from the CreateStream service method, as returned by KinesisVideo.

Exceptions

ExceptionCondition
AccountStreamLimitExceededException The number of streams created for the account is too high.
ClientLimitExceededException Kinesis Video Streams has throttled the request because you have exceeded the limit of allowed client calls. Try making the call later.
DeviceStreamLimitExceededException Not implemented.
InvalidArgumentException The value for this input parameter is invalid.
InvalidDeviceException Not implemented.
ResourceInUseException When the input StreamARN or ChannelARN in CLOUD_STORAGE_MODE is already mapped to a different Kinesis Video Stream resource, or if the provided input StreamARN or ChannelARN is not in Active status, try one of the following : The DescribeMediaStorageConfiguration API to determine what the stream given channel is mapped to. The DescribeMappedResourceConfiguration API to determine the channel that the given stream is mapped to. The DescribeStream or DescribeSignalingChannel API to determine the status of the resource.
TagsPerResourceExceededLimitException You have exceeded the limit of tags that you can associate with the resource. A Kinesis video stream can support up to 50 tags.

Version Information

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

See Also