Skip to content

Waiters

Index > OpsWorksCM > Waiters

Auto-generated documentation for OpsWorksCM type annotations stubs module types-aiobotocore-opsworkscm.

NodeAssociatedWaiter

Type annotations and code completion for session.client("opsworkscm").get_waiter("node_associated"). boto3 documentation

Usage example
from aioboto3.session import Session

from types_aiobotocore_opsworkscm.waiter import NodeAssociatedWaiter

session = get_session()
async with session.client("opsworkscm") as client:  # (1)
    waiter: NodeAssociatedWaiter = client.get_waiter("node_associated")  # (2)
    await waiter.wait()
  1. client: OpsWorksCMClient
  2. waiter: NodeAssociatedWaiter

wait

Type annotations and code completion for NodeAssociatedWaiter.wait method.

Method definition
await def wait(
    self,
    *,
    NodeAssociationStatusToken: str,
    ServerName: str,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (1)
) -> None:
    ...
  1. See WaiterConfigTypeDef
Usage example with kwargs
kwargs: DescribeNodeAssociationStatusRequestNodeAssociatedWaitTypeDef = {  # (1)
    "NodeAssociationStatusToken": ...,
    "ServerName": ...,
}

parent.wait(**kwargs)
  1. See DescribeNodeAssociationStatusRequestNodeAssociatedWaitTypeDef