Open clock21am opened 6 years ago
This is a permissions problem with your AWS user rajdeep. This user needs the correct IAM policy. https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-iam-policy-examples.html
...which, in this case, could be AmazonAPIGatewayAdministrator
.
A simple way you can grant it is by going to AWS IAM console, finding the rajdeep
IAM user (it should be right there), then clicking "Add permissions" and "Attach existing policies directly".
Once you've found AmazonAPIGatewayAdministrator
on the list of policies available, check the checkbox next to it and go further to reviewing and saving the changes.
An error occurred: ApiGatewayRestApi - User: arn:aws:iam::xxxxxxxxx:user/rajdeep is not authorized to perform: apigateway:POST on resource: arn:aws:apigateway:us-east-1::/restapis.