:doc:`Rekognition <../../rekognition>` / Waiter / ProjectVersionTrainingCompleted

*******************************
ProjectVersionTrainingCompleted
*******************************



.. py:class:: Rekognition.Waiter.ProjectVersionTrainingCompleted

  ::

    
    waiter = client.get_waiter('project_version_training_completed')

  
  

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

    Polls :py:meth:`Rekognition.Client.describe_project_versions` every 120 seconds until a successful state is reached. An error is raised after 360 failed checks.

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/rekognition-2016-06-27/DescribeProjectVersions>`_    


    **Request Syntax**
    ::

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

      The Amazon Resource Name (ARN) of the project that contains the model/adapter you want to describe.

      

    
    :type VersionNames: list
    :param VersionNames: 

      A list of model or project version names that you want to describe. You can add up to 10 model or project version names to the list. If you don't specify a value, all project version descriptions are returned. A version name is part of a project version ARN. For example, ``my-model.2020-01-21T09.10.15`` is the version name in the following ARN. ``arn:aws:rekognition:us-east-1:123456789012:project/getting-started/version/my-model.2020-01-21T09.10.15/1234567890123``.

      

    
      - *(string) --* 

      
  
    :type NextToken: string
    :param NextToken: 

      If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.

      

    
    :type MaxResults: integer
    :param MaxResults: 

      The maximum number of results to return per paginated call. The largest value you can specify is 100. If you specify a value greater than 100, a ValidationException error occurs. The default value is 100.

      

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

        

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

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

        

      
    
    
    :returns: None