Waiters#
Index > Rekognition > Waiters
Auto-generated documentation for Rekognition type annotations stubs module mypy-boto3-rekognition.
ProjectVersionRunningWaiter#
Type annotations and code completion for boto3.client("rekognition").get_waiter("project_version_running")
.
boto3 documentation
# ProjectVersionRunningWaiter usage example
from boto3.session import Session
from mypy_boto3_rekognition.waiter import ProjectVersionRunningWaiter
session = Session()
client = session.client("rekognition") # (1)
waiter: ProjectVersionRunningWaiter = client.get_waiter("project_version_running") # (2)
await waiter.wait()
- client: RekognitionClient
- waiter: ProjectVersionRunningWaiter
wait#
Type annotations and code completion for ProjectVersionRunningWaiter.wait
method.
# wait method definition
def wait(
self,
*,
ProjectArn: str,
VersionNames: Sequence[str] = ...,
NextToken: str = ...,
MaxResults: int = ...,
WaiterConfig: WaiterConfigTypeDef = ..., # (1)
) -> None:
...
# wait method usage example with argument unpacking
kwargs: DescribeProjectVersionsRequestProjectVersionRunningWaitTypeDef = { # (1)
"ProjectArn": ...,
}
parent.wait(**kwargs)
ProjectVersionTrainingCompletedWaiter#
Type annotations and code completion for boto3.client("rekognition").get_waiter("project_version_training_completed")
.
boto3 documentation
# ProjectVersionTrainingCompletedWaiter usage example
from boto3.session import Session
from mypy_boto3_rekognition.waiter import ProjectVersionTrainingCompletedWaiter
session = Session()
client = session.client("rekognition") # (1)
waiter: ProjectVersionTrainingCompletedWaiter = client.get_waiter("project_version_training_completed") # (2)
await waiter.wait()
- client: RekognitionClient
- waiter: ProjectVersionTrainingCompletedWaiter
wait#
Type annotations and code completion for ProjectVersionTrainingCompletedWaiter.wait
method.
# wait method definition
def wait(
self,
*,
ProjectArn: str,
VersionNames: Sequence[str] = ...,
NextToken: str = ...,
MaxResults: int = ...,
WaiterConfig: WaiterConfigTypeDef = ..., # (1)
) -> None:
...
# wait method usage example with argument unpacking
kwargs: DescribeProjectVersionsRequestProjectVersionTrainingCompletedWaitTypeDef = { # (1)
"ProjectArn": ...,
}
parent.wait(**kwargs)