Skip to content

ServiceCatalog module#

Index > ServiceCatalog

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

How to install#

You can generate type annotations for aiobotocore package locally with mypy-boto3-builder. Use uv for build isolation.

  1. Run mypy-boto3-builder in your package root directory: uvx --with 'aiobotocore==2.23.0' mypy-boto3-builder
  2. Select aiobotocore AWS SDK.
  3. Add ServiceCatalog service.
  4. Use provided commands to install generated packages.

From PyPI with pip#

Install types-aiobotocore for ServiceCatalog service.

# install with aiobotocore type annotations
python -m pip install 'types-aiobotocore[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-aiobotocore-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.create_client("servicecatalog") as ServiceCatalogClient boto3 documentation

# ServiceCatalogClient usage example

from aiobotocore.session import get_session

from types_aiobotocore_servicecatalog.client import ServiceCatalogClient


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

Paginators#

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

# ListAcceptedPortfolioSharesPaginator 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.

# AccessLevelFilterKeyType usage example

from types_aiobotocore_servicecatalog.literals import AccessLevelFilterKeyType

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

Type definitions#

Type annotations for type definitions used in methods and schema.