c# - Amazon Elastic Transcoder Http Request Error -
i need use amazon elastic transcoder mvc project. wanted use via http request described documentation. while creating header of request need create authorization parameter described think did. response returns error; the request signature calculated not match signature provided. check aws secret access key , signing method. consult service documentation details.
host parameter of request = elastictranscoder.us-east-1.amazonaws.com:443
url post = https://elastictranscoder.us-east-1.amazonaws.com:443/2012-09-25/jobs
authorization parameter = aws4-hmac-sha256 credential=accesskey/formatteddate/us-east-1/elastictranscoder/aws4_request,signedheaders=host;x-amz-date;x-amz-target,signature=xxxxx
anyone have idea of reason error?
i have updated awssdk nuget mvc project , there api elastic transcoder; here simple way do:
var response = etsclient.createjob(new createjobrequest() { pipelineid = "pipelineid", //pipeline.id, input = new jobinput() { aspectratio = "auto", container = "auto", framerate = "auto", interlaced = "auto", resolution = "auto", key = "folder1/video.flv" }, output = new createjoboutput() { thumbnailpattern = "", rotate = "0", presetid = "1351620000001-000040", key = "output.mp4" } });
Comments
Post a Comment