:doc:`EMR <../../emr>` / Waiter / StepComplete

************
StepComplete
************



.. py:class:: EMR.Waiter.StepComplete

  ::

    
    waiter = client.get_waiter('step_complete')

  
  

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

    Polls :py:meth:`EMR.Client.describe_step` every 30 seconds until a successful state is reached. An error is raised after 60 failed checks.

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeStep>`_    


    **Request Syntax**
    ::

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

      The identifier of the cluster with steps to describe.

      

    
    :type StepId: string
    :param StepId: **[REQUIRED]** 

      The identifier of the step to describe.

      

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

        

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

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

        

      
    
    
    :returns: None