Registry / type-stubs / mypy-boto3-internetmonitor

mypy-boto3-internetmonitor

JSON →
library1.43.0pypypi✓ verified 23d ago

mypy-boto3-internetmonitor provides comprehensive type annotations for the boto3 CloudWatch Internet Monitor service (version 1.42.3). Generated with mypy-boto3-builder 8.12.0, these stubs enhance development with static type checking, improved code completion, and refactoring capabilities for boto3 users across various IDEs like VSCode, PyCharm, Emacs, and Sublime Text, and type checkers such as mypy and pyright. The library is actively maintained, with updates released in sync with boto3 versions.

pip install mypy-boto3-internetmonitor
INSTALL
IMPORT
SIG · MYPY-BOTO3-INTERNE
M
mypy-boto3-internetmonitor
type-stubspythonv1.43.0
Install
3.3s 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.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.910 runs
installs and imports cleanly · install 0.0s · import 0.000s · 19.7MB
glibc
py 3.103.910 runs
installs and imports cleanly · install 3.3s · import 0.000s · 20MB
18MB installed
● package 18MB
Code
Verified usage

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

InternetMonitorClient
from mypy_boto3_internetmonitor import InternetMonitorClient
from mypy_boto3_internetmonitor import InternetMonitorClient

Demonstrates how to obtain a type-hinted CloudWatch Internet Monitor client using boto3.session.client(). This enables full type checking and autocompletion for the client's methods and responses.

import boto3 from mypy_boto3_internetmonitor.client import InternetMonitorClient def get_internetmonitor_client() -> InternetMonitorClient: client: InternetMonitorClient = boto3.client("internetmonitor") return client # Example usage internetmonitor_client = get_internetmonitor_client() response = internetmonitor_client.list_monitors() print(f"Monitor summaries: {response.get('Monitors')}")
Debug
Known issues
breakingmypy-boto3-builder (which generates this package) removed support for Python 3.8 in version 8.12.0. If you are using `mypy-boto3-internetmonitor 1.42.3` or newer, Python 3.8 is no longer supported.
fix
Upgrade to Python 3.9 or newer.
affects: mypy-boto3-builder >= 8.12.0, mypy-boto3-internetmonitor >= 1.42.3
breakingThe project migrated to PEP 561 compliant packages with `mypy-boto3-builder 8.12.0`. This might affect how type checkers or build systems locate and use stub files if they relied on older, non-PEP 561 patterns.
fix
Ensure your type checker (e.g., mypy, pyright) and build tools are up-to-date and configured to correctly resolve PEP 561 packages. Typically, no manual fix is needed if using standard tools.
affects: mypy-boto3-builder >= 8.12.0, mypy-boto3-internetmonitor >= 1.42.3
breakingTypeDefs for packed method arguments now use shorter names, and conflicting TypeDef 'Extra' postfixes were moved to the end with `mypy-boto3-builder 8.9.0`. This could break existing type hints if you explicitly imported and used these TypeDefs by their old names.
fix
Review your code for explicit TypeDef imports and adjust names according to the new convention (e.g., `CreateDistributionRequestRequestTypeDef` to `CreateDistributionRequestTypeDef`).
affects: mypy-boto3-builder >= 8.9.0, mypy-boto3-internetmonitor >= 1.42.3
gotchaSome IDEs (e.g., VSCode, older PyCharm versions) may require explicit type annotations for `boto3.client()` or `session.client()` calls to provide full autocomplete and type checking, even if `mypy` or `pyright` can infer types implicitly. This is due to limitations in IDE language server support for complex overloads.
fix
Always explicitly type-hint the client object, e.g., `client: InternetMonitorClient = boto3.client("internetmonitor")`.
affects: All versions
gotchaWhen using `TYPE_CHECKING` for conditional imports to avoid runtime dependency on stubs, Pylint might report 'undefined variable' errors. This is a known issue with Pylint's handling of conditional typing.
fix
In non-`TYPE_CHECKING` blocks, set the type aliases to `object`, e.g., `if TYPE_CHECKING: from mypy_boto3_ec2 import EC2Client else: EC2Client = object`.
affects: All versions
Upgrade
Version history
1.43.0latest on PyPI · released Apr 29, 2026
Audit
Dependencies
boto3requiredProvides the runtime functionality that these stubs type-annotate.
Agent activity
10 hits · last 30 days
node
8
OpenAI (training)
1
Resources
mypy-boto3-internetmonitor — pip install mypy-boto3-internetmonitor · libregistry