我正在使用 AWS PHP 开发工具包。(使用 laravel)我正在尝试在 s3 存储桶之间转换视频文件。
$transcoder = App::make('aws')->get('ElasticTranscoder');
//$transcoder->setRegion('us-west-2');
// add to queue
$result = $transcoder->createJob(array(
'PipelineId' => '1111111111111-l1zkmo',
'Input' => array(
'Key' => $key
),
'Output' => array(
'Key' => $output_key
),
));
我收到以下错误:
Preset ARN is invalid: relative id null does not conform to the ARN specification
如果我尝试,例如 listPipelines 它工作得很好。