Skip to content

Waiters#

Index > SSM > Waiters

Auto-generated documentation for SSM type annotations stubs module types-boto3-ssm.

CommandExecutedWaiter#

Type annotations and code completion for boto3.client("ssm").get_waiter("command_executed"). boto3 documentation

# CommandExecutedWaiter usage example

from boto3.session import Session

from types_boto3_ssm.waiter import CommandExecutedWaiter


session = Session()

client = session.client("ssm")  # (1)
waiter: CommandExecutedWaiter = client.get_waiter("command_executed")  # (2)
await waiter.wait()
  1. client: SSMClient
  2. waiter: CommandExecutedWaiter

wait#

Type annotations and code completion for CommandExecutedWaiter.wait method.

# wait method definition

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

kwargs: GetCommandInvocationRequestWaitTypeDef = {  # (1)
    "CommandId": ...,
    "InstanceId": ...,
}

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