def get_dynamodb_resource():
    return boto3.resource('dynamodb', region_name=os.environ[
        'AWS_DYNAMO_REGION'], endpoint_url=os.environ['AWS_DYNAMO_ENDPOINT'
        ], aws_secret_access_key=os.environ['AWS_SECRET_ACCESS_KEY'],
        aws_access_key_id=os.environ['AWS_ACCESS_KEY_ID'])
How to append a value to list attribute on AWS DynamoDB?