Last active
July 22, 2020 20:16
-
-
Save recursivecodes/7dfdaae05ad942af42665ba44a9e913a to your computer and use it in GitHub Desktop.
InvokeAsync.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FunctionsInvokeAsyncClient functionsInvokeAsyncClient = FunctionsInvokeAsyncClient.builder() | |
.endpoint(invokeEndpoint) | |
.build(provider); | |
InvokeFunctionRequest asyncRequest = InvokeFunctionRequest.builder() | |
.functionId(functionId) | |
.invokeFunctionBody(StreamUtils.createByteArrayInputStream(asyncPayload.getBytes())) | |
.build(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment