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-aioboto3 for ServerlessApplicationRepository service.

# install with aioboto3 type annotations
python -m pip install 'types-aioboto3[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-aioboto3-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.client("serverlessrepo") as ServerlessApplicationRepositoryClient boto3 documentation

Usage example
from aioboto3.session import Session

from types_aiobotocore_serverlessrepo.client import ServerlessApplicationRepositoryClient


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

Paginators

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

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.

Usage example
from types_aiobotocore_serverlessrepo.literals import CapabilityType

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

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from types_aiobotocore_serverlessrepo.type_defs import ApplicationDependencySummaryTypeDef

def get_value() -> ApplicationDependencySummaryTypeDef:
    return {
        "ApplicationId": ...,
        "SemanticVersion": ...,
    }