:doc:`DirectoryService <../../ds>` / Waiter / HybridADUpdated

***************
HybridADUpdated
***************



.. py:class:: DirectoryService.Waiter.HybridADUpdated

  ::

    
    waiter = client.get_waiter('hybrid_ad_updated')

  
  

  .. py:method:: wait(**kwargs)

    Polls :py:meth:`DirectoryService.Client.describe_hybrid_ad_update` every 120 seconds until a successful state is reached. An error is raised after 60 failed checks.

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeHybridADUpdate>`_    


    **Request Syntax**
    ::

      waiter.wait(
          DirectoryId='string',
          UpdateType='SelfManagedInstances'|'HybridAdministratorAccount',
          NextToken='string',
          WaiterConfig={
              'Delay': 123,
              'MaxAttempts': 123
          }
      )
      
    :type DirectoryId: string
    :param DirectoryId: **[REQUIRED]** 

      The identifier of the hybrid directory for which to retrieve update information.

      

    
    :type UpdateType: string
    :param UpdateType: 

      The type of update activities to retrieve. Valid values include ``SelfManagedInstances`` and ``HybridAdministratorAccount``.

      

    
    :type NextToken: string
    :param NextToken: 

      The pagination token from a previous request to  DescribeHybridADUpdate. Pass null if this is the first request.

      

    
    :type WaiterConfig: dict
    :param WaiterConfig: 

      A dictionary that provides parameters to control waiting behavior.

      

    
      - **Delay** *(integer) --* 

        The amount of time in seconds to wait between attempts. Default: 120

        

      
      - **MaxAttempts** *(integer) --* 

        The maximum number of attempts to be made. Default: 60

        

      
    
    
    :returns: None