獲取一個(gè)流程的相關(guān)信息。
調(diào)試
您可以在OpenAPI Explorer中直接運(yùn)行該接口,免去您計(jì)算簽名的困擾。運(yùn)行成功后,OpenAPI Explorer可以自動(dòng)生成SDK代碼示例。
授權(quán)信息
當(dāng)前API暫無(wú)授權(quán)信息透出。
請(qǐng)求參數(shù)
名稱 | 類型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
Name | string | 是 | 流程名稱。 | my_flow_name |
返回參數(shù)
示例
正常返回示例
JSON
格式
{
"Type": "FDL",
"Definition": "舊版:\n\"\ntype: flow\nversion: v1\nname: my_flow_name\nsteps:\n - type: pass\n name: mypass\n\"\n\n新版:\n\"\nType: StateMachine\nSpecVersion: v1\nName: my_flow_name\nStartAt: my_state\nStates:\n - Type: Pass\n Name: my_state\n End: true\n\"",
"RoleArn": "acs:ram:${region}:${accountID}:${role}",
"RequestId": "testRequestId",
"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-3574ddfdddf5****",
"ExecutionMode": "Standard"
}
錯(cuò)誤碼
HTTP status code | 錯(cuò)誤碼 | 錯(cuò)誤信息 | 描述 |
---|---|---|---|
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). | 請(qǐng)求消息體過(guò)大。 |
400 | InvalidArgument | Parameter error. | 請(qǐng)求參數(shù)錯(cuò)誤。具體內(nèi)容請(qǐng)參考實(shí)際錯(cuò)誤信息。 |
400 | MissingRequiredHeader | The HTTP header '%s' must be specified. | 請(qǐng)求所需參數(shù)缺失。具體內(nèi)容請(qǐng)參考實(shí)際錯(cuò)誤信息。 |
400 | MissingRequiredParams | The HTTP query '%s' must be specified. | 請(qǐng)求所需參數(shù)缺失。具體內(nèi)容請(qǐng)參考實(shí)際錯(cuò)誤信息。 |
403 | AccessDenied | The resources doesn't belong to you. | - |
403 | InvalidAccessKeyID | The AccessKey ID %s is invalid. | AccessKey ID無(wú)效。 |
403 | RequestTimeTooSkewed | The difference between the request time %s and the current time %s is too large. | 您的請(qǐng)求時(shí)間不正確,該請(qǐng)求已被識(shí)別為無(wú)效。請(qǐng)參考通用參數(shù)一節(jié)。 |
403 | SignatureNotMatch | The request signature we calculated does not match the signature you provided. Check your access key and signing method. | 您發(fā)起請(qǐng)求的簽名與我們計(jì)算不一致,請(qǐng)檢查您的簽名算法及AccessKey Secret。 |
404 | FlowNotExists | Flow %s does not exist. | 所請(qǐng)求資源不存在,請(qǐng)確保流程已創(chuàng)建。 |
412 | PreconditionFailed | The resource to be modified has been changed. | 資源查看或更新檢查失敗,該資源可能已被更改。請(qǐng)稍后重試。 |
415 | UnsupportedMediaType | The content type must be "application/json". | 請(qǐng)求消息體類型錯(cuò)誤。 |
429 | ResourceThrottled | The request is throttled. Please try again later. | 因某些原因系統(tǒng)流量已達(dá)瓶頸。請(qǐng)稍后重試。 |
500 | InternalServerError | An internal error has occurred. Please retry. | 服務(wù)器內(nèi)部錯(cuò)誤。請(qǐng)稍后重試。 |
訪問(wèn)錯(cuò)誤中心查看更多錯(cuò)誤碼。
變更歷史
變更時(shí)間 | 變更內(nèi)容概要 | 操作 | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2024-03-20 | OpenAPI 錯(cuò)誤碼發(fā)生變更、OpenAPI 入?yún)l(fā)生變更 | 看變更集 | ||||||||||||||||||||
| ||||||||||||||||||||||
2023-08-29 | OpenAPI 錯(cuò)誤碼發(fā)生變更、OpenAPI 返回結(jié)構(gòu)發(fā)生變更 | 看變更集 | ||||||||||||||||||||
|