:doc:`ECS <../../ecs>` / Waiter / ServicesInactive

****************
ServicesInactive
****************



.. py:class:: ECS.Waiter.ServicesInactive

  ::

    
    waiter = client.get_waiter('services_inactive')

  
  

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

    Polls :py:meth:`ECS.Client.describe_services` every 15 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/ecs-2014-11-13/DescribeServices>`_    


    **Request Syntax**
    ::

      waiter.wait(
          cluster='string',
          services=[
              'string',
          ],
          include=[
              'TAGS',
          ],
          WaiterConfig={
              'Delay': 123,
              'MaxAttempts': 123
          }
      )
      
    :type cluster: string
    :param cluster: 

      The short name or full Amazon Resource Name (ARN)the cluster that hosts the service to describe. If you do not specify a cluster, the default cluster is assumed. This parameter is required if the service or services you are describing were launched in any cluster other than the default cluster.

      

    
    :type services: list
    :param services: **[REQUIRED]** 

      A list of services to describe. You may specify up to 10 services to describe in a single operation.

      

    
      - *(string) --* 

      
  
    :type include: list
    :param include: 

      Determines whether you want to see the resource tags for the service. If ``TAGS`` is specified, the tags are included in the response. If this field is omitted, tags aren't included in the response.

      

    
      - *(string) --* 

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

        

      
    
    
    :returns: None