Access a table in the cloud using PHP

0

Hi I'm new using DynamoDb and i have one question. How i can access my table located in the cloud of DynamoDb with PHP?

已提問 2 年前檢視次數 554 次
2 個答案
1

Here are two resources that have code examples for accessing DynamoDB using PHP:

  1. PHP and DynamoDB
  2. PHP Code Samples for Amazon DynamoDB

Also see: Credentials for the AWS SDK for PHP Version 3 to setup your credentials.

profile pictureAWS
專家
kentrad
已回答 2 年前
0

Thank you Now i have a problem when i try access my table using the next command. ( aws dynamodb get-item --consistent-read --table-name dynamoEwon --key '{"DeviceID": {"S","1"}}' ). the error is (Error parsing parameter '--key': Invalid JSON: Expecting property name enclosed in double quotes: line 1 column 2 (char 1) JSON received: {DeviceID: {S,1}} ).

已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南