@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api Amazon DynamoDB Streams
@version 2012-08-10
@auth AWS SigV4
@endpoints 4
@toc root(4)

@endpoint POST /
@required {StreamArn: str}
@optional {Limit: int, ExclusiveStartShardId: str}
@returns(200) {StreamDescription: StreamDescription?{StreamArn: str?, StreamLabel: str?, StreamStatus: str?, StreamViewType: str?, CreationRequestDateTime: str(timestamp)?, TableName: str?, KeySchema: [KeySchemaElement]?, Shards: [Shard]?, LastEvaluatedShardId: str?}}

@endpoint POST /
@required {ShardIterator: str}
@optional {Limit: int}
@returns(200) {Records: [Record]?, NextShardIterator: str?}

@endpoint POST /
@required {StreamArn: str, ShardId: str, ShardIteratorType: str}
@optional {SequenceNumber: str}
@returns(200) {ShardIterator: str?}

@endpoint POST /
@optional {TableName: str, Limit: int, ExclusiveStartStreamArn: str}
@returns(200) {Streams: [Stream]?, LastEvaluatedStreamArn: str?}

@end
