简体   繁体   English

使用 golang SDK 的 Dynamo DB 表的访问创建日期

[英]Access Creation date for Dynamo DB table using golang SDK

I need to access the creation date field for the dynamo db table as part of the golang SDK.我需要访问作为 golang SDK 一部分的 dynamo db 表的创建日期字段。 Does anyone have any idea how to do this?有谁知道如何做到这一点?

It is possible to get the Table creation date using DescribeTable API.可以使用 DescribeTable API 获取表创建日期。 Please refer AWS Doc for more information . 请参阅 AWS 文档了解更多信息

Go SDK has API to DescribeTable . Go SDK 具有 API 到DescribeTable

Use the "CreationDateTime" property in the output.使用 output 中的“CreationDateTime”属性。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM