Modifies the storage duration for logs.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:UpdateDataStorageTtl |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region of the Data Management Center for threat analysis. Select a region based on the location of your assets. Valid values:
|
cn-hangzhou |
| Lang |
string |
No |
The language of the response. Valid values:
|
zh |
| LogStoreName |
string |
No |
The name of the Logstore for threat analysis. |
network-activity |
| RoleFor |
integer |
No |
The user ID of the member whose perspective the administrator assumes. |
113091674488**** |
| LogStoreTtl |
string |
No |
The storage duration of the Logstore. |
180 |
| LogStoreHotTtl |
string |
No |
The storage duration for hot storage in Simple Log Service. |
180 |
| LogStoreColdTtl |
string |
No |
The storage duration for cold storage in Simple Log Service. This setting is not yet available. |
0 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| RequestId |
string |
The ID of the request. |
D92E4FCF-4584-5E50-9C02-26B79A9C**** |
Examples
Success response
JSON format
{
"RequestId": "D92E4FCF-4584-5E50-9C02-26B79A9C****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.