コード例 #1
0
ファイル: Client.php プロジェクト: m6web/aws-bundle
 /**
  * Returns an interator on the tables associated with the current account and endpoint.
  *
  * @param string  $exclusiveStartTableName Name of the table that starts the list.
  * @param integer $limit                   A maximum number of tables to return.
  *
  * @return   Guzzle\Service\Resource\ResourceIteratorInterface
  *
  * @see http://docs.aws.amazon.com/aws-sdk-php/latest/class-Aws.DynamoDb.DynamoDbClient.html#_getListTablesIterator
  */
 public function getListTablesIterator($exclusiveStartTableName = null, $limit = null)
 {
     $params = [];
     if (is_string($exclusiveStartTableName)) {
         $params['ExclusiveStartTableName'] = $exclusiveStartTableName;
     }
     if (is_numeric($limit)) {
         $params['Limit'] = $limit;
     }
     return $this->client->getListTablesIterator($params);
 }