Registry /
type-stubs / mypy-boto3-route53globalresolver
Install & Compatibility
Where this runs
tested against v1.43.42 · 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.612s · 52.1MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 3.8s · import 0.578s · 53MB
50MB installed
● package 50MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
Route53GlobalResolverClient
✓ from mypy_boto3_route53globalresolver.client import Route53GlobalResolverClient
✗ from boto3.client import Route53GlobalResolverClient
Type stubs are imported from the dedicated 'mypy_boto3_...' package, not directly from 'boto3'.
This quickstart demonstrates how to instantiate a boto3 Route53GlobalResolver client and apply the type hints provided by `mypy-boto3-route53globalresolver`. It includes a basic API call example (listing resolver endpoints) and shows how MyPy would validate the types.
import boto3
from mypy_boto3_route53globalresolver.client import Route53GlobalResolverClient
# Initialize a boto3 client for Route53GlobalResolver
# Ensure AWS credentials and region are configured via environment variables
# (e.g., AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_REGION_NAME) or AWS config files.
client: Route53GlobalResolverClient = boto3.client("route53-global-resolver")
# Example usage: List Resolver Endpoints
# The exact API calls depend on the specific service functionality.
try:
response = client.list_resolver_endpoints(
MaxResults=5 # Limit results for a quick example
)
print(f"Successfully listed {len(response.get('ResolverEndpoints', []))} Resolver Endpoints.")
if response.get('ResolverEndpoints'):
first_endpoint = response['ResolverEndpoints'][0]
print(f"First endpoint ID: {first_endpoint.get('Id')}, Name: {first_endpoint.get('Name')}")
except Exception as e:
print(f"Error listing resolver endpoints: {e}")
# Type checking with MyPy will now ensure that 'client' methods and 'response' structure are correct.
Debug
Known issues
breakingPython 3.8 support has been removed for all `mypy-boto3` packages, including `mypy-boto3-route53globalresolver`. Requires Python 3.9 or higher.fixUpgrade your Python environment to 3.9 or newer. If you must use Python 3.8, you will need to pin `mypy-boto3-builder` to `<8.12.0` and corresponding service stubs to older versions.
affects: mypy-boto3-builder >= 8.12.0
gotchaThis package provides only type stubs. You must install `boto3` separately to use the AWS SDK at runtime.fixEnsure `pip install boto3` is executed alongside `pip install mypy-boto3-route53globalresolver`.
affects: All versions
gotchaFor optimal type checking, align the `mypy-boto3-route53globalresolver` version with your `boto3` version. The patch version (e.g., `1.42.64`) typically indicates the compatible `boto3` minor version (e.g., `boto3==1.42.x`).fixRegularly update both `boto3` and `mypy-boto3-*` packages to their latest compatible versions. E.g., `pip install -U boto3 mypy-boto3-route53globalresolver`.
affects: All versions
breakingThe `mypy-boto3-builder` (which generates this stub) changed TypeDef naming conventions in 8.9.0. This might affect existing type hints if you've explicitly referenced generated TypeDefs (e.g., `CreateDistributionRequestRequestTypeDef` becoming `CreateDistributionRequestTypeDef`).fixReview and update your explicit TypeDef references based on the new, shorter naming conventions or ensure your MyPy configuration ignores these specific errors if they are not critical for your use case.
affects: mypy-boto3-builder >= 8.9.0
Upgrade
Version history
1.43.42latest on PyPI · released Jul 7, 2026
Audit
Dependencies
boto3requiredProvides the actual runtime AWS SDK client; mypy-boto3-* packages are only type stubs.
typing-extensionsoptionalRequired for Python versions older than 3.9 for some advanced typing features, though 3.9+ is now generally required by mypy-boto3.