alibabacloud-sls20201230 4.2.0__tar.gz → 4.2.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (17) hide show
  1. {alibabacloud_sls20201230-4.2.0 → alibabacloud_sls20201230-4.2.1}/ChangeLog.md +3 -0
  2. {alibabacloud_sls20201230-4.2.0 → alibabacloud_sls20201230-4.2.1}/PKG-INFO +1 -1
  3. alibabacloud_sls20201230-4.2.1/alibabacloud_sls20201230/__init__.py +1 -0
  4. {alibabacloud_sls20201230-4.2.0 → alibabacloud_sls20201230-4.2.1}/alibabacloud_sls20201230/client.py +8 -0
  5. {alibabacloud_sls20201230-4.2.0 → alibabacloud_sls20201230-4.2.1}/alibabacloud_sls20201230/models.py +18 -0
  6. {alibabacloud_sls20201230-4.2.0 → alibabacloud_sls20201230-4.2.1}/alibabacloud_sls20201230.egg-info/PKG-INFO +1 -1
  7. alibabacloud_sls20201230-4.2.0/alibabacloud_sls20201230/__init__.py +0 -1
  8. {alibabacloud_sls20201230-4.2.0 → alibabacloud_sls20201230-4.2.1}/LICENSE +0 -0
  9. {alibabacloud_sls20201230-4.2.0 → alibabacloud_sls20201230-4.2.1}/MANIFEST.in +0 -0
  10. {alibabacloud_sls20201230-4.2.0 → alibabacloud_sls20201230-4.2.1}/README-CN.md +0 -0
  11. {alibabacloud_sls20201230-4.2.0 → alibabacloud_sls20201230-4.2.1}/README.md +0 -0
  12. {alibabacloud_sls20201230-4.2.0 → alibabacloud_sls20201230-4.2.1}/alibabacloud_sls20201230.egg-info/SOURCES.txt +0 -0
  13. {alibabacloud_sls20201230-4.2.0 → alibabacloud_sls20201230-4.2.1}/alibabacloud_sls20201230.egg-info/dependency_links.txt +0 -0
  14. {alibabacloud_sls20201230-4.2.0 → alibabacloud_sls20201230-4.2.1}/alibabacloud_sls20201230.egg-info/requires.txt +0 -0
  15. {alibabacloud_sls20201230-4.2.0 → alibabacloud_sls20201230-4.2.1}/alibabacloud_sls20201230.egg-info/top_level.txt +0 -0
  16. {alibabacloud_sls20201230-4.2.0 → alibabacloud_sls20201230-4.2.1}/setup.cfg +0 -0
  17. {alibabacloud_sls20201230-4.2.0 → alibabacloud_sls20201230-4.2.1}/setup.py +0 -0
@@ -1,3 +1,6 @@
1
+ 2023-12-27 Version: 4.2.0
2
+ - Generated python 2020-12-30 for Sls.
3
+
1
4
  2023-12-07 Version: 4.1.2
2
5
  - Generated python 2020-12-30 for Sls.
3
6
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud_sls20201230
3
- Version: 4.2.0
3
+ Version: 4.2.1
4
4
  Summary: Alibaba Cloud Log Service (20201230) SDK Library for Python
5
5
  Home-page: https://github.com/aliyun/alibabacloud-python-sdk
6
6
  Author: Alibaba Cloud SDK
@@ -0,0 +1 @@
1
+ __version__ = '4.2.1'
@@ -1054,6 +1054,8 @@ class Client(OpenApiClient):
1054
1054
  body['encrypt_conf'] = request.encrypt_conf
1055
1055
  if not UtilClient.is_unset(request.hot_ttl):
1056
1056
  body['hot_ttl'] = request.hot_ttl
1057
+ if not UtilClient.is_unset(request.infrequent_access_ttl):
1058
+ body['infrequentAccessTTL'] = request.infrequent_access_ttl
1057
1059
  if not UtilClient.is_unset(request.logstore_name):
1058
1060
  body['logstoreName'] = request.logstore_name
1059
1061
  if not UtilClient.is_unset(request.max_split_shard):
@@ -1117,6 +1119,8 @@ class Client(OpenApiClient):
1117
1119
  body['encrypt_conf'] = request.encrypt_conf
1118
1120
  if not UtilClient.is_unset(request.hot_ttl):
1119
1121
  body['hot_ttl'] = request.hot_ttl
1122
+ if not UtilClient.is_unset(request.infrequent_access_ttl):
1123
+ body['infrequentAccessTTL'] = request.infrequent_access_ttl
1120
1124
  if not UtilClient.is_unset(request.logstore_name):
1121
1125
  body['logstoreName'] = request.logstore_name
1122
1126
  if not UtilClient.is_unset(request.max_split_shard):
@@ -10132,6 +10136,8 @@ class Client(OpenApiClient):
10132
10136
  body['encrypt_conf'] = request.encrypt_conf
10133
10137
  if not UtilClient.is_unset(request.hot_ttl):
10134
10138
  body['hot_ttl'] = request.hot_ttl
10139
+ if not UtilClient.is_unset(request.infrequent_access_ttl):
10140
+ body['infrequentAccessTTL'] = request.infrequent_access_ttl
10135
10141
  if not UtilClient.is_unset(request.logstore_name):
10136
10142
  body['logstoreName'] = request.logstore_name
10137
10143
  if not UtilClient.is_unset(request.max_split_shard):
@@ -10197,6 +10203,8 @@ class Client(OpenApiClient):
10197
10203
  body['encrypt_conf'] = request.encrypt_conf
10198
10204
  if not UtilClient.is_unset(request.hot_ttl):
10199
10205
  body['hot_ttl'] = request.hot_ttl
10206
+ if not UtilClient.is_unset(request.infrequent_access_ttl):
10207
+ body['infrequentAccessTTL'] = request.infrequent_access_ttl
10200
10208
  if not UtilClient.is_unset(request.logstore_name):
10201
10209
  body['logstoreName'] = request.logstore_name
10202
10210
  if not UtilClient.is_unset(request.max_split_shard):
@@ -1931,6 +1931,7 @@ class Logstore(TeaModel):
1931
1931
  enable_tracking: bool = None,
1932
1932
  encrypt_conf: EncryptConf = None,
1933
1933
  hot_ttl: int = None,
1934
+ infrequent_access_ttl: int = None,
1934
1935
  last_modify_time: int = None,
1935
1936
  logstore_name: str = None,
1936
1937
  max_split_shard: int = None,
@@ -1946,6 +1947,7 @@ class Logstore(TeaModel):
1946
1947
  self.enable_tracking = enable_tracking
1947
1948
  self.encrypt_conf = encrypt_conf
1948
1949
  self.hot_ttl = hot_ttl
1950
+ self.infrequent_access_ttl = infrequent_access_ttl
1949
1951
  self.last_modify_time = last_modify_time
1950
1952
  self.logstore_name = logstore_name
1951
1953
  self.max_split_shard = max_split_shard
@@ -1977,6 +1979,8 @@ class Logstore(TeaModel):
1977
1979
  result['encrypt_conf'] = self.encrypt_conf.to_map()
1978
1980
  if self.hot_ttl is not None:
1979
1981
  result['hot_ttl'] = self.hot_ttl
1982
+ if self.infrequent_access_ttl is not None:
1983
+ result['infrequentAccessTTL'] = self.infrequent_access_ttl
1980
1984
  if self.last_modify_time is not None:
1981
1985
  result['lastModifyTime'] = self.last_modify_time
1982
1986
  if self.logstore_name is not None:
@@ -2010,6 +2014,8 @@ class Logstore(TeaModel):
2010
2014
  self.encrypt_conf = temp_model.from_map(m['encrypt_conf'])
2011
2015
  if m.get('hot_ttl') is not None:
2012
2016
  self.hot_ttl = m.get('hot_ttl')
2017
+ if m.get('infrequentAccessTTL') is not None:
2018
+ self.infrequent_access_ttl = m.get('infrequentAccessTTL')
2013
2019
  if m.get('lastModifyTime') is not None:
2014
2020
  self.last_modify_time = m.get('lastModifyTime')
2015
2021
  if m.get('logstoreName') is not None:
@@ -3152,6 +3158,7 @@ class CreateLogStoreRequest(TeaModel):
3152
3158
  enable_tracking: bool = None,
3153
3159
  encrypt_conf: EncryptConf = None,
3154
3160
  hot_ttl: int = None,
3161
+ infrequent_access_ttl: int = None,
3155
3162
  logstore_name: str = None,
3156
3163
  max_split_shard: int = None,
3157
3164
  mode: str = None,
@@ -3180,6 +3187,7 @@ class CreateLogStoreRequest(TeaModel):
3180
3187
  #
3181
3188
  # Hot data that is stored for longer than the period specified by hot_ttl is converted to cold data. For more information, see [Enable hot and cold-tiered storage for a Logstore](~~308645~~).
3182
3189
  self.hot_ttl = hot_ttl
3190
+ self.infrequent_access_ttl = infrequent_access_ttl
3183
3191
  # The name of the Logstore. The name must meet the following requirements:
3184
3192
  #
3185
3193
  # * The name must be unique in a project.
@@ -3228,6 +3236,8 @@ class CreateLogStoreRequest(TeaModel):
3228
3236
  result['encrypt_conf'] = self.encrypt_conf.to_map()
3229
3237
  if self.hot_ttl is not None:
3230
3238
  result['hot_ttl'] = self.hot_ttl
3239
+ if self.infrequent_access_ttl is not None:
3240
+ result['infrequentAccessTTL'] = self.infrequent_access_ttl
3231
3241
  if self.logstore_name is not None:
3232
3242
  result['logstoreName'] = self.logstore_name
3233
3243
  if self.max_split_shard is not None:
@@ -3255,6 +3265,8 @@ class CreateLogStoreRequest(TeaModel):
3255
3265
  self.encrypt_conf = temp_model.from_map(m['encrypt_conf'])
3256
3266
  if m.get('hot_ttl') is not None:
3257
3267
  self.hot_ttl = m.get('hot_ttl')
3268
+ if m.get('infrequentAccessTTL') is not None:
3269
+ self.infrequent_access_ttl = m.get('infrequentAccessTTL')
3258
3270
  if m.get('logstoreName') is not None:
3259
3271
  self.logstore_name = m.get('logstoreName')
3260
3272
  if m.get('maxSplitShard') is not None:
@@ -11630,6 +11642,7 @@ class UpdateLogStoreRequest(TeaModel):
11630
11642
  enable_tracking: bool = None,
11631
11643
  encrypt_conf: EncryptConf = None,
11632
11644
  hot_ttl: int = None,
11645
+ infrequent_access_ttl: int = None,
11633
11646
  logstore_name: str = None,
11634
11647
  max_split_shard: int = None,
11635
11648
  mode: str = None,
@@ -11656,6 +11669,7 @@ class UpdateLogStoreRequest(TeaModel):
11656
11669
  self.encrypt_conf = encrypt_conf
11657
11670
  # The retention period of data in the hot storage tier of the Logstore. Minimum value: 30. Unit: day. You can specify a value that ranges from 30 to the value of ttl. Hot data that is stored for longer than the period specified by hot_ttl is converted to cold data. For more information, see [Enable hot and cold-tiered storage for a Logstore](~~308645~~).
11658
11671
  self.hot_ttl = hot_ttl
11672
+ self.infrequent_access_ttl = infrequent_access_ttl
11659
11673
  # The name of the Logstore.
11660
11674
  self.logstore_name = logstore_name
11661
11675
  # The maximum number of shards into which existing shards can be automatically split. Valid values: 1 to 64.
@@ -11699,6 +11713,8 @@ class UpdateLogStoreRequest(TeaModel):
11699
11713
  result['encrypt_conf'] = self.encrypt_conf.to_map()
11700
11714
  if self.hot_ttl is not None:
11701
11715
  result['hot_ttl'] = self.hot_ttl
11716
+ if self.infrequent_access_ttl is not None:
11717
+ result['infrequentAccessTTL'] = self.infrequent_access_ttl
11702
11718
  if self.logstore_name is not None:
11703
11719
  result['logstoreName'] = self.logstore_name
11704
11720
  if self.max_split_shard is not None:
@@ -11726,6 +11742,8 @@ class UpdateLogStoreRequest(TeaModel):
11726
11742
  self.encrypt_conf = temp_model.from_map(m['encrypt_conf'])
11727
11743
  if m.get('hot_ttl') is not None:
11728
11744
  self.hot_ttl = m.get('hot_ttl')
11745
+ if m.get('infrequentAccessTTL') is not None:
11746
+ self.infrequent_access_ttl = m.get('infrequentAccessTTL')
11729
11747
  if m.get('logstoreName') is not None:
11730
11748
  self.logstore_name = m.get('logstoreName')
11731
11749
  if m.get('maxSplitShard') is not None:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud-sls20201230
3
- Version: 4.2.0
3
+ Version: 4.2.1
4
4
  Summary: Alibaba Cloud Log Service (20201230) SDK Library for Python
5
5
  Home-page: https://github.com/aliyun/alibabacloud-python-sdk
6
6
  Author: Alibaba Cloud SDK
@@ -1 +0,0 @@
1
- __version__ = '4.2.0'