亚马逊为其Dynamodb产品提供本地模拟器,但示例仅在PHP中.
这些示例提到传递参数"base_url"以指定您正在使用本地Dynamodb,但是在Node中返回此错误:
{ [UnrecognizedClientException: The security token included in the request is invalid.]
message: 'The security token included in the request is invalid.',
code: 'UnrecognizedClientException',
name: 'UnrecognizedClientException',
statusCode: 400,
retryable: false }
Run Code Online (Sandbox Code Playgroud)
如何让Dynamodb_local在Node中工作?