Skip to content

Waiters

Index > EC2 > Waiters

Auto-generated documentation for EC2 type annotations stubs module mypy-boto3-ec2.

BundleTaskCompleteWaiter

Type annotations and code completion for boto3.client("ec2").get_waiter("bundle_task_complete"). boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_ec2.waiter import BundleTaskCompleteWaiter


session = Session()

client = session.client("ec2")  # (1)
waiter: BundleTaskCompleteWaiter = client.get_waiter("bundle_task_complete")  # (2)
await waiter.wait()
  1. client: EC2Client
  2. waiter: BundleTaskCompleteWaiter

wait

Type annotations and code completion for BundleTaskCompleteWaiter.wait method.

Method definition
def wait(
    self,
    *,
    BundleIds: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (2)
) -> None:
    ...
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef
Usage example with kwargs
kwargs: DescribeBundleTasksRequestBundleTaskCompleteWaitTypeDef = {  # (1)
    "BundleIds": ...,
}

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

ConversionTaskCancelledWaiter

Type annotations and code completion for boto3.client("ec2").get_waiter("conversion_task_cancelled"). boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_ec2.waiter import ConversionTaskCancelledWaiter


session = Session()

client = session.client("ec2")  # (1)
waiter: ConversionTaskCancelledWaiter = client.get_waiter("conversion_task_cancelled")  # (2)
await waiter.wait()
  1. client: EC2Client
  2. waiter: ConversionTaskCancelledWaiter

wait

Type annotations and code completion for ConversionTaskCancelledWaiter.wait method.

Method definition
def wait(
    self,
    *,
    ConversionTaskIds: Sequence[str] = ...,
    DryRun: bool = ...,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (1)
) -> None:
    ...
  1. See WaiterConfigTypeDef
Usage example with kwargs
kwargs: DescribeConversionTasksRequestConversionTaskCancelledWaitTypeDef = {  # (1)
    "ConversionTaskIds": ...,
}

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

ConversionTaskCompletedWaiter

Type annotations and code completion for boto3.client("ec2").get_waiter("conversion_task_completed"). boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_ec2.waiter import ConversionTaskCompletedWaiter


session = Session()

client = session.client("ec2")  # (1)
waiter: ConversionTaskCompletedWaiter = client.get_waiter("conversion_task_completed")  # (2)
await waiter.wait()
  1. client: EC2Client
  2. waiter: ConversionTaskCompletedWaiter

wait

Type annotations and code completion for ConversionTaskCompletedWaiter.wait method.

Method definition
def wait(
    self,
    *,
    ConversionTaskIds: Sequence[str] = ...,
    DryRun: bool = ...,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (1)
) -> None:
    ...
  1. See WaiterConfigTypeDef
Usage example with kwargs
kwargs: DescribeConversionTasksRequestConversionTaskCompletedWaitTypeDef = {  # (1)
    "ConversionTaskIds": ...,
}

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

ConversionTaskDeletedWaiter

Type annotations and code completion for boto3.client("ec2").get_waiter("conversion_task_deleted"). boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_ec2.waiter import ConversionTaskDeletedWaiter


session = Session()

client = session.client("ec2")  # (1)
waiter: ConversionTaskDeletedWaiter = client.get_waiter("conversion_task_deleted")  # (2)
await waiter.wait()
  1. client: EC2Client
  2. waiter: ConversionTaskDeletedWaiter

wait

Type annotations and code completion for ConversionTaskDeletedWaiter.wait method.

Method definition
def wait(
    self,
    *,
    ConversionTaskIds: Sequence[str] = ...,
    DryRun: bool = ...,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (1)
) -> None:
    ...
  1. See WaiterConfigTypeDef
Usage example with kwargs
kwargs: DescribeConversionTasksRequestConversionTaskDeletedWaitTypeDef = {  # (1)
    "ConversionTaskIds": ...,
}

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

CustomerGatewayAvailableWaiter

Type annotations and code completion for boto3.client("ec2").get_waiter("customer_gateway_available"). boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_ec2.waiter import CustomerGatewayAvailableWaiter


session = Session()

client = session.client("ec2")  # (1)
waiter: CustomerGatewayAvailableWaiter = client.get_waiter("customer_gateway_available")  # (2)
await waiter.wait()
  1. client: EC2Client
  2. waiter: CustomerGatewayAvailableWaiter

wait

Type annotations and code completion for CustomerGatewayAvailableWaiter.wait method.

Method definition
def wait(
    self,
    *,
    CustomerGatewayIds: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (2)
) -> None:
    ...
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef
Usage example with kwargs
kwargs: DescribeCustomerGatewaysRequestCustomerGatewayAvailableWaitTypeDef = {  # (1)
    "CustomerGatewayIds": ...,
}

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

ExportTaskCancelledWaiter

Type annotations and code completion for boto3.client("ec2").get_waiter("export_task_cancelled"). boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_ec2.waiter import ExportTaskCancelledWaiter


session = Session()

client = session.client("ec2")  # (1)
waiter: ExportTaskCancelledWaiter = client.get_waiter("export_task_cancelled")  # (2)
await waiter.wait()
  1. client: EC2Client
  2. waiter: ExportTaskCancelledWaiter

wait

Type annotations and code completion for ExportTaskCancelledWaiter.wait method.

Method definition
def wait(
    self,
    *,
    ExportTaskIds: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    WaiterConfig: WaiterConfigTypeDef = ...,  # (2)
) -> None:
    ...
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef
Usage example with kwargs
kwargs: DescribeExportTasksRequestExportTaskCancelledWaitTypeDef = {  # (1)
    "ExportTaskIds": ...,
}

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

ExportTaskCompletedWaiter

Type annotations and code completion for boto3.client("ec2").get_waiter("export_task_completed"). boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_ec2.waiter import ExportTaskCompletedWaiter


session = Session()

client = session.client("ec2")  # (1)
waiter: ExportTaskCompletedWaiter = client.get_waiter("export_task_completed")  # (2)
await waiter.wait()
  1. client: EC2Client
  2. waiter: ExportTaskCompletedWaiter

wait

Type annotations and code completion for ExportTaskCompletedWaiter.wait method.

Method definition
def wait(
    self,
    *,
    ExportTaskIds: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    WaiterConfig: WaiterConfigTypeDef = ...,  # (2)
) -> None:
    ...
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef
Usage example with kwargs
kwargs: DescribeExportTasksRequestExportTaskCompletedWaitTypeDef = {  # (1)
    "ExportTaskIds": ...,
}

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

ImageAvailableWaiter

Type annotations and code completion for boto3.client("ec2").get_waiter("image_available"). boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_ec2.waiter import ImageAvailableWaiter


session = Session()

client = session.client("ec2")  # (1)
waiter: ImageAvailableWaiter = client.get_waiter("image_available")  # (2)
await waiter.wait()
  1. client: EC2Client
  2. waiter: ImageAvailableWaiter

wait

Type annotations and code completion for ImageAvailableWaiter.wait method.

Method definition
def wait(
    self,
    *,
    ExecutableUsers: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    ImageIds: Sequence[str] = ...,
    Owners: Sequence[str] = ...,
    IncludeDeprecated: bool = ...,
    DryRun: bool = ...,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (2)
) -> None:
    ...
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef
Usage example with kwargs
kwargs: DescribeImagesRequestImageAvailableWaitTypeDef = {  # (1)
    "ExecutableUsers": ...,
}

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

ImageExistsWaiter

Type annotations and code completion for boto3.client("ec2").get_waiter("image_exists"). boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_ec2.waiter import ImageExistsWaiter


session = Session()

client = session.client("ec2")  # (1)
waiter: ImageExistsWaiter = client.get_waiter("image_exists")  # (2)
await waiter.wait()
  1. client: EC2Client
  2. waiter: ImageExistsWaiter

wait

Type annotations and code completion for ImageExistsWaiter.wait method.

Method definition
def wait(
    self,
    *,
    ExecutableUsers: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    ImageIds: Sequence[str] = ...,
    Owners: Sequence[str] = ...,
    IncludeDeprecated: bool = ...,
    DryRun: bool = ...,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (2)
) -> None:
    ...
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef
Usage example with kwargs
kwargs: DescribeImagesRequestImageExistsWaitTypeDef = {  # (1)
    "ExecutableUsers": ...,
}

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

InstanceExistsWaiter

Type annotations and code completion for boto3.client("ec2").get_waiter("instance_exists"). boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_ec2.waiter import InstanceExistsWaiter


session = Session()

client = session.client("ec2")  # (1)
waiter: InstanceExistsWaiter = client.get_waiter("instance_exists")  # (2)
await waiter.wait()
  1. client: EC2Client
  2. waiter: InstanceExistsWaiter

wait

Type annotations and code completion for InstanceExistsWaiter.wait method.

Method definition
def wait(
    self,
    *,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    InstanceIds: Sequence[str] = ...,
    DryRun: bool = ...,
    MaxResults: int = ...,
    NextToken: str = ...,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (2)
) -> None:
    ...
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef
Usage example with kwargs
kwargs: DescribeInstancesRequestInstanceExistsWaitTypeDef = {  # (1)
    "Filters": ...,
}

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

InstanceRunningWaiter

Type annotations and code completion for boto3.client("ec2").get_waiter("instance_running"). boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_ec2.waiter import InstanceRunningWaiter


session = Session()

client = session.client("ec2")  # (1)
waiter: InstanceRunningWaiter = client.get_waiter("instance_running")  # (2)
await waiter.wait()
  1. client: EC2Client
  2. waiter: InstanceRunningWaiter

wait

Type annotations and code completion for InstanceRunningWaiter.wait method.

Method definition
def wait(
    self,
    *,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    InstanceIds: Sequence[str] = ...,
    DryRun: bool = ...,
    MaxResults: int = ...,
    NextToken: str = ...,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (2)
) -> None:
    ...
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef
Usage example with kwargs
kwargs: DescribeInstancesRequestInstanceRunningWaitTypeDef = {  # (1)
    "Filters": ...,
}

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

InstanceStatusOkWaiter

Type annotations and code completion for boto3.client("ec2").get_waiter("instance_status_ok"). boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_ec2.waiter import InstanceStatusOkWaiter


session = Session()

client = session.client("ec2")  # (1)
waiter: InstanceStatusOkWaiter = client.get_waiter("instance_status_ok")  # (2)
await waiter.wait()
  1. client: EC2Client
  2. waiter: InstanceStatusOkWaiter

wait

Type annotations and code completion for InstanceStatusOkWaiter.wait method.

Method definition
def wait(
    self,
    *,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    InstanceIds: Sequence[str] = ...,
    MaxResults: int = ...,
    NextToken: str = ...,
    DryRun: bool = ...,
    IncludeAllInstances: bool = ...,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (2)
) -> None:
    ...
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef
Usage example with kwargs
kwargs: DescribeInstanceStatusRequestInstanceStatusOkWaitTypeDef = {  # (1)
    "Filters": ...,
}

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

InstanceStoppedWaiter

Type annotations and code completion for boto3.client("ec2").get_waiter("instance_stopped"). boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_ec2.waiter import InstanceStoppedWaiter


session = Session()

client = session.client("ec2")  # (1)
waiter: InstanceStoppedWaiter = client.get_waiter("instance_stopped")  # (2)
await waiter.wait()
  1. client: EC2Client
  2. waiter: InstanceStoppedWaiter

wait

Type annotations and code completion for InstanceStoppedWaiter.wait method.

Method definition
def wait(
    self,
    *,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    InstanceIds: Sequence[str] = ...,
    DryRun: bool = ...,
    MaxResults: int = ...,
    NextToken: str = ...,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (2)
) -> None:
    ...
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef
Usage example with kwargs
kwargs: DescribeInstancesRequestInstanceStoppedWaitTypeDef = {  # (1)
    "Filters": ...,
}

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

InstanceTerminatedWaiter

Type annotations and code completion for boto3.client("ec2").get_waiter("instance_terminated"). boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_ec2.waiter import InstanceTerminatedWaiter


session = Session()

client = session.client("ec2")  # (1)
waiter: InstanceTerminatedWaiter = client.get_waiter("instance_terminated")  # (2)
await waiter.wait()
  1. client: EC2Client
  2. waiter: InstanceTerminatedWaiter

wait

Type annotations and code completion for InstanceTerminatedWaiter.wait method.

Method definition
def wait(
    self,
    *,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    InstanceIds: Sequence[str] = ...,
    DryRun: bool = ...,
    MaxResults: int = ...,
    NextToken: str = ...,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (2)
) -> None:
    ...
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef
Usage example with kwargs
kwargs: DescribeInstancesRequestInstanceTerminatedWaitTypeDef = {  # (1)
    "Filters": ...,
}

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

InternetGatewayExistsWaiter

Type annotations and code completion for boto3.client("ec2").get_waiter("internet_gateway_exists"). boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_ec2.waiter import InternetGatewayExistsWaiter


session = Session()

client = session.client("ec2")  # (1)
waiter: InternetGatewayExistsWaiter = client.get_waiter("internet_gateway_exists")  # (2)
await waiter.wait()
  1. client: EC2Client
  2. waiter: InternetGatewayExistsWaiter

wait

Type annotations and code completion for InternetGatewayExistsWaiter.wait method.

Method definition
def wait(
    self,
    *,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    InternetGatewayIds: Sequence[str] = ...,
    NextToken: str = ...,
    MaxResults: int = ...,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (2)
) -> None:
    ...
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef
Usage example with kwargs
kwargs: DescribeInternetGatewaysRequestInternetGatewayExistsWaitTypeDef = {  # (1)
    "Filters": ...,
}

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

KeyPairExistsWaiter

Type annotations and code completion for boto3.client("ec2").get_waiter("key_pair_exists"). boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_ec2.waiter import KeyPairExistsWaiter


session = Session()

client = session.client("ec2")  # (1)
waiter: KeyPairExistsWaiter = client.get_waiter("key_pair_exists")  # (2)
await waiter.wait()
  1. client: EC2Client
  2. waiter: KeyPairExistsWaiter

wait

Type annotations and code completion for KeyPairExistsWaiter.wait method.

Method definition
def wait(
    self,
    *,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    KeyNames: Sequence[str] = ...,
    KeyPairIds: Sequence[str] = ...,
    DryRun: bool = ...,
    IncludePublicKey: bool = ...,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (2)
) -> None:
    ...
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef
Usage example with kwargs
kwargs: DescribeKeyPairsRequestKeyPairExistsWaitTypeDef = {  # (1)
    "Filters": ...,
}

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

NatGatewayAvailableWaiter

Type annotations and code completion for boto3.client("ec2").get_waiter("nat_gateway_available"). boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_ec2.waiter import NatGatewayAvailableWaiter


session = Session()

client = session.client("ec2")  # (1)
waiter: NatGatewayAvailableWaiter = client.get_waiter("nat_gateway_available")  # (2)
await waiter.wait()
  1. client: EC2Client
  2. waiter: NatGatewayAvailableWaiter

wait

Type annotations and code completion for NatGatewayAvailableWaiter.wait method.

Method definition
def wait(
    self,
    *,
    DryRun: bool = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    MaxResults: int = ...,
    NatGatewayIds: Sequence[str] = ...,
    NextToken: str = ...,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (2)
) -> None:
    ...
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef
Usage example with kwargs
kwargs: DescribeNatGatewaysRequestNatGatewayAvailableWaitTypeDef = {  # (1)
    "DryRun": ...,
}

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

NatGatewayDeletedWaiter

Type annotations and code completion for boto3.client("ec2").get_waiter("nat_gateway_deleted"). boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_ec2.waiter import NatGatewayDeletedWaiter


session = Session()

client = session.client("ec2")  # (1)
waiter: NatGatewayDeletedWaiter = client.get_waiter("nat_gateway_deleted")  # (2)
await waiter.wait()
  1. client: EC2Client
  2. waiter: NatGatewayDeletedWaiter

wait

Type annotations and code completion for NatGatewayDeletedWaiter.wait method.

Method definition
def wait(
    self,
    *,
    DryRun: bool = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    MaxResults: int = ...,
    NatGatewayIds: Sequence[str] = ...,
    NextToken: str = ...,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (2)
) -> None:
    ...
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef
Usage example with kwargs
kwargs: DescribeNatGatewaysRequestNatGatewayDeletedWaitTypeDef = {  # (1)
    "DryRun": ...,
}

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

NetworkInterfaceAvailableWaiter

Type annotations and code completion for boto3.client("ec2").get_waiter("network_interface_available"). boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_ec2.waiter import NetworkInterfaceAvailableWaiter


session = Session()

client = session.client("ec2")  # (1)
waiter: NetworkInterfaceAvailableWaiter = client.get_waiter("network_interface_available")  # (2)
await waiter.wait()
  1. client: EC2Client
  2. waiter: NetworkInterfaceAvailableWaiter

wait

Type annotations and code completion for NetworkInterfaceAvailableWaiter.wait method.

Method definition
def wait(
    self,
    *,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    NetworkInterfaceIds: Sequence[str] = ...,
    NextToken: str = ...,
    MaxResults: int = ...,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (2)
) -> None:
    ...
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef
Usage example with kwargs
kwargs: DescribeNetworkInterfacesRequestNetworkInterfaceAvailableWaitTypeDef = {  # (1)
    "Filters": ...,
}

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

PasswordDataAvailableWaiter

Type annotations and code completion for boto3.client("ec2").get_waiter("password_data_available"). boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_ec2.waiter import PasswordDataAvailableWaiter


session = Session()

client = session.client("ec2")  # (1)
waiter: PasswordDataAvailableWaiter = client.get_waiter("password_data_available")  # (2)
await waiter.wait()
  1. client: EC2Client
  2. waiter: PasswordDataAvailableWaiter

wait

Type annotations and code completion for PasswordDataAvailableWaiter.wait method.

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

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

SecurityGroupExistsWaiter

Type annotations and code completion for boto3.client("ec2").get_waiter("security_group_exists"). boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_ec2.waiter import SecurityGroupExistsWaiter


session = Session()

client = session.client("ec2")  # (1)
waiter: SecurityGroupExistsWaiter = client.get_waiter("security_group_exists")  # (2)
await waiter.wait()
  1. client: EC2Client
  2. waiter: SecurityGroupExistsWaiter

wait

Type annotations and code completion for SecurityGroupExistsWaiter.wait method.

Method definition
def wait(
    self,
    *,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    GroupIds: Sequence[str] = ...,
    GroupNames: Sequence[str] = ...,
    DryRun: bool = ...,
    NextToken: str = ...,
    MaxResults: int = ...,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (2)
) -> None:
    ...
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef
Usage example with kwargs
kwargs: DescribeSecurityGroupsRequestSecurityGroupExistsWaitTypeDef = {  # (1)
    "Filters": ...,
}

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

SnapshotCompletedWaiter

Type annotations and code completion for boto3.client("ec2").get_waiter("snapshot_completed"). boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_ec2.waiter import SnapshotCompletedWaiter


session = Session()

client = session.client("ec2")  # (1)
waiter: SnapshotCompletedWaiter = client.get_waiter("snapshot_completed")  # (2)
await waiter.wait()
  1. client: EC2Client
  2. waiter: SnapshotCompletedWaiter

wait

Type annotations and code completion for SnapshotCompletedWaiter.wait method.

Method definition
def wait(
    self,
    *,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    MaxResults: int = ...,
    NextToken: str = ...,
    OwnerIds: Sequence[str] = ...,
    RestorableByUserIds: Sequence[str] = ...,
    SnapshotIds: Sequence[str] = ...,
    DryRun: bool = ...,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (2)
) -> None:
    ...
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef
Usage example with kwargs
kwargs: DescribeSnapshotsRequestSnapshotCompletedWaitTypeDef = {  # (1)
    "Filters": ...,
}

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

SpotInstanceRequestFulfilledWaiter

Type annotations and code completion for boto3.client("ec2").get_waiter("spot_instance_request_fulfilled"). boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_ec2.waiter import SpotInstanceRequestFulfilledWaiter


session = Session()

client = session.client("ec2")  # (1)
waiter: SpotInstanceRequestFulfilledWaiter = client.get_waiter("spot_instance_request_fulfilled")  # (2)
await waiter.wait()
  1. client: EC2Client
  2. waiter: SpotInstanceRequestFulfilledWaiter

wait

Type annotations and code completion for SpotInstanceRequestFulfilledWaiter.wait method.

Method definition
def wait(
    self,
    *,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    SpotInstanceRequestIds: Sequence[str] = ...,
    NextToken: str = ...,
    MaxResults: int = ...,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (2)
) -> None:
    ...
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef
Usage example with kwargs
kwargs: DescribeSpotInstanceRequestsRequestSpotInstanceRequestFulfilledWaitTypeDef = {  # (1)
    "Filters": ...,
}

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

SubnetAvailableWaiter

Type annotations and code completion for boto3.client("ec2").get_waiter("subnet_available"). boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_ec2.waiter import SubnetAvailableWaiter


session = Session()

client = session.client("ec2")  # (1)
waiter: SubnetAvailableWaiter = client.get_waiter("subnet_available")  # (2)
await waiter.wait()
  1. client: EC2Client
  2. waiter: SubnetAvailableWaiter

wait

Type annotations and code completion for SubnetAvailableWaiter.wait method.

Method definition
def wait(
    self,
    *,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    SubnetIds: Sequence[str] = ...,
    DryRun: bool = ...,
    NextToken: str = ...,
    MaxResults: int = ...,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (2)
) -> None:
    ...
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef
Usage example with kwargs
kwargs: DescribeSubnetsRequestSubnetAvailableWaitTypeDef = {  # (1)
    "Filters": ...,
}

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

SystemStatusOkWaiter

Type annotations and code completion for boto3.client("ec2").get_waiter("system_status_ok"). boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_ec2.waiter import SystemStatusOkWaiter


session = Session()

client = session.client("ec2")  # (1)
waiter: SystemStatusOkWaiter = client.get_waiter("system_status_ok")  # (2)
await waiter.wait()
  1. client: EC2Client
  2. waiter: SystemStatusOkWaiter

wait

Type annotations and code completion for SystemStatusOkWaiter.wait method.

Method definition
def wait(
    self,
    *,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    InstanceIds: Sequence[str] = ...,
    MaxResults: int = ...,
    NextToken: str = ...,
    DryRun: bool = ...,
    IncludeAllInstances: bool = ...,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (2)
) -> None:
    ...
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef
Usage example with kwargs
kwargs: DescribeInstanceStatusRequestSystemStatusOkWaitTypeDef = {  # (1)
    "Filters": ...,
}

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

VolumeAvailableWaiter

Type annotations and code completion for boto3.client("ec2").get_waiter("volume_available"). boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_ec2.waiter import VolumeAvailableWaiter


session = Session()

client = session.client("ec2")  # (1)
waiter: VolumeAvailableWaiter = client.get_waiter("volume_available")  # (2)
await waiter.wait()
  1. client: EC2Client
  2. waiter: VolumeAvailableWaiter

wait

Type annotations and code completion for VolumeAvailableWaiter.wait method.

Method definition
def wait(
    self,
    *,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    VolumeIds: Sequence[str] = ...,
    DryRun: bool = ...,
    MaxResults: int = ...,
    NextToken: str = ...,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (2)
) -> None:
    ...
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef
Usage example with kwargs
kwargs: DescribeVolumesRequestVolumeAvailableWaitTypeDef = {  # (1)
    "Filters": ...,
}

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

VolumeDeletedWaiter

Type annotations and code completion for boto3.client("ec2").get_waiter("volume_deleted"). boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_ec2.waiter import VolumeDeletedWaiter


session = Session()

client = session.client("ec2")  # (1)
waiter: VolumeDeletedWaiter = client.get_waiter("volume_deleted")  # (2)
await waiter.wait()
  1. client: EC2Client
  2. waiter: VolumeDeletedWaiter

wait

Type annotations and code completion for VolumeDeletedWaiter.wait method.

Method definition
def wait(
    self,
    *,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    VolumeIds: Sequence[str] = ...,
    DryRun: bool = ...,
    MaxResults: int = ...,
    NextToken: str = ...,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (2)
) -> None:
    ...
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef
Usage example with kwargs
kwargs: DescribeVolumesRequestVolumeDeletedWaitTypeDef = {  # (1)
    "Filters": ...,
}

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

VolumeInUseWaiter

Type annotations and code completion for boto3.client("ec2").get_waiter("volume_in_use"). boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_ec2.waiter import VolumeInUseWaiter


session = Session()

client = session.client("ec2")  # (1)
waiter: VolumeInUseWaiter = client.get_waiter("volume_in_use")  # (2)
await waiter.wait()
  1. client: EC2Client
  2. waiter: VolumeInUseWaiter

wait

Type annotations and code completion for VolumeInUseWaiter.wait method.

Method definition
def wait(
    self,
    *,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    VolumeIds: Sequence[str] = ...,
    DryRun: bool = ...,
    MaxResults: int = ...,
    NextToken: str = ...,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (2)
) -> None:
    ...
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef
Usage example with kwargs
kwargs: DescribeVolumesRequestVolumeInUseWaitTypeDef = {  # (1)
    "Filters": ...,
}

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

VpcAvailableWaiter

Type annotations and code completion for boto3.client("ec2").get_waiter("vpc_available"). boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_ec2.waiter import VpcAvailableWaiter


session = Session()

client = session.client("ec2")  # (1)
waiter: VpcAvailableWaiter = client.get_waiter("vpc_available")  # (2)
await waiter.wait()
  1. client: EC2Client
  2. waiter: VpcAvailableWaiter

wait

Type annotations and code completion for VpcAvailableWaiter.wait method.

Method definition
def wait(
    self,
    *,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    VpcIds: Sequence[str] = ...,
    DryRun: bool = ...,
    NextToken: str = ...,
    MaxResults: int = ...,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (2)
) -> None:
    ...
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef
Usage example with kwargs
kwargs: DescribeVpcsRequestVpcAvailableWaitTypeDef = {  # (1)
    "Filters": ...,
}

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

VpcExistsWaiter

Type annotations and code completion for boto3.client("ec2").get_waiter("vpc_exists"). boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_ec2.waiter import VpcExistsWaiter


session = Session()

client = session.client("ec2")  # (1)
waiter: VpcExistsWaiter = client.get_waiter("vpc_exists")  # (2)
await waiter.wait()
  1. client: EC2Client
  2. waiter: VpcExistsWaiter

wait

Type annotations and code completion for VpcExistsWaiter.wait method.

Method definition
def wait(
    self,
    *,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    VpcIds: Sequence[str] = ...,
    DryRun: bool = ...,
    NextToken: str = ...,
    MaxResults: int = ...,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (2)
) -> None:
    ...
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef
Usage example with kwargs
kwargs: DescribeVpcsRequestVpcExistsWaitTypeDef = {  # (1)
    "Filters": ...,
}

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

VpcPeeringConnectionDeletedWaiter

Type annotations and code completion for boto3.client("ec2").get_waiter("vpc_peering_connection_deleted"). boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_ec2.waiter import VpcPeeringConnectionDeletedWaiter


session = Session()

client = session.client("ec2")  # (1)
waiter: VpcPeeringConnectionDeletedWaiter = client.get_waiter("vpc_peering_connection_deleted")  # (2)
await waiter.wait()
  1. client: EC2Client
  2. waiter: VpcPeeringConnectionDeletedWaiter

wait

Type annotations and code completion for VpcPeeringConnectionDeletedWaiter.wait method.

Method definition
def wait(
    self,
    *,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    VpcPeeringConnectionIds: Sequence[str] = ...,
    NextToken: str = ...,
    MaxResults: int = ...,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (2)
) -> None:
    ...
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef
Usage example with kwargs
kwargs: DescribeVpcPeeringConnectionsRequestVpcPeeringConnectionDeletedWaitTypeDef = {  # (1)
    "Filters": ...,
}

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

VpcPeeringConnectionExistsWaiter

Type annotations and code completion for boto3.client("ec2").get_waiter("vpc_peering_connection_exists"). boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_ec2.waiter import VpcPeeringConnectionExistsWaiter


session = Session()

client = session.client("ec2")  # (1)
waiter: VpcPeeringConnectionExistsWaiter = client.get_waiter("vpc_peering_connection_exists")  # (2)
await waiter.wait()
  1. client: EC2Client
  2. waiter: VpcPeeringConnectionExistsWaiter

wait

Type annotations and code completion for VpcPeeringConnectionExistsWaiter.wait method.

Method definition
def wait(
    self,
    *,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    VpcPeeringConnectionIds: Sequence[str] = ...,
    NextToken: str = ...,
    MaxResults: int = ...,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (2)
) -> None:
    ...
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef
Usage example with kwargs
kwargs: DescribeVpcPeeringConnectionsRequestVpcPeeringConnectionExistsWaitTypeDef = {  # (1)
    "Filters": ...,
}

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

VpnConnectionAvailableWaiter

Type annotations and code completion for boto3.client("ec2").get_waiter("vpn_connection_available"). boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_ec2.waiter import VpnConnectionAvailableWaiter


session = Session()

client = session.client("ec2")  # (1)
waiter: VpnConnectionAvailableWaiter = client.get_waiter("vpn_connection_available")  # (2)
await waiter.wait()
  1. client: EC2Client
  2. waiter: VpnConnectionAvailableWaiter

wait

Type annotations and code completion for VpnConnectionAvailableWaiter.wait method.

Method definition
def wait(
    self,
    *,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    VpnConnectionIds: Sequence[str] = ...,
    DryRun: bool = ...,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (2)
) -> None:
    ...
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef
Usage example with kwargs
kwargs: DescribeVpnConnectionsRequestVpnConnectionAvailableWaitTypeDef = {  # (1)
    "Filters": ...,
}

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

VpnConnectionDeletedWaiter

Type annotations and code completion for boto3.client("ec2").get_waiter("vpn_connection_deleted"). boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_ec2.waiter import VpnConnectionDeletedWaiter


session = Session()

client = session.client("ec2")  # (1)
waiter: VpnConnectionDeletedWaiter = client.get_waiter("vpn_connection_deleted")  # (2)
await waiter.wait()
  1. client: EC2Client
  2. waiter: VpnConnectionDeletedWaiter

wait

Type annotations and code completion for VpnConnectionDeletedWaiter.wait method.

Method definition
def wait(
    self,
    *,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    VpnConnectionIds: Sequence[str] = ...,
    DryRun: bool = ...,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (2)
) -> None:
    ...
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef
Usage example with kwargs
kwargs: DescribeVpnConnectionsRequestVpnConnectionDeletedWaitTypeDef = {  # (1)
    "Filters": ...,
}

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