Registry / type-stubs / mypy-boto3-bedrock-data-automation

mypy-boto3-bedrock-data-automation

JSON →
library1.43.16pypypi✓ verified 22d ago

This library provides type annotations for the `boto3` AWS SDK, specifically for the Bedrock Data Automation service. It enables static type checking tools like `mypy` to validate interactions with the service, improving code quality and catching potential errors at development time. It is generated by the `mypy-boto3-builder` project and is frequently updated to align with `boto3` and AWS API changes. The current version is 1.42.82.

pip install mypy-boto3-bedrock-data-automation boto3
INSTALL
IMPORT
SIG · MYPY-BOTO3-BEDROCK
M
mypy-boto3-bedrock-data-automation
type-stubspythonv1.43.16
Install
3.8s avg
Import
Disk
50MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.43.16 · 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.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 52MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 3.8s · import 0.000s · 53MB
50MB installed
● package 50MB
Code
Verified usage

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

BedrockDataAutomationClient
from mypy_boto3_bedrock_data_automation.client import BedrockDataAutomationClient
ListDataAutomationJobsRequestRequestTypeDef
from mypy_boto3_bedrock_data_automation.type_defs import ListDataAutomationJobsRequestRequestTypeDef
DataAutomationJobSummaryTypeDef
from mypy_boto3_bedrock_data_automation.type_defs import DataAutomationJobSummaryTypeDef

This example demonstrates how to initialize a `boto3` client with `mypy-boto3-bedrock-data-automation` type hints and perform a simple API call (listing jobs). The `TYPE_CHECKING` block ensures type hints are only active during static analysis, avoiding runtime overhead. Replace `list_data_automation_jobs` with other service calls as needed.

import boto3 from mypy_boto3_bedrock_data_automation.client import BedrockDataAutomationClient from mypy_boto3_bedrock_data_automation.type_defs import ListDataAutomationJobsRequestRequestTypeDef from typing import TYPE_CHECKING import os # Ensure boto3 is configured, e.g., via AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_REGION_NAME env vars # Or configure a session explicitly: boto3.Session(region_name="us-east-1") if TYPE_CHECKING: client: BedrockDataAutomationClient = boto3.client("bedrock-data-automation") else: client = boto3.client("bedrock-data-automation") # Example: List data automation jobs try: print("Listing Bedrock Data Automation jobs...") response = client.list_data_automation_jobs() jobs = response.get("dataAutomationJobs", []) if jobs: print(f"Found {len(jobs)} jobs:") for job in jobs: print(f" Job ID: {job.get('jobId')}, Status: {job.get('status')}, Created: {job.get('creationTime')}") else: print("No Bedrock Data Automation jobs found.") except client.exceptions.ServiceException as e: print(f"AWS Service Error: {e.response['Error']['Code']} - {e.response['Error']['Message']}") except Exception as e: print(f"An unexpected error occurred: {e}")
Debug
Known issues
breakingStarting with `mypy-boto3-builder` version 8.12.0 (which generated `mypy-boto3-bedrock-data-automation` 1.42.82+), support for Python 3.8 has been removed. All generated stub packages now require Python 3.9 or newer.
fix
Upgrade your Python environment to version 3.9 or newer.
affects: mypy-boto3-bedrock-data-automation >= 1.42.82
breakingThe `mypy-boto3` family of packages, including this one, migrated to PEP 561 compliant packaging in builder version 8.12.0. While generally beneficial for stub discovery, this might affect custom tooling or build processes that relied on previous, non-standard stub packaging methods.
fix
Ensure your environment (IDE, build tools) correctly recognizes PEP 561 stubs. Re-evaluate any custom stub-locating configurations.
affects: mypy-boto3-bedrock-data-automation >= 1.42.82
gotchaThis package provides only type annotations. You must install `boto3` separately (`pip install boto3`) for the actual AWS SDK functionality at runtime. For optimal type checking, ensure your `mypy-boto3-bedrock-data-automation` version aligns with your `boto3` version (e.g., `boto3==1.28.x` with `mypy-boto3-bedrock-data-automation==1.28.x`).
fix
Install `boto3` and ensure its version roughly matches the `mypy-boto3-bedrock-data-automation` version number.
affects: All versions
breakingType definition names were shortened and conflicting names resolved in `mypy-boto3-builder` 8.9.0. If you explicitly imported `TypeDef` classes from older versions, their names might have changed (e.g., `CreateDistributionRequestRequestTypeDef` might become `CreateDistributionRequestTypeDef`).
fix
Review your `TypeDef` imports and update names according to the latest generated stubs if upgrading from an older package version.
affects: mypy-boto3-bedrock-data-automation >= 1.35.0 (corresponding to builder 8.9.0)
Upgrade
Version history
1.43.16latest on PyPI · released May 27, 2026
Audit
Dependencies
boto3requiredProvides the actual AWS SDK client that these stubs type-hint.
mypyoptionalThe static type checker that consumes these annotations. Not required at runtime.
Agent activity
32 hits · last 30 days
node
28
OpenAI (training)
1
Resources