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?

demandé il y a 2 ans554 vues
2 réponses
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
répondu il y a 2 ans
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}} ).

répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions