openapi: 3.0.1 info: title: AdminQueriesForCognito version: "1.0" paths: /{proxy+}: options: parameters: - name: "proxy" in: "path" required: true schema: type: "string" responses: "200": description: "200 response" headers: Access-Control-Allow-Origin: schema: type: "string" Access-Control-Allow-Methods: schema: type: "string" Access-Control-Allow-Headers: schema: type: "string" content: application/json: schema: $ref: "#/components/schemas/Empty" x-amazon-apigateway-integration: type: "mock" responses: default: statusCode: "200" responseParameters: method.response.header.Access-Control-Allow-Methods: "'DELETE,GET,HEAD,OPTIONS,PATCH,POST,PUT'" method.response.header.Access-Control-Allow-Headers: "'Content-Type,X-Amz-Date,Authorization,X-Api-Key,X-Amz-Security-Token'" method.response.header.Access-Control-Allow-Origin: "'*'" requestTemplates: application/json: "{\"statusCode\": 200}" passthroughBehavior: "when_no_match" x-amazon-apigateway-any-method: parameters: - name: "proxy" in: "path" required: true schema: type: "string" - name: "Authorization" in: "header" schema: type: "string" x-amazon-apigateway-request-validator: "Validate query string parameters and\ \ headers" x-amazon-apigateway-integration: credentials: Fn::Sub: ${ApiRole.Arn} type: "aws_proxy" httpMethod: "POST" uri: Fn::Sub: "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/${AdminQueriesCognitoFunction.Arn}/invocations" passthroughBehavior: "when_no_match" cacheNamespace: "n40eb9" cacheKeyParameters: - "method.request.path.proxy" contentHandling: "CONVERT_TO_TEXT" components: schemas: Empty: title: "Empty Schema" type: "object" securitySchemes: Cognito: type: "apiKey" name: "Authorization" in: "header" x-amazon-apigateway-authtype: "cognito_user_pools" x-amazon-apigateway-authorizer: type: "cognito_user_pools" providerARNs: - "arn:aws:cognito-idp:us-east-1:746095302271:userpool/us-east-1_AFEKQafgQ" x-amazon-apigateway-request-validators: Validate query string parameters and headers: validateRequestParameters: true validateRequestBody: false