in source/api/app.py [0:0]
def delete_manager_stack(filesystem_id):
"""
Deletes a file manager managed resources stack
:param filesystem_id: The id of the filesystem to delete
:returns: Deletion status
:raises ChaliceViewError
"""
stack_name = '{prefix}-ManagedResources-{filesystem}'.format(prefix=STACK_PREFIX, \
filesystem=filesystem_id)
try:
response = CFN.delete_stack(
StackName=stack_name,
)
except botocore.exceptions.ClientError as error:
app.log.error(error)
raise ChaliceViewError(error)
else:
return response