Waiters#
Auto-generated documentation for Redshift type annotations stubs module mypy-boto3-redshift.
ClusterAvailableWaiter#
Type annotations and code completion for boto3.client("redshift").get_waiter("cluster_available")
.
boto3 documentation
# ClusterAvailableWaiter usage example
from boto3.session import Session
from mypy_boto3_redshift.waiter import ClusterAvailableWaiter
session = Session()
client = session.client("redshift") # (1)
waiter: ClusterAvailableWaiter = client.get_waiter("cluster_available") # (2)
await waiter.wait()
- client: RedshiftClient
- waiter: ClusterAvailableWaiter
wait#
Type annotations and code completion for ClusterAvailableWaiter.wait
method.
# wait method definition
def wait(
self,
*,
ClusterIdentifier: str = ...,
MaxRecords: int = ...,
Marker: str = ...,
TagKeys: Sequence[str] = ...,
TagValues: Sequence[str] = ...,
WaiterConfig: WaiterConfigTypeDef = ..., # (1)
) -> None:
...
# wait method usage example with argument unpacking
kwargs: DescribeClustersMessageClusterAvailableWaitTypeDef = { # (1)
"ClusterIdentifier": ...,
}
parent.wait(**kwargs)
ClusterDeletedWaiter#
Type annotations and code completion for boto3.client("redshift").get_waiter("cluster_deleted")
.
boto3 documentation
# ClusterDeletedWaiter usage example
from boto3.session import Session
from mypy_boto3_redshift.waiter import ClusterDeletedWaiter
session = Session()
client = session.client("redshift") # (1)
waiter: ClusterDeletedWaiter = client.get_waiter("cluster_deleted") # (2)
await waiter.wait()
- client: RedshiftClient
- waiter: ClusterDeletedWaiter
wait#
Type annotations and code completion for ClusterDeletedWaiter.wait
method.
# wait method definition
def wait(
self,
*,
ClusterIdentifier: str = ...,
MaxRecords: int = ...,
Marker: str = ...,
TagKeys: Sequence[str] = ...,
TagValues: Sequence[str] = ...,
WaiterConfig: WaiterConfigTypeDef = ..., # (1)
) -> None:
...
# wait method usage example with argument unpacking
kwargs: DescribeClustersMessageClusterDeletedWaitTypeDef = { # (1)
"ClusterIdentifier": ...,
}
parent.wait(**kwargs)
ClusterRestoredWaiter#
Type annotations and code completion for boto3.client("redshift").get_waiter("cluster_restored")
.
boto3 documentation
# ClusterRestoredWaiter usage example
from boto3.session import Session
from mypy_boto3_redshift.waiter import ClusterRestoredWaiter
session = Session()
client = session.client("redshift") # (1)
waiter: ClusterRestoredWaiter = client.get_waiter("cluster_restored") # (2)
await waiter.wait()
- client: RedshiftClient
- waiter: ClusterRestoredWaiter
wait#
Type annotations and code completion for ClusterRestoredWaiter.wait
method.
# wait method definition
def wait(
self,
*,
ClusterIdentifier: str = ...,
MaxRecords: int = ...,
Marker: str = ...,
TagKeys: Sequence[str] = ...,
TagValues: Sequence[str] = ...,
WaiterConfig: WaiterConfigTypeDef = ..., # (1)
) -> None:
...
# wait method usage example with argument unpacking
kwargs: DescribeClustersMessageClusterRestoredWaitTypeDef = { # (1)
"ClusterIdentifier": ...,
}
parent.wait(**kwargs)
SnapshotAvailableWaiter#
Type annotations and code completion for boto3.client("redshift").get_waiter("snapshot_available")
.
boto3 documentation
# SnapshotAvailableWaiter usage example
from boto3.session import Session
from mypy_boto3_redshift.waiter import SnapshotAvailableWaiter
session = Session()
client = session.client("redshift") # (1)
waiter: SnapshotAvailableWaiter = client.get_waiter("snapshot_available") # (2)
await waiter.wait()
- client: RedshiftClient
- waiter: SnapshotAvailableWaiter
wait#
Type annotations and code completion for SnapshotAvailableWaiter.wait
method.
# wait method definition
def wait(
self,
*,
ClusterIdentifier: str = ...,
SnapshotIdentifier: str = ...,
SnapshotArn: str = ...,
SnapshotType: str = ...,
StartTime: TimestampTypeDef = ...,
EndTime: TimestampTypeDef = ...,
MaxRecords: int = ...,
Marker: str = ...,
OwnerAccount: str = ...,
TagKeys: Sequence[str] = ...,
TagValues: Sequence[str] = ...,
ClusterExists: bool = ...,
SortingEntities: Sequence[SnapshotSortingEntityTypeDef] = ..., # (1)
WaiterConfig: WaiterConfigTypeDef = ..., # (2)
) -> None:
...
# wait method usage example with argument unpacking
kwargs: DescribeClusterSnapshotsMessageSnapshotAvailableWaitTypeDef = { # (1)
"ClusterIdentifier": ...,
}
parent.wait(**kwargs)