:doc:`EC2 <../../ec2>` / Waiter / PasswordDataAvailable

*********************
PasswordDataAvailable
*********************



.. py:class:: EC2.Waiter.PasswordDataAvailable

  ::

    
    waiter = client.get_waiter('password_data_available')

  
  

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

    Polls :py:meth:`EC2.Client.get_password_data` every 15 seconds until a successful state is reached. An error is raised after 40 failed checks.

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetPasswordData>`_    


    **Request Syntax**
    ::

      waiter.wait(
          InstanceId='string',
          DryRun=True|False,
          WaiterConfig={
              'Delay': 123,
              'MaxAttempts': 123
          }
      )
      
    :type InstanceId: string
    :param InstanceId: **[REQUIRED]** 

      The ID of the Windows instance.

      

    
    :type DryRun: boolean
    :param DryRun: 

      Checks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is ``DryRunOperation``. Otherwise, it is ``UnauthorizedOperation``.

      

    
    :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: 15

        

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

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

        

      
    
    
    :returns: None