Skip to content

Interconnect module#

Index > Interconnect

Auto-generated documentation for Interconnect type annotations stubs module types-aiobotocore-interconnect.

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==3.7.0' mypy-boto3-builder
  2. Select aiobotocore AWS SDK.
  3. Add Interconnect service.
  4. Use provided commands to install generated packages.

From PyPI with pip#

Install types-aiobotocore for Interconnect service.

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

# 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[interconnect]'

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

How to uninstall#

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

Usage#

Code samples can be found in Examples.

InterconnectClient#

Type annotations and code completion for session.create_client("interconnect") as InterconnectClient boto3 documentation

# InterconnectClient usage example

from aiobotocore.session import get_session

from types_aiobotocore_interconnect.client import InterconnectClient


session = get_session()
async with session.create_client("interconnect") as client:
    client: InterconnectClient

Paginators#

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

# ListAttachPointsPaginator usage example

from types_aiobotocore_interconnect.paginator import ListAttachPointsPaginator

def get_list_attach_points_paginator() -> ListAttachPointsPaginator:
    return client.get_paginator("list_attach_points"))

Waiters#

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

# ConnectionAvailableWaiter usage example

from types_aiobotocore_interconnect.waiter import ConnectionAvailableWaiter

def get_connection_available_waiter() -> ConnectionAvailableWaiter:
    return Session().client("interconnect").get_waiter("connection_available")

Literals#

Type annotations for literals used in methods and schema.

# AttachPointTypeType usage example

from types_aiobotocore_interconnect.literals import AttachPointTypeType

def get_value() -> AttachPointTypeType:
    return "DirectConnectGateway"

Type definitions#

Type annotations for type definitions used in methods and schema.