Skip to content

AuditManagerClient#

Index > AuditManager > AuditManagerClient

Auto-generated documentation for AuditManager type annotations stubs module mypy-boto3-auditmanager.

AuditManagerClient#

Type annotations and code completion for boto3.client("auditmanager"). boto3 documentation

# AuditManagerClient usage example

from boto3.session import Session
from mypy_boto3_auditmanager.client import AuditManagerClient

def get_auditmanager_client() -> AuditManagerClient:
    return Session().client("auditmanager")

Exceptions#

boto3 client exceptions are generated in runtime. This class provides code completion for boto3.client("auditmanager").exceptions structure.

# Exceptions.exceptions usage example

client = boto3.client("auditmanager")

try:
    do_something(client)
except (
    client.exceptions.AccessDeniedException,
    client.exceptions.ClientError,
    client.exceptions.InternalServerException,
    client.exceptions.ResourceNotFoundException,
    client.exceptions.ServiceQuotaExceededException,
    client.exceptions.ThrottlingException,
    client.exceptions.ValidationException,
) as e:
    print(e)
# Exceptions.exceptions type checking example

from mypy_boto3_auditmanager.client import Exceptions

def handle_error(exc: Exceptions.AccessDeniedException) -> None:
    ...

Methods#

associate_assessment_report_evidence_folder#

Associates an evidence folder to an assessment report in an Audit Manager assessment.

Type annotations and code completion for boto3.client("auditmanager").associate_assessment_report_evidence_folder method. boto3 documentation

# associate_assessment_report_evidence_folder method definition

def associate_assessment_report_evidence_folder(
    self,
    *,
    assessmentId: str,
    evidenceFolderId: str,
) -> Dict[str, Any]:
    ...
# associate_assessment_report_evidence_folder method usage example with argument unpacking

kwargs: AssociateAssessmentReportEvidenceFolderRequestRequestTypeDef = {  # (1)
    "assessmentId": ...,
    "evidenceFolderId": ...,
}

parent.associate_assessment_report_evidence_folder(**kwargs)
  1. See AssociateAssessmentReportEvidenceFolderRequestRequestTypeDef

batch_associate_assessment_report_evidence#

Associates a list of evidence to an assessment report in an Audit Manager assessment.

Type annotations and code completion for boto3.client("auditmanager").batch_associate_assessment_report_evidence method. boto3 documentation

# batch_associate_assessment_report_evidence method definition

def batch_associate_assessm