Waiters#
Auto-generated documentation for EC2 type annotations stubs module mypy-boto3-ec2.
BundleTaskCompleteWaiter#
Type annotations and code completion for boto3.client("ec2").get_waiter("bundle_task_complete")
.
boto3 documentation
# BundleTaskCompleteWaiter usage example
from boto3.session import Session
from mypy_boto3_ec2.waiter import BundleTaskCompleteWaiter
session = Session()
client = session.client("ec2") # (1)
waiter: BundleTaskCompleteWaiter = client.get_waiter("bundle_task_complete") # (2)
await waiter.wait()
- client: EC2Client
- waiter: BundleTaskCompleteWaiter
wait#
Type annotations and code completion for BundleTaskCompleteWaiter.wait
method.
# wait method definition
def wait(
self,
*,
BundleIds: Sequence[str] = ...,
Filters: Sequence[FilterTypeDef] = ..., # (1)
DryRun: bool = ...,
WaiterConfig: WaiterConfigTypeDef = ..., # (2)
) -> None:
...
- See FilterTypeDef
- See WaiterConfigTypeDef
# wait method usage example with argument unpacking
kwargs: DescribeBundleTasksRequestBundleTaskCompleteWaitTypeDef = { # (1)
"BundleIds": ...,
}
parent.wait(**kwargs)
ConversionTaskCancelledWaiter#
Type annotations and code completion for boto3.client("ec2").get_waiter("conversion_task_cancelled")
.
boto3 documentation
# ConversionTaskCancelledWaiter usage example
from boto3.session import Session
from mypy_boto3_ec2.waiter import ConversionTaskCancelledWaiter
session = Session()
client = session.client("ec2") # (1)
waiter: ConversionTaskCancelledWaiter = client.get_waiter("conversion_task_cancelled") # (2)
await waiter.wait()
- client: EC2Client
- waiter: ConversionTaskCancelledWaiter
wait#
Type annotations and code completion for ConversionTaskCancelledWaiter.wait
method.
# wait method definition
def wait(
self,
*,
ConversionTaskIds: Sequence[str] = ...,
DryRun: bool = ...,
WaiterConfig: WaiterConfigTypeDef = ..., # (1)
) -> None:
...
# wait method usage example with argument unpacking
kwargs: DescribeConversionTasksRequestConversionTaskCancelledWaitTypeDef = { # (1)
"ConversionTaskIds": ...,
}
parent.wait(**kwargs)
ConversionTaskCompletedWaiter#
Type annotations and code completion for boto3.client("ec2").get_waiter("conversion_task_completed")
.
boto3 documentation
# ConversionTaskCompletedWaiter usage example
from boto3.session import Session
from mypy_boto3_ec2.waiter import ConversionTaskCompletedWaiter
session = Session()
client = session.client("ec2") # (1)
waiter: ConversionTaskCompletedWaiter = client.get_waiter("conversion_task_completed") # (2)
await waiter.wait()
- client: EC2Client
- waiter: ConversionTaskCompletedWaiter
wait#
Type annotations and code completion for ConversionTaskCompletedWaiter.wait
method.
# wait method definition
def wait(
self,
*,
ConversionTaskIds: Sequence[str] = ...,
DryRun: bool = ...,
WaiterConfig: WaiterConfigTypeDef = ..., # (1)
) -> None:
...