--- swagger: "2.0" info: description: "This API provides the status of the request" version: "2022-01-12T19:52:22Z" title: "RSDataRequestStatusAPI" schemes: - "https" paths: /product: get: consumes: - "application/json" produces: - "application/json" parameters: - name: "requestid" in: "header" required: true type: "string" - name: "type" in: "header" required: true type: "string" responses: "200": description: "200 response" schema: $ref: "#/definitions/Empty" security: - sigv4: [] x-amazon-apigateway-request-validator: "Validate query string parameters and\ \ headers" x-amazon-apigateway-integration: httpMethod: "POST" uri: "arn:aws:apigateway::lambda:path/2015-03-31/functions/arn:aws:lambda:::function:rsRequestStatusHandler/invocations" responses: default: statusCode: "200" requestTemplates: application/json: "## See http://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-mapping-template-reference.html\n\ ## This template will pass through all parameters including path, querystring,\ \ header, stage variables, and context through to the integration endpoint\ \ via the body/payload\n#set($allParams = $input.params())\n{\n\"body-json\"\ \ : $input.json('$'),\n\"params\" : {\n#foreach($type in $allParams.keySet())\n\ \ #set($params = $allParams.get($type))\n\"$type\" : {\n #foreach($paramName\ \ in $params.keySet())\n \"$paramName\" : \"$util.escapeJavaScript($params.get($paramName))\"\ \n #if($foreach.hasNext),#end\n #end\n}\n #if($foreach.hasNext),#end\n\ #end\n},\n\"stage-variables\" : {\n#foreach($key in $stageVariables.keySet())\n\ \"$key\" : \"$util.escapeJavaScript($stageVariables.get($key))\"\n \ \ #if($foreach.hasNext),#end\n#end\n},\n\"context\" : {\n \"account-id\"\ \ : \"$context.identity.accountId\",\n \"api-id\" : \"$context.apiId\"\ ,\n \"api-key\" : \"$context.identity.apiKey\",\n \"authorizer-principal-id\"\ \ : \"$context.authorizer.principalId\",\n \"caller\" : \"$context.identity.caller\"\ ,\n \"cognito-authentication-provider\" : \"$context.identity.cognitoAuthenticationProvider\"\ ,\n \"cognito-authentication-type\" : \"$context.identity.cognitoAuthenticationType\"\ ,\n \"cognito-identity-id\" : \"$context.identity.cognitoIdentityId\"\ ,\n \"cognito-identity-pool-id\" : \"$context.identity.cognitoIdentityPoolId\"\ ,\n \"http-method\" : \"$context.httpMethod\",\n \"stage\" : \"\ $context.stage\",\n \"source-ip\" : \"$context.identity.sourceIp\"\ ,\n \"user\" : \"$context.identity.user\",\n \"user-agent\" : \"\ $context.identity.userAgent\",\n \"user-arn\" : \"$context.identity.userArn\"\ ,\n \"request-id\" : \"$context.requestId\",\n \"resource-id\" :\ \ \"$context.resourceId\",\n \"resource-path\" : \"$context.resourcePath\"\ \n }\n}\n" passthroughBehavior: "when_no_templates" contentHandling: "CONVERT_TO_TEXT" type: "aws" securityDefinitions: sigv4: type: "apiKey" name: "Authorization" in: "header" x-amazon-apigateway-authtype: "awsSigv4" definitions: Empty: type: "object" title: "Empty Schema" x-amazon-apigateway-request-validators: Validate query string parameters and headers: validateRequestParameters: true validateRequestBody: false