Skip to content

CloudTrailDataService module#

Index > CloudTrailDataService

Auto-generated documentation for CloudTrailDataService type annotations stubs module types-aiobotocore-cloudtrail-data.

How to install#

From PyPI with pip#

Install types-aiobotocore for CloudTrailDataService service.

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


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


# standalone installation
python -m pip install types-aiobotocore-cloudtrail-data

How to uninstall#

python -m pip uninstall -y types-aiobotocore-cloudtrail-data

Usage#

Code samples can be found in Examples.

CloudTrailDataServiceClient#

Type annotations and code completion for session.create_client("cloudtrail-data") as CloudTrailDataServiceClient boto3 documentation

# CloudTrailDataServiceClient usage example

from aiobotocore.session import get_session

from types_aiobotocore_cloudtrail_data.client import CloudTrailDataServiceClient


session = get_session()
async with session.create_client("cloudtrail-data") as client:
    client: CloudTrailDataServiceClient

Literals#

Type annotations for literals used in methods and schema.

# CloudTrailDataServiceServiceName usage example

from types_aiobotocore_cloudtrail_data.literals import CloudTrailDataServiceServiceName

def get_value() -> CloudTrailDataServiceServiceName:
    return "cloudtrail-data"

Type definitions#

Type annotations for type definitions used in methods and schema.