Skip to content

Waiters#

Index > SSM > Waiters

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

CommandExecutedWaiter#

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

# CommandExecutedWaiter usage example

from aiobotocore.session import Session

from types_aiobotocore_ssm.waiter import CommandExecutedWaiter

session = get_session()
async with session.create_client("ssm") as client:  # (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

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

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

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