cloudformation/consumer.yaml [167:184]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                return versions


            def timeout(event, context):
                logging.error('Execution is about to time out, sending failure response to CloudFormation')
                cfnresponse.send(event, context, cfnresponse.FAILED, {}, None)


            def handler(event, context):
                # make sure we send a failure to CloudFormation if the function
                # is going to timeout
                timer = threading.Timer((context.get_remaining_time_in_millis()
                                         / 1000.00) - 0.5, timeout, args=[event, context])
                timer.start()
                status = cfnresponse.SUCCESS
                responseData = {}
                try:
                    src_bucket = event['ResourceProperties']['SourceBucket']
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



cloudformation/producer.yaml [104:120]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                return versions


            def timeout(event, context):
                logging.error('Execution is about to time out, sending failure response to CloudFormation')
                cfnresponse.send(event, context, cfnresponse.FAILED, {}, None)


            def handler(event, context):
                # make sure we send a failure to CloudFormation if the function is going to timeout
                timer = threading.Timer((context.get_remaining_time_in_millis()
                                         / 1000.00) - 0.5, timeout, args=[event, context])
                timer.start()
                status = cfnresponse.SUCCESS
                responseData = {}
                try:
                    src_bucket = event['ResourceProperties']['SourceBucket']
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



