예제 #1
0
        private static Stream CreateStream(S3Input input, string inputPath, int?position,
                                           CodecConfig codecConfig, SelectionMode selectionMode)
        {
            var inputStream = new InputStream
            {
                InputId       = input.Id,
                InputPath     = inputPath,
                Position      = position,
                SelectionMode = selectionMode
            };

            var stream = new Stream
            {
                InputStreams = new List <InputStream> {
                    inputStream
                },
                CodecConfigId = codecConfig.Id
            };

            return(stream);
        }
예제 #2
0
 public String UploadAMIReport(S3Input input, ILambdaContext context)
 {
     uploadContent(getImagesAsCsv(context), input.BucketName, input.Key);
     return("OK");
 }