Waiters#
Index > Inspector2 > Waiters
Auto-generated documentation for Inspector2 type annotations stubs module mypy-boto3-inspector2.
ConnectorConnectedWaiter#
Type annotations and code completion for boto3.client("inspector2").get_waiter("connector_connected").
boto3 documentation
# ConnectorConnectedWaiter usage example
from boto3.session import Session
from mypy_boto3_inspector2.waiter import ConnectorConnectedWaiter
session = Session()
client = session.client("inspector2") # (1)
waiter: ConnectorConnectedWaiter = client.get_waiter("connector_connected") # (2)
await waiter.wait(...)
- client: Inspector2Client
- waiter: ConnectorConnectedWaiter
wait#
Type annotations and code completion for ConnectorConnectedWaiter.wait method.
# wait method definition
def wait(
self,
*,
maxResults: int = ...,
nextToken: str = ...,
filterCriteria: ConnectorFilterCriteriaTypeDef = ..., # (1)
WaiterConfig: WaiterConfigTypeDef = ..., # (2)
) -> None:
...
# wait method usage example with argument unpacking
kwargs: ListConnectorsRequestWaitTypeDef = { # (1)
"maxResults": ...,
}
parent.wait(**kwargs)
ConnectorDeletedWaiter#
Type annotations and code completion for boto3.client("inspector2").get_waiter("connector_deleted").
boto3 documentation
# ConnectorDeletedWaiter usage example
from boto3.session import Session
from mypy_boto3_inspector2.waiter import ConnectorDeletedWaiter
session = Session()
client = session.client("inspector2") # (1)
waiter: ConnectorDeletedWaiter = client.get_waiter("connector_deleted") # (2)
await waiter.wait(...)
- client: Inspector2Client
- waiter: ConnectorDeletedWaiter
wait#
Type annotations and code completion for ConnectorDeletedWaiter.wait method.
# wait method definition
def wait(
self,
*,
maxResults: int = ...,
nextToken: str = ...,
filterCriteria: ConnectorFilterCriteriaTypeDef = ..., # (1)
WaiterConfig: WaiterConfigTypeDef = ..., # (2)
) -> None:
...
# wait method usage example with argument unpacking
kwargs: ListConnectorsRequestWaitExtraTypeDef = { # (1)
"maxResults": ...,
}
parent.wait(**kwargs)
ConnectorEnabledWaiter#
Type annotations and code completion for boto3.client("inspector2").get_waiter("connector_enabled").
boto3 documentation
# ConnectorEnabledWaiter usage example
from boto3.session import Session
from mypy_boto3_inspector2.waiter import ConnectorEnabledWaiter
session = Session()
client = session.client("inspector2") # (1)
waiter: ConnectorEnabledWaiter = client.get_waiter("connector_enabled") # (2)
await waiter.wait(...)
- client: Inspector2Client
- waiter: ConnectorEnabledWaiter
wait#
Type annotations and code completion for ConnectorEnabledWaiter.wait method.
# wait method definition
def wait(
self,
*,
maxResults: int = ...,
nextToken: str = ...,
filterCriteria: ConnectorFilterCriteriaTypeDef = ..., # (1)
WaiterConfig: WaiterConfigTypeDef = ..., # (2)
) -> None:
...
# wait method usage example with argument unpacking
kwargs: ListConnectorsRequestWaitExtraExtraTypeDef = { # (1)
"maxResults": ...,
}
parent.wait(**kwargs)