def describe_manager_stack()

in source/api/app.py [0:0]


def describe_manager_stack(filesystem_id):
    """
    Describes the file manager managed fresources stack for a given filesystem

    :param filesystem_id: The id of the filesystem to describe
    :returns: File manager stack details
    :raises ChaliceViewError
    """
    stack_name = '{prefix}-ManagedResources-{filesystem}'.format(prefix=STACK_PREFIX, \
        filesystem=filesystem_id)
    try:
        response = CFN.describe_stacks(
            StackName=stack_name,
        )
    except botocore.exceptions.ClientError as error:
        app.log.error(error)
        stack_status = {'Stacks': [{
            'StackStatus': False
        }]}
        return stack_status if error.response['Error']['Code'] == 'ValidationError' \
            else ChaliceViewError(error)
    else:
        return response