aws-sdk-core 2.0.0.rc14 → 2.0.0.rc15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (173) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +32 -3
  3. data/apis/AutoScaling.api.json +1943 -0
  4. data/apis/{autoscaling-2011-01-01.paginators.json → AutoScaling.paginators.json} +0 -0
  5. data/apis/CloudFormation.api.json +785 -0
  6. data/apis/{cloudformation-2010-05-15.paginators.json → CloudFormation.paginators.json} +0 -0
  7. data/apis/CloudFront.api.json +2581 -0
  8. data/apis/{cloudfront-2014-05-31.paginators.json → CloudFront.paginators.json} +0 -0
  9. data/apis/{cloudfront-2014-01-31.waiters.json → CloudFront.waiters.json} +0 -0
  10. data/apis/CloudSearch.api.json +1955 -0
  11. data/apis/{cloudsearch-2013-01-01.paginators.json → CloudSearch.paginators.json} +0 -0
  12. data/apis/CloudSearchDomain.api.json +349 -0
  13. data/apis/CloudTrail.api.json +559 -0
  14. data/apis/{cloudtrail-2013-11-01.paginators.json → CloudTrail.paginators.json} +0 -0
  15. data/apis/CloudWatch.api.json +917 -0
  16. data/apis/{monitoring-2010-08-01.paginators.json → CloudWatch.paginators.json} +0 -0
  17. data/apis/CloudWatchLogs.api.json +816 -0
  18. data/apis/{logs-2014-03-28.paginators.json → CloudWatchLogs.paginators.json} +0 -0
  19. data/apis/CognitoIdentity.api.json +631 -0
  20. data/apis/CognitoSync.api.json +721 -0
  21. data/apis/DataPipeline.api.json +940 -0
  22. data/apis/{datapipeline-2012-10-29.paginators.json → DataPipeline.paginators.json} +0 -0
  23. data/apis/DirectConnect.api.json +833 -0
  24. data/apis/{directconnect-2012-10-25.paginators.json → DirectConnect.paginators.json} +0 -0
  25. data/apis/DynamoDB.api.json +1210 -0
  26. data/apis/{dynamodb-2011-12-05.paginators.json → DynamoDB.paginators.json} +0 -0
  27. data/apis/{dynamodb-2012-08-10.waiters.json → DynamoDB.waiters.json} +0 -0
  28. data/apis/EC2.api.json +9914 -0
  29. data/apis/{ec2-2014-06-15.paginators.json → EC2.paginators.json} +0 -0
  30. data/apis/{ec2-2014-06-15.resources.json → EC2.resources.json} +0 -0
  31. data/apis/{ec2-2014-06-15.waiters.json → EC2.waiters.json} +0 -0
  32. data/apis/EMR.api.json +1339 -0
  33. data/apis/{elasticmapreduce-2009-03-31.paginators.json → EMR.paginators.json} +0 -0
  34. data/apis/ElastiCache.api.json +3410 -0
  35. data/apis/{elasticache-2014-03-24.paginators.json → ElastiCache.paginators.json} +0 -0
  36. data/apis/ElasticBeanstalk.api.json +1540 -0
  37. data/apis/{elasticbeanstalk-2010-12-01.paginators.json → ElasticBeanstalk.paginators.json} +0 -0
  38. data/apis/ElasticLoadBalancing.api.json +2131 -0
  39. data/apis/{elasticloadbalancing-2012-06-01.paginators.json → ElasticLoadBalancing.paginators.json} +0 -0
  40. data/apis/ElasticTranscoder.api.json +1647 -0
  41. data/apis/{elastictranscoder-2012-09-25.paginators.json → ElasticTranscoder.paginators.json} +0 -0
  42. data/apis/Glacier.api.json +1456 -0
  43. data/apis/{glacier-2012-06-01.paginators.json → Glacier.paginators.json} +0 -0
  44. data/apis/{glacier-2012-06-01.resources.json → Glacier.resources.json} +0 -0
  45. data/apis/{glacier-2012-06-01.waiters.json → Glacier.waiters.json} +0 -0
  46. data/apis/IAM.api.json +4033 -0
  47. data/apis/{iam-2010-05-08.paginators.json → IAM.paginators.json} +0 -0
  48. data/apis/{iam-2010-05-08.resources.json → IAM.resources.json} +0 -0
  49. data/apis/ImportExport.api.json +515 -0
  50. data/apis/{importexport-2010-06-01.paginators.json → ImportExport.paginators.json} +0 -0
  51. data/apis/Kinesis.api.json +548 -0
  52. data/apis/{kinesis-2013-12-02.paginators.json → Kinesis.paginators.json} +0 -0
  53. data/apis/OpsWorks.api.json +2524 -0
  54. data/apis/{opsworks-2013-02-18.paginators.json → OpsWorks.paginators.json} +0 -0
  55. data/apis/RDS.api.json +4473 -0
  56. data/apis/{rds-2013-02-12.paginators.json → RDS.paginators.json} +0 -0
  57. data/apis/{rds-2013-09-09.waiters.json → RDS.waiters.json} +0 -0
  58. data/apis/Redshift.api.json +4482 -0
  59. data/apis/{redshift-2012-12-01.paginators.json → Redshift.paginators.json} +0 -0
  60. data/apis/{redshift-2012-12-01.waiters.json → Redshift.waiters.json} +0 -0
  61. data/apis/Route53.api.json +1935 -0
  62. data/apis/{route53-2013-04-01.paginators.json → Route53.paginators.json} +0 -0
  63. data/apis/Route53Domains.api.json +1129 -0
  64. data/apis/{s3-2006-03-01.api.json → S3.api.json} +336 -942
  65. data/apis/{s3-2006-03-01.paginators.json → S3.paginators.json} +1 -1
  66. data/apis/{s3-2006-03-01.resources.json → S3.resources.json} +0 -0
  67. data/apis/{s3-2006-03-01.waiters.json → S3.waiters.json} +0 -0
  68. data/apis/SES.api.json +644 -0
  69. data/apis/{email-2010-12-01.paginators.json → SES.paginators.json} +0 -0
  70. data/apis/{email-2010-12-01.waiters.json → SES.waiters.json} +0 -0
  71. data/apis/SNS.api.json +1760 -0
  72. data/apis/{sns-2010-03-31.paginators.json → SNS.paginators.json} +0 -0
  73. data/apis/{sns-2010-03-31.resources.json → SNS.resources.json} +0 -0
  74. data/apis/SQS.api.json +1113 -0
  75. data/apis/{sqs-2012-11-05.paginators.json → SQS.paginators.json} +0 -0
  76. data/apis/{sqs-2012-11-05.resources.json → SQS.resources.json} +0 -0
  77. data/apis/STS.api.json +594 -0
  78. data/apis/SWF.api.json +2656 -0
  79. data/apis/{swf-2012-01-25.paginators.json → SWF.paginators.json} +0 -0
  80. data/apis/SimpleDB.api.json +954 -0
  81. data/apis/{sdb-2009-04-15.paginators.json → SimpleDB.paginators.json} +0 -0
  82. data/apis/StorageGateway.api.json +2311 -0
  83. data/apis/{storagegateway-2013-06-30.paginators.json → StorageGateway.paginators.json} +0 -0
  84. data/apis/Support.api.json +869 -0
  85. data/apis/{support-2013-04-15.paginators.json → Support.paginators.json} +0 -0
  86. data/lib/aws.rb +96 -53
  87. data/lib/aws/api/documenter.rb +238 -0
  88. data/lib/aws/api/{documentor.rb → operation_documenter.rb} +9 -5
  89. data/lib/aws/api/{doc_example.rb → operation_example.rb} +8 -7
  90. data/lib/aws/api/service_customizations.rb +3 -1
  91. data/lib/aws/client.rb +38 -0
  92. data/lib/aws/credential_provider_chain.rb +1 -0
  93. data/lib/aws/dynamodb/attribute_value.rb +87 -0
  94. data/lib/aws/empty_structure.rb +4 -3
  95. data/lib/aws/endpoint_provider.rb +1 -0
  96. data/lib/aws/errors.rb +2 -0
  97. data/lib/aws/instance_profile_credentials.rb +1 -1
  98. data/lib/aws/plugins/csd_conditional_signing.rb +32 -0
  99. data/lib/aws/plugins/dynamodb_simple_attributes.rb +179 -0
  100. data/lib/aws/plugins/global_configuration.rb +13 -3
  101. data/lib/aws/plugins/protocols/json_rpc.rb +9 -7
  102. data/lib/aws/plugins/regional_endpoint.rb +1 -1
  103. data/lib/aws/plugins/request_signer.rb +13 -6
  104. data/lib/aws/plugins/response_paging.rb +1 -2
  105. data/lib/aws/plugins/s3_url_encoded_keys.rb +92 -0
  106. data/lib/aws/plugins/user_agent.rb +1 -2
  107. data/lib/aws/signers/v4.rb +1 -1
  108. data/lib/aws/structure.rb +49 -2
  109. data/lib/aws/version.rb +1 -1
  110. data/lib/aws/xml/builder.rb +1 -0
  111. data/lib/seahorse.rb +2 -1
  112. data/lib/seahorse/client/handler_list.rb +10 -3
  113. data/lib/seahorse/client/http/request.rb +0 -8
  114. data/lib/seahorse/client/xml/builder.rb +0 -1
  115. data/lib/seahorse/model/shape_map.rb +1 -0
  116. data/lib/seahorse/model/shapes.rb +5 -0
  117. metadata +93 -107
  118. data/apis/autoscaling-2011-01-01.api.json +0 -3063
  119. data/apis/cloudformation-2010-05-15.api.json +0 -1306
  120. data/apis/cloudfront-2014-01-31.api.json +0 -3478
  121. data/apis/cloudfront-2014-01-31.paginators.json +0 -32
  122. data/apis/cloudfront-2014-05-31.api.json +0 -3540
  123. data/apis/cloudfront-2014-05-31.waiters.json +0 -29
  124. data/apis/cloudsearch-2011-02-01.api.json +0 -2093
  125. data/apis/cloudsearch-2011-02-01.paginators.json +0 -13
  126. data/apis/cloudsearch-2013-01-01.api.json +0 -2655
  127. data/apis/cloudsearchdomain-2013-01-01.api.json +0 -508
  128. data/apis/cloudtrail-2013-11-01.api.json +0 -773
  129. data/apis/cognito-identity-2014-06-30.api.json +0 -884
  130. data/apis/cognito-sync-2014-06-30.api.json +0 -1029
  131. data/apis/datapipeline-2012-10-29.api.json +0 -1432
  132. data/apis/directconnect-2012-10-25.api.json +0 -1174
  133. data/apis/dynamodb-2011-12-05.api.json +0 -1208
  134. data/apis/dynamodb-2011-12-05.waiters.json +0 -27
  135. data/apis/dynamodb-2012-08-10.api.json +0 -1857
  136. data/apis/dynamodb-2012-08-10.paginators.json +0 -26
  137. data/apis/ec2-2014-06-15.api.json +0 -11670
  138. data/apis/elasticache-2014-03-24.api.json +0 -4789
  139. data/apis/elasticache-2014-07-15.api.json +0 -4826
  140. data/apis/elasticache-2014-07-15.paginators.json +0 -76
  141. data/apis/elasticbeanstalk-2010-12-01.api.json +0 -2442
  142. data/apis/elasticloadbalancing-2012-06-01.api.json +0 -2605
  143. data/apis/elasticmapreduce-2009-03-31.api.json +0 -2282
  144. data/apis/elastictranscoder-2012-09-25.api.json +0 -2478
  145. data/apis/email-2010-12-01.api.json +0 -954
  146. data/apis/glacier-2012-06-01.api.json +0 -2012
  147. data/apis/iam-2010-05-08.api.json +0 -5322
  148. data/apis/importexport-2010-06-01.api.json +0 -687
  149. data/apis/kinesis-2013-12-02.api.json +0 -769
  150. data/apis/logs-2014-03-28.api.json +0 -942
  151. data/apis/manifest.json +0 -259
  152. data/apis/monitoring-2010-08-01.api.json +0 -1338
  153. data/apis/opsworks-2013-02-18.api.json +0 -4348
  154. data/apis/rds-2013-01-10.api.json +0 -6074
  155. data/apis/rds-2013-01-10.paginators.json +0 -97
  156. data/apis/rds-2013-02-12.api.json +0 -6392
  157. data/apis/rds-2013-09-09.api.json +0 -6564
  158. data/apis/rds-2013-09-09.paginators.json +0 -110
  159. data/apis/redshift-2012-12-01.api.json +0 -6318
  160. data/apis/route53-2013-04-01.api.json +0 -2493
  161. data/apis/route53domains-2014-05-15.api.json +0 -1622
  162. data/apis/sdb-2009-04-15.api.json +0 -1178
  163. data/apis/sns-2010-03-31.api.json +0 -2275
  164. data/apis/sqs-2012-11-05.api.json +0 -1438
  165. data/apis/storagegateway-2013-06-30.api.json +0 -3153
  166. data/apis/sts-2011-06-15.api.json +0 -786
  167. data/apis/support-2013-04-15.api.json +0 -1379
  168. data/apis/swf-2012-01-25.api.json +0 -4463
  169. data/lib/aws/api/manifest.rb +0 -29
  170. data/lib/aws/api/manifest_builder.rb +0 -57
  171. data/lib/aws/api/minifier.rb +0 -42
  172. data/lib/aws/response_handler.rb +0 -38
  173. data/lib/aws/service_builder.rb +0 -56
@@ -1,769 +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
- "protocol":"json"
11
- },
12
- "documentation":"<fullname>Amazon Kinesis Service API Reference</fullname> <p>Amazon Kinesis is a managed service that scales elastically for real time processing of streaming big data.</p>",
13
- "operations":{
14
- "CreateStream":{
15
- "name":"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>. 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> <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. 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> <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. 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> <p><code>CreateStream</code> is an asynchronous operation. Upon receiving a <code>CreateStream</code> request, Amazon Kinesis immediately returns and sets the stream status to CREATING. After the stream is created, Amazon Kinesis sets the stream status to ACTIVE. You should perform read and write operations only on an ACTIVE stream. </p> <p>You receive a <code>LimitExceededException</code> when making a <code>CreateStream</code> request if you try to do one of the following:</p> <ul> <li>Have more than five streams in the CREATING state at any point in time.</li> <li>Create more shards than are authorized for your account.</li> </ul> <p><b>Note:</b> The default limit for an AWS account is 10 shards per stream. 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> <p>You can use the <code>DescribeStream</code> operation to check the stream status, which is returned in <code>StreamStatus</code>.</p> <p><code>CreateStream</code> has a limit of 5 transactions per second per account.</p>"
39
- },
40
- "DeleteStream":{
41
- "name":"DeleteStream",
42
- "http":{
43
- "method":"POST",
44
- "requestUri":"/"
45
- },
46
- "input":{
47
- "shape":"DeleteStreamInput",
48
- "documentation":"<p>Represents the input of a <code>DeleteStream</code> operation.</p>"
49
- },
50
- "errors":[
51
- {
52
- "shape":"ResourceNotFoundException",
53
- "exception":true
54
- },
55
- {
56
- "shape":"LimitExceededException",
57
- "exception":true
58
- }
59
- ],
60
- "documentation":"<p>This operation deletes a stream and all of its shards and data. You must shut down any applications that are operating on the stream before you delete the stream. If an application attempts to operate on a deleted stream, it will receive the exception <code>ResourceNotFoundException</code>.</p> <p>If the stream is in the ACTIVE state, you can delete it. After a <code>DeleteStream</code> request, the specified stream is in the DELETING state until Amazon Kinesis completes the deletion.</p> <p><b>Note:</b> Amazon Kinesis might continue to accept data read and write operations, such as <a>PutRecord</a> and <a>GetRecords</a>, on a stream in the DELETING state until the stream deletion is complete.</p> <p>When you delete a stream, any shards in that stream are also deleted.</p> <p>You can use the <a>DescribeStream</a> operation to check the state of the stream, which is returned in <code>StreamStatus</code>.</p> <p><code>DeleteStream</code> has a limit of 5 transactions per second per account.</p>"
61
- },
62
- "DescribeStream":{
63
- "name":"DescribeStream",
64
- "http":{
65
- "method":"POST",
66
- "requestUri":"/"
67
- },
68
- "input":{
69
- "shape":"DescribeStreamInput",
70
- "documentation":"<p>Represents the input of a <code>DescribeStream</code> operation.</p>"
71
- },
72
- "output":{
73
- "shape":"DescribeStreamOutput",
74
- "documentation":"<p>Represents the output of a <code>DescribeStream</code> operation.</p>"
75
- },
76
- "errors":[
77
- {
78
- "shape":"ResourceNotFoundException",
79
- "exception":true
80
- },
81
- {
82
- "shape":"LimitExceededException",
83
- "exception":true
84
- }
85
- ],
86
- "documentation":"<p>This operation returns the following information about the stream: the current status of the stream, the stream Amazon Resource Name (ARN), 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, 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. A sequence number is the identifier associated with every record ingested in the Amazon Kinesis stream. The sequence number is assigned by the Amazon Kinesis service when a record is put into the stream. </p> <p>You can limit the number of returned shards using the <code>Limit</code> parameter. The number of shards in a stream may be too large to return from a single call to <code>DescribeStream</code>. You can detect this by using the <code>HasMoreShards</code> flag in the returned output. <code>HasMoreShards</code> is set to <code>true</code> when there is more data available. </p> <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> request, in the <code>ExclusiveStartShardId</code> parameter in a subsequent request to <code>DescribeStream</code>. <code>DescribeStream</code> is a paginated operation. </p> <p><code>DescribeStream</code> has a limit of 10 transactions per second per account.</p>"
87
- },
88
- "GetRecords":{
89
- "name":"GetRecords",
90
- "http":{
91
- "method":"POST",
92
- "requestUri":"/"
93
- },
94
- "input":{
95
- "shape":"GetRecordsInput",
96
- "documentation":"<p>Represents the input of a <code>GetRecords</code> operation.</p>"
97
- },
98
- "output":{
99
- "shape":"GetRecordsOutput",
100
- "documentation":"<p>Represents the output of a <code>GetRecords</code> operation.</p>"
101
- },
102
- "errors":[
103
- {
104
- "shape":"ResourceNotFoundException",
105
- "exception":true
106
- },
107
- {
108
- "shape":"InvalidArgumentException",
109
- "exception":true
110
- },
111
- {
112
- "shape":"ProvisionedThroughputExceededException",
113
- "exception":true
114
- },
115
- {
116
- "shape":"ExpiredIteratorException",
117
- "exception":true
118
- }
119
- ],
120
- "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> <p>You specify a shard iterator for the shard that you want to read data from in the <code>ShardIterator</code> parameter. The shard iterator specifies the position in the shard from which you want to start reading data records sequentially. A shard iterator specifies this position using the sequence number of a data record in the shard. For more information about the shard iterator, see <a>GetShardIterator</a>.</p> <p><code>GetRecords</code> may return a partial result if the response size limit is exceeded. You will get an error, but not a partial result if the shard's provisioned throughput is exceeded, the shard iterator has expired, or an internal processing failure has occurred. Clients can request a smaller amount of data by specifying a maximum number of returned records using the <code>Limit</code> parameter. The <code>Limit</code> parameter can be set to an integer value of up to 10,000. If you set the value to an integer greater than 10,000, you will receive <code>InvalidArgumentException</code>.</p> <p>A new shard iterator is returned by every <code>GetRecords</code> request in <code>NextShardIterator</code>, which you use in the <code>ShardIterator</code> parameter of the next <code>GetRecords</code> request. When you repeatedly read from an Amazon Kinesis stream use a <a>GetShardIterator</a> request to get the first shard iterator to use in your first <code>GetRecords</code> request and then use the shard iterator returned in <code>NextShardIterator</code> for subsequent reads.</p> <p><code>GetRecords</code> can return <code>null</code> for the <code>NextShardIterator</code> to reflect that the shard has been closed and that the requested shard iterator would never have returned more data. </p> <p>If no items can be processed because of insufficient provisioned throughput on the shard involved in the request, <code>GetRecords</code> throws <code>ProvisionedThroughputExceededException</code>.</p>"
121
- },
122
- "GetShardIterator":{
123
- "name":"GetShardIterator",
124
- "http":{
125
- "method":"POST",
126
- "requestUri":"/"
127
- },
128
- "input":{
129
- "shape":"GetShardIteratorInput",
130
- "documentation":"<p>Represents the input of a <code>GetShardIterator</code> operation.</p>"
131
- },
132
- "output":{
133
- "shape":"GetShardIteratorOutput",
134
- "documentation":"<p>Represents the output of a <code>GetShardIterator</code> operation.</p>"
135
- },
136
- "errors":[
137
- {
138
- "shape":"ResourceNotFoundException",
139
- "exception":true
140
- },
141
- {
142
- "shape":"InvalidArgumentException",
143
- "exception":true
144
- },
145
- {
146
- "shape":"ProvisionedThroughputExceededException",
147
- "exception":true
148
- }
149
- ],
150
- "documentation":"<p>This operation returns a shard iterator in <code>ShardIterator</code>. The shard iterator specifies the position in the shard from which you want to start reading data records sequentially. A shard iterator specifies this position using the sequence number of a data record in a shard. A sequence number is the identifier associated with every record ingested in the Amazon Kinesis stream. The sequence number is assigned by the Amazon Kinesis service when a record is put into the stream. </p> <p>You must specify the shard iterator type in the <code>GetShardIterator</code> request. For example, you can set the <code>ShardIteratorType</code> parameter to read exactly from the position denoted by a specific sequence number by using the AT_SEQUENCE_NUMBER shard iterator type, or right after the sequence number by using the AFTER_SEQUENCE_NUMBER shard iterator type, using sequence numbers returned by earlier <a>PutRecord</a>, <a>GetRecords</a> or <a>DescribeStream</a> requests. You can specify the shard iterator type TRIM_HORIZON in the request to cause <code>ShardIterator</code> to point to the last untrimmed record in the shard in the system, which is the oldest data record in the shard. 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 read the most recent data in the shard. </p> <p><b>Note:</b> Each shard iterator expires five minutes after it is returned to the requester.</p> <p>When you repeatedly read from an Amazon Kinesis stream use a <a>GetShardIterator</a> request to get the first shard iterator to to use in your first <code>GetRecords</code> request and then use the shard iterator returned by the <code>GetRecords</code> request in <code>NextShardIterator</code> for subsequent reads. A new shard iterator is returned by every <code>GetRecords</code> request in <code>NextShardIterator</code>, which you use in the <code>ShardIterator</code> parameter of the next <code>GetRecords</code> request. </p> <p>If a <code>GetShardIterator</code> request is made too often, you will receive a <code>ProvisionedThroughputExceededException</code>. For more information about throughput limits, see the <a href=\"http://docs.aws.amazon.com/kinesis/latest/dev/\">Amazon Kinesis Developer Guide</a>. </p> <p><code>GetShardIterator</code> can return <code>null</code> for its <code>ShardIterator</code> to indicate that the shard has been closed 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> <p><code>GetShardIterator</code> has a limit of 5 transactions per second per account per open shard.</p>"
151
- },
152
- "ListStreams":{
153
- "name":"ListStreams",
154
- "http":{
155
- "method":"POST",
156
- "requestUri":"/"
157
- },
158
- "input":{
159
- "shape":"ListStreamsInput",
160
- "documentation":"<p>Represents the input of a <code>ListStreams</code> operation.</p>"
161
- },
162
- "output":{
163
- "shape":"ListStreamsOutput",
164
- "documentation":"<p>Represents the output of a <code>ListStreams</code> operation.</p>"
165
- },
166
- "errors":[
167
- {
168
- "shape":"LimitExceededException",
169
- "exception":true
170
- }
171
- ],
172
- "documentation":"<p> This operation returns an array of the names of all the streams that are associated with the AWS account making the <code>ListStreams</code> request. A given AWS account can have many streams active at one time. </p> <p> The number of streams may be too large to return from a single call to <code>ListStreams</code>. You can limit the number of returned streams using the <code>Limit</code> parameter. If you do not specify a value for the <code>Limit</code> parameter, Amazon Kinesis uses the default limit, which is currently 10.</p> <p> You can detect if there are more streams available to list by using the <code>HasMoreStreams</code> flag from the returned output. 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> request in the <code>ExclusiveStartStreamName</code> parameter in a subsequent request to <code>ListStreams</code>. The group of stream names returned by the subsequent request is then added to the list. You can continue this process until all the stream names have been collected in the list. </p> <p><code>ListStreams</code> has a limit of 5 transactions per second per account.</p>"
173
- },
174
- "MergeShards":{
175
- "name":"MergeShards",
176
- "http":{
177
- "method":"POST",
178
- "requestUri":"/"
179
- },
180
- "input":{
181
- "shape":"MergeShardsInput",
182
- "documentation":"<p>Represents the input of a <code>MergeShards</code> operation.</p>"
183
- },
184
- "errors":[
185
- {
186
- "shape":"ResourceNotFoundException",
187
- "exception":true
188
- },
189
- {
190
- "shape":"ResourceInUseException",
191
- "exception":true
192
- },
193
- {
194
- "shape":"InvalidArgumentException",
195
- "exception":true
196
- },
197
- {
198
- "shape":"LimitExceededException",
199
- "exception":true
200
- }
201
- ],
202
- "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. Two shards are considered adjacent if the union of the hash key ranges for the two shards form a contiguous set with no gaps. 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, then you could merge these two shards into a single shard that would have a hash key range of 276...454. After the merge, the single child shard receives data for all hash key values covered by the two parent shards.</p> <p><code>MergeShards</code> is called when there is a need to reduce the overall capacity of a stream because of excess capacity that is not being used. The operation requires that you specify the shard to be merged and the adjacent shard for a given stream. For more information about merging shards, see the <a href=\"http://docs.aws.amazon.com/kinesis/latest/dev/\">Amazon Kinesis Developer Guide</a>.</p> <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, then Amazon Kinesis returns a <code>ResourceInUseException</code>. If the specified stream does not exist, Amazon Kinesis returns a <code>ResourceNotFoundException</code>. </p> <p>You can use the <a>DescribeStream</a> operation to check the state of the stream, which is returned in <code>StreamStatus</code>.</p> <p><code>MergeShards</code> is an asynchronous operation. Upon receiving a <code>MergeShards</code> request, Amazon Kinesis immediately returns a response and sets the <code>StreamStatus</code> to UPDATING. After the operation is completed, Amazon Kinesis sets the <code>StreamStatus</code> to ACTIVE. Read and write operations continue to work while the stream is in the UPDATING state. </p> <p>You use the <a>DescribeStream</a> operation to determine the shard IDs that are specified in the <code>MergeShards</code> request. </p> <p>If you try to operate on too many streams in parallel using <a>CreateStream</a>, <a>DeleteStream</a>, <code>MergeShards</code> or <a>SplitShard</a>, you will receive a <code>LimitExceededException</code>. </p> <p><code>MergeShards</code> has limit of 5 transactions per second per account.</p>"
203
- },
204
- "PutRecord":{
205
- "name":"PutRecord",
206
- "http":{
207
- "method":"POST",
208
- "requestUri":"/"
209
- },
210
- "input":{
211
- "shape":"PutRecordInput",
212
- "documentation":"<p>Represents the input of a <code>PutRecord</code> operation.</p>"
213
- },
214
- "output":{
215
- "shape":"PutRecordOutput",
216
- "documentation":"<p>Represents the output of a <code>PutRecord</code> operation.</p>"
217
- },
218
- "errors":[
219
- {
220
- "shape":"ResourceNotFoundException",
221
- "exception":true
222
- },
223
- {
224
- "shape":"InvalidArgumentException",
225
- "exception":true
226
- },
227
- {
228
- "shape":"ProvisionedThroughputExceededException",
229
- "exception":true
230
- }
231
- ],
232
- "documentation":"<p>This operation puts a data record into an Amazon Kinesis stream from a producer. This operation must be called to send data from the producer into the Amazon Kinesis stream for real-time ingestion and subsequent processing. The <code>PutRecord</code> operation requires the name of the stream that captures, stores, and transports the data; a partition key; and the data blob itself. The data blob could be a segment from a log file, geographic/location data, website clickstream data, or any other data type.</p> <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, using the partition key associated with each data record to determine which shard a given data record belongs to. </p> <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 integer values and to map associated data records to shards using the hash key ranges of the shards. You can override hashing the partition key to determine the shard by explicitly specifying a hash value using the <code>ExplicitHashKey</code> parameter. For more information, see the <a href=\"http://docs.aws.amazon.com/kinesis/latest/dev/\">Amazon Kinesis Developer Guide</a>.</p> <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> <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> <p>If a <code>PutRecord</code> request cannot be processed because of insufficient provisioned throughput on the shard involved in the request, <code>PutRecord</code> throws <code>ProvisionedThroughputExceededException</code>. </p> <p>Data records are accessible for only 24 hours from the time that they are added to an Amazon Kinesis stream.</p>"
233
- },
234
- "SplitShard":{
235
- "name":"SplitShard",
236
- "http":{
237
- "method":"POST",
238
- "requestUri":"/"
239
- },
240
- "input":{
241
- "shape":"SplitShardInput",
242
- "documentation":"<p>Represents the input of a <code>SplitShard</code> operation.</p>"
243
- },
244
- "errors":[
245
- {
246
- "shape":"ResourceNotFoundException",
247
- "exception":true
248
- },
249
- {
250
- "shape":"ResourceInUseException",
251
- "exception":true
252
- },
253
- {
254
- "shape":"InvalidArgumentException",
255
- "exception":true
256
- },
257
- {
258
- "shape":"LimitExceededException",
259
- "exception":true
260
- }
261
- ],
262
- "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. <code>SplitShard</code> is called when there is a need to increase the overall capacity of stream because of an expected increase in the volume of data records being ingested. </p> <p><code>SplitShard</code> can also be used when a given shard appears to be approaching its maximum utilization, for example, when the set of producers sending data into the specific shard are suddenly sending more than previously anticipated. You can also call the <code>SplitShard</code> operation to increase stream capacity, so that more Amazon Kinesis applications can simultaneously read data from the stream for real-time processing. </p> <p>The <code>SplitShard</code> operation requires that you specify the shard to be split and the new hash key, which is the position in the shard where the shard gets split in two. In many cases, the new hash key might simply be the average of the beginning and ending hash key, but it can be any hash key value in the range being mapped into the shard. For more information about splitting shards, see the <a href=\"http://docs.aws.amazon.com/kinesis/latest/dev/\">Amazon Kinesis Developer Guide</a>. </p> <p>You can use the <a>DescribeStream</a> operation to determine the shard ID and hash key values for the <code>ShardToSplit</code> and <code>NewStartingHashKey</code> parameters that are specified in the <code>SplitShard</code> request.</p> <p><code>SplitShard</code> is an asynchronous operation. Upon receiving a <code>SplitShard</code> request, Amazon Kinesis immediately returns a response and sets the stream status to UPDATING. After the operation is completed, Amazon Kinesis sets the stream status to ACTIVE. Read and write operations continue to work while the stream is in the UPDATING state. </p> <p>You can use <code>DescribeStream</code> to check the status of the stream, which is returned in <code>StreamStatus</code>. If the stream is in the ACTIVE state, you can call <code>SplitShard</code>. If a stream is in CREATING or UPDATING or DELETING states, then Amazon Kinesis returns a <code>ResourceInUseException</code>.</p> <p>If the specified stream does not exist, Amazon Kinesis returns a <code>ResourceNotFoundException</code>. If you try to create more shards than are authorized for your account, you receive a <code>LimitExceededException</code>. </p> <p><b>Note:</b> The default limit for an AWS account is 10 shards per stream. 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> <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>, you will receive a <code>LimitExceededException</code>. </p> <p><code>SplitShard</code> has limit of 5 transactions per second per account.</p>"
263
- }
264
- },
265
- "shapes":{
266
- "BooleanObject":{"type":"boolean"},
267
- "CreateStreamInput":{
268
- "type":"structure",
269
- "required":[
270
- "StreamName",
271
- "ShardCount"
272
- ],
273
- "members":{
274
- "StreamName":{
275
- "shape":"StreamName",
276
- "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. It is also scoped by region. That is, two streams in two different AWS accounts can have the same name, and two streams in the same AWS account, but in two different regions, can have the same name.</p>"
277
- },
278
- "ShardCount":{
279
- "shape":"PositiveIntegerObject",
280
- "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 provisioned throughput.</p> <p><b>Note:</b> The default limit for an AWS account is 10 shards per stream. 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>"
281
- }
282
- },
283
- "documentation":"<p>Represents the input of a <code>CreateStream</code> operation.</p>"
284
- },
285
- "Data":{
286
- "type":"blob",
287
- "min":0,
288
- "max":51200
289
- },
290
- "DeleteStreamInput":{
291
- "type":"structure",
292
- "required":["StreamName"],
293
- "members":{
294
- "StreamName":{
295
- "shape":"StreamName",
296
- "documentation":"<p>The name of the stream to delete.</p>"
297
- }
298
- },
299
- "documentation":"<p>Represents the input of a <code>DeleteStream</code> operation.</p>"
300
- },
301
- "DescribeStreamInput":{
302
- "type":"structure",
303
- "required":["StreamName"],
304
- "members":{
305
- "StreamName":{
306
- "shape":"StreamName",
307
- "documentation":"<p>The name of the stream to describe.</p>"
308
- },
309
- "Limit":{
310
- "shape":"DescribeStreamInputLimit",
311
- "documentation":"<p>The maximum number of shards to return.</p>"
312
- },
313
- "ExclusiveStartShardId":{
314
- "shape":"ShardId",
315
- "documentation":"<p>The shard ID of the shard to start with for the stream description.</p>"
316
- }
317
- },
318
- "documentation":"<p>Represents the input of a <code>DescribeStream</code> operation.</p>"
319
- },
320
- "DescribeStreamInputLimit":{
321
- "type":"integer",
322
- "min":1,
323
- "max":10000
324
- },
325
- "DescribeStreamOutput":{
326
- "type":"structure",
327
- "required":["StreamDescription"],
328
- "members":{
329
- "StreamDescription":{
330
- "shape":"StreamDescription",
331
- "documentation":"<p>Contains the current status of the stream, the stream ARN, an array of shard objects that comprise the stream, and states whether there are more shards available.</p>"
332
- }
333
- },
334
- "documentation":"<p>Represents the output of a <code>DescribeStream</code> operation.</p>"
335
- },
336
- "ErrorMessage":{"type":"string"},
337
- "ExpiredIteratorException":{
338
- "type":"structure",
339
- "members":{
340
- "message":{"shape":"ErrorMessage"}
341
- },
342
- "exception":true
343
- },
344
- "GetRecordsInput":{
345
- "type":"structure",
346
- "required":["ShardIterator"],
347
- "members":{
348
- "ShardIterator":{
349
- "shape":"ShardIterator",
350
- "documentation":"<p>The position in the shard from which you want to start sequentially reading data records.</p>"
351
- },
352
- "Limit":{
353
- "shape":"GetRecordsInputLimit",
354
- "documentation":"<p>The maximum number of records to return, which can be set to a value of up to 10,000.</p>"
355
- }
356
- },
357
- "documentation":"<p>Represents the input of a <code>GetRecords</code> operation.</p>"
358
- },
359
- "GetRecordsInputLimit":{
360
- "type":"integer",
361
- "min":1,
362
- "max":10000
363
- },
364
- "GetRecordsOutput":{
365
- "type":"structure",
366
- "required":["Records"],
367
- "members":{
368
- "Records":{
369
- "shape":"RecordList",
370
- "documentation":"<P>The data records retrieved from the shard.</P>"
371
- },
372
- "NextShardIterator":{
373
- "shape":"ShardIterator",
374
- "documentation":"<p>The next position in the shard from which to start sequentially reading data records. If set to <code>null</code>, the shard has been closed and the requested iterator will not return any more data. </p>"
375
- }
376
- },
377
- "documentation":"<p>Represents the output of a <code>GetRecords</code> operation.</p>"
378
- },
379
- "GetShardIteratorInput":{
380
- "type":"structure",
381
- "required":[
382
- "StreamName",
383
- "ShardId",
384
- "ShardIteratorType"
385
- ],
386
- "members":{
387
- "StreamName":{
388
- "shape":"StreamName",
389
- "documentation":"<p>The name of the stream.</p>"
390
- },
391
- "ShardId":{
392
- "shape":"ShardId",
393
- "documentation":"<p>The shard ID of the shard to get the iterator for.</p>"
394
- },
395
- "ShardIteratorType":{
396
- "shape":"ShardIteratorType",
397
- "documentation":"<p>Determines how the shard iterator is used to start reading data records from the shard.</p> <p>The following are the valid shard iterator types:</p> <ul> <li>AT_SEQUENCE_NUMBER - Start reading exactly from the position denoted by a specific sequence number.</li> <li>AFTER_SEQUENCE_NUMBER - Start reading right after the position denoted by a specific sequence number.</li> <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> <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> </ul>"
398
- },
399
- "StartingSequenceNumber":{
400
- "shape":"SequenceNumber",
401
- "documentation":"<p>The sequence number of the data record in the shard from which to start reading from.</p>"
402
- }
403
- },
404
- "documentation":"<p>Represents the input of a <code>GetShardIterator</code> operation.</p>"
405
- },
406
- "GetShardIteratorOutput":{
407
- "type":"structure",
408
- "members":{
409
- "ShardIterator":{
410
- "shape":"ShardIterator",
411
- "documentation":"<p>The position in the shard from which to start reading data records sequentially. A shard iterator specifies this position using the sequence number of a data record in a shard.</p>"
412
- }
413
- },
414
- "documentation":"<p>Represents the output of a <code>GetShardIterator</code> operation.</p>"
415
- },
416
- "HashKey":{
417
- "type":"string",
418
- "pattern":"0|([1-9]\\d{0,38})"
419
- },
420
- "HashKeyRange":{
421
- "type":"structure",
422
- "required":[
423
- "StartingHashKey",
424
- "EndingHashKey"
425
- ],
426
- "members":{
427
- "StartingHashKey":{
428
- "shape":"HashKey",
429
- "documentation":"<p>The starting hash key of the hash key range.</p>"
430
- },
431
- "EndingHashKey":{
432
- "shape":"HashKey",
433
- "documentation":"<p>The ending hash key of the hash key range.</p>"
434
- }
435
- },
436
- "documentation":"<p>The range of possible hash key values for the shard, which is a set of ordered contiguous positive integers.</p>"
437
- },
438
- "InvalidArgumentException":{
439
- "type":"structure",
440
- "members":{
441
- "message":{"shape":"ErrorMessage"}
442
- },
443
- "exception":true
444
- },
445
- "LimitExceededException":{
446
- "type":"structure",
447
- "members":{
448
- "message":{"shape":"ErrorMessage"}
449
- },
450
- "exception":true
451
- },
452
- "ListStreamsInput":{
453
- "type":"structure",
454
- "members":{
455
- "Limit":{
456
- "shape":"ListStreamsInputLimit",
457
- "documentation":"<p>The maximum number of streams to list.</p>"
458
- },
459
- "ExclusiveStartStreamName":{
460
- "shape":"StreamName",
461
- "documentation":"<p>The name of the stream to start the list with.</p>"
462
- }
463
- },
464
- "documentation":"<p>Represents the input of a <code>ListStreams</code> operation.</p>"
465
- },
466
- "ListStreamsInputLimit":{
467
- "type":"integer",
468
- "min":1,
469
- "max":10000
470
- },
471
- "ListStreamsOutput":{
472
- "type":"structure",
473
- "required":[
474
- "StreamNames",
475
- "HasMoreStreams"
476
- ],
477
- "members":{
478
- "StreamNames":{
479
- "shape":"StreamNameList",
480
- "documentation":"<p>The names of the streams that are associated with the AWS account making the <code>ListStreams</code> request.</p>"
481
- },
482
- "HasMoreStreams":{
483
- "shape":"BooleanObject",
484
- "documentation":"<p>If set to <code>true</code>, there are more streams available to list.</p>"
485
- }
486
- },
487
- "documentation":"<p>Represents the output of a <code>ListStreams</code> operation.</p>"
488
- },
489
- "MergeShardsInput":{
490
- "type":"structure",
491
- "required":[
492
- "StreamName",
493
- "ShardToMerge",
494
- "AdjacentShardToMerge"
495
- ],
496
- "members":{
497
- "StreamName":{
498
- "shape":"StreamName",
499
- "documentation":"<p>The name of the stream for the merge.</p>"
500
- },
501
- "ShardToMerge":{
502
- "shape":"ShardId",
503
- "documentation":"<p>The shard ID of the shard to combine with the adjacent shard for the merge.</p>"
504
- },
505
- "AdjacentShardToMerge":{
506
- "shape":"ShardId",
507
- "documentation":"<p>The shard ID of the adjacent shard for the merge.</p>"
508
- }
509
- },
510
- "documentation":"<p>Represents the input of a <code>MergeShards</code> operation.</p>"
511
- },
512
- "PartitionKey":{
513
- "type":"string",
514
- "min":1,
515
- "max":256
516
- },
517
- "PositiveIntegerObject":{
518
- "type":"integer",
519
- "min":1
520
- },
521
- "ProvisionedThroughputExceededException":{
522
- "type":"structure",
523
- "members":{
524
- "message":{"shape":"ErrorMessage"}
525
- },
526
- "exception":true
527
- },
528
- "PutRecordInput":{
529
- "type":"structure",
530
- "required":[
531
- "StreamName",
532
- "Data",
533
- "PartitionKey"
534
- ],
535
- "members":{
536
- "StreamName":{
537
- "shape":"StreamName",
538
- "documentation":"<p>The name of the stream to put the data record into.</p>"
539
- },
540
- "Data":{
541
- "shape":"Data",
542
- "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>"
543
- },
544
- "PartitionKey":{
545
- "shape":"PartitionKey",
546
- "documentation":"<p>Determines which shard in the stream the data record is assigned to. Partition keys are Unicode strings with a maximum length limit of 256 bytes. Amazon Kinesis uses the partition key as input to a hash function that maps the partition key and associated data to a specific shard. Specifically, an MD5 hash function is used to map partition keys to 128-bit integer values and to map associated data records to shards. 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>"
547
- },
548
- "ExplicitHashKey":{
549
- "shape":"HashKey",
550
- "documentation":"<p>The hash value used to explicitly determine the shard the data record is assigned to by overriding the partition key hash.</p>"
551
- },
552
- "SequenceNumberForOrdering":{
553
- "shape":"SequenceNumber",
554
- "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>"
555
- }
556
- },
557
- "documentation":"<p>Represents the input of a <code>PutRecord</code> operation.</p>"
558
- },
559
- "PutRecordOutput":{
560
- "type":"structure",
561
- "required":[
562
- "ShardId",
563
- "SequenceNumber"
564
- ],
565
- "members":{
566
- "ShardId":{
567
- "shape":"ShardId",
568
- "documentation":"<p>The shard ID of the shard where the data record was placed.</p>"
569
- },
570
- "SequenceNumber":{
571
- "shape":"SequenceNumber",
572
- "documentation":"<p>The sequence number identifier that was assigned to the put data record. The sequence number for the record is unique across all records in the stream. A sequence number is the identifier associated with every record put into the stream.</p>"
573
- }
574
- },
575
- "documentation":"<p>Represents the output of a <code>PutRecord</code> operation.</p>"
576
- },
577
- "Record":{
578
- "type":"structure",
579
- "required":[
580
- "SequenceNumber",
581
- "Data",
582
- "PartitionKey"
583
- ],
584
- "members":{
585
- "SequenceNumber":{
586
- "shape":"SequenceNumber",
587
- "documentation":"<p>The unique identifier for the record in the Amazon Kinesis stream.</p>"
588
- },
589
- "Data":{
590
- "shape":"Data",
591
- "documentation":"<p>The data blob. The data in the blob is both opaque and immutable to the Amazon Kinesis service, 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>"
592
- },
593
- "PartitionKey":{
594
- "shape":"PartitionKey",
595
- "documentation":"<p>Identifies which shard in the stream the data record is assigned to.</p>"
596
- }
597
- },
598
- "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>"
599
- },
600
- "RecordList":{
601
- "type":"list",
602
- "member":{"shape":"Record"}
603
- },
604
- "ResourceInUseException":{
605
- "type":"structure",
606
- "members":{
607
- "message":{"shape":"ErrorMessage"}
608
- },
609
- "exception":true
610
- },
611
- "ResourceNotFoundException":{
612
- "type":"structure",
613
- "members":{
614
- "message":{"shape":"ErrorMessage"}
615
- },
616
- "exception":true
617
- },
618
- "SequenceNumber":{
619
- "type":"string",
620
- "pattern":"0|([1-9]\\d{0,128})"
621
- },
622
- "SequenceNumberRange":{
623
- "type":"structure",
624
- "required":["StartingSequenceNumber"],
625
- "members":{
626
- "StartingSequenceNumber":{
627
- "shape":"SequenceNumber",
628
- "documentation":"<p>The starting sequence number for the range.</p>"
629
- },
630
- "EndingSequenceNumber":{
631
- "shape":"SequenceNumber",
632
- "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>"
633
- }
634
- },
635
- "documentation":"<p>The range of possible sequence numbers for the shard.</p>"
636
- },
637
- "Shard":{
638
- "type":"structure",
639
- "required":[
640
- "ShardId",
641
- "HashKeyRange",
642
- "SequenceNumberRange"
643
- ],
644
- "members":{
645
- "ShardId":{
646
- "shape":"ShardId",
647
- "documentation":"<p>The unique identifier of the shard within the Amazon Kinesis stream.</p>"
648
- },
649
- "ParentShardId":{
650
- "shape":"ShardId",
651
- "documentation":"<p>The shard Id of the shard's parent.</p>"
652
- },
653
- "AdjacentParentShardId":{
654
- "shape":"ShardId",
655
- "documentation":"<p>The shard Id of the shard adjacent to the shard's parent.</p>"
656
- },
657
- "HashKeyRange":{
658
- "shape":"HashKeyRange",
659
- "documentation":"<p>The range of possible hash key values for the shard, which is a set of ordered contiguous positive integers.</p>"
660
- },
661
- "SequenceNumberRange":{
662
- "shape":"SequenceNumberRange",
663
- "documentation":"<p>The range of possible sequence numbers for the shard.</p>"
664
- }
665
- },
666
- "documentation":"<p>A uniquely identified group of data records in an Amazon Kinesis stream.</p>"
667
- },
668
- "ShardId":{
669
- "type":"string",
670
- "min":1,
671
- "max":128,
672
- "pattern":"[a-zA-Z0-9_.-]+"
673
- },
674
- "ShardIterator":{
675
- "type":"string",
676
- "min":1,
677
- "max":512
678
- },
679
- "ShardIteratorType":{
680
- "type":"string",
681
- "enum":[
682
- "AT_SEQUENCE_NUMBER",
683
- "AFTER_SEQUENCE_NUMBER",
684
- "TRIM_HORIZON",
685
- "LATEST"
686
- ]
687
- },
688
- "ShardList":{
689
- "type":"list",
690
- "member":{"shape":"Shard"}
691
- },
692
- "SplitShardInput":{
693
- "type":"structure",
694
- "required":[
695
- "StreamName",
696
- "ShardToSplit",
697
- "NewStartingHashKey"
698
- ],
699
- "members":{
700
- "StreamName":{
701
- "shape":"StreamName",
702
- "documentation":"<p>The name of the stream for the shard split.</p>"
703
- },
704
- "ShardToSplit":{
705
- "shape":"ShardId",
706
- "documentation":"<p>The shard ID of the shard to split.</p>"
707
- },
708
- "NewStartingHashKey":{
709
- "shape":"HashKey",
710
- "documentation":"<p>A hash key value for the starting hash key of one of the child shards created by the split. The hash key range for a given shard constitutes a set of ordered contiguous positive integers. The value for <code>NewStartingHashKey</code> must be in the range of hash keys being mapped into the shard. 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. All the lower hash key values in the range are distributed to the other child shard.</p>"
711
- }
712
- },
713
- "documentation":"<p>Represents the input of a <code>SplitShard</code> operation.</p>"
714
- },
715
- "StreamARN":{"type":"string"},
716
- "StreamDescription":{
717
- "type":"structure",
718
- "required":[
719
- "StreamName",
720
- "StreamARN",
721
- "StreamStatus",
722
- "Shards",
723
- "HasMoreShards"
724
- ],
725
- "members":{
726
- "StreamName":{
727
- "shape":"StreamName",
728
- "documentation":"<p>The name of the stream being described.</p>"
729
- },
730
- "StreamARN":{
731
- "shape":"StreamARN",
732
- "documentation":"<p>The Amazon Resource Name (ARN) for the stream being described.</p>"
733
- },
734
- "StreamStatus":{
735
- "shape":"StreamStatus",
736
- "documentation":"<p>The current status of the stream being described.</p> <p>The stream status is one of the following states:</p> <ul> <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> <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> <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> <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> </ul>"
737
- },
738
- "Shards":{
739
- "shape":"ShardList",
740
- "documentation":"<p>The shards that comprise the stream.</p>"
741
- },
742
- "HasMoreShards":{
743
- "shape":"BooleanObject",
744
- "documentation":"<p>If set to <code>true</code> there are more shards in the stream available to describe.</p>"
745
- }
746
- },
747
- "documentation":"<p>Represents the output of a <code>DescribeStream</code> operation.</p>"
748
- },
749
- "StreamName":{
750
- "type":"string",
751
- "min":1,
752
- "max":128,
753
- "pattern":"[a-zA-Z0-9_.-]+"
754
- },
755
- "StreamNameList":{
756
- "type":"list",
757
- "member":{"shape":"StreamName"}
758
- },
759
- "StreamStatus":{
760
- "type":"string",
761
- "enum":[
762
- "CREATING",
763
- "DELETING",
764
- "ACTIVE",
765
- "UPDATING"
766
- ]
767
- }
768
- }
769
- }