AccountAccess module#
Index > AccountAccess
Auto-generated documentation for AccountAccess type annotations stubs module mypy-boto3-account-access.
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.43.69' mypy-boto3-builder - Select
boto3-stubsAWS SDK. - Add
AccountAccessservice. - 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 AccountAccess.
From PyPI with pip#
Install boto3-stubs for AccountAccess service.
# install with boto3 type annotations
python -m pip install 'boto3-stubs[account-access]'
# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'boto3-stubs-lite[account-access]'
# standalone installation
python -m pip install mypy-boto3-account-access
How to uninstall#
python -m pip uninstall -y mypy-boto3-account-access
Usage#
Code samples can be found in Examples.
AccountAccessClient#
Type annotations and code completion for boto3.client("account-access") as AccountAccessClient
boto3 documentation
# AccountAccessClient usage example
from boto3.session import Session
from mypy_boto3_account_access.client import AccountAccessClient
def get_client() -> AccountAccessClient:
return Session().client("account-access")
Paginators#
Type annotations and code completion for paginators
from boto3.client("account-access").get_paginator("...").
# ListApplicationsPaginator usage example
from boto3.session import Session
from mypy_boto3_account_access.paginator import ListApplicationsPaginator
def get_list_applications_paginator() -> ListApplicationsPaginator:
return Session().client("account-access").get_paginator("list_applications"))
Waiters#
Type annotations and code completion for waiters
from boto3.client("account-access").get_waiter("...").
# ApplicationActiveWaiter usage example
from boto3.session import Session
from mypy_boto3_account_access.waiter import ApplicationActiveWaiter
def get_application_active_waiter() -> ApplicationActiveWaiter:
return Session().client("account-access").get_waiter("application_active")
Literals#
Type annotations for literals used in methods and schema.
# ApplicationActiveWaiterName usage example
from mypy_boto3_account_access.literals import ApplicationActiveWaiterName
def get_value() -> ApplicationActiveWaiterName:
return "application_active"
- ApplicationActiveWaiterName
- ErrorCodeType
- ListApplicationsPaginatorName
- ListEntitlementsPaginatorName
- StatusType
- AccountAccessServiceName
- ServiceName
- ResourceServiceName
- PaginatorName
- WaiterName
Type definitions#
Type annotations for type definitions used in methods and schema.
- ApplicationSummaryTypeDef
- ResponseMetadataTypeDef
- DeleteApplicationRequestTypeDef
- DeleteEntitlementRequestTypeDef
- ErrorDetailsTypeDef
- GetApplicationRequestTypeDef
- WaiterConfigTypeDef
- GetEntitlementRequestTypeDef
- IdentityCenterDetailsTypeDef
- IdentityCenterPrincipalFilterTypeDef
- IdentityCenterPrincipalTypeDef
- IdentityCenterTypeDef
- PaginatorConfigTypeDef
- ListApplicationsRequestTypeDef
- ListTagsForResourceRequestTypeDef
- TagResourceRequestTypeDef
- UntagResourceRequestTypeDef
- CreateApplicationResponseTypeDef
- CreateEntitlementResponseTypeDef
- ListApplicationsResponseTypeDef
- ListTagsForResourceResponseTypeDef
- GetApplicationRequestWaitTypeDef
- IdentitySourceDetailsTypeDef
- PrincipalFilterTypeDef
- PrincipalTypeDef
- IdentitySourceTypeDef
- ListApplicationsRequestPaginateTypeDef
- GetApplicationResponseTypeDef
- PrincipalRoleEntitlementFilterTypeDef
- PrincipalRoleEntitlementDetailsTypeDef
- PrincipalRoleEntitlementSummaryTypeDef
- PrincipalRoleEntitlementTypeDef
- CreateApplicationRequestTypeDef
- EntitlementFilterTypeDef
- EntitlementDetailsTypeDef
- EntitlementSummaryTypeDef
- EntitlementTypeDef
- ListEntitlementsRequestPaginateTypeDef
- ListEntitlementsRequestTypeDef
- GetEntitlementResponseTypeDef
- EntitlementsListMemberTypeDef
- CreateEntitlementRequestTypeDef
- ListEntitlementsResponseTypeDef