capo-service-catalog-appregistry: typed, async Python SDK for AWS Service Catalog Appregistry
capo-service-catalog-appregistry is a typed Python SDK for AWS Service Catalog Appregistry. It has an async client, AsyncServiceCatalogAppRegistryClient, for asyncio and trio, and a sync client, ServiceCatalogAppRegistryClient, with the same methods. Requests and responses are typed with TypedDicts, so your editor and type checker know every field.
It is part of capo, a community-driven alternative to boto3 and aioboto3, built on its own HTTP stack instead of botocore and generated from the official AWS Smithy models. Documentation: https://capo-sdk.dev/services/service-catalog-appregistry/
Installation
pip install capo-service-catalog-appregistry
Usage
from capo_service_catalog_appregistry import AsyncServiceCatalogAppRegistryClient
async def main():
async with AsyncServiceCatalogAppRegistryClient() as service_catalog_app_registry:
# Example: call the associate_attribute_group operation
response = await service_catalog_app_registry.associate_attribute_group()
print(response["application_arn"])
Pagination
Some operations in this SDK support pagination. If the operation supports pagination it will have an iter_ prefixed method that returns an async iterator.
from capo_service_catalog_appregistry import AsyncServiceCatalogAppRegistryClient
async def main():
async with AsyncServiceCatalogAppRegistryClient() as service_catalog_app_registry:
# Example: paginate over list_applications
async for item in service_catalog_app_registry.iter_list_applications():
print(item)
Error Handling
The SDK raises exceptions for errors returned by the API. Catch them to handle failures gracefully.
from capo_service_catalog_appregistry import AsyncServiceCatalogAppRegistryClient
from capo_service_catalog_appregistry.error import ConflictException
async def main():
async with AsyncServiceCatalogAppRegistryClient() as service_catalog_app_registry:
try:
await service_catalog_app_registry.associate_attribute_group()
except ConflictException as e:
print(f"Error: {e}")
print(e.data) # additional error data
Retrying
The SDK retries failed operations automatically. Retry behaviour follows the Smithy specification: errors are retried based on their is_retryable and is_throttling_error attributes. Throttling errors use a longer base delay. Network-level failures (connection errors and timeouts) are also retried. Non-retryable errors, such as client errors without the @retryable trait, are raised immediately without further attempts.
The number of attempts defaults to 3 and can be changed at the client level via retry_max_attempts, or per call via config_overrides.
from capo_service_catalog_appregistry import AsyncServiceCatalogAppRegistryClient
async def main():
async with AsyncServiceCatalogAppRegistryClient() as service_catalog_app_registry:
# Default: 3 attempts for every operation
response = await service_catalog_app_registry.associate_attribute_group()
# Override per operation
response = await service_catalog_app_registry.associate_attribute_group(config_overrides={"retry_max_attempts": 5})
# Disable retries for this call
response = await service_catalog_app_registry.associate_attribute_group(config_overrides={"retry_max_attempts": 1})
Metadata
Release files for capo-service-catalog-appregistry 0.9.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| capo_service_catalog_appregistry-0.9.0.tar.gz | 92.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| capo_service_catalog_appregistry-0.9.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 281.1 kB
Release files / capo_service_catalog_appregistry-0.9.0.tar.gz
| Download URL | capo_service_catalog_appregistry-0.9.0.tar.gz |
|---|---|
| Size | 92.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
01d96ee90bfd14b1aff2751ec59edd5c14c30b83737ae62aa6c895e8e4fbfc65
|
|
BLAKE2b-256 checksum How to use checksums |
8110174b0f07b6a16f9ad56aad307e98db25169b407a7e2a0c58df0059aff62d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / capo_service_catalog_appregistry-0.9.0-py3-none-any.whl
| Download URL | capo_service_catalog_appregistry-0.9.0-py3-none-any.whl |
|---|---|
| Size | 188.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
371ac7fbfdb61fa1be58082c6306b5542f752b29936665e7aa5e43685eaa71b6
|
|
BLAKE2b-256 checksum How to use checksums |
7e45439554bacf1042f4539b36922aaa133624d265f51cf225434ad2ac3cdde4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|