Install & Compatibility
Where this runs
tested against v1.43.43 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.640s · 116.7MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 6.0s · import 0.598s · 114MB
114MB installed
● package 114MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
AppConfigClient
✓ from mypy_boto3_appconfig.client import AppConfigClient
AppConfigServiceResource
✓ from mypy_boto3_appconfig.service_resource import AppConfigServiceResource
Not all boto3 services have a 'resource' interface; check the boto3 documentation for AppConfig if this is needed.
ListApplicationsResponseTypeDef
✓ from mypy_boto3_appconfig.type_defs import ListApplicationsResponseTypeDef
TypeDefs are generated for request and response structures, providing precise type checking for dictionary-based interactions.
AppConfigPaginator
✓ from mypy_boto3_appconfig.paginator import ListApplicationsPaginator
Paginator types are available for operations that support pagination.
This quickstart demonstrates how to initialize a type-hinted AppConfig client using `mypy-boto3-appconfig` and retrieve a list of applications. It explicitly imports the client and response type definitions for static analysis.
import boto3
from mypy_boto3_appconfig.client import AppConfigClient
from mypy_boto3_appconfig.type_defs import ListApplicationsResponseTypeDef
def get_appconfig_applications() -> list[str]:
# Ensure AWS credentials are configured (e.g., via environment variables, ~/.aws/credentials)
# For this example, we'll assume they are, or use a dummy region for local testing.
client: AppConfigClient = boto3.client("appconfig", region_name=os.environ.get('AWS_REGION', 'us-east-1'))
try:
response: ListApplicationsResponseTypeDef = client.list_applications()
application_names = [app['Name'] for app in response.get('Items', []) if 'Name' in app]
return application_names
except Exception as e:
print(f"Error listing AppConfig applications: {e}")
return []
if __name__ == "__main__":
import os
# Set dummy credentials for runnable example if not already set
if not os.environ.get('AWS_ACCESS_KEY_ID'):
os.environ['AWS_ACCESS_KEY_ID'] = 'AKIAIOSFODNN7EXAMPLE'
os.environ['AWS_SECRET_ACCESS_KEY'] = 'wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY'
os.environ['AWS_REGION'] = 'us-east-1'
applications = get_appconfig_applications()
if applications:
print("AppConfig Applications found:")
for app_name in applications:
print(f"- {app_name}")
else:
print("No AppConfig applications found or an error occurred.")
Debug
Known issues
breakingSupport for Python 3.8 was removed in `mypy-boto3-builder` version 8.12.0. Users on Python 3.8 must either upgrade to Python 3.9+ or pin their `mypy-boto3` related packages to an older version (pre-8.12.0) that still supports Python 3.8.fixUpgrade Python environment to 3.9 or higher. Alternatively, pin `mypy-boto3-appconfig` and `boto3` to compatible older versions.
affects: mypy-boto3-builder >= 8.12.0 (equivalent to mypy-boto3-appconfig versions generated by this builder version)
breakingIn `mypy-boto3-builder` version 8.9.0, TypeDef naming conventions changed for packed method arguments (e.g., `CreateDistributionRequestRequestTypeDef` became `CreateDistributionRequestTypeDef`) and conflicting `Extra` postfixes were moved. This affects all `mypy-boto3` service packages, including `mypy-boto3-appconfig`, if you relied on specific TypeDef names.fixUpdate imports and code to reflect the new TypeDef naming conventions. Refer to the specific service's documentation for the correct TypeDef names.
affects: mypy-boto3-builder >= 8.9.0
gotchaThe `mypy-boto3` ecosystem migrated to PEP 561 compliant packages in `mypy-boto3-builder` version 8.12.0. While this generally improves type checker integration, ensure your `mypy` and IDE configurations are up-to-date to correctly interpret these new package structures.fixUpdate your `mypy` and IDE to their latest versions. Verify that your project's `mypy` configuration is correctly detecting the stubs.
affects: mypy-boto3-builder >= 8.12.0
gotchaSome IDEs (like VSCode without specific settings) may require explicit type annotations for `boto3.client()` or `session.client()` calls to get full auto-completion, even though `mypy` itself might infer types correctly.fixAlways add explicit type annotations, e.g., `client: AppConfigClient = boto3.client("appconfig")`, for the best IDE experience and explicit type checking. affects: All versions
Upgrade
Version history
1.43.43latest on PyPI · released Jul 8, 2026
Audit
Dependencies
boto3requiredRuntime dependency for interacting with AWS services.
mypyrequiredStatic type checker for which these annotations are primarily generated.