public function editResourceGroup($groupName, array $resources) {
        $this->validateResourceGroupName($groupName);

        return $this->getCommand('EditResourceGroup', array(
            'groupName' => $groupName,
            'resources' => json_encode($resources),
        ))->execute();
    }