func getPresetInfo()

in transcodelauncher/main.go [29:35]


func getPresetInfo(cli *elastictranscoder.Client, presetId string) *elastictranscoder.ReadPresetOutput {
	out, err := cli.ReadPreset(context.Background(), &elastictranscoder.ReadPresetInput{Id: aws.String(presetId)})
	if err != nil {
		log.Fatalf("Could not read preset %s: %s", presetId, err)
	}
	return out
}