Skip to content

ServiceCatalog module

Index > ServiceCatalog

Auto-generated documentation for ServiceCatalog type annotations stubs module types-aiobotocore-servicecatalog.

How to install

From PyPI with pip

Install types-aioboto3 for ServiceCatalog service.

# install with aioboto3 type annotations
python -m pip install 'types-aioboto3[servicecatalog]'


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


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

How to uninstall

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

Usage

Code samples can be found in Examples.

ServiceCatalogClient

Type annotations and code completion for session.client("servicecatalog") as ServiceCatalogClient boto3 documentation

Usage example
from aioboto3.session import Session

from types_aiobotocore_servicecatalog.client import ServiceCatalogClient


session = Session()
async with session.client("servicecatalog") as client:
    client: ServiceCatalogClient

Paginators

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

Usage example
from types_aiobotocore_servicecatalog.paginator import ListAcceptedPortfolioSharesPaginator

def get_list_accepted_portfolio_shares_paginator() -> ListAcceptedPortfolioSharesPaginator:
    return client.get_paginator("list_accepted_portfolio_shares"))

Literals

Type annotations for literals used in methods and schema.

Usage example
from types_aiobotocore_servicecatalog.literals import AccessLevelFilterKeyType

def get_value() -> AccessLevelFilterKeyType:
    return "Account"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from types_aiobotocore_servicecatalog.type_defs import AcceptPortfolioShareInputRequestTypeDef

def get_value() -> AcceptPortfolioShareInputRequestTypeDef:
    return {
        "PortfolioId": ...,
    }