Waiters
Index > CloudWatch > Waiters
Auto-generated documentation for CloudWatch type annotations stubs module types-aiobotocore-cloudwatch.
AlarmExistsWaiter
Type annotations and code completion for session.client("cloudwatch").get_waiter("alarm_exists")
.
boto3 documentation
Usage example
from aioboto3.session import Session
from types_aiobotocore_cloudwatch.waiter import AlarmExistsWaiter
session = get_session()
async with session.client("cloudwatch") as client: # (1)
waiter: AlarmExistsWaiter = client.get_waiter("alarm_exists") # (2)
await waiter.wait()
- client: CloudWatchClient
- waiter: AlarmExistsWaiter
wait
Type annotations and code completion for AlarmExistsWaiter.wait
method.
Method definition
await def wait(
self,
*,
AlarmNames: Sequence[str] = ...,
AlarmNamePrefix: str = ...,
AlarmTypes: Sequence[AlarmTypeType] = ..., # (1)
ChildrenOfAlarmName: str = ...,
ParentsOfAlarmName: str = ...,
StateValue: StateValueType = ..., # (2)
ActionPrefix: str = ...,
MaxRecords: int = ...,
NextToken: str = ...,
WaiterConfig: WaiterConfigTypeDef = ..., # (3)
) -> None:
...
- See AlarmTypeType
- See StateValueType
- See WaiterConfigTypeDef
Usage example with kwargs
kwargs: DescribeAlarmsInputAlarmExistsWaitTypeDef = { # (1)
"AlarmNames": ...,
}
parent.wait(**kwargs)
CompositeAlarmExistsWaiter
Type annotations and code completion for session.client("cloudwatch").get_waiter("composite_alarm_exists")
.
boto3 documentation
Usage example
from aioboto3.session import Session
from types_aiobotocore_cloudwatch.waiter import CompositeAlarmExistsWaiter
session = get_session()
async with session.client("cloudwatch") as client: # (1)
waiter: CompositeAlarmExistsWaiter = client.get_waiter("composite_alarm_exists") # (2)
await waiter.wait()
- client: CloudWatchClient
- waiter: CompositeAlarmExistsWaiter
wait
Type annotations and code completion for CompositeAlarmExistsWaiter.wait
method.
Method definition
await def wait(
self,
*,
AlarmNames: Sequence[str] = ...,
AlarmNamePrefix: str = ...,
AlarmTypes: Sequence[AlarmTypeType] = ..., # (1)
ChildrenOfAlarmName: str = ...,
ParentsOfAlarmName: str = ...,
StateValue: StateValueType = ..., # (2)
ActionPrefix: str = ...,
MaxRecords: int = ...,
NextToken: str = ...,
WaiterConfig: WaiterConfigTypeDef = ..., # (3)
) -> None:
...
- See AlarmTypeType
- See StateValueType
- See WaiterConfigTypeDef