Пример #1
0
 /**
  * Process the response of the DeleteMultipleObjects request
  *
  * @paramCommandInterface $command Command executed
  */
 protected function processResponse(CommandInterface $command)
 {
     $result = $command->getResult();
     // Ensure that the objects were deleted successfully
     if (!empty($result['Errors'])) {
         $errors = $result['Errors'];
         throw new DeleteMultipleObjectsException($errors);
     }
 }