Skip to content

GuardDuty module#

Index > GuardDuty

Auto-generated documentation for GuardDuty type annotations stubs module types-aiobotocore-guardduty.

How to install#

From PyPI with pip#

Install types-aiobotocore for GuardDuty service.

# install with aiobotocore type annotations
python -m pip install 'types-aiobotocore[guardduty]'


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


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

How to uninstall#

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

Usage#

Code samples can be found in Examples.

GuardDutyClient#

Type annotations and code completion for session.create_client("guardduty") as GuardDutyClient boto3 documentation

# GuardDutyClient usage example

from aiobotocore.session import get_session

from types_aiobotocore_guardduty.client import GuardDutyClient


session = get_session()
async with session.create_client("guardduty") as client:
    client: GuardDutyClient

Paginators#

Type annotations and code completion for paginators from session.create_client("guardduty").get_paginator("...").

# DescribeMalwareScansPaginator usage example

from types_aiobotocore_guardduty.paginator import DescribeMalwareScansPaginator

def get_describe_malware_scans_paginator() -> DescribeMalwareScansPaginator:
    return client.get_paginator("describe_malware_scans"))

Literals#

Type annotations for literals used in methods and schema.

# AdminStatusType usage example

from types_aiobotocore_guardduty.literals import AdminStatusType

def get_value() -> AdminStatusType:
    return "DISABLE_IN_PROGRESS"

Type definitions#

Type annotations for type definitions used in methods and schema.