I want to write service in php where -
1) DynamoDB will have table t with two columns key and val
2) I will check if some key exists in table t or not.
You can Follow Example : http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/GSILowLevelPHP.Example.html
or you can also follow the guidelines :
http://docs.aws.amazon.com/aws-sdk-php/latest/class-Aws.DynamoDb.DynamoDbClient.html
It hepled me alot