I am testing the AWS transcribe service for a project, after runing the start transcritpion job
var TrsSession *transcribeservice.TranscribeService
func TranscribeTest() (trsOutput *transcribeservice.StartTranscriptionJobOutput, err error) {
trsOutput, err = TrsSession.StartTranscriptionJob(&transcribeservice.StartTranscriptionJobInput{
TranscriptionJobName: aws.String("gettysburg_test"),
IdentifyLanguage: aws.Bool(true),
MediaFormat: aws.String("wav"),
OutputBucketName: aws.String(os.Getenv("AWS_BUCKET_NAME")),
Media: &transcribeservice.Media{
MediaFileUri: aws.String("s3://" + os.Getenv("AWS_BUCKET_NAME") + "/gettysburg.wav"),
},
})
if err != nil {
fmt.Println(err)
return trsOutput, err
}
return trsOutput, nil
}
the file outputs properly wwith the specified name .json but the content shows an error
<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>JDP5*****5QQJ</RequestId>
<HostId>wnd5k6x********************TDwqIpe53S1w=</HostId>
</Error>
I am new to aws I am not sure where the problem is
I am new to aws I am not sure where the problem is. I tried different IAM permission but still the same output.