{"id":3561,"library":"mypy-boto3-bedrock-data-automation-runtime","title":"Type Annotations for boto3 Runtime for Bedrock Data Automation","description":"mypy-boto3-bedrock-data-automation-runtime provides type annotations for the `boto3` AWS SDK, specifically for the `RuntimeforBedrockDataAutomation` service, ensuring type safety and improved IDE auto-completion. It is part of the `mypy-boto3-builder` ecosystem, currently at version 1.42.44, and follows a frequent release cadence, often synchronizing with `boto3` updates to provide up-to-date type information.","status":"active","version":"1.42.44","language":"python","source_language":"en","source_url":"https://github.com/youtype/mypy_boto3_builder","tags":["boto3","aws","bedrock","type-hints","mypy","stubs","automation","generative-ai"],"install":[{"cmd":"pip install mypy-boto3-bedrock-data-automation-runtime","lang":"bash","label":"Standalone package"},{"cmd":"pip install 'boto3-stubs[bedrock-data-automation-runtime]'","lang":"bash","label":"As part of boto3-stubs"}],"dependencies":[{"reason":"This library provides type stubs for the `boto3` AWS SDK. `boto3` is required at runtime to execute AWS operations.","package":"boto3","optional":false},{"reason":"Often a transitive dependency for advanced type hints, especially on older Python versions.","package":"typing-extensions","optional":true}],"imports":[{"wrong":"from mypy_boto3_bedrock_data_automation_runtime import RuntimeforBedrockDataAutomationClient","symbol":"RuntimeforBedrockDataAutomationClient","correct":"from mypy_boto3_bedrock_data_automation_runtime import RuntimeforBedrockDataAutomationClient"}],"quickstart":{"code":"import boto3\nfrom mypy_boto3_bedrock_data_automation_runtime.client import RuntimeforBedrockDataAutomationClient\nfrom os import environ\n\ndef get_bedrock_data_automation_runtime_client() -> RuntimeforBedrockDataAutomationClient:\n    \"\"\"\n    Initializes and returns a typed Bedrock Data Automation Runtime client.\n    \"\"\"\n    # Using environment variables for AWS credentials is a common practice\n    # and makes the example runnable without hardcoding.\n    # In a real application, boto3 will automatically look for credentials\n    # in various locations (e.g., ~/.aws/credentials, IAM roles).\n    aws_access_key_id = environ.get('AWS_ACCESS_KEY_ID', 'YOUR_ACCESS_KEY')\n    aws_secret_access_key = environ.get('AWS_SECRET_ACCESS_KEY', 'YOUR_SECRET_KEY')\n    aws_region = environ.get('AWS_REGION', 'us-east-1')\n\n    # The actual boto3 client is untyped; mypy-boto3 provides the type hint.\n    client: RuntimeforBedrockDataAutomationClient = boto3.client(\n        \"bedrock-data-automation-runtime\",\n        region_name=aws_region,\n        aws_access_key_id=aws_access_key_id,\n        aws_secret_access_key=aws_secret_access_key\n    )\n    return client\n\nif __name__ == \"__main__\":\n    bedrock_data_automation_client = get_bedrock_data_automation_runtime_client()\n    print(f\"Successfully created Bedrock Data Automation Runtime client: {bedrock_data_automation_client}\")\n\n    # Example of calling a method (requires a valid resourceARN for actual execution)\n    # This demonstrates type-checked interaction with the client.\n    # In a real application, consult AWS Bedrock Data Automation Runtime API docs for valid operations.\n    try:\n        # Replace with a real resource ARN if you want to run this successfully\n        response = bedrock_data_automation_client.list_tags_for_resource(resourceARN=\"arn:aws:bedrock:us-east-1:123456789012:data-automation/example\")\n        print(\"list_tags_for_resource call successful:\")\n        print(response)\n    except Exception as e:\n        print(f\"Caught exception during list_tags_for_resource call (expected if ARN is not real): {e}\")","lang":"python","description":"This quickstart demonstrates how to initialize a type-hinted client for the Bedrock Data Automation Runtime service using `boto3` and its corresponding `mypy-boto3` stubs. It includes a placeholder for calling a common operation like `list_tags_for_resource`, highlighting how type checking enhances development."},"warnings":[{"fix":"Upgrade your Python environment to 3.9 or higher.","message":"Support for Python 3.8 has been removed for all `mypy-boto3-builder` generated packages, including this one, starting with `mypy-boto3-builder` version 8.12.0. The minimum required Python version is now 3.9.","severity":"breaking","affected_versions":">=8.12.0 (mypy-boto3-builder)"},{"fix":"Ensure your project's `pyproject.toml` and packaging tools are compatible with PEP 561 standards. Most users installing via `pip` should not experience issues.","message":"The `mypy-boto3-builder` migrated to PEP 561 compliant packages in version 8.12.0. While largely internal, this may affect custom build systems or environments that relied on previous packaging structures.","severity":"breaking","affected_versions":">=8.12.0 (mypy-boto3-builder)"},{"fix":"Review the changelog for `mypy-boto3-builder` and service-specific stubs after updates, and adjust TypeDef imports/usage as necessary.","message":"TypeDef naming conventions can change between major `mypy-boto3-builder` versions. For example, `CreateDistributionRequestRequestTypeDef` became `CreateDistributionRequestTypeDef`. While this specific change affects the CloudFront service, it's indicative of potential similar changes across other services including Bedrock Data Automation Runtime.","severity":"breaking","affected_versions":">=8.9.0 (mypy-boto3-builder)"},{"fix":"Ensure `boto3` is installed in your environment: `pip install boto3`.","message":"This package provides *only* type annotations. It does not include the `boto3` library itself. `boto3` must be installed separately in your project for the code to run at runtime.","severity":"gotcha","affected_versions":"All versions"},{"fix":"Consider using `boto3-stubs-lite` (if its limitations are acceptable), or disable PyCharm's internal type checker and rely on external tools like `mypy` or `pyright`.","message":"PyCharm may experience slow performance or high CPU usage when dealing with `Literal` overloads in `mypy-boto3` packages. This is a known issue (PY-40997) within PyCharm.","severity":"gotcha","affected_versions":"All versions with PyCharm"},{"fix":"Always keep your `mypy-boto3` packages updated to benefit from the latest type definition fixes and improvements.","message":"A specific fix for `ToolUseTypeType` literal was applied for the `bedrock-runtime` service in `mypy-boto3-builder` 8.12.0. While this package is for `bedrock-data-automation-runtime`, similar service-specific literal typing issues might appear or have been fixed in past versions, requiring updates.","severity":"gotcha","affected_versions":"Potentially pre-8.12.0 for related Bedrock services"}],"env_vars":null,"search_vec":"'1.42.44':52 'ai':83 'annot':2,19 'auto':37 'auto-complet':36 'autom':9,15,80 'aw':23,73 'bedrock':7,13,74 'boto3':4,12,22,46,62,72 'builder':47 'cadenc':58 'complet':38 'current':49 'data':8,14 'date':69 'ecosystem':48 'ensur':30 'follow':54 'frequent':56 'generat':82 'generative-ai':81 'hint':77 'ide':35 'improv':34 'inform':71 'mypi':11,45,78 'mypy-boto3-bedrock-data-automation-runtime':10 'mypy-boto3-builder':44 'often':59 'part':41 'provid':17,65 'releas':57 'runtim':5,16 'runtimeforbedrockdataautom':28 'safeti':32 'sdk':24 'servic':29 'specif':25 'stub':79 'synchron':60 'type':1,18,31,70,76 'type-hint':75 'up-to-d':66 'updat':63 'version':51","created_at":"2026-04-11T17:34:51.779250+00:00","updated_at":"2026-04-16T16:47:58.149037+00:00","problems":{"verify_error":"Traceback (most recent call last):\n  File \"<string>\", line 1, in <module>\n  File \"/tmp/tmpu72u3zn7/venv/lib/python3.12/site-packages/mypy_boto3_bedrock_data_automation_runtime/__init__.py\", line 22, in <module>\n    from .client import RuntimeforBedrockDataAutomationClient\n  File \"/tmp/tmpu72u3zn7/ve"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"1.43.0","cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/youtype/mypy_boto3_builder","docs":"https://youtype.github.io/boto3_stubs_docs/mypy_boto3_bedrock_data_automation_runtime/","changelog":null,"pypi":"https://pypi.org/project/mypy-boto3-bedrock-data-automation-runtime/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["type-stubs","aws","ai-ml"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-07-03","last_verified":"2026-08-29","next_check":"2026-07-10","install_tag":null}}