Waiters#
Auto-generated documentation for AppStream type annotations stubs module types-aiobotocore-appstream.
FleetStartedWaiter#
Type annotations and code completion for session.client("appstream").get_waiter("fleet_started")
.
boto3 documentation
# FleetStartedWaiter usage example
from aioboto3.session import Session
from types_aiobotocore_appstream.waiter import FleetStartedWaiter
session = get_session()
async with session.client("appstream") as client: # (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
await 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 session.client("appstream").get_waiter("fleet_stopped")
.
boto3 documentation
# FleetStoppedWaiter usage example
from aioboto3.session import Session
from types_aiobotocore_appstream.waiter import FleetStoppedWaiter
session = get_session()
async with session.client("appstream") as client: # (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
await 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)