aliyun-ice-manage
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseCategory: service
分类:服务
Intelligent Cloud Editing (ICE)
智能云编辑(ICE)
Validation
验证
bash
mkdir -p output/aliyun-ice-manage
python -m py_compile skills/media/ice/aliyun-ice-manage/scripts/list_openapi_meta_apis.py
echo "py_compile_ok" > output/aliyun-ice-manage/validate.txtPass criteria: command exits 0 and is generated.
output/aliyun-ice-manage/validate.txtbash
mkdir -p output/aliyun-ice-manage
python -m py_compile skills/media/ice/aliyun-ice-manage/scripts/list_openapi_meta_apis.py
echo "py_compile_ok" > output/aliyun-ice-manage/validate.txt通过标准:命令执行退出码为0,且生成文件。
output/aliyun-ice-manage/validate.txtOutput And Evidence
输出与证据
- Save API inventory and operation evidence under .
output/aliyun-ice-manage/ - Keep region, workflow IDs, job IDs, and request parameters in evidence files.
Use Alibaba Cloud OpenAPI (RPC) with official SDKs or OpenAPI Explorer to manage ICE resources.
Prefer metadata-first API discovery before mutate operations.
- 将API清单和操作证据保存至目录下。
output/aliyun-ice-manage/ - 在证据文件中保留地域(region)、工作流ID、任务ID以及请求参数。
使用阿里云OpenAPI(RPC)结合官方SDK或OpenAPI Explorer管理ICE资源。
在执行变更操作前,优先采用元数据优先的API发现方式。
Prerequisites
前置条件
- Prepare least-privilege RAM AccessKey/STS credentials.
- Confirm target region, input/output OSS locations, and workflow scope before changes.
- Query current state with read-only APIs before invoking processing jobs.
- 准备最小权限的RAM AccessKey/STS凭证。
- 在进行变更前,确认目标地域、输入/输出OSS存储位置以及工作流范围。
- 在调用处理任务前,使用只读API查询当前状态。
Workflow
工作流程
- Confirm target workflow/template and media input/output locations.
- Discover API names and required parameters via metadata and API Explorer.
- Validate prerequisite resources using read-only APIs.
- Submit and monitor processing jobs.
- Save outputs and evidence under .
output/aliyun-ice-manage/
- 确认目标工作流/模板以及媒体输入/输出位置。
- 通过元数据和API Explorer发现API名称及所需参数。
- 使用只读API验证前置资源。
- 提交并监控处理任务。
- 将输出结果和证据保存至目录下。
output/aliyun-ice-manage/
AccessKey Priority
AccessKey优先级
- Environment variables: /
ALIBABACLOUD_ACCESS_KEY_ID/ALIBABACLOUD_ACCESS_KEY_SECRET.ALIBABACLOUD_REGION_ID - Shared config file: .
~/.alibabacloud/credentials
If region is ambiguous, ask before write operations.
- 环境变量:/
ALIBABACLOUD_ACCESS_KEY_ID/ALIBABACLOUD_ACCESS_KEY_SECRET。ALIBABACLOUD_REGION_ID - 共享配置文件:。
~/.alibabacloud/credentials
若地域信息不明确,执行写入操作前需确认。
API Discovery
API发现
- Product code:
ice - Default API version:
2020-11-09 - Metadata source:
https://api.aliyun.com/meta/v1/products/ice/versions/2020-11-09/api-docs.json
- 产品编码:
ice - 默认API版本:
2020-11-09 - 元数据来源:
https://api.aliyun.com/meta/v1/products/ice/versions/2020-11-09/api-docs.json
Minimal Executable Quickstart
最简可执行快速开始
bash
python skills/media/ice/aliyun-ice-manage/scripts/list_openapi_meta_apis.pyOptional overrides:
bash
python skills/media/ice/aliyun-ice-manage/scripts/list_openapi_meta_apis.py \
--product-code ice \
--version 2020-11-09 \
--output-dir output/aliyun-ice-managebash
python skills/media/ice/aliyun-ice-manage/scripts/list_openapi_meta_apis.py可选覆盖参数:
bash
python skills/media/ice/aliyun-ice-manage/scripts/list_openapi_meta_apis.py \
--product-code ice \
--version 2020-11-09 \
--output-dir output/aliyun-ice-manageCommon Operation Mapping
常见操作映射
- Media info and metadata: ,
GetMediaInfo,SearchMediaUpdateMediaMeta - Workflow/template: ,
CreateMediaWorkflow,UpdateMediaWorkflowListMediaWorkflowExecutions - Job submission: ,
SubmitMediaProducingJob,SubmitBatchMediaProducingJobGetMediaProducingJob - Editing/material: ,
CreateSourceLocation,AddMediaGetDefaultMaterial - Task status/troubleshooting: ,
GetTaskInfo,ListJobsGetBatchMediaProducingJob
- 媒体信息与元数据:,
GetMediaInfo,SearchMediaUpdateMediaMeta - 工作流/模板:,
CreateMediaWorkflow,UpdateMediaWorkflowListMediaWorkflowExecutions - 任务提交:,
SubmitMediaProducingJob,SubmitBatchMediaProducingJobGetMediaProducingJob - 编辑/素材:,
CreateSourceLocation,AddMediaGetDefaultMaterial - 任务状态/排查:,
GetTaskInfo,ListJobsGetBatchMediaProducingJob
Output Policy
输出规则
Write all generated files and execution evidence under:
output/aliyun-ice-manage/所有生成的文件和执行证据需写入以下目录:
output/aliyun-ice-manage/References
参考资料
- Source list:
references/sources.md - Task templates:
references/templates.md
- 资源列表:
references/sources.md - 任务模板:
references/templates.md