aws-sdk-core 2.0.0.rc7 → 2.0.0.rc8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -5
  3. data/README.md +2 -2
  4. data/apis/CloudFormation-2010-05-15.json +27 -0
  5. data/apis/CloudSearch-2013-01-01.json +16 -0
  6. data/apis/CloudWatch-2010-08-01.json +0 -185
  7. data/apis/ElastiCache-2014-03-24.json +7 -0
  8. data/apis/ElasticTranscoder-2012-09-25.json +118 -2
  9. data/apis/Glacier-2012-06-01.json +52 -0
  10. data/apis/RDS-2013-09-09.json +4 -0
  11. data/apis/S3-2006-03-01.json +490 -468
  12. data/apis/StorageGateway-2013-06-30.json +28 -0
  13. data/apis/source/cloudformation-2010-05-15.json +43 -7
  14. data/apis/source/cloudsearch-2013-01-01.json +38 -16
  15. data/apis/source/directconnect-2012-10-25.paginators.json +8 -2
  16. data/apis/source/dynamodb-2012-08-10.json +270 -269
  17. data/apis/source/ec2-2014-02-01.json +30 -30
  18. data/apis/source/elasticache-2014-03-24.paginators.json +6 -0
  19. data/apis/source/elastictranscoder-2012-09-25.json +184 -56
  20. data/apis/source/elastictranscoder-2012-09-25.paginators.json +4 -0
  21. data/apis/source/email-2010-12-01.json +1 -1
  22. data/apis/source/email-2010-12-01.waiters.json +14 -0
  23. data/apis/source/glacier-2012-06-01.json +77 -13
  24. data/apis/source/monitoring-2010-08-01.json +0 -308
  25. data/apis/source/rds-2013-01-10.json +7 -7
  26. data/apis/source/rds-2013-02-12.json +7 -7
  27. data/apis/source/rds-2013-09-09.json +76 -57
  28. data/apis/source/s3-2006-03-01.json +2213 -1209
  29. data/apis/source/s3-2006-03-01.waiters.json +5 -0
  30. data/apis/source/storagegateway-2013-06-30.json +441 -401
  31. data/apis/source/storagegateway-2013-06-30.paginators.json +6 -6
  32. data/apis/source/sts-2011-06-15.json +9 -9
  33. data/apis/source/swf-2012-01-25.json +627 -627
  34. data/doc-src/templates/default/layout/html/layout.erb +37 -0
  35. data/lib/aws/credential_provider_chain.rb +5 -7
  36. data/lib/aws/version.rb +1 -1
  37. data/spec/fixtures/operations/s3/head_object.yml +2 -2
  38. metadata +4 -5
  39. data/apis/source/cloudfront-2014-01-31.normal.json +0 -2905
  40. data/apis/source/elasticloadbalancing-2012-06-01.normal.json +0 -2107
  41. data/apis/source/kinesis-2013-12-02.normal.json +0 -761
@@ -1,761 +0,0 @@
1
- {
2
- "metadata":{
3
- "apiVersion":"2013-12-02",
4
- "endpointPrefix":"kinesis",
5
- "jsonVersion":1.1,
6
- "serviceAbbreviation":"Kinesis",
7
- "serviceFullName":"Amazon Kinesis",
8
- "signatureVersion":"v4",
9
- "targetPrefix":"Kinesis_20131202",
10
- "type":"json",
11
- "xmlNamespace":"http://kinesis.amazonaws.com/doc/2013-12-02"
12
- },
13
- "documentation":"<fullname>Amazon Kinesis Service API Reference</fullname>\n <p>Amazon Kinesis is a managed service that scales elastically for real time processing of streaming big data.</p>",
14
- "operations":{
15
- "CreateStream":{
16
- "http":{
17
- "method":"POST",
18
- "requestUri":"/"
19
- },
20
- "input":{
21
- "shape":"CreateStreamInput",
22
- "documentation":"<p>Represents the input of a <code>CreateStream</code> operation.</p>"
23
- },
24
- "errors":[
25
- {
26
- "shape":"ResourceInUseException",
27
- "exception":true
28
- },
29
- {
30
- "shape":"LimitExceededException",
31
- "exception":true
32
- },
33
- {
34
- "shape":"InvalidArgumentException",
35
- "exception":true
36
- }
37
- ],
38
- "documentation":"<p>This operation adds a new Amazon Kinesis stream to your AWS account. A stream captures and transports data records that are continuously emitted from different data sources or <i>producers</i>. \n\t Scale-out within an Amazon Kinesis stream is explicitly supported by means of shards, which are uniquely identified groups of data records in an Amazon Kinesis stream.</p> \n\t <p>You specify and control the number of shards that a stream is composed of. Each open shard can support up to 5 read transactions per second, up to a maximum total of 2 MB of data read per second. Each shard can support up to 1000 write transactions per second, up to a maximum total of 1 MB data written per second. \n\t You can add shards to a stream if the amount of data input increases and you can remove shards if the amount of data input decreases.</p>\n\t <p>The stream name identifies the stream. The name is scoped to the AWS account used by the application. It is also scoped by region. \n\t That is, two streams in two different accounts can have the same name, and two streams in the same account, but in two different regions, can have the same name. </p> \n\t <p><code>CreateStream</code> is an asynchronous operation. Upon receiving a <code>CreateStream</code> request, \n\t Amazon Kinesis immediately returns and sets the stream status to CREATING. After the stream is created, Amazon Kinesis sets the stream status to ACTIVE. \n\t You should perform read and write operations only on an ACTIVE stream. </p> \n\t <p>You receive a <code>LimitExceededException</code> when making a <code>CreateStream</code> request if you try to do one of the following:</p>\n\t <ul> \n\t <li>Have more than five streams in the CREATING state at any point in time.</li>\n\t <li>Create more shards than are authorized for your account.</li>\n\t </ul>\n\t <p><b>Note:</b> The default limit for an AWS account is 10 shards per stream. \n\t If you need to create a stream with more than 10 shards, <a href=\"http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html\">contact AWS Support</a> to increase the limit on your account.</p>\n\t <p>You can use the <code>DescribeStream</code> operation to check the stream status, which is returned in <code>StreamStatus</code>.</p> \n\t <p><code>CreateStream</code> has a limit of 5 transactions per second per account.</p> \n\t <examples>\n\t <example>\n\t <name>Create a Stream </name>\n\t <description>The following is an example of an Amazon Kinesis <code>CreateStream</code> request and response.</description>\n\t <request><![CDATA[\nPOST / HTTP/1.1\nHost: kinesis.<region>.<domain>\nx-amz-Date: <Date>\nAuthorization: AWS4-HMAC-SHA256 Credential=<Credential>, SignedHeaders=content-type;date;host;user-agent;x-amz-date;x-amz-target;x-amzn-requestid, Signature=<Signature>\nUser-Agent: <UserAgentString>\nContent-Type: application/x-amz-json-1.1\nContent-Length: <PayloadSizeBytes>\nConnection: Keep-Alive]]>\nX-Amz-Target: Kinesis_20131202.CreateStream \n\n{\n \"StreamName\":\"exampleStreamName\",\"ShardCount\":3\n}\n\t </request>\n\t <response><![CDATA[\nHTTP/1.1 200 OK\nx-amzn-RequestId: <RequestId>\nContent-Type: application/x-amz-json-1.1\nContent-Length: <PayloadSizeBytes>\nDate: <Date>]]>\n\t </response>\n\t </example>\n\t </examples>"
39
- },
40
- "DeleteStream":{
41
- "http":{
42
- "method":"POST",
43
- "requestUri":"/"
44
- },
45
- "input":{
46
- "shape":"DeleteStreamInput",
47
- "documentation":"<p>Represents the input of a <code>DeleteStream</code> operation.</p>"
48
- },
49
- "errors":[
50
- {
51
- "shape":"ResourceNotFoundException",
52
- "exception":true
53
- },
54
- {
55
- "shape":"LimitExceededException",
56
- "exception":true
57
- }
58
- ],
59
- "documentation":"<p>This operation deletes a stream and all of its shards and data. \n\t You must shut down any applications that are operating on the stream before you delete the stream. \n\t If an application attempts to operate on a deleted stream, it will receive the exception <code>ResourceNotFoundException</code>.</p> \n\t <p>If the stream is in the ACTIVE state, you can delete it. \n\t After a <code>DeleteStream</code> request, the specified stream is in the DELETING state until Amazon Kinesis completes the deletion.</p> \n\t <p><b>Note:</b> Amazon Kinesis might continue to accept data read and write operations, such as <a>PutRecord</a> and <a>GetRecords</a>, \n\t on a stream in the DELETING state until the stream deletion is complete.</p> \n\t <p>When you delete a stream, any shards in that stream are also deleted.</p>\n\t <p>You can use the <a>DescribeStream</a> operation to check the state of the stream, which is returned in <code>StreamStatus</code>.</p>\n\t <p><code>DeleteStream</code> has a limit of 5 transactions per second per account.</p> \n\t <examples>\n\t <example>\n\t <name>Delete a Stream </name>\n\t <description>The following is an example of an Amazon Kinesis <code>DeleteStream</code> request and response.</description>\n\t <request><![CDATA[\nPOST / HTTP/1.1\nHost: kinesis.<region>.<domain>\nx-amz-Date: <Date>\nAuthorization: AWS4-HMAC-SHA256 Credential=<Credential>, SignedHeaders=content-type;date;host;user-agent;x-amz-date;x-amz-target;x-amzn-requestid, Signature=<Signature>\nUser-Agent: <UserAgentString>\nContent-Type: application/x-amz-json-1.1\nContent-Length: <PayloadSizeBytes>\nConnection: Keep-Alive]]>\nX-Amz-Target: Kinesis_20131202.DeleteStream\n\n{\n \"StreamName\":\"exampleStreamName\"\n}\n\t </request>\n\t <response><![CDATA[\nHTTP/1.1 200 OK\nx-amzn-RequestId: <RequestId>\nContent-Type: application/x-amz-json-1.1\nContent-Length: <PayloadSizeBytes>\nDate: <Date>]]>\n\t </response>\n\t </example>\n\t </examples>"
60
- },
61
- "DescribeStream":{
62
- "http":{
63
- "method":"POST",
64
- "requestUri":"/"
65
- },
66
- "input":{
67
- "shape":"DescribeStreamInput",
68
- "documentation":"<p>Represents the input of a <code>DescribeStream</code> operation.</p>"
69
- },
70
- "output":{
71
- "shape":"DescribeStreamOutput",
72
- "documentation":"<p>Represents the output of a <code>DescribeStream</code> operation.</p>"
73
- },
74
- "errors":[
75
- {
76
- "shape":"ResourceNotFoundException",
77
- "exception":true
78
- },
79
- {
80
- "shape":"LimitExceededException",
81
- "exception":true
82
- }
83
- ],
84
- "documentation":"<p>This operation returns the following information about the stream: the current status of the stream, the stream Amazon Resource Name (ARN), \n\t and an array of shard objects that comprise the stream. For each shard object there is information about the hash key and sequence number ranges that the shard spans, \n\t and the IDs of any earlier shards that played in a role in a <a>MergeShards</a> or <a>SplitShard</a> operation that created the shard. \n\t A sequence number is the identifier associated with every record ingested in the Amazon Kinesis stream. \n\t The sequence number is assigned by the Amazon Kinesis service when a record is put into the stream. </p>\n\t <p>You can limit the number of returned shards using the <code>Limit</code> parameter. \n\t The number of shards in a stream may be too large to return from a single call to <code>DescribeStream</code>. \n\t You can detect this by using the <code>HasMoreShards</code> flag in the returned output. \n\t <code>HasMoreShards</code> is set to <code>true</code> when there is more data available. \n\t </p> \n\t <p>If there are more shards available, you can request more shards by using the shard ID of the last shard returned by the <code>DescribeStream</code> \n\t request, in the <code>ExclusiveStartShardId</code> parameter in a subsequent request to <code>DescribeStream</code>. \n\t <code>DescribeStream</code> is a paginated operation. \n\t </p>\n\t <p><code>DescribeStream</code> has a limit of 10 transactions per second per account.</p>\n\t <examples>\n\t <example>\n\t <name>Obtain Information About a Stream </name>\n\t <description>The following is an example of an Amazon Kinesis <code>DescribeStream</code> request and response.</description>\n\t <request><![CDATA[\nPOST / HTTP/1.1\nHost: kinesis.<region>.<domain>\nx-amz-Date: <Date>\nAuthorization: AWS4-HMAC-SHA256 Credential=<Credential>, SignedHeaders=content-type;date;host;user-agent;x-amz-date;x-amz-target;x-amzn-requestid, Signature=<Signature>\nUser-Agent: <UserAgentString>\nContent-Type: application/x-amz-json-1.1\nContent-Length: <PayloadSizeBytes>\nConnection: Keep-Alive]]>\nX-Amz-Target: Kinesis_20131202.DescribeStream\n{\n \"StreamName\":\"exampleStreamName\"\n}\n\t </request>\n\t <response><![CDATA[\nHTTP/1.1 200 OK\nx-amzn-RequestId: <RequestId>\nContent-Type: application/x-amz-json-1.1\nContent-Length: <PayloadSizeBytes>\nDate: <Date>]]>\n\n\n{\n \"StreamDescription\": {\n \"HasMoreShards\": false,\n \"Shards\": [\n {\n \"HashKeyRange\": {\n \"EndingHashKey\": \"113427455640312821154458202477256070484\",\n \"StartingHashKey\": \"0\"\n },\n \"SequenceNumberRange\": {\n \"EndingSequenceNumber\": \"21269319989741826081360214168359141376\",\n \"StartingSequenceNumber\": \"21267647932558653966460912964485513216\"\n },\n \"ShardId\": \"shardId-000000000000\"\n },\n {\n \"HashKeyRange\": {\n \"EndingHashKey\": \"226854911280625642308916404954512140969\",\n \"StartingHashKey\": \"113427455640312821154458202477256070485\"\n },\n \"SequenceNumberRange\": {\n \"StartingSequenceNumber\": \"21267647932558653966460912964485513217\"\n },\n \"ShardId\": \"shardId-000000000001\"\n },\n {\n \"HashKeyRange\": {\n \"EndingHashKey\": \"340282366920938463463374607431768211455\",\n \"StartingHashKey\": \"226854911280625642308916404954512140970\"\n },\n \"SequenceNumberRange\": {\n \"StartingSequenceNumber\": \"21267647932558653966460912964485513218\"\n },\n \"ShardId\": \"shardId-000000000002\"\n }\n ],\n \"StreamARN\": \"arn:aws:kinesis:us-east-1:052958737983:exampleStreamName\",\n \"StreamName\": \"exampleStreamName\",\n \"StreamStatus\": \"ACTIVE\"\n }\n}\n\t </response>\n\t </example>\n\t </examples>"
85
- },
86
- "GetRecords":{
87
- "http":{
88
- "method":"POST",
89
- "requestUri":"/"
90
- },
91
- "input":{
92
- "shape":"GetRecordsInput",
93
- "documentation":"<p>Represents the input of a <code>GetRecords</code> operation.</p>"
94
- },
95
- "output":{
96
- "shape":"GetRecordsOutput",
97
- "documentation":"<p>Represents the output of a <code>GetRecords</code> operation.</p>"
98
- },
99
- "errors":[
100
- {
101
- "shape":"ResourceNotFoundException",
102
- "exception":true
103
- },
104
- {
105
- "shape":"InvalidArgumentException",
106
- "exception":true
107
- },
108
- {
109
- "shape":"ProvisionedThroughputExceededException",
110
- "exception":true
111
- },
112
- {
113
- "shape":"ExpiredIteratorException",
114
- "exception":true
115
- }
116
- ],
117
- "documentation":"<p>This operation returns one or more data records from a shard. A <code>GetRecords</code> operation request can retrieve up to 10 MB of data.</p>\n\t <p>You specify a shard iterator for the shard that you want to read data from in the <code>ShardIterator</code> parameter. \n\t The shard iterator specifies the position in the shard from which you want to start reading data records sequentially. \n\t A shard iterator specifies this position using the sequence number of a data record in the shard. \n\t For more information about the shard iterator, see <a>GetShardIterator</a>.</p> \n\t <p><code>GetRecords</code> may return a partial result if the response size limit is exceeded. \n\t You will get an error, but not a partial result if the shard's provisioned throughput is exceeded, the shard iterator has expired, \n\t or an internal processing failure has occurred. \n\t Clients can request a smaller amount of data by specifying a maximum number of returned records using the <code>Limit</code> parameter. \n\t The <code>Limit</code> parameter can be set to an integer value of up to 10,000. \n\t If you set the value to an integer greater than 10,000, you will receive <code>InvalidArgumentException</code>.</p>\n\t <p>A new shard iterator is returned by every <code>GetRecords</code> request in <code>NextShardIterator</code>, \n\t which you use in the <code>ShardIterator</code> parameter of the next <code>GetRecords</code> request. \n\t When you repeatedly read from an Amazon Kinesis stream use a <a>GetShardIterator</a> request to get the first shard iterator to \n\t use in your first <code>GetRecords</code> request and then use the shard iterator returned in <code>NextShardIterator</code> for subsequent reads.</p> \n\t <p><code>GetRecords</code> can return <code>null</code> for the <code>NextShardIterator</code> to reflect that the shard has been closed \n\t and that the requested shard iterator would never have returned more data. </p>\n\t <p>If no items can be processed because of insufficient provisioned throughput on the shard involved in the request, \n\t <code>GetRecords</code> throws <code>ProvisionedThroughputExceededException</code>.</p> \n\t <examples>\n\t <example>\n\t <name>Get Data from the Shards in a Stream</name>\n\t <description>The following is an example of an Amazon Kinesis <code>GetRecords</code> request and response.</description>\n\t <request><![CDATA[\nPOST / HTTP/1.1\nHost: kinesis.<region>.<domain>\nx-amz-Date: <Date>\nAuthorization: AWS4-HMAC-SHA256 Credential=<Credential>, SignedHeaders=content-type;date;host;user-agent;x-amz-date;x-amz-target;x-amzn-requestid, Signature=<Signature>\nUser-Agent: <UserAgentString>\nContent-Type: application/x-amz-json-1.1\nContent-Length: <PayloadSizeBytes>\nConnection: Keep-Alive]]>\nX-Amz-Target: Kinesis_20131202.GetRecords\n\n{\n \"ShardIterator\": \"AAAAAAAAAAETYyAYzd665+8e0X7JTsASDM/Hr2rSwc0X2qz93iuA3udrjTH+ikQvpQk/1ZcMMLzRdAesqwBGPnsthzU0/CBlM/U8/8oEqGwX3pKw0XyeDNRAAZyXBo3MqkQtCpXhr942BRTjvWKhFz7OmCb2Ncfr8Tl2cBktooi6kJhr+djN5WYkB38Rr3akRgCl9qaU4dY=\",\n \"Limit\": 2\n}\n\t </request>\n\t <response><![CDATA[\nHTTP/1.1 200 OK\nx-amzn-RequestId: <RequestId>\nContent-Type: application/x-amz-json-1.1\nContent-Length: <PayloadSizeBytes>\nDate: <Date>]]>\n\n\n{\n \"NextShardIterator\": \"AAAAAAAAAAHsW8zCWf9164uy8Epue6WS3w6wmj4a4USt+CNvMd6uXQ+HL5vAJMznqqC0DLKsIjuoiTi1BpT6nW0LN2M2D56zM5H8anHm30Gbri9ua+qaGgj+3XTyvbhpERfrezgLHbPB/rIcVpykJbaSj5tmcXYRmFnqZBEyHwtZYFmh6hvWVFkIwLuMZLMrpWhG5r5hzkE=\",\n \"Records\": [\n {\n \"Data\": \"XzxkYXRhPl8w\",\n \"PartitionKey\": \"partitionKey\",\n \"SequenceNumber\": \"21269319989652663814458848515492872193\"\n }\n ] \n}\n\t </response>\n\t </example>\n\t </examples>"
118
- },
119
- "GetShardIterator":{
120
- "http":{
121
- "method":"POST",
122
- "requestUri":"/"
123
- },
124
- "input":{
125
- "shape":"GetShardIteratorInput",
126
- "documentation":"<p>Represents the input of a <code>GetShardIterator</code> operation.</p>"
127
- },
128
- "output":{
129
- "shape":"GetShardIteratorOutput",
130
- "documentation":"<p>Represents the output of a <code>GetShardIterator</code> operation.</p>"
131
- },
132
- "errors":[
133
- {
134
- "shape":"ResourceNotFoundException",
135
- "exception":true
136
- },
137
- {
138
- "shape":"InvalidArgumentException",
139
- "exception":true
140
- },
141
- {
142
- "shape":"ProvisionedThroughputExceededException",
143
- "exception":true
144
- }
145
- ],
146
- "documentation":"<p>This operation returns a shard iterator in <code>ShardIterator</code>. The shard iterator specifies the position in the shard from \n\t which you want to start reading data records sequentially. \n\t A shard iterator specifies this position using the sequence number of a data record in a shard. \n\t A sequence number is the identifier associated with every record ingested in the Amazon Kinesis stream. \n\t The sequence number is assigned by the Amazon Kinesis service when a record is put into the stream. </p>\n\t <p>You must specify the shard iterator type in the <code>GetShardIterator</code> request. \n\t For example, you can set the <code>ShardIteratorType</code> parameter to read exactly from the position denoted by a specific sequence number \n\t by using the AT_SEQUENCE_NUMBER shard iterator type, or right after the sequence number by using the AFTER_SEQUENCE_NUMBER shard iterator type, \n\t using sequence numbers returned by earlier <a>PutRecord</a>, <a>GetRecords</a> or <a>DescribeStream</a> requests. \n\t You can specify the shard iterator type TRIM_HORIZON in the request to cause <code>ShardIterator</code> \n\t to point to the last untrimmed record in the shard in the system, which is the oldest data record in the shard. \n\t Or you can point to just after the most recent record in the shard, by using the shard iterator type LATEST, so that you always \n\t read the most recent data in the shard. </p> \n\t <p><b>Note:</b> Each shard iterator expires five minutes after it is returned to the requester.</p>\n\t <p>When you repeatedly read from an Amazon Kinesis stream use a <a>GetShardIterator</a> request to get the first shard iterator to \n\t to use in your first <code>GetRecords</code> request and then use the shard iterator returned by the \n\t <code>GetRecords</code> request in <code>NextShardIterator</code> for subsequent reads.\n\t A new shard iterator is returned by every <code>GetRecords</code> request in <code>NextShardIterator</code>, \n\t which you use in the <code>ShardIterator</code> parameter of the next <code>GetRecords</code> request. </p>\n\t <p>If a <code>GetShardIterator</code> request is made too often, you will receive a <code>ProvisionedThroughputExceededException</code>. \n\t For more information about throughput limits, see the <a href=\"http://docs.aws.amazon.com/kinesis/latest/dev/\">Amazon Kinesis Developer Guide</a>. </p> \n\t <p><code>GetShardIterator</code> can return <code>null</code> for its <code>ShardIterator</code> to indicate that the shard has been closed \n\t and that the requested iterator will return no more data. A shard can be closed by a <a>SplitShard</a> or <a>MergeShards</a> operation.</p> \n\t <p><code>GetShardIterator</code> has a limit of 5 transactions per second per account per open shard.</p> \n\t <examples>\n\t <example>\n\t <name>Get a Shard Iterator</name>\n\t <description>The following is an example of an Amazon Kinesis <code>GetShardIterator</code> request and response.</description>\n\t <request><![CDATA[\nPOST / HTTP/1.1\nHost: kinesis.<region>.<domain>\nx-amz-Date: <Date>\nAuthorization: AWS4-HMAC-SHA256 Credential=<Credential>, SignedHeaders=content-type;date;host;user-agent;x-amz-date;x-amz-target;x-amzn-requestid, Signature=<Signature>\nUser-Agent: <UserAgentString>\nContent-Type: application/x-amz-json-1.1\nContent-Length: <PayloadSizeBytes>\nConnection: Keep-Alive]]>\nX-Amz-Target: Kinesis_20131202.GetShardIterator\n\n{\n \"StreamName\": \"exampleStreamName\",\n \"ShardId\": \"shardId-000000000001\",\n \"ShardIteratorType\": \"LATEST\"\n}\n\t </request>\n\t <response><![CDATA[\nHTTP/1.1 200 OK\nx-amzn-RequestId: <RequestId>\nContent-Type: application/x-amz-json-1.1\nContent-Length: <PayloadSizeBytes>\nDate: <Date>]]>\n\n{\n \"ShardIterator\": \"AAAAAAAAAAETYyAYzd665+8e0X7JTsASDM/Hr2rSwc0X2qz93iuA3udrjTH+ikQvpQk/1ZcMMLzRdAesqwBGPnsthzU0/CBlM/U8/8oEqGwX3pKw0XyeDNRAAZyXBo3MqkQtCpXhr942BRTjvWKhFz7OmCb2Ncfr8Tl2cBktooi6kJhr+djN5WYkB38Rr3akRgCl9qaU4dY=\" \n}\n\t </response>\n\t </example>\n\t </examples>"
147
- },
148
- "ListStreams":{
149
- "http":{
150
- "method":"POST",
151
- "requestUri":"/"
152
- },
153
- "input":{
154
- "shape":"ListStreamsInput",
155
- "documentation":"<p>Represents the input of a <code>ListStreams</code> operation.</p>"
156
- },
157
- "output":{
158
- "shape":"ListStreamsOutput",
159
- "documentation":"<p>Represents the output of a <code>ListStreams</code> operation.</p>"
160
- },
161
- "errors":[
162
- {
163
- "shape":"LimitExceededException",
164
- "exception":true
165
- }
166
- ],
167
- "documentation":"<p> This operation returns an array of the names of all the streams that are associated with the AWS account \n\t making the <code>ListStreams</code> request. A given AWS account can have many streams active at one time. \n\t </p>\n\t <p> The number of streams may be too large to return from a single call to <code>ListStreams</code>. \n\t You can limit the number of returned streams using the <code>Limit</code> parameter. \n\t If you do not specify a value for the <code>Limit</code> parameter, Amazon Kinesis uses the default limit, which is currently 10.</p>\n\t <p> You can detect if there are more streams available to list by using the <code>HasMoreStreams</code> flag from the returned output. \n\t If there are more streams available, you can request more streams by using the name of the last stream returned by the <code>ListStreams</code> \n\t request in the <code>ExclusiveStartStreamName</code> parameter in a subsequent request to <code>ListStreams</code>. \n\t The group of stream names returned by the subsequent request is then added to the list. \n\t You can continue this process until all the stream names have been collected in the list. </p>\n\t <p><code>ListStreams</code> has a limit of 5 transactions per second per account.</p>\n\t <examples>\n\t <example>\n\t <name>List the Streams for an AWS Account</name>\n\t <description>The following is an example of an Amazon Kinesis <code>ListStreams</code> request and response.</description>\n\t <request><![CDATA[\nPOST / HTTP/1.1\nHost: kinesis.<region>.<domain>\nx-amz-Date: <Date>\nAuthorization: AWS4-HMAC-SHA256 Credential=<Credential>, SignedHeaders=content-type;date;host;user-agent;x-amz-date;x-amz-target;x-amzn-requestid, Signature=<Signature>\nUser-Agent: <UserAgentString>\nContent-Type: application/x-amz-json-1.1\nContent-Length: <PayloadSizeBytes>\nConnection: Keep-Alive]]>\nX-Amz-Target: Kinesis_20131202.ListStreams\n\n\t </request>\n\t <response><![CDATA[\nHTTP/1.1 200 OK\nx-amzn-RequestId: <RequestId>\nContent-Type: application/x-amz-json-1.1\nContent-Length: <PayloadSizeBytes>\nDate: <Date>]]>\n\n\n{\n \"HasMoreStreams\": false,\n \"StreamNames\": [\n \"exampleStreamName\"\n ]\n}\n\t </response>\n\t </example>\n\t </examples>"
168
- },
169
- "MergeShards":{
170
- "http":{
171
- "method":"POST",
172
- "requestUri":"/"
173
- },
174
- "input":{
175
- "shape":"MergeShardsInput",
176
- "documentation":"<p>Represents the input of a <code>MergeShards</code> operation.</p>"
177
- },
178
- "errors":[
179
- {
180
- "shape":"ResourceNotFoundException",
181
- "exception":true
182
- },
183
- {
184
- "shape":"ResourceInUseException",
185
- "exception":true
186
- },
187
- {
188
- "shape":"InvalidArgumentException",
189
- "exception":true
190
- },
191
- {
192
- "shape":"LimitExceededException",
193
- "exception":true
194
- }
195
- ],
196
- "documentation":"<p>This operation merges two adjacent shards in a stream and combines them into a single shard to reduce the stream's capacity to ingest and transport data. \n\t Two shards are considered adjacent if the union of the hash key ranges for the two shards form a contiguous set with no gaps. \n\t For example, if you have two shards, one with a hash key range of 276...381 and the other with a hash key range of 382...454, \n\t then you could merge these two shards into a single shard that would have a hash key range of 276...454. After the\n\t merge, the single child shard receives data for all hash key values covered by the two parent shards.</p>\n\t <p><code>MergeShards</code> is called when there is a need to reduce the overall capacity of a stream because of excess capacity \n\t that is not being used. \n\t The operation requires that you specify the shard to be merged and the adjacent shard for a given stream. \n\t For more information about merging shards, see the <a href=\"http://docs.aws.amazon.com/kinesis/latest/dev/\">Amazon Kinesis Developer Guide</a>.</p>\n\t <p>If the stream is in the ACTIVE state, you can call <code>MergeShards</code>. If a stream is in CREATING or UPDATING or DELETING states, \n\t then Amazon Kinesis returns a <code>ResourceInUseException</code>. \n\t If the specified stream does not exist, Amazon Kinesis returns a <code>ResourceNotFoundException</code>. </p> \n\t <p>You can use the <a>DescribeStream</a> operation to check the state of the stream, which is returned in <code>StreamStatus</code>.</p>\n\t <p><code>MergeShards</code> is an asynchronous operation. Upon receiving a <code>MergeShards</code> request, \n\t Amazon Kinesis immediately returns a response and sets the <code>StreamStatus</code> to UPDATING. \n\t After the operation is completed, Amazon Kinesis sets the <code>StreamStatus</code> to ACTIVE. \n\t Read and write operations continue to work while the stream is in the UPDATING state. </p>\n\t <p>You use the <a>DescribeStream</a> operation to determine the shard IDs that are specified in the <code>MergeShards</code> request. </p> \n\t <p>If you try to operate on too many streams in parallel using <a>CreateStream</a>, <a>DeleteStream</a>, \n\t <code>MergeShards</code> or <a>SplitShard</a>, you will receive a <code>LimitExceededException</code>. </p>\n\t <p><code>MergeShards</code> has limit of 5 transactions per second per account.</p>\n\t <examples>\n\t <example>\n\t <name>Merge Two Adjacent Shards</name>\n\t <description>The following is an example of an Amazon Kinesis <code>MergeShards</code> request and response.</description>\n\t <request><![CDATA[\nPOST / HTTP/1.1\nHost: kinesis.<region>.<domain>\nx-amz-Date: <Date>\nAuthorization: AWS4-HMAC-SHA256 Credential=<Credential>, SignedHeaders=content-type;date;host;user-agent;x-amz-date;x-amz-target;x-amzn-requestid, Signature=<Signature>\nUser-Agent: <UserAgentString>\nContent-Type: application/x-amz-json-1.1\nContent-Length: <PayloadSizeBytes>\nConnection: Keep-Alive]]>\nX-Amz-Target: Kinesis_20131202.MergeShards\n\n{\n \"StreamName\": \"exampleStreamName\",\n \"ShardToMerge\": \"shardId-000000000000\",\n \"AdjacentShardToMerge\": \"shardId-000000000001\"\n}\n\t </request>\n\t <response><![CDATA[\nHTTP/1.1 200 OK\nx-amzn-RequestId: <RequestId>\nContent-Type: application/x-amz-json-1.1\nContent-Length: <PayloadSizeBytes>\nDate: <Date>]]>\n\t </response>\n\t </example>\n\t </examples>"
197
- },
198
- "PutRecord":{
199
- "http":{
200
- "method":"POST",
201
- "requestUri":"/"
202
- },
203
- "input":{
204
- "shape":"PutRecordInput",
205
- "documentation":"<p>Represents the input of a <code>PutRecord</code> operation.</p>"
206
- },
207
- "output":{
208
- "shape":"PutRecordOutput",
209
- "documentation":"<p>Represents the output of a <code>PutRecord</code> operation.</p>"
210
- },
211
- "errors":[
212
- {
213
- "shape":"ResourceNotFoundException",
214
- "exception":true
215
- },
216
- {
217
- "shape":"InvalidArgumentException",
218
- "exception":true
219
- },
220
- {
221
- "shape":"ProvisionedThroughputExceededException",
222
- "exception":true
223
- }
224
- ],
225
- "documentation":"<p>This operation puts a data record into an Amazon Kinesis stream from a producer. \n\t This operation must be called to send data from the producer into the Amazon Kinesis stream for real-time ingestion and subsequent processing. \n\t The <code>PutRecord</code> operation requires the name of the stream that captures, stores, and transports the data; a partition key; \n\t and the data blob itself. The data blob could be a segment from a log file, geographic/location data, website clickstream data, \n\t or any other data type.</p>\n\t <p>The partition key is used to distribute data across shards. Amazon Kinesis segregates the data records that belong to a data stream into multiple shards, \n\t using the partition key associated with each data record to determine which shard a given data record belongs to. </p> \n\t <p>Partition keys are Unicode strings, with a maximum length limit of 256 bytes. An MD5 hash function is used to map partition keys to 128-bit \n\t integer values and to map associated data records to shards using the hash key ranges of the shards. \n\t You can override hashing the partition key to determine the shard by explicitly specifying a hash value \n\t using the <code>ExplicitHashKey</code> parameter. For more information, see the \n\t <a href=\"http://docs.aws.amazon.com/kinesis/latest/dev/\">Amazon Kinesis Developer Guide</a>.</p>\n\t <p><code>PutRecord</code> returns the shard ID of where the data record was placed and the sequence number that was assigned to the data record.</p> \n <p>Sequence numbers generally increase over time. To guarantee strictly increasing ordering, use the <code>SequenceNumberForOrdering</code> parameter. For more information, see the <a href=\"http://docs.aws.amazon.com/kinesis/latest/dev/\">Amazon Kinesis Developer Guide</a>.</p>\n\t <p>If a <code>PutRecord</code> request cannot be processed because of insufficient provisioned throughput on the shard involved in the request, \n\t <code>PutRecord</code> throws <code>ProvisionedThroughputExceededException</code>. </p> \n\t <p>Data records are accessible for only 24 hours from the time that they are added to an Amazon Kinesis stream.</p> \n\t <examples>\n\t <example>\n\t <name>Add Data to a Stream </name>\n\t <description>The following is an example of an Amazon Kinesis <code>PutRecord</code> request and response.</description>\n\t <request><![CDATA[\nPOST / HTTP/1.1\nHost: kinesis.<region>.<domain>\nx-amz-Date: <Date>\nAuthorization: AWS4-HMAC-SHA256 Credential=<Credential>, SignedHeaders=content-type;date;host;user-agent;x-amz-date;x-amz-target;x-amzn-requestid, Signature=<Signature>\nUser-Agent: <UserAgentString>\nContent-Type: application/x-amz-json-1.1\nContent-Length: <PayloadSizeBytes>\nConnection: Keep-Alive]]>\nX-Amz-Target: Kinesis_20131202.PutRecord\n\n{\n \"StreamName\": \"exampleStreamName\",\n \"Data\": \"XzxkYXRhPl8x\",\n \"PartitionKey\": \"partitionKey\"\n}\n\t </request>\n\t <response><![CDATA[\nHTTP/1.1 200 OK\nx-amzn-RequestId: <RequestId>\nContent-Type: application/x-amz-json-1.1\nContent-Length: <PayloadSizeBytes>\nDate: <Date>]]>\n\n{\n \"SequenceNumber\": \"21269319989653637946712965403778482177\",\n \"ShardId\": \"shardId-000000000001\"\n}\n\t </response>\n\t </example>\n\t </examples>"
226
- },
227
- "SplitShard":{
228
- "http":{
229
- "method":"POST",
230
- "requestUri":"/"
231
- },
232
- "input":{
233
- "shape":"SplitShardInput",
234
- "documentation":"<p>Represents the input of a <code>SplitShard</code> operation.</p>"
235
- },
236
- "errors":[
237
- {
238
- "shape":"ResourceNotFoundException",
239
- "exception":true
240
- },
241
- {
242
- "shape":"ResourceInUseException",
243
- "exception":true
244
- },
245
- {
246
- "shape":"InvalidArgumentException",
247
- "exception":true
248
- },
249
- {
250
- "shape":"LimitExceededException",
251
- "exception":true
252
- }
253
- ],
254
- "documentation":"<p>This operation splits a shard into two new shards in the stream, to increase the stream's capacity to ingest and transport data. \n\t <code>SplitShard</code> is called when there is a need to increase the overall capacity of stream because of an expected increase \n\t in the volume of data records being ingested. </p>\n\t <p><code>SplitShard</code> can also be used when a given shard appears to be approaching its maximum utilization, for example, \n\t when the set of producers sending data into the specific shard are suddenly sending more than previously anticipated. \n\t You can also call the <code>SplitShard</code> operation to increase stream capacity, so that more\n\t Amazon Kinesis applications can simultaneously read data from the stream for real-time processing. </p> \n\t <p>The <code>SplitShard</code> operation requires that you specify the shard to be split and the new hash key, \n\t which is the position in the shard where the shard gets split in two. \n\t In many cases, the new hash key might simply be the average of the beginning and ending hash key, \n\t but it can be any hash key value in the range being mapped into the shard. \n\t For more information about splitting shards, see the <a href=\"http://docs.aws.amazon.com/kinesis/latest/dev/\">Amazon Kinesis Developer Guide</a>.\n\t </p>\n\t <p>You can use the <a>DescribeStream</a> operation to determine the shard ID and hash key values for the \n\t <code>ShardToSplit</code> and <code>NewStartingHashKey</code> parameters that are specified in the <code>SplitShard</code> request.</p>\n\t <p><code>SplitShard</code> is an asynchronous operation. Upon receiving a <code>SplitShard</code> request, Amazon Kinesis \n\t immediately returns a response and sets the stream status to UPDATING. After the operation is completed, Amazon Kinesis \n\t sets the stream status to ACTIVE. Read and write operations continue to work while the stream is in the UPDATING state. \n\t </p>\n\t <p>You can use <code>DescribeStream</code> to check the status of the stream, which is returned in <code>StreamStatus</code>. \n\t If the stream is in the ACTIVE state, you can call <code>SplitShard</code>. \n\t If a stream is in CREATING or UPDATING or DELETING states, then Amazon Kinesis returns a <code>ResourceInUseException</code>.</p> \n\t <p>If the specified stream does not exist, Amazon Kinesis returns a <code>ResourceNotFoundException</code>. \n\t If you try to create more shards than are authorized for your account, you receive a <code>LimitExceededException</code>. </p>\n\t <p><b>Note:</b> The default limit for an AWS account is 10 shards per stream. \n\t If you need to create a stream with more than 10 shards, <a href=\"http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html\">contact AWS Support</a> to increase the limit on your account.</p>\n\t <p>If you try to operate on too many streams in parallel using <a>CreateStream</a>, <a>DeleteStream</a>, <a>MergeShards</a> or <a>SplitShard</a>, \n\t you will receive a <code>LimitExceededException</code>. </p> \n\t <p><code>SplitShard</code> has limit of 5 transactions per second per account.</p>\n\t <examples>\n\t <example>\n\t <name>Split a Shard </name>\n\t <description>The following is an example of an Amazon Kinesis <code>SplitShard</code> request and response.</description>\n\t <request><![CDATA[\nPOST / HTTP/1.1\nHost: kinesis.<region>.<domain>\nx-amz-Date: <Date>\nAuthorization: AWS4-HMAC-SHA256 Credential=<Credential>, SignedHeaders=content-type;date;host;user-agent;x-amz-date;x-amz-target;x-amzn-requestid, Signature=<Signature>\nUser-Agent: <UserAgentString>\nContent-Type: application/x-amz-json-1.1\nContent-Length: <PayloadSizeBytes>\nConnection: Keep-Alive]]>\nX-Amz-Target: Kinesis_20131202.SplitShard\n\n{\n \"StreamName\": \"exampleStreamName\",\n \"ShardToSplit\": \"shardId-000000000000\",\n \"NewStartingHashKey\": \"10\"\n}\n\t </request>\n\t <response><![CDATA[\nHTTP/1.1 200 OK\nx-amzn-RequestId: <RequestId>\nContent-Type: application/x-amz-json-1.1\nContent-Length: <PayloadSizeBytes>\nDate: <Date>]]>\n\t </response>\n\t </example>\n\t </examples>"
255
- }
256
- },
257
- "shapes":{
258
- "BooleanObject":{"type":"boolean"},
259
- "CreateStreamInput":{
260
- "type":"structure",
261
- "required":[
262
- "StreamName",
263
- "ShardCount"
264
- ],
265
- "members":{
266
- "StreamName":{
267
- "shape":"StreamName",
268
- "documentation":"<p>A name to identify the stream. The stream name is scoped to the AWS account used by the application that creates the stream.\n It is also scoped by region. That is, two streams in two different AWS accounts can have the same name,\n and two streams in the same AWS account, but in two different regions, can have the same name.</p>"
269
- },
270
- "ShardCount":{
271
- "shape":"PositiveIntegerObject",
272
- "documentation":"<p>The number of shards that the stream will use. The throughput of the stream is a function of the number of shards; more shards are required for greater\n provisioned throughput.</p>\n <p><b>Note:</b> The default limit for an AWS account is 10 shards per stream. \n If you need to create a stream with more than 10 shards, <a href=\"http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html\">contact AWS Support</a> to increase the limit on your account.</p>"
273
- }
274
- },
275
- "documentation":"<p>Represents the input of a <code>CreateStream</code> operation.</p>"
276
- },
277
- "Data":{
278
- "type":"blob",
279
- "min":0,
280
- "max":51200
281
- },
282
- "DeleteStreamInput":{
283
- "type":"structure",
284
- "required":["StreamName"],
285
- "members":{
286
- "StreamName":{
287
- "shape":"StreamName",
288
- "documentation":"<p>The name of the stream to delete.</p>"
289
- }
290
- },
291
- "documentation":"<p>Represents the input of a <code>DeleteStream</code> operation.</p>"
292
- },
293
- "DescribeStreamInput":{
294
- "type":"structure",
295
- "required":["StreamName"],
296
- "members":{
297
- "StreamName":{
298
- "shape":"StreamName",
299
- "documentation":"<p>The name of the stream to describe.</p>"
300
- },
301
- "Limit":{
302
- "shape":"DescribeStreamInputLimit",
303
- "documentation":"<p>The maximum number of shards to return.</p>"
304
- },
305
- "ExclusiveStartShardId":{
306
- "shape":"ShardId",
307
- "documentation":"<p>The shard ID of the shard to start with for the stream description.</p>"
308
- }
309
- },
310
- "documentation":"<p>Represents the input of a <code>DescribeStream</code> operation.</p>"
311
- },
312
- "DescribeStreamInputLimit":{
313
- "type":"integer",
314
- "min":1,
315
- "max":10000
316
- },
317
- "DescribeStreamOutput":{
318
- "type":"structure",
319
- "required":["StreamDescription"],
320
- "members":{
321
- "StreamDescription":{
322
- "shape":"StreamDescription",
323
- "documentation":"<p>Contains the current status of the stream, the stream ARN, an array of shard objects that comprise the stream, \n and states whether there are more shards available.</p>"
324
- }
325
- },
326
- "documentation":"<p>Represents the output of a <code>DescribeStream</code> operation.</p>"
327
- },
328
- "ErrorMessage":{"type":"string"},
329
- "ExpiredIteratorException":{
330
- "type":"structure",
331
- "members":{
332
- "message":{"shape":"ErrorMessage"}
333
- },
334
- "exception":true
335
- },
336
- "GetRecordsInput":{
337
- "type":"structure",
338
- "required":["ShardIterator"],
339
- "members":{
340
- "ShardIterator":{
341
- "shape":"ShardIterator",
342
- "documentation":"<p>The position in the shard from which you want to start sequentially reading data records.</p>"
343
- },
344
- "Limit":{
345
- "shape":"GetRecordsInputLimit",
346
- "documentation":"<p>The maximum number of records to return, which can be set to a value of up to 10,000.</p>"
347
- }
348
- },
349
- "documentation":"<p>Represents the input of a <code>GetRecords</code> operation.</p>"
350
- },
351
- "GetRecordsInputLimit":{
352
- "type":"integer",
353
- "min":1,
354
- "max":10000
355
- },
356
- "GetRecordsOutput":{
357
- "type":"structure",
358
- "required":["Records"],
359
- "members":{
360
- "Records":{
361
- "shape":"RecordList",
362
- "documentation":"<P>The data records retrieved from the shard.</P>"
363
- },
364
- "NextShardIterator":{
365
- "shape":"ShardIterator",
366
- "documentation":"<p>The next position in the shard from which to start sequentially reading data records.\n If set to <code>null</code>, the shard has been closed and the requested iterator will not return any more data. \n </p>"
367
- }
368
- },
369
- "documentation":"<p>Represents the output of a <code>GetRecords</code> operation.</p>"
370
- },
371
- "GetShardIteratorInput":{
372
- "type":"structure",
373
- "required":[
374
- "StreamName",
375
- "ShardId",
376
- "ShardIteratorType"
377
- ],
378
- "members":{
379
- "StreamName":{
380
- "shape":"StreamName",
381
- "documentation":"<p>The name of the stream.</p>"
382
- },
383
- "ShardId":{
384
- "shape":"ShardId",
385
- "documentation":"<p>The shard ID of the shard to get the iterator for.</p>"
386
- },
387
- "ShardIteratorType":{
388
- "shape":"ShardIteratorType",
389
- "documentation":"<p>Determines how the shard iterator is used to start reading data records from the shard.</p> \n <p>The following are the valid shard iterator types:</p> \n <ul>\n <li>AT_SEQUENCE_NUMBER - Start reading exactly from the position denoted by a specific sequence number.</li>\n <li>AFTER_SEQUENCE_NUMBER - Start reading right after the position denoted by a specific sequence number.</li>\n <li>TRIM_HORIZON - Start reading at the last untrimmed record in the shard in the system, which is the oldest data record in the shard.</li>\n <li>LATEST - Start reading just after the most recent record in the shard, so that you always read the most recent data in the shard.</li>\n </ul>"
390
- },
391
- "StartingSequenceNumber":{
392
- "shape":"SequenceNumber",
393
- "documentation":"<p>The sequence number of the data record in the shard from which to start reading from.</p>"
394
- }
395
- },
396
- "documentation":"<p>Represents the input of a <code>GetShardIterator</code> operation.</p>"
397
- },
398
- "GetShardIteratorOutput":{
399
- "type":"structure",
400
- "members":{
401
- "ShardIterator":{
402
- "shape":"ShardIterator",
403
- "documentation":"<p>The position in the shard from which to start reading data records sequentially. \n A shard iterator specifies this position using the sequence number of a data record in a shard.</p>"
404
- }
405
- },
406
- "documentation":"<p>Represents the output of a <code>GetShardIterator</code> operation.</p>"
407
- },
408
- "HashKey":{
409
- "type":"string",
410
- "pattern":"0|([1-9]\\d{0,38})"
411
- },
412
- "HashKeyRange":{
413
- "type":"structure",
414
- "required":[
415
- "StartingHashKey",
416
- "EndingHashKey"
417
- ],
418
- "members":{
419
- "StartingHashKey":{
420
- "shape":"HashKey",
421
- "documentation":"<p>The starting hash key of the hash key range.</p>"
422
- },
423
- "EndingHashKey":{
424
- "shape":"HashKey",
425
- "documentation":"<p>The ending hash key of the hash key range.</p>"
426
- }
427
- },
428
- "documentation":"<p>The range of possible hash key values for the shard, which is a set of ordered contiguous positive integers.</p>"
429
- },
430
- "InvalidArgumentException":{
431
- "type":"structure",
432
- "members":{
433
- "message":{"shape":"ErrorMessage"}
434
- },
435
- "exception":true
436
- },
437
- "LimitExceededException":{
438
- "type":"structure",
439
- "members":{
440
- "message":{"shape":"ErrorMessage"}
441
- },
442
- "exception":true
443
- },
444
- "ListStreamsInput":{
445
- "type":"structure",
446
- "members":{
447
- "Limit":{
448
- "shape":"ListStreamsInputLimit",
449
- "documentation":"<p>The maximum number of streams to list.</p>"
450
- },
451
- "ExclusiveStartStreamName":{
452
- "shape":"StreamName",
453
- "documentation":"<p>The name of the stream to start the list with.</p>"
454
- }
455
- },
456
- "documentation":"<p>Represents the input of a <code>ListStreams</code> operation.</p>"
457
- },
458
- "ListStreamsInputLimit":{
459
- "type":"integer",
460
- "min":1,
461
- "max":10000
462
- },
463
- "ListStreamsOutput":{
464
- "type":"structure",
465
- "required":[
466
- "StreamNames",
467
- "HasMoreStreams"
468
- ],
469
- "members":{
470
- "StreamNames":{
471
- "shape":"StreamNameList",
472
- "documentation":"<p>The names of the streams that are associated with the AWS account making the <code>ListStreams</code> request.</p>"
473
- },
474
- "HasMoreStreams":{
475
- "shape":"BooleanObject",
476
- "documentation":"<p>If set to <code>true</code>, there are more streams available to list.</p>"
477
- }
478
- },
479
- "documentation":"<p>Represents the output of a <code>ListStreams</code> operation.</p>"
480
- },
481
- "MergeShardsInput":{
482
- "type":"structure",
483
- "required":[
484
- "StreamName",
485
- "ShardToMerge",
486
- "AdjacentShardToMerge"
487
- ],
488
- "members":{
489
- "StreamName":{
490
- "shape":"StreamName",
491
- "documentation":"<p>The name of the stream for the merge.</p>"
492
- },
493
- "ShardToMerge":{
494
- "shape":"ShardId",
495
- "documentation":"<p>The shard ID of the shard to combine with the adjacent shard for the merge.</p>"
496
- },
497
- "AdjacentShardToMerge":{
498
- "shape":"ShardId",
499
- "documentation":"<p>The shard ID of the adjacent shard for the merge.</p>"
500
- }
501
- },
502
- "documentation":"<p>Represents the input of a <code>MergeShards</code> operation.</p>"
503
- },
504
- "PartitionKey":{
505
- "type":"string",
506
- "min":1,
507
- "max":256
508
- },
509
- "PositiveIntegerObject":{
510
- "type":"integer",
511
- "min":1
512
- },
513
- "ProvisionedThroughputExceededException":{
514
- "type":"structure",
515
- "members":{
516
- "message":{"shape":"ErrorMessage"}
517
- },
518
- "exception":true
519
- },
520
- "PutRecordInput":{
521
- "type":"structure",
522
- "required":[
523
- "StreamName",
524
- "Data",
525
- "PartitionKey"
526
- ],
527
- "members":{
528
- "StreamName":{
529
- "shape":"StreamName",
530
- "documentation":"<p>The name of the stream to put the data record into.</p>"
531
- },
532
- "Data":{
533
- "shape":"Data",
534
- "documentation":"<p>The data blob to put into the record, which is Base64-encoded when the blob is serialized. The maximum size of the data blob (the payload after Base64-decoding) is 50 kilobytes (KB) </p>"
535
- },
536
- "PartitionKey":{
537
- "shape":"PartitionKey",
538
- "documentation":"<p>Determines which shard in the stream the data record is assigned to. \n Partition keys are Unicode strings with a maximum length limit of 256 bytes. \n Amazon Kinesis uses the partition key as input to a hash function that maps the partition key and associated data to a specific shard. \n Specifically, an MD5 hash function is used to map partition keys to 128-bit integer values and to map associated data records to shards. \n As a result of this hashing mechanism, all data records with the same partition key will map to the same shard within the stream.</p>"
539
- },
540
- "ExplicitHashKey":{
541
- "shape":"HashKey",
542
- "documentation":"<p>The hash value used to explicitly determine the shard the data record is assigned to by overriding the partition key hash.</p>"
543
- },
544
- "SequenceNumberForOrdering":{
545
- "shape":"SequenceNumber",
546
- "documentation":"<p>Guarantees strictly increasing sequence numbers, for puts from the same client and to the same partition key. Usage: set the <code>SequenceNumberForOrdering</code> of record <i>n</i> to the sequence number of record <i>n-1</i> (as returned in the <a>PutRecordResult</a> when putting record <i>n-1</i>). If this parameter is not set, records will be coarsely ordered based on arrival time.</p>"
547
- }
548
- },
549
- "documentation":"<p>Represents the input of a <code>PutRecord</code> operation.</p>"
550
- },
551
- "PutRecordOutput":{
552
- "type":"structure",
553
- "required":[
554
- "ShardId",
555
- "SequenceNumber"
556
- ],
557
- "members":{
558
- "ShardId":{
559
- "shape":"ShardId",
560
- "documentation":"<p>The shard ID of the shard where the data record was placed.</p>"
561
- },
562
- "SequenceNumber":{
563
- "shape":"SequenceNumber",
564
- "documentation":"<p>The sequence number identifier that was assigned to the put data record. The sequence number for the record is unique across \n all records in the stream. A sequence number is the identifier associated with every record put into the stream.</p>"
565
- }
566
- },
567
- "documentation":"<p>Represents the output of a <code>PutRecord</code> operation.</p>"
568
- },
569
- "Record":{
570
- "type":"structure",
571
- "required":[
572
- "SequenceNumber",
573
- "Data",
574
- "PartitionKey"
575
- ],
576
- "members":{
577
- "SequenceNumber":{
578
- "shape":"SequenceNumber",
579
- "documentation":"<p>The unique identifier for the record in the Amazon Kinesis stream.</p>"
580
- },
581
- "Data":{
582
- "shape":"Data",
583
- "documentation":"<p>The data blob. The data in the blob is both opaque and immutable to the Amazon Kinesis service, \n which does not inspect, interpret, or change the data in the blob in any way. The maximum size of the data blob (the payload after Base64-decoding) is 50 kilobytes (KB) </p>"
584
- },
585
- "PartitionKey":{
586
- "shape":"PartitionKey",
587
- "documentation":"<p>Identifies which shard in the stream the data record is assigned to.</p>"
588
- }
589
- },
590
- "documentation":"<p>The unit of data of the Amazon Kinesis stream, which is composed of a sequence number, a partition key, and a data blob.</p>"
591
- },
592
- "RecordList":{
593
- "type":"list",
594
- "member":{"shape":"Record"}
595
- },
596
- "ResourceInUseException":{
597
- "type":"structure",
598
- "members":{
599
- "message":{"shape":"ErrorMessage"}
600
- },
601
- "exception":true
602
- },
603
- "ResourceNotFoundException":{
604
- "type":"structure",
605
- "members":{
606
- "message":{"shape":"ErrorMessage"}
607
- },
608
- "exception":true
609
- },
610
- "SequenceNumber":{
611
- "type":"string",
612
- "pattern":"0|([1-9]\\d{0,128})"
613
- },
614
- "SequenceNumberRange":{
615
- "type":"structure",
616
- "required":["StartingSequenceNumber"],
617
- "members":{
618
- "StartingSequenceNumber":{
619
- "shape":"SequenceNumber",
620
- "documentation":"<p>The starting sequence number for the range.</p>"
621
- },
622
- "EndingSequenceNumber":{
623
- "shape":"SequenceNumber",
624
- "documentation":"<p>The ending sequence number for the range. Shards that are in the OPEN state have an ending sequence number of <code>null</code>.</p>"
625
- }
626
- },
627
- "documentation":"<p>The range of possible sequence numbers for the shard.</p>"
628
- },
629
- "Shard":{
630
- "type":"structure",
631
- "required":[
632
- "ShardId",
633
- "HashKeyRange",
634
- "SequenceNumberRange"
635
- ],
636
- "members":{
637
- "ShardId":{
638
- "shape":"ShardId",
639
- "documentation":"<p>The unique identifier of the shard within the Amazon Kinesis stream.</p>"
640
- },
641
- "ParentShardId":{
642
- "shape":"ShardId",
643
- "documentation":"<p>The shard Id of the shard's parent.</p>"
644
- },
645
- "AdjacentParentShardId":{
646
- "shape":"ShardId",
647
- "documentation":"<p>The shard Id of the shard adjacent to the shard's parent.</p>"
648
- },
649
- "HashKeyRange":{
650
- "shape":"HashKeyRange",
651
- "documentation":"<p>The range of possible hash key values for the shard, which is a set of ordered contiguous positive integers.</p>"
652
- },
653
- "SequenceNumberRange":{
654
- "shape":"SequenceNumberRange",
655
- "documentation":"<p>The range of possible sequence numbers for the shard.</p>"
656
- }
657
- },
658
- "documentation":"<p>A uniquely identified group of data records in an Amazon Kinesis stream.</p>"
659
- },
660
- "ShardId":{
661
- "type":"string",
662
- "min":1,
663
- "max":128,
664
- "pattern":"[a-zA-Z0-9_.-]+"
665
- },
666
- "ShardIterator":{
667
- "type":"string",
668
- "min":1,
669
- "max":512
670
- },
671
- "ShardIteratorType":{
672
- "type":"string",
673
- "enum":[
674
- "AT_SEQUENCE_NUMBER",
675
- "AFTER_SEQUENCE_NUMBER",
676
- "TRIM_HORIZON",
677
- "LATEST"
678
- ]
679
- },
680
- "ShardList":{
681
- "type":"list",
682
- "member":{"shape":"Shard"}
683
- },
684
- "SplitShardInput":{
685
- "type":"structure",
686
- "required":[
687
- "StreamName",
688
- "ShardToSplit",
689
- "NewStartingHashKey"
690
- ],
691
- "members":{
692
- "StreamName":{
693
- "shape":"StreamName",
694
- "documentation":"<p>The name of the stream for the shard split.</p>"
695
- },
696
- "ShardToSplit":{
697
- "shape":"ShardId",
698
- "documentation":"<p>The shard ID of the shard to split.</p>"
699
- },
700
- "NewStartingHashKey":{
701
- "shape":"HashKey",
702
- "documentation":"<p>A hash key value for the starting hash key of one of the child shards created by the split. \n The hash key range for a given shard constitutes a set of ordered contiguous positive integers. \n The value for <code>NewStartingHashKey</code> must be in the range of hash keys being mapped into the shard. \n The <code>NewStartingHashKey</code> hash key value and all higher hash key values in hash key range are distributed to one of the child shards. \n All the lower hash key values in the range are distributed to the other child shard.</p>"
703
- }
704
- },
705
- "documentation":"<p>Represents the input of a <code>SplitShard</code> operation.</p>"
706
- },
707
- "StreamARN":{"type":"string"},
708
- "StreamDescription":{
709
- "type":"structure",
710
- "required":[
711
- "StreamName",
712
- "StreamARN",
713
- "StreamStatus",
714
- "Shards",
715
- "HasMoreShards"
716
- ],
717
- "members":{
718
- "StreamName":{
719
- "shape":"StreamName",
720
- "documentation":"<p>The name of the stream being described.</p>"
721
- },
722
- "StreamARN":{
723
- "shape":"StreamARN",
724
- "documentation":"<p>The Amazon Resource Name (ARN) for the stream being described.</p>"
725
- },
726
- "StreamStatus":{
727
- "shape":"StreamStatus",
728
- "documentation":"<p>The current status of the stream being described.</p>\n <p>The stream status is one of the following states:</p>\n <ul>\n <li>CREATING - The stream is being created. Upon receiving a <a>CreateStream</a> request, Amazon Kinesis immediately returns and sets <code>StreamStatus</code> to CREATING.</li>\n <li>DELETING - The stream is being deleted. After a <a>DeleteStream</a> request, the specified stream is in the DELETING state until Amazon Kinesis completes the deletion.</li>\n <li>ACTIVE - The stream exists and is ready for read and write operations or deletion. You should perform read and write operations only on an ACTIVE stream.</li>\n <li>UPDATING - Shards in the stream are being merged or split. Read and write operations continue to work while the stream is in the UPDATING state.</li>\n </ul>"
729
- },
730
- "Shards":{
731
- "shape":"ShardList",
732
- "documentation":"<p>The shards that comprise the stream.</p>"
733
- },
734
- "HasMoreShards":{
735
- "shape":"BooleanObject",
736
- "documentation":"<p>If set to <code>true</code> there are more shards in the stream available to describe.</p>"
737
- }
738
- },
739
- "documentation":"<p>Represents the output of a <code>DescribeStream</code> operation.</p>"
740
- },
741
- "StreamName":{
742
- "type":"string",
743
- "min":1,
744
- "max":128,
745
- "pattern":"[a-zA-Z0-9_.-]+"
746
- },
747
- "StreamNameList":{
748
- "type":"list",
749
- "member":{"shape":"StreamName"}
750
- },
751
- "StreamStatus":{
752
- "type":"string",
753
- "enum":[
754
- "CREATING",
755
- "DELETING",
756
- "ACTIVE",
757
- "UPDATING"
758
- ]
759
- }
760
- }
761
- }