実行中のフローを停止します。
操作説明
操作の説明
フローは実行中である必要があります。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
fnf:StopExecution |
update |
*すべてのリソース。
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| FlowName |
string |
必須 |
停止するフローの名前。フロー名は、ListFlows 操作の応答から取得できます。 |
my_flow_name |
| ExecutionName |
string |
必須 |
停止する実行の名前。実行名は、ListExecutions 操作の応答から取得できます。 |
my_exec_name |
| Cause |
string |
任意 |
停止エラーの原因。値の長さは 1~4,096 文字である必要があります。 |
for test |
| Error |
string |
任意 |
停止操作のエラーコード。値の長さは 1~128 文字である必要があります。 |
InvalidArgument |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
応答データ。 |
||
| Status |
string |
実行のステータス。有効な値:
|
Running |
| StoppedTime |
string |
実行が停止された時間。時間は協定世界時 (UTC) で表示され、YYYY-MM-DDThh:mm:ss.sssZ フォーマットの ISO 8601 標準に従います。 |
2019-01-01T01:01:01.001Z |
| RequestId |
string |
リクエスト ID。 |
testRequestId |
| StartedTime |
string |
実行が開始された時間。時間は協定世界時 (UTC) で表示され、YYYY-MM-DDThh:mm:ss.sssZ フォーマットの ISO 8601 標準に従います。 |
2019-01-01T01:01:01.001Z |
| FlowDefinition |
string |
実行のフロー定義。 |
Legacy: "type: flow\nversion: v1\nname: my_flow_name\nsteps:\n - type: pass\n name: mypass" New version: "Type: StateMachine\nSpecVersion: v1\nName: my_flow_name\nStartAt: my_state\nStates:\n - Type: Pass\n Name: my_state\n End: true" |
| Output |
string |
実行の出力。JSON オブジェクトフォーマットです。 |
{"key":"value"} |
| FlowName |
string |
フローの名前。 |
my_flow_name |
| Name |
string |
実行の名前。 |
my_exec_name |
| Input |
string |
実行の入力。JSON オブジェクトフォーマットです。 |
{"key":"value"} |
| RoleArn |
string |
実行のロール権限構成。実行中にフロー定義内の 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": "Legacy version:\n\"type: flow\\nversion: v1\\nname: my_flow_name\\nsteps:\\n - type: pass\\n name: mypass\"\n\nNew version:\n\"Type: StateMachine\\nSpecVersion: v1\\nName: my_flow_name\\nStartAt: my_state\\nStates:\\n - Type: Pass\\n Name: my_state\\n End: true\"",
"Output": "{\"key\":\"value\"}",
"FlowName": "my_flow_name",
"Name": "my_exec_name",
"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. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。