aliyun-log-python-sdk 0.9.48__tar.gz → 0.9.50__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {aliyun_log_python_sdk-0.9.48/aliyun_log_python_sdk.egg-info → aliyun_log_python_sdk-0.9.50}/PKG-INFO +1 -1
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/__init__.py +2 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/__init__.pyi +2 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/logclient.py +146 -7
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/logclient.pyi +5 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/logstore_config_response.py +5 -0
- aliyun_log_python_sdk-0.9.50/aliyun/log/logstore_config_response.pyi +41 -0
- aliyun_log_python_sdk-0.9.50/aliyun/log/resource_policy.py +12 -0
- aliyun_log_python_sdk-0.9.50/aliyun/log/resource_policy.pyi +6 -0
- aliyun_log_python_sdk-0.9.50/aliyun/log/resource_policy_response.py +69 -0
- aliyun_log_python_sdk-0.9.50/aliyun/log/resource_policy_response.pyi +29 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/version.py +1 -1
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50/aliyun_log_python_sdk.egg-info}/PKG-INFO +1 -1
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun_log_python_sdk.egg-info/SOURCES.txt +5 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/LICENSE +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/MANIFEST.in +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/README.md +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/__init__.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/__init__.pyi +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/_proto_py2/__init__.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/_proto_py2/log_logs_pb2.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/_proto_py2/log_logs_raw_pb2.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/acl_config.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/acl_response.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/async_sql_pb2.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/async_sql_response.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/auth.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/common_response.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/compress.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/consumer/__init__.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/consumer/__init__.pyi +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/consumer/checkpoint_tracker.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/consumer/config.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/consumer/config.pyi +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/consumer/consumer_client.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/consumer/exceptions.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/consumer/fetched_log_group.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/consumer/heart_beat.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/consumer/preprocessor.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/consumer/py.typed +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/consumer/shard_worker.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/consumer/tasks.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/consumer/tasks.pyi +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/consumer/worker.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/consumer/worker.pyi +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/consumer_group_request.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/consumer_group_response.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/credentials.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/credentials.pyi +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/cursor_response.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/cursor_response.pyi +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/cursor_time_response.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/cursor_time_response.pyi +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/delete_async_sql_request.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/deletelogsrequest.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/deletelogssresponse.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/deletelogsv2request.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/deletelogsv2request.pyi +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/deletelogsv2response.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/deletelogsv2response.pyi +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/es_migration/__init__.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/es_migration/doc_logitem_converter.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/es_migration/index_logstore_mappings.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/es_migration/mapping_index_converter.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/es_migration/migration_log.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/es_migration/migration_manager.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/es_migration/migration_response.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/es_migration/migration_task.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/es_migration/util.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/etl_config_response.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/etl_core/__init__.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/etl_core/config_parser.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/etl_core/etl_util.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/etl_core/exceptions.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/etl_core/restrict_config_parser.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/etl_core/runner.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/etl_core/settings.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/etl_core/trans_comp/__init__.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/etl_core/trans_comp/trans_base.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/etl_core/trans_comp/trans_csv.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/etl_core/trans_comp/trans_json.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/etl_core/trans_comp/trans_kv.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/etl_core/trans_comp/trans_lookup.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/etl_core/trans_comp/trans_mv.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/etl_core/trans_comp/trans_regex.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/etl_core/trans_comp/trans_set_field.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/etl_core/transform/__init__.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/etl_core/transform/condition_list.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/etl_core/transform/condition_transform.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/etl_core/transform/condition_util.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/etl_core/transform/transform_base.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/etl_core/transform/transform_list.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/etl_core/transform/transform_meta.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/export_response.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/ext/__init__.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/ext/jupyter_magic.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/ext/syslogclient.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/external_store_config.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/external_store_config_response.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/get_async_sql_request.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/getcontextlogsresponse.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/getdeletelogsstatusrequest.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/getdeletelogsstatusresponse.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/gethistogramsrequest.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/gethistogramsrequest.pyi +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/gethistogramsresponse.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/gethistogramsresponse.pyi +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/getlogsrequest.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/getlogsrequest.pyi +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/getlogsresponse.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/getlogsresponse.pyi +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/histogram.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/index_config.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/index_config.pyi +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/index_config_response.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/ingestion_response.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/job.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/listdeletelogsstasksrequest.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/listdeletelogsstasksresponse.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/listlogstoresrequest.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/listlogstoresrequest.pyi +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/listlogstoresresponse.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/listlogstoresresponse.pyi +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/listtopicsrequest.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/listtopicsrequest.pyi +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/listtopicsresponse.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/listtopicsresponse.pyi +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/log_logs_pb2.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/log_logs_raw_pb2.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/logclient_core.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/logclient_operator.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/logexception.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/logexception.pyi +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/logger_hanlder.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/logitem.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/logitem.pyi +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/logrequest.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/logresponse.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/logresponse.pyi +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/logtail_config_detail.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/logtail_config_response.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/logtail_pipeline_config_detail.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/logtail_pipeline_config_response.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/machine_group_detail.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/machine_group_detail.pyi +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/machinegroup_response.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/metering_mode_response.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/metering_mode_response.pyi +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/multimodal_config_response.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/multimodal_config_response.pyi +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/object_response.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/object_response.pyi +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/odps_sink.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/oss_sink.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/pluralize.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/project_response.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/proto.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/pulllog_response.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/pulllog_response.pyi +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/putlogsrequest.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/putlogsrequest.pyi +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/putlogsresponse.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/putlogsresponse.pyi +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/py.typed +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/queriedlog.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/queriedlog.pyi +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/rebuild_index_response.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/resource_params.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/resource_response.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/scheduled_sql.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/scheduled_sql_response.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/shard_response.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/shipper_config.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/shipper_config.pyi +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/shipper_response.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/sink.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/sql_instance_response.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/store_view.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/store_view.pyi +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/store_view_response.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/store_view_response.pyi +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/submit_async_sql_request.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/submit_async_sql_request.pyi +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/substore_config_response.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/tag_response.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/topostore_params.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/topostore_response.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/updatelogsrequest.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/updatelogsrequest.pyi +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/updatelogsresponse.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/updatelogsresponse.pyi +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/util.py +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/py.typed +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun_log_python_sdk.egg-info/dependency_links.txt +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun_log_python_sdk.egg-info/requires.txt +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun_log_python_sdk.egg-info/top_level.txt +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/pyproject.toml +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/setup.cfg +0 -0
- {aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/setup.py +0 -0
|
@@ -16,6 +16,7 @@ from .version import __version__
|
|
|
16
16
|
from .logitem import LogItem
|
|
17
17
|
from .consumer_group_request import *
|
|
18
18
|
from .external_store_config import *
|
|
19
|
+
from .resource_policy import ResourcePolicyResourceType
|
|
19
20
|
|
|
20
21
|
# response class
|
|
21
22
|
from .consumer_group_response import *
|
|
@@ -55,6 +56,7 @@ from .metering_mode_response import GetLogStoreMeteringModeResponse, \
|
|
|
55
56
|
from .multimodal_config_response import GetLogStoreMultimodalConfigurationResponse, \
|
|
56
57
|
PutLogStoreMultimodalConfigurationResponse
|
|
57
58
|
from .object_response import PutObjectResponse, GetObjectResponse
|
|
59
|
+
from .resource_policy_response import PutResourcePolicyResponse, GetResourcePolicyResponse, DeleteResourcePolicyResponse
|
|
58
60
|
|
|
59
61
|
from .store_view import StoreView, StoreViewStore
|
|
60
62
|
from .store_view_response import CreateStoreViewResponse, UpdateStoreViewResponse, DeleteStoreViewResponse, ListStoreViewsResponse, GetStoreViewResponse
|
|
@@ -15,6 +15,7 @@ from .version import __version__ as __version__
|
|
|
15
15
|
from .logitem import LogItem as LogItem
|
|
16
16
|
from .consumer_group_request import CreateConsumerGroupRequest as CreateConsumerGroupRequest, ConsumerGroupGetCheckPointRequest as ConsumerGroupGetCheckPointRequest, ConsumerGroupHeartBeatRequest as ConsumerGroupHeartBeatRequest, ConsumerGroupUpdateCheckPointRequest as ConsumerGroupUpdateCheckPointRequest
|
|
17
17
|
from .external_store_config import ExternalStoreConfig as ExternalStoreConfig, ExternalStoreConfigBase as ExternalStoreConfigBase, ExternalStoreCsvConfig as ExternalStoreCsvConfig, ExternalStoreOssConfig as ExternalStoreOssConfig
|
|
18
|
+
from .resource_policy import ResourcePolicyResourceType as ResourcePolicyResourceType
|
|
18
19
|
|
|
19
20
|
from .consumer_group_response import ConsumerGroupEntity as ConsumerGroupEntity, ConsumerGroupCheckPointResponse as ConsumerGroupCheckPointResponse, ConsumerGroupHeartBeatResponse as ConsumerGroupHeartBeatResponse, ConsumerGroupUpdateCheckPointResponse as ConsumerGroupUpdateCheckPointResponse, CreateConsumerGroupResponse as CreateConsumerGroupResponse, DeleteConsumerGroupResponse as DeleteConsumerGroupResponse, ListConsumerGroupResponse as ListConsumerGroupResponse, UpdateConsumerGroupResponse as UpdateConsumerGroupResponse
|
|
20
21
|
from .cursor_response import GetCursorResponse as GetCursorResponse
|
|
@@ -54,6 +55,7 @@ from .metering_mode_response import GetLogStoreMeteringModeResponse as GetLogSto
|
|
|
54
55
|
from .multimodal_config_response import GetLogStoreMultimodalConfigurationResponse as GetLogStoreMultimodalConfigurationResponse, \
|
|
55
56
|
PutLogStoreMultimodalConfigurationResponse as PutLogStoreMultimodalConfigurationResponse
|
|
56
57
|
from .object_response import PutObjectResponse as PutObjectResponse, GetObjectResponse as GetObjectResponse
|
|
58
|
+
from .resource_policy_response import PutResourcePolicyResponse as PutResourcePolicyResponse, GetResourcePolicyResponse as GetResourcePolicyResponse, DeleteResourcePolicyResponse as DeleteResourcePolicyResponse
|
|
57
59
|
|
|
58
60
|
from .store_view import StoreView as StoreView, StoreViewStore as StoreViewStore
|
|
59
61
|
from .store_view_response import CreateStoreViewResponse as CreateStoreViewResponse, UpdateStoreViewResponse as UpdateStoreViewResponse, DeleteStoreViewResponse as DeleteStoreViewResponse, ListStoreViewsResponse as ListStoreViewsResponse, GetStoreViewResponse as GetStoreViewResponse
|
|
@@ -53,8 +53,10 @@ from .pulllog_response import PullLogResponse
|
|
|
53
53
|
from .putlogsresponse import PutLogsResponse
|
|
54
54
|
from .shard_response import *
|
|
55
55
|
from .shipper_response import *
|
|
56
|
-
from .resource_response import *
|
|
57
|
-
from .resource_params import *
|
|
56
|
+
from .resource_response import *
|
|
57
|
+
from .resource_params import *
|
|
58
|
+
from .resource_policy import ResourcePolicyResourceType
|
|
59
|
+
from .resource_policy_response import *
|
|
58
60
|
from .tag_response import GetResourceTagsResponse
|
|
59
61
|
from .topostore_response import *
|
|
60
62
|
from .topostore_params import *
|
|
@@ -1763,7 +1765,7 @@ class LogClient(object):
|
|
|
1763
1765
|
(resp, header) = self._send("DELETE", project_name, None, resource, params, headers)
|
|
1764
1766
|
return DeleteLogStoreResponse(header, resp)
|
|
1765
1767
|
|
|
1766
|
-
def get_logstore(self, project_name, logstore_name):
|
|
1768
|
+
def get_logstore(self, project_name, logstore_name):
|
|
1767
1769
|
""" get the logstore meta info
|
|
1768
1770
|
Unsuccessful operation will cause an LogException.
|
|
1769
1771
|
|
|
@@ -1781,10 +1783,37 @@ class LogClient(object):
|
|
|
1781
1783
|
headers = {}
|
|
1782
1784
|
params = {}
|
|
1783
1785
|
resource = "/logstores/" + logstore_name
|
|
1784
|
-
(resp, header) = self._send("GET", project_name, None, resource, params, headers)
|
|
1785
|
-
return GetLogStoreResponse(resp, header)
|
|
1786
|
-
|
|
1787
|
-
def
|
|
1786
|
+
(resp, header) = self._send("GET", project_name, None, resource, params, headers)
|
|
1787
|
+
return GetLogStoreResponse(resp, header)
|
|
1788
|
+
|
|
1789
|
+
def enable_logstore_modify(self, project_name, logstore_name):
|
|
1790
|
+
"""Enable log modification and deletion for an existing logstore.
|
|
1791
|
+
|
|
1792
|
+
The conversion is asynchronous; a successful response only means that
|
|
1793
|
+
the enable request was accepted.
|
|
1794
|
+
|
|
1795
|
+
:type project_name: string
|
|
1796
|
+
:param project_name: the project name
|
|
1797
|
+
|
|
1798
|
+
:type logstore_name: string
|
|
1799
|
+
:param logstore_name: the logstore name
|
|
1800
|
+
|
|
1801
|
+
:return: LogResponse
|
|
1802
|
+
|
|
1803
|
+
:raise: LogException
|
|
1804
|
+
"""
|
|
1805
|
+
body_str = six.b(json.dumps({"enabled": True}))
|
|
1806
|
+
headers = {
|
|
1807
|
+
"x-log-bodyrawsize": str(len(body_str)),
|
|
1808
|
+
"Content-Type": "application/json",
|
|
1809
|
+
}
|
|
1810
|
+
resource = "/logstores/" + logstore_name + "/modification"
|
|
1811
|
+
(resp, header) = self._send(
|
|
1812
|
+
"PUT", project_name, body_str, resource, {}, headers
|
|
1813
|
+
)
|
|
1814
|
+
return LogResponse(header, resp)
|
|
1815
|
+
|
|
1816
|
+
def update_logstore(self, project_name, logstore_name, ttl=None, enable_tracking=None, shard_count=None,
|
|
1788
1817
|
append_meta=None,
|
|
1789
1818
|
auto_split=None,
|
|
1790
1819
|
max_split_shard=None,
|
|
@@ -3271,6 +3300,116 @@ class LogClient(object):
|
|
|
3271
3300
|
(resp, header) = self._send("DELETE", project_name, None, resource, params, headers)
|
|
3272
3301
|
return DeleteProjectResponse(header, resp)
|
|
3273
3302
|
|
|
3303
|
+
@staticmethod
|
|
3304
|
+
def _validate_resource_policy_target(project_name, resource_type):
|
|
3305
|
+
if not project_name:
|
|
3306
|
+
raise LogException("InvalidParameter", "project_name must not be empty")
|
|
3307
|
+
if resource_type not in (
|
|
3308
|
+
ResourcePolicyResourceType.PROJECT,
|
|
3309
|
+
ResourcePolicyResourceType.LOGSTORE):
|
|
3310
|
+
raise LogException(
|
|
3311
|
+
"InvalidParameter",
|
|
3312
|
+
"resource_type must be project or logstore"
|
|
3313
|
+
)
|
|
3314
|
+
|
|
3315
|
+
def put_resource_policy(self, project_name, resource_type, policy_document,
|
|
3316
|
+
resource_name=None, dry_run=False):
|
|
3317
|
+
"""Create or update a resource policy for a project or logstore.
|
|
3318
|
+
|
|
3319
|
+
:type project_name: string
|
|
3320
|
+
:param project_name: the project name
|
|
3321
|
+
|
|
3322
|
+
:type resource_type: string
|
|
3323
|
+
:param resource_type: ``project`` or ``logstore``
|
|
3324
|
+
|
|
3325
|
+
:type policy_document: string
|
|
3326
|
+
:param policy_document: the JSON policy document
|
|
3327
|
+
|
|
3328
|
+
:type resource_name: string
|
|
3329
|
+
:param resource_name: optional resource name; required by the service for logstore policies
|
|
3330
|
+
|
|
3331
|
+
:type dry_run: bool
|
|
3332
|
+
:param dry_run: validate the policy without persisting it
|
|
3333
|
+
|
|
3334
|
+
:return: PutResourcePolicyResponse
|
|
3335
|
+
|
|
3336
|
+
:raise: LogException
|
|
3337
|
+
"""
|
|
3338
|
+
self._validate_resource_policy_target(project_name, resource_type)
|
|
3339
|
+
if not policy_document:
|
|
3340
|
+
raise LogException("InvalidParameter", "policy_document must not be empty")
|
|
3341
|
+
|
|
3342
|
+
body = {
|
|
3343
|
+
"resourceType": resource_type,
|
|
3344
|
+
"policyDocument": policy_document,
|
|
3345
|
+
"dryRun": bool(dry_run),
|
|
3346
|
+
}
|
|
3347
|
+
if resource_name:
|
|
3348
|
+
body["resourceName"] = resource_name
|
|
3349
|
+
|
|
3350
|
+
body_str = six.b(json.dumps(body))
|
|
3351
|
+
headers = {
|
|
3352
|
+
"Content-Type": "application/json",
|
|
3353
|
+
"x-log-bodyrawsize": str(len(body_str)),
|
|
3354
|
+
}
|
|
3355
|
+
(resp, header) = self._send(
|
|
3356
|
+
"PUT", project_name, body_str, "/resource-policies", {}, headers
|
|
3357
|
+
)
|
|
3358
|
+
return PutResourcePolicyResponse(header, resp)
|
|
3359
|
+
|
|
3360
|
+
def get_resource_policy(self, project_name, resource_type, resource_name=None):
|
|
3361
|
+
"""Get a resource policy for a project or logstore.
|
|
3362
|
+
|
|
3363
|
+
:type project_name: string
|
|
3364
|
+
:param project_name: the project name
|
|
3365
|
+
|
|
3366
|
+
:type resource_type: string
|
|
3367
|
+
:param resource_type: ``project`` or ``logstore``
|
|
3368
|
+
|
|
3369
|
+
:type resource_name: string
|
|
3370
|
+
:param resource_name: optional resource name; required by the service for logstore policies
|
|
3371
|
+
|
|
3372
|
+
:return: GetResourcePolicyResponse
|
|
3373
|
+
|
|
3374
|
+
:raise: LogException
|
|
3375
|
+
"""
|
|
3376
|
+
self._validate_resource_policy_target(project_name, resource_type)
|
|
3377
|
+
params = {"resourceType": resource_type}
|
|
3378
|
+
if resource_name:
|
|
3379
|
+
params["resourceName"] = resource_name
|
|
3380
|
+
|
|
3381
|
+
(resp, header) = self._send(
|
|
3382
|
+
"GET", project_name, None, "/resource-policies", params,
|
|
3383
|
+
{"Content-Type": "application/json"}
|
|
3384
|
+
)
|
|
3385
|
+
return GetResourcePolicyResponse(resp, header)
|
|
3386
|
+
|
|
3387
|
+
def delete_resource_policy(self, project_name, resource_type, resource_name=None):
|
|
3388
|
+
"""Delete a resource policy for a project or logstore.
|
|
3389
|
+
|
|
3390
|
+
:type project_name: string
|
|
3391
|
+
:param project_name: the project name
|
|
3392
|
+
|
|
3393
|
+
:type resource_type: string
|
|
3394
|
+
:param resource_type: ``project`` or ``logstore``
|
|
3395
|
+
|
|
3396
|
+
:type resource_name: string
|
|
3397
|
+
:param resource_name: optional resource name; required by the service for logstore policies
|
|
3398
|
+
|
|
3399
|
+
:return: DeleteResourcePolicyResponse
|
|
3400
|
+
|
|
3401
|
+
:raise: LogException
|
|
3402
|
+
"""
|
|
3403
|
+
self._validate_resource_policy_target(project_name, resource_type)
|
|
3404
|
+
params = {"resourceType": resource_type}
|
|
3405
|
+
if resource_name:
|
|
3406
|
+
params["resourceName"] = resource_name
|
|
3407
|
+
|
|
3408
|
+
(resp, header) = self._send(
|
|
3409
|
+
"DELETE", project_name, None, "/resource-policies", params, {}
|
|
3410
|
+
)
|
|
3411
|
+
return DeleteResourcePolicyResponse(header, resp)
|
|
3412
|
+
|
|
3274
3413
|
def change_resource_group(self, resource_id, resource_group_id, resource_type="PROJECT"):
|
|
3275
3414
|
"""
|
|
3276
3415
|
Update the resource group of project
|
|
@@ -55,6 +55,7 @@ from .putlogsresponse import PutLogsResponse
|
|
|
55
55
|
from .rebuild_index_response import CreateRebuildIndexResponse, GetRebuildIndexResponse
|
|
56
56
|
from .resource_params import Resource, ResourceRecord
|
|
57
57
|
from .resource_response import CreateRecordResponse, CreateResourceResponse, DeleteRecordResponse, DeleteResourceResponse, GetRecordResponse, GetResourceResponse, ListRecordResponse, ListResourcesResponse, UpdateRecordResponse, UpdateResourceResponse, UpsertRecordResponse
|
|
58
|
+
from .resource_policy_response import DeleteResourcePolicyResponse, GetResourcePolicyResponse, PutResourcePolicyResponse
|
|
58
59
|
from .scheduled_sql import ScheduledSQL, ScheduledSQLConfiguration
|
|
59
60
|
from .scheduled_sql_response import CreateScheduledSQLResponse, DeleteScheduledSQLResponse, GetScheduledSQLResponse, GetScheduledSqlJobInstanceResponse, ListScheduledSQLResponse, ListScheduledSqlJobInstancesResponse, ModifyScheduledSqlJobStateResponse, UpdateScheduledSQLResponse
|
|
60
61
|
from .shard_response import DeleteShardResponse, ListShardResponse
|
|
@@ -113,6 +114,7 @@ class LogClient(object):
|
|
|
113
114
|
def create_logstore(self, project_name: str, logstore_name: str, ttl: int = ..., shard_count: int = ..., enable_tracking: bool = ..., append_meta: bool = ..., auto_split: bool = ..., max_split_shard: int = ..., preserve_storage: bool = ..., encrypt_conf: Optional[Dict[str, Any]] = ..., telemetry_type: str = ..., hot_ttl: int = ..., mode: Optional[str] = ..., infrequent_access_ttl: int = ..., enable_modify: bool = ...) -> CreateLogStoreResponse: ...
|
|
114
115
|
def delete_logstore(self, project_name: str, logstore_name: str) -> DeleteLogStoreResponse: ...
|
|
115
116
|
def get_logstore(self, project_name: str, logstore_name: str) -> GetLogStoreResponse: ...
|
|
117
|
+
def enable_logstore_modify(self, project_name: str, logstore_name: str) -> LogResponse: ...
|
|
116
118
|
def update_logstore(self, project_name: str, logstore_name: str, ttl: Optional[int] = ..., enable_tracking: Optional[bool] = ..., shard_count: Optional[int] = ..., append_meta: Optional[bool] = ..., auto_split: Optional[bool] = ..., max_split_shard: Optional[int] = ..., preserve_storage: Optional[bool] = ..., encrypt_conf: Optional[Dict[str, Any]] = ..., hot_ttl: int = ..., mode: Optional[str] = ..., telemetry_type: Optional[str] = ..., infrequent_access_ttl: int = ...) -> UpdateLogStoreResponse: ...
|
|
117
119
|
def list_logstore(self, project_name: str, logstore_name_pattern: Optional[str] = ..., offset: int = ..., size: int = ...) -> ListLogStoreResponse: ...
|
|
118
120
|
def get_logstore_metering_mode(self, project_name: str, logstore_name: str) -> GetLogStoreMeteringModeResponse: ...
|
|
@@ -169,6 +171,9 @@ class LogClient(object):
|
|
|
169
171
|
def update_project(self, project_name: str, project_des: str) -> UpdateProjectResponse: ...
|
|
170
172
|
def get_project(self, project_name: str) -> GetProjectResponse: ...
|
|
171
173
|
def delete_project(self, project_name: str) -> DeleteProjectResponse: ...
|
|
174
|
+
def put_resource_policy(self, project_name: str, resource_type: str, policy_document: str, resource_name: Optional[str] = ..., dry_run: bool = ...) -> PutResourcePolicyResponse: ...
|
|
175
|
+
def get_resource_policy(self, project_name: str, resource_type: str, resource_name: Optional[str] = ...) -> GetResourcePolicyResponse: ...
|
|
176
|
+
def delete_resource_policy(self, project_name: str, resource_type: str, resource_name: Optional[str] = ...) -> DeleteResourcePolicyResponse: ...
|
|
172
177
|
def change_resource_group(self, resource_id: str, resource_group_id: str, resource_type: str = ...) -> LogResponse: ...
|
|
173
178
|
def tag_project(self, project_name: str, **tags: Any) -> LogResponse: ...
|
|
174
179
|
def untag_project(self, project_name: str, *tag_keys: Any) -> LogResponse: ...
|
{aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/logstore_config_response.py
RENAMED
|
@@ -57,6 +57,7 @@ class GetLogStoreResponse(LogResponse):
|
|
|
57
57
|
self.ttl = int(resp["ttl"])
|
|
58
58
|
self.shard_count = int(resp["shardCount"])
|
|
59
59
|
self.enable_tracking = bool(resp["enable_tracking"])
|
|
60
|
+
self.enable_modify = bool(resp.get("enableModify", False))
|
|
60
61
|
self.append_meta = bool(resp["appendMeta"])
|
|
61
62
|
self.auto_split = bool(resp["autoSplit"])
|
|
62
63
|
self.max_split_shard = int(resp["maxSplitShard"])
|
|
@@ -100,6 +101,10 @@ class GetLogStoreResponse(LogResponse):
|
|
|
100
101
|
"""
|
|
101
102
|
return self.enable_tracking
|
|
102
103
|
|
|
104
|
+
def get_enable_modify(self):
|
|
105
|
+
"""Return whether log modification and deletion are enabled."""
|
|
106
|
+
return self.enable_modify
|
|
107
|
+
|
|
103
108
|
def get_encrypt_conf(self):
|
|
104
109
|
"""
|
|
105
110
|
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
from typing import Any, Dict, List
|
|
3
|
+
|
|
4
|
+
from .logresponse import LogResponse
|
|
5
|
+
|
|
6
|
+
class CreateLogStoreResponse(LogResponse):
|
|
7
|
+
def __init__(self, header: Dict[str, Any], resp: Any = ...) -> None: ...
|
|
8
|
+
def log_print(self) -> None: ...
|
|
9
|
+
|
|
10
|
+
class DeleteLogStoreResponse(LogResponse):
|
|
11
|
+
def __init__(self, header: Dict[str, Any], resp: Any = ...) -> None: ...
|
|
12
|
+
def log_print(self) -> None: ...
|
|
13
|
+
|
|
14
|
+
class GetLogStoreResponse(LogResponse):
|
|
15
|
+
enable_modify: bool
|
|
16
|
+
def __init__(self, resp: Dict[str, Any], header: Dict[str, Any]) -> None: ...
|
|
17
|
+
def get_shard_count(self) -> int: ...
|
|
18
|
+
def get_ttl(self) -> int: ...
|
|
19
|
+
def get_hot_ttl(self) -> int: ...
|
|
20
|
+
def get_enable_tracking(self) -> bool: ...
|
|
21
|
+
def get_enable_modify(self) -> bool: ...
|
|
22
|
+
def get_encrypt_conf(self) -> Any: ...
|
|
23
|
+
def log_print(self) -> None: ...
|
|
24
|
+
|
|
25
|
+
class UpdateLogStoreResponse(LogResponse):
|
|
26
|
+
def __init__(self, header: Dict[str, Any], resp: Any = ...) -> None: ...
|
|
27
|
+
def log_print(self) -> None: ...
|
|
28
|
+
|
|
29
|
+
class ListLogStoreResponse(LogResponse):
|
|
30
|
+
def __init__(self, resp: Dict[str, Any], header: Dict[str, Any]) -> None: ...
|
|
31
|
+
def get_logstores(self) -> List[str]: ...
|
|
32
|
+
def get_count(self) -> int: ...
|
|
33
|
+
def get_logstores_count(self) -> int: ...
|
|
34
|
+
def get_logstores_total(self) -> int: ...
|
|
35
|
+
def get_total(self) -> int: ...
|
|
36
|
+
def log_print(self) -> None: ...
|
|
37
|
+
def merge(self, response: "ListLogStoreResponse") -> "ListLogStoreResponse": ...
|
|
38
|
+
@property
|
|
39
|
+
def total(self) -> int: ...
|
|
40
|
+
@property
|
|
41
|
+
def logstores(self) -> List[str]: ...
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
#!/usr/bin/env python
|
|
2
|
+
# encoding: utf-8
|
|
3
|
+
|
|
4
|
+
# Copyright (C) Alibaba Cloud Computing
|
|
5
|
+
# All rights reserved.
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class ResourcePolicyResourceType(object):
|
|
9
|
+
"""Resource types supported by the Resource Policy API."""
|
|
10
|
+
|
|
11
|
+
PROJECT = "project"
|
|
12
|
+
LOGSTORE = "logstore"
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
#!/usr/bin/env python
|
|
2
|
+
# encoding: utf-8
|
|
3
|
+
|
|
4
|
+
# Copyright (C) Alibaba Cloud Computing
|
|
5
|
+
# All rights reserved.
|
|
6
|
+
|
|
7
|
+
from .logresponse import LogResponse
|
|
8
|
+
from .util import Util
|
|
9
|
+
|
|
10
|
+
__all__ = [
|
|
11
|
+
"PutResourcePolicyResponse",
|
|
12
|
+
"GetResourcePolicyResponse",
|
|
13
|
+
"DeleteResourcePolicyResponse",
|
|
14
|
+
]
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
class PutResourcePolicyResponse(LogResponse):
|
|
18
|
+
"""The response of the put_resource_policy API."""
|
|
19
|
+
|
|
20
|
+
def __init__(self, header, resp=""):
|
|
21
|
+
LogResponse.__init__(self, header, resp)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
class GetResourcePolicyResponse(LogResponse):
|
|
25
|
+
"""The response of the get_resource_policy API."""
|
|
26
|
+
|
|
27
|
+
def __init__(self, resp, header):
|
|
28
|
+
LogResponse.__init__(self, header, resp)
|
|
29
|
+
self.resource_type = Util.convert_unicode_to_str(resp["resourceType"])
|
|
30
|
+
self.resource_name = Util.convert_unicode_to_str(resp.get("resourceName", ""))
|
|
31
|
+
self.policy_document = Util.convert_unicode_to_str(resp["policyDocument"])
|
|
32
|
+
self.revision = int(resp["revision"])
|
|
33
|
+
self.create_time = int(resp["createTime"])
|
|
34
|
+
self.update_time = int(resp["updateTime"])
|
|
35
|
+
|
|
36
|
+
def get_resource_type(self):
|
|
37
|
+
return self.resource_type
|
|
38
|
+
|
|
39
|
+
def get_resource_name(self):
|
|
40
|
+
return self.resource_name
|
|
41
|
+
|
|
42
|
+
def get_policy_document(self):
|
|
43
|
+
return self.policy_document
|
|
44
|
+
|
|
45
|
+
def get_revision(self):
|
|
46
|
+
return self.revision
|
|
47
|
+
|
|
48
|
+
def get_create_time(self):
|
|
49
|
+
return self.create_time
|
|
50
|
+
|
|
51
|
+
def get_update_time(self):
|
|
52
|
+
return self.update_time
|
|
53
|
+
|
|
54
|
+
def log_print(self):
|
|
55
|
+
print("GetResourcePolicyResponse:")
|
|
56
|
+
print("headers:", self.get_all_headers())
|
|
57
|
+
print("resource_type:", self.resource_type)
|
|
58
|
+
print("resource_name:", self.resource_name)
|
|
59
|
+
print("policy_document:", self.policy_document)
|
|
60
|
+
print("revision:", self.revision)
|
|
61
|
+
print("create_time:", self.create_time)
|
|
62
|
+
print("update_time:", self.update_time)
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
class DeleteResourcePolicyResponse(LogResponse):
|
|
66
|
+
"""The response of the delete_resource_policy API."""
|
|
67
|
+
|
|
68
|
+
def __init__(self, header, resp=""):
|
|
69
|
+
LogResponse.__init__(self, header, resp)
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
from typing import Any, Dict
|
|
3
|
+
|
|
4
|
+
from .logresponse import LogResponse
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
class PutResourcePolicyResponse(LogResponse):
|
|
8
|
+
def __init__(self, header: Dict[str, Any], resp: Any = ...) -> None: ...
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class GetResourcePolicyResponse(LogResponse):
|
|
12
|
+
resource_type: str
|
|
13
|
+
resource_name: str
|
|
14
|
+
policy_document: str
|
|
15
|
+
revision: int
|
|
16
|
+
create_time: int
|
|
17
|
+
update_time: int
|
|
18
|
+
def __init__(self, resp: Dict[str, Any], header: Dict[str, Any]) -> None: ...
|
|
19
|
+
def get_resource_type(self) -> str: ...
|
|
20
|
+
def get_resource_name(self) -> str: ...
|
|
21
|
+
def get_policy_document(self) -> str: ...
|
|
22
|
+
def get_revision(self) -> int: ...
|
|
23
|
+
def get_create_time(self) -> int: ...
|
|
24
|
+
def get_update_time(self) -> int: ...
|
|
25
|
+
def log_print(self) -> None: ...
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
class DeleteResourcePolicyResponse(LogResponse):
|
|
29
|
+
def __init__(self, header: Dict[str, Any], resp: Any = ...) -> None: ...
|
|
@@ -77,6 +77,7 @@ aliyun/log/logrequest.py
|
|
|
77
77
|
aliyun/log/logresponse.py
|
|
78
78
|
aliyun/log/logresponse.pyi
|
|
79
79
|
aliyun/log/logstore_config_response.py
|
|
80
|
+
aliyun/log/logstore_config_response.pyi
|
|
80
81
|
aliyun/log/logtail_config_detail.py
|
|
81
82
|
aliyun/log/logtail_config_response.py
|
|
82
83
|
aliyun/log/logtail_pipeline_config_detail.py
|
|
@@ -106,6 +107,10 @@ aliyun/log/queriedlog.py
|
|
|
106
107
|
aliyun/log/queriedlog.pyi
|
|
107
108
|
aliyun/log/rebuild_index_response.py
|
|
108
109
|
aliyun/log/resource_params.py
|
|
110
|
+
aliyun/log/resource_policy.py
|
|
111
|
+
aliyun/log/resource_policy.pyi
|
|
112
|
+
aliyun/log/resource_policy_response.py
|
|
113
|
+
aliyun/log/resource_policy_response.pyi
|
|
109
114
|
aliyun/log/resource_response.py
|
|
110
115
|
aliyun/log/scheduled_sql.py
|
|
111
116
|
aliyun/log/scheduled_sql_response.py
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/_proto_py2/__init__.py
RENAMED
|
File without changes
|
{aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/_proto_py2/log_logs_pb2.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/async_sql_response.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/consumer/__init__.py
RENAMED
|
File without changes
|
{aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/consumer/__init__.pyi
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/consumer/config.pyi
RENAMED
|
File without changes
|
{aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/consumer/consumer_client.py
RENAMED
|
File without changes
|
{aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/consumer/exceptions.py
RENAMED
|
File without changes
|
|
File without changes
|
{aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/consumer/heart_beat.py
RENAMED
|
File without changes
|
{aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/consumer/preprocessor.py
RENAMED
|
File without changes
|
|
File without changes
|
{aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/consumer/shard_worker.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/consumer/worker.pyi
RENAMED
|
File without changes
|
{aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/consumer_group_request.py
RENAMED
|
File without changes
|
{aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/consumer_group_response.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/cursor_response.pyi
RENAMED
|
File without changes
|
{aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/cursor_time_response.py
RENAMED
|
File without changes
|
{aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/cursor_time_response.pyi
RENAMED
|
File without changes
|
{aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/delete_async_sql_request.py
RENAMED
|
File without changes
|
{aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/deletelogsrequest.py
RENAMED
|
File without changes
|
{aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/deletelogssresponse.py
RENAMED
|
File without changes
|
{aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/deletelogsv2request.py
RENAMED
|
File without changes
|
{aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/deletelogsv2request.pyi
RENAMED
|
File without changes
|
{aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/deletelogsv2response.py
RENAMED
|
File without changes
|
{aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/deletelogsv2response.pyi
RENAMED
|
File without changes
|
{aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/es_migration/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/es_migration/util.py
RENAMED
|
File without changes
|
{aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/etl_config_response.py
RENAMED
|
File without changes
|
{aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/etl_core/__init__.py
RENAMED
|
File without changes
|
{aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/etl_core/config_parser.py
RENAMED
|
File without changes
|
{aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/etl_core/etl_util.py
RENAMED
|
File without changes
|
{aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/etl_core/exceptions.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{aliyun_log_python_sdk-0.9.48 → aliyun_log_python_sdk-0.9.50}/aliyun/log/etl_core/settings.py
RENAMED
|
File without changes
|
|
File without changes
|