{"id":27489,"library":"types-aiobotocore-opensearchserverless","title":"types-aiobotocore-opensearchserverless","description":"Type annotations for aiobotocore OpenSearchServiceServerless 3.5.0 service, generated with mypy-boto3-builder 8.12.0. Provides static type checking support for the OpenSearch Serverless service in async boto3 applications. Currently at version 3.5.0, released with minor updates aligned to aiobotocore releases.","status":"active","version":"3.5.0","language":"python","source_language":"en","source_url":"https://github.com/youtype/mypy_boto3_builder","tags":["types","aiobotocore","opensearch-serverless","type-annotations","mypy"],"install":[{"cmd":"pip install types-aiobotocore[opensearchserverless]","lang":"bash","label":"Install with aiobotocore extra"}],"dependencies":[{"reason":"Required for type annotations in Python <3.11","package":"typing-extensions","optional":true}],"imports":[{"note":"Symbols are re-exported at package level; direct submodule import may break in future versions","wrong":"from types_aiobotocore_opensearchserverless.client import OpenSearchServerlessClient","symbol":"OpenSearchServerlessClient","correct":"from types_aiobotocore_opensearchserverless import OpenSearchServerlessClient"}],"quickstart":{"code":"import asyncio\nfrom types_aiobotocore_opensearchserverless import OpenSearchServerlessClient\n\nasync def main():\n    session = get_session()  # Assume aiobotocore AioSession\n    async with session.create_client('opensearchserverless', region_name='us-east-1') as client:\n        response = await client.list_collections()\n        print(response)\n\nasyncio.run(main())","lang":"python","description":"Basic async usage with OpenSearchServerlessClient type hints."},"warnings":[{"fix":"Update your type annotations to match new shorter names; run mypy to detect mismatches.","message":"Version 8.9.0 of the builder renamed many TypeDefs (e.g., CreateDistributionRequestRequestTypeDef -> CreateDistributionRequestTypeDef); existing type annotations may silently break.","severity":"breaking","affected_versions":">=3.5.0 (generated by builder >=8.9.0)"},{"fix":"Upgrade to Python 3.9 or later.","message":"Python 3.8 support removed in builder 8.12.0; this package now requires Python >=3.9.","severity":"breaking","affected_versions":">=3.5.0"},{"fix":"No action required for this service.","message":"The service 'sms-voice' is no longer supported; use 'pinpoint-sms-voice' instead. This does not directly affect opensearchserverless but indicates broader deprecations.","severity":"deprecated","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run 'pip install types-aiobotocore[opensearchserverless]'","cause":"Package not installed or misspelled.","error":"ModuleNotFoundError: No module named 'types_aiobotocore_opensearchserverless'"},{"fix":"Use 'from types_aiobotocore_opensearchserverless import OpenSearchServerlessClient' and ensure package is up to date.","cause":"Incorrect import path or package version mismatch.","error":"Cannot import name 'OpenSearchServerlessClient' from 'types_aiobotocore_opensearchserverless'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}