1 個回答
- 最新
- 最多得票
- 最多評論
0
恐れ入りますが、SendCommand API は特定のコマンドを実行する API となっており、こちらの API よりそのコマンドの実行結果や、Status の更新結果を取得することはできません。
Runs commands on one or more managed nodes.
SendCommand API にて実行されたコマンドについて、Status の進行状況や、コマンドの実行結果を取得する場合には、 GetCommandInvocation API や ListCommandInvocations API などを使用し別途確認をいただく必要がございます。
ListCommandInvocations provide status about command execution.
Returns detailed information about command execution for an invocation or plugin.
つきまして、SendCommand API にて実行したコマンドのステータス状況について確認をいただく必要がございます場合は、定期的に GetCommandInvocation API 、または、 ListCommandInvocations API を実施いただき、別処理としてご確認いただけますと幸いでございます。
・AWS SDK for JavaScript: SSM - sendCommand
已回答 2 年前
相關內容
- AWS 官方已更新 1 年前
- AWS 官方已更新 4 個月前
- AWS 官方已更新 4 個月前