フローで実行中の実行を停止します。
操作説明
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
fnf:StopExecution |
update |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| FlowName |
string |
必須 |
停止するワークフローの名前。 ListFlows 操作を呼び出して、このパラメーターの値を取得できます。 |
flow |
| ExecutionName |
string |
必須 |
停止する実行の名前。 ListExecutions 操作を呼び出して、このパラメーターの値を取得できます。 |
exec |
| Cause |
string |
任意 |
実行を停止する理由。 値の長さは 1~4,096 文字である必要があります。 |
for test |
| Error |
string |
任意 |
実行を停止するためのエラーコード。 エラーコードの長さは 1~128 文字である必要があります。 |
nill |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
応答のスキーマ。 |
||
| Status |
string |
実行ステータス。 有効な値:
|
Running |
| StoppedTime |
string |
実行が停止した時間。 |
2019-01-01T01:01:01.001Z |
| RequestId |
string |
リクエスト ID。 |
testRequestId |
| StartedTime |
string |
実行が開始された時間。 |
2019-01-01T01:01:01.001Z |
| FlowDefinition |
string |
フローの定義。 |
version: v1.0\ntype: flow\nname: test\nsteps:\n - type: pass\n name: mypass |
| Output |
string |
JSON 形式の実行結果。 |
{"key":"value"} |
| FlowName |
string |
フローの名前。 |
flow |
| Name |
string |
実行の名前。 |
exec |
| Input |
string |
JSON 形式の実行の入力。 |
{"key":"value"} |
| RoleArn |
string |
フローを実行したロールの Alibaba Cloud リソース名 (ARN)。 フローの実行中にフロー定義の RoleArn が変更された場合、システムは元の RoleArn のスナップショットを記録して返します。 説明
リクエストパラメーターで RoleArn パラメーターを指定しない場合、レスポンスパラメーターには RoleArn パラメーターは含まれません。 |
acs:ram:${region}:${accountID}:${role} |
例
成功レスポンス
JSONJSON
{
"Status": "Running",
"StoppedTime": "2019-01-01T01:01:01.001Z",
"RequestId": "testRequestId",
"StartedTime": "2019-01-01T01:01:01.001Z",
"FlowDefinition": "version: v1.0\\ntype: flow\\nname: test\\nsteps:\\n - type: pass\\n name: mypass",
"Output": "{\"key\":\"value\"}",
"FlowName": "flow",
"Name": "exec",
"Input": "{\"key\":\"value\"}",
"RoleArn": "acs:ram:${region}:${accountID}:${role}"
}
エラーコード
|
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 | ExecutionAlreadyCompleted | Execution '%s' for flow '%s' has already completed. | |
| 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. | |
| 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 | 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". | |
| 429 | ResourceThrottled | The request is throttled. Please try again later. | |
| 409 | ConcurrentUpdateError | Update conflict, please retry. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。