Skip to content

SSOAdmin module#

Index > SSOAdmin

Auto-generated documentation for SSOAdmin type annotations stubs module mypy-boto3-sso-admin.

How to install#

VSCode extension#

Add AWS Boto3 extension to your VSCode and run AWS boto3: Quick Start command.

Click Modify and select boto3 common and SSOAdmin.

From PyPI with pip#

Install boto3-stubs for SSOAdmin service.

# install with boto3 type annotations
python -m pip install 'boto3-stubs[sso-admin]'

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

# standalone installation
python -m pip install mypy-boto3-sso-admin

How to uninstall#

python -m pip uninstall -y mypy-boto3-sso-admin


Code samples can be found in Examples.


Type annotations and code completion for boto3.client("sso-admin") as SSOAdminClient boto3 documentation

# SSOAdminClient usage example

from boto3.session import Session

from mypy_boto3_sso_admin.client import SSOAdminClient

def get_client() -> SSOAdminClient:
    return Session().client("sso-admin")


Type annotations and code completion for paginators from boto3.client("sso-admin").get_paginator("...").

# ListAccountAssignmentCreationStatusPaginator usage example

from boto3.session import Session

from mypy_boto3_sso_admin.paginator import ListAccountAssignmentCreationStatusPaginator

def get_list_account_assignment_creation_status_paginator() -> ListAccountAssignmentCreationStatusPaginator:
    return Session().client("sso-admin").get_paginator("list_account_assignment_creation_status"))


Type annotations for literals used in methods and schemas.

# InstanceAccessControlAttributeConfigurationStatusType usage example

from mypy_boto3_sso_admin.literals import InstanceAccessControlAttributeConfigurationStatusType

def get_value() -> InstanceAccessControlAttributeConfigurationStatusType:
    return "CREATION_FAILED"

Typed dictionaries#

Type annotations for typed dictionaries used in methods and schema.

# AccessControlAttributeValueTypeDef usage example

from mypy_boto3_sso_admin.type_defs import AccessControlAttributeValueTypeDef

def get_value() -> AccessControlAttributeValueTypeDef:
    return {
        "Source": ...,