Registry / type-stubs / mypy-boto3-mediatailor

mypy-boto3-mediatailor

JSON →
library1.43.67pypypi✓ verified 23d ago

mypy-boto3-mediatailor provides PEP 561 compliant type annotations for the AWS MediaTailor service client in `boto3`. It enhances development with static type checking for `boto3` interactions, helping catch errors before runtime. This package is currently at version 1.42.84 and is part of the `mypy-boto3-builder` ecosystem, which follows a frequent release cadence, often synchronised with `boto3` updates.

pip install mypy-boto3-mediatailor
INSTALL
IMPORT
SIG · MYPY-BOTO3-MEDIATA
M
mypy-boto3-mediatailor
type-stubspythonv1.43.67
Install
3.4s avg
Import
Disk
18MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.43.67 · 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.910 runs
installs and imports cleanly · install 0.0s · import 0.000s · 19.9MB
glibc
py 3.103.910 runs
installs and imports cleanly · install 3.4s · import 0.000s · 20MB
18MB installed
● package 18MB
Code
Verified usage

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

MediaTailorClient
from mypy_boto3_mediatailor import MediaTailorClient
from mypy_boto3_mediatailor import MediaTailorClient

This quickstart demonstrates how to initialize a type-hinted MediaTailor client and perform a basic API call (list_channels). It highlights how to apply type annotations to the client object and API responses, leveraging the benefits of static type checking with `mypy` or similar tools.

import boto3 from mypy_boto3_mediatailor.client import MediaTailorClient from mypy_boto3_mediatailor.type_defs import ListChannelsResponseTypeDef # Create a typed client for AWS MediaTailor client: MediaTailorClient = boto3.client("mediatailor") # Example: List channels with type hints try: response: ListChannelsResponseTypeDef = client.list_channels() channels = response.get('Items', []) print(f"Found {len(channels)} MediaTailor Channels:") for channel in channels: print(f"- {channel.get('ChannelName', 'N/A')} (ARN: {channel.get('ChannelArn', 'N/A')})") except Exception as e: print(f"Error listing channels: {e}") print("Ensure AWS credentials and 'mediatailor' service are configured correctly.")
Debug
Known issues
breakingSupport for Python 3.8 was removed in `mypy-boto3-builder` version 8.12.0, which generated this package version. Projects using `mypy-boto3-mediatailor` 1.42.84 or newer (generated by builder 8.12.0+) require Python 3.9 or higher.
fix
Upgrade your Python environment to 3.9 or newer.
affects: mypy-boto3-builder >= 8.12.0 (affecting mypy-boto3-mediatailor >= 1.42.84)
breakingType definition names for packed method arguments may have changed for some services. For example, `CreateDistributionRequestRequestTypeDef` might become `CreateDistributionRequestTypeDef`. This could affect code directly referencing such types.
fix
Review your code for direct references to TypeDef names and update them according to the new naming conventions if type errors occur.
affects: mypy-boto3-builder >= 8.9.0 (affecting mypy-boto3-* packages generated with it)
gotchaThis package provides *only* type annotations. You must have the `boto3` library installed separately (`pip install boto3`) for your code to run at runtime. This package does not declare `boto3` as a runtime dependency.
fix
Ensure `boto3` is included in your project's runtime dependencies (`pip install boto3`).
affects: All versions
gotchaThe `mypy-boto3` stub packages are tightly coupled with `boto3` versions. For optimal type checking, ensure your `mypy-boto3-mediatailor` version aligns with your installed `boto3` version (e.g., `mypy-boto3-mediatailor==X.Y.Z` for `boto3==X.Y.Z`).
fix
Match `mypy-boto3-mediatailor`'s version to your `boto3` version. Consider using `boto3-stubs` which helps manage versions for all services.
affects: All versions
gotchaAvoid installing individual `mypy-boto3-*` service packages (like `mypy-boto3-mediatailor`) if you have already installed the comprehensive `boto3-stubs` package, which includes all service stubs. Installing both can lead to redundancy or potential conflicts.
fix
Choose one approach: either install `boto3-stubs` (recommended for projects using multiple services) or install individual `mypy-boto3-*` packages for only the services you need. Do not mix them for the same services.
affects: All versions
Upgrade
Version history
1.43.67latest on PyPI · released Aug 7, 2026
Audit
Dependencies
boto3requiredRequired at runtime for the code that uses these type hints. This package only provides type annotations.
typing-extensionsoptionalProvides backports of typing features for older Python versions. It's often an indirect dependency managed by the package's builder.
Agent activity
19 hits · last 30 days
node
17
OpenAI (training)
1
Resources
mypy-boto3-mediatailor — pip install mypy-boto3-mediatailor · libregistry