SSO module
Index > SSO
Auto-generated documentation for SSO type annotations stubs module types-aiobotocore-sso.
How to install
From PyPI with pip
Install types-aioboto3
for SSO
service.
# install with aioboto3 type annotations
python -m pip install 'types-aioboto3[sso]'
# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'types-aioboto3-lite[sso]'
# standalone installation
python -m pip install types-aiobotocore-sso
How to uninstall
Usage
Code samples can be found in Examples.
SSOClient
Type annotations and code completion for session.client("sso")
as SSOClient
boto3 documentation
Usage example
from aioboto3.session import Session
from types_aiobotocore_sso.client import SSOClient
session = Session()
async with session.client("sso") as client:
client: SSOClient
Paginators
Type annotations and code completion for
paginators
from session.client("sso").get_paginator("...")
.
Usage example
from types_aiobotocore_sso.paginator import ListAccountRolesPaginator
def get_list_account_roles_paginator() -> ListAccountRolesPaginator:
return client.get_paginator("list_account_roles"))
Literals
Type annotations for literals used in methods and schema.
Usage example
from types_aiobotocore_sso.literals import ListAccountRolesPaginatorName
def get_value() -> ListAccountRolesPaginatorName:
return "list_account_roles"
- ListAccountRolesPaginatorName
- ListAccountsPaginatorName
- SSOServiceName
- ServiceName
- ResourceServiceName
- PaginatorName
- RegionName
Typed dictionaries
Type annotations for typed dictionaries used in methods and schema.
Usage example
from types_aiobotocore_sso.type_defs import AccountInfoTypeDef
def get_value() -> AccountInfoTypeDef:
return {
"accountId": ...,
}
- AccountInfoTypeDef
- ResponseMetadataTypeDef
- GetRoleCredentialsRequestRequestTypeDef
- RoleCredentialsTypeDef
- PaginatorConfigTypeDef
- ListAccountRolesRequestRequestTypeDef
- RoleInfoTypeDef
- ListAccountsRequestRequestTypeDef
- LogoutRequestRequestTypeDef
- EmptyResponseMetadataTypeDef
- ListAccountsResponseTypeDef
- GetRoleCredentialsResponseTypeDef
- ListAccountRolesRequestListAccountRolesPaginateTypeDef
- ListAccountsRequestListAccountsPaginateTypeDef
- ListAccountRolesResponseTypeDef