Sailesh Sriram
Sailesh Sriram

Reputation: 144

getApproximateCreationDateTime() API not available with DynamoDB StreamRecord object

I'm working on a POC around DynamoDB Streams and was following this documentation.

The StreamRecord object I get from calling Record.getDynamodb() method, doesn't seem to have the ApproximateCreationDateTime attribute, as mentioned in the javadocs here.

I was wondering if this field has been deprecated and the docs have not been updated or if I'm going wrong else where.

Upvotes: 0

Views: 263

Answers (1)

Alexander Patrikalakis
Alexander Patrikalakis

Reputation: 5205

Please update your SDK version. SDK version 1.10.5 introduced Streams to the API, and SDK version 1.11.7 added approximateCreationDateTime to the StreamRecord class.

Upvotes: 1

Related Questions