Registry /
type-stubs / types-aiobotocore-dataexchange
Install & Compatibility
Where this runs
tested against v3.9.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
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 18.4MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 1.6s · import 0.000s · 19MB
16MB installed
● package 16MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
DataExchangeClient
✓ from types_aiobotocore_dataexchange import DataExchangeClient
✗ from types_aiobotocore_dataexchange import DataExchangeClient
This quickstart demonstrates how to initialize an `aiobotocore` DataExchange client and apply type hints from `types-aiobotocore-dataexchange` for static analysis. It then performs a simple API call to list data sets, showing how response types can also be hinted.
import asyncio
import aiobotocore.session
from types_aiobotocore_dataexchange.client import DataExchangeClient
from types_aiobotocore_dataexchange.type_defs import ListDataSetsResponseTypeDef
async def main():
session = aiobotocore.session.get_session()
# Using 'dataexchange' service name with type annotation
async with session.create_client("dataexchange") as client:
client: DataExchangeClient # Type hint for mypy
print(f"Client type: {type(client)}")
# Example API call with type-hinted response
try:
response: ListDataSetsResponseTypeDef = await client.list_data_sets(
MaxResults=1
)
print("Successfully listed DataExchange data sets.")
if response.get("DataSets"):
print("First Data Set ID:", response["DataSets"][0]["DataSetId"])
else:
print("No data sets found.")
except Exception as e:
print(f"Error listing data sets: {e}")
if __name__ == "__main__":
asyncio.run(main())
Debug
Known issues
breakingSupport for Python 3.8 was officially removed for all packages generated by `mypy-boto3-builder`.fixUpgrade your Python environment to 3.9 or newer.
affects: types-aiobotocore-dataexchange 3.4.0 and newer (generated by mypy-boto3-builder 8.12.0+).
gotchaThis package provides only type annotations (stubs) for static analysis. It does not include the runtime `aiobotocore` library. You must install `aiobotocore` separately for your application to function.fixEnsure `aiobotocore` is installed in your environment (e.g., `pip install aiobotocore`).
affects: All versions
breakingTypeDef argument names for packed methods were shortened (e.g., `CreateDistributionRequestRequestTypeDef` became `CreateDistributionRequestTypeDef`). Code explicitly importing or referencing the old longer names will break.fixReview and update any explicit references to TypeDefs to use the new, shorter names. Consult the `type_defs.pyi` file for the correct names.
affects: types-aiobotocore-dataexchange versions generated by mypy-boto3-builder 8.9.0 or newer.
gotchaAWS service names used in `session.create_client()` are case-sensitive and can occasionally change or vary from common expectations (e.g., `pinpoint-sms-voice` instead of `sms-voice`).fixAlways verify the exact service name required by consulting `aiobotocore` documentation or the `client.pyi` stub file for the specific client you are trying to instantiate.
affects: All versions
Upgrade
Version history
3.9.0latest on PyPI · released Aug 2, 2026
Audit
Dependencies
aiobotocorerequiredProvides the actual runtime implementation for AWS services; this package only offers type stubs.
pythonrequiredMinimum Python version required.