Skip to content

Waiters#

Index > ElasticBeanstalk > Waiters

Auto-generated documentation for ElasticBeanstalk type annotations stubs module mypy-boto3-elasticbeanstalk.

EnvironmentExistsWaiter#

Type annotations and code completion for boto3.client("elasticbeanstalk").get_waiter("environment_exists"). boto3 documentation

# EnvironmentExistsWaiter usage example

from boto3.session import Session

from mypy_boto3_elasticbeanstalk.waiter import EnvironmentExistsWaiter


session = Session()

client = session.client("elasticbeanstalk")  # (1)
waiter: EnvironmentExistsWaiter = client.get_waiter("environment_exists")  # (2)
await waiter.wait()
  1. client: ElasticBeanstalkClient
  2. waiter: EnvironmentExistsWaiter

wait#

Type annotations and code completion for EnvironmentExistsWaiter.wait method.

# wait method definition

def wait(
    self,
    *,
    ApplicationName: str = ...,
    VersionLabel: str = ...,
    EnvironmentIds: Sequence[str] = ...,
    EnvironmentNames: Sequence[str] = ...,
    IncludeDeleted: bool = ...,
    IncludedDeletedBackTo: TimestampTypeDef = ...,
    MaxRecords: int = ...,
    NextToken: str = ...,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (1)
) -> None:
    ...
  1. See WaiterConfigTypeDef
# wait method usage example with argument unpacking

kwargs: DescribeEnvironmentsMessageEnvironmentExistsWaitTypeDef = {  # (1)
    "ApplicationName": ...,
}

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

EnvironmentTerminatedWaiter#

Type annotations and code completion for boto3.client("elasticbeanstalk").get_waiter("environment_terminated"). boto3 documentation

# EnvironmentTerminatedWaiter usage example

from boto3.session import Session

from mypy_boto3_elasticbeanstalk.waiter import EnvironmentTerminatedWaiter


session = Session()

client = session.client("elasticbeanstalk")  # (1)
waiter: EnvironmentTerminatedWaiter = client.get_waiter("environment_terminated")  # (2)
await waiter.wait()
  1. client: ElasticBeanstalkClient
  2. waiter: EnvironmentTerminatedWaiter

wait#

Type annotations and code completion for EnvironmentTerminatedWaiter.wait method.

# wait method definition

def wait(
    self,
    *,
    ApplicationName: str = ...,
    VersionLabel: str = ...,
    EnvironmentIds: Sequence[str] = ...,
    EnvironmentNames: Sequence[str] = ...,
    IncludeDeleted: bool = ...,
    IncludedDeletedBackTo: TimestampTypeDef = ...,
    MaxRecords: int = ...,
    NextToken: str = ...,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (1)
) -> None:
    ...
  1. See WaiterConfigTypeDef
# wait method usage example with argument unpacking

kwargs: DescribeEnvironmentsMessageEnvironmentTerminatedWaitTypeDef = {  # (1)
    "ApplicationName": ...,
}

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

EnvironmentUpdatedWaiter#

Type annotations and code completion for boto3.client("elasticbeanstalk").get_waiter("environment_updated"). boto3 documentation

# EnvironmentUpdatedWaiter usage example

from boto3.session import Session

from mypy_boto3_elasticbeanstalk.waiter import EnvironmentUpdatedWaiter


session = Session()

client = session.client("elasticbeanstalk")  # (1)
waiter: EnvironmentUpdatedWaiter = client.get_waiter("environment_updated")  # (2)
await waiter.wait()
  1. client: ElasticBeanstalkClient
  2. waiter: EnvironmentUpdatedWaiter

wait#

Type annotations and code completion for EnvironmentUpdatedWaiter.wait method.

# wait method definition

def wait(
    self,
    *,
    ApplicationName: str = ...,
    VersionLabel: str = ...,
    EnvironmentIds: Sequence[str] = ...,
    EnvironmentNames: Sequence[str] = ...,
    IncludeDeleted: bool = ...,
    IncludedDeletedBackTo: TimestampTypeDef = ...,
    MaxRecords: int = ...,
    NextToken: str = ...,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (1)
) -> None:
    ...
  1. See WaiterConfigTypeDef
# wait method usage example with argument unpacking

kwargs: DescribeEnvironmentsMessageEnvironmentUpdatedWaitTypeDef = {  # (1)
    "ApplicationName": ...,
}

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