Waiters#
Auto-generated documentation for EMR type annotations stubs module mypy-boto3-emr.
ClusterRunningWaiter#
Type annotations and code completion for boto3.client("emr").get_waiter("cluster_running")
.
boto3 documentation
# ClusterRunningWaiter usage example
from boto3.session import Session
from mypy_boto3_emr.waiter import ClusterRunningWaiter
session = Session()
client = session.client("emr") # (1)
waiter: ClusterRunningWaiter = client.get_waiter("cluster_running") # (2)
await waiter.wait()
- client: EMRClient
- waiter: ClusterRunningWaiter
wait#
Type annotations and code completion for ClusterRunningWaiter.wait
method.
# wait method definition
def wait(
self,
*,
ClusterId: str,
WaiterConfig: WaiterConfigTypeDef = ..., # (1)
) -> None:
...
# wait method usage example with argument unpacking
kwargs: DescribeClusterInputClusterRunningWaitTypeDef = { # (1)
"ClusterId": ...,
}
parent.wait(**kwargs)
ClusterTerminatedWaiter#
Type annotations and code completion for boto3.client("emr").get_waiter("cluster_terminated")
.
boto3 documentation
# ClusterTerminatedWaiter usage example
from boto3.session import Session
from mypy_boto3_emr.waiter import ClusterTerminatedWaiter
session = Session()
client = session.client("emr") # (1)
waiter: ClusterTerminatedWaiter = client.get_waiter("cluster_terminated") # (2)
await waiter.wait()
- client: EMRClient
- waiter: ClusterTerminatedWaiter
wait#
Type annotations and code completion for ClusterTerminatedWaiter.wait
method.
# wait method definition
def wait(
self,
*,
ClusterId: str,
WaiterConfig: WaiterConfigTypeDef = ..., # (1)
) -> None:
...
# wait method usage example with argument unpacking
kwargs: DescribeClusterInputClusterTerminatedWaitTypeDef = { # (1)
"ClusterId": ...,
}
parent.wait(**kwargs)
StepCompleteWaiter#
Type annotations and code completion for boto3.client("emr").get_waiter("step_complete")
.
boto3 documentation
# StepCompleteWaiter usage example
from boto3.session import Session
from mypy_boto3_emr.waiter import StepCompleteWaiter
session = Session()
client = session.client("emr") # (1)
waiter: StepCompleteWaiter = client.get_waiter("step_complete") # (2)
await waiter.wait()
- client: EMRClient
- waiter: StepCompleteWaiter
wait#
Type annotations and code completion for StepCompleteWaiter.wait
method.
# wait method definition
def wait(
self,
*,
ClusterId: str,
StepId: str,
WaiterConfig: WaiterConfigTypeDef = ..., # (1)
) -> None:
...
# wait method usage example with argument unpacking
kwargs: DescribeStepInputStepCompleteWaitTypeDef = { # (1)
"ClusterId": ...,
"StepId": ...,
}
parent.wait(**kwargs)