フローログの名前と説明を変更します。
操作説明
- ModifyFlowLogAttribute インターフェイスは非同期インターフェイスです。つまり、システムはリクエスト ID を返しますが、その時点でフローログの変更はまだ完了しておらず、バックグラウンドで変更処理が継続中です。DescribeFlowLogs を呼び出して、フローログの変更ステータスを確認できます。
フローログのステータスが Modifying の場合、変更処理中であることを示します。
フローログのステータスが Active または Inactive の場合、変更が成功したことを示します。
ModifyFlowLogAttribute インターフェイスでは、同一のフローログの属性を同時に複数回変更することはサポートされていません。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
vpc:ModifyFlowLogAttribute |
update |
*FlowLog
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RegionId |
string |
必須 |
フローログが作成されたリージョンの ID です。 最新のリージョンリストを取得するには、DescribeRegions 操作を呼び出してください。 |
cn-qingdao |
| FlowLogId |
string |
必須 |
フローログの ID です。 |
fl-m5e8vhz2t21sel1nq**** |
| FlowLogName |
string |
任意 |
フローログの新しい名前です。 名前の長さは 1~128 文字で、 |
myFlowlog |
| Description |
string |
任意 |
フローログの新しい説明です。 説明の長さは 1~256 文字で、 |
This is my Flowlog. |
| AggregationInterval |
integer |
任意 |
フローログの新しいサンプリング間隔です。単位:分。有効値:1、5、および 10。 |
1 |
| IpVersion |
string |
任意 |
IP アドレスのバージョンです。有効値:
|
IPv4 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
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 | ProjectOrLogstoreNotExist | The specified project or logstore does not exist. | |
| 400 | SourceProjectNotExist | The Source Project or logstore does not exist. | |
| 400 | Unauthorized | This api does not support sub user or role. | |
| 400 | InvalidInstanceId.NotFound | The specfied instance is not existed. | |
| 400 | RuleExist | The rule has already existed. | |
| 400 | InvalidHdMonitorStatus | Current instance status is not valid for this action. | |
| 400 | FlowLogNumberOverLimit | This user has reached the maximum instance number of flowlog. | |
| 400 | InvalidTrafficType.NotFound | Invalid traffic type. | |
| 400 | IncorrectStatus.flowlog | Invalid flowlog status. | |
| 400 | InvalidName.Malformed | The specified name is not valid. | |
| 400 | IllegalParam.AggregationInterval | The param of aggregationInterval is illegal. | |
| 400 | Forbidden.OperateManagedFlowLog | Authentication is failed for operate managed flowlog. | |
| 400 | UnsupportedFeature.IpVersion | The ipversion type is not supported. | |
| 400 | IllegalParam.IpVersion | The parameter of IpVersion is illegal. | |
| 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. | |
| 400 | OperationDenied.InvalidInstanceDeliverScope | When modifying the delivery purpose of the FlowLog instance or starting and stopping NIS traffic analysis, you specify the type of delivery that is not allowed. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。