Skip to content

IdentityStore module#

Index > IdentityStore

Auto-generated documentation for IdentityStore type annotations stubs module mypy-boto3-identitystore.

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 IdentityStore.

From PyPI with pip#

Install boto3-stubs for IdentityStore service.

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

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

# standalone installation
python -m pip install mypy-boto3-identitystore

How to uninstall#

python -m pip uninstall -y mypy-boto3-identitystore


Code samples can be found in Examples.


Type annotations and code completion for boto3.client("identitystore") as IdentityStoreClient boto3 documentation

# IdentityStoreClient usage example

from boto3.session import Session

from mypy_boto3_identitystore.client import IdentityStoreClient

def get_client() -> IdentityStoreClient:
    return Session().client("identitystore")


Type annotations and code completion for paginators from boto3.client("identitystore").get_paginator("...").

# ListGroupMembershipsPaginator usage example

from boto3.session import Session

from mypy_boto3_identitystore.paginator import ListGroupMembershipsPaginator

def get_list_group_memberships_paginator() -> ListGroupMembershipsPaginator:
    return Session().client("identitystore").get_paginator("list_group_memberships"))


Type annotations for literals used in methods and schemas.

# ListGroupMembershipsForMemberPaginatorName usage example

from mypy_boto3_identitystore.literals import ListGroupMembershipsForMemberPaginatorName

def get_value() -> ListGroupMembershipsForMemberPaginatorName:
    return "list_group_memberships_for_member"

Typed dictionaries#

Type annotations for typed dictionaries used in methods and schema.

# AddressTypeDef usage example

from mypy_boto3_identitystore.type_defs import AddressTypeDef

def get_value() -> AddressTypeDef:
    return {
        "StreetAddress": ...,