Skip to main content

Type annotations for boto3.SSOAdmin 1.17.99 service, generated by mypy-boto3-buider 4.18.4

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.99 service compatible with VSCode, PyCharm, Emacs, Sublime Text, mypy, pyright and other tools.

Generated by mypy-boto3-buider 4.18.4.

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.99.tar.gz (13.3 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.99-py3-none-any.whl (19.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mypy-boto3-sso-admin-1.17.99.tar.gz
Algorithm Hash digest
SHA256 2764707e96be5cc04f04016c089b1448ab8a568447b4ae94ceaa8acb955867f3
MD5 9f5f8874222c3162cb7211e2d3dad022
BLAKE2b-256 892286d85591b1dd44df6032716abb50eed5c66d00f21747b1312493859d8aba

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for mypy_boto3_sso_admin-1.17.99-py3-none-any.whl
Algorithm Hash digest
SHA256 8e756e504947aa6aba4dace815a0cedecf0e895c13709f2d86dcc1a6fe0537f3
MD5 e220315d71c8eef5127224aaa761dc1d
BLAKE2b-256 9550318a6760c46ffea5417114460fe8271440ad970a0c118db40845d4240f97

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