Registry /
aws / alibabacloud-sas20181203
Install & Compatibility
Where this runs
tested against v9.3.2 · 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 3.900s · 81.9MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 10.8s · import 3.338s · 84MB
84MB installed
● package 84MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
Client
✓ from alibabacloud_sas20181203.client import Client
✗ from alibabacloud_sas20181203 import Client
Client is in the client submodule, not package root.
DescribeSecurityEventOperationsRequest
✓ from alibabacloud_sas20181203.models import DescribeSecurityEventOperationsRequest
✗ alibabacloud_sas20181203.models.DescribeSecurityEventOperationsRequest (for some earlier Alibaba SDKs models were directly importable; this SDK uses a dotted path from the models module)
Initializes a SAS client and calls DescribeSecurityEventOperations.
import os
from alibabacloud_sas20181203.client import Client as SasClient
from alibabacloud_sas20181203 import models
from alibabacloud_tea_openapi import models as open_api_models
config = open_api_models.Config(
access_key_id=os.environ.get('ALIBABA_CLOUD_ACCESS_KEY_ID', ''),
access_key_secret=os.environ.get('ALIBABA_CLOUD_ACCESS_KEY_SECRET', ''),
region_id='cn-hangzhou'
)
client = SasClient(config)
req = models.DescribeSecurityEventOperationsRequest(
source_ip='127.0.0.1',
lang='zh',
security_event_id='<event_id>'
)
try:
resp = client.describe_security_event_operations(req)
print(resp.body.to_map())
except Exception as e:
print(e)
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'alibabacloud_sas20181203.client'
Using an older SDK version (e.g., <7.0) where Client was directly under the package or installing an incompatible version.
fixUpgrade to latest: `pip install --upgrade alibabacloud-sas20181203` and use `from alibabacloud_sas20181203.client import Client`.
AttributeError: module 'alibabacloud_sas20181203' has no attribute 'Client'
Trying to import Client from the package root, which is not present in current versions.
fixChange to `from alibabacloud_sas20181203.client import Client`.
Upgrade
Version history
9.3.2latest on PyPI · released Jun 1, 2026
Audit
Dependencies
alibabacloud-teaoptionalCore runtime for Tea-based SDKs