ControlTower module#
Index > ControlTower
Auto-generated documentation for ControlTower type annotations stubs module types-aiobotocore-controltower.
How to install#
From PyPI with pip#
Install types-aiobotocore
for ControlTower
service.
# install with aiobotocore type annotations
python -m pip install 'types-aiobotocore[controltower]'
# 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[controltower]'
# standalone installation
python -m pip install types-aiobotocore-controltower
How to uninstall#
python -m pip uninstall -y types-aiobotocore-controltower
Usage#
Code samples can be found in Examples.
ControlTowerClient#
Type annotations and code completion for session.create_client("controltower")
as ControlTowerClient
boto3 documentation
# ControlTowerClient usage example
from aiobotocore.session import get_session
from types_aiobotocore_controltower.client import ControlTowerClient
session = get_session()
async with session.create_client("controltower") as client:
client: ControlTowerClient
Paginators#
Type annotations and code completion for
paginators
from session.create_client("controltower").get_paginator("...")
.
# ListEnabledControlsPaginator usage example
from types_aiobotocore_controltower.paginator import ListEnabledControlsPaginator
def get_list_enabled_controls_paginator() -> ListEnabledControlsPaginator:
return client.get_paginator("list_enabled_controls"))
Literals#
Type annotations for literals used in methods and schema.
# ControlOperationStatusType usage example
from types_aiobotocore_controltower.literals import ControlOperationStatusType
def get_value() -> ControlOperationStatusType:
return "FAILED"
- ControlOperationStatusType
- ControlOperationTypeType
- ListEnabledControlsPaginatorName
- ControlTowerServiceName
- ServiceName
- ResourceServiceName
- PaginatorName
- RegionName
Type definitions#
Type annotations for type definitions used in methods and schema.
- ControlOperationTypeDef
- DisableControlInputRequestTypeDef
- ResponseMetadataTypeDef
- EnableControlInputRequestTypeDef
- EnabledControlSummaryTypeDef
- GetControlOperationInputRequestTypeDef
- PaginatorConfigTypeDef
- ListEnabledControlsInputRequestTypeDef
- DisableControlOutputTypeDef
- EnableControlOutputTypeDef
- GetControlOperationOutputTypeDef
- ListEnabledControlsOutputTypeDef
- ListEnabledControlsInputListEnabledControlsPaginateTypeDef