:doc:`DatabaseMigrationService <../../dms>` / Waiter / ReplicationTaskRunning

**********************
ReplicationTaskRunning
**********************



.. py:class:: DatabaseMigrationService.Waiter.ReplicationTaskRunning

  ::

    
    waiter = client.get_waiter('replication_task_running')

  
  

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

    Polls :py:meth:`DatabaseMigrationService.Client.describe_replication_tasks` every 15 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/dms-2016-01-01/DescribeReplicationTasks>`_    


    **Request Syntax**
    ::

      waiter.wait(
          Filters=[
              {
                  'Name': 'string',
                  'Values': [
                      'string',
                  ]
              },
          ],
          MaxRecords=123,
          Marker='string',
          WithoutSettings=True|False,
          WaiterConfig={
              'Delay': 123,
              'MaxAttempts': 123
          }
      )
      
    :type Filters: list
    :param Filters: 

      Filters applied to replication tasks.

       

      Valid filter names: replication-task-arn | replication-task-id | migration-type | endpoint-arn | replication-instance-arn

      

    
      - *(dict) --* 

        Identifies the name and value of a filter object. This filter is used to limit the number and type of DMS objects that are returned for a particular ``Describe*`` call or similar operation. Filters are used as an optional parameter for certain API operations.

        

      
        - **Name** *(string) --* **[REQUIRED]** 

          The name of the filter as specified for a ``Describe*`` or similar operation.

          

        
        - **Values** *(list) --* **[REQUIRED]** 

          The filter value, which can specify one or more values used to narrow the returned results.

          

        
          - *(string) --* 

          
      
      
  
    :type MaxRecords: integer
    :param MaxRecords: 

      The maximum number of records to include in the response. If more records exist than the specified ``MaxRecords`` value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

       

      Default: 100

       

      Constraints: Minimum 20, maximum 100.

      

    
    :type Marker: string
    :param Marker: 

      An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by ``MaxRecords``.

      

    
    :type WithoutSettings: boolean
    :param WithoutSettings: 

      An option to set to avoid returning information about settings. Use this to reduce overhead when setting information is too large. To use this option, choose ``true``; otherwise, choose ``false`` (the default).

      

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

        

      
    
    
    :returns: None