Skip to content

Waiters#

Index > OpsWorksCM > Waiters

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

NodeAssociatedWaiter#

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

# NodeAssociatedWaiter usage example

from boto3.session import Session

from types_boto3_opsworkscm.waiter import NodeAssociatedWaiter


session = Session()

client = session.client("opsworkscm")  # (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.

# wait method definition

def wait(
    self,
    *,
    NodeAssociationStatusToken: str,
    ServerName: str,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (1)
) -> None:
    ...
  1. See WaiterConfigTypeDef
# wait method usage example with argument unpacking

kwargs: DescribeNodeAssociationStatusRequestWaitTypeDef = {  # (1)
    "NodeAssociationStatusToken": ...,
    "ServerName": ...,
}

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