@@ -40,11 +40,11 @@ public enum Lambda {
4040 /// - handlerType: The Handler to create and invoke.
4141 ///
4242 /// - note: This is a blocking operation that will run forever, as its lifecycle is managed by the AWS Lambda Runtime Engine.
43- internal static func run< Handler: SimpleLambdaHandler > (
43+ static func run< Handler: SimpleLambdaHandler > (
4444 configuration: LambdaConfiguration = . init( ) ,
4545 handlerType: Handler . Type
4646 ) -> Result < Int , Error > {
47- Self . run ( configuration: configuration, handlerProvider: CodableSimpleLambdaHandler< Handler> . makeHandler( context: ) )
47+ self . run ( configuration: configuration, handlerProvider: CodableSimpleLambdaHandler< Handler> . makeHandler( context: ) )
4848 }
4949
5050 /// Run a Lambda defined by implementing the ``LambdaHandler`` protocol.
@@ -56,11 +56,11 @@ public enum Lambda {
5656 /// - handlerType: The Handler to create and invoke.
5757 ///
5858 /// - note: This is a blocking operation that will run forever, as its lifecycle is managed by the AWS Lambda Runtime Engine.
59- internal static func run< Handler: LambdaHandler > (
59+ static func run< Handler: LambdaHandler > (
6060 configuration: LambdaConfiguration = . init( ) ,
6161 handlerType: Handler . Type
6262 ) -> Result < Int , Error > {
63- Self . run ( configuration: configuration, handlerProvider: CodableLambdaHandler< Handler> . makeHandler( context: ) )
63+ self . run ( configuration: configuration, handlerProvider: CodableLambdaHandler< Handler> . makeHandler( context: ) )
6464 }
6565
6666 /// Run a Lambda defined by implementing the ``EventLoopLambdaHandler`` protocol.
@@ -72,11 +72,11 @@ public enum Lambda {
7272 /// - handlerType: The Handler to create and invoke.
7373 ///
7474 /// - note: This is a blocking operation that will run forever, as its lifecycle is managed by the AWS Lambda Runtime Engine.
75- internal static func run< Handler: EventLoopLambdaHandler > (
75+ static func run< Handler: EventLoopLambdaHandler > (
7676 configuration: LambdaConfiguration = . init( ) ,
7777 handlerType: Handler . Type
7878 ) -> Result < Int , Error > {
79- Self . run ( configuration: configuration, handlerProvider: CodableEventLoopLambdaHandler< Handler> . makeHandler( context: ) )
79+ self . run ( configuration: configuration, handlerProvider: CodableEventLoopLambdaHandler< Handler> . makeHandler( context: ) )
8080 }
8181
8282 /// Run a Lambda defined by implementing the ``ByteBufferLambdaHandler`` protocol.
@@ -88,11 +88,11 @@ public enum Lambda {
8888 /// - handlerType: The Handler to create and invoke.
8989 ///
9090 /// - note: This is a blocking operation that will run forever, as its lifecycle is managed by the AWS Lambda Runtime Engine.
91- internal static func run(
91+ static func run(
9292 configuration: LambdaConfiguration = . init( ) ,
9393 handlerType: ( some ByteBufferLambdaHandler ) . Type
9494 ) -> Result < Int , Error > {
95- Self . run ( configuration: configuration, handlerProvider: handlerType. makeHandler ( context: ) )
95+ self . run ( configuration: configuration, handlerProvider: handlerType. makeHandler ( context: ) )
9696 }
9797
9898 /// Run a Lambda defined by implementing the ``LambdaRuntimeHandler`` protocol.
@@ -101,7 +101,7 @@ public enum Lambda {
101101 /// - handlerProvider: A provider of the ``LambdaRuntimeHandler`` to invoke.
102102 ///
103103 /// - note: This is a blocking operation that will run forever, as its lifecycle is managed by the AWS Lambda Runtime Engine.
104- internal static func run(
104+ static func run(
105105 configuration: LambdaConfiguration = . init( ) ,
106106 handlerProvider: @escaping ( LambdaInitializationContext ) -> EventLoopFuture < some LambdaRuntimeHandler >
107107 ) -> Result < Int , Error > {
0 commit comments