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?

asked 2 years ago542 views
2 Answers
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
EXPERT
kentrad
answered 2 years ago
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}} ).

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions