Skip to content

AccessAnalyzer module

Index > AccessAnalyzer

Auto-generated documentation for AccessAnalyzer type annotations stubs module types-aiobotocore-accessanalyzer.

How to install

From PyPI with pip

Install types-aioboto3 for AccessAnalyzer service.

# install with aioboto3 type annotations
python -m pip install 'types-aioboto3[accessanalyzer]'


# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'types-aioboto3-lite[accessanalyzer]'


# standalone installation
python -m pip install types-aiobotocore-accessanalyzer

How to uninstall

python -m pip uninstall -y types-aiobotocore-accessanalyzer

Usage

Code samples can be found in Examples.

AccessAnalyzerClient

Type annotations and code completion for session.client("accessanalyzer") as AccessAnalyzerClient boto3 documentation

Usage example
from aioboto3.session import Session

from types_aiobotocore_accessanalyzer.client import AccessAnalyzerClient


session = Session()
async with session.client("accessanalyzer") as client:
    client: AccessAnalyzerClient

Paginators

Type annotations and code completion for paginators from session.client("accessanalyzer").get_paginator("...").

Usage example
from types_aiobotocore_accessanalyzer.paginator import ListAccessPreviewFindingsPaginator

def get_list_access_preview_findings_paginator() -> ListAccessPreviewFindingsPaginator:
    return client.get_paginator("list_access_preview_findings"))

Literals

Type annotations for literals used in methods and schema.

Usage example
from types_aiobotocore_accessanalyzer.literals import AccessPreviewStatusReasonCodeType

def get_value() -> AccessPreviewStatusReasonCodeType:
    return "INTERNAL_ERROR"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from types_aiobotocore_accessanalyzer.type_defs import AccessPreviewStatusReasonTypeDef

def get_value() -> AccessPreviewStatusReasonTypeDef:
    return {
        "code": ...,
    }