Registry / type-stubs / mypy-boto3-route53profiles

mypy-boto3-route53profiles

JSON →
library1.43.0pypypi✓ verified 28d ago

mypy-boto3-route53profiles provides comprehensive type annotations for the `boto3` Route53Profiles service client. This library enables static analysis tools like `mypy` to perform rigorous type checking, offering improved developer experience through better auto-completion and early error detection for AWS SDK interactions. It is built using `mypy-boto3-builder` and typically updates in alignment with `boto3` releases.

pip install mypy-boto3-route53profiles
INSTALL
IMPORT
SIG · MYPY-BOTO3-ROUTE53
M
mypy-boto3-route53profiles
type-stubspythonv1.43.0
Install
1.6s avg
Import
—
Disk
16MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.9–3.13
musl
3.9–3.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.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 18.3MB
glibc
py 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.

Route53ProfilesClient
✓ from mypy_boto3_route53profiles import Route53ProfilesClient
✗ from mypy_boto3_route53profiles import Route53ProfilesClient

This quickstart demonstrates how to initialize a type-hinted `boto3` Route53Profiles client and call a method. `mypy` will use the provided stubs to validate method calls, argument types, and return types, improving code reliability and developer experience.

import boto3 from mypy_boto3_route53profiles.client import Route53ProfilesClient from mypy_boto3_route53profiles.type_defs import ListProfileAssociationsOutputTypeDef def get_profile_associations() -> ListProfileAssociationsOutputTypeDef: # In a real application, boto3 will automatically pick up credentials # from environment variables, ~/.aws/credentials, or IAM roles. # For local testing, ensure your AWS credentials are configured. client: Route53ProfilesClient = boto3.client("route53profiles") response = client.list_profile_associations( MaxResults=5 # Example optional parameter ) print(f"Found {len(response.get('ProfileAssociations', []))} profile associations.") # Mypy will ensure 'response' has methods like .get() for 'ProfileAssociations' # and that 'ProfileAssociations' contains correctly typed dicts. return response if __name__ == "__main__": # To run this code, ensure AWS credentials are set up for boto3. # For type checking only, you don't need active credentials. print("This quickstart demonstrates type hinting for boto3's Route53Profiles client.") print("Run `mypy your_script_name.py` to see the type checking in action.") # Example of mypy benefits: client_typed: Route53ProfilesClient = boto3.client("route53profiles") # client_typed.non_existent_method() # Mypy would flag this as an error # client_typed.list_profile_associations(InvalidParam=True) # Mypy would flag this
Debug
Known issues
breakingPython 3.8 support was removed starting with `mypy-boto3-builder 8.12.0`. All `mypy-boto3-*` packages generated with this builder version or later no longer support Python 3.8.
fix
Upgrade your Python environment to 3.9 or newer. Alternatively, pin your `mypy-boto3-builder` version to `<8.12.0` (not recommended for long-term use).
affects: mypy-boto3-builder >= 8.12.0 and corresponding `mypy-boto3-*` service packages.
breakingSome `TypeDef` naming conventions changed with `mypy-boto3-builder 8.9.0`. Specifically, names for packed method arguments became shorter (e.g., `CreateDistributionRequestRequestTypeDef` -> `CreateDistributionRequestTypeDef`), and conflicting `Extra` postfixes were moved (e.g., `CreateDistributionExtraRequestTypeDef` -> `CreateDistributionRequestExtraTypeDef`).
fix
If you explicitly import and use these `TypeDef` names in your code, update them to reflect the new naming conventions.
affects: mypy-boto3-builder >= 8.9.0 and corresponding `mypy-boto3-*` service packages.
gotchaThis library provides type stubs only. For your code to function at runtime, you must have the actual `boto3` library installed.
fix
Ensure `boto3` is installed alongside `mypy-boto3-route53profiles` (e.g., `pip install boto3 mypy-boto3-route53profiles`).
affects: All versions of `mypy-boto3-route53profiles`.
gotchaTo ensure accurate type checking, the version of `mypy-boto3-route53profiles` should ideally match the major and minor version of your installed `boto3` library. Mismatched versions can lead to incorrect type hints for new or changed `boto3` features.
fix
Regularly update both `boto3` and `mypy-boto3-route53profiles` (e.g., `pip install --upgrade boto3 mypy-boto3-route53profiles`). If issues arise, pin both packages to compatible versions.
affects: All versions.
Upgrade
Version history
1.43.0latest on PyPI · released Apr 29, 2026
Audit
Dependencies
boto3requiredProvides the actual runtime implementation for AWS SDK interactions.
mypyoptionalRequired for static type checking using these stubs.
Agent activity
13 hits · last 30 days
node
10
Amazon
1
OpenAI (training)
1
Resources
mypy-boto3-route53profiles — pip install mypy-boto3-route53profiles · libregistry