I am trying to hit a load balancer endpoint using AWS SDK for java, however I dont see any API for in the AmazonECSClient class. I see the option to set endpoint, region, credentials etc.
AmazonECSClient.builder()
.withCredentials(new DefaultAWSCredentialsProviderChain())
.withRegion(region)
.withEndPoint()
.build();
The endpoint is tested using curl command and it works - curl http://elb-dummy-endpoint.us-east-1.elb.domain.com:80/invocations -d '{"query": "some query"}' -H 'Content-Type: application/json'
Do I have to do a regular API call?