Class APIGatewayProxyRequestEventStageResolver

java.lang.Object
io.micronaut.aws.apigateway.APIGatewayProxyRequestEventStageResolver
All Implemented Interfaces:
StageResolver<com.amazonaws.services.lambda.runtime.events.APIGatewayProxyRequestEvent>

@Requires(classes=com.amazonaws.services.lambda.runtime.events.APIGatewayProxyRequestEvent.class) @Singleton public class APIGatewayProxyRequestEventStageResolver extends Object implements StageResolver<com.amazonaws.services.lambda.runtime.events.APIGatewayProxyRequestEvent>
StageResolver implementation for @{link APIGatewayProxyRequestEvent} for AWS Lambda Events library.
Since:
3.10.0
Author:
Sergio del Amo
  • Constructor Details

    • APIGatewayProxyRequestEventStageResolver

      public APIGatewayProxyRequestEventStageResolver()
  • Method Details

    • resolve

      @NonNull public @NonNull Optional<String> resolve(@NonNull @NonNull com.amazonaws.services.lambda.runtime.events.APIGatewayProxyRequestEvent requestEvent)
      Specified by:
      resolve in interface StageResolver<com.amazonaws.services.lambda.runtime.events.APIGatewayProxyRequestEvent>