Skip to content

Waiters#

Index > Lambda > Waiters

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

FunctionActiveV2Waiter#

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

# FunctionActiveV2Waiter 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.

# wait method definition

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

FunctionActiveWaiter#

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

# FunctionActiveWaiter 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.

# wait method definition

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

FunctionExistsWaiter#

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

# FunctionExistsWaiter 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.

# wait method definition

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

FunctionUpdatedV2Waiter#

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

# FunctionUpdatedV2Waiter 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.

# wait method definition

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

FunctionUpdatedWaiter#

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

# FunctionUpdatedWaiter 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.

# wait method definition

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

PublishedVersionActiveWaiter#

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

# PublishedVersionActiveWaiter usage example

from boto3.session import Session

from mypy_boto3_lambda.waiter import PublishedVersionActiveWaiter


session = Session()

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

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