Skip to content

Inspector module

Index > Inspector

Auto-generated documentation for Inspector type annotations stubs module types-aiobotocore-inspector.

How to install

From PyPI with pip

Install types-aioboto3 for Inspector service.

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


# 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[inspector]'


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

How to uninstall

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

Usage

Code samples can be found in Examples.

InspectorClient

Type annotations and code completion for session.client("inspector") as InspectorClient boto3 documentation

Usage example
from aioboto3.session import Session

from types_aiobotocore_inspector.client import InspectorClient


session = Session()
async with session.client("inspector") as client:
    client: InspectorClient

Paginators

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

Usage example
from types_aiobotocore_inspector.paginator import ListAssessmentRunAgentsPaginator

def get_list_assessment_run_agents_paginator() -> ListAssessmentRunAgentsPaginator:
    return client.get_paginator("list_assessment_run_agents"))

Literals

Type annotations for literals used in methods and schema.

Usage example
from types_aiobotocore_inspector.literals import AgentHealthCodeType

def get_value() -> AgentHealthCodeType:
    return "IDLE"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from types_aiobotocore_inspector.type_defs import AttributeTypeDef

def get_value() -> AttributeTypeDef:
    return {
        "key": ...,
    }