Skip to content

Schemas module#

Index > Schemas

Auto-generated documentation for Schemas type annotations stubs module mypy-boto3-schemas.

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

From PyPI with pip#

Install boto3-stubs for Schemas service.

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


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


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

How to uninstall#

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

Usage#

Code samples can be found in Examples.

SchemasClient#

Type annotations and code completion for boto3.client("schemas") as SchemasClient boto3 documentation

# SchemasClient usage example

from boto3.session import Session

from mypy_boto3_schemas.client import SchemasClient

def get_client() -> SchemasClient:
    return Session().client("schemas")

Paginators#

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

# ListDiscoverersPaginator usage example

from boto3.session import Session

from mypy_boto3_schemas.paginator import ListDiscoverersPaginator

def get_list_discoverers_paginator() -> ListDiscoverersPaginator:
    return Session().client("schemas").get_paginator("list_discoverers"))

Waiters#

Type annotations and code completion for waiters from boto3.client("schemas").get_waiter("...").

# CodeBindingExistsWaiter usage example

from boto3.session import Session

from mypy_boto3_schemas.waiter import CodeBindingExistsWaiter

def get_code_binding_exists_waiter() -> CodeBindingExistsWaiter:
    return Session().client("schemas").get_waiter("code_binding_exists")

Literals#

Type annotations for literals used in methods and schema.

# CodeBindingExistsWaiterName usage example

from mypy_boto3_schemas.literals import CodeBindingExistsWaiterName

def get_value() -> CodeBindingExistsWaiterName:
    return "code_binding_exists"

Type definitions#

Type annotations for type definitions used in methods and schema.