実行のステータスをクエリします。この操作はロングポーリングをサポートしています。WaitTimeSeconds パラメーターは、最大待機時間を指定します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
fnf:DescribeExecution |
get |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| FlowName |
string |
必須 |
フローの名前。 |
my_flow_name |
| ExecutionName |
string |
必須 |
実行の名前。 |
my_exec_name |
| WaitTimeSeconds |
integer |
任意 |
ロングポーリングリクエストの最大待機時間 (秒)。有効な値: 0~60。
|
20 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
返されたデータ。 |
||
| Status |
string |
実行のステータス。有効な値:
|
Succeeded |
| StoppedTime |
string |
実行が停止した時間。 |
2019-01-01T01:01:01.001Z |
| RequestId |
string |
リクエスト ID。 |
testRequestId |
| StartedTime |
string |
実行が開始された時間。 |
2019-01-01T01:01:01.001Z |
| FlowDefinition |
string |
実行されたフローの定義。 |
旧版: "type: flow\nversion: v1\nname: my_flow_name\nsteps:\n - type: pass\n name: mypass" 新版: "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"} |
| Environment |
object |
フローの実行中に使用される環境変数のリスト。 |
|
| Variables |
array<object> |
フローの実行中に使用される環境変数のリスト。 |
|
|
object |
フローの実行中にアクセスできる変数のリスト。 |
||
| Name |
string |
変数の名前。 |
key |
| Value |
string |
変数の値。 |
value |
例
成功レスポンス
JSONJSON
{
"Status": "Succeeded",
"StoppedTime": "2019-01-01T01:01:01.001Z",
"RequestId": "testRequestId",
"StartedTime": "2019-01-01T01:01:01.001Z",
"FlowDefinition": "旧版:\n\"type: flow\\nversion: v1\\nname: my_flow_name\\nsteps:\\n - type: pass\\n name: mypass\"\n\n新版:\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\"}",
"Environment": {
"Variables": [
{
"Name": "key",
"Value": "value"
}
]
}
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 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. | |
| 400 | EntityTooLarge | The payload size exceeds maximum allowed size (%s bytes). | |
| 412 | PreconditionFailed | The resource to be modified has been changed. | |
| 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 doesn't belong to you. | |
| 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. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。