{"library":"mypy-boto3-simpledbv2","title":"mypy-boto3-simpledbv2","description":"mypy-boto3-simpledbv2 provides precise type annotations for the boto3 SimpleDBv2 client, enhancing type checking for AWS SDK usage. It is part of the `mypy-boto3` project, which generates stubs for all boto3 services. The current version is 1.42.66, and it updates frequently, typically in sync with `boto3` and `botocore` releases.","language":"python","status":"active","last_verified":"Sun May 17","install":{"commands":["pip install mypy-boto3-simpledbv2"],"cli":null},"imports":["from mypy_boto3_simpledbv2.client import SimpleDBv2Client","from mypy_boto3_simpledbv2.type_defs import CreateDomainRequestTypeDef","from botocore.exceptions import ClientError"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import boto3\nfrom mypy_boto3_simpledbv2.client import SimpleDBv2Client\nfrom botocore.exceptions import ClientError\n\ndef list_simpledb_domains():\n    \"\"\"Lists SimpleDB domains using a typed boto3 client.\"\"\"\n    try:\n        # Initialize a typed SimpleDBv2 client\n        client: SimpleDBv2Client = boto3.client(\"sdb\")\n\n        # List domains with type-hinted response\n        response = client.list_domains(MaxNumberOfDomains=10)\n        \n        print(f\"SimpleDB Domains: {response.get('DomainNames', [])}\")\n        if response.get(\"NextToken\"):\n            print(\"More domains available (use NextToken).\")\n\n    except ClientError as e:\n        print(f\"Error listing SimpleDB domains: {e}\")\n    except Exception as e:\n        print(f\"An unexpected error occurred: {e}\")\n\nif __name__ == \"__main__\":\n    # Ensure AWS credentials are configured (e.g., via environment variables, ~/.aws/credentials)\n    list_simpledb_domains()\n","lang":"python","description":"This quickstart demonstrates how to initialize a type-hinted SimpleDBv2 client and list available domains. The `mypy-boto3-simpledbv2` package provides the `SimpleDBv2Client` type, allowing static analysis tools like Mypy to verify your code against the AWS API.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":{"tag":null,"tag_description":null,"last_tested":"2026-05-17","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":1.5,"avg_import_s":null,"wheel_type":"wheel"},"results":[{"runtime":"python:3.10-alpine","python_version":"3.10","os_libc":"alpine (musl)","variant":"mypy-boto3-simpledbv2","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"broken","install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":"18.2M"},{"runtime":"python:3.10-slim","python_version":"3.10","os_libc":"slim (glibc)","variant":"mypy-boto3-simpledbv2","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"broken","install_time_s":1.6,"import_time_s":null,"mem_mb":null,"disk_size":"19M"},{"runtime":"python:3.11-alpine","python_version":"3.11","os_libc":"alpine (musl)","variant":"mypy-boto3-simpledbv2","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"broken","install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":"20.1M"},{"runtime":"python:3.11-slim","python_version":"3.11","os_libc":"slim (glibc)","variant":"mypy-boto3-simpledbv2","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"broken","install_time_s":1.6,"import_time_s":null,"mem_mb":null,"disk_size":"21M"},{"runtime":"python:3.12-alpine","python_version":"3.12","os_libc":"alpine (musl)","variant":"mypy-boto3-simpledbv2","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"broken","install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":"11.6M"},{"runtime":"python:3.12-slim","python_version":"3.12","os_libc":"slim (glibc)","variant":"mypy-boto3-simpledbv2","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"broken","install_time_s":1.4,"import_time_s":null,"mem_mb":null,"disk_size":"12M"},{"runtime":"python:3.13-alpine","python_version":"3.13","os_libc":"alpine (musl)","variant":"mypy-boto3-simpledbv2","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"broken","install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":"11.4M"},{"runtime":"python:3.13-slim","python_version":"3.13","os_libc":"slim (glibc)","variant":"mypy-boto3-simpledbv2","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"broken","install_time_s":1.4,"import_time_s":null,"mem_mb":null,"disk_size":"12M"},{"runtime":"python:3.9-alpine","python_version":"3.9","os_libc":"alpine (musl)","variant":"mypy-boto3-simpledbv2","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"broken","install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":"17.7M"},{"runtime":"python:3.9-slim","python_version":"3.9","os_libc":"slim (glibc)","variant":"mypy-boto3-simpledbv2","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"broken","install_time_s":1.7,"import_time_s":null,"mem_mb":null,"disk_size":"18M"}]}}