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 Kinesis data stream. A stream captures and transports data records that are continuously emitted from different data sources or producers. Scale-out within a stream is explicitly supported by means of shards, which are uniquely identified groups of data records in a stream.
You specify and control the number of shards that a stream is composed of. Each shard can support reads up to five transactions per second, up to a maximum data read total of 2 MB per second. Each shard can support writes up to 1,000 records per second, up to a maximum data write total of 1 MB per second. If the amount of data input increases or decreases, you can add or remove shards.
The stream name identifies the stream. The name is scoped to the AWS account used by the application. It is also scoped by AWS Region. That is, two streams in two different accounts can have the same name, and two streams in the same account, but in two different Regions, can have the same name.
CreateStream is an asynchronous operation. Upon receiving a
request, Kinesis Data Streams immediately returns and sets the stream status to
After the stream is created, Kinesis Data Streams sets the stream status to
You should perform read and write operations only on an
You receive a
LimitExceededException when making a
request when you try to do one of the following:
Have more than five streams in the
CREATING state at any point in time.
Create more shards than are authorized for your account.
You can use
DescribeStream to check the stream status, which is returned
CreateStream has a limit of five transactions per second per account.
For .NET Core, PCL and Unity this operation is only available in asynchronous form. Please refer to CreateStreamAsync.
public abstract CreateStreamResponse CreateStream( CreateStreamRequest request )
Container for the necessary parameters to execute the CreateStream service method.
|InvalidArgumentException||A specified parameter exceeds its restrictions, is not supported, or can't be used. For more information, see the returned message.|
|LimitExceededException||The requested resource exceeds the maximum number allowed, or the number of concurrent stream requests exceeds the maximum number allowed.|
|ResourceInUseException||The resource is not available for this operation. For successful operation, the resource must be in the ACTIVE state.|
Supported in: 4.5, 4.0, 3.5
Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms
Supported Versions: 4.6 and above
Supported Platforms: Android, iOS, Standalone