Skip to main content

Type annotations for boto3.SSOAdmin 1.17.75 service, generated by mypy-boto3-buider 4.13.1

Project description

mypy-boto3-sso-admin

PyPI - mypy-boto3-sso-admin PyPI - Python Version Docs PyPI - Downloads

boto3.typed

Type annotations for boto3.SSOAdmin 1.17.75 service compatible with VSCode, PyCharm, Emacs, Sublime Text, mypy, pyright and other tools.

Generated by mypy-boto3-buider 4.13.1.

More information can be found on boto3-stubs page and in mypy-boto3-sso-admin docs

See how it helps to find and fix potential bugs:

boto3-stubs demo

How to install

Install boto3-stubs for SSOAdmin service.

python -m pip install boto3-stubs[sso-admin]

Usage

VSCode

  • Install Python extension
  • Install Pylance extension
  • Set Pylance as your Python Language Server
  • Install boto-stubs[sso-admin] in your environment: python -m pip install 'boto3-stubs[sso-admin]'

Both type checking and auto-complete should work for SSOAdmin service. No explicit type annotations required, write your boto3 code as usual.

PyCharm

  • Install boto-stubs[sso-admin] in your environment: python -m pip install 'boto3-stubs[sso-admin]'

Both type checking and auto-complete should work for SSOAdmin service. No explicit type annotations required, write your boto3 code as usual. Auto-complete can be slow on big projects or if you have a lot of installed boto3-stubs submodules.

Other IDEs

Not tested, but as long as your IDE support mypy or pyright, everything should work.

mypy

  • Install mypy: python -m pip install mypy
  • Install boto-stubs[sso-admin] in your environment: python -m pip install 'boto3-stubs[sso-admin]'
  • Run mypy as usual

Type checking should work for SSOAdmin service. No explicit type annotations required, write your boto3 code as usual.

pyright

  • Install pyright: yarn global add pyright
  • Install boto-stubs[sso-admin] in your environment: python -m pip install 'boto3-stubs[sso-admin]'
  • Optionally, you can install boto3-stubs to typings folder.

Type checking should work for SSOAdmin service. No explicit type annotations required, write your boto3 code as usual.

Explicit type annotations

Client annotations

SSOAdminClient provides annotations for boto3.client("sso-admin").

import boto3

from mypy_boto3_sso_admin import SSOAdminClient

client: SSOAdminClient = boto3.client("sso-admin")

# now client usage is checked by mypy and IDE should provide code auto-complete

# works for session as well
session = boto3.session.Session(region="us-west-1")
session_client: SSOAdminClient = session.client("sso-admin")

Paginators annotations

mypy_boto3_sso_admin.paginator module contains type annotations for all paginators.

from mypy_boto3_sso_admin import SSOAdminClient
from mypy_boto3_sso_admin.paginator import (
    ListAccountAssignmentCreationStatusPaginator,
    ListAccountAssignmentDeletionStatusPaginator,
    ListAccountAssignmentsPaginator,
    ListAccountsForProvisionedPermissionSetPaginator,
    ListInstancesPaginator,
    ListManagedPoliciesInPermissionSetPaginator,
    ListPermissionSetProvisioningStatusPaginator,
    ListPermissionSetsPaginator,
    ListPermissionSetsProvisionedToAccountPaginator,
    ListTagsForResourcePaginator,
)

client: SSOAdminClient = boto3.client("sso-admin")

# Explicit type annotations are optional here
# Type should be correctly discovered by mypy and IDEs
# VSCode requires explicit type annotations
list_account_assignment_creation_status_paginator: ListAccountAssignmentCreationStatusPaginator = client.get_paginator("list_account_assignment_creation_status")
list_account_assignment_deletion_status_paginator: ListAccountAssignmentDeletionStatusPaginator = client.get_paginator("list_account_assignment_deletion_status")
list_account_assignments_paginator: ListAccountAssignmentsPaginator = client.get_paginator("list_account_assignments")
list_accounts_for_provisioned_permission_set_paginator: ListAccountsForProvisionedPermissionSetPaginator = client.get_paginator("list_accounts_for_provisioned_permission_set")
list_instances_paginator: ListInstancesPaginator = client.get_paginator("list_instances")
list_managed_policies_in_permission_set_paginator: ListManagedPoliciesInPermissionSetPaginator = client.get_paginator("list_managed_policies_in_permission_set")
list_permission_set_provisioning_status_paginator: ListPermissionSetProvisioningStatusPaginator = client.get_paginator("list_permission_set_provisioning_status")
list_permission_sets_paginator: ListPermissionSetsPaginator = client.get_paginator("list_permission_sets")
list_permission_sets_provisioned_to_account_paginator: ListPermissionSetsProvisionedToAccountPaginator = client.get_paginator("list_permission_sets_provisioned_to_account")
list_tags_for_resource_paginator: ListTagsForResourcePaginator = client.get_paginator("list_tags_for_resource")

Literals

mypy_boto3_sso_admin.literals module contains literals extracted from shapes that can be used in user code for type checking.

from mypy_boto3_sso_admin.literals import (
    InstanceAccessControlAttributeConfigurationStatusType,
    ListAccountAssignmentCreationStatusPaginatorName,
    ListAccountAssignmentDeletionStatusPaginatorName,
    ListAccountAssignmentsPaginatorName,
    ListAccountsForProvisionedPermissionSetPaginatorName,
    ListInstancesPaginatorName,
    ListManagedPoliciesInPermissionSetPaginatorName,
    ListPermissionSetProvisioningStatusPaginatorName,
    ListPermissionSetsPaginatorName,
    ListPermissionSetsProvisionedToAccountPaginatorName,
    ListTagsForResourcePaginatorName,
    PrincipalTypeType,
    ProvisionTargetTypeType,
    ProvisioningStatusType,
    StatusValuesType,
    TargetTypeType,
)

def check_value(value: InstanceAccessControlAttributeConfigurationStatusType) -> bool:
    ...

Typed dictionaries

mypy_boto3_sso_admin.type_defs module contains structures and shapes assembled to typed dictionaries for additional type checking.

from mypy_boto3_sso_admin.type_defs import (
    AccessControlAttributeTypeDef,
    AccessControlAttributeValueTypeDef,
    AccountAssignmentOperationStatusMetadataTypeDef,
    AccountAssignmentOperationStatusTypeDef,
    AccountAssignmentTypeDef,
    AttachedManagedPolicyTypeDef,
    CreateAccountAssignmentResponseTypeDef,
    CreatePermissionSetResponseTypeDef,
    DeleteAccountAssignmentResponseTypeDef,
    DescribeAccountAssignmentCreationStatusResponseTypeDef,
    DescribeAccountAssignmentDeletionStatusResponseTypeDef,
    DescribeInstanceAccessControlAttributeConfigurationResponseTypeDef,
    DescribePermissionSetProvisioningStatusResponseTypeDef,
    DescribePermissionSetResponseTypeDef,
    GetInlinePolicyForPermissionSetResponseTypeDef,
    InstanceAccessControlAttributeConfigurationTypeDef,
    InstanceMetadataTypeDef,
    ListAccountAssignmentCreationStatusResponseTypeDef,
    ListAccountAssignmentDeletionStatusResponseTypeDef,
    ListAccountAssignmentsResponseTypeDef,
    ListAccountsForProvisionedPermissionSetResponseTypeDef,
    ListInstancesResponseTypeDef,
    ListManagedPoliciesInPermissionSetResponseTypeDef,
    ListPermissionSetProvisioningStatusResponseTypeDef,
    ListPermissionSetsProvisionedToAccountResponseTypeDef,
    ListPermissionSetsResponseTypeDef,
    ListTagsForResourceResponseTypeDef,
    OperationStatusFilterTypeDef,
    PaginatorConfigTypeDef,
    PermissionSetProvisioningStatusMetadataTypeDef,
    PermissionSetProvisioningStatusTypeDef,
    PermissionSetTypeDef,
    ProvisionPermissionSetResponseTypeDef,
    TagTypeDef,
)

def get_structure() -> AccessControlAttributeTypeDef:
    return {
      ...
    }

Versioning

mypy-boto3-sso-admin version is the same as related boto3 version and follows PEP 440 format.

Documentation

All type annotations can be found in mypy-boto3-sso-admin docs

Support and contributing

This package is auto-generated. Please reports any bugs or request new features in mypy-boto3-builder repository.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mypy-boto3-sso-admin-1.17.75.tar.gz (13.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mypy_boto3_sso_admin-1.17.75-py3-none-any.whl (18.9 kB view details)

Uploaded Python 3

File details

Details for the file mypy-boto3-sso-admin-1.17.75.tar.gz.

File metadata

  • Download URL: mypy-boto3-sso-admin-1.17.75.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

File hashes

Hashes for mypy-boto3-sso-admin-1.17.75.tar.gz
Algorithm Hash digest
SHA256 fecb8c2bf0bcdb095906fd1a8217c7d366498fab9b26d43adc99adab5f8dc993
MD5 ecf9b0946624e01b171c87dadd890baa
BLAKE2b-256 07eaa586a1c175a94943bc117f6afe203cc43fdce3344a96206c3452446f0107

See more details on using hashes here.

File details

Details for the file mypy_boto3_sso_admin-1.17.75-py3-none-any.whl.

File metadata

  • Download URL: mypy_boto3_sso_admin-1.17.75-py3-none-any.whl
  • Upload date:
  • Size: 18.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

File hashes

Hashes for mypy_boto3_sso_admin-1.17.75-py3-none-any.whl
Algorithm Hash digest
SHA256 05735fbbded336aa53c51bf82d03b42712243fa809247917f923367e042bb2d5
MD5 0afad6b01df691e86c26593f286afd6e
BLAKE2b-256 fd95bb87f08bef8102074bcd56eafdaefe3c4264267fc2c010386eaa7e55276a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page