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?

posta 2 anni fa554 visualizzazioni
2 Risposte
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
ESPERTO
kentrad
con risposta 2 anni fa
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}} ).

con risposta 2 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande