{"library":"mypy-boto3-networkflowmonitor","title":"mypy-boto3-networkflowmonitor Type Stubs","description":"mypy-boto3-networkflowmonitor provides precise type annotations for the `boto3` client and resources related to the AWS NetworkFlowMonitor service. It ensures that `boto3` interactions are type-checked by tools like `mypy`, preventing common runtime errors. The current version is `1.42.3`, and new versions are frequently released in sync with `boto3`/`botocore` updates and `mypy-boto3-builder` enhancements.","language":"python","status":"active","last_verified":"Thu May 14","install":{"commands":["pip install mypy-boto3-networkflowmonitor boto3 mypy"],"cli":null},"imports":["from mypy_boto3_networkflowmonitor import NetworkFlowMonitorClient","from mypy_boto3_networkflowmonitor.type_defs import ListNetworkFlowMonitorsOutputTypeDef"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import boto3\nfrom mypy_boto3_networkflowmonitor import NetworkFlowMonitorClient\nfrom typing import TYPE_CHECKING\n\n# Only import TypeDefs if you need them for specific annotations\nif TYPE_CHECKING:\n    from mypy_boto3_networkflowmonitor.type_defs import (\n        ListNetworkFlowMonitorsOutputTypeDef,\n    )\n\ndef list_monitors():\n    # Instantiate the boto3 client, annotated with the stub type\n    client: NetworkFlowMonitorClient = boto3.client(\"network-flow-monitor\")\n\n    # The 'response' object will now have type hints based on the stub\n    # For a real scenario, you might add error handling.\n    response = client.list_network_flow_monitors()\n\n    print(f\"Found {len(response['NetworkFlowMonitorList'])} network flow monitors:\")\n    for monitor in response['NetworkFlowMonitorList']:\n        print(f\"  - ARN: {monitor['NetworkFlowMonitorArn']}, Status: {monitor['Status']}\")\n\nif __name__ == \"__main__\":\n    # Ensure AWS credentials are configured for boto3\n    # (e.g., via AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, or ~/.aws/credentials)\n    list_monitors()\n","lang":"python","description":"This quickstart demonstrates how to initialize a `boto3` client for NetworkFlowMonitor and use the type stubs for improved static analysis with `mypy`. After installing, run this code (ensure AWS credentials are set up for `boto3`) and then run `mypy your_script_name.py` to see the type checking in action.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":{"tag":null,"tag_description":null,"last_tested":"2026-05-14","installed_version":"1.43.0","pypi_latest":"1.43.0","is_stale":false,"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":5.7,"avg_import_s":0.61,"wheel_type":"wheel"},"results":[{"runtime":"python:3.10-alpine","python_version":"3.10","os_libc":"alpine (musl)","variant":"mypy-boto3-networkflowmonitor","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"clean","install_time_s":null,"import_time_s":0.53,"mem_mb":12.9,"disk_size":"114.7M"},{"runtime":"python:3.10-alpine","python_version":"3.10","os_libc":"alpine (musl)","variant":"mypy-boto3-networkflowmonitor","exit_code":0,"wheel_type":null,"failure_reason":null,"import_side_effects":null,"install_time_s":null,"import_time_s":0.66,"mem_mb":12.8,"disk_size":"109.8M"},{"runtime":"python:3.10-slim","python_version":"3.10","os_libc":"slim (glibc)","variant":"mypy-boto3-networkflowmonitor","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"clean","install_time_s":6.1,"import_time_s":0.43,"mem_mb":12.9,"disk_size":"113M"},{"runtime":"python:3.10-slim","python_version":"3.10","os_libc":"slim (glibc)","variant":"mypy-boto3-networkflowmonitor","exit_code":0,"wheel_type":null,"failure_reason":null,"import_side_effects":null,"install_time_s":null,"import_time_s":0.49,"mem_mb":12.8,"disk_size":"109M"},{"runtime":"python:3.11-alpine","python_version":"3.11","os_libc":"alpine (musl)","variant":"mypy-boto3-networkflowmonitor","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"clean","install_time_s":null,"import_time_s":0.73,"mem_mb":14.6,"disk_size":"120.9M"},{"runtime":"python:3.11-alpine","python_version":"3.11","os_libc":"alpine (musl)","variant":"mypy-boto3-networkflowmonitor","exit_code":0,"wheel_type":null,"failure_reason":null,"import_side_effects":null,"install_time_s":null,"import_time_s":0.87,"mem_mb":14.5,"disk_size":"115.8M"},{"runtime":"python:3.11-slim","python_version":"3.11","os_libc":"slim (glibc)","variant":"mypy-boto3-networkflowmonitor","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"clean","install_time_s":5.8,"import_time_s":0.65,"mem_mb":14.6,"disk_size":"120M"},{"runtime":"python:3.11-slim","python_version":"3.11","os_libc":"slim (glibc)","variant":"mypy-boto3-networkflowmonitor","exit_code":0,"wheel_type":null,"failure_reason":null,"import_side_effects":null,"install_time_s":null,"import_time_s":0.68,"mem_mb":14.5,"disk_size":"115M"},{"runtime":"python:3.12-alpine","python_version":"3.12","os_libc":"alpine (musl)","variant":"mypy-boto3-networkflowmonitor","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"clean","install_time_s":null,"import_time_s":0.62,"mem_mb":13.9,"disk_size":"112.6M"},{"runtime":"python:3.12-alpine","python_version":"3.12","os_libc":"alpine (musl)","variant":"mypy-boto3-networkflowmonitor","exit_code":0,"wheel_type":null,"failure_reason":null,"import_side_effects":null,"install_time_s":null,"import_time_s":0.72,"mem_mb":13.8,"disk_size":"107.4M"},{"runtime":"python:3.12-slim","python_version":"3.12","os_libc":"slim (glibc)","variant":"mypy-boto3-networkflowmonitor","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"clean","install_time_s":5,"import_time_s":0.63,"mem_mb":13.9,"disk_size":"111M"},{"runtime":"python:3.12-slim","python_version":"3.12","os_libc":"slim (glibc)","variant":"mypy-boto3-networkflowmonitor","exit_code":0,"wheel_type":null,"failure_reason":null,"import_side_effects":null,"install_time_s":null,"import_time_s":0.7,"mem_mb":13.8,"disk_size":"107M"},{"runtime":"python:3.13-alpine","python_version":"3.13","os_libc":"alpine (musl)","variant":"mypy-boto3-networkflowmonitor","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"clean","install_time_s":null,"import_time_s":0.58,"mem_mb":14.9,"disk_size":"112.4M"},{"runtime":"python:3.13-alpine","python_version":"3.13","os_libc":"alpine (musl)","variant":"mypy-boto3-networkflowmonitor","exit_code":0,"wheel_type":null,"failure_reason":null,"import_side_effects":null,"install_time_s":null,"import_time_s":0.69,"mem_mb":14.8,"disk_size":"107.2M"},{"runtime":"python:3.13-slim","python_version":"3.13","os_libc":"slim (glibc)","variant":"mypy-boto3-networkflowmonitor","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"clean","install_time_s":4.9,"import_time_s":0.63,"mem_mb":14.9,"disk_size":"111M"},{"runtime":"python:3.13-slim","python_version":"3.13","os_libc":"slim (glibc)","variant":"mypy-boto3-networkflowmonitor","exit_code":0,"wheel_type":null,"failure_reason":null,"import_side_effects":null,"install_time_s":null,"import_time_s":0.95,"mem_mb":14.8,"disk_size":"106M"},{"runtime":"python:3.9-alpine","python_version":"3.9","os_libc":"alpine (musl)","variant":"mypy-boto3-networkflowmonitor","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"clean","install_time_s":null,"import_time_s":0.45,"mem_mb":12.1,"disk_size":"106.2M"},{"runtime":"python:3.9-alpine","python_version":"3.9","os_libc":"alpine (musl)","variant":"mypy-boto3-networkflowmonitor","exit_code":0,"wheel_type":null,"failure_reason":null,"import_side_effects":null,"install_time_s":null,"import_time_s":0.45,"mem_mb":12.1,"disk_size":"105.5M"},{"runtime":"python:3.9-slim","python_version":"3.9","os_libc":"slim (glibc)","variant":"mypy-boto3-networkflowmonitor","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"clean","install_time_s":6.7,"import_time_s":0.41,"mem_mb":12.1,"disk_size":"105M"},{"runtime":"python:3.9-slim","python_version":"3.9","os_libc":"slim (glibc)","variant":"mypy-boto3-networkflowmonitor","exit_code":0,"wheel_type":null,"failure_reason":null,"import_side_effects":null,"install_time_s":null,"import_time_s":0.41,"mem_mb":12.1,"disk_size":"104M"}]}}