Waiters
Index > CloudFront > Waiters
Auto-generated documentation for CloudFront type annotations stubs module mypy-boto3-cloudfront.
DistributionDeployedWaiter
Type annotations and code completion for boto3.client("cloudfront").get_waiter("distribution_deployed")
.
boto3 documentation
from boto3.session import Session
from mypy_boto3_cloudfront.waiter import DistributionDeployedWaiter
session = Session()
client = session.client("cloudfront") # (1)
waiter: DistributionDeployedWaiter = client.get_waiter("distribution_deployed") # (2)
await waiter.wait()
- client: CloudFrontClient
- waiter: DistributionDeployedWaiter
wait
Type annotations and code completion for DistributionDeployedWaiter.wait
method.
def wait(
self,
*,
Id: str,
WaiterConfig: WaiterConfigTypeDef = ..., # (1)
) -> None:
...
kwargs: GetDistributionRequestDistributionDeployedWaitTypeDef = { # (1)
"Id": ...,
}
parent.wait(**kwargs)
InvalidationCompletedWaiter
Type annotations and code completion for boto3.client("cloudfront").get_waiter("invalidation_completed")
.
boto3 documentation
from boto3.session import Session
from mypy_boto3_cloudfront.waiter import InvalidationCompletedWaiter
session = Session()
client = session.client("cloudfront") # (1)
waiter: InvalidationCompletedWaiter = client.get_waiter("invalidation_completed") # (2)
await waiter.wait()
- client: CloudFrontClient
- waiter: InvalidationCompletedWaiter
wait
Type annotations and code completion for InvalidationCompletedWaiter.wait
method.
def wait(
self,
*,
DistributionId: str,
Id: str,
WaiterConfig: WaiterConfigTypeDef = ..., # (1)
) -> None:
...
kwargs: GetInvalidationRequestInvalidationCompletedWaitTypeDef = { # (1)
"DistributionId": ...,
"Id": ...,
}
parent.wait(**kwargs)
StreamingDistributionDeployedWaiter
Type annotations and code completion for boto3.client("cloudfront").get_waiter("streaming_distribution_deployed")
.
boto3 documentation
from boto3.session import Session
from mypy_boto3_cloudfront.waiter import StreamingDistributionDeployedWaiter
session = Session()
client = session.client("cloudfront") # (1)
waiter: StreamingDistributionDeployedWaiter = client.get_waiter("streaming_distribution_deployed") # (2)
await waiter.wait()
- client: CloudFrontClient
- waiter: StreamingDistributionDeployedWaiter
wait
Type annotations and code completion for StreamingDistributionDeployedWaiter.wait
method.
def wait(
self,
*,
Id: str,
WaiterConfig: WaiterConfigTypeDef = ..., # (1)
) -> None:
...