Skip to content

Waiters

Index > Lambda > Waiters

Auto-generated documentation for Lambda type annotations stubs module mypy-boto3-lambda.

FunctionActiveWaiter

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

Usage example
from boto3.session import Session

from mypy_boto3_lambda.waiter import FunctionActiveWaiter


session = Session()

client = session.client("lambda")  # (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.

Method definition
def wait(
    self,
    *,
    FunctionName: str,
    Qualifier: str = ...,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (1)
) -> None:
    ...
  1. See WaiterConfigTypeDef
Usage example with kwargs
kwargs: GetFunctionConfigurationRequestFunctionActiveWaitTypeDef = {  # (1)
    "FunctionName": ...,
}

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

FunctionActiveV2Waiter

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

Usage example
from boto3.session import Session

from mypy_boto3_lambda.waiter import FunctionActiveV2Waiter


session = Session()

client = session.client("lambda")  # (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.

Method definition
def wait(
    self,
    *,
    FunctionName: str,
    Qualifier: str = ...,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (1)
) -> None:
    ...
  1. See WaiterConfigTypeDef
Usage example with kwargs
kwargs: GetFunctionRequestFunctionActiveV2WaitTypeDef = {  # (1)
    "FunctionName": ...,
}

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

FunctionExistsWaiter

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

Usage example
from boto3.session import Session

from mypy_boto3_lambda.waiter import FunctionExistsWaiter


session = Session()

client = session.client("lambda")  # (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.

Method definition
def wait(
    self,
    *,
    FunctionName: str,
    Qualifier: str = ...,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (1)
) -> None:
    ...
  1. See WaiterConfigTypeDef
Usage example with kwargs
kwargs: GetFunctionRequestFunctionExistsWaitTypeDef = {  # (1)
    "FunctionName": ...,
}

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

FunctionUpdatedWaiter

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

Usage example
from boto3.session import Session

from mypy_boto3_lambda.waiter import FunctionUpdatedWaiter


session = Session()

client = session.client("lambda")  # (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.

Method definition
def wait(
    self,
    *,
    FunctionName: str,
    Qualifier: str = ...,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (1)
) -> None:
    ...
  1. See WaiterConfigTypeDef
Usage example with kwargs
kwargs: GetFunctionConfigurationRequestFunctionUpdatedWaitTypeDef = {  # (1)
    "FunctionName": ...,
}

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

FunctionUpdatedV2Waiter

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

Usage example
from boto3.session import Session

from mypy_boto3_lambda.waiter import FunctionUpdatedV2Waiter


session = Session()

client = session.client("lambda")  # (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.

Method definition
def wait(
    self,
    *,
    FunctionName: str,
    Qualifier: str = ...,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (1)
) -> None:
    ...
  1. See WaiterConfigTypeDef
Usage example with kwargs
kwargs: GetFunctionRequestFunctionUpdatedV2WaitTypeDef = {  # (1)
    "FunctionName": ...,
}

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