Registry / type-stubs / types-aiobotocore-logs

types-aiobotocore-logs

JSON →
library3.7.0pypypiunverified

Type annotations for aiobotocore CloudWatchLogs 3.5.0 service, generated by mypy-boto3-builder 8.12.0. Used to provide static type checking for aiobotocore's CloudWatch Logs client. Requires Python >=3.9.

pip install types-aiobotocore-logs
INSTALL
IMPORT
SIG · TYPES-AIOBOTOCORE-
T
types-aiobotocore-logs
type-stubspythonv3.7.0
Install
1.7s avg
Import
Disk
17MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v3.7.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 18.8MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 1.7s · import 0.000s · 19MB
17MB installed
● package 17MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

CloudWatchLogsClient
from types_aiobotocore_logs import CloudWatchLogsClient
from mypy_boto3_logs import CloudWatchLogsClient

Basic usage of CloudWatch Logs client with type annotations

import os import aiobotocore.session from mypy_boto3_logs import CloudWatchLogsClient async def main(): session = aiobotocore.session.get_session() async with session.create_client('logs', region_name='us-east-1') as client: response: CloudWatchLogsClient.describe_log_groups() print(response)
Debug
Known issues
breakingVersion 8.9.0 of mypy-boto3-builder renamed packed TypeDefs by removing redundant 'Request' suffix, which may break existing type imports. types-aiobotocore-logs 3.5.0 is built with builder 8.12.0, so TypeDef names like 'CreateLogGroupRequestRequestTypeDef' became 'CreateLogGroupRequestTypeDef'. Update any hardcoded type references.
fix
Use the shorter TypeDef names (e.g., 'CreateLogGroupRequestTypeDef' instead of 'CreateLogGroupRequestRequestTypeDef').
affects: >=3.5.0
gotchaDo NOT import directly from 'types_aiobotocore_logs'. The package provides types under the 'mypy_boto3_logs' namespace. Direct imports from 'types_aiobotocore_logs' will fail with ModuleNotFoundError.
fix
Use 'from mypy_boto3_logs import ...' for clients and 'from mypy_boto3_logs.type_defs import ...' for type definitions.
affects: all
deprecatedPython 3.8 support was removed in builder version 8.12.0. types-aiobotocore-logs 3.5.0 requires Python >=3.9.
fix
Upgrade to Python 3.9+ to use this version.
affects: >=3.5.0
Upgrade
Version history
3.7.0latest on PyPI · released May 10, 2026
Audit
Dependencies
aiobotocorerequiredRuntime dependency for CloudWatchLogs client
typing-extensionsoptionalRequired for type annotations in Python <3.11
Agent activity
51 hits · last 30 days
node
44
OpenAI (training)
1
Resources
types-aiobotocore-logs — pip install types-aiobotocore-logs · libregistry