Skip to content
This repository has been archived by the owner on Feb 9, 2021. It is now read-only.

Commit

Permalink
Add EnhancedMonitoring and AT_TIMESTAMP to validations
Browse files Browse the repository at this point in the history
  • Loading branch information
mhart committed Jun 29, 2016
1 parent 97de214 commit cf059b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions actions/createStream.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ module.exports = function createStream(store, data, cb) {
}
stream = {
RetentionPeriodHours: 24,
EnhancedMonitoring: [{ShardLevelMetrics: []}],
HasMoreShards: false,
Shards: [],
StreamARN: 'arn:aws:kinesis:' + metaDb.awsRegion + ':' + metaDb.awsAccountId + ':stream/' + data.StreamName,
Expand Down
2 changes: 1 addition & 1 deletion validations/getShardIterator.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ exports.types = {
ShardIteratorType: {
type: 'String',
notNull: true,
enum: ['AFTER_SEQUENCE_NUMBER', 'LATEST', 'AT_SEQUENCE_NUMBER', 'TRIM_HORIZON'],
enum: ['AFTER_SEQUENCE_NUMBER', 'LATEST', 'AT_TIMESTAMP', 'AT_SEQUENCE_NUMBER', 'TRIM_HORIZON'],
},
StartingSequenceNumber: {
type: 'String',
Expand Down

0 comments on commit cf059b4

Please sign in to comment.