获取指定执行过程中的每个步骤详细信息。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
下表是API对应的授权信息,可以在RAM权限策略语句的Action
元素中使用,用来给RAM用户或RAM角色授予调用此API的权限。具体说明如下:
- 操作:是指具体的权限点。
- 访问级别:是指每个操作的访问级别,取值为写入(Write)、读取(Read)或列出(List)。
- 资源类型:是指操作中支持授权的资源类型。具体说明如下:
- 对于必选的资源类型,用前面加 * 表示。
- 对于不支持资源级授权的操作,用
全部资源
表示。
- 条件关键字:是指云产品自身定义的条件关键字。
- 关联操作:是指成功执行操作所需要的其他权限。操作者必须同时具备关联操作的权限,操作才能成功。
操作 | 访问级别 | 资源类型 | 条件关键字 | 关联操作 |
---|---|---|---|---|
fnf:GetExecutionHistory | create | *全部资源 * |
| 无 |
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
FlowName | string | 是 | 流程名称。 | my_flow_name |
ExecutionName | string | 是 | 执行名称。 | my_exec_name |
NextToken | string | 否 | Event 查询开始名称,根据本接口返回获取。 | flow_xxx |
Limit | integer | 否 | 查询数量。取值范围[1,1000),默认值为 60。 | 1 |
返回参数
示例
正常返回示例
JSON
格式
{
"NextToken": "3",
"RequestId": "testRequestId",
"Events": [
{
"Type": "TaskSucceeded",
"EventId": 2,
"Time": "2019-01-01T01:01:01.001Z",
"ScheduleEventId": 1,
"EventDetail": "{}",
"StepName": "passStep"
}
]
}
错误码
HTTP status code | 错误码 | 错误信息 | 描述 |
---|---|---|---|
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. | AccessKey ID无效。 |
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. | 您发起请求的签名与我们计算不一致,请检查您的签名算法及AccessKey Secret。 |
404 | ExecutionNotExists | Execution %s for flow %s does not exist. | 所请求资源不存在,请确保流程已创建并存在待查询的执行。 |
404 | FlowNotExists | Flow %s does not exist. | 所请求资源不存在,请确保流程已创建。 |
415 | UnsupportedMediaType | The content type must be "application/json". | 请求消息体类型错误。 |
500 | InternalServerError | An internal error has occurred. Please retry. | 服务器内部错误。请稍后重试。 |
访问错误中心查看更多错误码。
变更历史
变更时间 | 变更内容概要 | 操作 |
---|---|---|
2024-03-21 | OpenAPI 错误码发生变更、OpenAPI 入参发生变更 | 查看变更详情 |