Skip to content

Waiters#

Index > Macie2 > Waiters

Auto-generated documentation for Macie2 type annotations stubs module types-boto3-macie2.

FindingRevealedWaiter#

Type annotations and code completion for boto3.client("macie2").get_waiter("finding_revealed"). boto3 documentation

# FindingRevealedWaiter usage example

from boto3.session import Session

from types_boto3_macie2.waiter import FindingRevealedWaiter


session = Session()

client = session.client("macie2")  # (1)
waiter: FindingRevealedWaiter = client.get_waiter("finding_revealed")  # (2)
await waiter.wait()
  1. client: Macie2Client
  2. waiter: FindingRevealedWaiter

wait#

Type annotations and code completion for FindingRevealedWaiter.wait method.

# wait method definition

def wait(
    self,
    *,
    findingId: str,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (1)
) -> None:
    ...
  1. See WaiterConfigTypeDef
# wait method usage example with argument unpacking

kwargs: GetSensitiveDataOccurrencesRequestWaitTypeDef = {  # (1)
    "findingId": ...,
}

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