tencentcloud-sdk-python-teo 3.1.181__tar.gz → 3.1.189__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 (22) hide show
  1. {tencentcloud_sdk_python_teo-3.1.181 → tencentcloud_sdk_python_teo-3.1.189}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_teo-3.1.181 → tencentcloud_sdk_python_teo-3.1.189}/setup.py +1 -1
  3. {tencentcloud_sdk_python_teo-3.1.181 → tencentcloud_sdk_python_teo-3.1.189}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_teo-3.1.181 → tencentcloud_sdk_python_teo-3.1.189}/tencentcloud/teo/v20220901/errorcodes.py +3 -0
  5. {tencentcloud_sdk_python_teo-3.1.181 → tencentcloud_sdk_python_teo-3.1.189}/tencentcloud/teo/v20220901/models.py +128 -126
  6. {tencentcloud_sdk_python_teo-3.1.181 → tencentcloud_sdk_python_teo-3.1.189}/tencentcloud/teo/v20220901/teo_client.py +2 -2
  7. {tencentcloud_sdk_python_teo-3.1.181 → tencentcloud_sdk_python_teo-3.1.189}/tencentcloud/teo/v20220901/teo_client_async.py +2 -2
  8. {tencentcloud_sdk_python_teo-3.1.181 → tencentcloud_sdk_python_teo-3.1.189}/tencentcloud_sdk_python_teo.egg-info/PKG-INFO +2 -2
  9. tencentcloud_sdk_python_teo-3.1.189/tencentcloud_sdk_python_teo.egg-info/requires.txt +1 -0
  10. tencentcloud_sdk_python_teo-3.1.181/tencentcloud_sdk_python_teo.egg-info/requires.txt +0 -1
  11. {tencentcloud_sdk_python_teo-3.1.181 → tencentcloud_sdk_python_teo-3.1.189}/README.rst +0 -0
  12. {tencentcloud_sdk_python_teo-3.1.181 → tencentcloud_sdk_python_teo-3.1.189}/setup.cfg +0 -0
  13. {tencentcloud_sdk_python_teo-3.1.181 → tencentcloud_sdk_python_teo-3.1.189}/tencentcloud/teo/__init__.py +0 -0
  14. {tencentcloud_sdk_python_teo-3.1.181 → tencentcloud_sdk_python_teo-3.1.189}/tencentcloud/teo/v20220106/__init__.py +0 -0
  15. {tencentcloud_sdk_python_teo-3.1.181 → tencentcloud_sdk_python_teo-3.1.189}/tencentcloud/teo/v20220106/errorcodes.py +0 -0
  16. {tencentcloud_sdk_python_teo-3.1.181 → tencentcloud_sdk_python_teo-3.1.189}/tencentcloud/teo/v20220106/models.py +0 -0
  17. {tencentcloud_sdk_python_teo-3.1.181 → tencentcloud_sdk_python_teo-3.1.189}/tencentcloud/teo/v20220106/teo_client.py +0 -0
  18. {tencentcloud_sdk_python_teo-3.1.181 → tencentcloud_sdk_python_teo-3.1.189}/tencentcloud/teo/v20220106/teo_client_async.py +0 -0
  19. {tencentcloud_sdk_python_teo-3.1.181 → tencentcloud_sdk_python_teo-3.1.189}/tencentcloud/teo/v20220901/__init__.py +0 -0
  20. {tencentcloud_sdk_python_teo-3.1.181 → tencentcloud_sdk_python_teo-3.1.189}/tencentcloud_sdk_python_teo.egg-info/SOURCES.txt +0 -0
  21. {tencentcloud_sdk_python_teo-3.1.181 → tencentcloud_sdk_python_teo-3.1.189}/tencentcloud_sdk_python_teo.egg-info/dependency_links.txt +0 -0
  22. {tencentcloud_sdk_python_teo-3.1.181 → tencentcloud_sdk_python_teo-3.1.189}/tencentcloud_sdk_python_teo.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-teo
3
- Version: 3.1.181
3
+ Version: 3.1.189
4
4
  Summary: Tencent Cloud Teo SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.181
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.189
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-teo',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.181,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.189,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Teo SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.181'
17
+ __version__ = '3.1.189'
@@ -227,6 +227,9 @@ INVALIDPARAMETER_CACHEKEYQUERYSTRINGTOOMANYVALUE = 'InvalidParameter.CacheKeyQue
227
227
  # 无效的边缘HTTPS证书配置,证书与域名不匹配。
228
228
  INVALIDPARAMETER_CERTNOTMATCHDOMAIN = 'InvalidParameter.CertNotMatchDomain'
229
229
 
230
+ # 证书 SAN 域名总长度超过限制(最大 4096 字节)。
231
+ INVALIDPARAMETER_CERTSANTOOLONG = 'InvalidParameter.CertSANTooLong'
232
+
230
233
  # 内部错误。
231
234
  INVALIDPARAMETER_CERTSYSTEMERROR = 'InvalidParameter.CertSystemError'
232
235
 
@@ -2519,7 +2519,12 @@ class AliasDomain(AbstractModel):
2519
2519
 
2520
2520
 
2521
2521
  class AllowActionParameters(AbstractModel):
2522
- r"""Web 安全 Allow 的附加参数
2522
+ r"""安全执行动作为放行时的附加参数。
2523
+
2524
+ 该参数用于指定在命中安全规则并执行放行动作时,系统所采取的附加处置动作。
2525
+ 不同处置动作由不同且固定的参数组合进行配置,系统将根据所配置的参数组合判定实际生效的处置动作类型。
2526
+ 在同一次放行执行过程中,仅允许配置并生效一种处置动作,多个处置动作对应的参数组合不可同时出现,否则视为非法配置。为空则采用默认放行处置动作。
2527
+ AllowActionParameters 支持以下附加处置动作:<li>默认:当 AllowActionParameters 为空,立即跳过当前安全模块剩余规则,继续匹配后续安全模块。</li><li>延迟放行:对请求增加响应延迟,并继续匹配当前模块的剩余规则。对应参数 MinDelayTime、MaxDelayTime。</li>
2523
2528
 
2524
2529
  """
2525
2530
 
@@ -4951,17 +4956,17 @@ class BotManagementCustomRule(AbstractModel):
4951
4956
 
4952
4957
  def __init__(self):
4953
4958
  r"""
4954
- :param _Id: Bot 自定义规则的 ID。<br>通过规则 ID 可支持不同的规则配置操作:<br> <li> <b>增加</b>新规则:ID 为空或不指定 ID 参数;</li><li><b>修改</b>已有规则:指定需要更新/修改的规则 ID;</li><li><b>删除</b>已有规则:BotManagementCustomRules 参数中,Rules 列表中未包含的已有规则将被删除。</li>
4959
+ :param _Id: <p>Bot 自定义规则的 ID。<br>通过规则 ID 可支持不同的规则配置操作:<br> <li> <b>增加</b>新规则:ID 为空或不指定 ID 参数;</li><li><b>修改</b>已有规则:指定需要更新/修改的规则 ID;</li><li><b>删除</b>已有规则:BotManagementCustomRules 参数中,Rules 列表中未包含的已有规则将被删除。</li></p>
4955
4960
  :type Id: str
4956
- :param _Name: Bot 自定义规则的名称。
4961
+ :param _Name: <p>Bot 自定义规则的名称。</p>
4957
4962
  :type Name: str
4958
- :param _Enabled: Bot 自定义规则是否开启。取值有:<li>on:开启;</li><li>off:关闭。</li>
4963
+ :param _Enabled: <p>Bot 自定义规则是否开启。取值有:<li>on:开启;</li><li>off:关闭。</li></p>
4959
4964
  :type Enabled: str
4960
- :param _Priority: Bot 自定义规则的优先级,范围是 1 ~ 100,默认为 50。
4965
+ :param _Priority: <p>Bot 自定义规则的优先级,范围是 1 ~ 100,默认为 50。</p>
4961
4966
  :type Priority: int
4962
- :param _Condition: Bot 自定义规则的具体内容,需符合表达式语法,详细规范参见产品文档。
4967
+ :param _Condition: <p>Bot 自定义规则的具体内容,需符合表达式语法,详细规范参见产品文档。</p>
4963
4968
  :type Condition: str
4964
- :param _Action: Bot 自定义规则的处置方式。取值有:<li>Monitor:观察;</li><li>Deny:拦截,其中 DenyActionParameters.Name 支持 Deny 和 ReturnCustomPage;</li><li>Challenge:挑战,其中 ChallengeActionParameters.Name 支持 JSChallenge 和 ManagedChallenge;</li><li>Redirect:重定向至 URL。</li>
4969
+ :param _Action: <p>按权重分配的安全执行动作列表。</p>
4965
4970
  :type Action: list of SecurityWeightedAction
4966
4971
  """
4967
4972
  self._Id = None
@@ -4973,7 +4978,7 @@ class BotManagementCustomRule(AbstractModel):
4973
4978
 
4974
4979
  @property
4975
4980
  def Id(self):
4976
- r"""Bot 自定义规则的 ID。<br>通过规则 ID 可支持不同的规则配置操作:<br> <li> <b>增加</b>新规则:ID 为空或不指定 ID 参数;</li><li><b>修改</b>已有规则:指定需要更新/修改的规则 ID;</li><li><b>删除</b>已有规则:BotManagementCustomRules 参数中,Rules 列表中未包含的已有规则将被删除。</li>
4981
+ r"""<p>Bot 自定义规则的 ID。<br>通过规则 ID 可支持不同的规则配置操作:<br> <li> <b>增加</b>新规则:ID 为空或不指定 ID 参数;</li><li><b>修改</b>已有规则:指定需要更新/修改的规则 ID;</li><li><b>删除</b>已有规则:BotManagementCustomRules 参数中,Rules 列表中未包含的已有规则将被删除。</li></p>
4977
4982
  :rtype: str
4978
4983
  """
4979
4984
  return self._Id
@@ -4984,7 +4989,7 @@ class BotManagementCustomRule(AbstractModel):
4984
4989
 
4985
4990
  @property
4986
4991
  def Name(self):
4987
- r"""Bot 自定义规则的名称。
4992
+ r"""<p>Bot 自定义规则的名称。</p>
4988
4993
  :rtype: str
4989
4994
  """
4990
4995
  return self._Name
@@ -4995,7 +5000,7 @@ class BotManagementCustomRule(AbstractModel):
4995
5000
 
4996
5001
  @property
4997
5002
  def Enabled(self):
4998
- r"""Bot 自定义规则是否开启。取值有:<li>on:开启;</li><li>off:关闭。</li>
5003
+ r"""<p>Bot 自定义规则是否开启。取值有:<li>on:开启;</li><li>off:关闭。</li></p>
4999
5004
  :rtype: str
5000
5005
  """
5001
5006
  return self._Enabled
@@ -5006,7 +5011,7 @@ class BotManagementCustomRule(AbstractModel):
5006
5011
 
5007
5012
  @property
5008
5013
  def Priority(self):
5009
- r"""Bot 自定义规则的优先级,范围是 1 ~ 100,默认为 50。
5014
+ r"""<p>Bot 自定义规则的优先级,范围是 1 ~ 100,默认为 50。</p>
5010
5015
  :rtype: int
5011
5016
  """
5012
5017
  return self._Priority
@@ -5017,7 +5022,7 @@ class BotManagementCustomRule(AbstractModel):
5017
5022
 
5018
5023
  @property
5019
5024
  def Condition(self):
5020
- r"""Bot 自定义规则的具体内容,需符合表达式语法,详细规范参见产品文档。
5025
+ r"""<p>Bot 自定义规则的具体内容,需符合表达式语法,详细规范参见产品文档。</p>
5021
5026
  :rtype: str
5022
5027
  """
5023
5028
  return self._Condition
@@ -5028,7 +5033,7 @@ class BotManagementCustomRule(AbstractModel):
5028
5033
 
5029
5034
  @property
5030
5035
  def Action(self):
5031
- r"""Bot 自定义规则的处置方式。取值有:<li>Monitor:观察;</li><li>Deny:拦截,其中 DenyActionParameters.Name 支持 Deny 和 ReturnCustomPage;</li><li>Challenge:挑战,其中 ChallengeActionParameters.Name 支持 JSChallenge 和 ManagedChallenge;</li><li>Redirect:重定向至 URL。</li>
5036
+ r"""<p>按权重分配的安全执行动作列表。</p>
5032
5037
  :rtype: list of SecurityWeightedAction
5033
5038
  """
5034
5039
  return self._Action
@@ -7307,18 +7312,21 @@ class CertificateInfo(AbstractModel):
7307
7312
 
7308
7313
 
7309
7314
  class ChallengeActionParameters(AbstractModel):
7310
- r"""Web 安全 Challenge 挑战的附加参数
7315
+ r"""安全执行动作为挑战时的附加参数。
7316
+
7317
+ 该参数用于指定在命中安全规则并执行挑战动作时,系统所采取的附加处置动作。
7318
+ 挑战处置动作通过 ChallengeOption 进行细分,不同挑战类型对应不同的交互形式及参数要求,系统将根据所选挑战类型,生效对应的参数配置。
7319
+ ChallengeActionParameters 支持以下挑战处置类型:<li>插页式挑战:响应新页面,并在新页面内运行认证机制。对应 ChallengeOption 取值 InterstitialChallenge。</li><li>内嵌式挑战:响应 SDK 挑战。对应 ChallengeOption 取值 InlineChallenge。</li><li>JavaScript 挑战:浏览器无感验证,浏览器自动完成校验并展示请求资源。对应 ChallengeOption 取值 JSChallenge。</li><li>托管挑战:响应包含 JavaScript 程序的重定向页面,用于校验浏览器运行环境。对应 ChallengeOption 取值 ManagedChallenge。</li>
7311
7320
 
7312
7321
  """
7313
7322
 
7314
7323
  def __init__(self):
7315
7324
  r"""
7316
- :param _ChallengeOption: 安全执行的具体挑战动作。取值有:<li> InterstitialChallenge:插页式挑战;</li><li> InlineChallenge:内嵌式挑战;</li><li> JSChallenge:JavaScript 挑战;</li><li> ManagedChallenge:托管挑战。</li>
7325
+ :param _ChallengeOption: <p>安全执行的具体挑战动作。</p><p>枚举值:</p><ul><li>InterstitialChallenge: 插页式挑战;</li><li>InlineChallenge: 内嵌式挑战(SDK 挑战);</li><li>ManagedChallenge: 托管挑战。仅适用于用户通过浏览器直接访问的 HTML 网页。API 接口、网页内 XHR/AJAX 异步请求、移动 App、命令行工具等场景无法完成验证,请勿配置;</li><li>JSChallenge: JavaScript 挑战。仅适用于用户通过浏览器直接访问的 HTML 网页。API 接口、网页内 XHR/AJAX 异步请求、移动 App、命令行工具等场景无法完成验证,请勿配置。</li></ul>
7317
7326
  :type ChallengeOption: str
7318
- :param _Interval: 重复挑战的时间间隔,当 Name 为 InterstitialChallenge/InlineChallenge 时,该字段必填。默认值为 300s。支持的单位有:<li>s:秒,取值范围1~60;</li><li>m:分,取值范围1~60;</li><li>h:小时,取值范围1~24。</li>
7319
-
7327
+ :param _Interval: <p>重复挑战的时间间隔,当 ChallengeOption 为 InterstitialChallenge/InlineChallenge 时,该字段必填。默认值为 300s。支持的单位有:<li>s:秒,取值范围1~60;</li><li>m:分,取值范围1~60;</li><li>h:小时,取值范围1~24。</li></p>
7320
7328
  :type Interval: str
7321
- :param _AttesterId: 客户端认证方式 ID 。当 Name 为 InterstitialChallenge/InlineChallenge 时,该字段必填。
7329
+ :param _AttesterId: <p>客户端认证方式 ID 。当 Name 为 InterstitialChallenge/InlineChallenge 时,该字段必填。</p>
7322
7330
  :type AttesterId: str
7323
7331
  """
7324
7332
  self._ChallengeOption = None
@@ -7327,7 +7335,7 @@ class ChallengeActionParameters(AbstractModel):
7327
7335
 
7328
7336
  @property
7329
7337
  def ChallengeOption(self):
7330
- r"""安全执行的具体挑战动作。取值有:<li> InterstitialChallenge:插页式挑战;</li><li> InlineChallenge:内嵌式挑战;</li><li> JSChallenge:JavaScript 挑战;</li><li> ManagedChallenge:托管挑战。</li>
7338
+ r"""<p>安全执行的具体挑战动作。</p><p>枚举值:</p><ul><li>InterstitialChallenge: 插页式挑战;</li><li>InlineChallenge: 内嵌式挑战(SDK 挑战);</li><li>ManagedChallenge: 托管挑战。仅适用于用户通过浏览器直接访问的 HTML 网页。API 接口、网页内 XHR/AJAX 异步请求、移动 App、命令行工具等场景无法完成验证,请勿配置;</li><li>JSChallenge: JavaScript 挑战。仅适用于用户通过浏览器直接访问的 HTML 网页。API 接口、网页内 XHR/AJAX 异步请求、移动 App、命令行工具等场景无法完成验证,请勿配置。</li></ul>
7331
7339
  :rtype: str
7332
7340
  """
7333
7341
  return self._ChallengeOption
@@ -7338,8 +7346,7 @@ class ChallengeActionParameters(AbstractModel):
7338
7346
 
7339
7347
  @property
7340
7348
  def Interval(self):
7341
- r"""重复挑战的时间间隔,当 Name 为 InterstitialChallenge/InlineChallenge 时,该字段必填。默认值为 300s。支持的单位有:<li>s:秒,取值范围1~60;</li><li>m:分,取值范围1~60;</li><li>h:小时,取值范围1~24。</li>
7342
-
7349
+ r"""<p>重复挑战的时间间隔,当 ChallengeOption 为 InterstitialChallenge/InlineChallenge 时,该字段必填。默认值为 300s。支持的单位有:<li>s:秒,取值范围1~60;</li><li>m:分,取值范围1~60;</li><li>h:小时,取值范围1~24。</li></p>
7343
7350
  :rtype: str
7344
7351
  """
7345
7352
  return self._Interval
@@ -7350,7 +7357,7 @@ class ChallengeActionParameters(AbstractModel):
7350
7357
 
7351
7358
  @property
7352
7359
  def AttesterId(self):
7353
- r"""客户端认证方式 ID 。当 Name 为 InterstitialChallenge/InlineChallenge 时,该字段必填。
7360
+ r"""<p>客户端认证方式 ID 。当 Name 为 InterstitialChallenge/InlineChallenge 时,该字段必填。</p>
7354
7361
  :rtype: str
7355
7362
  """
7356
7363
  return self._AttesterId
@@ -16584,19 +16591,19 @@ class CustomRule(AbstractModel):
16584
16591
 
16585
16592
  def __init__(self):
16586
16593
  r"""
16587
- :param _Name: 自定义规则的名称。
16594
+ :param _Name: <p>自定义规则的名称。</p>
16588
16595
  :type Name: str
16589
- :param _Condition: 自定义规则的具体内容,需符合表达式语法,详细规范参见 [产品文档](https://cloud.tencent.com/document/product/1552/125343) 。
16596
+ :param _Condition: <p>自定义规则的具体内容,需符合表达式语法,详细规范参见 <a href="https://cloud.tencent.com/document/product/1552/125343">产品文档</a> 。</p>
16590
16597
  :type Condition: str
16591
- :param _Action: 自定义规则的处置动作。SecurityAction.Name 取值范围如下:<ul><li>Deny:拦截;</li><li>Monitor:观察;</li><li>ReturnCustomPage:使用指定页面拦截;</li><li>Redirect:重定向至 URL;</li><li>BlockIP:IP 封禁;</li><li>JSChallenge:JavaScript 挑战;</li><li>ManagedChallenge:托管挑战;</li><li>Allow:放行。</li></ul>
16598
+ :param _Action: <p>自定义规则的处置动作。SecurityAction.Name 取值范围如下:</p><ul><li>Allow:放行,其中 AllowActionParameters 支持 MinDelayTime 和 MaxDelayTime 配置;</li><li>Deny:拦截,其中 DenyActionParameters 中支持 BlockIp、ReturnCustomPage 和 Stall 配置;</li><li>Monitor:观察;</li><li>Challenge:挑战,其中 ChallengeActionParameters.ChallengeOption 支持 JSChallenge 和 ManagedChallenge;</li><li>Redirect:重定向至URL。</li></ul>
16592
16599
  :type Action: :class:`tencentcloud.teo.v20220901.models.SecurityAction`
16593
- :param _Enabled: 自定义规则是否开启。取值有:<ul><li>on:开启</li><li>off:关闭</li></ul>
16600
+ :param _Enabled: <p>自定义规则是否开启。取值有:<ul><li>on:开启;</li><li>off:关闭。</li></ul></p>
16594
16601
  :type Enabled: str
16595
- :param _Id: 自定义规则的 ID。通过规则 ID 可支持不同的规则配置操作:<ul><li>增加新规则:ID 为空或不指定 ID 参数;</li><li>修改已有规则:指定需要更新/修改的规则 ID;</li><li>删除已有规则:CustomRules 参数中,Rules 列表中未包含的已有规则将被删除。</li></ul>
16602
+ :param _Id: <p>自定义规则的 ID。通过规则 ID 可支持不同的规则配置操作:<ul><li>增加新规则:ID 为空或不指定 ID 参数;</li><li>修改已有规则:指定需要更新/修改的规则 ID;</li><li>删除已有规则:CustomRules 参数中,Rules 列表中未包含的已有规则将被删除。</li></ul></p>
16596
16603
  :type Id: str
16597
- :param _RuleType: 自定义规则的类型。取值有:<ul><li>BasicAccessRule:基础访问管控;</li><li>PreciseMatchRule:精准匹配规则;</li><li>ManagedAccessRule:专家定制规则,仅出参支持。</li></ul>说明:当未指定 RuleType 时,默认为 `PreciseMatchRule`。
16604
+ :param _RuleType: <p>自定义规则的类型。取值有:<ul><li>BasicAccessRule:基础访问管控;</li><li>PreciseMatchRule:精准匹配规则;</li><li>ManagedAccessRule:专家定制规则,仅出参支持。</li></ul>说明:当未指定 RuleType 时,默认为 <code>PreciseMatchRule</code>。</p>
16598
16605
  :type RuleType: str
16599
- :param _Priority: 自定义规则的优先级,范围是 0 ~ 100,默认为 0,仅支持精准匹配规则(`PreciseMatchRule`)。
16606
+ :param _Priority: <p>自定义规则的优先级,范围是 0 ~ 100,默认为 0,仅支持精准匹配规则(<code>PreciseMatchRule</code>)。</p>
16600
16607
  :type Priority: int
16601
16608
  """
16602
16609
  self._Name = None
@@ -16609,7 +16616,7 @@ class CustomRule(AbstractModel):
16609
16616
 
16610
16617
  @property
16611
16618
  def Name(self):
16612
- r"""自定义规则的名称。
16619
+ r"""<p>自定义规则的名称。</p>
16613
16620
  :rtype: str
16614
16621
  """
16615
16622
  return self._Name
@@ -16620,7 +16627,7 @@ class CustomRule(AbstractModel):
16620
16627
 
16621
16628
  @property
16622
16629
  def Condition(self):
16623
- r"""自定义规则的具体内容,需符合表达式语法,详细规范参见 [产品文档](https://cloud.tencent.com/document/product/1552/125343) 。
16630
+ r"""<p>自定义规则的具体内容,需符合表达式语法,详细规范参见 <a href="https://cloud.tencent.com/document/product/1552/125343">产品文档</a> 。</p>
16624
16631
  :rtype: str
16625
16632
  """
16626
16633
  return self._Condition
@@ -16631,7 +16638,7 @@ class CustomRule(AbstractModel):
16631
16638
 
16632
16639
  @property
16633
16640
  def Action(self):
16634
- r"""自定义规则的处置动作。SecurityAction.Name 取值范围如下:<ul><li>Deny:拦截;</li><li>Monitor:观察;</li><li>ReturnCustomPage:使用指定页面拦截;</li><li>Redirect:重定向至 URL;</li><li>BlockIP:IP 封禁;</li><li>JSChallenge:JavaScript 挑战;</li><li>ManagedChallenge:托管挑战;</li><li>Allow:放行。</li></ul>
16641
+ r"""<p>自定义规则的处置动作。SecurityAction.Name 取值范围如下:</p><ul><li>Allow:放行,其中 AllowActionParameters 支持 MinDelayTime 和 MaxDelayTime 配置;</li><li>Deny:拦截,其中 DenyActionParameters 中支持 BlockIp、ReturnCustomPage 和 Stall 配置;</li><li>Monitor:观察;</li><li>Challenge:挑战,其中 ChallengeActionParameters.ChallengeOption 支持 JSChallenge 和 ManagedChallenge;</li><li>Redirect:重定向至URL。</li></ul>
16635
16642
  :rtype: :class:`tencentcloud.teo.v20220901.models.SecurityAction`
16636
16643
  """
16637
16644
  return self._Action
@@ -16642,7 +16649,7 @@ class CustomRule(AbstractModel):
16642
16649
 
16643
16650
  @property
16644
16651
  def Enabled(self):
16645
- r"""自定义规则是否开启。取值有:<ul><li>on:开启</li><li>off:关闭</li></ul>
16652
+ r"""<p>自定义规则是否开启。取值有:<ul><li>on:开启;</li><li>off:关闭。</li></ul></p>
16646
16653
  :rtype: str
16647
16654
  """
16648
16655
  return self._Enabled
@@ -16653,7 +16660,7 @@ class CustomRule(AbstractModel):
16653
16660
 
16654
16661
  @property
16655
16662
  def Id(self):
16656
- r"""自定义规则的 ID。通过规则 ID 可支持不同的规则配置操作:<ul><li>增加新规则:ID 为空或不指定 ID 参数;</li><li>修改已有规则:指定需要更新/修改的规则 ID;</li><li>删除已有规则:CustomRules 参数中,Rules 列表中未包含的已有规则将被删除。</li></ul>
16663
+ r"""<p>自定义规则的 ID。通过规则 ID 可支持不同的规则配置操作:<ul><li>增加新规则:ID 为空或不指定 ID 参数;</li><li>修改已有规则:指定需要更新/修改的规则 ID;</li><li>删除已有规则:CustomRules 参数中,Rules 列表中未包含的已有规则将被删除。</li></ul></p>
16657
16664
  :rtype: str
16658
16665
  """
16659
16666
  return self._Id
@@ -16664,7 +16671,7 @@ class CustomRule(AbstractModel):
16664
16671
 
16665
16672
  @property
16666
16673
  def RuleType(self):
16667
- r"""自定义规则的类型。取值有:<ul><li>BasicAccessRule:基础访问管控;</li><li>PreciseMatchRule:精准匹配规则;</li><li>ManagedAccessRule:专家定制规则,仅出参支持。</li></ul>说明:当未指定 RuleType 时,默认为 `PreciseMatchRule`。
16674
+ r"""<p>自定义规则的类型。取值有:<ul><li>BasicAccessRule:基础访问管控;</li><li>PreciseMatchRule:精准匹配规则;</li><li>ManagedAccessRule:专家定制规则,仅出参支持。</li></ul>说明:当未指定 RuleType 时,默认为 <code>PreciseMatchRule</code>。</p>
16668
16675
  :rtype: str
16669
16676
  """
16670
16677
  return self._RuleType
@@ -16675,7 +16682,7 @@ class CustomRule(AbstractModel):
16675
16682
 
16676
16683
  @property
16677
16684
  def Priority(self):
16678
- r"""自定义规则的优先级,范围是 0 ~ 100,默认为 0,仅支持精准匹配规则(`PreciseMatchRule`)。
16685
+ r"""<p>自定义规则的优先级,范围是 0 ~ 100,默认为 0,仅支持精准匹配规则(<code>PreciseMatchRule</code>)。</p>
16679
16686
  :rtype: int
16680
16687
  """
16681
16688
  return self._Priority
@@ -20429,7 +20436,12 @@ class DeliveryCondition(AbstractModel):
20429
20436
 
20430
20437
 
20431
20438
  class DenyActionParameters(AbstractModel):
20432
- r"""安全执行动作为封禁的附加参数。
20439
+ r"""安全执行动作为拦截时的附加参数。
20440
+
20441
+ 该参数用于指定在命中安全规则并执行拦截动作时,系统所采取的附加处置动作。
20442
+ 不同处置动作由不同且固定的参数组合进行配置,系统将根据所配置的参数组合判定实际生效的处置动作类型。
20443
+ 在同一次拦截执行过程中,仅允许配置并生效一种处置动作,多个处置动作对应的参数组合不可同时出现,否则视为非法配置。为空则采用默认拦截处置动作。
20444
+ DenyActionParameters 支持以下附加处置动作:<li>默认:当 DenyActionParameters 为空,或未启用任何附加处置动作时,系统将执行默认拦截处置,即响应拦截页面。</li><li>IP 封禁:对触发规则的客户端来源 IP 进行持续封禁。对应参数 BlockIp、BlockIpDuration。</li><li>自定义页面拦截:使用指定的自定义页面内容响应请求。对应参数 ReturnCustomPage、ResponseCode、ErrorPageId。</li><li>静默:接受客户端请求但不返回。对应参数 Stall。</li>
20433
20445
 
20434
20446
  """
20435
20447
 
@@ -38335,7 +38347,7 @@ class FunctionEnvironmentVariable(AbstractModel):
38335
38347
  :type Value: str
38336
38348
  :param _Type: 变量的类型,取值有:
38337
38349
  <li>string:字符串类型;</li>
38338
- <li>json:json 对象类型。</li>默认值为:string。
38350
+ <li>json:json 对象类型。</li><li>secret:密钥类型。</li>默认值为:string。
38339
38351
  :type Type: str
38340
38352
  """
38341
38353
  self._Key = None
@@ -38368,7 +38380,7 @@ class FunctionEnvironmentVariable(AbstractModel):
38368
38380
  def Type(self):
38369
38381
  r"""变量的类型,取值有:
38370
38382
  <li>string:字符串类型;</li>
38371
- <li>json:json 对象类型。</li>默认值为:string。
38383
+ <li>json:json 对象类型。</li><li>secret:密钥类型。</li>默认值为:string。
38372
38384
  :rtype: str
38373
38385
  """
38374
38386
  return self._Type
@@ -42046,7 +42058,7 @@ class InferenceDomain(AbstractModel):
42046
42058
  r"""
42047
42059
  :param _Domain: <p>域名名称。</p>
42048
42060
  :type Domain: str
42049
- :param _Status: <p>域名状态。</p><p>枚举值:</p><ul><li>Online: 已生效;</li><li>Process: 部署中;</li><li>Offline: 已停用;</li><li>Init: 未生效,待激活站点。</li></ul>
42061
+ :param _Status: <p>域名状态。</p><p>枚举值:</p><ul><li>Online: 已生效;</li><li>Process: 部署中;</li><li>Offline: 已停用;</li><li>Init: 未生效,待激活站点;</li><li>Forbidden: 域名被禁用。</li></ul>
42050
42062
  :type Status: str
42051
42063
  :param _AuthSwitch: <p>推理任务请求鉴权开关。</p><p>枚举值:</p><ul><li>Off: 关闭鉴权;</li><li>On: 开启鉴权。</li></ul><p>默认值:On。</p>
42052
42064
  :type AuthSwitch: str
@@ -42083,7 +42095,7 @@ class InferenceDomain(AbstractModel):
42083
42095
 
42084
42096
  @property
42085
42097
  def Status(self):
42086
- r"""<p>域名状态。</p><p>枚举值:</p><ul><li>Online: 已生效;</li><li>Process: 部署中;</li><li>Offline: 已停用;</li><li>Init: 未生效,待激活站点。</li></ul>
42098
+ r"""<p>域名状态。</p><p>枚举值:</p><ul><li>Online: 已生效;</li><li>Process: 部署中;</li><li>Offline: 已停用;</li><li>Init: 未生效,待激活站点;</li><li>Forbidden: 域名被禁用。</li></ul>
42087
42099
  :rtype: str
42088
42100
  """
42089
42101
  return self._Status
@@ -49275,25 +49287,21 @@ class ModifyFunctionRuleRequest(AbstractModel):
49275
49287
 
49276
49288
  def __init__(self):
49277
49289
  r"""
49278
- :param _ZoneId: 站点 ID。
49290
+ :param _ZoneId: <p>站点 ID。</p>
49279
49291
  :type ZoneId: str
49280
- :param _RuleId: 规则 ID。您可以先通过 DescribeFunctionRules 接口来获取需要修改的规则的 RuleId,然后传入修改后的规则内容,原规则内容会被覆盖式更新。
49292
+ :param _RuleId: <p>规则 ID。您可以先通过 DescribeFunctionRules 接口来获取需要修改的规则的 RuleId,然后传入修改后的规则内容,原规则内容会被覆盖式更新。</p>
49281
49293
  :type RuleId: str
49282
- :param _FunctionRuleConditions: 规则条件列表,相同触发规则的不同条件匹配项之间为或关系,不填写保持原有配置。
49294
+ :param _FunctionRuleConditions: <p>规则条件列表,相同触发规则的不同条件匹配项之间为或关系,不填写保持原有配置。</p>
49283
49295
  :type FunctionRuleConditions: list of FunctionRuleCondition
49284
- :param _TriggerType: 函数选择配置类型:
49285
- <li> direct:直接指定执行函数;</li>
49286
- <li> weight:基于权重比选择函数;</li>
49287
- <li> region:基于客户端 IP 的国家/地区选择函数。</li>
49288
- 不填时默认为 direct 。
49296
+ :param _TriggerType: <p>函数选择配置类型:</p><li> direct:直接指定执行函数;</li><li> weight:基于权重比选择函数;</li><li> region:基于客户端 IP 的国家/地区选择函数。</li>不填时默认为 direct 。
49289
49297
  :type TriggerType: str
49290
- :param _FunctionId: 指定执行的函数 ID。当 TriggerType 为 direct 或 TriggerType 不填时生效。
49298
+ :param _FunctionId: <p>指定执行的函数 ID。当 TriggerType 为 direct 或 TriggerType 不填时生效。</p>
49291
49299
  :type FunctionId: str
49292
- :param _RegionMappingSelections: 基于客户端 IP 国家/地区的函数选择配置,当 TriggerType 为 region 时生效且 RegionMappingSelections 必填。RegionMappingSelections 中至少包含一项 Regions 为 Default 的配置。
49300
+ :param _RegionMappingSelections: <p>基于客户端 IP 国家/地区的函数选择配置,当 TriggerType 为 region 时生效且 RegionMappingSelections 必填。RegionMappingSelections 中必须包含一项 Regions 为 Default 的配置,同时还需至少配置一项其他具体的 Region。</p>
49293
49301
  :type RegionMappingSelections: list of FunctionRegionSelection
49294
- :param _WeightedSelections: 基于权重的函数选择配置,当 TriggerType 为 weight 时生效且 WeightedSelections 必填。WeightedSelections 中的所有权重之和需要为100。
49302
+ :param _WeightedSelections: <p>基于权重的函数选择配置,当 TriggerType 为 weight 时生效且 WeightedSelections 必填。WeightedSelections 中的所有权重之和需要为100。</p>
49295
49303
  :type WeightedSelections: list of FunctionWeightedSelection
49296
- :param _Remark: 规则描述,最大支持 60 个字符,不填写保持原有配置。
49304
+ :param _Remark: <p>规则描述,最大支持 60 个字符,不填写保持原有配置。</p>
49297
49305
  :type Remark: str
49298
49306
  """
49299
49307
  self._ZoneId = None
@@ -49307,7 +49315,7 @@ class ModifyFunctionRuleRequest(AbstractModel):
49307
49315
 
49308
49316
  @property
49309
49317
  def ZoneId(self):
49310
- r"""站点 ID。
49318
+ r"""<p>站点 ID。</p>
49311
49319
  :rtype: str
49312
49320
  """
49313
49321
  return self._ZoneId
@@ -49318,7 +49326,7 @@ class ModifyFunctionRuleRequest(AbstractModel):
49318
49326
 
49319
49327
  @property
49320
49328
  def RuleId(self):
49321
- r"""规则 ID。您可以先通过 DescribeFunctionRules 接口来获取需要修改的规则的 RuleId,然后传入修改后的规则内容,原规则内容会被覆盖式更新。
49329
+ r"""<p>规则 ID。您可以先通过 DescribeFunctionRules 接口来获取需要修改的规则的 RuleId,然后传入修改后的规则内容,原规则内容会被覆盖式更新。</p>
49322
49330
  :rtype: str
49323
49331
  """
49324
49332
  return self._RuleId
@@ -49329,7 +49337,7 @@ class ModifyFunctionRuleRequest(AbstractModel):
49329
49337
 
49330
49338
  @property
49331
49339
  def FunctionRuleConditions(self):
49332
- r"""规则条件列表,相同触发规则的不同条件匹配项之间为或关系,不填写保持原有配置。
49340
+ r"""<p>规则条件列表,相同触发规则的不同条件匹配项之间为或关系,不填写保持原有配置。</p>
49333
49341
  :rtype: list of FunctionRuleCondition
49334
49342
  """
49335
49343
  return self._FunctionRuleConditions
@@ -49340,11 +49348,7 @@ class ModifyFunctionRuleRequest(AbstractModel):
49340
49348
 
49341
49349
  @property
49342
49350
  def TriggerType(self):
49343
- r"""函数选择配置类型:
49344
- <li> direct:直接指定执行函数;</li>
49345
- <li> weight:基于权重比选择函数;</li>
49346
- <li> region:基于客户端 IP 的国家/地区选择函数。</li>
49347
- 不填时默认为 direct 。
49351
+ r"""<p>函数选择配置类型:</p><li> direct:直接指定执行函数;</li><li> weight:基于权重比选择函数;</li><li> region:基于客户端 IP 的国家/地区选择函数。</li>不填时默认为 direct 。
49348
49352
  :rtype: str
49349
49353
  """
49350
49354
  return self._TriggerType
@@ -49355,7 +49359,7 @@ class ModifyFunctionRuleRequest(AbstractModel):
49355
49359
 
49356
49360
  @property
49357
49361
  def FunctionId(self):
49358
- r"""指定执行的函数 ID。当 TriggerType 为 direct 或 TriggerType 不填时生效。
49362
+ r"""<p>指定执行的函数 ID。当 TriggerType 为 direct 或 TriggerType 不填时生效。</p>
49359
49363
  :rtype: str
49360
49364
  """
49361
49365
  return self._FunctionId
@@ -49366,7 +49370,7 @@ class ModifyFunctionRuleRequest(AbstractModel):
49366
49370
 
49367
49371
  @property
49368
49372
  def RegionMappingSelections(self):
49369
- r"""基于客户端 IP 国家/地区的函数选择配置,当 TriggerType 为 region 时生效且 RegionMappingSelections 必填。RegionMappingSelections 中至少包含一项 Regions 为 Default 的配置。
49373
+ r"""<p>基于客户端 IP 国家/地区的函数选择配置,当 TriggerType 为 region 时生效且 RegionMappingSelections 必填。RegionMappingSelections 中必须包含一项 Regions 为 Default 的配置,同时还需至少配置一项其他具体的 Region。</p>
49370
49374
  :rtype: list of FunctionRegionSelection
49371
49375
  """
49372
49376
  return self._RegionMappingSelections
@@ -49377,7 +49381,7 @@ class ModifyFunctionRuleRequest(AbstractModel):
49377
49381
 
49378
49382
  @property
49379
49383
  def WeightedSelections(self):
49380
- r"""基于权重的函数选择配置,当 TriggerType 为 weight 时生效且 WeightedSelections 必填。WeightedSelections 中的所有权重之和需要为100。
49384
+ r"""<p>基于权重的函数选择配置,当 TriggerType 为 weight 时生效且 WeightedSelections 必填。WeightedSelections 中的所有权重之和需要为100。</p>
49381
49385
  :rtype: list of FunctionWeightedSelection
49382
49386
  """
49383
49387
  return self._WeightedSelections
@@ -49388,7 +49392,7 @@ class ModifyFunctionRuleRequest(AbstractModel):
49388
49392
 
49389
49393
  @property
49390
49394
  def Remark(self):
49391
- r"""规则描述,最大支持 60 个字符,不填写保持原有配置。
49395
+ r"""<p>规则描述,最大支持 60 个字符,不填写保持原有配置。</p>
49392
49396
  :rtype: str
49393
49397
  """
49394
49398
  return self._Remark
@@ -59555,27 +59559,27 @@ class RateLimitingRule(AbstractModel):
59555
59559
 
59556
59560
  def __init__(self):
59557
59561
  r"""
59558
- :param _Id: 精准速率限制的 ID。<br>通过规则 ID 可支持不同的规则配置操作:<br> <li> <b>增加</b>新规则:ID 为空或不指定 ID 参数;</li><li><b>修改</b>已有规则:指定需要更新/修改的规则 ID;</li><li><b>删除</b>已有规则:RateLimitingRules 参数中,Rules 列表中未包含的已有规则将被删除。</li>
59562
+ :param _Id: <p>精准速率限制的 ID。<br>通过规则 ID 可支持不同的规则配置操作:<br> <li> <b>增加</b>新规则:ID 为空或不指定 ID 参数;</li><li><b>修改</b>已有规则:指定需要更新/修改的规则 ID;</li><li><b>删除</b>已有规则:RateLimitingRules 参数中,Rules 列表中未包含的已有规则将被删除。</li></p>
59559
59563
  :type Id: str
59560
- :param _Name: 精准速率限制的名称。
59564
+ :param _Name: <p>精准速率限制的名称。</p>
59561
59565
  :type Name: str
59562
- :param _Condition: 精准速率限制的具体内容,需符合表达式语法,详细规范参见[产品文档](https://cloud.tencent.com/document/product/1552/125343)。
59566
+ :param _Condition: <p>精准速率限制的具体内容,需符合表达式语法,详细规范参见<a href="https://cloud.tencent.com/document/product/1552/125343">产品文档</a>。</p>
59563
59567
  :type Condition: str
59564
- :param _Mode: 限速方式。在统计时间窗口 CountingPeriod 内,对满足特征 CountBy 的请求,支持配置以下限速方式:<li>Block: 阻断访问源。当统计次数超过阈值 MaxRequestThreshold 时,在 ActionDuration 时长内,对满足特征的所有后续请求执行 Action 处置;</li><li>Throttle: 仅处置超额请求。当统计次数超过阈值 MaxRequestThreshold 时,仅对超过阈值的请求执行 Action 处置,窗口结束后停止处置。此时,ActionDuration 参数将被忽略。</li><br />默认值为 Block。
59568
+ :param _Mode: <p>限速方式。在统计时间窗口 CountingPeriod 内,对满足特征 CountBy 的请求,支持配置以下限速方式:<li>Block: 阻断访问源。当统计次数超过阈值 MaxRequestThreshold 时,在 ActionDuration 时长内,对满足特征的所有后续请求执行 Action 处置;</li><li>Throttle: 仅处置超额请求。当统计次数超过阈值 MaxRequestThreshold 时,仅对超过阈值的请求执行 Action 处置,窗口结束后停止处置。此时,ActionDuration 参数将被忽略。</li><br>默认值为 Block。</p>
59565
59569
  :type Mode: str
59566
- :param _CountBy: 速率阈值请求特征的匹配方式, 当 Enabled 为 on 时,此字段必填。<br /><br />当条件有多个时,将组合多个条件共同进行统计计算,条件最多不可超过5条。取值有:<br/><li><b>http.request.ip</b>:客户端 IP;</li><li><b>http.request.xff_header_ip</b>:客户端 IP(优先匹配 XFF 头部);</li><li><b>http.request.uri.path</b>:请求的访问路径;</li><li><b>http.request.cookies['session']</b>:名称为 session 的 Cookie,其中 session 可替换为自己指定的参数;</li><li><b>http.request.headers['user-agent']</b>:名称为 user-agent 的 HTTP 头部,其中 user-agent 可替换为自己指定的参数;</li><li><b>http.request.ja3</b>:请求的 JA3 指纹;</li><li><b>http.request.ja4</b>:请求的 JA4 指纹;</li><li><b>http.request.uri.query['test']</b>:名称为 test 的 URL 查询参数,其中 test 可替换为自己指定的参数。</li>
59570
+ :param _CountBy: <p>速率阈值请求特征的匹配方式, 当 Enabled 为 on 时,此字段必填。<br><br>当条件有多个时,将组合多个条件共同进行统计计算,条件最多不可超过5条。取值有:<br><li><b>http.request.ip</b>:客户端 IP;</li><li><b>http.request.xff_header_ip</b>:客户端 IP(优先匹配 XFF 头部);</li><li><b>http.request.uri.path</b>:请求的访问路径;</li><li><b>http.request.cookies[&#39;session&#39;]</b>:名称为 session 的 Cookie,其中 session 可替换为自己指定的参数;</li><li><b>http.request.headers[&#39;user-agent&#39;]</b>:名称为 user-agent 的 HTTP 头部,其中 user-agent 可替换为自己指定的参数;</li><li><b>http.request.ja3</b>:请求的 JA3 指纹;</li><li><b>http.request.ja4</b>:请求的 JA4 指纹;</li><li><b>http.request.uri.query[&#39;test&#39;]</b>:名称为 test 的 URL 查询参数,其中 test 可替换为自己指定的参数。</li></p>
59567
59571
  :type CountBy: list of str
59568
- :param _MaxRequestThreshold: 精准速率限制在时间范围内的累计拦截次数,取值范围 1 ~ 100000。
59572
+ :param _MaxRequestThreshold: <p>精准速率限制在时间范围内的累计拦截次数,取值范围 1 ~ 100000。</p>
59569
59573
  :type MaxRequestThreshold: int
59570
- :param _CountingPeriod: 统计的时间窗口,取值有:<li>1s:1秒;</li><li>5s:5秒;</li><li>10s:10秒;</li><li>20s:20秒;</li><li>30s:30秒;</li><li>40s:40秒;</li><li>50s:50秒;</li><li>1m:1分钟;</li><li>2m:2分钟;</li><li>5m:5分钟;</li><li>10m:10分钟;</li><li>1h:1小时。</li>
59574
+ :param _CountingPeriod: <p>统计的时间窗口,取值有:<li>1s:1秒;</li><li>5s:5秒;</li><li>10s:10秒;</li><li>20s:20秒;</li><li>30s:30秒;</li><li>40s:40秒;</li><li>50s:50秒;</li><li>1m:1分钟;</li><li>2m:2分钟;</li><li>5m:5分钟;</li><li>10m:10分钟;</li><li>1h:1小时。</li></p>
59571
59575
  :type CountingPeriod: str
59572
- :param _ActionDuration: Action 动作的持续时长,单位仅支持:<li>s:秒,取值 1 ~ 120;</li><li>m:分钟,取值 1 ~ 120;</li><li>h:小时,取值 1 ~ 48;</li><li>d:天,取值 1 ~ 30。</li><br />当 Mode 为 Throttle 时,此参数将被忽略,不会生效。
59576
+ :param _ActionDuration: <p>Action 动作的持续时长,单位仅支持:<li>s:秒,取值 1 ~ 120;</li><li>m:分钟,取值 1 ~ 120;</li><li>h:小时,取值 1 ~ 48;</li><li>d:天,取值 1 ~ 30。</li><br>当 Mode 为 Throttle 时,此参数将被忽略,不会生效。</p>
59573
59577
  :type ActionDuration: str
59574
- :param _Action: 精准速率限制的处置方式。取值有:<li>Monitor:观察;</li><li>Deny:拦截,其中DenyActionParameters.Name支持Deny和ReturnCustomPage;</li><li>Challenge:挑战,其中ChallengeActionParameters.Name支持JSChallenge和ManagedChallenge;</li><li>Redirect:重定向至URL;</li>
59578
+ :param _Action: <p>精准速率限制的处置方式。SecurityAction.Name 取值范围如下:</p><ul><li>Allow:放行,其中 AllowActionParameters 支持 MinDelayTime 和 MaxDelayTime 配置;</li><li>Deny:拦截,其中 DenyActionParameters 中支持 ReturnCustomPage 和 Stall 配置;</li><li>Monitor:观察;</li><li>Challenge:挑战,其中 ChallengeActionParameters.ChallengeOption 支持 JSChallenge 和 ManagedChallenge;</li><li>Redirect:重定向至URL。</li></ul>
59575
59579
  :type Action: :class:`tencentcloud.teo.v20220901.models.SecurityAction`
59576
- :param _Priority: 精准速率限制的优先级,范围是 0 ~ 100,默认为 0。
59580
+ :param _Priority: <p>精准速率限制的优先级,范围是 0 ~ 100,默认为 0。</p>
59577
59581
  :type Priority: int
59578
- :param _Enabled: 精准速率限制规则是否开启。取值有:<li>on:开启;</li><li>off:关闭。</li>
59582
+ :param _Enabled: <p>精准速率限制规则是否开启。取值有:<li>on:开启;</li><li>off:关闭。</li></p>
59579
59583
  :type Enabled: str
59580
59584
  """
59581
59585
  self._Id = None
@@ -59592,7 +59596,7 @@ class RateLimitingRule(AbstractModel):
59592
59596
 
59593
59597
  @property
59594
59598
  def Id(self):
59595
- r"""精准速率限制的 ID。<br>通过规则 ID 可支持不同的规则配置操作:<br> <li> <b>增加</b>新规则:ID 为空或不指定 ID 参数;</li><li><b>修改</b>已有规则:指定需要更新/修改的规则 ID;</li><li><b>删除</b>已有规则:RateLimitingRules 参数中,Rules 列表中未包含的已有规则将被删除。</li>
59599
+ r"""<p>精准速率限制的 ID。<br>通过规则 ID 可支持不同的规则配置操作:<br> <li> <b>增加</b>新规则:ID 为空或不指定 ID 参数;</li><li><b>修改</b>已有规则:指定需要更新/修改的规则 ID;</li><li><b>删除</b>已有规则:RateLimitingRules 参数中,Rules 列表中未包含的已有规则将被删除。</li></p>
59596
59600
  :rtype: str
59597
59601
  """
59598
59602
  return self._Id
@@ -59603,7 +59607,7 @@ class RateLimitingRule(AbstractModel):
59603
59607
 
59604
59608
  @property
59605
59609
  def Name(self):
59606
- r"""精准速率限制的名称。
59610
+ r"""<p>精准速率限制的名称。</p>
59607
59611
  :rtype: str
59608
59612
  """
59609
59613
  return self._Name
@@ -59614,7 +59618,7 @@ class RateLimitingRule(AbstractModel):
59614
59618
 
59615
59619
  @property
59616
59620
  def Condition(self):
59617
- r"""精准速率限制的具体内容,需符合表达式语法,详细规范参见[产品文档](https://cloud.tencent.com/document/product/1552/125343)。
59621
+ r"""<p>精准速率限制的具体内容,需符合表达式语法,详细规范参见<a href="https://cloud.tencent.com/document/product/1552/125343">产品文档</a>。</p>
59618
59622
  :rtype: str
59619
59623
  """
59620
59624
  return self._Condition
@@ -59625,7 +59629,7 @@ class RateLimitingRule(AbstractModel):
59625
59629
 
59626
59630
  @property
59627
59631
  def Mode(self):
59628
- r"""限速方式。在统计时间窗口 CountingPeriod 内,对满足特征 CountBy 的请求,支持配置以下限速方式:<li>Block: 阻断访问源。当统计次数超过阈值 MaxRequestThreshold 时,在 ActionDuration 时长内,对满足特征的所有后续请求执行 Action 处置;</li><li>Throttle: 仅处置超额请求。当统计次数超过阈值 MaxRequestThreshold 时,仅对超过阈值的请求执行 Action 处置,窗口结束后停止处置。此时,ActionDuration 参数将被忽略。</li><br />默认值为 Block。
59632
+ r"""<p>限速方式。在统计时间窗口 CountingPeriod 内,对满足特征 CountBy 的请求,支持配置以下限速方式:<li>Block: 阻断访问源。当统计次数超过阈值 MaxRequestThreshold 时,在 ActionDuration 时长内,对满足特征的所有后续请求执行 Action 处置;</li><li>Throttle: 仅处置超额请求。当统计次数超过阈值 MaxRequestThreshold 时,仅对超过阈值的请求执行 Action 处置,窗口结束后停止处置。此时,ActionDuration 参数将被忽略。</li><br>默认值为 Block。</p>
59629
59633
  :rtype: str
59630
59634
  """
59631
59635
  return self._Mode
@@ -59636,7 +59640,7 @@ class RateLimitingRule(AbstractModel):
59636
59640
 
59637
59641
  @property
59638
59642
  def CountBy(self):
59639
- r"""速率阈值请求特征的匹配方式, 当 Enabled 为 on 时,此字段必填。<br /><br />当条件有多个时,将组合多个条件共同进行统计计算,条件最多不可超过5条。取值有:<br/><li><b>http.request.ip</b>:客户端 IP;</li><li><b>http.request.xff_header_ip</b>:客户端 IP(优先匹配 XFF 头部);</li><li><b>http.request.uri.path</b>:请求的访问路径;</li><li><b>http.request.cookies['session']</b>:名称为 session 的 Cookie,其中 session 可替换为自己指定的参数;</li><li><b>http.request.headers['user-agent']</b>:名称为 user-agent 的 HTTP 头部,其中 user-agent 可替换为自己指定的参数;</li><li><b>http.request.ja3</b>:请求的 JA3 指纹;</li><li><b>http.request.ja4</b>:请求的 JA4 指纹;</li><li><b>http.request.uri.query['test']</b>:名称为 test 的 URL 查询参数,其中 test 可替换为自己指定的参数。</li>
59643
+ r"""<p>速率阈值请求特征的匹配方式, 当 Enabled 为 on 时,此字段必填。<br><br>当条件有多个时,将组合多个条件共同进行统计计算,条件最多不可超过5条。取值有:<br><li><b>http.request.ip</b>:客户端 IP;</li><li><b>http.request.xff_header_ip</b>:客户端 IP(优先匹配 XFF 头部);</li><li><b>http.request.uri.path</b>:请求的访问路径;</li><li><b>http.request.cookies[&#39;session&#39;]</b>:名称为 session 的 Cookie,其中 session 可替换为自己指定的参数;</li><li><b>http.request.headers[&#39;user-agent&#39;]</b>:名称为 user-agent 的 HTTP 头部,其中 user-agent 可替换为自己指定的参数;</li><li><b>http.request.ja3</b>:请求的 JA3 指纹;</li><li><b>http.request.ja4</b>:请求的 JA4 指纹;</li><li><b>http.request.uri.query[&#39;test&#39;]</b>:名称为 test 的 URL 查询参数,其中 test 可替换为自己指定的参数。</li></p>
59640
59644
  :rtype: list of str
59641
59645
  """
59642
59646
  return self._CountBy
@@ -59647,7 +59651,7 @@ class RateLimitingRule(AbstractModel):
59647
59651
 
59648
59652
  @property
59649
59653
  def MaxRequestThreshold(self):
59650
- r"""精准速率限制在时间范围内的累计拦截次数,取值范围 1 ~ 100000。
59654
+ r"""<p>精准速率限制在时间范围内的累计拦截次数,取值范围 1 ~ 100000。</p>
59651
59655
  :rtype: int
59652
59656
  """
59653
59657
  return self._MaxRequestThreshold
@@ -59658,7 +59662,7 @@ class RateLimitingRule(AbstractModel):
59658
59662
 
59659
59663
  @property
59660
59664
  def CountingPeriod(self):
59661
- r"""统计的时间窗口,取值有:<li>1s:1秒;</li><li>5s:5秒;</li><li>10s:10秒;</li><li>20s:20秒;</li><li>30s:30秒;</li><li>40s:40秒;</li><li>50s:50秒;</li><li>1m:1分钟;</li><li>2m:2分钟;</li><li>5m:5分钟;</li><li>10m:10分钟;</li><li>1h:1小时。</li>
59665
+ r"""<p>统计的时间窗口,取值有:<li>1s:1秒;</li><li>5s:5秒;</li><li>10s:10秒;</li><li>20s:20秒;</li><li>30s:30秒;</li><li>40s:40秒;</li><li>50s:50秒;</li><li>1m:1分钟;</li><li>2m:2分钟;</li><li>5m:5分钟;</li><li>10m:10分钟;</li><li>1h:1小时。</li></p>
59662
59666
  :rtype: str
59663
59667
  """
59664
59668
  return self._CountingPeriod
@@ -59669,7 +59673,7 @@ class RateLimitingRule(AbstractModel):
59669
59673
 
59670
59674
  @property
59671
59675
  def ActionDuration(self):
59672
- r"""Action 动作的持续时长,单位仅支持:<li>s:秒,取值 1 ~ 120;</li><li>m:分钟,取值 1 ~ 120;</li><li>h:小时,取值 1 ~ 48;</li><li>d:天,取值 1 ~ 30。</li><br />当 Mode 为 Throttle 时,此参数将被忽略,不会生效。
59676
+ r"""<p>Action 动作的持续时长,单位仅支持:<li>s:秒,取值 1 ~ 120;</li><li>m:分钟,取值 1 ~ 120;</li><li>h:小时,取值 1 ~ 48;</li><li>d:天,取值 1 ~ 30。</li><br>当 Mode 为 Throttle 时,此参数将被忽略,不会生效。</p>
59673
59677
  :rtype: str
59674
59678
  """
59675
59679
  return self._ActionDuration
@@ -59680,7 +59684,7 @@ class RateLimitingRule(AbstractModel):
59680
59684
 
59681
59685
  @property
59682
59686
  def Action(self):
59683
- r"""精准速率限制的处置方式。取值有:<li>Monitor:观察;</li><li>Deny:拦截,其中DenyActionParameters.Name支持Deny和ReturnCustomPage;</li><li>Challenge:挑战,其中ChallengeActionParameters.Name支持JSChallenge和ManagedChallenge;</li><li>Redirect:重定向至URL;</li>
59687
+ r"""<p>精准速率限制的处置方式。SecurityAction.Name 取值范围如下:</p><ul><li>Allow:放行,其中 AllowActionParameters 支持 MinDelayTime 和 MaxDelayTime 配置;</li><li>Deny:拦截,其中 DenyActionParameters 中支持 ReturnCustomPage 和 Stall 配置;</li><li>Monitor:观察;</li><li>Challenge:挑战,其中 ChallengeActionParameters.ChallengeOption 支持 JSChallenge 和 ManagedChallenge;</li><li>Redirect:重定向至URL。</li></ul>
59684
59688
  :rtype: :class:`tencentcloud.teo.v20220901.models.SecurityAction`
59685
59689
  """
59686
59690
  return self._Action
@@ -59691,7 +59695,7 @@ class RateLimitingRule(AbstractModel):
59691
59695
 
59692
59696
  @property
59693
59697
  def Priority(self):
59694
- r"""精准速率限制的优先级,范围是 0 ~ 100,默认为 0。
59698
+ r"""<p>精准速率限制的优先级,范围是 0 ~ 100,默认为 0。</p>
59695
59699
  :rtype: int
59696
59700
  """
59697
59701
  return self._Priority
@@ -59702,7 +59706,7 @@ class RateLimitingRule(AbstractModel):
59702
59706
 
59703
59707
  @property
59704
59708
  def Enabled(self):
59705
- r"""精准速率限制规则是否开启。取值有:<li>on:开启;</li><li>off:关闭。</li>
59709
+ r"""<p>精准速率限制规则是否开启。取值有:<li>on:开启;</li><li>off:关闭。</li></p>
59706
59710
  :rtype: str
59707
59711
  """
59708
59712
  return self._Enabled
@@ -60100,7 +60104,12 @@ class RealtimeLogDeliveryTask(AbstractModel):
60100
60104
 
60101
60105
 
60102
60106
  class RedirectActionParameters(AbstractModel):
60103
- r"""Web安全重定向的附加参数
60107
+ r"""安全执行动作为重定向时的附加参数。
60108
+
60109
+ 该参数用于指定在命中安全规则并执行重定向动作时,系统所采取的附加处置动作。
60110
+ 不同处置动作由不同且固定的参数组合进行配置,系统将根据所配置的参数组合判定实际生效的处置动作类型。
60111
+ 在同一次重定向执行过程中,仅允许配置并生效一种处置动作,多个处置动作对应的参数组合不可同时出现,否则视为非法配置。
60112
+ RedirectActionParameters 支持以下附加处置动作:<li>重定向:将客户端请求重定向至指的目标 URL 。对应参数 URL。</li>
60104
60113
 
60105
60114
  """
60106
60115
 
@@ -63951,30 +63960,19 @@ class SecurityAction(AbstractModel):
63951
63960
 
63952
63961
  def __init__(self):
63953
63962
  r"""
63954
- :param _Name: 安全执行的具体动作。取值有:
63955
- <li>Deny:拦截,阻止请求访问站点资源;</li>
63956
- <li>Monitor:观察,仅记录日志;</li>
63957
- <li>Redirect:重定向至 URL;</li>
63958
- <li>Disabled:未启用,不启用指定规则;</li>
63959
- <li>Allow:允许访问,但延迟处理请求;</li>
63960
- <li>Challenge:挑战,响应挑战内容;</li>
63961
- <li>Trans:放行,允许请求直接访问站点资源;</li>
63962
- <li>BlockIP:待废弃,IP 封禁;</li>
63963
- <li>ReturnCustomPage:待废弃,使用指定页面拦截;</li>
63964
- <li>JSChallenge:待废弃,JavaScript 挑战;</li>
63965
- <li>ManagedChallenge:待废弃,托管挑战。</li>
63963
+ :param _Name: <p>安全执行的具体动作。取值有:</p><ul><li>Deny:拦截,阻止请求访问站点资源;</li><li>Monitor:观察,仅记录日志;</li><li>Redirect:重定向至 URL;</li><li>Disabled:未启用,不启用指定规则;</li><li>Allow:放行, 跳过当前安全模块剩余规则。当配置 AllowActionParameters 参数时延迟响应;</li><li>Challenge:挑战,响应挑战内容;</li><li>BlockIP:待废弃,IP 封禁;</li><li>ReturnCustomPage:待废弃,使用指定页面拦截;</li><li>JSChallenge:待废弃,JavaScript 挑战;</li><li>ManagedChallenge:待废弃,托管挑战。</li></ul>
63966
63964
  :type Name: str
63967
- :param _DenyActionParameters: 当 Name 为 Deny 时的附加参数。
63965
+ :param _DenyActionParameters: <p>当 Name 为 Deny 时的附加参数。</p>
63968
63966
  :type DenyActionParameters: :class:`tencentcloud.teo.v20220901.models.DenyActionParameters`
63969
- :param _RedirectActionParameters: 当 Name 为 Redirect 时的附加参数。
63967
+ :param _RedirectActionParameters: <p>当 Name 为 Redirect 时的附加参数。</p>
63970
63968
  :type RedirectActionParameters: :class:`tencentcloud.teo.v20220901.models.RedirectActionParameters`
63971
- :param _AllowActionParameters: 当 Name 为 Allow 时的附加参数。
63969
+ :param _AllowActionParameters: <p>当 Name 为 Allow 时的附加参数。</p>
63972
63970
  :type AllowActionParameters: :class:`tencentcloud.teo.v20220901.models.AllowActionParameters`
63973
- :param _ChallengeActionParameters: 当 Name 为 Challenge 时的附加参数。
63971
+ :param _ChallengeActionParameters: <p>当 Name 为 Challenge 时的附加参数。</p>
63974
63972
  :type ChallengeActionParameters: :class:`tencentcloud.teo.v20220901.models.ChallengeActionParameters`
63975
- :param _BlockIPActionParameters: 待废弃,当 Name 为 BlockIP 时的附加参数。
63973
+ :param _BlockIPActionParameters: <p>待废弃,当 Name 为 BlockIP 时的附加参数。</p>
63976
63974
  :type BlockIPActionParameters: :class:`tencentcloud.teo.v20220901.models.BlockIPActionParameters`
63977
- :param _ReturnCustomPageActionParameters: 待废弃,当 Name 为 ReturnCustomPage 时的附加参数。
63975
+ :param _ReturnCustomPageActionParameters: <p>待废弃,当 Name 为 ReturnCustomPage 时的附加参数。</p>
63978
63976
  :type ReturnCustomPageActionParameters: :class:`tencentcloud.teo.v20220901.models.ReturnCustomPageActionParameters`
63979
63977
  """
63980
63978
  self._Name = None
@@ -63987,18 +63985,7 @@ class SecurityAction(AbstractModel):
63987
63985
 
63988
63986
  @property
63989
63987
  def Name(self):
63990
- r"""安全执行的具体动作。取值有:
63991
- <li>Deny:拦截,阻止请求访问站点资源;</li>
63992
- <li>Monitor:观察,仅记录日志;</li>
63993
- <li>Redirect:重定向至 URL;</li>
63994
- <li>Disabled:未启用,不启用指定规则;</li>
63995
- <li>Allow:允许访问,但延迟处理请求;</li>
63996
- <li>Challenge:挑战,响应挑战内容;</li>
63997
- <li>Trans:放行,允许请求直接访问站点资源;</li>
63998
- <li>BlockIP:待废弃,IP 封禁;</li>
63999
- <li>ReturnCustomPage:待废弃,使用指定页面拦截;</li>
64000
- <li>JSChallenge:待废弃,JavaScript 挑战;</li>
64001
- <li>ManagedChallenge:待废弃,托管挑战。</li>
63988
+ r"""<p>安全执行的具体动作。取值有:</p><ul><li>Deny:拦截,阻止请求访问站点资源;</li><li>Monitor:观察,仅记录日志;</li><li>Redirect:重定向至 URL;</li><li>Disabled:未启用,不启用指定规则;</li><li>Allow:放行, 跳过当前安全模块剩余规则。当配置 AllowActionParameters 参数时延迟响应;</li><li>Challenge:挑战,响应挑战内容;</li><li>BlockIP:待废弃,IP 封禁;</li><li>ReturnCustomPage:待废弃,使用指定页面拦截;</li><li>JSChallenge:待废弃,JavaScript 挑战;</li><li>ManagedChallenge:待废弃,托管挑战。</li></ul>
64002
63989
  :rtype: str
64003
63990
  """
64004
63991
  return self._Name
@@ -64009,7 +63996,7 @@ class SecurityAction(AbstractModel):
64009
63996
 
64010
63997
  @property
64011
63998
  def DenyActionParameters(self):
64012
- r"""当 Name 为 Deny 时的附加参数。
63999
+ r"""<p>当 Name 为 Deny 时的附加参数。</p>
64013
64000
  :rtype: :class:`tencentcloud.teo.v20220901.models.DenyActionParameters`
64014
64001
  """
64015
64002
  return self._DenyActionParameters
@@ -64020,7 +64007,7 @@ class SecurityAction(AbstractModel):
64020
64007
 
64021
64008
  @property
64022
64009
  def RedirectActionParameters(self):
64023
- r"""当 Name 为 Redirect 时的附加参数。
64010
+ r"""<p>当 Name 为 Redirect 时的附加参数。</p>
64024
64011
  :rtype: :class:`tencentcloud.teo.v20220901.models.RedirectActionParameters`
64025
64012
  """
64026
64013
  return self._RedirectActionParameters
@@ -64031,7 +64018,7 @@ class SecurityAction(AbstractModel):
64031
64018
 
64032
64019
  @property
64033
64020
  def AllowActionParameters(self):
64034
- r"""当 Name 为 Allow 时的附加参数。
64021
+ r"""<p>当 Name 为 Allow 时的附加参数。</p>
64035
64022
  :rtype: :class:`tencentcloud.teo.v20220901.models.AllowActionParameters`
64036
64023
  """
64037
64024
  return self._AllowActionParameters
@@ -64042,7 +64029,7 @@ class SecurityAction(AbstractModel):
64042
64029
 
64043
64030
  @property
64044
64031
  def ChallengeActionParameters(self):
64045
- r"""当 Name 为 Challenge 时的附加参数。
64032
+ r"""<p>当 Name 为 Challenge 时的附加参数。</p>
64046
64033
  :rtype: :class:`tencentcloud.teo.v20220901.models.ChallengeActionParameters`
64047
64034
  """
64048
64035
  return self._ChallengeActionParameters
@@ -64053,7 +64040,7 @@ class SecurityAction(AbstractModel):
64053
64040
 
64054
64041
  @property
64055
64042
  def BlockIPActionParameters(self):
64056
- r"""待废弃,当 Name 为 BlockIP 时的附加参数。
64043
+ r"""<p>待废弃,当 Name 为 BlockIP 时的附加参数。</p>
64057
64044
  :rtype: :class:`tencentcloud.teo.v20220901.models.BlockIPActionParameters`
64058
64045
  """
64059
64046
  return self._BlockIPActionParameters
@@ -64064,7 +64051,7 @@ class SecurityAction(AbstractModel):
64064
64051
 
64065
64052
  @property
64066
64053
  def ReturnCustomPageActionParameters(self):
64067
- r"""待废弃,当 Name 为 ReturnCustomPage 时的附加参数。
64054
+ r"""<p>待废弃,当 Name 为 ReturnCustomPage 时的附加参数。</p>
64068
64055
  :rtype: :class:`tencentcloud.teo.v20220901.models.ReturnCustomPageActionParameters`
64069
64056
  """
64070
64057
  return self._ReturnCustomPageActionParameters
@@ -66753,14 +66740,17 @@ class TCEOCaptchaOption(AbstractModel):
66753
66740
 
66754
66741
  def __init__(self):
66755
66742
  r"""
66756
- :param _CaptchaMode: EdgeOne 人机校验模式,取值有:<li> Invisible:无感验证;</li><li>Adaptive:自适应交互验证。</li>
66743
+ :param _CaptchaMode: <p>浏览器端 WebView 人机校验交互模式。</p><p>枚举值:</p><ul><li>Invisible: 无感验证</li><li>Adaptive: 自适应交互验证</li></ul><p>默认值:Invisible</p>
66757
66744
  :type CaptchaMode: str
66745
+ :param _MobileCaptchaMode: <p>移动端原生 App 人机校验交互模式。</p><p>枚举值:</p><ul><li>Invisible: 无感验证</li><li>Visible: 交互验证</li></ul><p>默认值:Invisible</p>
66746
+ :type MobileCaptchaMode: str
66758
66747
  """
66759
66748
  self._CaptchaMode = None
66749
+ self._MobileCaptchaMode = None
66760
66750
 
66761
66751
  @property
66762
66752
  def CaptchaMode(self):
66763
- r"""EdgeOne 人机校验模式,取值有:<li> Invisible:无感验证;</li><li>Adaptive:自适应交互验证。</li>
66753
+ r"""<p>浏览器端 WebView 人机校验交互模式。</p><p>枚举值:</p><ul><li>Invisible: 无感验证</li><li>Adaptive: 自适应交互验证</li></ul><p>默认值:Invisible</p>
66764
66754
  :rtype: str
66765
66755
  """
66766
66756
  return self._CaptchaMode
@@ -66769,9 +66759,21 @@ class TCEOCaptchaOption(AbstractModel):
66769
66759
  def CaptchaMode(self, CaptchaMode):
66770
66760
  self._CaptchaMode = CaptchaMode
66771
66761
 
66762
+ @property
66763
+ def MobileCaptchaMode(self):
66764
+ r"""<p>移动端原生 App 人机校验交互模式。</p><p>枚举值:</p><ul><li>Invisible: 无感验证</li><li>Visible: 交互验证</li></ul><p>默认值:Invisible</p>
66765
+ :rtype: str
66766
+ """
66767
+ return self._MobileCaptchaMode
66768
+
66769
+ @MobileCaptchaMode.setter
66770
+ def MobileCaptchaMode(self, MobileCaptchaMode):
66771
+ self._MobileCaptchaMode = MobileCaptchaMode
66772
+
66772
66773
 
66773
66774
  def _deserialize(self, params):
66774
66775
  self._CaptchaMode = params.get("CaptchaMode")
66776
+ self._MobileCaptchaMode = params.get("MobileCaptchaMode")
66775
66777
  memeber_set = set(params.keys())
66776
66778
  for name, value in vars(self).items():
66777
66779
  property_name = name[1:]
@@ -1356,7 +1356,7 @@ class TeoClient(AbstractClient):
1356
1356
 
1357
1357
 
1358
1358
  def DeleteFunction(self, request):
1359
- r"""删除边缘函数,删除后函数无法恢复,关联的触发规则会一并删除。
1359
+ r"""删除边缘函数,删除后函数无法恢复,关联的触发规则,环境变量和副本会一并删除。
1360
1360
 
1361
1361
  :param request: Request instance for DeleteFunction.
1362
1362
  :type request: :class:`tencentcloud.teo.v20220901.models.DeleteFunctionRequest`
@@ -4141,7 +4141,7 @@ class TeoClient(AbstractClient):
4141
4141
 
4142
4142
  def HandleFunctionRuntimeEnvironment(self, request):
4143
4143
  r"""操作边缘函数运行环境,支持环境变量的相关设置。
4144
- 设置环境变量后,可在函数代码中使用,具体参考 [边缘函数引入环境变量](https://cloud.tencent.com/document/product/1552/109151#0151fd9a-8b0e-407b-ae37-54553a60ded6)。
4144
+ 设置环境变量后,可在函数代码和函数副本代码中使用,具体参考 [边缘函数引入环境变量](https://cloud.tencent.com/document/product/1552/109151#0151fd9a-8b0e-407b-ae37-54553a60ded6)。
4145
4145
 
4146
4146
  :param request: Request instance for HandleFunctionRuntimeEnvironment.
4147
4147
  :type request: :class:`tencentcloud.teo.v20220901.models.HandleFunctionRuntimeEnvironmentRequest`
@@ -1080,7 +1080,7 @@ class TeoClient(AbstractClient):
1080
1080
  opts: Dict = None,
1081
1081
  ) -> models.DeleteFunctionResponse:
1082
1082
  """
1083
- 删除边缘函数,删除后函数无法恢复,关联的触发规则会一并删除。
1083
+ 删除边缘函数,删除后函数无法恢复,关联的触发规则,环境变量和副本会一并删除。
1084
1084
  """
1085
1085
 
1086
1086
  kwargs = {}
@@ -3270,7 +3270,7 @@ class TeoClient(AbstractClient):
3270
3270
  ) -> models.HandleFunctionRuntimeEnvironmentResponse:
3271
3271
  """
3272
3272
  操作边缘函数运行环境,支持环境变量的相关设置。
3273
- 设置环境变量后,可在函数代码中使用,具体参考 [边缘函数引入环境变量](https://cloud.tencent.com/document/product/1552/109151#0151fd9a-8b0e-407b-ae37-54553a60ded6)。
3273
+ 设置环境变量后,可在函数代码和函数副本代码中使用,具体参考 [边缘函数引入环境变量](https://cloud.tencent.com/document/product/1552/109151#0151fd9a-8b0e-407b-ae37-54553a60ded6)。
3274
3274
  """
3275
3275
 
3276
3276
  kwargs = {}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-teo
3
- Version: 3.1.181
3
+ Version: 3.1.189
4
4
  Summary: Tencent Cloud Teo SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.181
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.189
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.189
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.181