フローログをアクティブ化し、指定されたリソースのトラフィックのキャプチャを開始します。
操作説明
- ActiveFlowLog 操作は非同期です。この操作を呼び出すと、システムはリクエスト ID を返しますが、アクティブ化タスクがバックグラウンドで実行中のため、フローログはまだアクティブ化されていません。 DescribeFlowLogs を呼び出して、フローログのアクティブ化ステータスをクエリできます:
フローログが Activating 状態の場合、フローログはアクティブ化中です。
フローログが Active 状態の場合、フローログはアクティブ化されています。
ActiveFlowLog 操作は、同じフローログの同時アクティブ化をサポートしていません。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
vpc:ActiveFlowLog |
update |
*FlowLog
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RegionId |
string |
必須 |
フローログのリージョン ID。 DescribeRegions を呼び出してリージョン ID をクエリできます。 |
cn-qingdao |
| FlowLogId |
string |
必須 |
フローログ ID。 |
fl-m5e8vhz2t21sel1nq**** |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| Success |
string |
呼び出しが成功したかどうかを示します。
|
true |
| RequestId |
string |
リクエスト ID。 |
F7DDDC17-FA06-4AC2-8F35-59D2470FCFC1 |
例
成功レスポンス
JSONJSON
{
"Success": "true",
"RequestId": "F7DDDC17-FA06-4AC2-8F35-59D2470FCFC1"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | IncorrectBusinessStatus.FlowLog | The business status of flowLog is incorrect. | |
| 400 | InvalidInstanceId | Instance does not exist. | |
| 400 | InvalidStatus | Current instance status is not valid for this action. | |
| 400 | InvalidRegionId.NotFound | The RegionId provided does not exist in our records. | |
| 400 | InvalidInstanceId.NotFound | The specfied instance is not existed. | |
| 400 | IncorrectStatus.flowlog | Invalid flowlog status. | |
| 400 | Forbidden.OperateManagedFlowLog | Authentication is failed for operate managed flowlog. | |
| 400 | OperationDenied.FlowLogDeliverFailed | The operation is not allowed due to an invalid delivery address. | |
| 400 | OperationDenied.NisTrafficAnalyzerAggregationIntervalMismatch | The sampling interval of the FlowLog is greater than the sampling interval of the NIS Traffic Analyzer. | |
| 400 | OperationDenied.NisTrafficAnalyzerNotActive | The specified NIS Traffic Analyzer is not enabled. | |
| 400 | OperationDenied.NisTrafficAnalyzerNotFound | The specified NIS Traffic Analyzer does not exist. | |
| 400 | OperationFailed.InternalError | The request processing has failed due to some unknown error. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。