java.lang.Object
io.burt.jmespath.function.BaseFunction
software.amazon.lambda.powertools.utilities.jmespath.Base64Function
All Implemented Interfaces:
io.burt.jmespath.function.Function

public class Base64Function extends io.burt.jmespath.function.BaseFunction
Function used by JMESPath to decode a Base64 encoded String into a decoded String
  • Constructor Details

    • Base64Function

      public Base64Function()
  • Method Details

    • decode

      public static String decode(String encodedString)
    • decode

      public static String decode(ByteBuffer byteBuffer)
    • decode

      public static byte[] decode(byte[] encoded)
    • callFunction

      protected <T> T callFunction(io.burt.jmespath.Adapter<T> runtime, List<io.burt.jmespath.function.FunctionArgument<T>> arguments)
      Specified by:
      callFunction in class io.burt.jmespath.function.BaseFunction