Registry / type-stubs / mypy-boto3-kinesis-video-archived-media

mypy-boto3-kinesis-video-archived-media

JSON →
library1.43.0pypypi✓ verified 22d ago

This library provides precise type hints for `boto3`'s `KinesisVideoArchivedMedia` client, enabling static analysis tools like MyPy. It's an integral part of the `mypy-boto3` ecosystem, which generates stubs for all AWS services. The package is frequently updated, typically aligning with `boto3` and `botocore` releases, with the current version being `1.42.3`.

pip install mypy-boto3-kinesis-video-archived-media boto3
INSTALL
IMPORT
SIG · MYPY-BOTO3-KINESIS
M
mypy-boto3-kinesis-video-archived-media
type-stubspythonv1.43.0
Install
3.9s avg
Import
575ms
Disk
50MB
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.602s · 51.9MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 3.9s · import 0.548s · 52MB
50MB installed
● package 50MB
Code
Verified usage

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

KinesisVideoArchivedMediaClient
from mypy_boto3_kinesis_video_archived_media import KinesisVideoArchivedMediaClient
from boto3.kinesis_video_archived_media import KinesisVideoArchivedMediaClient
The direct `boto3` import does not provide static type hints; `mypy-boto3` provides the typed client.
GetHLSStreamingSessionURLRequestRequestTypeDef
from mypy_boto3_kinesis_video_archived_media.type_defs import GetHLSStreamingSessionURLRequestRequestTypeDef
Type definitions for service requests and responses are found in the `type_defs` submodule.

This quickstart demonstrates how to instantiate a `boto3` client and leverage `mypy-boto3-kinesis-video-archived-media` to provide static type hints for it. The type annotations are applied at type-checking time, while the runtime behavior remains identical to standard `boto3`.

import boto3 from mypy_boto3_kinesis_video_archived_media import KinesisVideoArchivedMediaClient # Instantiate the boto3 client normally. # Mypy-boto3 provides the static type annotations at type-checking time. client: KinesisVideoArchivedMediaClient = boto3.client( "kinesis-video-archived-media", region_name="us-east-1" # Ensure AWS credentials are configured (e.g., via env vars or ~/.aws/credentials) ) # Now 'client' is statically typed as KinesisVideoArchivedMediaClient. # MyPy will validate method calls and arguments, providing autocompletion and error checking. # Example (uncomment to run, requires valid AWS credentials and Kinesis Video Stream): # from mypy_boto3_kinesis_video_archived_media.type_defs import GetHLSStreamingSessionURLRequestRequestTypeDef # request: GetHLSStreamingSessionURLRequestRequestTypeDef = { # "StreamName": "your-stream-name", # "PlaybackMode": "LIVE" # } # response = client.get_hls_streaming_session_url(**request) # print(f"HLS Session URL: {response['HLSStreamingSessionURL']}") print(f"Successfully created a typed Kinesis Video Archived Media client: {type(client)}") print("MyPy will now provide type-checking for 'client' methods and arguments.")
Debug
Known issues
breakingPython 3.8 support was removed from `mypy-boto3` packages (including this one) starting from version 8.12.0. This package now requires Python 3.9 or newer.
fix
Upgrade your Python environment to 3.9 or higher. For Python 3.8, use an older `mypy-boto3` builder version, but it's recommended to upgrade Python.
affects: >=8.12.0 (mypy-boto3 builder), >=1.42.0 (service stubs)
breakingTypeDef naming conventions changed in version 8.9.0. Some TypeDefs for method arguments might have shorter names (e.g., `*RequestRequestTypeDef` -> `*RequestTypeDef`) or have `Extra` postfixes moved. This could break explicit type annotations in existing code.
fix
Update explicit TypeDef imports and usages in your codebase to match the new naming conventions. Refer to the `mypy-boto3` documentation or generated stubs for the exact names.
affects: >=8.9.0 (mypy-boto3 builder), >=1.42.0 (service stubs)
gotchaYou must install the `boto3` runtime library separately. `mypy-boto3-kinesis-video-archived-media` only provides type stubs (.pyi files) for `boto3`, not the actual runtime implementation.
fix
Ensure `boto3` is installed in your environment alongside the `mypy-boto3` stub package (e.g., `pip install boto3 mypy-boto3-kinesis-video-archived-media`).
affects: All versions
gotchaA version mismatch between `mypy-boto3-*` stub packages and your installed `boto3`/`botocore` runtime can lead to incorrect type hints or MyPy errors. Stubs are generated for specific `boto3` versions.
fix
Always install `boto3` and its corresponding `mypy-boto3` stub package at compatible versions. It's often best to update both simultaneously. The stub package's version number usually corresponds to the `boto3` version it types.
affects: All versions
gotchaThe service name passed to `boto3.client()` (e.g., `"kinesis-video-archived-media"`) must exactly match the service stub package's internal naming convention for correct type application. Misspellings or using an old service name will result in untyped clients.
fix
Double-check the service string against the `boto3` documentation and the `mypy-boto3` package name (e.g., `mypy_boto3_kinesis_video_archived_media` for `"kinesis-video-archived-media"`).
affects: All versions
Upgrade
Version history
1.43.0latest on PyPI · released Apr 29, 2026
Audit
Dependencies
botocorerequiredCore dependency for AWS service definitions, required by mypy-boto3 builder.
typing-extensionsrequiredProvides backports of standard library typing features, used by mypy-boto3 packages for broader compatibility.
Agent activity
20 hits · last 30 days
node
16
OpenAI (training)
2
Amazon
1
Resources
mypy-boto3-kinesis-video-archived-media — pip install mypy-boto3-kinesis-video-archived-media · libregistry