Skip to content

Waiters#

Index > ARCRegionswitch > Waiters

Auto-generated documentation for ARCRegionswitch type annotations stubs module mypy-boto3-arc-region-switch.

PlanEvaluationStatusPassedWaiter#

Type annotations and code completion for boto3.client("arc-region-switch").get_waiter("plan_evaluation_status_passed"). boto3 documentation

# PlanEvaluationStatusPassedWaiter usage example

from boto3.session import Session

from mypy_boto3_arc_region_switch.waiter import PlanEvaluationStatusPassedWaiter


session = Session()

client = session.client("arc-region-switch")  # (1)
waiter: PlanEvaluationStatusPassedWaiter = client.get_waiter("plan_evaluation_status_passed")  # (2)
await waiter.wait(...)
  1. client: ARCRegionswitchClient
  2. waiter: PlanEvaluationStatusPassedWaiter

wait#

Type annotations and code completion for PlanEvaluationStatusPassedWaiter.wait method.

# wait method definition

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

kwargs: GetPlanEvaluationStatusRequestWaitTypeDef = {  # (1)
    "planArn": ...,
}

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

PlanExecutionCompletedWaiter#

Type annotations and code completion for boto3.client("arc-region-switch").get_waiter("plan_execution_completed"). boto3 documentation

# PlanExecutionCompletedWaiter usage example

from boto3.session import Session

from mypy_boto3_arc_region_switch.waiter import PlanExecutionCompletedWaiter


session = Session()

client = session.client("arc-region-switch")  # (1)
waiter: PlanExecutionCompletedWaiter = client.get_waiter("plan_execution_completed")  # (2)
await waiter.wait(...)
  1. client: ARCRegionswitchClient
  2. waiter: PlanExecutionCompletedWaiter

wait#

Type annotations and code completion for PlanExecutionCompletedWaiter.wait method.

# wait method definition

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

kwargs: GetPlanExecutionRequestWaitTypeDef = {  # (1)
    "planArn": ...,
    "executionId": ...,
}

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