Registry / type-stubs / types-aiobotocore-batch

types-aiobotocore-batch

JSON →
library3.7.0pypypiunverified

Type annotations for aiobotocore Batch 3.5.0 service, generated with mypy-boto3-builder 8.12.0. Provides static typing for AWS Batch operations via aiobotocore. Current version is 3.5.0, released as part of mypy_boto3_builder releases.

pip install types-aiobotocore-batch
INSTALL
IMPORT
SIG · TYPES-AIOBOTOCORE-
T
types-aiobotocore-batch
type-stubspythonv3.7.0
Install
1.7s avg
Import
Disk
16MB
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.5MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 1.7s · import 0.000s · 19MB
16MB installed
● package 16MB
Code
Verified usage

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

BatchClient
from types_aiobotocore_batch import BatchClient
from types_aiobotocore_batch import BatchClient

Minimal async example using aiobotocore session to call Batch API with type hints.

import asyncio from types_aiobotocore_batch import BatchClient from aiobotocore.session import get_session async def main(): session = get_session() async with session.create_client('batch', region_name='us-east-1') as client: response = await client.describe_compute_environments() print(response) asyncio.run(main())
Debug
Known issues
breakingVersion 8.9.0 of mypy_boto3_builder introduced a breaking change: TypeDefs for packed method arguments now use shorter names (e.g., CreateDistributionRequestRequestTypeDef -> CreateDistributionRequestTypeDef). This may cause type-checking errors if you were using the longer names.
fix
Update your type annotations to use the new shorter TypeDef names.
affects: >=2.9.0 built with builder >=8.9.0
deprecatedThis package provides type stubs for aiobotocore Batch. The underlying service documentation may mark some operations as deprecated. Always check the official AWS Batch documentation for deprecation notices.
fix
Consult AWS Batch API reference for current status.
affects: all
gotchaThe import path for the client is from `types_aiobotocore_batch` (with underscore), not `types-aiobotocore-batch` (hyphen). Using the hyphenated name in an import will cause ModuleNotFoundError.
fix
Use `types_aiobotocore_batch` (underscores) in import statements.
affects: all
Upgrade
Version history
3.7.0latest on PyPI · released May 10, 2026
Audit
Dependencies
aiobotocorerequiredRuntime dependency for asynchronous AWS SDK operations.
typing-extensionsrequiredRequired for Python <3.9 compatibility.
Agent activity
41 hits · last 30 days
node
34
OpenAI (training)
2
Resources
types-aiobotocore-batch — pip install types-aiobotocore-batch · libregistry