parameters: (self, environment_id=None, environment_name=None)
return_statement: return self._get_response('RestartAppServer', params)
docstring: Causes the environment to restart the application container
          server running on each Amazon EC2 instance.
  
          :type environment_id: string
          :param environment_id: 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 environment_name: string
          :param environment_name: 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.
docstring_summary: Causes the environment to restart the application container
          server running on each Amazon EC2 instance.
docstring_tokens: Causes the environment to restart the application container server running on each Amazon EC2 instance .
function: def restart_app_server(self, environment_id=None, environment_name=None):
          """
          Causes the environment to restart the application container
          server running on each Amazon EC2 instance.
  
          :type environment_id: string
          :param environment_id: 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 environment_name: string
          :param environment_name: 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.
          """
          params = {}
          if environment_id:
              params['EnvironmentId'] = environment_id
          if environment_name:
              params['EnvironmentName'] = environment_name
          return self._get_response('RestartAppServer', params)
function_tokens: def restart_app_server ( self , environment_id = None , environment_name = None ) : params = { } if environment_id : params [ 'EnvironmentId' ] = environment_id if environment_name : params [ 'EnvironmentName' ] = environment_name return self . _get_response ( 'RestartAppServer' , params )