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 returned 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.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) –
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