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
# BundleTaskCompleteWaiter 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()
- client: EC2Client
- waiter: BundleTaskCompleteWaiter
wait#
Type annotations and code completion for BundleTaskCompleteWaiter.wait
method.
# wait method definition
def wait(
self,
*,
BundleIds: Sequence[str] = ...,
DryRun: bool = ...,
Filters: Sequence[FilterTypeDef] = ..., # (1)
WaiterConfig: WaiterConfigTypeDef = ..., # (2)
) -> None:
...
- See FilterTypeDef
- See WaiterConfigTypeDef
# wait method usage example with argument unpacking
kwargs: DescribeBundleTasksRequestWaitTypeDef = { # (1)
"BundleIds": ...,
}
parent.wait(**kwargs)
ConversionTaskCancelledWaiter#
Type annotations and code completion for boto3.client("ec2").get_waiter("conversion_task_cancelled")
.
boto3 documentation
# ConversionTaskCancelledWaiter 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()
- client: EC2Client
- waiter: ConversionTaskCancelledWaiter
wait#
Type annotations and code completion for ConversionTaskCancelledWaiter.wait
method.
# wait method definition
def wait(
self,
*,
DryRun: bool = ...,
ConversionTaskIds: Sequence[str] = ...,
WaiterConfig: WaiterConfigTypeDef = ..., # (1)
) -> None:
...
# wait method usage example with argument unpacking
kwargs: DescribeConversionTasksRequestWaitTypeDef = { # (1)
"DryRun": ...,
}
parent.wait(**kwargs)
ConversionTaskCompletedWaiter#
Type annotations and code completion for boto3.client("ec2").get_waiter("conversion_task_completed")
.
boto3 documentation
# ConversionTaskCompletedWaiter 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()
- client: EC2Client
- waiter: ConversionTaskCompletedWaiter
wait#
Type annotations and code completion for ConversionTaskCompletedWaiter.wait
method.
# wait method definition
def wait(
self,
*,
DryRun: bool = ...,
ConversionTaskIds: Sequence[str] = ...,
WaiterConfig: WaiterConfigTypeDef = ..., # (1)
) -> None:
...
# wait method usage example with argument unpacking
kwargs: DescribeConversionTasksRequestWaitTypeDef = { # (1)
"DryRun": ...,
}
parent.wait(**kwargs)
ConversionTaskDeletedWaiter#
Type annotations and code completion for boto3.client("ec2").get_waiter("conversion_task_deleted")
.
boto3 documentation
# ConversionTaskDeletedWaiter 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()
- client: EC2Client
- waiter: ConversionTaskDeletedWaiter
wait#
Type annotations and code completion for ConversionTaskDeletedWaiter.wait
method.
# wait method definition
def wait(
self,
*,
DryRun: bool = ...,
ConversionTaskIds: Sequence[str] = ...,
WaiterConfig: WaiterConfigTypeDef = ..., # (1)
) -> None:
...
# wait method usage example with argument unpacking
kwargs: DescribeConversionTasksRequestWaitTypeDef = { # (1)
"DryRun": ...,
}
parent.wait(**kwargs)
CustomerGatewayAvailableWaiter#
Type annotations and code completion for boto3.client("ec2").get_waiter("customer_gateway_available")
.
boto3 documentation
# CustomerGatewayAvailableWaiter 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()
- client: EC2Client
- waiter: CustomerGatewayAvailableWaiter
wait#
Type annotations and code completion for CustomerGatewayAvailableWaiter.wait
method.
# wait method definition
def wait(
self,
*,
CustomerGatewayIds: Sequence[str] = ...,
Filters: Sequence[FilterTypeDef] = ..., # (1)
DryRun: bool = ...,
WaiterConfig: WaiterConfigTypeDef = ..., # (2)
) -> None:
...
- See FilterTypeDef
- See WaiterConfigTypeDef
# wait method usage example with argument unpacking
kwargs: DescribeCustomerGatewaysRequestWaitTypeDef = { # (1)
"CustomerGatewayIds": ...,
}
parent.wait(**kwargs)
ExportTaskCancelledWaiter#
Type annotations and code completion for boto3.client("ec2").get_waiter("export_task_cancelled")
.
boto3 documentation
# ExportTaskCancelledWaiter 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()
- client: EC2Client
- waiter: ExportTaskCancelledWaiter
wait#
Type annotations and code completion for ExportTaskCancelledWaiter.wait
method.
# wait method definition
def wait(
self,
*,
Filters: Sequence[FilterTypeDef] = ..., # (1)
ExportTaskIds: Sequence[str] = ...,
WaiterConfig: WaiterConfigTypeDef = ..., # (2)
) -> None:
...
- See FilterTypeDef
- See WaiterConfigTypeDef
# wait method usage example with argument unpacking
kwargs: DescribeExportTasksRequestWaitTypeDef = { # (1)
"Filters": ...,
}
parent.wait(**kwargs)
ExportTaskCompletedWaiter#
Type annotations and code completion for boto3.client("ec2").get_waiter("export_task_completed")
.
boto3 documentation
# ExportTaskCompletedWaiter 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()
- client: EC2Client
- waiter: ExportTaskCompletedWaiter
wait#
Type annotations and code completion for ExportTaskCompletedWaiter.wait
method.
# wait method definition
def wait(
self,
*,
Filters: Sequence[FilterTypeDef] = ..., # (1)
ExportTaskIds: Sequence[str] = ...,
WaiterConfig: WaiterConfigTypeDef = ..., # (2)
) -> None:
...
- See FilterTypeDef
- See WaiterConfigTypeDef
# wait method usage example with argument unpacking
kwargs: DescribeExportTasksRequestWaitTypeDef = { # (1)
"Filters": ...,
}
parent.wait(**kwargs)
ImageAvailableWaiter#
Type annotations and code completion for boto3.client("ec2").get_waiter("image_available")
.
boto3 documentation
# ImageAvailableWaiter 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()
- client: EC2Client
- waiter: ImageAvailableWaiter
wait#
Type annotations and code completion for ImageAvailableWaiter.wait
method.
# wait method definition
def wait(
self,
*,
ExecutableUsers: Sequence[str] = ...,
ImageIds: Sequence[str] = ...,
Owners: Sequence[str] = ...,
IncludeDeprecated: bool = ...,
IncludeDisabled: bool = ...,
MaxResults: int = ...,
NextToken: str = ...,
DryRun: bool = ...,
Filters: Sequence[FilterTypeDef] = ..., # (1)
WaiterConfig: WaiterConfigTypeDef = ..., # (2)
) -> None:
...
- See FilterTypeDef
- See WaiterConfigTypeDef
# wait method usage example with argument unpacking
kwargs: DescribeImagesRequestWaitTypeDef = { # (1)
"ExecutableUsers": ...,
}
parent.wait(**kwargs)
ImageExistsWaiter#
Type annotations and code completion for boto3.client("ec2").get_waiter("image_exists")
.
boto3 documentation
# ImageExistsWaiter 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()
- client: EC2Client
- waiter: ImageExistsWaiter
wait#
Type annotations and code completion for ImageExistsWaiter.wait
method.
# wait method definition
def wait(
self,
*,
ExecutableUsers: Sequence[str] = ...,
ImageIds: Sequence[str] = ...,
Owners: Sequence[str] = ...,
IncludeDeprecated: bool = ...,
IncludeDisabled: bool = ...,
MaxResults: int = ...,
NextToken: str = ...,
DryRun: bool = ...,
Filters: Sequence[FilterTypeDef] = ..., # (1)
WaiterConfig: WaiterConfigTypeDef = ..., # (2)
) -> None:
...
- See FilterTypeDef
- See WaiterConfigTypeDef
# wait method usage example with argument unpacking
kwargs: DescribeImagesRequestWaitTypeDef = { # (1)
"ExecutableUsers": ...,
}
parent.wait(**kwargs)
InstanceExistsWaiter#
Type annotations and code completion for boto3.client("ec2").get_waiter("instance_exists")
.
boto3 documentation
# InstanceExistsWaiter 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()
- client: EC2Client
- waiter: InstanceExistsWaiter
wait#
Type annotations and code completion for InstanceExistsWaiter.wait
method.
# wait method definition
def wait(
self,
*,
InstanceIds: Sequence[str] = ...,
DryRun: bool = ...,
Filters: Sequence[FilterTypeDef] = ..., # (1)
NextToken: str = ...,
MaxResults: int = ...,
WaiterConfig: WaiterConfigTypeDef = ..., # (2)
) -> None:
...
- See FilterTypeDef
- See WaiterConfigTypeDef
# wait method usage example with argument unpacking
kwargs: DescribeInstancesRequestWaitTypeDef = { # (1)
"InstanceIds": ...,
}
parent.wait(**kwargs)
InstanceRunningWaiter#
Type annotations and code completion for boto3.client("ec2").get_waiter("instance_running")
.
boto3 documentation
# InstanceRunningWaiter 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()
- client: EC2Client
- waiter: InstanceRunningWaiter
wait#
Type annotations and code completion for InstanceRunningWaiter.wait
method.
# wait method definition
def wait(
self,
*,
InstanceIds: Sequence[str] = ...,
DryRun: bool = ...,
Filters: Sequence[FilterTypeDef] = ..., # (1)
NextToken: str = ...,
MaxResults: int = ...,
WaiterConfig: WaiterConfigTypeDef = ..., # (2)
) -> None:
...
- See FilterTypeDef
- See WaiterConfigTypeDef
# wait method usage example with argument unpacking
kwargs: DescribeInstancesRequestWaitTypeDef = { # (1)
"InstanceIds": ...,
}
parent.wait(**kwargs)
InstanceStatusOkWaiter#
Type annotations and code completion for boto3.client("ec2").get_waiter("instance_status_ok")
.
boto3 documentation
# InstanceStatusOkWaiter 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()
- client: EC2Client
- waiter: InstanceStatusOkWaiter
wait#
Type annotations and code completion for InstanceStatusOkWaiter.wait
method.
# wait method definition
def wait(
self,
*,
InstanceIds: Sequence[str] = ...,
MaxResults: int = ...,
NextToken: str = ...,
DryRun: bool = ...,
Filters: Sequence[FilterTypeDef] = ..., # (1)
IncludeAllInstances: bool = ...,
WaiterConfig: WaiterConfigTypeDef = ..., # (2)
) -> None:
...
- See FilterTypeDef
- See WaiterConfigTypeDef
# wait method usage example with argument unpacking
kwargs: DescribeInstanceStatusRequestWaitTypeDef = { # (1)
"InstanceIds": ...,
}
parent.wait(**kwargs)
InstanceStoppedWaiter#
Type annotations and code completion for boto3.client("ec2").get_waiter("instance_stopped")
.
boto3 documentation
# InstanceStoppedWaiter 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()
- client: EC2Client
- waiter: InstanceStoppedWaiter
wait#
Type annotations and code completion for InstanceStoppedWaiter.wait
method.
# wait method definition
def wait(
self,
*,
InstanceIds: Sequence[str] = ...,
DryRun: bool = ...,
Filters: Sequence[FilterTypeDef] = ..., # (1)
NextToken: str = ...,
MaxResults: int = ...,
WaiterConfig: WaiterConfigTypeDef = ..., # (2)
) -> None:
...
- See FilterTypeDef
- See WaiterConfigTypeDef
# wait method usage example with argument unpacking
kwargs: DescribeInstancesRequestWaitTypeDef = { # (1)
"InstanceIds": ...,
}
parent.wait(**kwargs)
InstanceTerminatedWaiter#
Type annotations and code completion for boto3.client("ec2").get_waiter("instance_terminated")
.
boto3 documentation
# InstanceTerminatedWaiter 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()
- client: EC2Client
- waiter: InstanceTerminatedWaiter
wait#
Type annotations and code completion for InstanceTerminatedWaiter.wait
method.
# wait method definition
def wait(
self,
*,
InstanceIds: Sequence[str] = ...,
DryRun: bool = ...,
Filters: Sequence[FilterTypeDef] = ..., # (1)
NextToken: str = ...,
MaxResults: int = ...,
WaiterConfig: WaiterConfigTypeDef = ..., # (2)
) -> None:
...
- See FilterTypeDef
- See WaiterConfigTypeDef
# wait method usage example with argument unpacking
kwargs: DescribeInstancesRequestWaitTypeDef = { # (1)
"InstanceIds": ...,
}
parent.wait(**kwargs)
InternetGatewayExistsWaiter#
Type annotations and code completion for boto3.client("ec2").get_waiter("internet_gateway_exists")
.
boto3 documentation
# InternetGatewayExistsWaiter 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()
- client: EC2Client
- waiter: InternetGatewayExistsWaiter
wait#
Type annotations and code completion for InternetGatewayExistsWaiter.wait
method.
# wait method definition
def wait(
self,
*,
NextToken: str = ...,
MaxResults: int = ...,
DryRun: bool = ...,
InternetGatewayIds: Sequence[str] = ...,
Filters: Sequence[FilterTypeDef] = ..., # (1)
WaiterConfig: WaiterConfigTypeDef = ..., # (2)
) -> None:
...
- See FilterTypeDef
- See WaiterConfigTypeDef
# wait method usage example with argument unpacking
kwargs: DescribeInternetGatewaysRequestWaitTypeDef = { # (1)
"NextToken": ...,
}
parent.wait(**kwargs)
KeyPairExistsWaiter#
Type annotations and code completion for boto3.client("ec2").get_waiter("key_pair_exists")
.
boto3 documentation
# KeyPairExistsWaiter 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()
- client: EC2Client
- waiter: KeyPairExistsWaiter
wait#
Type annotations and code completion for KeyPairExistsWaiter.wait
method.
# wait method definition
def wait(
self,
*,
KeyNames: Sequence[str] = ...,
KeyPairIds: Sequence[str] = ...,
IncludePublicKey: bool = ...,
DryRun: bool = ...,
Filters: Sequence[FilterTypeDef] = ..., # (1)
WaiterConfig: WaiterConfigTypeDef = ..., # (2)
) -> None:
...
- See FilterTypeDef
- See WaiterConfigTypeDef
# wait method usage example with argument unpacking
kwargs: DescribeKeyPairsRequestWaitTypeDef = { # (1)
"KeyNames": ...,
}
parent.wait(**kwargs)
NatGatewayAvailableWaiter#
Type annotations and code completion for boto3.client("ec2").get_waiter("nat_gateway_available")
.
boto3 documentation
# NatGatewayAvailableWaiter 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()
- client: EC2Client
- waiter: NatGatewayAvailableWaiter
wait#
Type annotations and code completion for NatGatewayAvailableWaiter.wait
method.
# wait method definition
def wait(
self,
*,
DryRun: bool = ...,
Filters: Sequence[FilterTypeDef] = ..., # (1)
MaxResults: int = ...,
NatGatewayIds: Sequence[str] = ...,
NextToken: str = ...,
WaiterConfig: WaiterConfigTypeDef = ..., # (2)
) -> None:
...
- See FilterTypeDef
- See WaiterConfigTypeDef
# wait method usage example with argument unpacking
kwargs: DescribeNatGatewaysRequestWaitTypeDef = { # (1)
"DryRun": ...,
}
parent.wait(**kwargs)
NatGatewayDeletedWaiter#
Type annotations and code completion for boto3.client("ec2").get_waiter("nat_gateway_deleted")
.
boto3 documentation
# NatGatewayDeletedWaiter 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()
- client: EC2Client
- waiter: NatGatewayDeletedWaiter
wait#
Type annotations and code completion for NatGatewayDeletedWaiter.wait
method.
# wait method definition
def wait(
self,
*,
DryRun: bool = ...,
Filters: Sequence[FilterTypeDef] = ..., # (1)
MaxResults: int = ...,
NatGatewayIds: Sequence[str] = ...,
NextToken: str = ...,
WaiterConfig: WaiterConfigTypeDef = ..., # (2)
) -> None:
...
- See FilterTypeDef
- See WaiterConfigTypeDef
# wait method usage example with argument unpacking
kwargs: DescribeNatGatewaysRequestWaitTypeDef = { # (1)
"DryRun": ...,
}
parent.wait(**kwargs)
NetworkInterfaceAvailableWaiter#
Type annotations and code completion for boto3.client("ec2").get_waiter("network_interface_available")
.
boto3 documentation
# NetworkInterfaceAvailableWaiter 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()
- client: EC2Client
- waiter: NetworkInterfaceAvailableWaiter
wait#
Type annotations and code completion for NetworkInterfaceAvailableWaiter.wait
method.
# wait method definition
def wait(
self,
*,
NextToken: str = ...,
MaxResults: int = ...,
DryRun: bool = ...,
NetworkInterfaceIds: Sequence[str] = ...,
Filters: Sequence[FilterTypeDef] = ..., # (1)
WaiterConfig: WaiterConfigTypeDef = ..., # (2)
) -> None:
...
- See FilterTypeDef
- See WaiterConfigTypeDef
# wait method usage example with argument unpacking
kwargs: DescribeNetworkInterfacesRequestWaitTypeDef = { # (1)
"NextToken": ...,
}
parent.wait(**kwargs)
PasswordDataAvailableWaiter#
Type annotations and code completion for boto3.client("ec2").get_waiter("password_data_available")
.
boto3 documentation
# PasswordDataAvailableWaiter 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()
- client: EC2Client
- waiter: PasswordDataAvailableWaiter
wait#
Type annotations and code completion for PasswordDataAvailableWaiter.wait
method.
# wait method definition
def wait(
self,
*,
InstanceId: str,
DryRun: bool = ...,
WaiterConfig: WaiterConfigTypeDef = ..., # (1)
) -> None:
...
# wait method usage example with argument unpacking
kwargs: GetPasswordDataRequestWaitTypeDef = { # (1)
"InstanceId": ...,
}
parent.wait(**kwargs)
SecurityGroupExistsWaiter#
Type annotations and code completion for boto3.client("ec2").get_waiter("security_group_exists")
.
boto3 documentation
# SecurityGroupExistsWaiter 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()
- client: EC2Client
- waiter: SecurityGroupExistsWaiter
wait#
Type annotations and code completion for SecurityGroupExistsWaiter.wait
method.
# wait method definition
def wait(
self,
*,
GroupIds: Sequence[str] = ...,
GroupNames: Sequence[str] = ...,
NextToken: str = ...,
MaxResults: int = ...,
DryRun: bool = ...,
Filters: Sequence[FilterTypeDef] = ..., # (1)
WaiterConfig: WaiterConfigTypeDef = ..., # (2)
) -> None:
...
- See FilterTypeDef
- See WaiterConfigTypeDef
# wait method usage example with argument unpacking
kwargs: DescribeSecurityGroupsRequestWaitTypeDef = { # (1)
"GroupIds": ...,
}
parent.wait(**kwargs)
SnapshotCompletedWaiter#
Type annotations and code completion for boto3.client("ec2").get_waiter("snapshot_completed")
.
boto3 documentation
# SnapshotCompletedWaiter 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()
- client: EC2Client
- waiter: SnapshotCompletedWaiter
wait#
Type annotations and code completion for SnapshotCompletedWaiter.wait
method.
# wait method definition
def wait(
self,
*,
MaxResults: int = ...,
NextToken: str = ...,
OwnerIds: Sequence[str] = ...,
RestorableByUserIds: Sequence[str] = ...,
SnapshotIds: Sequence[str] = ...,
DryRun: bool = ...,
Filters: Sequence[FilterTypeDef] = ..., # (1)
WaiterConfig: WaiterConfigTypeDef = ..., # (2)
) -> None:
...
- See FilterTypeDef
- See WaiterConfigTypeDef
# wait method usage example with argument unpacking
kwargs: DescribeSnapshotsRequestWaitTypeDef = { # (1)
"MaxResults": ...,
}
parent.wait(**kwargs)
SnapshotImportedWaiter#
Type annotations and code completion for boto3.client("ec2").get_waiter("snapshot_imported")
.
boto3 documentation
# SnapshotImportedWaiter usage example
from boto3.session import Session
from mypy_boto3_ec2.waiter import SnapshotImportedWaiter
session = Session()
client = session.client("ec2") # (1)
waiter: SnapshotImportedWaiter = client.get_waiter("snapshot_imported") # (2)
await waiter.wait()
- client: EC2Client
- waiter: SnapshotImportedWaiter
wait#
Type annotations and code completion for SnapshotImportedWaiter.wait
method.
# wait method definition
def wait(
self,
*,
DryRun: bool = ...,
Filters: Sequence[FilterTypeDef] = ..., # (1)
ImportTaskIds: Sequence[str] = ...,
MaxResults: int = ...,
NextToken: str = ...,
WaiterConfig: WaiterConfigTypeDef = ..., # (2)
) -> None:
...
- See FilterTypeDef
- See WaiterConfigTypeDef
# wait method usage example with argument unpacking
kwargs: DescribeImportSnapshotTasksRequestWaitTypeDef = { # (1)
"DryRun": ...,
}
parent.wait(**kwargs)
SpotInstanceRequestFulfilledWaiter#
Type annotations and code completion for boto3.client("ec2").get_waiter("spot_instance_request_fulfilled")
.
boto3 documentation
# SpotInstanceRequestFulfilledWaiter 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()
- client: EC2Client
- waiter: SpotInstanceRequestFulfilledWaiter
wait#
Type annotations and code completion for SpotInstanceRequestFulfilledWaiter.wait
method.
# wait method definition
def wait(
self,
*,
NextToken: str = ...,
MaxResults: int = ...,
DryRun: bool = ...,
SpotInstanceRequestIds: Sequence[str] = ...,
Filters: Sequence[FilterTypeDef] = ..., # (1)
WaiterConfig: WaiterConfigTypeDef = ..., # (2)
) -> None:
...
- See FilterTypeDef
- See WaiterConfigTypeDef
# wait method usage example with argument unpacking
kwargs: DescribeSpotInstanceRequestsRequestWaitTypeDef = { # (1)
"NextToken": ...,
}
parent.wait(**kwargs)
StoreImageTaskCompleteWaiter#
Type annotations and code completion for boto3.client("ec2").get_waiter("store_image_task_complete")
.
boto3 documentation
# StoreImageTaskCompleteWaiter usage example
from boto3.session import Session
from mypy_boto3_ec2.waiter import StoreImageTaskCompleteWaiter
session = Session()
client = session.client("ec2") # (1)
waiter: StoreImageTaskCompleteWaiter = client.get_waiter("store_image_task_complete") # (2)
await waiter.wait()
- client: EC2Client
- waiter: StoreImageTaskCompleteWaiter
wait#
Type annotations and code completion for StoreImageTaskCompleteWaiter.wait
method.
# wait method definition
def wait(
self,
*,
ImageIds: Sequence[str] = ...,
DryRun: bool = ...,
Filters: Sequence[FilterTypeDef] = ..., # (1)
NextToken: str = ...,
MaxResults: int = ...,
WaiterConfig: WaiterConfigTypeDef = ..., # (2)
) -> None:
...
- See FilterTypeDef
- See WaiterConfigTypeDef
# wait method usage example with argument unpacking
kwargs: DescribeStoreImageTasksRequestWaitTypeDef = { # (1)
"ImageIds": ...,
}
parent.wait(**kwargs)
SubnetAvailableWaiter#
Type annotations and code completion for boto3.client("ec2").get_waiter("subnet_available")
.
boto3 documentation
# SubnetAvailableWaiter 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()
- client: EC2Client
- waiter: SubnetAvailableWaiter
wait#
Type annotations and code completion for SubnetAvailableWaiter.wait
method.
# wait method definition
def wait(
self,
*,
Filters: Sequence[FilterTypeDef] = ..., # (1)
SubnetIds: Sequence[str] = ...,
NextToken: str = ...,
MaxResults: int = ...,
DryRun: bool = ...,
WaiterConfig: WaiterConfigTypeDef = ..., # (2)
) -> None:
...
- See FilterTypeDef
- See WaiterConfigTypeDef
# wait method usage example with argument unpacking
kwargs: DescribeSubnetsRequestWaitTypeDef = { # (1)
"Filters": ...,
}
parent.wait(**kwargs)
SystemStatusOkWaiter#
Type annotations and code completion for boto3.client("ec2").get_waiter("system_status_ok")
.
boto3 documentation
# SystemStatusOkWaiter 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()
- client: EC2Client
- waiter: SystemStatusOkWaiter
wait#
Type annotations and code completion for SystemStatusOkWaiter.wait
method.
# wait method definition
def wait(
self,
*,
InstanceIds: Sequence[str] = ...,
MaxResults: int = ...,
NextToken: str = ...,
DryRun: bool = ...,
Filters: Sequence[FilterTypeDef] = ..., # (1)
IncludeAllInstances: bool = ...,
WaiterConfig: WaiterConfigTypeDef = ..., # (2)
) -> None:
...
- See FilterTypeDef
- See WaiterConfigTypeDef
# wait method usage example with argument unpacking
kwargs: DescribeInstanceStatusRequestWaitTypeDef = { # (1)
"InstanceIds": ...,
}
parent.wait(**kwargs)
VolumeAvailableWaiter#
Type annotations and code completion for boto3.client("ec2").get_waiter("volume_available")
.
boto3 documentation
# VolumeAvailableWaiter 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()
- client: EC2Client
- waiter: VolumeAvailableWaiter
wait#
Type annotations and code completion for VolumeAvailableWaiter.wait
method.
# wait method definition
def wait(
self,
*,
VolumeIds: Sequence[str] = ...,
DryRun: bool = ...,
Filters: Sequence[FilterTypeDef] = ..., # (1)
NextToken: str = ...,
MaxResults: int = ...,
WaiterConfig: WaiterConfigTypeDef = ..., # (2)
) -> None:
...
- See FilterTypeDef
- See WaiterConfigTypeDef
# wait method usage example with argument unpacking
kwargs: DescribeVolumesRequestWaitTypeDef = { # (1)
"VolumeIds": ...,
}
parent.wait(**kwargs)
VolumeDeletedWaiter#
Type annotations and code completion for boto3.client("ec2").get_waiter("volume_deleted")
.
boto3 documentation
# VolumeDeletedWaiter 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()
- client: EC2Client
- waiter: VolumeDeletedWaiter
wait#
Type annotations and code completion for VolumeDeletedWaiter.wait
method.
# wait method definition
def wait(
self,
*,
VolumeIds: Sequence[str] = ...,
DryRun: bool = ...,
Filters: Sequence[FilterTypeDef] = ..., # (1)
NextToken: str = ...,
MaxResults: int = ...,
WaiterConfig: WaiterConfigTypeDef = ..., # (2)
) -> None:
...
- See FilterTypeDef
- See WaiterConfigTypeDef
# wait method usage example with argument unpacking
kwargs: DescribeVolumesRequestWaitTypeDef = { # (1)
"VolumeIds": ...,
}
parent.wait(**kwargs)
VolumeInUseWaiter#
Type annotations and code completion for boto3.client("ec2").get_waiter("volume_in_use")
.
boto3 documentation
# VolumeInUseWaiter 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()
- client: EC2Client
- waiter: VolumeInUseWaiter
wait#
Type annotations and code completion for VolumeInUseWaiter.wait
method.
# wait method definition
def wait(
self,
*,
VolumeIds: Sequence[str] = ...,
DryRun: bool = ...,
Filters: Sequence[FilterTypeDef] = ..., # (1)
NextToken: str = ...,
MaxResults: int = ...,
WaiterConfig: WaiterConfigTypeDef = ..., # (2)
) -> None:
...
- See FilterTypeDef
- See WaiterConfigTypeDef
# wait method usage example with argument unpacking
kwargs: DescribeVolumesRequestWaitTypeDef = { # (1)
"VolumeIds": ...,
}
parent.wait(**kwargs)
VpcAvailableWaiter#
Type annotations and code completion for boto3.client("ec2").get_waiter("vpc_available")
.
boto3 documentation
# VpcAvailableWaiter 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()
- client: EC2Client
- waiter: VpcAvailableWaiter
wait#
Type annotations and code completion for VpcAvailableWaiter.wait
method.
# wait method definition
def wait(
self,
*,
Filters: Sequence[FilterTypeDef] = ..., # (1)
VpcIds: Sequence[str] = ...,
NextToken: str = ...,
MaxResults: int = ...,
DryRun: bool = ...,
WaiterConfig: WaiterConfigTypeDef = ..., # (2)
) -> None:
...
- See FilterTypeDef
- See WaiterConfigTypeDef
# wait method usage example with argument unpacking
kwargs: DescribeVpcsRequestWaitTypeDef = { # (1)
"Filters": ...,
}
parent.wait(**kwargs)
VpcExistsWaiter#
Type annotations and code completion for boto3.client("ec2").get_waiter("vpc_exists")
.
boto3 documentation
# VpcExistsWaiter 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()
- client: EC2Client
- waiter: VpcExistsWaiter
wait#
Type annotations and code completion for VpcExistsWaiter.wait
method.
# wait method definition
def wait(
self,
*,
Filters: Sequence[FilterTypeDef] = ..., # (1)
VpcIds: Sequence[str] = ...,
NextToken: str = ...,
MaxResults: int = ...,
DryRun: bool = ...,
WaiterConfig: WaiterConfigTypeDef = ..., # (2)
) -> None:
...
- See FilterTypeDef
- See WaiterConfigTypeDef
# wait method usage example with argument unpacking
kwargs: DescribeVpcsRequestWaitTypeDef = { # (1)
"Filters": ...,
}
parent.wait(**kwargs)
VpcPeeringConnectionDeletedWaiter#
Type annotations and code completion for boto3.client("ec2").get_waiter("vpc_peering_connection_deleted")
.
boto3 documentation
# VpcPeeringConnectionDeletedWaiter 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()
- client: EC2Client
- waiter: VpcPeeringConnectionDeletedWaiter
wait#
Type annotations and code completion for VpcPeeringConnectionDeletedWaiter.wait
method.
# wait method definition
def wait(
self,
*,
NextToken: str = ...,
MaxResults: int = ...,
DryRun: bool = ...,
VpcPeeringConnectionIds: Sequence[str] = ...,
Filters: Sequence[FilterTypeDef] = ..., # (1)
WaiterConfig: WaiterConfigTypeDef = ..., # (2)
) -> None:
...
- See FilterTypeDef
- See WaiterConfigTypeDef
# wait method usage example with argument unpacking
kwargs: DescribeVpcPeeringConnectionsRequestWaitTypeDef = { # (1)
"NextToken": ...,
}
parent.wait(**kwargs)
VpcPeeringConnectionExistsWaiter#
Type annotations and code completion for boto3.client("ec2").get_waiter("vpc_peering_connection_exists")
.
boto3 documentation
# VpcPeeringConnectionExistsWaiter 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()
- client: EC2Client
- waiter: VpcPeeringConnectionExistsWaiter
wait#
Type annotations and code completion for VpcPeeringConnectionExistsWaiter.wait
method.
# wait method definition
def wait(
self,
*,
NextToken: str = ...,
MaxResults: int = ...,
DryRun: bool = ...,
VpcPeeringConnectionIds: Sequence[str] = ...,
Filters: Sequence[FilterTypeDef] = ..., # (1)
WaiterConfig: WaiterConfigTypeDef = ..., # (2)
) -> None:
...
- See FilterTypeDef
- See WaiterConfigTypeDef
# wait method usage example with argument unpacking
kwargs: DescribeVpcPeeringConnectionsRequestWaitTypeDef = { # (1)
"NextToken": ...,
}
parent.wait(**kwargs)
VpnConnectionAvailableWaiter#
Type annotations and code completion for boto3.client("ec2").get_waiter("vpn_connection_available")
.
boto3 documentation
# VpnConnectionAvailableWaiter 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()
- client: EC2Client
- waiter: VpnConnectionAvailableWaiter
wait#
Type annotations and code completion for VpnConnectionAvailableWaiter.wait
method.
# wait method definition
def wait(
self,
*,
Filters: Sequence[FilterTypeDef] = ..., # (1)
VpnConnectionIds: Sequence[str] = ...,
DryRun: bool = ...,
WaiterConfig: WaiterConfigTypeDef = ..., # (2)
) -> None:
...
- See FilterTypeDef
- See WaiterConfigTypeDef
# wait method usage example with argument unpacking
kwargs: DescribeVpnConnectionsRequestWaitTypeDef = { # (1)
"Filters": ...,
}
parent.wait(**kwargs)
VpnConnectionDeletedWaiter#
Type annotations and code completion for boto3.client("ec2").get_waiter("vpn_connection_deleted")
.
boto3 documentation
# VpnConnectionDeletedWaiter 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()
- client: EC2Client
- waiter: VpnConnectionDeletedWaiter
wait#
Type annotations and code completion for VpnConnectionDeletedWaiter.wait
method.
# wait method definition
def wait(
self,
*,
Filters: Sequence[FilterTypeDef] = ..., # (1)
VpnConnectionIds: Sequence[str] = ...,
DryRun: bool = ...,
WaiterConfig: WaiterConfigTypeDef = ..., # (2)
) -> None:
...
- See FilterTypeDef
- See WaiterConfigTypeDef
# wait method usage example with argument unpacking
kwargs: DescribeVpnConnectionsRequestWaitTypeDef = { # (1)
"Filters": ...,
}
parent.wait(**kwargs)