批量查询流程信息。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
fnf:ListFlows |
get |
*Flow
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| NextToken |
string |
否 |
流程查询开始名称。 |
flow_nextxxx |
| Limit |
integer |
否 |
查询数量。取值范围[1,1000),默认值为 60。 |
1 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
流程列表。 |
||
| NextToken |
string |
下次查询起始 Key,如果没有其他数据则不返回。 |
flow_nextxxx |
| RequestId |
string |
请求 ID。 |
testRequestId |
| Flows |
array<object> |
流程列表。 |
|
|
array<object> |
流程列表。 |
||
| Type |
string |
流程类型。 |
FDL |
| Definition |
string |
流程定义,遵循 FDL 语法标准。 |
version: v1.0\ntype: flow\nname: test\nsteps:\n - type: pass\n name: mypass |
| RoleArn |
string |
流程执行所需资源描述符信息。 |
acs:ram::${accountID}:${role} |
| Description |
string |
流程描述。 |
my test flow |
| Name |
string |
流程名称。 |
my_flow_name |
| CreatedTime |
string |
流程创建时间。 |
2019-01-01T01:01:01.001Z |
| LastModifiedTime |
string |
流程最后更改时间。 |
2019-01-01T01:01:01.001Z |
| Id |
string |
流程的唯一 ID。 |
e589e092-e2c0-4dee-b306-3574ddf5**** |
| ExecutionMode |
string |
执行模式,枚举类型,可以是 Express 和 Standard,空串等价于 Standard |
Standard |
| Environment |
object |
||
| Variables |
array<object> |
||
|
object |
|||
| Description |
string |
description |
|
| Name |
string |
key |
|
| Value |
string |
value |
示例
正常返回示例
JSON格式
{
"NextToken": "flow_nextxxx",
"RequestId": "testRequestId",
"Flows": [
{
"Type": "FDL",
"Definition": "version: v1.0\\ntype: flow\\nname: test\\nsteps:\\n - type: pass\\n name: mypass",
"RoleArn": "acs:ram::${accountID}:${role}",
"Description": "my test flow",
"Name": "my_flow_name",
"CreatedTime": "2019-01-01T01:01:01.001Z",
"LastModifiedTime": "2019-01-01T01:01:01.001Z",
"Id": "e589e092-e2c0-4dee-b306-3574ddf5****",
"ExecutionMode": "Standard",
"Environment": {
"Variables": [
{
"Description": "description",
"Name": "key",
"Value": "value"
}
]
}
}
]
}
错误码
|
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 | InvalidArgument | Parameter error. | 请求参数错误。具体内容请参考实际错误信息。 |
| 400 | MissingRequiredHeader | The HTTP header '%s' must be specified. | 请求所需参数缺失。具体内容请参考实际错误信息。 |
| 400 | MissingRequiredParams | The HTTP query '%s' must be specified. | 请求所需参数缺失。具体内容请参考实际错误信息。 |
| 500 | InternalServerError | An internal error has occurred. Please retry. | 服务器内部错误。请稍后重试。 |
| 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。 |
| 415 | UnsupportedMediaType | The content type must be "application/json". | 请求消息体类型错误。 |
| 429 | ResourceThrottled | The request is throttled. Please try again later. | 因某些原因系统流量已达瓶颈。请稍后重试。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。