DataAutomationforBedrock module#
Index > DataAutomationforBedrock
Auto-generated documentation for DataAutomationforBedrock type annotations stubs module mypy-boto3-bedrock-data-automation.
How to install#
Generate locally (recommended)#
You can generate type annotations for boto3
package locally with mypy_boto3_builder
.
Use uv for build isolation.
- Run mypy-boto3-builder in your package root directory:
uvx --with 'boto3==1.35.97' mypy_boto3_builder
- Select
boto3-stubs
AWS SDK. - Add
DataAutomationforBedrock
service. - Use provided commands to install generated packages.
VSCode extension#
Add AWS Boto3
extension to your VSCode and run AWS boto3: Quick Start
command.
Click Modify
and select boto3 common
and DataAutomationforBedrock
.
From PyPI with pip#
Install boto3-stubs
for DataAutomationforBedrock
service.
# install with boto3 type annotations
python -m pip install 'boto3-stubs[bedrock-data-automation]'
# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'boto3-stubs-lite[bedrock-data-automation]'
# standalone installation
python -m pip install mypy-boto3-bedrock-data-automation
How to uninstall#
python -m pip uninstall -y mypy-boto3-bedrock-data-automation
Usage#
Code samples can be found in Examples.
DataAutomationforBedrockClient#
Type annotations and code completion for boto3.client("bedrock-data-automation")
as DataAutomationforBedrockClient
boto3 documentation
# DataAutomationforBedrockClient usage example
from boto3.session import Session
from mypy_boto3_bedrock_data_automation.client import DataAutomationforBedrockClient
def get_client() -> DataAutomationforBedrockClient:
return Session().client("bedrock-data-automation")
Paginators#
Type annotations and code completion for paginators
from boto3.client("bedrock-data-automation").get_paginator("...")
.
# ListBlueprintsPaginator usage example
from boto3.session import Session
from mypy_boto3_bedrock_data_automation.paginator import ListBlueprintsPaginator
def get_list_blueprints_paginator() -> ListBlueprintsPaginator:
return Session().client("bedrock-data-automation").get_paginator("list_blueprints"))
Literals#
Type annotations for literals used in methods and schema.
# AudioExtractionCategoryTypeType usage example
from mypy_boto3_bedrock_data_automation.literals import AudioExtractionCategoryTypeType
def get_value() -> AudioExtractionCategoryTypeType:
return "AUDIO_CONTENT_MODERATION"