Dariusz Piechota

Results 9 comments of Dariusz Piechota

Hi, I am also getting 403 error. "User: anonymous is not authorized to perform: es:ESHttpPost on resource: XXX". @spazworm I have tried your for but with no luck. ``` import...

Hi @TheDeveloper , so the code looks like this ``` import { HttpAmazonESConnector } from 'http-aws-es/connector' import { AWSEnvConfig } from '../assets/aws-config'; ... let awsConfigNew = new AWS.Config({ region: iamCredentials.region,...

@TheDeveloper thanks for quick answer. I have checked credentials I am logging here `console.log(awsConfigNew)` in Postman and those work perfectly fine. In the Chrome Developer tools I do not see...

@TheDeveloper I have been able to move forward with debugging. It sounds like this is problem with AWS library. `ERROR Error: Uncaught (in promise): TypeError: AWS.NodeHttpClient is not a constructor`...

Thanks @TheDeveloper ! Changing client `this.httpClient = new AWS.XHRClient();` causes new ERROR: ``` Error: Request error, retrying POST https://XXX/_search?query= => Cannot read property 'content-encoding' of undefined ``` I am not...

Ok, thank you for support @TheDeveloper !

@TheDeveloper everything is working fine! Thank you for great support!

Path DELETE /user/{userId}/booking{bookingId} is not secure. Knowing bookingId I can delete **any** booking in the database. Would be great to have example how to implement Fine-Grained Access Control for Amazon...

@Gnana143 I think you need to set the switch in Lambda API Gateway Integration to Invoke with client credentials to allow this as you need but I have not tested...