Q:

php connect to amazon simple db

I am trying to figure out how to connect to amazon simple db and retrieve data with a select statement. The domain is already set up. It seems like the following should work, but when I try it, I have no success. I don't get any error, my website just goes blank. Not sure what I am doing wrong.
<?php
require 'vendor/autoload.php';

use Aws\S3\S3Client;

// Instantiate the S3 client with your AWS credentials
$s3Client = S3Client::factory(array(
'key'    => 'mykey',
'secret' => 'mysecret',

));

$result = $s3Client->select(array(
'SelectExpression' => "select * from mydomain"
));

?>

A:

com.amazonaws.services.s3.AmazonS3Client provides the client for accessing the Amazon S3 web service. You need com.amazonaws.services.simpledb.AmazonSimpleDBClient to connect with Amazon SimpleDB.
Link of javadoc

