Skip to content

ServerlessApplicationRepository module#

Index > ServerlessApplicationRepository

Auto-generated documentation for ServerlessApplicationRepository type annotations stubs module types-aiobotocore-serverlessrepo.

How to install#

From PyPI with pip#

Install types-aiobotocore for ServerlessApplicationRepository service.

# install with aiobotocore type annotations
python -m pip install 'types-aiobotocore[serverlessrepo]'


# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'types-aiobotocore-lite[serverlessrepo]'


# standalone installation
python -m pip install types-aiobotocore-serverlessrepo

How to uninstall#

python -m pip uninstall -y types-aiobotocore-serverlessrepo

Usage#

Code samples can be found in Examples.

ServerlessApplicationRepositoryClient#

Type annotations and code completion for session.create_client("serverlessrepo") as ServerlessApplicationRepositoryClient boto3 documentation

# ServerlessApplicationRepositoryClient usage example

from aiobotocore.session import get_session

from types_aiobotocore_serverlessrepo.client import ServerlessApplicationRepositoryClient


session = get_session()
async with session.create_client("serverlessrepo") as client:
    client: ServerlessApplicationRepositoryClient

Paginators#

Type annotations and code completion for paginators from session.create_client("serverlessrepo").get_paginator("...").

# ListApplicationDependenciesPaginator usage example

from types_aiobotocore_serverlessrepo.paginator import ListApplicationDependenciesPaginator

def get_list_application_dependencies_paginator() -> ListApplicationDependenciesPaginator:
    return client.get_paginator("list_application_dependencies"))

Literals#

Type annotations for literals used in methods and schema.

# CapabilityType usage example

from types_aiobotocore_serverlessrepo.literals import CapabilityType

def get_value() -> CapabilityType:
    return "CAPABILITY_AUTO_EXPAND"

Type definitions#

Type annotations for type definitions used in methods and schema.