Waiters#
Auto-generated documentation for ECS type annotations stubs module types-boto3-ecs.
ServicesInactiveWaiter#
Type annotations and code completion for boto3.client("ecs").get_waiter("services_inactive").
 boto3 documentation
# ServicesInactiveWaiter usage example
from boto3.session import Session
from types_boto3_ecs.waiter import ServicesInactiveWaiter
session = Session()
client = session.client("ecs")  # (1)
waiter: ServicesInactiveWaiter = client.get_waiter("services_inactive")  # (2)
await waiter.wait(...)- client: ECSClient
- waiter: ServicesInactiveWaiter
wait#
Type annotations and code completion for ServicesInactiveWaiter.wait method.
# wait method definition
def wait(
    self,
    *,
    services: Sequence[str],
    cluster: str = ...,
    include: Sequence[ServiceFieldType] = ...,  # (1)
    WaiterConfig: WaiterConfigTypeDef = ...,  # (2)
) -> None:
    ...- See Sequence[Literal['TAGS']]
- See WaiterConfigTypeDef
# wait method usage example with argument unpacking
kwargs: DescribeServicesRequestWaitExtraTypeDef = {  # (1)
    "services": ...,
}
parent.wait(**kwargs)ServicesStableWaiter#
Type annotations and code completion for boto3.client("ecs").get_waiter("services_stable").
 boto3 documentation
# ServicesStableWaiter usage example
from boto3.session import Session
from types_boto3_ecs.waiter import ServicesStableWaiter
session = Session()
client = session.client("ecs")  # (1)
waiter: ServicesStableWaiter = client.get_waiter("services_stable")  # (2)
await waiter.wait(...)- client: ECSClient
- waiter: ServicesStableWaiter
wait#
Type annotations and code completion for ServicesStableWaiter.wait method.
# wait method definition
def wait(
    self,
    *,
    services: Sequence[str],
    cluster: str = ...,
    include: Sequence[ServiceFieldType] = ...,  # (1)
    WaiterConfig: WaiterConfigTypeDef = ...,  # (2)
) -> None:
    ...- See Sequence[Literal['TAGS']]
- See WaiterConfigTypeDef
# wait method usage example with argument unpacking
kwargs: DescribeServicesRequestWaitTypeDef = {  # (1)
    "services": ...,
}
parent.wait(**kwargs)TasksRunningWaiter#
Type annotations and code completion for boto3.client("ecs").get_waiter("tasks_running").
 boto3 documentation
# TasksRunningWaiter usage example
from boto3.session import Session
from types_boto3_ecs.waiter import TasksRunningWaiter
session = Session()
client = session.client("ecs")  # (1)
waiter: TasksRunningWaiter = client.get_waiter("tasks_running")  # (2)
await waiter.wait(...)- client: ECSClient
- waiter: TasksRunningWaiter
wait#
Type annotations and code completion for TasksRunningWaiter.wait method.
# wait method definition
def wait(
    self,
    *,
    tasks: Sequence[str],
    cluster: str = ...,
    include: Sequence[TaskFieldType] = ...,  # (1)
    WaiterConfig: WaiterConfigTypeDef = ...,  # (2)
) -> None:
    ...- See Sequence[Literal['TAGS']]
- See WaiterConfigTypeDef
# wait method usage example with argument unpacking
kwargs: DescribeTasksRequestWaitTypeDef = {  # (1)
    "tasks": ...,
}
parent.wait(**kwargs)TasksStoppedWaiter#
Type annotations and code completion for boto3.client("ecs").get_waiter("tasks_stopped").
 boto3 documentation
# TasksStoppedWaiter usage example
from boto3.session import Session
from types_boto3_ecs.waiter import TasksStoppedWaiter
session = Session()
client = session.client("ecs")  # (1)
waiter: TasksStoppedWaiter = client.get_waiter("tasks_stopped")  # (2)
await waiter.wait(...)- client: ECSClient
- waiter: TasksStoppedWaiter
wait#
Type annotations and code completion for TasksStoppedWaiter.wait method.
# wait method definition
def wait(
    self,
    *,
    tasks: Sequence[str],
    cluster: str = ...,
    include: Sequence[TaskFieldType] = ...,  # (1)
    WaiterConfig: WaiterConfigTypeDef = ...,  # (2)
) -> None:
    ...- See Sequence[Literal['TAGS']]
- See WaiterConfigTypeDef
# wait method usage example with argument unpacking
kwargs: DescribeTasksRequestWaitExtraTypeDef = {  # (1)
    "tasks": ...,
}
parent.wait(**kwargs)