/** * Executes the GetBatchGetItemIterator operation. * * @param array $requestItems Associative array of <TableName> keys mapping to (associative-array) values. * @param string $returnConsumedCapacity Sets consumed capacity return mode. * * @return Guzzle\Service\Resource\ResourceIteratorInterface * * @see http://docs.aws.amazon.com/aws-sdk-php/latest/class-Aws.DynamoDb.DynamoDbClient.html#_getBatchGetItemIterator */ public function getBatchGetItemIterator(array $requestItems, $returnConsumedCapacity = self::CAPACITY_NONE) { return $this->client->getBatchGetItemIterator(['RequestItems' => $requestItems, 'ReturnConsumedCapacity' => $returnConsumedCapacity]); }