:doc:`CloudControlApi <../../cloudcontrol>` / Waiter / ResourceRequestSuccess

**********************
ResourceRequestSuccess
**********************



.. py:class:: CloudControlApi.Waiter.ResourceRequestSuccess

  ::

    
    waiter = client.get_waiter('resource_request_success')

  
  

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

    Polls :py:meth:`CloudControlApi.Client.get_resource_request_status` every 5 seconds until a successful state is reached. An error is raised after 24 failed checks.

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/cloudcontrol-2021-09-30/GetResourceRequestStatus>`_    


    **Request Syntax**
    ::

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

      A unique token used to track the progress of the resource operation request.

       

      Request tokens are included in the ``ProgressEvent`` type returned by a resource operation 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: 5

        

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

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

        

      
    
    
    :returns: None