フローの実行を同期的に開始します。
操作説明
この操作は Express モードのフローのみをサポートします。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
fnf:StartSyncExecution |
update |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| FlowName |
string |
必須 |
実行するフローの名前。 |
my_flow_name |
| ExecutionName |
string |
任意 |
実行の名前。名前は次の要件を満たす必要があります。
StartExecution 操作とは異なり、同期呼び出しの実行名はフロー内で一意である必要はありません。実行名を指定して実行を識別できます。システムは `{ExecutionName}:{UUID}` フォーマットで名前に UUID を追加します。実行名を指定しない場合、システムは自動的に名前を生成します。 |
my_exec_name |
| Input |
string |
任意 |
実行の入力。入力は JSON フォーマットである必要があります。 |
{"key":"value"} |
| Qualifier |
string |
任意 |
フローのバージョンまたはエイリアス。 |
1 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| RequestId |
string |
リクエスト ID。 |
testRequestId |
| FlowName |
string |
フローの名前。 |
my_flow_name |
| Name |
string |
フロー実行の名前。 |
my_exec_name:{UUID} |
| Status |
string |
実行のステータス。有効な値:
|
Succeeded |
| ErrorCode |
string |
実行が失敗した場合に返されるエラーコード。 |
ActionNotSupported |
| ErrorMessage |
string |
実行がタイムアウトしました。 |
Standard execution is not supported |
| Output |
string |
実行の出力。JSON オブジェクトです。 |
{"key":"value"} |
| StartedTime |
string |
実行が開始された時間。 |
2019-01-01T01:01:01.001Z |
| StoppedTime |
string |
実行が停止した時間。 |
2019-01-01T01:01:01.001Z |
| Environment |
object |
フローの実行中に使用される環境変数。 |
|
| Variables |
array<object> |
環境変数のリスト。 |
|
|
object |
フローの実行中にアクセス可能な変数。 |
||
| Name |
string |
変数の名前。 |
key |
| Value |
string |
変数の値。 |
value |
例
成功レスポンス
JSONJSON
{
"RequestId": "testRequestId",
"FlowName": "my_flow_name",
"Name": "my_exec_name:{UUID}",
"Status": "Succeeded",
"ErrorCode": "ActionNotSupported",
"ErrorMessage": "Standard execution is not supported",
"Output": "{\"key\":\"value\"}",
"StartedTime": "2019-01-01T01:01:01.001Z",
"StoppedTime": "2019-01-01T01:01:01.001Z",
"Environment": {
"Variables": [
{
"Name": "key",
"Value": "value"
}
]
}
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | EntityTooLarge | The payload size exceeds maximum allowed size (%s bytes). | |
| 400 | ExecutionAlreadyExists | Execution %s for flow %s already exists. | |
| 400 | InvalidArgument | Parameter error. | |
| 400 | MissingRequiredHeader | The HTTP header '%s' must be specified. | |
| 400 | MissingRequiredParams | The HTTP query '%s' must be specified. | |
| 400 | ActionNotSupported | The requested API operation %s is incorrect. Please check. | |
| 400 | APIVersionNotSupported | The requested API version %s is not supported yet. Please check. | |
| 500 | InternalServerError | An internal error has occurred. Please retry. | |
| 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. | |
| 403 | AccessDenied | The resources does not belong to you. | |
| 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. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。