Type annotations (PEP 561 stubs) for the boto3 client of the AWS Transform Agentic service.
Install this alongside boto3 and your type checker (mypy, pyright, Pylance) and IDE will give you full autocomplete and type checking on calls to the AWS Transform Agentic service client — method signatures, request/response shapes, and paginators.
pip install agent-builder-types-aws-transformNo import or code change required. Once installed, your type checker picks up the stubs automatically:
import boto3
# Your IDE now knows the full shape of this client.
client = boto3.client("transformagenticservice")
# Autocomplete works on method names and arguments.
response = client.list_agents(...)For explicit annotations, you can import type defs directly:
from agent_builder_types import TransformAgenticServiceClient
from agent_builder_types.type_defs import GetAgentInstanceResponseTypeDef
client: TransformAgenticServiceClient = boto3.client("transformagenticservice")
response: GetAgentInstanceResponseTypeDef = client.get_agent_instance(...)If the service model (service-2.json) is updated, regenerate stubs:
pip install mypy-boto3-builder
python scripts/generate_stubs.py --model ../sdk/src/agent_builder_sdk/botocore_models/transformagenticservice/2018-05-10/service-2.jsonValidate that current stubs match the model (useful in CI):
python scripts/generate_stubs.py --model ../sdk/src/agent_builder_sdk/botocore_models/transformagenticservice/2018-05-10/service-2.json --validate- Python 3.11+
boto3 >= 1.28
Apache-2.0. See LICENSE and THIRD-PARTY-NOTICES.txt.