Waiters#
Auto-generated documentation for Glacier type annotations stubs module mypy-boto3-glacier.
VaultExistsWaiter#
Type annotations and code completion for boto3.client("glacier").get_waiter("vault_exists")
.
boto3 documentation
# VaultExistsWaiter usage example
from boto3.session import Session
from mypy_boto3_glacier.waiter import VaultExistsWaiter
session = Session()
client = session.client("glacier") # (1)
waiter: VaultExistsWaiter = client.get_waiter("vault_exists") # (2)
await waiter.wait()
- client: GlacierClient
- waiter: VaultExistsWaiter
wait#
Type annotations and code completion for VaultExistsWaiter.wait
method.
# wait method definition
def wait(
self,
*,
accountId: str,
vaultName: str,
WaiterConfig: WaiterConfigTypeDef = ..., # (1)
) -> None:
...
# wait method usage example with argument unpacking
kwargs: DescribeVaultInputWaitTypeDef = { # (1)
"accountId": ...,
"vaultName": ...,
}
parent.wait(**kwargs)
VaultNotExistsWaiter#
Type annotations and code completion for boto3.client("glacier").get_waiter("vault_not_exists")
.
boto3 documentation
# VaultNotExistsWaiter usage example
from boto3.session import Session
from mypy_boto3_glacier.waiter import VaultNotExistsWaiter
session = Session()
client = session.client("glacier") # (1)
waiter: VaultNotExistsWaiter = client.get_waiter("vault_not_exists") # (2)
await waiter.wait()
- client: GlacierClient
- waiter: VaultNotExistsWaiter
wait#
Type annotations and code completion for VaultNotExistsWaiter.wait
method.
# wait method definition
def wait(
self,
*,
accountId: str,
vaultName: str,
WaiterConfig: WaiterConfigTypeDef = ..., # (1)
) -> None:
...
# wait method usage example with argument unpacking
kwargs: DescribeVaultInputWaitTypeDef = { # (1)
"accountId": ...,
"vaultName": ...,
}
parent.wait(**kwargs)