Registry / type-stubs / mypy-boto3-dynamodbstreams

mypy-boto3-dynamodbstreams

JSON →
library1.43.0pypypi✓ verified 23d ago

mypy-boto3-dynamodbstreams provides comprehensive type annotations for the AWS boto3 DynamoDBStreams client, enhancing static analysis and developer experience for DynamoDB Streams operations. It is currently at version 1.42.3, generated by mypy-boto3-builder 8.12.0, with frequent releases aligning with boto3 updates and builder improvements.

pip install mypy-boto3-dynamodbstreams
INSTALL
IMPORT
SIG · MYPY-BOTO3-DYNAMOD
M
mypy-boto3-dynamodbstreams
type-stubspythonv1.43.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 v1.43.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.2MB
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.

DynamoDBStreamsClient
from mypy_boto3_dynamodbstreams import DynamoDBStreamsClient
from mypy_boto3_dynamodbstreams import DynamoDBStreamsClient
ServiceResource
from mypy_boto3_dynamodbstreams import ServiceResource
Client
from mypy_boto3_dynamodbstreams import Client

This quickstart demonstrates how to initialize a type-hinted DynamoDBStreams client using `boto3` and leverage the provided `mypy-boto3-dynamodbstreams` type annotations for static analysis. It shows listing and describing streams.

import boto3 from mypy_boto3_dynamodbstreams.client import DynamoDBStreamsClient from mypy_boto3_dynamodbstreams.type_defs import DescribeStreamOutputTypeDef, ListStreamsOutputTypeDef def get_dynamodb_streams_client() -> DynamoDBStreamsClient: """Get a typed DynamoDBStreams client.""" client: DynamoDBStreamsClient = boto3.client("dynamodbstreams") return client if __name__ == "__main__": # Example usage with type checking ddb_streams_client = get_dynamodb_streams_client() # List streams list_response: ListStreamsOutputTypeDef = ddb_streams_client.list_streams(Limit=1) print("DynamoDB Streams found:", list_response.get("Streams")) # Describe a specific stream (replace with a real ARN if you have one) if list_response.get("Streams"): stream_arn = list_response["Streams"][0]["StreamArn"] describe_response: DescribeStreamOutputTypeDef = ddb_streams_client.describe_stream(StreamArn=stream_arn) print(f"Description for {stream_arn}:", describe_response.get("StreamDescription"))
Debug
Known issues
breakingPython 3.8 support has been removed across all `mypy-boto3` packages starting with `mypy-boto3-builder` version 8.12.0. Users on Python 3.8 will need to upgrade to Python 3.9 or newer.
fix
Upgrade your Python environment to 3.9 or newer.
affects: mypy-boto3-builder >=8.12.0
breakingType definition (TypeDef) names for packed method arguments may have changed for brevity (e.g., `CreateDistributionRequestRequestTypeDef` -> `CreateDistributionRequestTypeDef`) and conflicting TypeDef postfixes moved to the end (e.g., `CreateDistributionExtraRequestTypeDef` -> `CreateDistributionRequestExtraTypeDef`). While the examples are not for DynamoDBStreams, this is a general breaking change in the builder that could affect specific TypeDefs in any generated service.
fix
Review your code for any custom type aliases or direct imports of specific TypeDef names and adjust to the new naming conventions if affected. Consult the specific service's `type_defs.pyi` for current names.
affects: mypy-boto3-builder >=8.9.0
gotchaThis package only provides type annotations. You must install `boto3` separately for the actual AWS SDK functionality. The `mypy-boto3-dynamodbstreams` package is a `PEP 561` stub-only package.
fix
Ensure `boto3` is installed in your environment: `pip install boto3`.
affects: All
gotchaFor optimal type checking, ensure your `mypy-boto3-*` package versions are compatible with your installed `boto3` version. Mismatched versions can lead to incorrect or missing type hints.
fix
Ideally, keep `mypy-boto3-*` packages updated alongside `boto3`. The `mypy-boto3-builder` aims to align stub versions with `boto3` releases.
affects: All
Upgrade
Version history
1.43.0latest on PyPI · released Apr 29, 2026
Audit
Dependencies
boto3requiredThis package provides type stubs for boto3; boto3 itself must be installed to use the AWS SDK functionality.
typing-extensionsoptionalRequired for backporting new typing features to older Python versions (though less critical for Python 3.9+).
Agent activity
21 hits · last 30 days
node
18
OpenAI (training)
2
Resources
mypy-boto3-dynamodbstreams — pip install mypy-boto3-dynamodbstreams · libregistry