Waiters#
Auto-generated documentation for OpsWorks type annotations stubs module mypy-boto3-opsworks.
AppExistsWaiter#
Type annotations and code completion for boto3.client("opsworks").get_waiter("app_exists")
.
boto3 documentation
# AppExistsWaiter usage example
from boto3.session import Session
from mypy_boto3_opsworks.waiter import AppExistsWaiter
session = Session()
client = session.client("opsworks") # (1)
waiter: AppExistsWaiter = client.get_waiter("app_exists") # (2)
await waiter.wait()
- client: OpsWorksClient
- waiter: AppExistsWaiter
wait#
Type annotations and code completion for AppExistsWaiter.wait
method.
# wait method definition
def wait(
self,
*,
StackId: str = ...,
AppIds: Sequence[str] = ...,
WaiterConfig: WaiterConfigTypeDef = ..., # (1)
) -> None:
...
# wait method usage example with argument unpacking
kwargs: DescribeAppsRequestAppExistsWaitTypeDef = { # (1)
"StackId": ...,
}
parent.wait(**kwargs)
DeploymentSuccessfulWaiter#
Type annotations and code completion for boto3.client("opsworks").get_waiter("deployment_successful")
.
boto3 documentation
# DeploymentSuccessfulWaiter usage example
from boto3.session import Session
from mypy_boto3_opsworks.waiter import DeploymentSuccessfulWaiter
session = Session()
client = session.client("opsworks") # (1)
waiter: DeploymentSuccessfulWaiter = client.get_waiter("deployment_successful") # (2)
await waiter.wait()
- client: OpsWorksClient
- waiter: DeploymentSuccessfulWaiter
wait#
Type annotations and code completion for DeploymentSuccessfulWaiter.wait
method.
# wait method definition
def wait(
self,
*,
StackId: str = ...,
AppId: str = ...,
DeploymentIds: Sequence[str] = ...,
WaiterConfig: WaiterConfigTypeDef = ..., # (1)
) -> None:
...
# wait method usage example with argument unpacking
kwargs: DescribeDeploymentsRequestDeploymentSuccessfulWaitTypeDef = { # (1)
"StackId": ...,
}
parent.wait(**kwargs)
InstanceOnlineWaiter#
Type annotations and code completion for boto3.client("opsworks").get_waiter("instance_online")
.
boto3 documentation
# InstanceOnlineWaiter usage example
from boto3.session import Session
from mypy_boto3_opsworks.waiter import InstanceOnlineWaiter
session = Session()
client = session.client("opsworks") # (1)
waiter: InstanceOnlineWaiter = client.get_waiter("instance_online") # (2)
await waiter.wait()
- client: OpsWorksClient
- waiter: InstanceOnlineWaiter
wait#
Type annotations and code completion for InstanceOnlineWaiter.wait
method.
# wait method definition
def wait(
self,
*,
StackId: str = ...,
LayerId: str = ...,
InstanceIds: Sequence[str] = ...,
WaiterConfig: WaiterConfigTypeDef = ..., # (1)
) -> None:
...
# wait method usage example with argument unpacking
kwargs: DescribeInstancesRequestInstanceOnlineWaitTypeDef = { # (1)
"StackId": ...,
}
parent.wait(**kwargs)
InstanceRegisteredWaiter#
Type annotations and code completion for boto3.client("opsworks").get_waiter("instance_registered")
.
boto3 documentation
# InstanceRegisteredWaiter usage example
from boto3.session import Session
from mypy_boto3_opsworks.waiter import InstanceRegisteredWaiter
session = Session()
client = session.client("opsworks") # (1)
waiter: InstanceRegisteredWaiter = client.get_waiter("instance_registered") # (2)
await waiter.wait()
- client: OpsWorksClient
- waiter: InstanceRegisteredWaiter
wait#
Type annotations and code completion for InstanceRegisteredWaiter.wait
method.
# wait method definition
def wait(
self,
*,
StackId: str = ...,
LayerId: str = ...,
InstanceIds: Sequence[str] = ...,
WaiterConfig: WaiterConfigTypeDef = ..., # (1)
) -> None:
...
# wait method usage example with argument unpacking
kwargs: DescribeInstancesRequestInstanceRegisteredWaitTypeDef = { # (1)
"StackId": ...,
}
parent.wait(**kwargs)
InstanceStoppedWaiter#
Type annotations and code completion for boto3.client("opsworks").get_waiter("instance_stopped")
.
boto3 documentation
# InstanceStoppedWaiter usage example
from boto3.session import Session
from mypy_boto3_opsworks.waiter import InstanceStoppedWaiter
session = Session()
client = session.client("opsworks") # (1)
waiter: InstanceStoppedWaiter = client.get_waiter("instance_stopped") # (2)
await waiter.wait()
- client: OpsWorksClient
- waiter: InstanceStoppedWaiter
wait#
Type annotations and code completion for InstanceStoppedWaiter.wait
method.
# wait method definition
def wait(
self,
*,
StackId: str = ...,
LayerId: str = ...,
InstanceIds: Sequence[str] = ...,
WaiterConfig: WaiterConfigTypeDef = ..., # (1)
) -> None:
...
# wait method usage example with argument unpacking
kwargs: DescribeInstancesRequestInstanceStoppedWaitTypeDef = { # (1)
"StackId": ...,
}
parent.wait(**kwargs)
InstanceTerminatedWaiter#
Type annotations and code completion for boto3.client("opsworks").get_waiter("instance_terminated")
.
boto3 documentation
# InstanceTerminatedWaiter usage example
from boto3.session import Session
from mypy_boto3_opsworks.waiter import InstanceTerminatedWaiter
session = Session()
client = session.client("opsworks") # (1)
waiter: InstanceTerminatedWaiter = client.get_waiter("instance_terminated") # (2)
await waiter.wait()
- client: OpsWorksClient
- waiter: InstanceTerminatedWaiter
wait#
Type annotations and code completion for InstanceTerminatedWaiter.wait
method.
# wait method definition
def wait(
self,
*,
StackId: str = ...,
LayerId: str = ...,
InstanceIds: Sequence[str] = ...,
WaiterConfig: WaiterConfigTypeDef = ..., # (1)
) -> None:
...
# wait method usage example with argument unpacking
kwargs: DescribeInstancesRequestInstanceTerminatedWaitTypeDef = { # (1)
"StackId": ...,
}
parent.wait(**kwargs)