title: dynamodb cannot get list of tables
body: <p>I have created tables in AWS DynamoDB and grant the right to ec2 role in policy setting. However, when I run below code with java API, no table is returned. Is there anyone know what I should do?</p>
  
  <pre><code>AWSCredentialsProvider credentialsProvider = new ClasspathPropertiesFileCredentialsProvider();
  
  AmazonDynamoDB dynamoDB = new AmazonDynamoDBClient(credentialsProvider);
  return dynamoDB.listTables().getTableNames().toString();
  </code></pre>