DirectoryService / Waiter / HybridADUpdated

HybridADUpdated

class DirectoryService.Waiter.HybridADUpdated
waiter = client.get_waiter('hybrid_ad_updated')
wait(**kwargs)

Polls 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

Request Syntax

waiter.wait(
    DirectoryId='string',
    UpdateType='SelfManagedInstances'|'HybridAdministratorAccount',
    NextToken='string',
    WaiterConfig={
        'Delay': 123,
        'MaxAttempts': 123
    }
)
Parameters:
  • DirectoryId (string) –

    [REQUIRED]

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

  • UpdateType (string) – The type of update activities to retrieve. Valid values include SelfManagedInstances and HybridAdministratorAccount.

  • NextToken (string) – The pagination token from a previous request to DescribeHybridADUpdate. Pass null if this is the first request.

  • WaiterConfig (dict) –

    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