from typing import Optional


def create_next_start_key(last_evaluated_key: Optional[dict]) -> Optional[dict]:
    """
    Create the 'next_start_key' that will be returned in the response body of this Lambda function.

    Is identical to the 'LastEvaluatedKey' returned from DynamoDB, except the 'player_id' is removed for security.
    If 'player_id' was included as a user-provided parameter to the Lambda function, then a malicious player could fetch
    another player's slot metadata.
    """
    if last_evaluated_key is None:
        return None

    return {
        'slot_name': last_evaluated_key['slot_name']
    }