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?

gefragt vor 2 Jahren554 Aufrufe
2 Antworten
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
EXPERTE
kentrad
beantwortet vor 2 Jahren
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}} ).

beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen