Skip to content

Waiters#

Index > ACMPCA > Waiters

Auto-generated documentation for ACMPCA type annotations stubs module mypy-boto3-acm-pca.

AuditReportCreatedWaiter#

Type annotations and code completion for boto3.client("acm-pca").get_waiter("audit_report_created"). boto3 documentation

# AuditReportCreatedWaiter usage example

from boto3.session import Session

from mypy_boto3_acm_pca.waiter import AuditReportCreatedWaiter


session = Session()

client = session.client("acm-pca")  # (1)
waiter: AuditReportCreatedWaiter = client.get_waiter("audit_report_created")  # (2)
await waiter.wait()
  1. client: ACMPCAClient
  2. waiter: AuditReportCreatedWaiter

wait#

Type annotations and code completion for AuditReportCreatedWaiter.wait method.

# wait method definition

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

kwargs: DescribeCertificateAuthorityAuditReportRequestWaitTypeDef = {  # (1)
    "CertificateAuthorityArn": ...,
    "AuditReportId": ...,
}

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

CertificateAuthorityCSRCreatedWaiter#

Type annotations and code completion for boto3.client("acm-pca").get_waiter("certificate_authority_csr_created"). boto3 documentation

# CertificateAuthorityCSRCreatedWaiter usage example

from boto3.session import Session

from mypy_boto3_acm_pca.waiter import CertificateAuthorityCSRCreatedWaiter


session = Session()

client = session.client("acm-pca")  # (1)
waiter: CertificateAuthorityCSRCreatedWaiter = client.get_waiter("certificate_authority_csr_created")  # (2)
await waiter.wait()
  1. client: ACMPCAClient
  2. waiter: CertificateAuthorityCSRCreatedWaiter

wait#

Type annotations and code completion for CertificateAuthorityCSRCreatedWaiter.wait method.

# wait method definition

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

kwargs: GetCertificateAuthorityCsrRequestWaitTypeDef = {  # (1)
    "CertificateAuthorityArn": ...,
}

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

CertificateIssuedWaiter#

Type annotations and code completion for boto3.client("acm-pca").get_waiter("certificate_issued"). boto3 documentation

# CertificateIssuedWaiter usage example

from boto3.session import Session

from mypy_boto3_acm_pca.waiter import CertificateIssuedWaiter


session = Session()

client = session.client("acm-pca")  # (1)
waiter: CertificateIssuedWaiter = client.get_waiter("certificate_issued")  # (2)
await waiter.wait()
  1. client: ACMPCAClient
  2. waiter: CertificateIssuedWaiter

wait#

Type annotations and code completion for CertificateIssuedWaiter.wait method.

# wait method definition

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

kwargs: GetCertificateRequestWaitTypeDef = {  # (1)
    "CertificateAuthorityArn": ...,
    "CertificateArn": ...,
}

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