Skip to content

Instantly share code, notes, and snippets.

@chrishamant
Created November 20, 2013 18:07
Show Gist options
  • Save chrishamant/7568030 to your computer and use it in GitHub Desktop.
Save chrishamant/7568030 to your computer and use it in GitHub Desktop.
module.exports = {
format: 'json',
apiVersion: '2013-11-04',
endpointPrefix: 'kinesis',
jsonVersion: '1.1',
serviceFullName: 'Amazon Kinesis',
signatureVersion: 'v4',
targetPrefix: 'Kinesis_20131104',
timestampFormat: 'iso8601',
operations: {
createStream : {
name: 'CreateStream',
input: {
type: 'structure',
members: {
ShardCount : {
required : true,
type : 'integer'
},
StreamName : {
required : true
}
}
},
output: {
type: 'structure',
members: {}
}
},
deleteStream : {
name: 'DeleteStream',
input: {
type: 'structure',
members: {}
},
output: {
type: 'structure',
members: {}
}
},
describeStream : {
name: 'DescribeStream',
input: {
type: 'structure',
members: {
ExclusiveStartShardId : {
required : false
},
Limit : {
required : false
},
StreamName : {
required : true
}
}
},
output: {
type: 'structure',
members: {}
}
},
getNextRecords : {
name: 'GetNextRecords',
input: {
type: 'structure',
members: {
Limit : {
required : false
},
ShardIterator : {
required : true
}
}
},
output: {
type: 'structure',
members: {}
}
},
getShardIterator : {
name: 'GetShardIterator',
input: {
type: 'structure',
members: {
StartingSequenceNumber : {
required : false
},
ShardId : {
required : true
},
ShardIteratorType : {
required : true
},
StreamName : {
required : true
}
}
},
output: {
type: 'structure',
members: {}
}
},
listStreams : {
name: 'ListStreams',
input: {
type: 'structure',
members: {}
},
output: {
type: 'structure',
members: {}
}
},
mergeShards : {
name: 'MergeShards',
input: {
type: 'structure',
members: {}
},
output: {
type: 'structure',
members: {}
}
},
putRecord : {
name: 'PutRecord',
input: {
type: 'structure',
members: {
Data : {
required : true,
type : 'base64'
},
PartitionKey : {
required : true
},
StreamName : {
required : true
},
ExclusiveMinimumSequenceNumber : {
required : false
},
ExplicitHashKey : {
required : false
}
}
},
output: {
type: 'structure',
members: {}
}
},
splitShard : {
name: 'SplitShard',
input: {
type: 'structure',
members: {}
},
output: {
type: 'structure',
members: {}
}
}
},
pagination: {
}
};
var AWS = require('../core');
AWS.Kinesis = AWS.Service.defineService('kinesis', ['2013-11-04']);
module.exports = AWS.Kinesis;
@sposmen
Copy link

sposmen commented Nov 25, 2013

Tks! You rocks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment