:doc:`Proton <../../proton>` / Waiter / ComponentDeleted

****************
ComponentDeleted
****************



.. py:class:: Proton.Waiter.ComponentDeleted

  ::

    
    waiter = client.get_waiter('component_deleted')

  
  

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

    Polls :py:meth:`Proton.Client.get_component` every 5 seconds until a successful state is reached. An error is raised after 999 failed checks.

    .. danger::

            This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity.


    

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetComponent>`_    


    **Request Syntax**
    ::

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

      The name of the component that you want to get the detailed data for.

      

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

        

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

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

        

      
    
    
    :returns: None