/** * Restores an archived copy of an object back into Amazon S3 * * @param string $bucket * @param string $key * @param int $days * * @internal param array $args * * @return mixed */ public function restoreObject($bucket, $key, $days) { $params = ['Bucket' => $bucket, 'Key' => $key, 'Days' => $days]; return $this->instance->restoreObject($params); }
/** * restoreObject * * @param string $key * @param integer $days * * @return \Guzzle\Service\Resource\Model */ public function restoreObject($key, $days) { $params = ['Bucket' => $this->name, 'Key' => $key, 'Days' => $days]; return $this->client->restoreObject($params); }