AWS API gateway automation using CircleCI

Hi ,

I would like to automate the process of creating API gateway in AWS as CI build followed by a github checkin. API gateway should be created from swagger json file. My application build in CircleCI is showing success but new API gateway is not getting created in AWS.

Note: I have added AWS permissions in settings.

I am getting a notification after CI build -" Partially Degraded Service - components affected: AWS"

Thanks in advance