コード例 #1
0
 public static Task <APIGatewayProxyResponse> Api(APIGatewayProxyRequest request, ILambdaContext context)
 {
     return(LambdaApiGatewayProxy.Handle <Mcma.Services.Jobs.JobProcessor.JobProcessor>(
                request,
                context,
                builder =>
                builder.Services
                .AddDynamoDbMcmaRepository()
                .AddS3FileStorage()));
 }
コード例 #2
0
 /// <summary>
 /// A simple function that takes a string and does a ToUpper
 /// </summary>
 /// <param name="input"></param>
 /// <param name="context"></param>
 /// <returns></returns>
 public Task <APIGatewayProxyResponse> Api(APIGatewayProxyRequest input, ILambdaContext context)
 {
     return(LambdaApiGatewayProxy.Handle <Mcma.Services.ServiceRegistry.ServiceRegistry>(
                input,
                context,
                builder =>
                builder.Services
                .AddDynamoDbMcmaRepository()
                .AddS3FileStorage()));
 }
コード例 #3
0
 /// <summary>
 /// A Lambda function to respond to API calls to create MediaInfo jobs
 /// </summary>
 /// <param name="request"></param>
 /// <param name="context"></param>
 /// <returns>The list of blogs</returns>
 public Task <APIGatewayProxyResponse> JobApi(APIGatewayProxyRequest request, ILambdaContext context)
 {
     return(LambdaApiGatewayProxy.Handle <LambdaWorkerFunctionInvocation>(
                request,
                context,
                builder =>
                builder.Services
                .AddDynamoDbMcmaRepository()
                .AddS3FileStorage()));
 }
コード例 #4
0
 /// <summary>
 /// FIMS handler for API Gateway proxy requests
 /// </summary>
 /// <param name="request"></param>
 /// <param name="lambdaContext"></param>
 /// <returns></returns>
 public async Task <APIGatewayProxyResponse> Api(APIGatewayProxyRequest request, ILambdaContext lambdaContext)
 {
     return(await LambdaApiGatewayProxy.Handle <Fims.Services.Jobs.JobRepository.JobRepository>(request, lambdaContext));
 }
コード例 #5
0
 /// <summary>
 /// A simple function that takes a string and does a ToUpper
 /// </summary>
 /// <param name="input"></param>
 /// <param name="context"></param>
 /// <returns></returns>
 public Task <APIGatewayProxyResponse> Api(APIGatewayProxyRequest input, ILambdaContext context)
 {
     return(LambdaApiGatewayProxy.Handle <Fims.Services.ServiceRegistry.ServiceRegistry>(input, context));
 }
コード例 #6
0
 /// <summary>
 /// A Lambda function to respond to API calls to create MediaInfo jobs
 /// </summary>
 /// <param name="request"></param>
 /// <param name="context"></param>
 /// <returns>The list of blogs</returns>
 public async Task <APIGatewayProxyResponse> JobApi(APIGatewayProxyRequest request, ILambdaContext context)
 {
     return(await LambdaApiGatewayProxy.Handle <LambdaWorkerFunctionInvocation>(request, context));
 }
コード例 #7
0
 public static Task <APIGatewayProxyResponse> Api(APIGatewayProxyRequest request, ILambdaContext context)
 {
     return(LambdaApiGatewayProxy.Handle <Fims.Services.Jobs.JobProcessor.JobProcessor>(request, context));
 }
コード例 #8
0
ファイル: Functions.cs プロジェクト: evanverneyfink/MCMA
 public Task <APIGatewayProxyResponse> Api(APIGatewayProxyRequest input, ILambdaContext context)
 {
     return(LambdaApiGatewayProxy.Handle <ResourceApiRegistration>(input, context));
 }