:doc:`OpenSearchService <../../opensearch>` / Client / start_domain_maintenance

************************
start_domain_maintenance
************************



.. py:method:: OpenSearchService.Client.start_domain_maintenance(**kwargs)

  

  Starts the node maintenance process on the data node. These processes can include a node reboot, an Opensearch or Elasticsearch process restart, or a Dashboard or Kibana restart.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/StartDomainMaintenance>`_  


  **Request Syntax**
  ::

    response = client.start_domain_maintenance(
        DomainName='string',
        Action='REBOOT_NODE'|'RESTART_SEARCH_PROCESS'|'RESTART_DASHBOARD',
        NodeId='string'
    )
    
  :type DomainName: string
  :param DomainName: **[REQUIRED]** 

    The name of the domain.

    

  
  :type Action: string
  :param Action: **[REQUIRED]** 

    The name of the action.

    

  
  :type NodeId: string
  :param NodeId: 

    The ID of the data node.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'MaintenanceId': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 

      The result of a ``StartDomainMaintenance`` request that information about the requested action.

      
      

      - **MaintenanceId** *(string) --* 

        The request ID of requested action.

        
  
  **Exceptions**
  
  *   :py:class:`OpenSearchService.Client.exceptions.BaseException`

  
  *   :py:class:`OpenSearchService.Client.exceptions.InternalException`

  
  *   :py:class:`OpenSearchService.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`OpenSearchService.Client.exceptions.ValidationException`

  
  *   :py:class:`OpenSearchService.Client.exceptions.DisabledOperationException`

  