Waiters#
Auto-generated documentation for AppStream type annotations stubs module mypy-boto3-appstream.
FleetStartedWaiter#
Type annotations and code completion for boto3.client("appstream").get_waiter("fleet_started")
.
boto3 documentation
# FleetStartedWaiter usage example
from boto3.session import Session
from mypy_boto3_appstream.waiter import FleetStartedWaiter
session = Session()
client = session.client("appstream") # (1)
waiter: FleetStartedWaiter = client.get_waiter("fleet_started") # (2)
await waiter.wait()
- client: AppStreamClient
- waiter: FleetStartedWaiter
wait#
Type annotations and code completion for FleetStartedWaiter.wait
method.
# wait method definition
def wait(
self,
*,
Names: Sequence[str] = ...,
NextToken: str = ...,
WaiterConfig: WaiterConfigTypeDef = ..., # (1)
) -> None:
...
# wait method usage example with argument unpacking
kwargs: DescribeFleetsRequestFleetStartedWaitTypeDef = { # (1)
"Names": ...,
}
parent.wait(**kwargs)
FleetStoppedWaiter#
Type annotations and code completion for boto3.client("appstream").get_waiter("fleet_stopped")
.
boto3 documentation
# FleetStoppedWaiter usage example
from boto3.session import Session
from mypy_boto3_appstream.waiter import FleetStoppedWaiter
session = Session()
client = session.client("appstream") # (1)
waiter: FleetStoppedWaiter = client.get_waiter("fleet_stopped") # (2)
await waiter.wait()
- client: AppStreamClient
- waiter: FleetStoppedWaiter
wait#
Type annotations and code completion for FleetStoppedWaiter.wait
method.
# wait method definition
def wait(
self,
*,
Names: Sequence[str] = ...,
NextToken: str = ...,
WaiterConfig: WaiterConfigTypeDef = ..., # (1)
) -> None:
...
# wait method usage example with argument unpacking
kwargs: DescribeFleetsRequestFleetStoppedWaitTypeDef = { # (1)
"Names": ...,
}
parent.wait(**kwargs)