:doc:`IAM <../../iam>` / Waiter / InstanceProfileExists

*********************
InstanceProfileExists
*********************



.. py:class:: IAM.Waiter.InstanceProfileExists

  ::

    
    waiter = client.get_waiter('instance_profile_exists')

  
  

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

    Polls :py:meth:`IAM.Client.get_instance_profile` every 1 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/iam-2010-05-08/GetInstanceProfile>`_    


    **Request Syntax**
    ::

      waiter.wait(
          InstanceProfileName='string',
          WaiterConfig={
              'Delay': 123,
              'MaxAttempts': 123
          }
      )
      
    :type InstanceProfileName: string
    :param InstanceProfileName: **[REQUIRED]** 

      The name of the instance profile to get information about.

       

      This parameter allows (through its `regex pattern <http://wikipedia.org/wiki/regex>`__) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

      

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

        

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

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

        

      
    
    
    :returns: None