def restart_app_server(EnvironmentId=None, EnvironmentName=None):
    """
    Causes the environment to restart the application container server running on each Amazon EC2 instance.
    See also: AWS API Documentation
    
    Examples
    The following operation restarts application servers on all instances in an environment named my-env:
    Expected Output:
    
    :example: response = client.restart_app_server(
        EnvironmentId='string',
        EnvironmentName='string'
    )
    
    
    :type EnvironmentId: string
    :param EnvironmentId: The ID of the environment to restart the server for.
            Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.
            

    :type EnvironmentName: string
    :param EnvironmentName: The name of the environment to restart the server for.
            Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.
            

    :return: response = client.restart_app_server(
        EnvironmentName='my-env',
    )
    
    print(response)
    
    
    """
    pass
