skip to Main Content

Amazon web services – Error while calling AWS kendra API from AEM servlet : The request signature we calculated does not match the signature you provided

import java.io.IOException; import java.util.List; import javax.servlet.Servlet; import org.apache.sling.api.SlingHttpServletRequest; import org.apache.sling.api.SlingHttpServletResponse; import org.apache.sling.api.servlets.SlingAllMethodsServlet; import org.osgi.service.component.annotations.Component; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import software.amazon.awssdk.auth.credentials.AwsBasicCredentials; import software.amazon.awssdk.auth.credentials.AwsCredentials; import software.amazon.awssdk.auth.credentials.StaticCredentialsProvider; import software.amazon.awssdk.regions.Region; import software.amazon.awssdk.services.kendra.KendraClient; import software.amazon.awssdk.services.kendra.model.AttributeFilter; import software.amazon.awssdk.services.kendra.model.DocumentAttribute; import software.amazon.awssdk.services.kendra.model.DocumentAttributeValue; import software.amazon.awssdk.services.kendra.model.QueryRequest; import software.amazon.awssdk.services.kendra.model.QueryResponse; @Component(service =…

VIEW QUESTION

What is the purpose of life?

I'm running into an issue with my dispatcher CORS configurations, debugging this is proving out to be insanely challenging. Env - AEM as cloud service. There are a couple of content fragment model APIs that a web app is consuming.…

VIEW QUESTION
Back To Top
Search