ListExecutions_云工作流_API文档

插件下载了解更多
VS Code 插件
安装插件之前,确保已安装 VS Code安装插件之前,确保已安装 VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains 插件
安装插件之前,确保已安装 JetBrains IDE安装插件之前,确保已安装 JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

接口说明

当您删除流程后,即便后续创建了同名流程,系统将不再支持查询原流程所有的执行历史。

流控信息

当前云产品API请求速率暂未透出。

授权信息

如下是此API对应的授权信息,用于RAM权限策略语句的Action元素中,为RAM用户或RAM角色授予调用此API的权限。请通过 RAM 访问控制设置,使用方法可参考访问控制帮助文档

具体说明如下:展开详情

操作访问级别资源类型条件关键字关联操作
fnf:ListExecutions
Get
全部资源
*

请求参数

字段名称字段详情
FlowNamestring

流程名称。该名称在同一地域内唯一,创建后不可修改。取值说明如下:展开详情

示例值:my_flow_name
NextTokenstring

执行查询开始名称,根据本接口返回获取。首次查询非必填。

示例值:flow_xxx
Limitinteger<int32>

查询数量。取值范围[1,100],默认值为 60。

示例值:1
Statusstring

需要过滤的执行状态。取值说明如下:展开详情

示例值:Succeeded
StartedTimeBeginstring

筛选某个执行的起始时间后的所有执行,格式为 UTC RFC3339。

示例值:2020-12-02T02:39:20.402Z
StartedTimeEndstring

筛选某个执行的起始时间前的所有执行,格式为 UTC RFC3339。

示例值:2020-12-02T02:23:54.817Z
ExecutionNamePrefixstring

执行的名称前缀。

示例值:run
MetadataOnlyboolean

是否只返回执行的元数据。为 true 时,返回值中不包括 Flow 定义、Input 和 Output,为 false 时会返回全部数据

返回参数

字段名称字段详情
NextTokenstring

下个查询起始 Key,如无其他数据则不返回。展开详情

示例值:397aba96-4d85-11ef-9c97-************
RequestIdstring

请求 ID。

示例值:69AD2AA7-DB47-449B-941B-B14409DF****
Executionsarray<object>

执行信息。

返回示例

错误码

全局错误码
HTTP 状态码错误码错误信息操作
400
ActionNotSupported
The requested API operation '%s' is incorrect. Please check.诊断
400
APIVersionNotSupported
The requested API version '%s' is not supported yet. Please check.诊断
400
EntityTooLarge
The payload size exceeds maximum allowed size (%s bytes).诊断
400
InvalidArgument
Parameter error.诊断
400
MissingRequiredHeader
The HTTP header '%s' must be specified.诊断
400
MissingRequiredParams
The HTTP query '%s' must be specified.诊断
403
AccessDenied
The resources doesn't belong to you.诊断
403
InvalidAccessKeyID
The AccessKey ID %s is invalid.诊断
403
RequestTimeTooSkewed
The difference between the request time %s and the current time %s is too large.诊断
403
SignatureNotMatch
The request signature we calculated does not match the signature you provided. Check your access key and signing method.诊断
404
FlowNotExists
Flow %s does not exist.诊断
412
PreconditionFailed
The resource to be modified has been changed.诊断
415
UnsupportedMediaType
The content type must be "application/json".诊断
429
ResourceThrottled
The request is throttled. Please try again later.诊断
500
InternalServerError
An internal error has occurred. Please retry.诊断

变更历史

变更时间变更内容概要操作
2025-02-28
新增请求参数MetadataOnly
2024-03-21
删除请求参数RequestId
2022-02-24
变更返回参数

相关示例