Skip to content

Waiters#

Index > SSMIncidents > Waiters

Auto-generated documentation for SSMIncidents type annotations stubs module mypy-boto3-ssm-incidents.

WaitForReplicationSetActiveWaiter#

Type annotations and code completion for boto3.client("ssm-incidents").get_waiter("wait_for_replication_set_active"). boto3 documentation

# WaitForReplicationSetActiveWaiter usage example

from boto3.session import Session

from mypy_boto3_ssm_incidents.waiter import WaitForReplicationSetActiveWaiter


session = Session()

client = session.client("ssm-incidents")  # (1)
waiter: WaitForReplicationSetActiveWaiter = client.get_waiter("wait_for_replication_set_active")  # (2)
await waiter.wait()
  1. client: SSMIncidentsClient
  2. waiter: WaitForReplicationSetActiveWaiter

wait#

Type annotations and code completion for WaitForReplicationSetActiveWaiter.wait method.

# wait method definition

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

kwargs: GetReplicationSetInputWaitForReplicationSetActiveWaitTypeDef = {  # (1)
    "arn": ...,
}

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

WaitForReplicationSetDeletedWaiter#

Type annotations and code completion for boto3.client("ssm-incidents").get_waiter("wait_for_replication_set_deleted"). boto3 documentation

# WaitForReplicationSetDeletedWaiter usage example

from boto3.session import Session

from mypy_boto3_ssm_incidents.waiter import WaitForReplicationSetDeletedWaiter


session = Session()

client = session.client("ssm-incidents")  # (1)
waiter: WaitForReplicationSetDeletedWaiter = client.get_waiter("wait_for_replication_set_deleted")  # (2)
await waiter.wait()
  1. client: SSMIncidentsClient
  2. waiter: WaitForReplicationSetDeletedWaiter

wait#

Type annotations and code completion for WaitForReplicationSetDeletedWaiter.wait method.

# wait method definition

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

kwargs: GetReplicationSetInputWaitForReplicationSetDeletedWaitTypeDef = {  # (1)
    "arn": ...,
}

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