|
300 | 300 | }
|
301 | 301 | ],
|
302 | 302 | "traits": {
|
303 |
| - "smithy.api#documentation": "<p>Creates a Kinesis data stream. A stream captures and transports data records that are\n continuously emitted from different data sources or <i>producers</i>.\n Scale-out within a stream is explicitly supported by means of shards, which are uniquely\n identified groups of data records in a stream.</p>\n <p>You can create your data stream using either on-demand or provisioned capacity mode.\n Data streams with an on-demand mode require no capacity planning and automatically scale\n to handle gigabytes of write and read throughput per minute. With the on-demand mode,\n Kinesis Data Streams automatically manages the shards in order to provide the necessary\n throughput. For the data streams with a provisioned mode, you must specify the number of\n shards for the data stream. Each shard can support reads up to five transactions per\n second, up to a maximum data read total of 2 MiB per second. Each shard can support\n writes up to 1,000 records per second, up to a maximum data write total of 1 MiB per\n second. If the amount of data input increases or decreases, you can add or remove\n shards.</p>\n <p>The stream name identifies the stream. The name is scoped to the Amazon Web Services\n account used by the application. It is also scoped by Amazon Web Services Region. That\n is, two streams in two different accounts can have the same name, and two streams in the\n same account, but in two different Regions, can have the same name.</p>\n <p>\n <code>CreateStream</code> is an asynchronous operation. Upon receiving a\n <code>CreateStream</code> request, Kinesis Data Streams immediately returns and sets\n the stream status to <code>CREATING</code>. After the stream is created, Kinesis Data\n Streams sets the stream status to <code>ACTIVE</code>. You should perform read and write\n operations only on an <code>ACTIVE</code> stream. </p>\n <p>You receive a <code>LimitExceededException</code> when making a\n <code>CreateStream</code> request when you try to do one of the following:</p>\n <ul>\n <li>\n <p>Have more than five streams in the <code>CREATING</code> state at any point in\n time.</p>\n </li>\n <li>\n <p>Create more shards than are authorized for your account.</p>\n </li>\n </ul>\n <p>For the default shard limit for an Amazon Web Services account, see <a href=\"https://docs.aws.amazon.com/kinesis/latest/dev/service-sizes-and-limits.html\">Amazon\n Kinesis Data Streams Limits</a> in the <i>Amazon Kinesis Data Streams\n Developer Guide</i>. To increase this limit, <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html\">contact Amazon Web Services\n Support</a>.</p>\n <p>You can use <a>DescribeStreamSummary</a> to check the stream status, which\n is returned in <code>StreamStatus</code>.</p>\n <p>\n <a>CreateStream</a> has a limit of five transactions per second per\n account.</p>" |
| 303 | + "smithy.api#documentation": "<p>Creates a Kinesis data stream. A stream captures and transports data records that are\n continuously emitted from different data sources or <i>producers</i>.\n Scale-out within a stream is explicitly supported by means of shards, which are uniquely\n identified groups of data records in a stream.</p>\n <p>You can create your data stream using either on-demand or provisioned capacity mode.\n Data streams with an on-demand mode require no capacity planning and automatically scale\n to handle gigabytes of write and read throughput per minute. With the on-demand mode,\n Kinesis Data Streams automatically manages the shards in order to provide the necessary\n throughput. For the data streams with a provisioned mode, you must specify the number of\n shards for the data stream. Each shard can support reads up to five transactions per\n second, up to a maximum data read total of 2 MiB per second. Each shard can support\n writes up to 1,000 records per second, up to a maximum data write total of 1 MiB per\n second. If the amount of data input increases or decreases, you can add or remove\n shards.</p>\n <p>The stream name identifies the stream. The name is scoped to the Amazon Web Services\n account used by the application. It is also scoped by Amazon Web Services Region. That\n is, two streams in two different accounts can have the same name, and two streams in the\n same account, but in two different Regions, can have the same name.</p>\n <p>\n <code>CreateStream</code> is an asynchronous operation. Upon receiving a\n <code>CreateStream</code> request, Kinesis Data Streams immediately returns and sets\n the stream status to <code>CREATING</code>. After the stream is created, Kinesis Data\n Streams sets the stream status to <code>ACTIVE</code>. You should perform read and write\n operations only on an <code>ACTIVE</code> stream. </p>\n <p>You receive a <code>LimitExceededException</code> when making a\n <code>CreateStream</code> request when you try to do one of the following:</p>\n <ul>\n <li>\n <p>Have more than five streams in the <code>CREATING</code> state at any point in\n time.</p>\n </li>\n <li>\n <p>Create more shards than are authorized for your account.</p>\n </li>\n </ul>\n <p>For the default shard limit for an Amazon Web Services account, see <a href=\"https://docs.aws.amazon.com/kinesis/latest/dev/service-sizes-and-limits.html\">Amazon\n Kinesis Data Streams Limits</a> in the <i>Amazon Kinesis Data Streams\n Developer Guide</i>. To increase this limit, <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html\">contact Amazon Web Services\n Support</a>.</p>\n <p>You can use <a>DescribeStreamSummary</a> to check the stream status, which\n is returned in <code>StreamStatus</code>.</p>\n <p>\n <a>CreateStream</a> has a limit of five transactions per second per\n account.</p>\n <p>You can add tags to the stream when making a <code>CreateStream</code> request by\n setting the <code>Tags</code> parameter. If you pass <code>Tags</code> parameter, in\n addition to having <code>kinesis:createStream</code> permission, you must also have\n <code>kinesis:addTagsToStream</code> permission for the stream that will be created.\n Tags will take effect from the <code>CREATING</code> status of the stream. </p>" |
304 | 304 | }
|
305 | 305 | },
|
306 | 306 | "com.amazonaws.kinesis#CreateStreamInput": {
|
|
324 | 324 | "traits": {
|
325 | 325 | "smithy.api#documentation": "<p> Indicates the capacity mode of the data stream. Currently, in Kinesis Data Streams,\n you can choose between an <b>on-demand</b> capacity mode and a\n <b>provisioned</b> capacity mode for your data\n streams.</p>"
|
326 | 326 | }
|
| 327 | + }, |
| 328 | + "Tags": { |
| 329 | + "target": "com.amazonaws.kinesis#TagMap", |
| 330 | + "traits": { |
| 331 | + "smithy.api#documentation": "<p>A set of up to 10 key-value pairs to use to create the tags.</p>" |
| 332 | + } |
327 | 333 | }
|
328 | 334 | },
|
329 | 335 | "traits": {
|
|
1296 | 1302 | {
|
1297 | 1303 | "target": "com.amazonaws.kinesis#LimitExceededException"
|
1298 | 1304 | },
|
| 1305 | + { |
| 1306 | + "target": "com.amazonaws.kinesis#ResourceInUseException" |
| 1307 | + }, |
1299 | 1308 | {
|
1300 | 1309 | "target": "com.amazonaws.kinesis#ResourceNotFoundException"
|
1301 | 1310 | }
|
|
6924 | 6933 | }
|
6925 | 6934 | ],
|
6926 | 6935 | "traits": {
|
6927 |
| - "smithy.api#documentation": "<p>Registers a consumer with a Kinesis data stream. When you use this operation, the\n consumer you register can then call <a>SubscribeToShard</a> to receive data\n from the stream using enhanced fan-out, at a rate of up to 2 MiB per second for every\n shard you subscribe to. This rate is unaffected by the total number of consumers that\n read from the same stream.</p>\n <p>You can register up to 20 consumers per stream. A given consumer can only be\n registered with one stream at a time.</p>\n <p>For an example of how to use this operations, see <a href=\"/streams/latest/dev/building-enhanced-consumers-api.html\">Enhanced Fan-Out\n Using the Kinesis Data Streams API</a>.</p>\n <p>The use of this operation has a limit of five transactions per second per account.\n Also, only 5 consumers can be created simultaneously. In other words, you cannot have\n more than 5 consumers in a <code>CREATING</code> status at the same time. Registering a\n 6th consumer while there are 5 in a <code>CREATING</code> status results in a\n <code>LimitExceededException</code>.</p>", |
| 6936 | + "smithy.api#documentation": "<p>Registers a consumer with a Kinesis data stream. When you use this operation, the\n consumer you register can then call <a>SubscribeToShard</a> to receive data\n from the stream using enhanced fan-out, at a rate of up to 2 MiB per second for every\n shard you subscribe to. This rate is unaffected by the total number of consumers that\n read from the same stream.</p>\n <p>You can register up to 20 consumers per stream. A given consumer can only be\n registered with one stream at a time.</p>\n <p>For an example of how to use this operation, see <a href=\"https://docs.aws.amazon.com/streams/latest/dev/building-enhanced-consumers-api.html\">Enhanced Fan-Out\n Using the Kinesis Data Streams API</a>.</p>\n <p>The use of this operation has a limit of five transactions per second per account.\n Also, only 5 consumers can be created simultaneously. In other words, you cannot have\n more than 5 consumers in a <code>CREATING</code> status at the same time. Registering a\n 6th consumer while there are 5 in a <code>CREATING</code> status results in a\n <code>LimitExceededException</code>.</p>", |
6928 | 6937 | "smithy.rules#staticContextParams": {
|
6929 | 6938 | "OperationType": {
|
6930 | 6939 | "value": "control"
|
|
7884 | 7893 | }
|
7885 | 7894 | ],
|
7886 | 7895 | "traits": {
|
7887 |
| - "smithy.api#documentation": "<p>This operation establishes an HTTP/2 connection between the consumer you specify in\n the <code>ConsumerARN</code> parameter and the shard you specify in the\n <code>ShardId</code> parameter. After the connection is successfully established,\n Kinesis Data Streams pushes records from the shard to the consumer over this connection.\n Before you call this operation, call <a>RegisterStreamConsumer</a> to\n register the consumer with Kinesis Data Streams.</p>\n <p>When the <code>SubscribeToShard</code> call succeeds, your consumer starts receiving\n events of type <a>SubscribeToShardEvent</a> over the HTTP/2 connection for up\n to 5 minutes, after which time you need to call <code>SubscribeToShard</code> again to\n renew the subscription if you want to continue to receive records.</p>\n <p>You can make one call to <code>SubscribeToShard</code> per second per registered\n consumer per shard. For example, if you have a 4000 shard stream and two registered\n stream consumers, you can make one <code>SubscribeToShard</code> request per second for\n each combination of shard and registered consumer, allowing you to subscribe both\n consumers to all 4000 shards in one second. </p>\n <p>If you call <code>SubscribeToShard</code> again with the same <code>ConsumerARN</code>\n and <code>ShardId</code> within 5 seconds of a successful call, you'll get a\n <code>ResourceInUseException</code>. If you call <code>SubscribeToShard</code> 5\n seconds or more after a successful call, the second call takes over the subscription and\n the previous connection expires or fails with a\n <code>ResourceInUseException</code>.</p>\n <p>For an example of how to use this operations, see <a href=\"/streams/latest/dev/building-enhanced-consumers-api.html\">Enhanced Fan-Out\n Using the Kinesis Data Streams API</a>.</p>", |
| 7896 | + "smithy.api#documentation": "<p>This operation establishes an HTTP/2 connection between the consumer you specify in\n the <code>ConsumerARN</code> parameter and the shard you specify in the\n <code>ShardId</code> parameter. After the connection is successfully established,\n Kinesis Data Streams pushes records from the shard to the consumer over this connection.\n Before you call this operation, call <a>RegisterStreamConsumer</a> to\n register the consumer with Kinesis Data Streams.</p>\n <p>When the <code>SubscribeToShard</code> call succeeds, your consumer starts receiving\n events of type <a>SubscribeToShardEvent</a> over the HTTP/2 connection for up\n to 5 minutes, after which time you need to call <code>SubscribeToShard</code> again to\n renew the subscription if you want to continue to receive records.</p>\n <p>You can make one call to <code>SubscribeToShard</code> per second per registered\n consumer per shard. For example, if you have a 4000 shard stream and two registered\n stream consumers, you can make one <code>SubscribeToShard</code> request per second for\n each combination of shard and registered consumer, allowing you to subscribe both\n consumers to all 4000 shards in one second. </p>\n <p>If you call <code>SubscribeToShard</code> again with the same <code>ConsumerARN</code>\n and <code>ShardId</code> within 5 seconds of a successful call, you'll get a\n <code>ResourceInUseException</code>. If you call <code>SubscribeToShard</code> 5\n seconds or more after a successful call, the second call takes over the subscription and\n the previous connection expires or fails with a\n <code>ResourceInUseException</code>.</p>\n <p>For an example of how to use this operation, see <a href=\"https://docs.aws.amazon.com/streams/latest/dev/building-enhanced-consumers-api.html\">Enhanced Fan-Out\n Using the Kinesis Data Streams API</a>.</p>", |
7888 | 7897 | "smithy.rules#staticContextParams": {
|
7889 | 7898 | "OperationType": {
|
7890 | 7899 | "value": "data"
|
|
0 commit comments