Waiters#
Index > ElastiCache > Waiters
Auto-generated documentation for ElastiCache type annotations stubs module mypy-boto3-elasticache.
CacheClusterAvailableWaiter#
Type annotations and code completion for boto3.client("elasticache").get_waiter("cache_cluster_available")
.
boto3 documentation
# CacheClusterAvailableWaiter usage example
from boto3.session import Session
from mypy_boto3_elasticache.waiter import CacheClusterAvailableWaiter
session = Session()
client = session.client("elasticache") # (1)
waiter: CacheClusterAvailableWaiter = client.get_waiter("cache_cluster_available") # (2)
await waiter.wait()
- client: ElastiCacheClient
- waiter: CacheClusterAvailableWaiter
wait#
Type annotations and code completion for CacheClusterAvailableWaiter.wait
method.
# wait method definition
def wait(
self,
*,
CacheClusterId: str = ...,
MaxRecords: int = ...,
Marker: str = ...,
ShowCacheNodeInfo: bool = ...,
ShowCacheClustersNotInReplicationGroups: bool = ...,
WaiterConfig: WaiterConfigTypeDef = ..., # (1)
) -> None:
...
# wait method usage example with argument unpacking
kwargs: DescribeCacheClustersMessageCacheClusterAvailableWaitTypeDef = { # (1)
"CacheClusterId": ...,
}
parent.wait(**kwargs)
CacheClusterDeletedWaiter#
Type annotations and code completion for boto3.client("elasticache").get_waiter("cache_cluster_deleted")
.
boto3 documentation
# CacheClusterDeletedWaiter usage example
from boto3.session import Session
from mypy_boto3_elasticache.waiter import CacheClusterDeletedWaiter
session = Session()
client = session.client("elasticache") # (1)
waiter: CacheClusterDeletedWaiter = client.get_waiter("cache_cluster_deleted") # (2)
await waiter.wait()
- client: ElastiCacheClient
- waiter: CacheClusterDeletedWaiter
wait#
Type annotations and code completion for CacheClusterDeletedWaiter.wait
method.
# wait method definition
def wait(
self,
*,
CacheClusterId: str = ...,
MaxRecords: int = ...,
Marker: str = ...,
ShowCacheNodeInfo: bool = ...,
ShowCacheClustersNotInReplicationGroups: bool = ...,
WaiterConfig: WaiterConfigTypeDef = ..., # (1)
) -> None:
...
# wait method usage example with argument unpacking
kwargs: DescribeCacheClustersMessageCacheClusterDeletedWaitTypeDef = { # (1)
"CacheClusterId": ...,
}
parent.wait(**kwargs)
ReplicationGroupAvailableWaiter#
Type annotations and code completion for boto3.client("elasticache").get_waiter("replication_group_available")
.
boto3 documentation
# ReplicationGroupAvailableWaiter usage example
from boto3.session import Session
from mypy_boto3_elasticache.waiter import ReplicationGroupAvailableWaiter
session = Session()
client = session.client("elasticache") # (1)
waiter: ReplicationGroupAvailableWaiter = client.get_waiter("replication_group_available") # (2)
await waiter.wait()
- client: ElastiCacheClient
- waiter: ReplicationGroupAvailableWaiter
wait#
Type annotations and code completion for ReplicationGroupAvailableWaiter.wait
method.
# wait method definition
def wait(
self,
*,
ReplicationGroupId: str = ...,
MaxRecords: int = ...,
Marker: str = ...,
WaiterConfig: WaiterConfigTypeDef = ..., # (1)
) -> None:
...
# wait method usage example with argument unpacking
kwargs: DescribeReplicationGroupsMessageReplicationGroupAvailableWaitTypeDef = { # (1)
"ReplicationGroupId": ...,
}
parent.wait(**kwargs)
ReplicationGroupDeletedWaiter#
Type annotations and code completion for boto3.client("elasticache").get_waiter("replication_group_deleted")
.
boto3 documentation
# ReplicationGroupDeletedWaiter usage example
from boto3.session import Session
from mypy_boto3_elasticache.waiter import ReplicationGroupDeletedWaiter
session = Session()
client = session.client("elasticache") # (1)
waiter: ReplicationGroupDeletedWaiter = client.get_waiter("replication_group_deleted") # (2)
await waiter.wait()
- client: ElastiCacheClient
- waiter: ReplicationGroupDeletedWaiter
wait#
Type annotations and code completion for ReplicationGroupDeletedWaiter.wait
method.
# wait method definition
def wait(
self,
*,
ReplicationGroupId: str = ...,
MaxRecords: int = ...,
Marker: str = ...,
WaiterConfig: WaiterConfigTypeDef = ..., # (1)
) -> None:
...
# wait method usage example with argument unpacking
kwargs: DescribeReplicationGroupsMessageReplicationGroupDeletedWaitTypeDef = { # (1)
"ReplicationGroupId": ...,
}
parent.wait(**kwargs)