Replies: 3 comments 11 replies
-
@luiscm Does that code do what you expect it to do? Are you looking for something in the Micronaut framework that will simplify that? Thanks for any clarification. |
Beta Was this translation helpful? Give feedback.
9 replies
-
Dear Jeff
I was guessing that Micronaut would have a method to do it like I do in AWS
API.
In this example you make an app by calling a functionclient
I wanted a functionclient calling another functionclient, not as an
application.
Do I have a way to do it or not? Or it has to be the way the framework
works.
…On Tue, Jul 13, 2021 at 4:26 PM Jeff Scott Brown ***@***.***> wrote:
The client is at src/main/java/example/micronaut/HelloClient.java
<https://github.com/jeffbrown/luiscmfunctionclient/blob/972346efe5b3fc8ef3f63e0f3331b522410c6966/src/main/java/example/micronaut/HelloClient.java>
:
package example.micronaut;
import io.micronaut.function.client.FunctionClient;
import javax.inject.Named;
import java.util.Map;
@FunctionClient
public interface HelloClient {
@nAmed("helloworld")
String greet(Map info);
}
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5724 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACL4I63V3WB56TQW34JWXTTXSHPFANCNFSM5AA4PF3Q>
.
|
Beta Was this translation helpful? Give feedback.
2 replies
-
I have written a documentation snippet here: https://micronaut-projects.github.io/micronaut-aws/latest/guide/#lambdafunctionclient |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Dear friends
Because using AWS API is done like this below:
I would like if someone can help me with this detail using Micronaut.
I would like a helloworld project about this
public static final String LAMBDA_FUNCTION_NAME = "lambdaToBeInvoked";
public static final String DEFAULT_LAMBDA_REGION = "us-east-1";
private void invokeLambda(String keyName, String bucketName) throws JSONException {
Beta Was this translation helpful? Give feedback.
All reactions