apps/lambda/name-sam.yaml [31:75]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Type: AWS::Serverless::Api
    Properties:
      StageName: prod
      DefinitionBody:
        swagger: "2.0"
        definitions:
          Name:
            type: "object"
            properties:
              id: 
                type: "number"
              name:
                type: "string"
        paths:
          "/resources/names":
            get:
              produces:
                - application/json
                - application/xml
              x-amazon-apigateway-integration:
                httpMethod: POST
                type: aws_proxy
                uri: !Sub "arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/${NamesFunction.Arn}/invocations"
                responses: {}
          "/resources/names/{id}":
            get:
              produces:
                - text/plain
                - application/json
                - application/xml
              parameters:
                - name: id
                  in: path
                  required: true
                  type: number
              responses:
                "200":
                  content:
                    text/plain:
                      scheme:
                        type: string
              x-amazon-apigateway-integration:
                httpMethod: POST
                type: aws_proxy
                uri: !Sub "arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/${NamesFunction.Arn}/invocations"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



apps/lambda/sam.yaml [71:116]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Type: AWS::Serverless::Api
    Properties:
#      EndpointConfiguration: REGIONAL
      StageName: prod
      DefinitionBody:
        swagger: "2.0"
        definitions:
          Name:
            type: "object"
            properties:
              id: 
                type: "number"
              name:
                type: "string"
        paths:
          "/resources/names":
            get:
              produces:
                - application/json
                - application/xml
              x-amazon-apigateway-integration:
                httpMethod: POST
                type: aws_proxy
                uri: !Sub "arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/${NamesFunction.Arn}/invocations"
                responses: {}
          "/resources/names/{id}":
            get:
              produces:
                - text/plain
                - application/json
                - application/xml
              parameters:
                - name: id
                  in: path
                  required: true
                  type: number
              responses:
                "200":
                  content:
                    text/plain:
                      scheme:
                        type: string
              x-amazon-apigateway-integration:
                httpMethod: POST
                type: aws_proxy
                uri: !Sub "arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/${NamesFunction.Arn}/invocations"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



