Calls the GetFlowLogServiceStatus operation to query the activation status of the flow log service.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vpc:GetFlowLogServiceStatus |
get |
*FlowLogService
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClientToken |
string |
No |
The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The ClientToken value can contain only ASCII characters. Note
If you do not specify this parameter, the system automatically uses the RequestId of the API request as the ClientToken. The RequestId of each API request may be different. |
123e4567-e89b-12d3-a456-426655440000 |
| RegionId |
string |
Yes |
The region ID of the flow log. You can call the DescribeRegions operation to query the region ID. |
cn-hangzhou |
| RegionId |
string |
Yes |
The region ID of the flow log. You can call the DescribeRegions operation to query the region ID. |
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
54B48E3D-DF70-471B-AA93-06F83A1B457 |
| Enabled |
boolean |
Indicates whether the flow log service is activated. Valid values:
|
true |
Examples
Success response
JSON format
{
"RequestId": "54B48E3D-DF70-471B-AA93-06F83A1B457",
"Enabled": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | Forbbiden | User not authorized to operate on the specified resource. | User not authorized to operate on the specified resource. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.