/// <summary>
 /// Create a builder for creating the LambdaBootstrap.
 /// </summary>
 /// <param name="handler">The handler that will be called for each Lambda invocation</param>
 /// <returns></returns>
 public static LambdaBootstrapBuilder Create(Func <ILambdaContext, Task <Stream> > handler)
 {
     return(new LambdaBootstrapBuilder(HandlerWrapper.GetHandlerWrapper(handler)));
 }
 /// <summary>
 /// Create a builder for creating the LambdaBootstrap.
 /// </summary>
 /// <param name="handler">The handler that will be called for each Lambda invocation</param>
 /// <param name="serializer">The Lambda serializer that will be used to convert between Lambda's JSON documents and .NET objects.</param>
 /// <returns></returns>
 public static LambdaBootstrapBuilder Create <TInput>(Func <TInput, Task <Stream> > handler, ILambdaSerializer serializer)
 {
     return(new LambdaBootstrapBuilder(HandlerWrapper.GetHandlerWrapper <TInput>(handler, serializer)));
 }