public addObject ( |
||
$bucketName | A bucket name. | |
$objectName | string | An object name. |
$contentFile | string | SplFileInfo | File content of file that should be uploaded. If you provide a path to the file you should pass SplFileInfo object. |
$requestHeaders | array | optional Request headers |
return | Scalr\Service\Aws\Client\ClientResponseInterface | Returns response on success or throws an exception |