ControlTower module#
Index > ControlTower
Auto-generated documentation for ControlTower type annotations stubs module types-boto3-controltower.
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.86' mypy_boto3_builder
- Select
boto3
AWS SDK. - Add
ControlTower
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 ControlTower
.
From PyPI with pip#
Install types-boto3
for ControlTower
service.
# install with boto3 type annotations
python -m pip install 'types-boto3[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-boto3-lite[controltower]'
# standalone installation
python -m pip install types-boto3-controltower
How to uninstall#
python -m pip uninstall -y types-boto3-controltower
Usage#
Code samples can be found in Examples.
ControlTowerClient#
Type annotations and code completion for boto3.client("controltower")
as ControlTowerClient
boto3 documentation
# ControlTowerClient usage example
from boto3.session import Session
from types_boto3_controltower.client import ControlTowerClient
def get_client() -> ControlTowerClient:
return Session().client("controltower")
Paginators#
Type annotations and code completion for paginators
from boto3.client("controltower").get_paginator("...")
.
# ListBaselinesPaginator usage example
from boto3.session import Session
from types_boto3_controltower.paginator import ListBaselinesPaginator
def get_list_baselines_paginator() -> ListBaselinesPaginator:
return Session().client("controltower").get_paginator("list_baselines"))
- ListBaselinesPaginator
- ListControlOperationsPaginator
- ListEnabledBaselinesPaginator
- ListEnabledControlsPaginator
- ListLandingZoneOperationsPaginator
- ListLandingZonesPaginator
Literals#
Type annotations for literals used in methods and schema.
# BaselineOperationStatusType usage example
from types_boto3_controltower.literals import BaselineOperationStatusType
def get_value() -> BaselineOperationStatusType:
return "FAILED"
- BaselineOperationStatusType
- BaselineOperationTypeType
- ControlOperationStatusType
- ControlOperationTypeType
- DriftStatusType
- EnablementStatusType
- LandingZoneDriftStatusType
- LandingZoneOperationStatusType
- LandingZoneOperationTypeType
- LandingZoneStatusType
- ListBaselinesPaginatorName
- ListControlOperationsPaginatorName
- ListEnabledBaselinesPaginatorName
- ListEnabledControlsPaginatorName
- ListLandingZoneOperationsPaginatorName
- ListLandingZonesPaginatorName
- ControlTowerServiceName
- ServiceName
- ResourceServiceName
- PaginatorName
- RegionName
Type definitions#
Type annotations for type definitions used in methods and schema.
- BaselineOperationTypeDef
- BaselineSummaryTypeDef
- ControlOperationFilterTypeDef
- ControlOperationSummaryTypeDef
- ControlOperationTypeDef
- CreateLandingZoneInputRequestTypeDef
- ResponseMetadataTypeDef
- DeleteLandingZoneInputRequestTypeDef
- DisableBaselineInputRequestTypeDef
- DisableControlInputRequestTypeDef
- DriftStatusSummaryTypeDef
- EnabledBaselineParameterTypeDef
- EnabledControlParameterTypeDef
- EnabledBaselineParameterSummaryTypeDef
- EnablementStatusSummaryTypeDef
- EnabledBaselineFilterTypeDef
- EnabledControlParameterSummaryTypeDef
- RegionTypeDef
- EnabledControlFilterTypeDef
- GetBaselineInputRequestTypeDef
- GetBaselineOperationInputRequestTypeDef
- GetControlOperationInputRequestTypeDef
- GetEnabledBaselineInputRequestTypeDef
- GetEnabledControlInputRequestTypeDef
- GetLandingZoneInputRequestTypeDef
- GetLandingZoneOperationInputRequestTypeDef
- LandingZoneOperationDetailTypeDef
- LandingZoneDriftStatusSummaryTypeDef
- LandingZoneOperationFilterTypeDef
- LandingZoneOperationSummaryTypeDef
- LandingZoneSummaryTypeDef
- PaginatorConfigTypeDef
- ListBaselinesInputRequestTypeDef
- ListLandingZonesInputRequestTypeDef
- ListTagsForResourceInputRequestTypeDef
- ResetEnabledBaselineInputRequestTypeDef
- ResetEnabledControlInputRequestTypeDef
- ResetLandingZoneInputRequestTypeDef
- TagResourceInputRequestTypeDef
- UntagResourceInputRequestTypeDef
- UpdateLandingZoneInputRequestTypeDef
- ListControlOperationsInputRequestTypeDef
- CreateLandingZoneOutputTypeDef
- DeleteLandingZoneOutputTypeDef
- DisableBaselineOutputTypeDef
- DisableControlOutputTypeDef
- EnableBaselineOutputTypeDef
- EnableControlOutputTypeDef
- GetBaselineOperationOutputTypeDef
- GetBaselineOutputTypeDef
- GetControlOperationOutputTypeDef
- ListBaselinesOutputTypeDef
- ListControlOperationsOutputTypeDef
- ListTagsForResourceOutputTypeDef
- ResetEnabledBaselineOutputTypeDef
- ResetEnabledControlOutputTypeDef
- ResetLandingZoneOutputTypeDef
- UpdateEnabledBaselineOutputTypeDef
- UpdateEnabledControlOutputTypeDef
- UpdateLandingZoneOutputTypeDef
- EnableBaselineInputRequestTypeDef
- UpdateEnabledBaselineInputRequestTypeDef
- EnableControlInputRequestTypeDef
- UpdateEnabledControlInputRequestTypeDef
- EnabledBaselineDetailsTypeDef
- EnabledBaselineSummaryTypeDef
- EnabledControlSummaryTypeDef
- ListEnabledBaselinesInputRequestTypeDef
- EnabledControlDetailsTypeDef
- ListEnabledControlsInputRequestTypeDef
- GetLandingZoneOperationOutputTypeDef
- LandingZoneDetailTypeDef
- ListLandingZoneOperationsInputRequestTypeDef
- ListLandingZoneOperationsOutputTypeDef
- ListLandingZonesOutputTypeDef
- ListBaselinesInputPaginateTypeDef
- ListControlOperationsInputPaginateTypeDef
- ListEnabledBaselinesInputPaginateTypeDef
- ListEnabledControlsInputPaginateTypeDef
- ListLandingZoneOperationsInputPaginateTypeDef
- ListLandingZonesInputPaginateTypeDef
- GetEnabledBaselineOutputTypeDef
- ListEnabledBaselinesOutputTypeDef
- ListEnabledControlsOutputTypeDef
- GetEnabledControlOutputTypeDef
- GetLandingZoneOutputTypeDef