openapi: "3.0.1" info: title: "syncronousApi" version: "1.0" paths: /: post: responses: "400": description: "400 response" content: {} "200": description: "200 response" content: {} x-amazon-apigateway-integration: credentials: Fn::GetAtt: [RestApiRole, Arn] httpMethod: "POST" uri: Fn::Sub: arn:aws:apigateway:${AWS::Region}:states:action/StartSyncExecution responses: "200": statusCode: "200" responseTemplates: application/json: "{\"output\":$input.json('$.output')}" "400": statusCode: "400" requestTemplates: application/json: Fn::Sub: "{\"input\": \"$util.escapeJavaScript($input.json('$'))\"\ , \"stateMachineArn\": \"${syncronousApiStateMachine}\"\ }" passthroughBehavior: "when_no_match" type: "aws" components: {}