:doc:`GuardDuty <../../guardduty>` / Client / start_monitoring_members

************************
start_monitoring_members
************************



.. py:method:: GuardDuty.Client.start_monitoring_members(**kwargs)

  

  Turns on GuardDuty monitoring of the specified member accounts. Use this operation to restart monitoring of accounts that you stopped monitoring with the `StopMonitoringMembers <https://docs.aws.amazon.com/guardduty/latest/APIReference/API_StopMonitoringMembers.html>`__ operation.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/StartMonitoringMembers>`_  


  **Request Syntax**
  ::

    response = client.start_monitoring_members(
        DetectorId='string',
        AccountIds=[
            'string',
        ]
    )
    
  :type DetectorId: string
  :param DetectorId: **[REQUIRED]** 

    The unique ID of the detector of the GuardDuty administrator account associated with the member accounts to monitor.

     

    To find the ``detectorId`` in the current Region, see the Settings page in the GuardDuty console, or run the `ListDetectors <https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html>`__ API.

    

  
  :type AccountIds: list
  :param AccountIds: **[REQUIRED]** 

    A list of account IDs of the GuardDuty member accounts to start monitoring.

    

  
    - *(string) --* 

    

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

    
    ::

      {
          'UnprocessedAccounts': [
              {
                  'AccountId': 'string',
                  'Result': 'string'
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **UnprocessedAccounts** *(list) --* 

        A list of objects that contain the unprocessed account and a result string that explains why it was unprocessed.

        
        

        - *(dict) --* 

          Contains information about the accounts that weren't processed.

          
          

          - **AccountId** *(string) --* 

            The Amazon Web Services account ID.

            
          

          - **Result** *(string) --* 

            A reason why the account hasn't been processed.

            
      
    
  
  **Exceptions**
  
  *   :py:class:`GuardDuty.Client.exceptions.BadRequestException`

  
  *   :py:class:`GuardDuty.Client.exceptions.InternalServerErrorException`

  