aws-sdk-for-zig/codegen/models/kinesis.2013-12-02.json

3211 lines
204 KiB
JSON
Raw Permalink Normal View History

2021-05-30 01:17:45 +00:00
{
"smithy": "1.0",
"metadata": {
"suppressions": [
{
"id": "HttpMethodSemantics",
"namespace": "*"
},
{
"id": "HttpResponseCodeSemantics",
"namespace": "*"
},
{
"id": "PaginatedTrait",
"namespace": "*"
},
{
"id": "HttpHeaderTrait",
"namespace": "*"
},
{
"id": "HttpUriConflict",
"namespace": "*"
},
{
"id": "Service",
"namespace": "*"
}
]
},
"shapes": {
"com.amazonaws.kinesis#AddTagsToStream": {
"type": "operation",
"input": {
"target": "com.amazonaws.kinesis#AddTagsToStreamInput"
},
"errors": [
{
"target": "com.amazonaws.kinesis#InvalidArgumentException"
},
{
"target": "com.amazonaws.kinesis#LimitExceededException"
},
{
"target": "com.amazonaws.kinesis#ResourceInUseException"
},
{
"target": "com.amazonaws.kinesis#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Adds or updates tags for the specified Kinesis data stream. Each time you invoke\n this operation, you can specify up to 10 tags. If you want to add more than 10 tags to\n your stream, you can invoke this operation multiple times. In total, each stream can\n have up to 50 tags.</p>\n <p>If tags have already been assigned to the stream, <code>AddTagsToStream</code>\n overwrites any existing tags that correspond to the specified tag keys.</p>\n <p>\n <a>AddTagsToStream</a> has a limit of five transactions per second per\n account.</p>"
}
},
"com.amazonaws.kinesis#AddTagsToStreamInput": {
"type": "structure",
"members": {
"StreamName": {
"target": "com.amazonaws.kinesis#StreamName",
"traits": {
"smithy.api#documentation": "<p>The name of the stream.</p>",
"smithy.api#required": {}
}
},
"Tags": {
"target": "com.amazonaws.kinesis#TagMap",
"traits": {
"smithy.api#documentation": "<p>A set of up to 10 key-value pairs to use to create the tags.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the input for <code>AddTagsToStream</code>.</p>"
}
},
"com.amazonaws.kinesis#BooleanObject": {
"type": "boolean",
"traits": {
"smithy.api#box": {}
}
},
"com.amazonaws.kinesis#ChildShard": {
"type": "structure",
"members": {
"ShardId": {
"target": "com.amazonaws.kinesis#ShardId",
"traits": {
"smithy.api#required": {}
}
},
"ParentShards": {
"target": "com.amazonaws.kinesis#ShardIdList",
"traits": {
"smithy.api#required": {}
}
},
"HashKeyRange": {
"target": "com.amazonaws.kinesis#HashKeyRange",
"traits": {
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.kinesis#ChildShardList": {
"type": "list",
"member": {
"target": "com.amazonaws.kinesis#ChildShard"
}
},
"com.amazonaws.kinesis#Consumer": {
"type": "structure",
"members": {
"ConsumerName": {
"target": "com.amazonaws.kinesis#ConsumerName",
"traits": {
"smithy.api#documentation": "<p>The name of the consumer is something you choose when you register the\n consumer.</p>",
"smithy.api#required": {}
}
},
"ConsumerARN": {
"target": "com.amazonaws.kinesis#ConsumerARN",
"traits": {
"smithy.api#documentation": "<p>When you register a consumer, Kinesis Data Streams generates an ARN for it. You need\n this ARN to be able to call <a>SubscribeToShard</a>.</p>\n <p>If you delete a consumer and then create a new one with the same name, it won't have\n the same ARN. That's because consumer ARNs contain the creation timestamp. This is\n important to keep in mind if you have IAM policies that reference consumer ARNs.</p>",
"smithy.api#required": {}
}
},
"ConsumerStatus": {
"target": "com.amazonaws.kinesis#ConsumerStatus",
"traits": {
"smithy.api#documentation": "<p>A consumer can't read data while in the <code>CREATING</code> or <code>DELETING</code>\n states.</p>",
"smithy.api#required": {}
}
},
"ConsumerCreationTimestamp": {
"target": "com.amazonaws.kinesis#Timestamp",
"traits": {
"smithy.api#documentation": "<p></p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>An object that represents the details of the consumer you registered. This type of\n object is returned by <a>RegisterStreamConsumer</a>.</p>"
}
},
"com.amazonaws.kinesis#ConsumerARN": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 2048
},
"smithy.api#pattern": "^(arn):aws.*:kinesis:.*:\\d{12}:.*stream\\/[a-zA-Z0-9_.-]+\\/consumer\\/[a-zA-Z0-9_.-]+:[0-9]+"
}
},
"com.amazonaws.kinesis#ConsumerCountObject": {
"type": "integer",
"traits": {
"smithy.api#box": {},
"smithy.api#range": {
"min": 0,
"max": 1000000
}
}
},
"com.amazonaws.kinesis#ConsumerDescription": {
"type": "structure",
"members": {
"ConsumerName": {
"target": "com.amazonaws.kinesis#ConsumerName",
"traits": {
"smithy.api#documentation": "<p>The name of the consumer is something you choose when you register the\n consumer.</p>",
"smithy.api#required": {}
}
},
"ConsumerARN": {
"target": "com.amazonaws.kinesis#ConsumerARN",
"traits": {
"smithy.api#documentation": "<p>When you register a consumer, Kinesis Data Streams generates an ARN for it. You need\n this ARN to be able to call <a>SubscribeToShard</a>.</p>\n <p>If you delete a consumer and then create a new one with the same name, it won't have\n the same ARN. That's because consumer ARNs contain the creation timestamp. This is\n important to keep in mind if you have IAM policies that reference consumer ARNs.</p>",
"smithy.api#required": {}
}
},
"ConsumerStatus": {
"target": "com.amazonaws.kinesis#ConsumerStatus",
"traits": {
"smithy.api#documentation": "<p>A consumer can't read data while in the <code>CREATING</code> or <code>DELETING</code>\n states.</p>",
"smithy.api#required": {}
}
},
"ConsumerCreationTimestamp": {
"target": "com.amazonaws.kinesis#Timestamp",
"traits": {
"smithy.api#documentation": "<p></p>",
"smithy.api#required": {}
}
},
"StreamARN": {
"target": "com.amazonaws.kinesis#StreamARN",
"traits": {
"smithy.api#documentation": "<p>The ARN of the stream with which you registered the consumer.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>An object that represents the details of a registered consumer. This type of object is\n returned by <a>DescribeStreamConsumer</a>.</p>"
}
},
"com.amazonaws.kinesis#ConsumerList": {
"type": "list",
"member": {
"target": "com.amazonaws.kinesis#Consumer"
}
},
"com.amazonaws.kinesis#ConsumerName": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 128
},
"smithy.api#pattern": "[a-zA-Z0-9_.-]+"
}
},
"com.amazonaws.kinesis#ConsumerStatus": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "CREATING",
"name": "CREATING"
},
{
"value": "DELETING",
"name": "DELETING"
},
{
"value": "ACTIVE",
"name": "ACTIVE"
}
]
}
},
"com.amazonaws.kinesis#CreateStream": {
"type": "operation",
"input": {
"target": "com.amazonaws.kinesis#CreateStreamInput"
},
"errors": [
{
"target": "com.amazonaws.kinesis#InvalidArgumentException"
},
{
"target": "com.amazonaws.kinesis#LimitExceededException"
},
{
"target": "com.amazonaws.kinesis#ResourceInUseException"
}
],
"traits": {
"smithy.api#documentation": "<p>Creates a Kinesis data stream. A stream captures and transports data records that\n are 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 specify and control the number of shards that a stream is composed of. Each\n shard can support reads up to five transactions per second, up to a maximum data read\n total of 2 MiB per second. Each shard can support writes up to 1,000 records per second,\n up to a maximum data write total of 1 MiB per second. If the amount of data input\n increases or decreases, you can add or remove shards.</p>\n <p>The stream name identifies the stream. The name is scoped to the AWS account used\n by the application. It is also scoped by AWS Region. That is, two streams in two\n different accounts can have the same name, and two streams in the same account, but in\n 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 \n <p>Have more than five streams in the <code>CREATING</code> state at any point\n in time.</p>\n </li>\n <li>\n \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 AWS account, see <a href=\"https://docs.aws.amazon.com/kinesis/latest/dev/service-sizes-and-limits.html\">Amazon Kinesis Data Streams\n Limits</a> in the <i>Amazon Kinesis Data Streams Developer\n Guide</i>. To increase this limit, <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html\">contact AWS\n Support</a>.</p>\n <p>You can use <code>DescribeStream</code> to check the stream status, which is\n returned in <code>StreamStatus</code>.</p>\n <p>\n <a>CreateStream</a> has a limit of five transactions per second per\n account.</p>"
}
},
"com.amazonaws.kinesis#CreateStreamInput": {
"type": "structure",
"members": {
"StreamName": {
"target": "com.amazonaws.kinesis#StreamName",
"traits": {
"smithy.api#documentation": "<p>A name to identify the stream. The stream name is scoped to the AWS account used by\n the application that creates the stream. It is also scoped by AWS Region. That is, two\n streams in two different AWS accounts can have the same name. Two streams in the same\n AWS account but in two different Regions can also have the same name.</p>",
"smithy.api#required": {}
}
},
"ShardCount": {
"target": "com.amazonaws.kinesis#PositiveIntegerObject",
"traits": {
"smithy.api#documentation": "<p>The number of shards that the stream will use. The throughput of the stream is a\n function of the number of shards; more shards are required for greater provisioned\n throughput.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the input for <code>CreateStream</code>.</p>"
}
},
"com.amazonaws.kinesis#Data": {
"type": "blob",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 1048576
}
}
},
"com.amazonaws.kinesis#DecreaseStreamRetentionPeriod": {
"type": "operation",
"input": {
"target": "com.amazonaws.kinesis#DecreaseStreamRetentionPeriodInput"
},
"errors": [
{
"target": "com.amazonaws.kinesis#InvalidArgumentException"
},
{
"target": "com.amazonaws.kinesis#LimitExceededException"
},
{
"target": "com.amazonaws.kinesis#ResourceInUseException"
},
{
"target": "com.amazonaws.kinesis#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Decreases the Kinesis data stream's retention period, which is the length of time\n data records are accessible after they are added to the stream. The minimum value of a\n stream's retention period is 24 hours.</p>\n <p>This operation may result in lost data. For example, if the stream's retention\n period is 48 hours and is decreased to 24 hours, any data already in the stream that is\n older than 24 hours is inaccessible.</p>"
}
},
"com.amazonaws.kinesis#DecreaseStreamRetentionPeriodInput": {
"type": "structure",
"members": {
"StreamName": {
"target": "com.amazonaws.kinesis#StreamName",
"traits": {
"smithy.api#documentation": "<p>The name of the stream to modify.</p>",
"smithy.api#required": {}
}
},
"RetentionPeriodHours": {
"target": "com.amazonaws.kinesis#RetentionPeriodHours",
"traits": {
"smithy.api#documentation": "<p>The new retention period of the stream, in hours. Must be less than the current\n retention period.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the input for <a>DecreaseStreamRetentionPeriod</a>.</p>"
}
},
"com.amazonaws.kinesis#DeleteStream": {
"type": "operation",
"input": {
"target": "com.amazonaws.kinesis#DeleteStreamInput"
},
"errors": [
{
"target": "com.amazonaws.kinesis#LimitExceededException"
},
{
"target": "com.amazonaws.kinesis#ResourceInUseException"
},
{
"target": "com.amazonaws.kinesis#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Deletes a Kinesis data stream and all its shards and data. You must shut down any\n applications that are operating on the stream before you delete the stream. If an\n application attempts to operate on a deleted stream, it receives the exception\n <code>ResourceNotFoundException</code>.</p>\n <p>If the stream is in the <code>ACTIVE</code> state, you can delete it. After a\n <code>DeleteStream</code> request, the specified stream is in the\n <code>DELETING</code> state until Kinesis Data Streams completes the\n deletion.</p>\n <p>\n <b>Note:</b> Kinesis Data Streams might continue to accept\n data read and write operations, such as <a>PutRecord</a>, <a>PutRecords</a>, and <a>GetRecords</a>, on a stream in the\n <code>DELETING</code> state until the stream deletion is complete.</p>\n <p>When you delete a stream, any shards in that stream are also deleted, and any tags\n are dissociated from the stream.</p>\n <p>You can use the <a>DescribeStream</a> operation to check the state of\n the stream, which is returned in <code>StreamStatus</code>.</p>\n <p>\n <a>DeleteStream</a> has a limit of five transactions per second per\n account.</p>"
}
},
"com.amazonaws.kinesis#DeleteStreamInput": {
"type": "structure",
"members": {
"StreamName": {
"target": "com.amazonaws.kinesis#StreamName",
"traits": {
"smithy.api#documentation": "<p>The name of the stream to delete.</p>",
"smithy.api#required": {}
}
},
"EnforceConsumerDeletion": {
"target": "com.amazonaws.kinesis#BooleanObject",
"traits": {
"smithy.api#documentation": "<p>If this parameter is unset (<code>null</code>) or if you set it to <code>false</code>,\n and the stream has registered consumers, the call to <code>DeleteStream</code> fails\n with a <code>ResourceInUseException</code>. </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the input for <a>DeleteStream</a>.</p>"
}
},
"com.amazonaws.kinesis#DeregisterStreamConsumer": {
"type": "operation",
"input": {
"target": "com.amazonaws.kinesis#DeregisterStreamConsumerInput"
},
"errors": [
{
"target": "com.amazonaws.kinesis#InvalidArgumentException"
},
{
"target": "com.amazonaws.kinesis#LimitExceededException"
},
{
"target": "com.amazonaws.kinesis#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>To deregister a consumer, provide its ARN. Alternatively, you can provide the ARN of\n the data stream and the name you gave the consumer when you registered it. You may also\n provide all three parameters, as long as they don't conflict with each other. If you\n don't know the name or ARN of the consumer that you want to deregister, you can use the\n <a>ListStreamConsumers</a> operation to get a list of the descriptions of\n all the consumers that are currently registered with a given data stream. The\n description of a consumer contains its name and ARN.</p>\n <p>This operation has a limit of five transactions per second per stream.</p>"
}
},
"com.amazonaws.kinesis#DeregisterStreamConsumerInput": {
"type": "structure",
"members": {
"StreamARN": {
"target": "com.amazonaws.kinesis#StreamARN",
"traits": {
"smithy.api#documentation": "<p>The ARN of the Kinesis data stream that the consumer is registered with. For more\n information, see <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-kinesis-streams\">Amazon Resource Names (ARNs) and AWS Service Namespaces</a>.</p>"
}
},
"ConsumerName": {
"target": "com.amazonaws.kinesis#ConsumerName",
"traits": {
"smithy.api#documentation": "<p>The name that you gave to the consumer.</p>"
}
},
"ConsumerARN": {
"target": "com.amazonaws.kinesis#ConsumerARN",
"traits": {
"smithy.api#documentation": "<p>The ARN returned by Kinesis Data Streams when you registered the consumer. If you\n don't know the ARN of the consumer that you want to deregister, you can use the\n ListStreamConsumers operation to get a list of the descriptions of all the consumers\n that are currently registered with a given data stream. The description of a consumer\n contains its ARN.</p>"
}
}
}
},
"com.amazonaws.kinesis#DescribeLimits": {
"type": "operation",
"input": {
"target": "com.amazonaws.kinesis#DescribeLimitsInput"
},
"output": {
"target": "com.amazonaws.kinesis#DescribeLimitsOutput"
},
"errors": [
{
"target": "com.amazonaws.kinesis#LimitExceededException"
}
],
"traits": {
"smithy.api#documentation": "<p>Describes the shard limits and usage for the account.</p>\n <p>If you update your account limits, the old limits might be returned for a few\n minutes.</p>\n <p>This operation has a limit of one transaction per second per account.</p>"
}
},
"com.amazonaws.kinesis#DescribeLimitsInput": {
"type": "structure",
"members": {}
},
"com.amazonaws.kinesis#DescribeLimitsOutput": {
"type": "structure",
"members": {
"ShardLimit": {
"target": "com.amazonaws.kinesis#ShardCountObject",
"traits": {
"smithy.api#documentation": "<p>The maximum number of shards.</p>",
"smithy.api#required": {}
}
},
"OpenShardCount": {
"target": "com.amazonaws.kinesis#ShardCountObject",
"traits": {
"smithy.api#documentation": "<p>The number of open shards.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.kinesis#DescribeStream": {
"type": "operation",
"input": {
"target": "com.amazonaws.kinesis#DescribeStreamInput"
},
"output": {
"target": "com.amazonaws.kinesis#DescribeStreamOutput"
},
"errors": [
{
"target": "com.amazonaws.kinesis#LimitExceededException"
},
{
"target": "com.amazonaws.kinesis#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Describes the specified Kinesis data stream.</p>\n\n <p>The information returned includes the stream name, Amazon Resource Name (ARN),\n creation time, enhanced metric configuration, and shard map. The shard map is an array\n of shard objects. For each shard object, there is the hash key and sequence number\n ranges that the shard spans, and the IDs of any earlier shards that played in a role in\n creating the shard. Every record ingested in the stream is identified by a sequence\n number, which is assigned when the record is put into the stream.</p>\n\n <p>You can limit the number of shards returned by each call. For more information, see\n <a href=\"https://docs.aws.amazon.com/kinesis/latest/dev/kinesis-using-sdk-java-retrieve-shards.html\">Retrieving\n Shards from a Stream</a> in the <i>Amazon Kinesis Data Streams Developer\n Guide</i>.</p>\n <p>There are no guarantees about the chronological order shards returned. To process\n shards in chronological order, use the ID of the parent shard to track the lineage to\n the oldest shard.</p>\n <p>This operation has a limit of 10 transactions per second per account.</p>",
"smithy.waiters#waitable": {
"StreamExists": {
"acceptors": [
{
"state": "success",
"matcher": {
"output": {
"path": "StreamDescription.StreamStatus",
"expected": "ACTIVE",
"comparator": "stringEquals"
}
}
}
],
"minDelay": 10
},
"StreamNotExists": {
"acceptors": [
{
"state": "success",
"matcher": {
"errorType": "ResourceNotFoundException"
}
}
],
"minDelay": 10
}
}
}
},
"com.amazonaws.kinesis#DescribeStreamConsumer": {
"type": "operation",
"input": {
"target": "com.amazonaws.kinesis#DescribeStreamConsumerInput"
},
"output": {
"target": "com.amazonaws.kinesis#DescribeStreamConsumerOutput"
},
"errors": [
{
"target": "com.amazonaws.kinesis#InvalidArgumentException"
},
{
"target": "com.amazonaws.kinesis#LimitExceededException"
},
{
"target": "com.amazonaws.kinesis#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>To get the description of a registered consumer, provide the ARN of the consumer.\n Alternatively, you can provide the ARN of the data stream and the name you gave the\n consumer when you registered it. You may also provide all three parameters, as long as\n they don't conflict with each other. If you don't know the name or ARN of the consumer\n that you want to describe, you can use the <a>ListStreamConsumers</a>\n operation to get a list of the descriptions of all the consumers that are currently\n registered with a given data stream.</p>\n <p>This operation has a limit of 20 transactions per second per stream.</p>"
}
},
"com.amazonaws.kinesis#DescribeStreamConsumerInput": {
"type": "structure",
"members": {
"StreamARN": {
"target": "com.amazonaws.kinesis#StreamARN",
"traits": {
"smithy.api#documentation": "<p>The ARN of the Kinesis data stream that the consumer is registered with. For more\n information, see <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-kinesis-streams\">Amazon Resource Names (ARNs) and AWS Service Namespaces</a>.</p>"
}
},
"ConsumerName": {
"target": "com.amazonaws.kinesis#ConsumerName",
"traits": {
"smithy.api#documentation": "<p>The name that you gave to the consumer.</p>"
}
},
"ConsumerARN": {
"target": "com.amazonaws.kinesis#ConsumerARN",
"traits": {
"smithy.api#documentation": "<p>The ARN returned by Kinesis Data Streams when you registered the consumer.</p>"
}
}
}
},
"com.amazonaws.kinesis#DescribeStreamConsumerOutput": {
"type": "structure",
"members": {
"ConsumerDescription": {
"target": "com.amazonaws.kinesis#ConsumerDescription",
"traits": {
"smithy.api#documentation": "<p>An object that represents the details of the consumer.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.kinesis#DescribeStreamInput": {
"type": "structure",
"members": {
"StreamName": {
"target": "com.amazonaws.kinesis#StreamName",
"traits": {
"smithy.api#documentation": "<p>The name of the stream to describe.</p>",
"smithy.api#required": {}
}
},
"Limit": {
"target": "com.amazonaws.kinesis#DescribeStreamInputLimit",
"traits": {
"smithy.api#documentation": "<p>The maximum number of shards to return in a single call. The default value is 100.\n If you specify a value greater than 100, at most 100 shards are returned.</p>"
}
},
"ExclusiveStartShardId": {
"target": "com.amazonaws.kinesis#ShardId",
"traits": {
"smithy.api#documentation": "<p>The shard ID of the shard to start with.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the input for <code>DescribeStream</code>.</p>"
}
},
"com.amazonaws.kinesis#DescribeStreamInputLimit": {
"type": "integer",
"traits": {
"smithy.api#box": {},
"smithy.api#range": {
"min": 1,
"max": 10000
}
}
},
"com.amazonaws.kinesis#DescribeStreamOutput": {
"type": "structure",
"members": {
"StreamDescription": {
"target": "com.amazonaws.kinesis#StreamDescription",
"traits": {
"smithy.api#documentation": "<p>The current status of the stream, the stream Amazon Resource Name (ARN), an array\n of shard objects that comprise the stream, and whether there are more shards\n available.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the output for <code>DescribeStream</code>.</p>"
}
},
"com.amazonaws.kinesis#DescribeStreamSummary": {
"type": "operation",
"input": {
"target": "com.amazonaws.kinesis#DescribeStreamSummaryInput"
},
"output": {
"target": "com.amazonaws.kinesis#DescribeStreamSummaryOutput"
},
"errors": [
{
"target": "com.amazonaws.kinesis#LimitExceededException"
},
{
"target": "com.amazonaws.kinesis#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Provides a summarized description of the specified Kinesis data stream without the\n shard list.</p>\n <p>The information returned includes the stream name, Amazon Resource Name (ARN),\n status, record retention period, approximate creation time, monitoring, encryption\n details, and open shard count. </p>\n <p>\n <a>DescribeStreamSummary</a> has a limit of 20 transactions per second\n per account.</p>"
}
},
"com.amazonaws.kinesis#DescribeStreamSummaryInput": {
"type": "structure",
"members": {
"StreamName": {
"target": "com.amazonaws.kinesis#StreamName",
"traits": {
"smithy.api#documentation": "<p>The name of the stream to describe.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.kinesis#DescribeStreamSummaryOutput": {
"type": "structure",
"members": {
"StreamDescriptionSummary": {
"target": "com.amazonaws.kinesis#StreamDescriptionSummary",
"traits": {
"smithy.api#documentation": "<p>A <a>StreamDescriptionSummary</a> containing information about the\n stream.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.kinesis#DisableEnhancedMonitoring": {
"type": "operation",
"input": {
"target": "com.amazonaws.kinesis#DisableEnhancedMonitoringInput"
},
"output": {
"target": "com.amazonaws.kinesis#EnhancedMonitoringOutput"
},
"errors": [
{
"target": "com.amazonaws.kinesis#InvalidArgumentException"
},
{
"target": "com.amazonaws.kinesis#LimitExceededException"
},
{
"target": "com.amazonaws.kinesis#ResourceInUseException"
},
{
"target": "com.amazonaws.kinesis#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Disables enhanced monitoring.</p>"
}
},
"com.amazonaws.kinesis#DisableEnhancedMonitoringInput": {
"type": "structure",
"members": {
"StreamName": {
"target": "com.amazonaws.kinesis#StreamName",
"traits": {
"smithy.api#documentation": "<p>The name of the Kinesis data stream for which to disable enhanced\n monitoring.</p>",
"smithy.api#required": {}
}
},
"ShardLevelMetrics": {
"target": "com.amazonaws.kinesis#MetricsNameList",
"traits": {
"smithy.api#documentation": "<p>List of shard-level metrics to disable.</p>\n <p>The following are the valid shard-level metrics. The value \"<code>ALL</code>\"\n disables every metric.</p>\n <ul>\n <li>\n <p>\n <code>IncomingBytes</code>\n </p>\n </li>\n <li>\n <p>\n <code>IncomingRecords</code>\n </p>\n </li>\n <li>\n <p>\n <code>OutgoingBytes</code>\n </p>\n </li>\n <li>\n <p>\n <code>OutgoingRecords</code>\n </p>\n </li>\n <li>\n <p>\n <code>WriteProvisionedThroughputExceeded</code>\n </p>\n </li>\n <li>\n <p>\n <code>ReadProvisionedThroughputExceeded</code>\n </p>\n </li>\n <li>\n <p>\n <code>IteratorAgeMilliseconds</code>\n </p>\n </li>\n <li>\n <p>\n <code>ALL</code>\n </p>\n </li>\n </ul>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/kinesis/latest/dev/monitoring-with-cloudwatch.html\">Monitoring the Amazon\n Kinesis Data Streams Service with Amazon CloudWatch</a> in the <i>Amazon\n Kinesis Data Streams Developer Guide</i>.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the input for <a>DisableEnhancedMonitoring</a>.</p>"
}
},
"com.amazonaws.kinesis#EnableEnhancedMonitoring": {
"type": "operation",
"input": {
"target": "com.amazonaws.kinesis#EnableEnhancedMonitoringInput"
},
"output": {
"target": "com.amazonaws.kinesis#EnhancedMonitoringOutput"
},
"errors": [
{
"target": "com.amazonaws.kinesis#InvalidArgumentException"
},
{
"target": "com.amazonaws.kinesis#LimitExceededException"
},
{
"target": "com.amazonaws.kinesis#ResourceInUseException"
},
{
"target": "com.amazonaws.kinesis#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Enables enhanced Kinesis data stream monitoring for shard-level metrics.</p>"
}
},
"com.amazonaws.kinesis#EnableEnhancedMonitoringInput": {
"type": "structure",
"members": {
"StreamName": {
"target": "com.amazonaws.kinesis#StreamName",
"traits": {
"smithy.api#documentation": "<p>The name of the stream for which to enable enhanced monitoring.</p>",
"smithy.api#required": {}
}
},
"ShardLevelMetrics": {
"target": "com.amazonaws.kinesis#MetricsNameList",
"traits": {
"smithy.api#documentation": "<p>List of shard-level metrics to enable.</p>\n <p>The following are the valid shard-level metrics. The value \"<code>ALL</code>\"\n enables every metric.</p>\n <ul>\n <li>\n <p>\n <code>IncomingBytes</code>\n </p>\n </li>\n <li>\n <p>\n <code>IncomingRecords</code>\n </p>\n </li>\n <li>\n <p>\n <code>OutgoingBytes</code>\n </p>\n </li>\n <li>\n <p>\n <code>OutgoingRecords</code>\n </p>\n </li>\n <li>\n <p>\n <code>WriteProvisionedThroughputExceeded</code>\n </p>\n </li>\n <li>\n <p>\n <code>ReadProvisionedThroughputExceeded</code>\n </p>\n </li>\n <li>\n <p>\n <code>IteratorAgeMilliseconds</code>\n </p>\n </li>\n <li>\n <p>\n <code>ALL</code>\n </p>\n </li>\n </ul>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/kinesis/latest/dev/monitoring-with-cloudwatch.html\">Monitoring the Amazon\n Kinesis Data Streams Service with Amazon CloudWatch</a> in the <i>Amazon\n Kinesis Data Streams Developer Guide</i>.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the input for <a>EnableEnhancedMonitoring</a>.</p>"
}
},
"com.amazonaws.kinesis#EncryptionType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "NONE",
"name": "NONE"
},
{
"value": "KMS",
"name": "KMS"
}
]
}
},
"com.amazonaws.kinesis#EnhancedMetrics": {
"type": "structure",
"members": {
"ShardLevelMetrics": {
"target": "com.amazonaws.kinesis#MetricsNameList",
"traits": {
"smithy.api#documentation": "<p>List of shard-level metrics.</p>\n <p>The following are the valid shard-level metrics. The value \"<code>ALL</code>\"\n enhances every metric.</p>\n <ul>\n <li>\n <p>\n <code>IncomingBytes</code>\n </p>\n </li>\n <li>\n <p>\n <code>IncomingRecords</code>\n </p>\n </li>\n <li>\n <p>\n <code>OutgoingBytes</code>\n </p>\n </li>\n <li>\n <p>\n <code>OutgoingRecords</code>\n </p>\n </li>\n <li>\n <p>\n <code>WriteProvisionedThroughputExceeded</code>\n </p>\n </li>\n <li>\n <p>\n <code>ReadProvisionedThroughputExceeded</code>\n </p>\n </li>\n <li>\n <p>\n <code>IteratorAgeMilliseconds</code>\n </p>\n </li>\n <li>\n <p>\n <code>ALL</code>\n </p>\n </li>\n </ul>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/kinesis/latest/dev/monitoring-with-cloudwatch.html\">Monitoring the Amazon\n Kinesis Data Streams Service with Amazon CloudWatch</a> in the <i>Amazon\n Kinesis Data Streams Developer Guide</i>.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents enhanced metrics types.</p>"
}
},
"com.amazonaws.kinesis#EnhancedMonitoringList": {
"type": "list",
"member": {
"target": "com.amazonaws.kinesis#EnhancedMetrics"
}
},
"com.amazonaws.kinesis#EnhancedMonitoringOutput": {
"type": "structure",
"members": {
"StreamName": {
"target": "com.amazonaws.kinesis#StreamName",
"traits": {
"smithy.api#documentation": "<p>The name of the Kinesis data stream.</p>"
}
},
"CurrentShardLevelMetrics": {
"target": "com.amazonaws.kinesis#MetricsNameList",
"traits": {
"smithy.api#documentation": "<p>Represents the current state of the metrics that are in the enhanced state before\n the operation.</p>"
}
},
"DesiredShardLevelMetrics": {
"target": "com.amazonaws.kinesis#MetricsNameList",
"traits": {
"smithy.api#documentation": "<p>Represents the list of all the metrics that would be in the enhanced state after\n the operation.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the output for <a>EnableEnhancedMonitoring</a> and <a>DisableEnhancedMonitoring</a>.</p>"
}
},
"com.amazonaws.kinesis#ErrorCode": {
"type": "string"
},
"com.amazonaws.kinesis#ErrorMessage": {
"type": "string"
},
"com.amazonaws.kinesis#ExpiredIteratorException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.kinesis#ErrorMessage",
"traits": {
"smithy.api#documentation": "<p>A message that provides information about the error.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The provided iterator exceeds the maximum age allowed.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.kinesis#ExpiredNextTokenException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.kinesis#ErrorMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>The pagination token passed to the operation is expired.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.kinesis#GetRecords": {
"type": "operation",
"input": {
"target": "com.amazonaws.kinesis#GetRecordsInput"
},
"output": {
"target": "com.amazonaws.kinesis#GetRecordsOutput"
},
"errors": [
{
"target": "com.amazonaws.kinesis#ExpiredIteratorException"
},
{
"target": "com.amazonaws.kinesis#InvalidArgumentException"
},
{
"target": "com.amazonaws.kinesis#KMSAccessDeniedException"
},
{
"target": "com.amazonaws.kinesis#KMSDisabledException"
},
{
"target": "com.amazonaws.kinesis#KMSInvalidStateException"
},
{
"target": "com.amazonaws.kinesis#KMSNotFoundException"
},
{
"target": "com.amazonaws.kinesis#KMSOptInRequired"
},
{
"target": "com.amazonaws.kinesis#KMSThrottlingException"
},
{
"target": "com.amazonaws.kinesis#ProvisionedThroughputExceededException"
},
{
"target": "com.amazonaws.kinesis#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Gets data records from a Kinesis data stream's shard.</p>\n <p>Specify a shard iterator using the <code>ShardIterator</code> parameter. The shard\n iterator specifies the position in the shard from which you want to start reading data\n records sequentially. If there are no records available in the portion of the shard that\n the iterator points to, <a>GetRecords</a> returns an empty list. It might\n take multiple calls to get to a portion of the shard that contains records.</p>\n <p>You can scale by provisioning multiple shards per stream while considering service\n limits (for more information, see <a href=\"https://docs.aws.amazon.com/kinesis/latest/dev/service-sizes-and-limits.html\">Amazon Kinesis Data Streams\n Limits</a> in the <i>Amazon Kinesis Data Streams Developer\n Guide</i>). Your application should have one thread per shard, each reading\n continuously from its stream. To read from a stream continually, call <a>GetRecords</a> in a loop. Use <a>GetShardIterator</a> to get the\n shard iterator to specify in the first <a>GetRecords</a> call. <a>GetRecords</a> returns a new shard iterator in\n <code>NextShardIterator</code>. Specify the shard iterator returned in\n <code>NextShardIterator</code> in subsequent calls to <a>GetRecords</a>.\n If the shard has been closed, the shard iterator can't return more data and <a>GetRecords</a> returns <code>null</code> in <code>NextShardIterator</code>.\n You can terminate the loop when the shard is closed, or when the shard iterator reaches\n the record with the sequence number or other attribute that marks it as the last record\n to process.</p>\n <p>Each data record can be up to 1 MiB in size, and each shard can read up to 2 MiB\n per second. You can ensure that your calls don't exceed the maximum supported size or\n throughput by using the <code>Limit</code> parameter to specify the maximum number of\n records that <a>GetRecords</a> can return. Consider your average record size\n when determining this limit. The maximum number of records that can be returned per call\n is 10,000.</p>\n\n <p>The size of the data returned by <a>GetRecords</a> varies depending on\n the utilization of the shard. The maximum size of data that <a>GetRecords</a>\n can return is 10 MiB. If a call returns this amount of data, subsequent calls made\n within the next 5 seconds throw <code>ProvisionedThroughputExceededException</code>. If\n there is insufficient provisioned throughput on the stream, subsequent calls made within\n the next 1 second throw <code>ProvisionedThroughputExceededException</code>. <a>GetRecords</a> doesn't return any data when it throws an exception. For this\n reason, we recommend that you wait 1 second between calls to <a>GetRecords</a>. However, it's possible that the application will get exceptions for longer than 1\n second.</p>\n <p>To detect whether the application is falling behind in processing, you can use the\n <code>MillisBehindLatest</code> response attribute. You can also monitor the stream\n using CloudWatch metrics and other mechanisms (see <a href=\"https://docs.aws.amazon.com/kinesis/latest/dev/monitoring.html\">Monitoring</a> in the <i>Amazon\n Kinesis Data Streams Developer Guide</i>).</p>\n <p>Each Amazon Kinesis record includes a value,\n <code>ApproximateArrivalTimestamp</code>, that is set when a stream successfully\n receives and stores a record. This is commonly referred to as a server-side time stamp,\n whereas a client-side time stamp is set when a data producer creates or sends the record\n to a stream (a data producer is any data source putting data records int
}
},
"com.amazonaws.kinesis#GetRecordsInput": {
"type": "structure",
"members": {
"ShardIterator": {
"target": "com.amazonaws.kinesis#ShardIterator",
"traits": {
"smithy.api#documentation": "<p>The position in the shard from which you want to start sequentially reading data\n records. A shard iterator specifies this position using the sequence number of a data\n record in the shard.</p>",
"smithy.api#required": {}
}
},
"Limit": {
"target": "com.amazonaws.kinesis#GetRecordsInputLimit",
"traits": {
"smithy.api#documentation": "<p>The maximum number of records to return. Specify a value of up to 10,000. If you\n specify a value that is greater than 10,000, <a>GetRecords</a> throws\n <code>InvalidArgumentException</code>. The default value is 10,000.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the input for <a>GetRecords</a>.</p>"
}
},
"com.amazonaws.kinesis#GetRecordsInputLimit": {
"type": "integer",
"traits": {
"smithy.api#box": {},
"smithy.api#range": {
"min": 1,
"max": 10000
}
}
},
"com.amazonaws.kinesis#GetRecordsOutput": {
"type": "structure",
"members": {
"Records": {
"target": "com.amazonaws.kinesis#RecordList",
"traits": {
"smithy.api#documentation": "<p>The data records retrieved from the shard.</p>",
"smithy.api#required": {}
}
},
"NextShardIterator": {
"target": "com.amazonaws.kinesis#ShardIterator",
"traits": {
"smithy.api#documentation": "<p>The next position in the shard from which to start sequentially reading data\n records. If set to <code>null</code>, the shard has been closed and the requested\n iterator does not return any more data. </p>"
}
},
"MillisBehindLatest": {
"target": "com.amazonaws.kinesis#MillisBehindLatest",
"traits": {
"smithy.api#documentation": "<p>The number of milliseconds the <a>GetRecords</a> response is from the\n tip of the stream, indicating how far behind current time the consumer is. A value of\n zero indicates that record processing is caught up, and there are no new records to\n process at this moment.</p>"
}
},
"ChildShards": {
"target": "com.amazonaws.kinesis#ChildShardList"
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the output for <a>GetRecords</a>.</p>"
}
},
"com.amazonaws.kinesis#GetShardIterator": {
"type": "operation",
"input": {
"target": "com.amazonaws.kinesis#GetShardIteratorInput"
},
"output": {
"target": "com.amazonaws.kinesis#GetShardIteratorOutput"
},
"errors": [
{
"target": "com.amazonaws.kinesis#InvalidArgumentException"
},
{
"target": "com.amazonaws.kinesis#ProvisionedThroughputExceededException"
},
{
"target": "com.amazonaws.kinesis#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Gets an Amazon Kinesis shard iterator. A shard iterator expires 5 minutes after it\n is returned to the requester.</p>\n <p>A shard iterator specifies the shard position from which to start reading data\n records sequentially. The position is specified using the sequence number of a data\n record in a shard. A sequence number is the identifier associated with every record\n ingested in the stream, and is assigned when a record is put into the stream. Each\n stream has one or more shards.</p>\n <p>You must specify the shard iterator type. For example, you can set the\n <code>ShardIteratorType</code> parameter to read exactly from the position denoted\n by a specific sequence number by using the <code>AT_SEQUENCE_NUMBER</code> shard\n iterator type. Alternatively, the parameter can read right after the sequence number by\n using the <code>AFTER_SEQUENCE_NUMBER</code> shard iterator type, using sequence numbers\n returned by earlier calls to <a>PutRecord</a>, <a>PutRecords</a>,\n <a>GetRecords</a>, or <a>DescribeStream</a>. In the request,\n you can specify the shard iterator type <code>AT_TIMESTAMP</code> to read records from\n an arbitrary point in time, <code>TRIM_HORIZON</code> to cause\n <code>ShardIterator</code> to point to the last untrimmed record in the shard in the\n system (the oldest data record in the shard), or <code>LATEST</code> so that you always\n read the most recent data in the shard. </p>\n <p>When you read repeatedly from a stream, use a <a>GetShardIterator</a>\n request to get the first shard iterator for use in your first <a>GetRecords</a> request and for subsequent reads use the shard iterator returned by the <a>GetRecords</a> request in <code>NextShardIterator</code>. A new shard\n iterator is returned by every <a>GetRecords</a> request in\n <code>NextShardIterator</code>, which you use in the <code>ShardIterator</code>\n parameter of the next <a>GetRecords</a> request. </p>\n <p>If a <a>GetShardIterator</a> request is made too often, you receive a\n <code>ProvisionedThroughputExceededException</code>. For more information about\n throughput limits, see <a>GetRecords</a>, and <a href=\"https://docs.aws.amazon.com/kinesis/latest/dev/service-sizes-and-limits.html\">Streams Limits</a> in the\n <i>Amazon Kinesis Data Streams Developer Guide</i>.</p>\n <p>If the shard is closed, <a>GetShardIterator</a> returns a valid iterator\n for the last sequence number of the shard. A shard can be closed as a result of using\n <a>SplitShard</a> or <a>MergeShards</a>.</p>\n <p>\n <a>GetShardIterator</a> has a limit of five transactions per second per\n account per open shard.</p>"
}
},
"com.amazonaws.kinesis#GetShardIteratorInput": {
"type": "structure",
"members": {
"StreamName": {
"target": "com.amazonaws.kinesis#StreamName",
"traits": {
"smithy.api#documentation": "<p>The name of the Amazon Kinesis data stream.</p>",
"smithy.api#required": {}
}
},
"ShardId": {
"target": "com.amazonaws.kinesis#ShardId",
"traits": {
"smithy.api#documentation": "<p>The shard ID of the Kinesis Data Streams shard to get the iterator for.</p>",
"smithy.api#required": {}
}
},
"ShardIteratorType": {
"target": "com.amazonaws.kinesis#ShardIteratorType",
"traits": {
"smithy.api#documentation": "<p>Determines how the shard iterator is used to start reading data records from the\n shard.</p>\n <p>The following are the valid Amazon Kinesis shard iterator types:</p>\n <ul>\n <li>\n \n <p>AT_SEQUENCE_NUMBER - Start reading from the position denoted by a specific\n sequence number, provided in the value\n <code>StartingSequenceNumber</code>.</p>\n </li>\n <li>\n \n <p>AFTER_SEQUENCE_NUMBER - Start reading right after the position denoted by a\n specific sequence number, provided in the value\n <code>StartingSequenceNumber</code>.</p>\n </li>\n <li>\n \n <p>AT_TIMESTAMP - Start reading from the position denoted by a specific time\n stamp, provided in the value <code>Timestamp</code>.</p>\n </li>\n <li>\n \n <p>TRIM_HORIZON - Start reading at the last untrimmed record in the shard in\n the system, which is the oldest data record in the shard.</p>\n </li>\n <li>\n \n <p>LATEST - Start reading just after the most recent record in the shard, so\n that you always read the most recent data in the shard.</p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"StartingSequenceNumber": {
"target": "com.amazonaws.kinesis#SequenceNumber",
"traits": {
"smithy.api#documentation": "<p>The sequence number of the data record in the shard from which to start reading.\n Used with shard iterator type AT_SEQUENCE_NUMBER and AFTER_SEQUENCE_NUMBER.</p>"
}
},
"Timestamp": {
"target": "com.amazonaws.kinesis#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The time stamp of the data record from which to start reading. Used with shard\n iterator type AT_TIMESTAMP. A time stamp is the Unix epoch date with precision in\n milliseconds. For example, <code>2016-04-04T19:58:46.480-00:00</code> or\n <code>1459799926.480</code>. If a record with this exact time stamp does not exist,\n the iterator returned is for the next (later) record. If the time stamp is older than\n the current trim horizon, the iterator returned is for the oldest untrimmed data record\n (TRIM_HORIZON).</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the input for <code>GetShardIterator</code>.</p>"
}
},
"com.amazonaws.kinesis#GetShardIteratorOutput": {
"type": "structure",
"members": {
"ShardIterator": {
"target": "com.amazonaws.kinesis#ShardIterator",
"traits": {
"smithy.api#documentation": "<p>The position in the shard from which to start reading data records sequentially. A\n shard iterator specifies this position using the sequence number of a data record in a\n shard.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the output for <code>GetShardIterator</code>.</p>"
}
},
"com.amazonaws.kinesis#HashKey": {
"type": "string",
"traits": {
"smithy.api#pattern": "0|([1-9]\\d{0,38})"
}
},
"com.amazonaws.kinesis#HashKeyRange": {
"type": "structure",
"members": {
"StartingHashKey": {
"target": "com.amazonaws.kinesis#HashKey",
"traits": {
"smithy.api#documentation": "<p>The starting hash key of the hash key range.</p>",
"smithy.api#required": {}
}
},
"EndingHashKey": {
"target": "com.amazonaws.kinesis#HashKey",
"traits": {
"smithy.api#documentation": "<p>The ending hash key of the hash key range.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>The range of possible hash key values for the shard, which is a set of ordered\n contiguous positive integers.</p>"
}
},
"com.amazonaws.kinesis#IncreaseStreamRetentionPeriod": {
"type": "operation",
"input": {
"target": "com.amazonaws.kinesis#IncreaseStreamRetentionPeriodInput"
},
"errors": [
{
"target": "com.amazonaws.kinesis#InvalidArgumentException"
},
{
"target": "com.amazonaws.kinesis#LimitExceededException"
},
{
"target": "com.amazonaws.kinesis#ResourceInUseException"
},
{
"target": "com.amazonaws.kinesis#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Increases the Kinesis data stream's retention period, which is the length of time\n data records are accessible after they are added to the stream. The maximum value of a\n stream's retention period is 168 hours (7 days).</p>\n <p>If you choose a longer stream retention period, this operation increases the time\n period during which records that have not yet expired are accessible. However, it does\n not make previous, expired data (older than the stream's previous retention period)\n accessible after the operation has been called. For example, if a stream's retention\n period is set to 24 hours and is increased to 168 hours, any data that is older than 24\n hours remains inaccessible to consumer applications.</p>"
}
},
"com.amazonaws.kinesis#IncreaseStreamRetentionPeriodInput": {
"type": "structure",
"members": {
"StreamName": {
"target": "com.amazonaws.kinesis#StreamName",
"traits": {
"smithy.api#documentation": "<p>The name of the stream to modify.</p>",
"smithy.api#required": {}
}
},
"RetentionPeriodHours": {
"target": "com.amazonaws.kinesis#RetentionPeriodHours",
"traits": {
"smithy.api#documentation": "<p>The new retention period of the stream, in hours. Must be more than the current\n retention period.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the input for <a>IncreaseStreamRetentionPeriod</a>.</p>"
}
},
"com.amazonaws.kinesis#InternalFailureException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.kinesis#ErrorMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>The processing of the request failed because of an unknown error, exception, or\n failure.</p>",
"smithy.api#error": "server"
}
},
"com.amazonaws.kinesis#InvalidArgumentException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.kinesis#ErrorMessage",
"traits": {
"smithy.api#documentation": "<p>A message that provides information about the error.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>A specified parameter exceeds its restrictions, is not supported, or can't be used.\n For more information, see the returned message.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.kinesis#KMSAccessDeniedException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.kinesis#ErrorMessage",
"traits": {
"smithy.api#documentation": "<p>A message that provides information about the error.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The ciphertext references a key that doesn't exist or that you don't have access\n to.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.kinesis#KMSDisabledException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.kinesis#ErrorMessage",
"traits": {
"smithy.api#documentation": "<p>A message that provides information about the error.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The request was rejected because the specified customer master key (CMK) isn't\n enabled.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.kinesis#KMSInvalidStateException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.kinesis#ErrorMessage",
"traits": {
"smithy.api#documentation": "<p>A message that provides information about the error.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The request was rejected because the state of the specified resource isn't valid\n for this request. For more information, see <a href=\"https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html\">How Key State Affects Use of a\n Customer Master Key</a> in the <i>AWS Key Management Service Developer\n Guide</i>.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.kinesis#KMSNotFoundException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.kinesis#ErrorMessage",
"traits": {
"smithy.api#documentation": "<p>A message that provides information about the error.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The request was rejected because the specified entity or resource can't be\n found.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.kinesis#KMSOptInRequired": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.kinesis#ErrorMessage",
"traits": {
"smithy.api#documentation": "<p>A message that provides information about the error.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The AWS access key ID needs a subscription for the service.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.kinesis#KMSThrottlingException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.kinesis#ErrorMessage",
"traits": {
"smithy.api#documentation": "<p>A message that provides information about the error.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The request was denied due to request throttling. For more information about\n throttling, see <a href=\"https://docs.aws.amazon.com/kms/latest/developerguide/limits.html#requests-per-second\">Limits</a> in\n the <i>AWS Key Management Service Developer Guide</i>.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.kinesis#KeyId": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 2048
}
}
},
"com.amazonaws.kinesis#Kinesis_20131202": {
"type": "service",
"version": "2013-12-02",
"operations": [
{
"target": "com.amazonaws.kinesis#AddTagsToStream"
},
{
"target": "com.amazonaws.kinesis#CreateStream"
},
{
"target": "com.amazonaws.kinesis#DecreaseStreamRetentionPeriod"
},
{
"target": "com.amazonaws.kinesis#DeleteStream"
},
{
"target": "com.amazonaws.kinesis#DeregisterStreamConsumer"
},
{
"target": "com.amazonaws.kinesis#DescribeLimits"
},
{
"target": "com.amazonaws.kinesis#DescribeStream"
},
{
"target": "com.amazonaws.kinesis#DescribeStreamConsumer"
},
{
"target": "com.amazonaws.kinesis#DescribeStreamSummary"
},
{
"target": "com.amazonaws.kinesis#DisableEnhancedMonitoring"
},
{
"target": "com.amazonaws.kinesis#EnableEnhancedMonitoring"
},
{
"target": "com.amazonaws.kinesis#GetRecords"
},
{
"target": "com.amazonaws.kinesis#GetShardIterator"
},
{
"target": "com.amazonaws.kinesis#IncreaseStreamRetentionPeriod"
},
{
"target": "com.amazonaws.kinesis#ListShards"
},
{
"target": "com.amazonaws.kinesis#ListStreamConsumers"
},
{
"target": "com.amazonaws.kinesis#ListStreams"
},
{
"target": "com.amazonaws.kinesis#ListTagsForStream"
},
{
"target": "com.amazonaws.kinesis#MergeShards"
},
{
"target": "com.amazonaws.kinesis#PutRecord"
},
{
"target": "com.amazonaws.kinesis#PutRecords"
},
{
"target": "com.amazonaws.kinesis#RegisterStreamConsumer"
},
{
"target": "com.amazonaws.kinesis#RemoveTagsFromStream"
},
{
"target": "com.amazonaws.kinesis#SplitShard"
},
{
"target": "com.amazonaws.kinesis#StartStreamEncryption"
},
{
"target": "com.amazonaws.kinesis#StopStreamEncryption"
},
{
"target": "com.amazonaws.kinesis#SubscribeToShard"
},
{
"target": "com.amazonaws.kinesis#UpdateShardCount"
}
],
"traits": {
"aws.api#service": {
"sdkId": "Kinesis",
"arnNamespace": "kinesis",
"cloudFormationName": "Kinesis",
"cloudTrailEventSource": "kinesis.amazonaws.com",
"endpointPrefix": "kinesis"
},
"aws.auth#sigv4": {
"name": "kinesis"
},
"aws.protocols#awsJson1_1": {},
"smithy.api#documentation": "<fullname>Amazon Kinesis Data Streams Service API Reference</fullname>\n <p>Amazon Kinesis Data Streams is a managed service that scales elastically for\n real-time processing of streaming big data.</p>",
"smithy.api#title": "Amazon Kinesis",
"smithy.api#xmlNamespace": {
"uri": "http://kinesis.amazonaws.com/doc/2013-12-02"
}
}
},
"com.amazonaws.kinesis#LimitExceededException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.kinesis#ErrorMessage",
"traits": {
"smithy.api#documentation": "<p>A message that provides information about the error.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The requested resource exceeds the maximum number allowed, or the number of\n concurrent stream requests exceeds the maximum number allowed. </p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.kinesis#ListShards": {
"type": "operation",
"input": {
"target": "com.amazonaws.kinesis#ListShardsInput"
},
"output": {
"target": "com.amazonaws.kinesis#ListShardsOutput"
},
"errors": [
{
"target": "com.amazonaws.kinesis#ExpiredNextTokenException"
},
{
"target": "com.amazonaws.kinesis#InvalidArgumentException"
},
{
"target": "com.amazonaws.kinesis#LimitExceededException"
},
{
"target": "com.amazonaws.kinesis#ResourceInUseException"
},
{
"target": "com.amazonaws.kinesis#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Lists the shards in a stream and provides information about each shard. This\n operation has a limit of 100 transactions per second per data stream.</p>\n <important>\n <p>This API is a new operation that is used by the Amazon Kinesis Client Library\n (KCL). If you have a fine-grained IAM policy that only allows specific operations,\n you must update your policy to allow calls to this API. For more information, see\n <a href=\"https://docs.aws.amazon.com/streams/latest/dev/controlling-access.html\">Controlling Access to Amazon Kinesis Data Streams Resources Using\n IAM</a>.</p>\n </important>"
}
},
"com.amazonaws.kinesis#ListShardsInput": {
"type": "structure",
"members": {
"StreamName": {
"target": "com.amazonaws.kinesis#StreamName",
"traits": {
"smithy.api#documentation": "<p>The name of the data stream whose shards you want to list. </p>\n <p>You cannot specify this parameter if you specify the <code>NextToken</code>\n parameter.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.kinesis#NextToken",
"traits": {
"smithy.api#documentation": "<p>When the number of shards in the data stream is greater than the default value for\n the <code>MaxResults</code> parameter, or if you explicitly specify a value for\n <code>MaxResults</code> that is less than the number of shards in the data stream,\n the response includes a pagination token named <code>NextToken</code>. You can specify\n this <code>NextToken</code> value in a subsequent call to <code>ListShards</code> to\n list the next set of shards.</p>\n <p>Don't specify <code>StreamName</code> or <code>StreamCreationTimestamp</code> if\n you specify <code>NextToken</code> because the latter unambiguously identifies the\n stream.</p>\n <p>You can optionally specify a value for the <code>MaxResults</code> parameter when\n you specify <code>NextToken</code>. If you specify a <code>MaxResults</code> value that\n is less than the number of shards that the operation returns if you don't specify\n <code>MaxResults</code>, the response will contain a new <code>NextToken</code>\n value. You can use the new <code>NextToken</code> value in a subsequent call to the\n <code>ListShards</code> operation.</p>\n <important>\n <p>Tokens expire after 300 seconds. When you obtain a value for\n <code>NextToken</code> in the response to a call to <code>ListShards</code>, you\n have 300 seconds to use that value. If you specify an expired token in a call to\n <code>ListShards</code>, you get\n <code>ExpiredNextTokenException</code>.</p>\n </important>"
}
},
"ExclusiveStartShardId": {
"target": "com.amazonaws.kinesis#ShardId",
"traits": {
"smithy.api#documentation": "<p>Specify this parameter to indicate that you want to list the shards starting with\n the shard whose ID immediately follows <code>ExclusiveStartShardId</code>.</p>\n <p>If you don't specify this parameter, the default behavior is for\n <code>ListShards</code> to list the shards starting with the first one in the\n stream.</p>\n <p>You cannot specify this parameter if you specify <code>NextToken</code>.</p>"
}
},
"MaxResults": {
"target": "com.amazonaws.kinesis#ListShardsInputLimit",
"traits": {
"smithy.api#documentation": "<p>The maximum number of shards to return in a single call to <code>ListShards</code>.\n The minimum value you can specify for this parameter is 1, and the maximum is 10,000,\n which is also the default.</p>\n <p>When the number of shards to be listed is greater than the value of\n <code>MaxResults</code>, the response contains a <code>NextToken</code> value that\n you can use in a subsequent call to <code>ListShards</code> to list the next set of\n shards.</p>"
}
},
"StreamCreationTimestamp": {
"target": "com.amazonaws.kinesis#Timestamp",
"traits": {
"smithy.api#documentation": "<p>Specify this input parameter to distinguish data streams that have the same name.\n For example, if you create a data stream and then delete it, and you later create\n another data stream with the same name, you can use this input parameter to specify\n which of the two streams you want to list the shards for.</p>\n <p>You cannot specify this parameter if you specify the <code>NextToken</code>\n parameter.</p>"
}
},
"ShardFilter": {
"target": "com.amazonaws.kinesis#ShardFilter"
}
}
},
"com.amazonaws.kinesis#ListShardsInputLimit": {
"type": "integer",
"traits": {
"smithy.api#box": {},
"smithy.api#range": {
"min": 1,
"max": 10000
}
}
},
"com.amazonaws.kinesis#ListShardsOutput": {
"type": "structure",
"members": {
"Shards": {
"target": "com.amazonaws.kinesis#ShardList",
"traits": {
"smithy.api#documentation": "<p>An array of JSON objects. Each object represents one shard and specifies the IDs of\n the shard, the shard's parent, and the shard that's adjacent to the shard's parent. Each\n object also contains the starting and ending hash keys and the starting and ending\n sequence numbers for the shard.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.kinesis#NextToken",
"traits": {
"smithy.api#documentation": "<p>When the number of shards in the data stream is greater than the default value for\n the <code>MaxResults</code> parameter, or if you explicitly specify a value for\n <code>MaxResults</code> that is less than the number of shards in the data stream,\n the response includes a pagination token named <code>NextToken</code>. You can specify\n this <code>NextToken</code> value in a subsequent call to <code>ListShards</code> to\n list the next set of shards. For more information about the use of this pagination token\n when calling the <code>ListShards</code> operation, see <a>ListShardsInput$NextToken</a>.</p>\n <important>\n <p>Tokens expire after 300 seconds. When you obtain a value for\n <code>NextToken</code> in the response to a call to <code>ListShards</code>, you\n have 300 seconds to use that value. If you specify an expired token in a call to\n <code>ListShards</code>, you get\n <code>ExpiredNextTokenException</code>.</p>\n </important>"
}
}
}
},
"com.amazonaws.kinesis#ListStreamConsumers": {
"type": "operation",
"input": {
"target": "com.amazonaws.kinesis#ListStreamConsumersInput"
},
"output": {
"target": "com.amazonaws.kinesis#ListStreamConsumersOutput"
},
"errors": [
{
"target": "com.amazonaws.kinesis#ExpiredNextTokenException"
},
{
"target": "com.amazonaws.kinesis#InvalidArgumentException"
},
{
"target": "com.amazonaws.kinesis#LimitExceededException"
},
{
"target": "com.amazonaws.kinesis#ResourceInUseException"
},
{
"target": "com.amazonaws.kinesis#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Lists the consumers registered to receive data from a stream using enhanced fan-out,\n and provides information about each consumer.</p>\n <p>This operation has a limit of 5 transactions per second per stream.</p>",
"smithy.api#paginated": {
"inputToken": "NextToken",
"outputToken": "NextToken",
"pageSize": "MaxResults"
}
}
},
"com.amazonaws.kinesis#ListStreamConsumersInput": {
"type": "structure",
"members": {
"StreamARN": {
"target": "com.amazonaws.kinesis#StreamARN",
"traits": {
"smithy.api#documentation": "<p>The ARN of the Kinesis data stream for which you want to list the registered\n consumers. For more information, see <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-kinesis-streams\">Amazon Resource Names (ARNs) and AWS Service Namespaces</a>.</p>",
"smithy.api#required": {}
}
},
"NextToken": {
"target": "com.amazonaws.kinesis#NextToken",
"traits": {
"smithy.api#documentation": "<p>When the number of consumers that are registered with the data stream is greater than\n the default value for the <code>MaxResults</code> parameter, or if you explicitly\n specify a value for <code>MaxResults</code> that is less than the number of consumers\n that are registered with the data stream, the response includes a pagination token named\n <code>NextToken</code>. You can specify this <code>NextToken</code> value in a\n subsequent call to <code>ListStreamConsumers</code> to list the next set of registered\n consumers.</p>\n <p>Don't specify <code>StreamName</code> or <code>StreamCreationTimestamp</code> if you\n specify <code>NextToken</code> because the latter unambiguously identifies the\n stream.</p>\n <p>You can optionally specify a value for the <code>MaxResults</code> parameter when you\n specify <code>NextToken</code>. If you specify a <code>MaxResults</code> value that is\n less than the number of consumers that the operation returns if you don't specify\n <code>MaxResults</code>, the response will contain a new <code>NextToken</code>\n value. You can use the new <code>NextToken</code> value in a subsequent call to the\n <code>ListStreamConsumers</code> operation to list the next set of consumers.</p>\n <important>\n <p>Tokens expire after 300 seconds. When you obtain a value for\n <code>NextToken</code> in the response to a call to\n <code>ListStreamConsumers</code>, you have 300 seconds to use that value. If you\n specify an expired token in a call to <code>ListStreamConsumers</code>, you get\n <code>ExpiredNextTokenException</code>.</p>\n </important>"
}
},
"MaxResults": {
"target": "com.amazonaws.kinesis#ListStreamConsumersInputLimit",
"traits": {
"smithy.api#documentation": "<p>The maximum number of consumers that you want a single call of\n <code>ListStreamConsumers</code> to return.</p>"
}
},
"StreamCreationTimestamp": {
"target": "com.amazonaws.kinesis#Timestamp",
"traits": {
"smithy.api#documentation": "<p>Specify this input parameter to distinguish data streams that have the same name. For\n example, if you create a data stream and then delete it, and you later create another\n data stream with the same name, you can use this input parameter to specify which of the\n two streams you want to list the consumers for. </p>\n <p>You can't specify this parameter if you specify the NextToken parameter. </p>"
}
}
}
},
"com.amazonaws.kinesis#ListStreamConsumersInputLimit": {
"type": "integer",
"traits": {
"smithy.api#box": {},
"smithy.api#range": {
"min": 1,
"max": 10000
}
}
},
"com.amazonaws.kinesis#ListStreamConsumersOutput": {
"type": "structure",
"members": {
"Consumers": {
"target": "com.amazonaws.kinesis#ConsumerList",
"traits": {
"smithy.api#documentation": "<p>An array of JSON objects. Each object represents one registered consumer.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.kinesis#NextToken",
"traits": {
"smithy.api#documentation": "<p>When the number of consumers that are registered with the data stream is greater than\n the default value for the <code>MaxResults</code> parameter, or if you explicitly\n specify a value for <code>MaxResults</code> that is less than the number of registered\n consumers, the response includes a pagination token named <code>NextToken</code>. You\n can specify this <code>NextToken</code> value in a subsequent call to\n <code>ListStreamConsumers</code> to list the next set of registered consumers. For\n more information about the use of this pagination token when calling the\n <code>ListStreamConsumers</code> operation, see <a>ListStreamConsumersInput$NextToken</a>.</p>\n <important>\n <p>Tokens expire after 300 seconds. When you obtain a value for\n <code>NextToken</code> in the response to a call to\n <code>ListStreamConsumers</code>, you have 300 seconds to use that value. If you\n specify an expired token in a call to <code>ListStreamConsumers</code>, you get\n <code>ExpiredNextTokenException</code>.</p>\n </important>"
}
}
}
},
"com.amazonaws.kinesis#ListStreams": {
"type": "operation",
"input": {
"target": "com.amazonaws.kinesis#ListStreamsInput"
},
"output": {
"target": "com.amazonaws.kinesis#ListStreamsOutput"
},
"errors": [
{
"target": "com.amazonaws.kinesis#LimitExceededException"
}
],
"traits": {
"smithy.api#documentation": "<p>Lists your Kinesis data streams.</p>\n <p>The number of streams may be too large to return from a single call to\n <code>ListStreams</code>. You can limit the number of returned streams using the\n <code>Limit</code> parameter. If you do not specify a value for the\n <code>Limit</code> parameter, Kinesis Data Streams uses the default limit, which is\n currently 10.</p>\n <p>You can detect if there are more streams available to list by using the\n <code>HasMoreStreams</code> flag from the returned output. If there are more streams\n available, you can request more streams by using the name of the last stream returned by\n the <code>ListStreams</code> request in the <code>ExclusiveStartStreamName</code>\n parameter in a subsequent request to <code>ListStreams</code>. The group of stream names\n returned by the subsequent request is then added to the list. You can continue this\n process until all the stream names have been collected in the list. </p>\n <p>\n <a>ListStreams</a> has a limit of five transactions per second per\n account.</p>"
}
},
"com.amazonaws.kinesis#ListStreamsInput": {
"type": "structure",
"members": {
"Limit": {
"target": "com.amazonaws.kinesis#ListStreamsInputLimit",
"traits": {
"smithy.api#documentation": "<p>The maximum number of streams to list.</p>"
}
},
"ExclusiveStartStreamName": {
"target": "com.amazonaws.kinesis#StreamName",
"traits": {
"smithy.api#documentation": "<p>The name of the stream to start the list with.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the input for <code>ListStreams</code>.</p>"
}
},
"com.amazonaws.kinesis#ListStreamsInputLimit": {
"type": "integer",
"traits": {
"smithy.api#box": {},
"smithy.api#range": {
"min": 1,
"max": 10000
}
}
},
"com.amazonaws.kinesis#ListStreamsOutput": {
"type": "structure",
"members": {
"StreamNames": {
"target": "com.amazonaws.kinesis#StreamNameList",
"traits": {
"smithy.api#documentation": "<p>The names of the streams that are associated with the AWS account making the\n <code>ListStreams</code> request.</p>",
"smithy.api#required": {}
}
},
"HasMoreStreams": {
"target": "com.amazonaws.kinesis#BooleanObject",
"traits": {
"smithy.api#documentation": "<p>If set to <code>true</code>, there are more streams available to list.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the output for <code>ListStreams</code>.</p>"
}
},
"com.amazonaws.kinesis#ListTagsForStream": {
"type": "operation",
"input": {
"target": "com.amazonaws.kinesis#ListTagsForStreamInput"
},
"output": {
"target": "com.amazonaws.kinesis#ListTagsForStreamOutput"
},
"errors": [
{
"target": "com.amazonaws.kinesis#InvalidArgumentException"
},
{
"target": "com.amazonaws.kinesis#LimitExceededException"
},
{
"target": "com.amazonaws.kinesis#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Lists the tags for the specified Kinesis data stream. This operation has a limit of\n five transactions per second per account.</p>"
}
},
"com.amazonaws.kinesis#ListTagsForStreamInput": {
"type": "structure",
"members": {
"StreamName": {
"target": "com.amazonaws.kinesis#StreamName",
"traits": {
"smithy.api#documentation": "<p>The name of the stream.</p>",
"smithy.api#required": {}
}
},
"ExclusiveStartTagKey": {
"target": "com.amazonaws.kinesis#TagKey",
"traits": {
"smithy.api#documentation": "<p>The key to use as the starting point for the list of tags. If this parameter is\n set, <code>ListTagsForStream</code> gets all tags that occur after\n <code>ExclusiveStartTagKey</code>. </p>"
}
},
"Limit": {
"target": "com.amazonaws.kinesis#ListTagsForStreamInputLimit",
"traits": {
"smithy.api#documentation": "<p>The number of tags to return. If this number is less than the total number of tags\n associated with the stream, <code>HasMoreTags</code> is set to <code>true</code>. To\n list additional tags, set <code>ExclusiveStartTagKey</code> to the last key in the\n response.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the input for <code>ListTagsForStream</code>.</p>"
}
},
"com.amazonaws.kinesis#ListTagsForStreamInputLimit": {
"type": "integer",
"traits": {
"smithy.api#box": {},
"smithy.api#range": {
"min": 1,
"max": 50
}
}
},
"com.amazonaws.kinesis#ListTagsForStreamOutput": {
"type": "structure",
"members": {
"Tags": {
"target": "com.amazonaws.kinesis#TagList",
"traits": {
"smithy.api#documentation": "<p>A list of tags associated with <code>StreamName</code>, starting with the first tag\n after <code>ExclusiveStartTagKey</code> and up to the specified <code>Limit</code>.\n </p>",
"smithy.api#required": {}
}
},
"HasMoreTags": {
"target": "com.amazonaws.kinesis#BooleanObject",
"traits": {
"smithy.api#documentation": "<p>If set to <code>true</code>, more tags are available. To request additional tags,\n set <code>ExclusiveStartTagKey</code> to the key of the last tag returned.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the output for <code>ListTagsForStream</code>.</p>"
}
},
"com.amazonaws.kinesis#MergeShards": {
"type": "operation",
"input": {
"target": "com.amazonaws.kinesis#MergeShardsInput"
},
"errors": [
{
"target": "com.amazonaws.kinesis#InvalidArgumentException"
},
{
"target": "com.amazonaws.kinesis#LimitExceededException"
},
{
"target": "com.amazonaws.kinesis#ResourceInUseException"
},
{
"target": "com.amazonaws.kinesis#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Merges two adjacent shards in a Kinesis data stream and combines them into a single\n shard to reduce the stream's capacity to ingest and transport data. Two shards are\n considered adjacent if the union of the hash key ranges for the two shards form a\n contiguous set with no gaps. For example, if you have two shards, one with a hash key\n range of 276...381 and the other with a hash key range of 382...454, then you could\n merge these two shards into a single shard that would have a hash key range of\n 276...454. After the merge, the single child shard receives data for all hash key values\n covered by the two parent shards.</p>\n <p>\n <code>MergeShards</code> is called when there is a need to reduce the overall capacity\n of a stream because of excess capacity that is not being used. You must specify the\n shard to be merged and the adjacent shard for a stream. For more information about\n merging shards, see <a href=\"https://docs.aws.amazon.com/kinesis/latest/dev/kinesis-using-sdk-java-resharding-merge.html\">Merge Two\n Shards</a> in the <i>Amazon Kinesis Data Streams Developer\n Guide</i>.</p>\n <p>If the stream is in the <code>ACTIVE</code> state, you can call\n <code>MergeShards</code>. If a stream is in the <code>CREATING</code>,\n <code>UPDATING</code>, or <code>DELETING</code> state, <code>MergeShards</code>\n returns a <code>ResourceInUseException</code>. If the specified stream does not exist,\n <code>MergeShards</code> returns a <code>ResourceNotFoundException</code>. </p>\n <p>You can use <a>DescribeStream</a> to check the state of the stream,\n which is returned in <code>StreamStatus</code>.</p>\n <p>\n <code>MergeShards</code> is an asynchronous operation. Upon receiving a\n <code>MergeShards</code> request, Amazon Kinesis Data Streams immediately returns a\n response and sets the <code>StreamStatus</code> to <code>UPDATING</code>. After the\n operation is completed, Kinesis Data Streams sets the <code>StreamStatus</code> to\n <code>ACTIVE</code>. Read and write operations continue to work while the stream is\n in the <code>UPDATING</code> state. </p>\n <p>You use <a>DescribeStream</a> to determine the shard IDs that are\n specified in the <code>MergeShards</code> request. </p>\n <p>If you try to operate on too many streams in parallel using <a>CreateStream</a>, <a>DeleteStream</a>, <code>MergeShards</code>,\n or <a>SplitShard</a>, you receive a <code>LimitExceededException</code>. </p>\n <p>\n <code>MergeShards</code> has a limit of five transactions per second per\n account.</p>"
}
},
"com.amazonaws.kinesis#MergeShardsInput": {
"type": "structure",
"members": {
"StreamName": {
"target": "com.amazonaws.kinesis#StreamName",
"traits": {
"smithy.api#documentation": "<p>The name of the stream for the merge.</p>",
"smithy.api#required": {}
}
},
"ShardToMerge": {
"target": "com.amazonaws.kinesis#ShardId",
"traits": {
"smithy.api#documentation": "<p>The shard ID of the shard to combine with the adjacent shard for the\n merge.</p>",
"smithy.api#required": {}
}
},
"AdjacentShardToMerge": {
"target": "com.amazonaws.kinesis#ShardId",
"traits": {
"smithy.api#documentation": "<p>The shard ID of the adjacent shard for the merge.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the input for <code>MergeShards</code>.</p>"
}
},
"com.amazonaws.kinesis#MetricsName": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "IncomingBytes",
"name": "INCOMING_BYTES"
},
{
"value": "IncomingRecords",
"name": "INCOMING_RECORDS"
},
{
"value": "OutgoingBytes",
"name": "OUTGOING_BYTES"
},
{
"value": "OutgoingRecords",
"name": "OUTGOING_RECORDS"
},
{
"value": "WriteProvisionedThroughputExceeded",
"name": "WRITE_PROVISIONED_THROUGHPUT_EXCEEDED"
},
{
"value": "ReadProvisionedThroughputExceeded",
"name": "READ_PROVISIONED_THROUGHPUT_EXCEEDED"
},
{
"value": "IteratorAgeMilliseconds",
"name": "ITERATOR_AGE_MILLISECONDS"
},
{
"value": "ALL",
"name": "ALL"
}
]
}
},
"com.amazonaws.kinesis#MetricsNameList": {
"type": "list",
"member": {
"target": "com.amazonaws.kinesis#MetricsName"
},
"traits": {
"smithy.api#length": {
"min": 1,
"max": 7
}
}
},
"com.amazonaws.kinesis#MillisBehindLatest": {
"type": "long",
"traits": {
"smithy.api#box": {},
"smithy.api#range": {
"min": 0
}
}
},
"com.amazonaws.kinesis#NextToken": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 1048576
}
}
},
"com.amazonaws.kinesis#PartitionKey": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 256
}
}
},
"com.amazonaws.kinesis#PositiveIntegerObject": {
"type": "integer",
"traits": {
"smithy.api#box": {},
"smithy.api#range": {
"min": 1
}
}
},
"com.amazonaws.kinesis#ProvisionedThroughputExceededException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.kinesis#ErrorMessage",
"traits": {
"smithy.api#documentation": "<p>A message that provides information about the error.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The request rate for the stream is too high, or the requested data is too large for\n the available throughput. Reduce the frequency or size of your requests. For more\n information, see <a href=\"https://docs.aws.amazon.com/kinesis/latest/dev/service-sizes-and-limits.html\">Streams Limits</a> in the\n <i>Amazon Kinesis Data Streams Developer Guide</i>, and <a href=\"https://docs.aws.amazon.com/general/latest/gr/api-retries.html\">Error Retries and\n Exponential Backoff in AWS</a> in the <i>AWS General\n Reference</i>.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.kinesis#PutRecord": {
"type": "operation",
"input": {
"target": "com.amazonaws.kinesis#PutRecordInput"
},
"output": {
"target": "com.amazonaws.kinesis#PutRecordOutput"
},
"errors": [
{
"target": "com.amazonaws.kinesis#InvalidArgumentException"
},
{
"target": "com.amazonaws.kinesis#KMSAccessDeniedException"
},
{
"target": "com.amazonaws.kinesis#KMSDisabledException"
},
{
"target": "com.amazonaws.kinesis#KMSInvalidStateException"
},
{
"target": "com.amazonaws.kinesis#KMSNotFoundException"
},
{
"target": "com.amazonaws.kinesis#KMSOptInRequired"
},
{
"target": "com.amazonaws.kinesis#KMSThrottlingException"
},
{
"target": "com.amazonaws.kinesis#ProvisionedThroughputExceededException"
},
{
"target": "com.amazonaws.kinesis#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Writes a single data record into an Amazon Kinesis data stream. Call\n <code>PutRecord</code> to send data into the stream for real-time ingestion and\n subsequent processing, one record at a time. Each shard can support writes up to 1,000\n records per second, up to a maximum data write total of 1 MiB per second.</p>\n <p>You must specify the name of the stream that captures, stores, and transports the\n data; a partition key; and the data blob itself.</p>\n <p>The data blob can be any type of data; for example, a segment from a log file,\n geographic/location data, website clickstream data, and so on.</p>\n <p>The partition key is used by Kinesis Data Streams to distribute data across shards.\n Kinesis Data Streams segregates the data records that belong to a stream into multiple\n shards, using the partition key associated with each data record to determine the shard\n to which a given data record belongs.</p>\n <p>Partition keys are Unicode strings, with a maximum length limit of 256 characters\n for each key. An MD5 hash function is used to map partition keys to 128-bit integer\n values and to map associated data records to shards using the hash key ranges of the\n shards. You can override hashing the partition key to determine the shard by explicitly\n specifying a hash value using the <code>ExplicitHashKey</code> parameter. For more\n information, see <a href=\"https://docs.aws.amazon.com/kinesis/latest/dev/developing-producers-with-sdk.html#kinesis-using-sdk-java-add-data-to-stream\">Adding Data to a Stream</a> in the <i>Amazon Kinesis Data Streams\n Developer Guide</i>.</p>\n <p>\n <code>PutRecord</code> returns the shard ID of where the data record was placed and the\n sequence number that was assigned to the data record.</p>\n <p>Sequence numbers increase over time and are specific to a shard within a stream,\n not across all shards within a stream. To guarantee strictly increasing ordering, write\n serially to a shard and use the <code>SequenceNumberForOrdering</code> parameter. For\n more information, see <a href=\"https://docs.aws.amazon.com/kinesis/latest/dev/developing-producers-with-sdk.html#kinesis-using-sdk-java-add-data-to-stream\">Adding Data to a Stream</a> in the <i>Amazon Kinesis Data Streams\n Developer Guide</i>.</p>\n <important>\n <p>After you write a record to a stream, you cannot modify that record or its order\n within the stream.</p>\n </important>\n <p>If a <code>PutRecord</code> request cannot be processed because of insufficient\n provisioned throughput on the shard involved in the request, <code>PutRecord</code>\n throws <code>ProvisionedThroughputExceededException</code>. </p>\n <p>By default, data records are accessible for 24 hours from the time that they are\n added to a stream. You can use <a>IncreaseStreamRetentionPeriod</a> or <a>DecreaseStreamRetentionPeriod</a> to modify this retention period.</p>"
}
},
"com.amazonaws.kinesis#PutRecordInput": {
"type": "structure",
"members": {
"StreamName": {
"target": "com.amazonaws.kinesis#StreamName",
"traits": {
"smithy.api#documentation": "<p>The name of the stream to put the data record into.</p>",
"smithy.api#required": {}
}
},
"Data": {
"target": "com.amazonaws.kinesis#Data",
"traits": {
"smithy.api#documentation": "<p>The data blob to put into the record, which is base64-encoded when the blob is\n serialized. When the data blob (the payload before base64-encoding) is added to the\n partition key size, the total size must not exceed the maximum record size (1\n MiB).</p>",
"smithy.api#required": {}
}
},
"PartitionKey": {
"target": "com.amazonaws.kinesis#PartitionKey",
"traits": {
"smithy.api#documentation": "<p>Determines which shard in the stream the data record is assigned to. Partition keys\n are Unicode strings with a maximum length limit of 256 characters for each key. Amazon\n Kinesis Data Streams uses the partition key as input to a hash function that maps the\n partition key and associated data to a specific shard. Specifically, an MD5 hash\n function is used to map partition keys to 128-bit integer values and to map associated\n data records to shards. As a result of this hashing mechanism, all data records with the\n same partition key map to the same shard within the stream.</p>",
"smithy.api#required": {}
}
},
"ExplicitHashKey": {
"target": "com.amazonaws.kinesis#HashKey",
"traits": {
"smithy.api#documentation": "<p>The hash value used to explicitly determine the shard the data record is assigned\n to by overriding the partition key hash.</p>"
}
},
"SequenceNumberForOrdering": {
"target": "com.amazonaws.kinesis#SequenceNumber",
"traits": {
"smithy.api#documentation": "<p>Guarantees strictly increasing sequence numbers, for puts from the same client and\n to the same partition key. Usage: set the <code>SequenceNumberForOrdering</code> of\n record <i>n</i> to the sequence number of record <i>n-1</i>\n (as returned in the result when putting record <i>n-1</i>). If this\n parameter is not set, records are coarsely ordered based on arrival time.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the input for <code>PutRecord</code>.</p>"
}
},
"com.amazonaws.kinesis#PutRecordOutput": {
"type": "structure",
"members": {
"ShardId": {
"target": "com.amazonaws.kinesis#ShardId",
"traits": {
"smithy.api#documentation": "<p>The shard ID of the shard where the data record was placed.</p>",
"smithy.api#required": {}
}
},
"SequenceNumber": {
"target": "com.amazonaws.kinesis#SequenceNumber",
"traits": {
"smithy.api#documentation": "<p>The sequence number identifier that was assigned to the put data record. The\n sequence number for the record is unique across all records in the stream. A sequence\n number is the identifier associated with every record put into the stream.</p>",
"smithy.api#required": {}
}
},
"EncryptionType": {
"target": "com.amazonaws.kinesis#EncryptionType",
"traits": {
"smithy.api#documentation": "<p>The encryption type to use on the record. This parameter can be one of the\n following values:</p>\n <ul>\n <li>\n <p>\n <code>NONE</code>: Do not encrypt the records in the stream.</p>\n </li>\n <li>\n <p>\n <code>KMS</code>: Use server-side encryption on the records in the stream\n using a customer-managed AWS KMS key.</p>\n </li>\n </ul>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the output for <code>PutRecord</code>.</p>"
}
},
"com.amazonaws.kinesis#PutRecords": {
"type": "operation",
"input": {
"target": "com.amazonaws.kinesis#PutRecordsInput"
},
"output": {
"target": "com.amazonaws.kinesis#PutRecordsOutput"
},
"errors": [
{
"target": "com.amazonaws.kinesis#InvalidArgumentException"
},
{
"target": "com.amazonaws.kinesis#KMSAccessDeniedException"
},
{
"target": "com.amazonaws.kinesis#KMSDisabledException"
},
{
"target": "com.amazonaws.kinesis#KMSInvalidStateException"
},
{
"target": "com.amazonaws.kinesis#KMSNotFoundException"
},
{
"target": "com.amazonaws.kinesis#KMSOptInRequired"
},
{
"target": "com.amazonaws.kinesis#KMSThrottlingException"
},
{
"target": "com.amazonaws.kinesis#ProvisionedThroughputExceededException"
},
{
"target": "com.amazonaws.kinesis#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Writes multiple data records into a Kinesis data stream in a single call (also\n referred to as a <code>PutRecords</code> request). Use this operation to send data into\n the stream for data ingestion and processing. </p>\n <p>Each <code>PutRecords</code> request can support up to 500 records. Each record in\n the request can be as large as 1 MiB, up to a limit of 5 MiB for the entire request,\n including partition keys. Each shard can support writes up to 1,000 records per second,\n up to a maximum data write total of 1 MiB per second.</p>\n <p>You must specify the name of the stream that captures, stores, and transports the\n data; and an array of request <code>Records</code>, with each record in the array\n requiring a partition key and data blob. The record size limit applies to the total size\n of the partition key and data blob.</p>\n <p>The data blob can be any type of data; for example, a segment from a log file,\n geographic/location data, website clickstream data, and so on.</p>\n <p>The partition key is used by Kinesis Data Streams as input to a hash function that\n maps the partition key and associated data to a specific shard. An MD5 hash function is\n used to map partition keys to 128-bit integer values and to map associated data records\n to shards. As a result of this hashing mechanism, all data records with the same\n partition key map to the same shard within the stream. For more information, see <a href=\"https://docs.aws.amazon.com/kinesis/latest/dev/developing-producers-with-sdk.html#kinesis-using-sdk-java-add-data-to-stream\">Adding Data to a Stream</a> in the <i>Amazon Kinesis Data Streams\n Developer Guide</i>.</p>\n <p>Each record in the <code>Records</code> array may include an optional parameter,\n <code>ExplicitHashKey</code>, which overrides the partition key to shard mapping.\n This parameter allows a data producer to determine explicitly the shard where the record\n is stored. For more information, see <a href=\"https://docs.aws.amazon.com/kinesis/latest/dev/developing-producers-with-sdk.html#kinesis-using-sdk-java-putrecords\">Adding Multiple Records with PutRecords</a> in the <i>Amazon Kinesis\n Data Streams Developer Guide</i>.</p>\n <p>The <code>PutRecords</code> response includes an array of response\n <code>Records</code>. Each record in the response array directly correlates with a\n record in the request array using natural ordering, from the top to the bottom of the\n request and response. The response <code>Records</code> array always includes the same\n number of records as the request array.</p>\n <p>The response <code>Records</code> array includes both successfully and\n unsuccessfully processed records. Kinesis Data Streams attempts to process all records\n in each <code>PutRecords</code> request. A single record failure does not stop the\n processing of subsequent records. As a result, PutRecords doesn't guarantee the ordering\n of records. If you need to read records in the same order they are written to the\n stream, use <a>PutRecord</a> instead of <code>PutRecords</code>, and write to\n the same shard.</p>\n <p>A successfully processed record includes <code>ShardId</code> and\n <code>SequenceNumber</code> values. The <code>ShardId</code> parameter identifies\n the shard in the stream where the record is stored. The <code>SequenceNumber</code>\n parameter is an identifier assigned to the put record, unique to all records in the\n stream.</p>\n <p>An unsuccessfully processed record includes <code>ErrorCode</code> and\n <code>ErrorMessage</code> values. <code>ErrorCode</code> reflects t
}
},
"com.amazonaws.kinesis#PutRecordsInput": {
"type": "structure",
"members": {
"Records": {
"target": "com.amazonaws.kinesis#PutRecordsRequestEntryList",
"traits": {
"smithy.api#documentation": "<p>The records associated with the request.</p>",
"smithy.api#required": {}
}
},
"StreamName": {
"target": "com.amazonaws.kinesis#StreamName",
"traits": {
"smithy.api#documentation": "<p>The stream name associated with the request.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>A <code>PutRecords</code> request.</p>"
}
},
"com.amazonaws.kinesis#PutRecordsOutput": {
"type": "structure",
"members": {
"FailedRecordCount": {
"target": "com.amazonaws.kinesis#PositiveIntegerObject",
"traits": {
"smithy.api#documentation": "<p>The number of unsuccessfully processed records in a <code>PutRecords</code>\n request.</p>"
}
},
"Records": {
"target": "com.amazonaws.kinesis#PutRecordsResultEntryList",
"traits": {
"smithy.api#documentation": "<p>An array of successfully and unsuccessfully processed record results, correlated\n with the request by natural ordering. A record that is successfully added to a stream\n includes <code>SequenceNumber</code> and <code>ShardId</code> in the result. A record\n that fails to be added to a stream includes <code>ErrorCode</code> and\n <code>ErrorMessage</code> in the result.</p>",
"smithy.api#required": {}
}
},
"EncryptionType": {
"target": "com.amazonaws.kinesis#EncryptionType",
"traits": {
"smithy.api#documentation": "<p>The encryption type used on the records. This parameter can be one of the following\n values:</p>\n <ul>\n <li>\n <p>\n <code>NONE</code>: Do not encrypt the records.</p>\n </li>\n <li>\n <p>\n <code>KMS</code>: Use server-side encryption on the records using a\n customer-managed AWS KMS key.</p>\n </li>\n </ul>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>\n <code>PutRecords</code> results.</p>"
}
},
"com.amazonaws.kinesis#PutRecordsRequestEntry": {
"type": "structure",
"members": {
"Data": {
"target": "com.amazonaws.kinesis#Data",
"traits": {
"smithy.api#documentation": "<p>The data blob to put into the record, which is base64-encoded when the blob is\n serialized. When the data blob (the payload before base64-encoding) is added to the\n partition key size, the total size must not exceed the maximum record size (1\n MiB).</p>",
"smithy.api#required": {}
}
},
"ExplicitHashKey": {
"target": "com.amazonaws.kinesis#HashKey",
"traits": {
"smithy.api#documentation": "<p>The hash value used to determine explicitly the shard that the data record is\n assigned to by overriding the partition key hash.</p>"
}
},
"PartitionKey": {
"target": "com.amazonaws.kinesis#PartitionKey",
"traits": {
"smithy.api#documentation": "<p>Determines which shard in the stream the data record is assigned to. Partition keys\n are Unicode strings with a maximum length limit of 256 characters for each key. Amazon\n Kinesis Data Streams uses the partition key as input to a hash function that maps the\n partition key and associated data to a specific shard. Specifically, an MD5 hash\n function is used to map partition keys to 128-bit integer values and to map associated\n data records to shards. As a result of this hashing mechanism, all data records with the\n same partition key map to the same shard within the stream.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the output for <code>PutRecords</code>.</p>"
}
},
"com.amazonaws.kinesis#PutRecordsRequestEntryList": {
"type": "list",
"member": {
"target": "com.amazonaws.kinesis#PutRecordsRequestEntry"
},
"traits": {
"smithy.api#length": {
"min": 1,
"max": 500
}
}
},
"com.amazonaws.kinesis#PutRecordsResultEntry": {
"type": "structure",
"members": {
"SequenceNumber": {
"target": "com.amazonaws.kinesis#SequenceNumber",
"traits": {
"smithy.api#documentation": "<p>The sequence number for an individual record result.</p>"
}
},
"ShardId": {
"target": "com.amazonaws.kinesis#ShardId",
"traits": {
"smithy.api#documentation": "<p>The shard ID for an individual record result.</p>"
}
},
"ErrorCode": {
"target": "com.amazonaws.kinesis#ErrorCode",
"traits": {
"smithy.api#documentation": "<p>The error code for an individual record result. <code>ErrorCodes</code> can be\n either <code>ProvisionedThroughputExceededException</code> or\n <code>InternalFailure</code>.</p>"
}
},
"ErrorMessage": {
"target": "com.amazonaws.kinesis#ErrorMessage",
"traits": {
"smithy.api#documentation": "<p>The error message for an individual record result. An <code>ErrorCode</code> value\n of <code>ProvisionedThroughputExceededException</code> has an error message that\n includes the account ID, stream name, and shard ID. An <code>ErrorCode</code> value of\n <code>InternalFailure</code> has the error message <code>\"Internal Service\n Failure\"</code>.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the result of an individual record from a <code>PutRecords</code>\n request. A record that is successfully added to a stream includes\n <code>SequenceNumber</code> and <code>ShardId</code> in the result. A record that\n fails to be added to the stream includes <code>ErrorCode</code> and\n <code>ErrorMessage</code> in the result.</p>"
}
},
"com.amazonaws.kinesis#PutRecordsResultEntryList": {
"type": "list",
"member": {
"target": "com.amazonaws.kinesis#PutRecordsResultEntry"
},
"traits": {
"smithy.api#length": {
"min": 1,
"max": 500
}
}
},
"com.amazonaws.kinesis#Record": {
"type": "structure",
"members": {
"SequenceNumber": {
"target": "com.amazonaws.kinesis#SequenceNumber",
"traits": {
"smithy.api#documentation": "<p>The unique identifier of the record within its shard.</p>",
"smithy.api#required": {}
}
},
"ApproximateArrivalTimestamp": {
"target": "com.amazonaws.kinesis#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The approximate time that the record was inserted into the stream.</p>"
}
},
"Data": {
"target": "com.amazonaws.kinesis#Data",
"traits": {
"smithy.api#documentation": "<p>The data blob. The data in the blob is both opaque and immutable to Kinesis Data\n Streams, which does not inspect, interpret, or change the data in the blob in any way.\n When the data blob (the payload before base64-encoding) is added to the partition key\n size, the total size must not exceed the maximum record size (1 MiB).</p>",
"smithy.api#required": {}
}
},
"PartitionKey": {
"target": "com.amazonaws.kinesis#PartitionKey",
"traits": {
"smithy.api#documentation": "<p>Identifies which shard in the stream the data record is assigned to.</p>",
"smithy.api#required": {}
}
},
"EncryptionType": {
"target": "com.amazonaws.kinesis#EncryptionType",
"traits": {
"smithy.api#documentation": "<p>The encryption type used on the record. This parameter can be one of the following\n values:</p>\n <ul>\n <li>\n <p>\n <code>NONE</code>: Do not encrypt the records in the stream.</p>\n </li>\n <li>\n <p>\n <code>KMS</code>: Use server-side encryption on the records in the stream\n using a customer-managed AWS KMS key.</p>\n </li>\n </ul>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The unit of data of the Kinesis data stream, which is composed of a sequence\n number, a partition key, and a data blob.</p>"
}
},
"com.amazonaws.kinesis#RecordList": {
"type": "list",
"member": {
"target": "com.amazonaws.kinesis#Record"
}
},
"com.amazonaws.kinesis#RegisterStreamConsumer": {
"type": "operation",
"input": {
"target": "com.amazonaws.kinesis#RegisterStreamConsumerInput"
},
"output": {
"target": "com.amazonaws.kinesis#RegisterStreamConsumerOutput"
},
"errors": [
{
"target": "com.amazonaws.kinesis#InvalidArgumentException"
},
{
"target": "com.amazonaws.kinesis#LimitExceededException"
},
{
"target": "com.amazonaws.kinesis#ResourceInUseException"
},
{
"target": "com.amazonaws.kinesis#ResourceNotFoundException"
}
],
"traits": {
"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>"
}
},
"com.amazonaws.kinesis#RegisterStreamConsumerInput": {
"type": "structure",
"members": {
"StreamARN": {
"target": "com.amazonaws.kinesis#StreamARN",
"traits": {
"smithy.api#documentation": "<p>The ARN of the Kinesis data stream that you want to register the consumer with. For\n more info, see <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-kinesis-streams\">Amazon Resource Names (ARNs) and AWS Service Namespaces</a>.</p>",
"smithy.api#required": {}
}
},
"ConsumerName": {
"target": "com.amazonaws.kinesis#ConsumerName",
"traits": {
"smithy.api#documentation": "<p>For a given Kinesis data stream, each consumer must have a unique name. However,\n consumer names don't have to be unique across data streams.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.kinesis#RegisterStreamConsumerOutput": {
"type": "structure",
"members": {
"Consumer": {
"target": "com.amazonaws.kinesis#Consumer",
"traits": {
"smithy.api#documentation": "<p>An object that represents the details of the consumer you registered. When you\n register a consumer, it gets an ARN that is generated by Kinesis Data Streams.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.kinesis#RemoveTagsFromStream": {
"type": "operation",
"input": {
"target": "com.amazonaws.kinesis#RemoveTagsFromStreamInput"
},
"errors": [
{
"target": "com.amazonaws.kinesis#InvalidArgumentException"
},
{
"target": "com.amazonaws.kinesis#LimitExceededException"
},
{
"target": "com.amazonaws.kinesis#ResourceInUseException"
},
{
"target": "com.amazonaws.kinesis#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Removes tags from the specified Kinesis data stream. Removed tags are deleted and\n cannot be recovered after this operation successfully completes.</p>\n <p>If you specify a tag that does not exist, it is ignored.</p>\n <p>\n <a>RemoveTagsFromStream</a> has a limit of five transactions per second per\n account.</p>"
}
},
"com.amazonaws.kinesis#RemoveTagsFromStreamInput": {
"type": "structure",
"members": {
"StreamName": {
"target": "com.amazonaws.kinesis#StreamName",
"traits": {
"smithy.api#documentation": "<p>The name of the stream.</p>",
"smithy.api#required": {}
}
},
"TagKeys": {
"target": "com.amazonaws.kinesis#TagKeyList",
"traits": {
"smithy.api#documentation": "<p>A list of tag keys. Each corresponding tag is removed from the stream.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the input for <code>RemoveTagsFromStream</code>.</p>"
}
},
"com.amazonaws.kinesis#ResourceInUseException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.kinesis#ErrorMessage",
"traits": {
"smithy.api#documentation": "<p>A message that provides information about the error.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The resource is not available for this operation. For successful operation, the\n resource must be in the <code>ACTIVE</code> state.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.kinesis#ResourceNotFoundException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.kinesis#ErrorMessage",
"traits": {
"smithy.api#documentation": "<p>A message that provides information about the error.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The requested resource could not be found. The stream might not be specified\n correctly.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.kinesis#RetentionPeriodHours": {
"type": "integer",
"traits": {
"smithy.api#box": {}
}
},
"com.amazonaws.kinesis#ScalingType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "UNIFORM_SCALING",
"name": "UNIFORM_SCALING"
}
]
}
},
"com.amazonaws.kinesis#SequenceNumber": {
"type": "string",
"traits": {
"smithy.api#pattern": "0|([1-9]\\d{0,128})"
}
},
"com.amazonaws.kinesis#SequenceNumberRange": {
"type": "structure",
"members": {
"StartingSequenceNumber": {
"target": "com.amazonaws.kinesis#SequenceNumber",
"traits": {
"smithy.api#documentation": "<p>The starting sequence number for the range.</p>",
"smithy.api#required": {}
}
},
"EndingSequenceNumber": {
"target": "com.amazonaws.kinesis#SequenceNumber",
"traits": {
"smithy.api#documentation": "<p>The ending sequence number for the range. Shards that are in the OPEN state have an\n ending sequence number of <code>null</code>.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The range of possible sequence numbers for the shard.</p>"
}
},
"com.amazonaws.kinesis#Shard": {
"type": "structure",
"members": {
"ShardId": {
"target": "com.amazonaws.kinesis#ShardId",
"traits": {
"smithy.api#documentation": "<p>The unique identifier of the shard within the stream.</p>",
"smithy.api#required": {}
}
},
"ParentShardId": {
"target": "com.amazonaws.kinesis#ShardId",
"traits": {
"smithy.api#documentation": "<p>The shard ID of the shard's parent.</p>"
}
},
"AdjacentParentShardId": {
"target": "com.amazonaws.kinesis#ShardId",
"traits": {
"smithy.api#documentation": "<p>The shard ID of the shard adjacent to the shard's parent.</p>"
}
},
"HashKeyRange": {
"target": "com.amazonaws.kinesis#HashKeyRange",
"traits": {
"smithy.api#documentation": "<p>The range of possible hash key values for the shard, which is a set of ordered\n contiguous positive integers.</p>",
"smithy.api#required": {}
}
},
"SequenceNumberRange": {
"target": "com.amazonaws.kinesis#SequenceNumberRange",
"traits": {
"smithy.api#documentation": "<p>The range of possible sequence numbers for the shard.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>A uniquely identified group of data records in a Kinesis data stream.</p>"
}
},
"com.amazonaws.kinesis#ShardCountObject": {
"type": "integer",
"traits": {
"smithy.api#box": {},
"smithy.api#range": {
"min": 0,
"max": 1000000
}
}
},
"com.amazonaws.kinesis#ShardFilter": {
"type": "structure",
"members": {
"Type": {
"target": "com.amazonaws.kinesis#ShardFilterType",
"traits": {
"smithy.api#required": {}
}
},
"ShardId": {
"target": "com.amazonaws.kinesis#ShardId"
},
"Timestamp": {
"target": "com.amazonaws.kinesis#Timestamp"
}
}
},
"com.amazonaws.kinesis#ShardFilterType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "AFTER_SHARD_ID",
"name": "AFTER_SHARD_ID"
},
{
"value": "AT_TRIM_HORIZON",
"name": "AT_TRIM_HORIZON"
},
{
"value": "FROM_TRIM_HORIZON",
"name": "FROM_TRIM_HORIZON"
},
{
"value": "AT_LATEST",
"name": "AT_LATEST"
},
{
"value": "AT_TIMESTAMP",
"name": "AT_TIMESTAMP"
},
{
"value": "FROM_TIMESTAMP",
"name": "FROM_TIMESTAMP"
}
]
}
},
"com.amazonaws.kinesis#ShardId": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 128
},
"smithy.api#pattern": "[a-zA-Z0-9_.-]+"
}
},
"com.amazonaws.kinesis#ShardIdList": {
"type": "list",
"member": {
"target": "com.amazonaws.kinesis#ShardId"
}
},
"com.amazonaws.kinesis#ShardIterator": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 512
}
}
},
"com.amazonaws.kinesis#ShardIteratorType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "AT_SEQUENCE_NUMBER",
"name": "AT_SEQUENCE_NUMBER"
},
{
"value": "AFTER_SEQUENCE_NUMBER",
"name": "AFTER_SEQUENCE_NUMBER"
},
{
"value": "TRIM_HORIZON",
"name": "TRIM_HORIZON"
},
{
"value": "LATEST",
"name": "LATEST"
},
{
"value": "AT_TIMESTAMP",
"name": "AT_TIMESTAMP"
}
]
}
},
"com.amazonaws.kinesis#ShardList": {
"type": "list",
"member": {
"target": "com.amazonaws.kinesis#Shard"
}
},
"com.amazonaws.kinesis#SplitShard": {
"type": "operation",
"input": {
"target": "com.amazonaws.kinesis#SplitShardInput"
},
"errors": [
{
"target": "com.amazonaws.kinesis#InvalidArgumentException"
},
{
"target": "com.amazonaws.kinesis#LimitExceededException"
},
{
"target": "com.amazonaws.kinesis#ResourceInUseException"
},
{
"target": "com.amazonaws.kinesis#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Splits a shard into two new shards in the Kinesis data stream, to increase the\n stream's capacity to ingest and transport data. <code>SplitShard</code> is called when\n there is a need to increase the overall capacity of a stream because of an expected\n increase in the volume of data records being ingested. </p>\n <p>You can also use <code>SplitShard</code> when a shard appears to be approaching its\n maximum utilization; for example, the producers sending data into the specific shard are\n suddenly sending more than previously anticipated. You can also call\n <code>SplitShard</code> to increase stream capacity, so that more Kinesis Data\n Streams applications can simultaneously read data from the stream for real-time\n processing. </p>\n <p>You must specify the shard to be split and the new hash key, which is the position\n in the shard where the shard gets split in two. In many cases, the new hash key might be\n the average of the beginning and ending hash key, but it can be any hash key value in\n the range being mapped into the shard. For more information, see <a href=\"https://docs.aws.amazon.com/kinesis/latest/dev/kinesis-using-sdk-java-resharding-split.html\">Split a\n Shard</a> in the <i>Amazon Kinesis Data Streams Developer\n Guide</i>.</p>\n <p>You can use <a>DescribeStream</a> to determine the shard ID and hash key\n values for the <code>ShardToSplit</code> and <code>NewStartingHashKey</code> parameters\n that are specified in the <code>SplitShard</code> request.</p>\n <p>\n <code>SplitShard</code> is an asynchronous operation. Upon receiving a\n <code>SplitShard</code> request, Kinesis Data Streams immediately returns a response\n and sets the stream status to <code>UPDATING</code>. After the operation is completed,\n Kinesis Data Streams sets the stream status to <code>ACTIVE</code>. Read and write\n operations continue to work while the stream is in the <code>UPDATING</code> state. </p>\n <p>You can use <code>DescribeStream</code> to check the status of the stream, which is\n returned in <code>StreamStatus</code>. If the stream is in the <code>ACTIVE</code>\n state, you can call <code>SplitShard</code>. If a stream is in <code>CREATING</code> or\n <code>UPDATING</code> or <code>DELETING</code> states, <code>DescribeStream</code>\n returns a <code>ResourceInUseException</code>.</p>\n <p>If the specified stream does not exist, <code>DescribeStream</code> returns a\n <code>ResourceNotFoundException</code>. If you try to create more shards than are\n authorized for your account, you receive a <code>LimitExceededException</code>. </p>\n <p>For the default shard limit for an AWS account, see <a href=\"https://docs.aws.amazon.com/kinesis/latest/dev/service-sizes-and-limits.html\">Kinesis Data Streams\n Limits</a> in the <i>Amazon Kinesis Data Streams Developer\n Guide</i>. To increase this limit, <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html\">contact AWS\n Support</a>.</p>\n <p>If you try to operate on too many streams simultaneously using <a>CreateStream</a>, <a>DeleteStream</a>, <a>MergeShards</a>, and/or <a>SplitShard</a>, you receive a\n <code>LimitExceededException</code>. </p>\n <p>\n <code>SplitShard</code> has a limit of five transactions per second per\n account.</p>"
}
},
"com.amazonaws.kinesis#SplitShardInput": {
"type": "structure",
"members": {
"StreamName": {
"target": "com.amazonaws.kinesis#StreamName",
"traits": {
"smithy.api#documentation": "<p>The name of the stream for the shard split.</p>",
"smithy.api#required": {}
}
},
"ShardToSplit": {
"target": "com.amazonaws.kinesis#ShardId",
"traits": {
"smithy.api#documentation": "<p>The shard ID of the shard to split.</p>",
"smithy.api#required": {}
}
},
"NewStartingHashKey": {
"target": "com.amazonaws.kinesis#HashKey",
"traits": {
"smithy.api#documentation": "<p>A hash key value for the starting hash key of one of the child shards created by\n the split. The hash key range for a given shard constitutes a set of ordered contiguous\n positive integers. The value for <code>NewStartingHashKey</code> must be in the range of\n hash keys being mapped into the shard. The <code>NewStartingHashKey</code> hash key\n value and all higher hash key values in hash key range are distributed to one of the\n child shards. All the lower hash key values in the range are distributed to the other\n child shard.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the input for <code>SplitShard</code>.</p>"
}
},
"com.amazonaws.kinesis#StartStreamEncryption": {
"type": "operation",
"input": {
"target": "com.amazonaws.kinesis#StartStreamEncryptionInput"
},
"errors": [
{
"target": "com.amazonaws.kinesis#InvalidArgumentException"
},
{
"target": "com.amazonaws.kinesis#KMSAccessDeniedException"
},
{
"target": "com.amazonaws.kinesis#KMSDisabledException"
},
{
"target": "com.amazonaws.kinesis#KMSInvalidStateException"
},
{
"target": "com.amazonaws.kinesis#KMSNotFoundException"
},
{
"target": "com.amazonaws.kinesis#KMSOptInRequired"
},
{
"target": "com.amazonaws.kinesis#KMSThrottlingException"
},
{
"target": "com.amazonaws.kinesis#LimitExceededException"
},
{
"target": "com.amazonaws.kinesis#ResourceInUseException"
},
{
"target": "com.amazonaws.kinesis#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Enables or updates server-side encryption using an AWS KMS key for a specified\n stream. </p>\n <p>Starting encryption is an asynchronous operation. Upon receiving the request,\n Kinesis Data Streams returns immediately and sets the status of the stream to\n <code>UPDATING</code>. After the update is complete, Kinesis Data Streams sets the\n status of the stream back to <code>ACTIVE</code>. Updating or applying encryption\n normally takes a few seconds to complete, but it can take minutes. You can continue to\n read and write data to your stream while its status is <code>UPDATING</code>. Once the\n status of the stream is <code>ACTIVE</code>, encryption begins for records written to\n the stream. </p>\n <p>API Limits: You can successfully apply a new AWS KMS key for server-side encryption\n 25 times in a rolling 24-hour period.</p>\n <p>Note: It can take up to 5 seconds after the stream is in an <code>ACTIVE</code>\n status before all records written to the stream are encrypted. After you enable\n encryption, you can verify that encryption is applied by inspecting the API response\n from <code>PutRecord</code> or <code>PutRecords</code>.</p>"
}
},
"com.amazonaws.kinesis#StartStreamEncryptionInput": {
"type": "structure",
"members": {
"StreamName": {
"target": "com.amazonaws.kinesis#StreamName",
"traits": {
"smithy.api#documentation": "<p>The name of the stream for which to start encrypting records.</p>",
"smithy.api#required": {}
}
},
"EncryptionType": {
"target": "com.amazonaws.kinesis#EncryptionType",
"traits": {
"smithy.api#documentation": "<p>The encryption type to use. The only valid value is <code>KMS</code>.</p>",
"smithy.api#required": {}
}
},
"KeyId": {
"target": "com.amazonaws.kinesis#KeyId",
"traits": {
"smithy.api#documentation": "<p>The GUID for the customer-managed AWS KMS key to use for encryption. This value can\n be a globally unique identifier, a fully specified Amazon Resource Name (ARN) to either\n an alias or a key, or an alias name prefixed by \"alias/\".You can also use a master key\n owned by Kinesis Data Streams by specifying the alias\n <code>aws/kinesis</code>.</p>\n <ul>\n <li>\n <p>Key ARN example:\n <code>arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012</code>\n </p>\n </li>\n <li>\n <p>Alias ARN example:\n <code>arn:aws:kms:us-east-1:123456789012:alias/MyAliasName</code>\n </p>\n </li>\n <li>\n <p>Globally unique key ID example:\n <code>12345678-1234-1234-1234-123456789012</code>\n </p>\n </li>\n <li>\n <p>Alias name example: <code>alias/MyAliasName</code>\n </p>\n </li>\n <li>\n <p>Master key owned by Kinesis Data Streams:\n <code>alias/aws/kinesis</code>\n </p>\n </li>\n </ul>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.kinesis#StartingPosition": {
"type": "structure",
"members": {
"Type": {
"target": "com.amazonaws.kinesis#ShardIteratorType",
"traits": {
"smithy.api#documentation": "<p>You can set the starting position to one of the following values:</p>\n <p>\n <code>AT_SEQUENCE_NUMBER</code>: Start streaming from the position denoted by the\n sequence number specified in the <code>SequenceNumber</code> field.</p>\n <p>\n <code>AFTER_SEQUENCE_NUMBER</code>: Start streaming right after the position denoted\n by the sequence number specified in the <code>SequenceNumber</code> field.</p>\n <p>\n <code>AT_TIMESTAMP</code>: Start streaming from the position denoted by the time stamp\n specified in the <code>Timestamp</code> field.</p>\n <p>\n <code>TRIM_HORIZON</code>: Start streaming at the last untrimmed record in the shard,\n which is the oldest data record in the shard.</p>\n <p>\n <code>LATEST</code>: Start streaming just after the most recent record in the shard,\n so that you always read the most recent data in the shard.</p>",
"smithy.api#required": {}
}
},
"SequenceNumber": {
"target": "com.amazonaws.kinesis#SequenceNumber",
"traits": {
"smithy.api#documentation": "<p>The sequence number of the data record in the shard from which to start streaming. To\n specify a sequence number, set <code>StartingPosition</code> to\n <code>AT_SEQUENCE_NUMBER</code> or <code>AFTER_SEQUENCE_NUMBER</code>.</p>"
}
},
"Timestamp": {
"target": "com.amazonaws.kinesis#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The time stamp of the data record from which to start reading. To specify a time\n stamp, set <code>StartingPosition</code> to <code>Type AT_TIMESTAMP</code>. A time stamp\n is the Unix epoch date with precision in milliseconds. For example,\n <code>2016-04-04T19:58:46.480-00:00</code> or <code>1459799926.480</code>. If a\n record with this exact time stamp does not exist, records will be streamed from the next\n (later) record. If the time stamp is older than the current trim horizon, records will\n be streamed from the oldest untrimmed data record (<code>TRIM_HORIZON</code>).</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p></p>"
}
},
"com.amazonaws.kinesis#StopStreamEncryption": {
"type": "operation",
"input": {
"target": "com.amazonaws.kinesis#StopStreamEncryptionInput"
},
"errors": [
{
"target": "com.amazonaws.kinesis#InvalidArgumentException"
},
{
"target": "com.amazonaws.kinesis#LimitExceededException"
},
{
"target": "com.amazonaws.kinesis#ResourceInUseException"
},
{
"target": "com.amazonaws.kinesis#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Disables server-side encryption for a specified stream. </p>\n <p>Stopping encryption is an asynchronous operation. Upon receiving the request,\n Kinesis Data Streams returns immediately and sets the status of the stream to\n <code>UPDATING</code>. After the update is complete, Kinesis Data Streams sets the\n status of the stream back to <code>ACTIVE</code>. Stopping encryption normally takes a\n few seconds to complete, but it can take minutes. You can continue to read and write\n data to your stream while its status is <code>UPDATING</code>. Once the status of the\n stream is <code>ACTIVE</code>, records written to the stream are no longer encrypted by\n Kinesis Data Streams. </p>\n <p>API Limits: You can successfully disable server-side encryption 25 times in a\n rolling 24-hour period. </p>\n <p>Note: It can take up to 5 seconds after the stream is in an <code>ACTIVE</code>\n status before all records written to the stream are no longer subject to encryption.\n After you disabled encryption, you can verify that encryption is not applied by\n inspecting the API response from <code>PutRecord</code> or\n <code>PutRecords</code>.</p>"
}
},
"com.amazonaws.kinesis#StopStreamEncryptionInput": {
"type": "structure",
"members": {
"StreamName": {
"target": "com.amazonaws.kinesis#StreamName",
"traits": {
"smithy.api#documentation": "<p>The name of the stream on which to stop encrypting records.</p>",
"smithy.api#required": {}
}
},
"EncryptionType": {
"target": "com.amazonaws.kinesis#EncryptionType",
"traits": {
"smithy.api#documentation": "<p>The encryption type. The only valid value is <code>KMS</code>.</p>",
"smithy.api#required": {}
}
},
"KeyId": {
"target": "com.amazonaws.kinesis#KeyId",
"traits": {
"smithy.api#documentation": "<p>The GUID for the customer-managed AWS KMS key to use for encryption. This value can\n be a globally unique identifier, a fully specified Amazon Resource Name (ARN) to either\n an alias or a key, or an alias name prefixed by \"alias/\".You can also use a master key\n owned by Kinesis Data Streams by specifying the alias\n <code>aws/kinesis</code>.</p>\n <ul>\n <li>\n <p>Key ARN example:\n <code>arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012</code>\n </p>\n </li>\n <li>\n <p>Alias ARN example:\n <code>arn:aws:kms:us-east-1:123456789012:alias/MyAliasName</code>\n </p>\n </li>\n <li>\n <p>Globally unique key ID example:\n <code>12345678-1234-1234-1234-123456789012</code>\n </p>\n </li>\n <li>\n <p>Alias name example: <code>alias/MyAliasName</code>\n </p>\n </li>\n <li>\n <p>Master key owned by Kinesis Data Streams:\n <code>alias/aws/kinesis</code>\n </p>\n </li>\n </ul>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.kinesis#StreamARN": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 2048
},
"smithy.api#pattern": "arn:aws.*:kinesis:.*:\\d{12}:stream/.+"
}
},
"com.amazonaws.kinesis#StreamDescription": {
"type": "structure",
"members": {
"StreamName": {
"target": "com.amazonaws.kinesis#StreamName",
"traits": {
"smithy.api#documentation": "<p>The name of the stream being described.</p>",
"smithy.api#required": {}
}
},
"StreamARN": {
"target": "com.amazonaws.kinesis#StreamARN",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) for the stream being described.</p>",
"smithy.api#required": {}
}
},
"StreamStatus": {
"target": "com.amazonaws.kinesis#StreamStatus",
"traits": {
"smithy.api#documentation": "<p>The current status of the stream being described. The stream status is one of the\n following states:</p>\n <ul>\n <li>\n <p>\n <code>CREATING</code> - The stream is being created. Kinesis Data Streams\n immediately returns and sets <code>StreamStatus</code> to\n <code>CREATING</code>.</p>\n </li>\n <li>\n <p>\n <code>DELETING</code> - The stream is being deleted. The specified stream is in\n the <code>DELETING</code> state until Kinesis Data Streams completes the\n deletion.</p>\n </li>\n <li>\n <p>\n <code>ACTIVE</code> - The stream exists and is ready for read and write\n operations or deletion. You should perform read and write operations only on an\n <code>ACTIVE</code> stream.</p>\n </li>\n <li>\n <p>\n <code>UPDATING</code> - Shards in the stream are being merged or split. Read and\n write operations continue to work while the stream is in the\n <code>UPDATING</code> state.</p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"Shards": {
"target": "com.amazonaws.kinesis#ShardList",
"traits": {
"smithy.api#documentation": "<p>The shards that comprise the stream.</p>",
"smithy.api#required": {}
}
},
"HasMoreShards": {
"target": "com.amazonaws.kinesis#BooleanObject",
"traits": {
"smithy.api#documentation": "<p>If set to <code>true</code>, more shards in the stream are available to\n describe.</p>",
"smithy.api#required": {}
}
},
"RetentionPeriodHours": {
"target": "com.amazonaws.kinesis#RetentionPeriodHours",
"traits": {
"smithy.api#documentation": "<p>The current retention period, in hours. Minimum value of 24. Maximum value of\n 168.</p>",
"smithy.api#required": {}
}
},
"StreamCreationTimestamp": {
"target": "com.amazonaws.kinesis#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The approximate time that the stream was created.</p>",
"smithy.api#required": {}
}
},
"EnhancedMonitoring": {
"target": "com.amazonaws.kinesis#EnhancedMonitoringList",
"traits": {
"smithy.api#documentation": "<p>Represents the current enhanced monitoring settings of the stream.</p>",
"smithy.api#required": {}
}
},
"EncryptionType": {
"target": "com.amazonaws.kinesis#EncryptionType",
"traits": {
"smithy.api#documentation": "<p>The server-side encryption type used on the stream. This parameter can be one of\n the following values:</p>\n <ul>\n <li>\n <p>\n <code>NONE</code>: Do not encrypt the records in the stream.</p>\n </li>\n <li>\n <p>\n <code>KMS</code>: Use server-side encryption on the records in the stream\n using a customer-managed AWS KMS key.</p>\n </li>\n </ul>"
}
},
"KeyId": {
"target": "com.amazonaws.kinesis#KeyId",
"traits": {
"smithy.api#documentation": "<p>The GUID for the customer-managed AWS KMS key to use for encryption. This value can\n be a globally unique identifier, a fully specified ARN to either an alias or a key, or\n an alias name prefixed by \"alias/\".You can also use a master key owned by Kinesis Data\n Streams by specifying the alias <code>aws/kinesis</code>.</p>\n <ul>\n <li>\n <p>Key ARN example:\n <code>arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012</code>\n </p>\n </li>\n <li>\n <p>Alias ARN example:\n <code>arn:aws:kms:us-east-1:123456789012:alias/MyAliasName</code>\n </p>\n </li>\n <li>\n <p>Globally unique key ID example:\n <code>12345678-1234-1234-1234-123456789012</code>\n </p>\n </li>\n <li>\n <p>Alias name example: <code>alias/MyAliasName</code>\n </p>\n </li>\n <li>\n <p>Master key owned by Kinesis Data Streams:\n <code>alias/aws/kinesis</code>\n </p>\n </li>\n </ul>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the output for <a>DescribeStream</a>.</p>"
}
},
"com.amazonaws.kinesis#StreamDescriptionSummary": {
"type": "structure",
"members": {
"StreamName": {
"target": "com.amazonaws.kinesis#StreamName",
"traits": {
"smithy.api#documentation": "<p>The name of the stream being described.</p>",
"smithy.api#required": {}
}
},
"StreamARN": {
"target": "com.amazonaws.kinesis#StreamARN",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) for the stream being described.</p>",
"smithy.api#required": {}
}
},
"StreamStatus": {
"target": "com.amazonaws.kinesis#StreamStatus",
"traits": {
"smithy.api#documentation": "<p>The current status of the stream being described. The stream status is one of the\n following states:</p>\n <ul>\n <li>\n <p>\n <code>CREATING</code> - The stream is being created. Kinesis Data Streams\n immediately returns and sets <code>StreamStatus</code> to\n <code>CREATING</code>.</p>\n </li>\n <li>\n <p>\n <code>DELETING</code> - The stream is being deleted. The specified stream is in\n the <code>DELETING</code> state until Kinesis Data Streams completes the\n deletion.</p>\n </li>\n <li>\n <p>\n <code>ACTIVE</code> - The stream exists and is ready for read and write\n operations or deletion. You should perform read and write operations only on an\n <code>ACTIVE</code> stream.</p>\n </li>\n <li>\n <p>\n <code>UPDATING</code> - Shards in the stream are being merged or split. Read and\n write operations continue to work while the stream is in the\n <code>UPDATING</code> state.</p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"RetentionPeriodHours": {
"target": "com.amazonaws.kinesis#RetentionPeriodHours",
"traits": {
"smithy.api#documentation": "<p>The current retention period, in hours.</p>",
"smithy.api#required": {}
}
},
"StreamCreationTimestamp": {
"target": "com.amazonaws.kinesis#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The approximate time that the stream was created.</p>",
"smithy.api#required": {}
}
},
"EnhancedMonitoring": {
"target": "com.amazonaws.kinesis#EnhancedMonitoringList",
"traits": {
"smithy.api#documentation": "<p>Represents the current enhanced monitoring settings of the stream.</p>",
"smithy.api#required": {}
}
},
"EncryptionType": {
"target": "com.amazonaws.kinesis#EncryptionType",
"traits": {
"smithy.api#documentation": "<p>The encryption type used. This value is one of the following:</p>\n <ul>\n <li>\n <p>\n <code>KMS</code>\n </p>\n </li>\n <li>\n <p>\n <code>NONE</code>\n </p>\n </li>\n </ul>"
}
},
"KeyId": {
"target": "com.amazonaws.kinesis#KeyId",
"traits": {
"smithy.api#documentation": "<p>The GUID for the customer-managed AWS KMS key to use for encryption. This value can\n be a globally unique identifier, a fully specified ARN to either an alias or a key, or\n an alias name prefixed by \"alias/\".You can also use a master key owned by Kinesis Data\n Streams by specifying the alias <code>aws/kinesis</code>.</p>\n <ul>\n <li>\n <p>Key ARN example:\n <code>arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012</code>\n </p>\n </li>\n <li>\n <p>Alias ARN example: <code>\n arn:aws:kms:us-east-1:123456789012:alias/MyAliasName</code>\n </p>\n </li>\n <li>\n <p>Globally unique key ID example:\n <code>12345678-1234-1234-1234-123456789012</code>\n </p>\n </li>\n <li>\n <p>Alias name example: <code>alias/MyAliasName</code>\n </p>\n </li>\n <li>\n <p>Master key owned by Kinesis Data Streams:\n <code>alias/aws/kinesis</code>\n </p>\n </li>\n </ul>"
}
},
"OpenShardCount": {
"target": "com.amazonaws.kinesis#ShardCountObject",
"traits": {
"smithy.api#documentation": "<p>The number of open shards in the stream.</p>",
"smithy.api#required": {}
}
},
"ConsumerCount": {
"target": "com.amazonaws.kinesis#ConsumerCountObject",
"traits": {
"smithy.api#documentation": "<p>The number of enhanced fan-out consumers registered with the stream.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the output for <a>DescribeStreamSummary</a>\n </p>"
}
},
"com.amazonaws.kinesis#StreamName": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 128
},
"smithy.api#pattern": "[a-zA-Z0-9_.-]+"
}
},
"com.amazonaws.kinesis#StreamNameList": {
"type": "list",
"member": {
"target": "com.amazonaws.kinesis#StreamName"
}
},
"com.amazonaws.kinesis#StreamStatus": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "CREATING",
"name": "CREATING"
},
{
"value": "DELETING",
"name": "DELETING"
},
{
"value": "ACTIVE",
"name": "ACTIVE"
},
{
"value": "UPDATING",
"name": "UPDATING"
}
]
}
},
"com.amazonaws.kinesis#SubscribeToShard": {
"type": "operation",
"input": {
"target": "com.amazonaws.kinesis#SubscribeToShardInput"
},
"output": {
"target": "com.amazonaws.kinesis#SubscribeToShardOutput"
},
"errors": [
{
"target": "com.amazonaws.kinesis#InvalidArgumentException"
},
{
"target": "com.amazonaws.kinesis#LimitExceededException"
},
{
"target": "com.amazonaws.kinesis#ResourceInUseException"
},
{
"target": "com.amazonaws.kinesis#ResourceNotFoundException"
}
],
"traits": {
"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 first connection will expire and the second\n call will take over the subscription.</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>"
}
},
"com.amazonaws.kinesis#SubscribeToShardEvent": {
"type": "structure",
"members": {
"Records": {
"target": "com.amazonaws.kinesis#RecordList",
"traits": {
"smithy.api#documentation": "<p></p>",
"smithy.api#required": {}
}
},
"ContinuationSequenceNumber": {
"target": "com.amazonaws.kinesis#SequenceNumber",
"traits": {
"smithy.api#documentation": "<p>Use this as <code>SequenceNumber</code> in the next call to <a>SubscribeToShard</a>, with <code>StartingPosition</code> set to\n <code>AT_SEQUENCE_NUMBER</code> or <code>AFTER_SEQUENCE_NUMBER</code>. Use\n <code>ContinuationSequenceNumber</code> for checkpointing because it captures your\n shard progress even when no data is written to the shard.</p>",
"smithy.api#required": {}
}
},
"MillisBehindLatest": {
"target": "com.amazonaws.kinesis#MillisBehindLatest",
"traits": {
"smithy.api#documentation": "<p>The number of milliseconds the read records are from the tip of the stream, indicating\n how far behind current time the consumer is. A value of zero indicates that record\n processing is caught up, and there are no new records to process at this moment.</p>",
"smithy.api#required": {}
}
},
"ChildShards": {
"target": "com.amazonaws.kinesis#ChildShardList"
}
},
"traits": {
"smithy.api#documentation": "<p>After you call <a>SubscribeToShard</a>, Kinesis Data Streams sends events\n of this type over an HTTP/2 connection to your consumer.</p>"
}
},
"com.amazonaws.kinesis#SubscribeToShardEventStream": {
"type": "union",
"members": {
"SubscribeToShardEvent": {
"target": "com.amazonaws.kinesis#SubscribeToShardEvent",
"traits": {
"smithy.api#documentation": "<p>After you call <a>SubscribeToShard</a>, Kinesis Data Streams sends events\n of this type to your consumer. For an example of how to handle these events, see <a href=\"/streams/latest/dev/building-enhanced-consumers-api.html\">Enhanced Fan-Out\n Using the Kinesis Data Streams API</a>.</p>"
}
},
"ResourceNotFoundException": {
"target": "com.amazonaws.kinesis#ResourceNotFoundException"
},
"ResourceInUseException": {
"target": "com.amazonaws.kinesis#ResourceInUseException"
},
"KMSDisabledException": {
"target": "com.amazonaws.kinesis#KMSDisabledException"
},
"KMSInvalidStateException": {
"target": "com.amazonaws.kinesis#KMSInvalidStateException"
},
"KMSAccessDeniedException": {
"target": "com.amazonaws.kinesis#KMSAccessDeniedException"
},
"KMSNotFoundException": {
"target": "com.amazonaws.kinesis#KMSNotFoundException"
},
"KMSOptInRequired": {
"target": "com.amazonaws.kinesis#KMSOptInRequired"
},
"KMSThrottlingException": {
"target": "com.amazonaws.kinesis#KMSThrottlingException"
},
"InternalFailureException": {
"target": "com.amazonaws.kinesis#InternalFailureException",
"traits": {
"smithy.api#documentation": "<p>The processing of the request failed because of an unknown error, exception, or\n failure.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>This is a tagged union for all of the types of events an enhanced fan-out consumer can\n receive over HTTP/2 after a call to <a>SubscribeToShard</a>.</p>",
"smithy.api#streaming": {}
}
},
"com.amazonaws.kinesis#SubscribeToShardInput": {
"type": "structure",
"members": {
"ConsumerARN": {
"target": "com.amazonaws.kinesis#ConsumerARN",
"traits": {
"smithy.api#documentation": "<p>For this parameter, use the value you obtained when you called <a>RegisterStreamConsumer</a>.</p>",
"smithy.api#required": {}
}
},
"ShardId": {
"target": "com.amazonaws.kinesis#ShardId",
"traits": {
"smithy.api#documentation": "<p>The ID of the shard you want to subscribe to. To see a list of all the shards for a\n given stream, use <a>ListShards</a>.</p>",
"smithy.api#required": {}
}
},
"StartingPosition": {
"target": "com.amazonaws.kinesis#StartingPosition",
"traits": {
"smithy.api#documentation": "<p></p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.kinesis#SubscribeToShardOutput": {
"type": "structure",
"members": {
"EventStream": {
"target": "com.amazonaws.kinesis#SubscribeToShardEventStream",
"traits": {
"smithy.api#documentation": "<p>The event stream that your consumer can use to read records from the shard.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.kinesis#Tag": {
"type": "structure",
"members": {
"Key": {
"target": "com.amazonaws.kinesis#TagKey",
"traits": {
"smithy.api#documentation": "<p>A unique identifier for the tag. Maximum length: 128 characters. Valid characters:\n Unicode letters, digits, white space, _ . / = + - % @</p>",
"smithy.api#required": {}
}
},
"Value": {
"target": "com.amazonaws.kinesis#TagValue",
"traits": {
"smithy.api#documentation": "<p>An optional string, typically used to describe or define the tag. Maximum length:\n 256 characters. Valid characters: Unicode letters, digits, white space, _ . / = + - %\n @</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Metadata assigned to the stream, consisting of a key-value pair.</p>"
}
},
"com.amazonaws.kinesis#TagKey": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 128
}
}
},
"com.amazonaws.kinesis#TagKeyList": {
"type": "list",
"member": {
"target": "com.amazonaws.kinesis#TagKey"
},
"traits": {
"smithy.api#length": {
"min": 1,
"max": 50
}
}
},
"com.amazonaws.kinesis#TagList": {
"type": "list",
"member": {
"target": "com.amazonaws.kinesis#Tag"
},
"traits": {
"smithy.api#length": {
"min": 0,
"max": 200
}
}
},
"com.amazonaws.kinesis#TagMap": {
"type": "map",
"key": {
"target": "com.amazonaws.kinesis#TagKey"
},
"value": {
"target": "com.amazonaws.kinesis#TagValue"
},
"traits": {
"smithy.api#length": {
"min": 1,
"max": 200
}
}
},
"com.amazonaws.kinesis#TagValue": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 256
}
}
},
"com.amazonaws.kinesis#Timestamp": {
"type": "timestamp"
},
"com.amazonaws.kinesis#UpdateShardCount": {
"type": "operation",
"input": {
"target": "com.amazonaws.kinesis#UpdateShardCountInput"
},
"output": {
"target": "com.amazonaws.kinesis#UpdateShardCountOutput"
},
"errors": [
{
"target": "com.amazonaws.kinesis#InvalidArgumentException"
},
{
"target": "com.amazonaws.kinesis#LimitExceededException"
},
{
"target": "com.amazonaws.kinesis#ResourceInUseException"
},
{
"target": "com.amazonaws.kinesis#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Updates the shard count of the specified stream to the specified number of\n shards.</p>\n <p>Updating the shard count is an asynchronous operation. Upon receiving the request,\n Kinesis Data Streams returns immediately and sets the status of the stream to\n <code>UPDATING</code>. After the update is complete, Kinesis Data Streams sets the\n status of the stream back to <code>ACTIVE</code>. Depending on the size of the stream,\n the scaling action could take a few minutes to complete. You can continue to read and\n write data to your stream while its status is <code>UPDATING</code>.</p>\n <p>To update the shard count, Kinesis Data Streams performs splits or merges on\n individual shards. This can cause short-lived shards to be created, in addition to the\n final shards. These short-lived shards count towards your total shard limit for your\n account in the Region.</p>\n <p>When using this operation, we recommend that you specify a target shard count that\n is a multiple of 25% (25%, 50%, 75%, 100%). You can specify any target value within your\n shard limit. However, if you specify a target that isn't a multiple of 25%, the scaling\n action might take longer to complete. </p>\n <p>This operation has the following default limits. By default, you cannot do the\n following:</p>\n <ul>\n <li>\n <p>Scale more than ten times per rolling 24-hour period per stream</p>\n </li>\n <li>\n <p>Scale up to more than double your current shard count for a\n stream</p>\n </li>\n <li>\n <p>Scale down below half your current shard count for a stream</p>\n </li>\n <li>\n <p>Scale up to more than 500 shards in a stream</p>\n </li>\n <li>\n <p>Scale a stream with more than 500 shards down unless the result is less\n than 500 shards</p>\n </li>\n <li>\n <p>Scale up to more than the shard limit for your account</p>\n </li>\n </ul>\n <p>For the default limits for an AWS account, see <a href=\"https://docs.aws.amazon.com/kinesis/latest/dev/service-sizes-and-limits.html\">Streams Limits</a> in the\n <i>Amazon Kinesis Data Streams Developer Guide</i>. To request an\n increase in the call rate limit, the shard limit for this API, or your overall shard\n limit, use the <a href=\"https://console.aws.amazon.com/support/v1#/case/create?issueType=service-limit-increase&limitType=service-code-kinesis\">limits form</a>.</p>"
}
},
"com.amazonaws.kinesis#UpdateShardCountInput": {
"type": "structure",
"members": {
"StreamName": {
"target": "com.amazonaws.kinesis#StreamName",
"traits": {
"smithy.api#documentation": "<p>The name of the stream.</p>",
"smithy.api#required": {}
}
},
"TargetShardCount": {
"target": "com.amazonaws.kinesis#PositiveIntegerObject",
"traits": {
"smithy.api#documentation": "<p>The new number of shards. This value has the following default limits. By default,\n you cannot do the following: </p>\n <ul>\n <li>\n <p>Set this value to more than double your current shard count for a\n stream.</p>\n </li>\n <li>\n <p>Set this value below half your current shard count for a stream.</p>\n </li>\n <li>\n <p>Set this value to more than 500 shards in a stream (the default limit for\n shard count per stream is 500 per account per region), unless you request a\n limit increase.</p>\n </li>\n <li>\n <p>Scale a stream with more than 500 shards down unless you set this value to\n less than 500 shards.</p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"ScalingType": {
"target": "com.amazonaws.kinesis#ScalingType",
"traits": {
"smithy.api#documentation": "<p>The scaling type. Uniform scaling creates shards of equal size.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.kinesis#UpdateShardCountOutput": {
"type": "structure",
"members": {
"StreamName": {
"target": "com.amazonaws.kinesis#StreamName",
"traits": {
"smithy.api#documentation": "<p>The name of the stream.</p>"
}
},
"CurrentShardCount": {
"target": "com.amazonaws.kinesis#PositiveIntegerObject",
"traits": {
"smithy.api#documentation": "<p>The current number of shards.</p>"
}
},
"TargetShardCount": {
"target": "com.amazonaws.kinesis#PositiveIntegerObject",
"traits": {
"smithy.api#documentation": "<p>The updated number of shards.</p>"
}
}
}
}
}
}