This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| AWSTemplateFormatVersion: '2010-09-09' | |
| Description: Cognito Stack | |
| Parameters: | |
| AuthName: | |
| Type: String | |
| Description: Unique Auth Name for Cognito Resources | |
| Resources: | |
| # Creates a role that allows Cognito to send SNS messages | |
| SNSRole: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ---------GET FAMILY TREE MYSQL CUSTOM FUNCTION------------------ | |
| DELIMITER $$ | |
| DROP FUNCTION IF EXISTS `GetChildren` $$ | |
| CREATE FUNCTION `GetChildren` (GivenID INT) RETURNS TEXT CHARSET latin1 | |
| DETERMINISTIC | |
| BEGIN | |
| DECLARE rv,q,strq,queue,queue_children TEXT; |