File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -597,25 +597,25 @@ Resources:
597
597
IntegrationHttpMethod : POST
598
598
IntegrationResponses :
599
599
- StatusCode : 200
600
- ResponseTemplates :
601
- application/json : " "
602
- ResponseParameters :
603
- method.response.header.Strict-Transport-Security : " 'max-age=31536000; includeSubDomains'"
604
- method.response.header.X-Content-Type-Options : " 'nosniff'"
605
- method.response.header.Cache-Control : " 'no-store, no-cache, must-revalidate, private'"
606
600
Type : AWS
607
601
Uri : !Sub 'arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/${Lambda.Arn}/invocations'
602
+ # RequestValidatorId: !Ref ApiRequestValidator
603
+ RequestModels :
604
+ application/json :
605
+ !Ref RequestModel
608
606
MethodResponses :
609
607
- StatusCode : 200
610
- ResponseModels :
611
- application/json : " "
612
- ResponseParameters :
613
- method.response.header.Strict-Transport-Security : true
614
- method.response.header.X-Content-Type-Options : true
615
- method.response.header.Cache-Control : true
616
608
OperationName : ' lambda'
617
609
ResourceId : !Ref ApiResource
618
610
RestApiId : !Ref RestApi
611
+ RequestModel :
612
+ Type : AWS::ApiGateway::Model
613
+ Properties :
614
+ ContentType : ' application/json'
615
+ RestApiId : !Ref RestApi
616
+ Schema : {"$schema": "http://json-schema.org/draft-04/schema#",
617
+ " title " : " Stats" ,
618
+ " type " : " object" }
619
619
ApiLoggingGroup :
620
620
Type : " AWS::Logs::LogGroup"
621
621
Properties :
You can’t perform that action at this time.
0 commit comments