Skip to content

B2BI module#

Index > B2BI

Auto-generated documentation for B2BI type annotations stubs module types-aiobotocore-b2bi.

How to install#

You can generate type annotations for aiobotocore package locally with mypy-boto3-builder. Use uv for build isolation.

  1. Run mypy-boto3-builder in your package root directory: uvx --with 'aiobotocore==2.25.0' mypy-boto3-builder
  2. Select aiobotocore AWS SDK.
  3. Add B2BI service.
  4. Use provided commands to install generated packages.

From PyPI with pip#

Install types-aiobotocore for B2BI service.

# install with aiobotocore type annotations
python -m pip install 'types-aiobotocore[b2bi]'

# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'types-aiobotocore-lite[b2bi]'

# standalone installation
python -m pip install types-aiobotocore-b2bi

How to uninstall#

python -m pip uninstall -y types-aiobotocore-b2bi

Usage#

Code samples can be found in Examples.

B2BIClient#

Type annotations and code completion for session.create_client("b2bi") as B2BIClient boto3 documentation

# B2BIClient usage example

from aiobotocore.session import get_session

from types_aiobotocore_b2bi.client import B2BIClient


session = get_session()
async with session.create_client("b2bi") as client:
    client: B2BIClient

Paginators#

Type annotations and code completion for paginators from session.create_client("b2bi").get_paginator("...").

# ListCapabilitiesPaginator usage example

from types_aiobotocore_b2bi.paginator import ListCapabilitiesPaginator

def get_list_capabilities_paginator() -> ListCapabilitiesPaginator:
    return client.get_paginator("list_capabilities"))

Waiters#

Type annotations and code completion for waiters from session.create_client("b2bi").get_waiter("...").

# TransformerJobSucceededWaiter usage example

from types_aiobotocore_b2bi.waiter import TransformerJobSucceededWaiter

def get_transformer_job_succeeded_waiter() -> TransformerJobSucceededWaiter:
    return Session().client("b2bi").get_waiter("transformer_job_succeeded")

Literals#

Type annotations for literals used in methods and schema.

# CapabilityDirectionType usage example

from types_aiobotocore_b2bi.literals import CapabilityDirectionType

def get_value() -> CapabilityDirectionType:
    return "INBOUND"

Type definitions#

Type annotations for type definitions used in methods and schema.