Skip to content

Waiters#

Index > Lambda > Waiters

Auto-generated documentation for Lambda type annotations stubs module types-aiobotocore-lambda.

FunctionActiveWaiter#

Type annotations and code completion for session.create_client("lambda").get_waiter("function_active"). boto3 documentation

# FunctionActiveWaiter usage example

from aiobotocore.session import Session

from types_aiobotocore_lambda.waiter import FunctionActiveWaiter

session = get_session()
async with session.create_client("lambda") as client:  # (1)
    waiter: FunctionActiveWaiter = client.get_waiter("function_active")  # (2)
    await waiter.wait()
  1. client: LambdaClient
  2. waiter: FunctionActiveWaiter

wait#

Type annotations and code completion for FunctionActiveWaiter.wait method.

# wait method definition

await def wait(
    self,
    *,
    FunctionName: str,
    Qualifier: str = ...,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (1)
) -> None:
    ...
  1. See WaiterConfigTypeDef
# wait method usage example with argument unpacking

kwargs: GetFunctionConfigurationRequestFunctionActiveWaitTypeDef = {  # (1)
    "FunctionName": ...,
}

parent.wait(**kwargs)
  1. See GetFunctionConfigurationRequestFunctionActiveWaitTypeDef

FunctionActiveV2Waiter#

Type annotations and code completion for session.create_client("lambda").get_waiter("function_active_v2"). boto3 documentation

# FunctionActiveV2Waiter usage example

from aiobotocore.session import Session

from types_aiobotocore_lambda.waiter import FunctionActiveV2Waiter

session = get_session()
async with session.create_client("lambda") as client:  # (1)
    waiter: FunctionActiveV2Waiter = client.get_waiter("function_active_v2")  # (2)
    await waiter.wait()
  1. client: LambdaClient
  2. waiter: FunctionActiveV2Waiter

wait#

Type annotations and code completion for FunctionActiveV2Waiter.wait method.

# wait method definition

await def wait(
    self,
    *,
    FunctionName: str,
    Qualifier: str = ...,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (1)
) -> None:
    ...
  1. See WaiterConfigTypeDef
# wait method usage example with argument unpacking

kwargs: GetFunctionRequestFunctionActiveV2WaitTypeDef = {  # (1)
    "FunctionName": ...,
}

parent.wait(**kwargs)
  1. See GetFunctionRequestFunctionActiveV2WaitTypeDef

FunctionExistsWaiter#

Type annotations and code completion for session.create_client("lambda").get_waiter("function_exists"). boto3 documentation

# FunctionExistsWaiter usage example

from aiobotocore.session import Session

from types_aiobotocore_lambda.waiter import FunctionExistsWaiter

session = get_session()
async with session.create_client("lambda") as client:  # (1)
    waiter: FunctionExistsWaiter = client.get_waiter("function_exists")  # (2)
    await waiter.wait()
  1. client: LambdaClient
  2. waiter: FunctionExistsWaiter

wait#

Type annotations and code completion for FunctionExistsWaiter.wait method.

# wait method definition

await def wait(
    self,
    *,
    FunctionName: str,
    Qualifier: str = ...,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (1)
) -> None:
    ...
  1. See WaiterConfigTypeDef
# wait method usage example with argument unpacking

kwargs: GetFunctionRequestFunctionExistsWaitTypeDef = {  # (1)
    "FunctionName": ...,
}

parent.wait(**kwargs)
  1. See GetFunctionRequestFunctionExistsWaitTypeDef

FunctionUpdatedWaiter#

Type annotations and code completion for session.create_client("lambda").get_waiter("function_updated"). boto3 documentation

# FunctionUpdatedWaiter usage example

from aiobotocore.session import Session

from types_aiobotocore_lambda.waiter import FunctionUpdatedWaiter

session = get_session()
async with session.create_client("lambda") as client:  # (1)
    waiter: FunctionUpdatedWaiter = client.get_waiter("function_updated")  # (2)
    await waiter.wait()
  1. client: LambdaClient
  2. waiter: FunctionUpdatedWaiter

wait#

Type annotations and code completion for FunctionUpdatedWaiter.wait method.

# wait method definition

await def wait(
    self,
    *,
    FunctionName: str,
    Qualifier: str = ...,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (1)
) -> None:
    ...
  1. See WaiterConfigTypeDef
# wait method usage example with argument unpacking

kwargs: GetFunctionConfigurationRequestFunctionUpdatedWaitTypeDef = {  # (1)
    "FunctionName": ...,
}

parent.wait(**kwargs)
  1. See GetFunctionConfigurationRequestFunctionUpdatedWaitTypeDef

FunctionUpdatedV2Waiter#

Type annotations and code completion for session.create_client("lambda").get_waiter("function_updated_v2"). boto3 documentation

# FunctionUpdatedV2Waiter usage example

from aiobotocore.session import Session

from types_aiobotocore_lambda.waiter import FunctionUpdatedV2Waiter

session = get_session()
async with session.create_client("lambda") as client:  # (1)
    waiter: FunctionUpdatedV2Waiter = client.get_waiter("function_updated_v2")  # (2)
    await waiter.wait()
  1. client: LambdaClient
  2. waiter: FunctionUpdatedV2Waiter

wait#

Type annotations and code completion for FunctionUpdatedV2Waiter.wait method.

# wait method definition

await def wait(
    self,
    *,
    FunctionName: str,
    Qualifier: str = ...,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (1)
) -> None:
    ...
  1. See WaiterConfigTypeDef
# wait method usage example with argument unpacking

kwargs: GetFunctionRequestFunctionUpdatedV2WaitTypeDef = {  # (1)
    "FunctionName": ...,
}

parent.wait(**kwargs)
  1. See GetFunctionRequestFunctionUpdatedV2WaitTypeDef

PublishedVersionActiveWaiter#

Type annotations and code completion for session.create_client("lambda").get_waiter("published_version_active"). boto3 documentation

# PublishedVersionActiveWaiter usage example

from aiobotocore.session import Session

from types_aiobotocore_lambda.waiter import PublishedVersionActiveWaiter

session = get_session()
async with session.create_client("lambda") as client:  # (1)
    waiter: PublishedVersionActiveWaiter = client.get_waiter("published_version_active")  # (2)
    await waiter.wait()
  1. client: LambdaClient
  2. waiter: PublishedVersionActiveWaiter

wait#

Type annotations and code completion for PublishedVersionActiveWaiter.wait method.

# wait method definition

await def wait(
    self,
    *,
    FunctionName: str,
    Qualifier: str = ...,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (1)
) -> None:
    ...
  1. See WaiterConfigTypeDef
# wait method usage example with argument unpacking

kwargs: GetFunctionConfigurationRequestPublishedVersionActiveWaitTypeDef = {  # (1)
    "FunctionName": ...,
}

parent.wait(**kwargs)
  1. See GetFunctionConfigurationRequestPublishedVersionActiveWaitTypeDef