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

Usage#

Code samples can be found in Examples.

SSOAdminClient#

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")

Paginators#

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"))

Literals#

Type annotations for literals used in methods and schema.

# ApplicationStatusType usage example

from mypy_boto3_sso_admin.literals import ApplicationStatusType

def get_value() -> ApplicationStatusType:
    return "DISABLED"

Type definitions#

Type annotations for type definitions used in methods and schema.