Class JmesPathAcceptorGenerator

java.lang.Object
software.amazon.awssdk.codegen.poet.waiters.JmesPathAcceptorGenerator

public class JmesPathAcceptorGenerator extends Object
A code interpreter for converting JMESPath expressions into Java expressions. This can convert a JMESPath expression into a statement that executes against an SdkPojo. The statements generated by this interpreter make heavy use of the JmesPathRuntime.
  • Constructor Details

    • JmesPathAcceptorGenerator

      public JmesPathAcceptorGenerator(com.squareup.javapoet.ClassName runtimeClass)
  • Method Details

    • interpret

      public com.squareup.javapoet.CodeBlock interpret(String expression, String inputValue)
      Interpret the provided expression into a java statement that executes against the provided input value. This inputValue should be a JMESPath Value in scope.