Queries usage information about the malicious file detection SDK.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:GetFileDetectApiInvokeInfo |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
9f368b6e-d60a-43c5-bd6f-c7087f2d**** |
| Data |
object |
The response data. |
|
| AuthCount |
integer |
The total number of authorizations. |
10000 |
| RemainAuthCount |
integer |
The number of remaining authorizations. |
900 |
| FlowRate |
integer |
The call frequency. |
20 |
| TimeUnit |
string |
The time unit of the frequency limit. Valid values:
|
SECONDS |
| Expire |
integer |
The expiration timestamp of the authorization quota. |
1815753600000 |
| SaleVersion |
integer |
The edition. Valid values:
|
2 |
| InvokeCount |
integer |
The number of authorizations used. |
10 |
| InvokeCountInSaleVersion |
integer |
The number of authorizations used (excluding trials). |
20 |
| AuthCountInSaleVersion |
integer |
The total number of authorizations (excluding trials). |
20 |
Examples
Success response
JSON format
{
"RequestId": "9f368b6e-d60a-43c5-bd6f-c7087f2d****",
"Data": {
"AuthCount": 10000,
"RemainAuthCount": 900,
"FlowRate": 20,
"TimeUnit": "SECONDS",
"Expire": 1815753600000,
"SaleVersion": 2,
"InvokeCount": 10,
"InvokeCountInSaleVersion": 20,
"AuthCountInSaleVersion": 20
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.