Rekognition / Waiter / ProjectVersionTrainingCompleted
ProjectVersionTrainingCompletedΒΆ
- class Rekognition.Waiter.ProjectVersionTrainingCompletedΒΆ
waiter = client.get_waiter('project_version_training_completed')
- wait(**kwargs)ΒΆ
Polls
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
Request Syntax
waiter.wait( ProjectArn='string', VersionNames=[ 'string', ], NextToken='string', MaxResults=123, WaiterConfig={ 'Delay': 123, 'MaxAttempts': 123 } )
- Parameters:
ProjectArn (string) β
[REQUIRED]
The Amazon Resource Name (ARN) of the project that contains the model/adapter you want to describe.
VersionNames (list) β
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.15is 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) β
NextToken (string) β 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.
MaxResults (integer) β 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.
WaiterConfig (dict) β
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