aliyun-ice-manage

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese
Category: 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.txt
Pass criteria: command exits 0 and
output/aliyun-ice-manage/validate.txt
is generated.
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.txt
通过标准:命令执行退出码为0,且生成
output/aliyun-ice-manage/validate.txt
文件。

Output 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

工作流程

  1. Confirm target workflow/template and media input/output locations.
  2. Discover API names and required parameters via metadata and API Explorer.
  3. Validate prerequisite resources using read-only APIs.
  4. Submit and monitor processing jobs.
  5. Save outputs and evidence under
    output/aliyun-ice-manage/
    .
  1. 确认目标工作流/模板以及媒体输入/输出位置。
  2. 通过元数据和API Explorer发现API名称及所需参数。
  3. 使用只读API验证前置资源。
  4. 提交并监控处理任务。
  5. 将输出结果和证据保存至
    output/aliyun-ice-manage/
    目录下。

AccessKey Priority

AccessKey优先级

  1. Environment variables:
    ALIBABACLOUD_ACCESS_KEY_ID
    /
    ALIBABACLOUD_ACCESS_KEY_SECRET
    /
    ALIBABACLOUD_REGION_ID
    .
  2. Shared config file:
    ~/.alibabacloud/credentials
    .
If region is ambiguous, ask before write operations.
  1. 环境变量:
    ALIBABACLOUD_ACCESS_KEY_ID
    /
    ALIBABACLOUD_ACCESS_KEY_SECRET
    /
    ALIBABACLOUD_REGION_ID
  2. 共享配置文件:
    ~/.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.py
Optional 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-manage
bash
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-manage

Common Operation Mapping

常见操作映射

  • Media info and metadata:
    GetMediaInfo
    ,
    SearchMedia
    ,
    UpdateMediaMeta
  • Workflow/template:
    CreateMediaWorkflow
    ,
    UpdateMediaWorkflow
    ,
    ListMediaWorkflowExecutions
  • Job submission:
    SubmitMediaProducingJob
    ,
    SubmitBatchMediaProducingJob
    ,
    GetMediaProducingJob
  • Editing/material:
    CreateSourceLocation
    ,
    AddMedia
    ,
    GetDefaultMaterial
  • Task status/troubleshooting:
    GetTaskInfo
    ,
    ListJobs
    ,
    GetBatchMediaProducingJob
  • 媒体信息与元数据:
    GetMediaInfo
    ,
    SearchMedia
    ,
    UpdateMediaMeta
  • 工作流/模板:
    CreateMediaWorkflow
    ,
    UpdateMediaWorkflow
    ,
    ListMediaWorkflowExecutions
  • 任务提交:
    SubmitMediaProducingJob
    ,
    SubmitBatchMediaProducingJob
    ,
    GetMediaProducingJob
  • 编辑/素材:
    CreateSourceLocation
    ,
    AddMedia
    ,
    GetDefaultMaterial
  • 任务状态/排查:
    GetTaskInfo
    ,
    ListJobs
    ,
    GetBatchMediaProducingJob

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