tencentcloud-sdk-python-teo 3.0.1155__tar.gz → 3.0.1176__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 (20) hide show
  1. {tencentcloud-sdk-python-teo-3.0.1155 → tencentcloud-sdk-python-teo-3.0.1176}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-teo-3.0.1155 → tencentcloud-sdk-python-teo-3.0.1176}/setup.py +1 -1
  3. {tencentcloud-sdk-python-teo-3.0.1155 → tencentcloud-sdk-python-teo-3.0.1176}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-teo-3.0.1155 → tencentcloud-sdk-python-teo-3.0.1176}/tencentcloud/teo/v20220901/errorcodes.py +45 -0
  5. {tencentcloud-sdk-python-teo-3.0.1155 → tencentcloud-sdk-python-teo-3.0.1176}/tencentcloud/teo/v20220901/models.py +644 -60
  6. {tencentcloud-sdk-python-teo-3.0.1155 → tencentcloud-sdk-python-teo-3.0.1176}/tencentcloud/teo/v20220901/teo_client.py +92 -0
  7. {tencentcloud-sdk-python-teo-3.0.1155 → tencentcloud-sdk-python-teo-3.0.1176}/tencentcloud_sdk_python_teo.egg-info/PKG-INFO +1 -1
  8. tencentcloud-sdk-python-teo-3.0.1176/tencentcloud_sdk_python_teo.egg-info/requires.txt +1 -0
  9. tencentcloud-sdk-python-teo-3.0.1155/tencentcloud_sdk_python_teo.egg-info/requires.txt +0 -1
  10. {tencentcloud-sdk-python-teo-3.0.1155 → tencentcloud-sdk-python-teo-3.0.1176}/README.rst +0 -0
  11. {tencentcloud-sdk-python-teo-3.0.1155 → tencentcloud-sdk-python-teo-3.0.1176}/setup.cfg +0 -0
  12. {tencentcloud-sdk-python-teo-3.0.1155 → tencentcloud-sdk-python-teo-3.0.1176}/tencentcloud/teo/__init__.py +0 -0
  13. {tencentcloud-sdk-python-teo-3.0.1155 → tencentcloud-sdk-python-teo-3.0.1176}/tencentcloud/teo/v20220106/__init__.py +0 -0
  14. {tencentcloud-sdk-python-teo-3.0.1155 → tencentcloud-sdk-python-teo-3.0.1176}/tencentcloud/teo/v20220106/errorcodes.py +0 -0
  15. {tencentcloud-sdk-python-teo-3.0.1155 → tencentcloud-sdk-python-teo-3.0.1176}/tencentcloud/teo/v20220106/models.py +0 -0
  16. {tencentcloud-sdk-python-teo-3.0.1155 → tencentcloud-sdk-python-teo-3.0.1176}/tencentcloud/teo/v20220106/teo_client.py +0 -0
  17. {tencentcloud-sdk-python-teo-3.0.1155 → tencentcloud-sdk-python-teo-3.0.1176}/tencentcloud/teo/v20220901/__init__.py +0 -0
  18. {tencentcloud-sdk-python-teo-3.0.1155 → tencentcloud-sdk-python-teo-3.0.1176}/tencentcloud_sdk_python_teo.egg-info/SOURCES.txt +0 -0
  19. {tencentcloud-sdk-python-teo-3.0.1155 → tencentcloud-sdk-python-teo-3.0.1176}/tencentcloud_sdk_python_teo.egg-info/dependency_links.txt +0 -0
  20. {tencentcloud-sdk-python-teo-3.0.1155 → tencentcloud-sdk-python-teo-3.0.1176}/tencentcloud_sdk_python_teo.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-teo
3
- Version: 3.0.1155
3
+ Version: 3.0.1176
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
@@ -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.0.1155"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1176"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Teo SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1155'
17
+ __version__ = '3.0.1176'
@@ -686,9 +686,21 @@ INVALIDPARAMETERVALUE_CONFLICTWITHNSRECORD = 'InvalidParameterValue.ConflictWith
686
686
  # 主机记录与记录值不能取值相同。
687
687
  INVALIDPARAMETERVALUE_CONTENTSAMEASNAME = 'InvalidParameterValue.ContentSameAsName'
688
688
 
689
+ # 页面内容与Content-Type不匹配。
690
+ INVALIDPARAMETERVALUE_CONTENTTYPENOTMATCH = 'InvalidParameterValue.ContentTypeNotMatch'
691
+
689
692
  # 入参中的域名与站点参数不匹配,请更正后重试。
690
693
  INVALIDPARAMETERVALUE_DOMAINNOTMATCHZONE = 'InvalidParameterValue.DomainNotMatchZone'
691
694
 
695
+ # 格式不匹配。
696
+ INVALIDPARAMETERVALUE_FORMATMISMATCH = 'InvalidParameterValue.FormatMismatch'
697
+
698
+ # 配置参数格式不匹配。
699
+ INVALIDPARAMETERVALUE_GENERALMISMATCH = 'InvalidParameterValue.GeneralMismatch'
700
+
701
+ # 包含无效的值。
702
+ INVALIDPARAMETERVALUE_INCLUDEINVALIDVALUE = 'InvalidParameterValue.IncludeInvalidValue'
703
+
692
704
  # 别称域名名称不合法,别称域名应该由数字、英文字母、连词符组成,且连词符不能位于开头和结尾处。
693
705
  INVALIDPARAMETERVALUE_INVALIDALIASDOMAINNAME = 'InvalidParameterValue.InvalidAliasDomainName'
694
706
 
@@ -713,18 +725,36 @@ INVALIDPARAMETERVALUE_INVALIDPROXYORIGIN = 'InvalidParameterValue.InvalidProxyOr
713
725
  # 标签值存在不合法字符。
714
726
  INVALIDPARAMETERVALUE_INVALIDTAGVALUE = 'InvalidParameterValue.InvalidTagValue'
715
727
 
728
+ # 缺少必要配置参数。
729
+ INVALIDPARAMETERVALUE_MISSINGNECESSARYPARAM = 'InvalidParameterValue.MissingNecessaryParam'
730
+
716
731
  # 不支持接入泛域名 CNAME
717
732
  INVALIDPARAMETERVALUE_NOTALLOWEDWILDCARDSHAREDCNAME = 'InvalidParameterValue.NotAllowedWildcardSharedCNAME'
718
733
 
734
+ # 值不在要求的集合内。
735
+ INVALIDPARAMETERVALUE_NOTINENUMERATION = 'InvalidParameterValue.NotInEnumeration'
736
+
737
+ # 值不在指定范围。
738
+ INVALIDPARAMETERVALUE_NOTWITHINRANGE = 'InvalidParameterValue.NotWithinRange'
739
+
719
740
  # 指定的源站组不存在。
720
741
  INVALIDPARAMETERVALUE_ORIGINGROUPNOTEXISTS = 'InvalidParameterValue.OriginGroupNotExists'
721
742
 
743
+ # 页面名称已存在。
744
+ INVALIDPARAMETERVALUE_PAGENAMEALREADYEXIST = 'InvalidParameterValue.PageNameAlreadyExist'
745
+
746
+ # 不符合指定的正则表达式。
747
+ INVALIDPARAMETERVALUE_REGEXMISMATCH = 'InvalidParameterValue.RegExMismatch'
748
+
722
749
  # 请输入合法的共享 CNAME 前缀,最大支持50个字符。
723
750
  INVALIDPARAMETERVALUE_SHAREDCNAMEPREFIXNOTMATCH = 'InvalidParameterValue.SharedCNAMEPrefixNotMatch'
724
751
 
725
752
  # 暂不支持当前域名后缀接入,如您需要使用请联系我们。
726
753
  INVALIDPARAMETERVALUE_TOPLEVELDOMAINNOTSUPPORT = 'InvalidParameterValue.TopLevelDomainNotSupport'
727
754
 
755
+ # 配置项错误。
756
+ INVALIDPARAMETERVALUE_UNRECOGNIZABLEVALUE = 'InvalidParameterValue.UnrecognizableValue'
757
+
728
758
  # 站点名称格式不正确,请输入正确的域名格式。
729
759
  INVALIDPARAMETERVALUE_ZONENAMEINVALID = 'InvalidParameterValue.ZoneNameInvalid'
730
760
 
@@ -743,6 +773,9 @@ LIMITEXCEEDED = 'LimitExceeded'
743
773
  # 本次提交的资源数超过上限。
744
774
  LIMITEXCEEDED_BATCHQUOTA = 'LimitExceeded.BatchQuota'
745
775
 
776
+ # 实时日志自定义字段正则类型字段数量超过限制
777
+ LIMITEXCEEDED_CUSTOMLOGFIELDREGEXLIMITEXCEEDED = 'LimitExceeded.CustomLogFieldRegexLimitExceeded'
778
+
746
779
  # 当天提交的资源数超过上限。
747
780
  LIMITEXCEEDED_DAILYQUOTA = 'LimitExceeded.DailyQuota'
748
781
 
@@ -833,6 +866,12 @@ OPERATIONDENIED_INVALIDADVANCEDDEFENSESECURITYTYPE = 'OperationDenied.InvalidAdv
833
866
  # 开启高防必须保证站点加速区域是国内。
834
867
  OPERATIONDENIED_INVALIDADVANCEDDEFENSEZONEAREA = 'OperationDenied.InvalidAdvancedDefenseZoneArea'
835
868
 
869
+ # 独立DDoS防护与IPv6冲突,不能同时配置。
870
+ OPERATIONDENIED_IPV6ADVANCEDCONFLICT = 'OperationDenied.Ipv6AdvancedConflict'
871
+
872
+ # ipv6功能和固定ip无法同时开启。
873
+ OPERATIONDENIED_IPV6STATICIPCONFLICT = 'OperationDenied.Ipv6StaticIpConflict'
874
+
836
875
  # 四层实例资源售卖火爆,已售罄,正在加紧补货中,当前无法新增四层代理,请您耐心等待。
837
876
  OPERATIONDENIED_L4LACKOFRESOURCES = 'OperationDenied.L4LackOfResources'
838
877
 
@@ -866,6 +905,9 @@ OPERATIONDENIED_LOADBALANCESTATUSNOTINONLINE = 'OperationDenied.LoadBalanceStatu
866
905
  # 站点状态不支持操作负载均衡。
867
906
  OPERATIONDENIED_LOADBALANCINGZONEISNOTACTIVE = 'OperationDenied.LoadBalancingZoneIsNotActive'
868
907
 
908
+ # 非海外独立防护,不能开启ipv6。
909
+ OPERATIONDENIED_MSGIPV6ADVANCEDCONFLICT = 'OperationDenied.MsgIpv6AdvancedConflict'
910
+
869
911
  # 已存在多个Cname接入站点,不允许切换至NS。
870
912
  OPERATIONDENIED_MULTIPLECNAMEZONE = 'OperationDenied.MultipleCnameZone'
871
913
 
@@ -932,6 +974,9 @@ OPERATIONDENIED_SHAREDCNAMEUNSUPPORTEDACCELERATEMAINLAND = 'OperationDenied.Shar
932
974
  # 绑定在共享 CNAME 中的域名不允许变更 IPv6 访问,如果您需要单独变更,请先将域名从共享 CNAME 中解绑。
933
975
  OPERATIONDENIED_SHAREDCNAMEUNSUPPORTEDIPV6 = 'OperationDenied.SharedCNAMEUnsupportedIPv6'
934
976
 
977
+ # 该实例地域无法开启固定IP。
978
+ OPERATIONDENIED_STATICIPAREACONFLICT = 'OperationDenied.StaticIpAreaConflict'
979
+
935
980
  # 存在使用中的测试版本,请将测试版本发布现网或者回滚测试版本再重试。
936
981
  OPERATIONDENIED_VERSIONCONTROLISGRAYING = 'OperationDenied.VersionControlIsGraying'
937
982
 
@@ -4756,6 +4756,124 @@ class CreateConfigGroupVersionResponse(AbstractModel):
4756
4756
  self._RequestId = params.get("RequestId")
4757
4757
 
4758
4758
 
4759
+ class CreateCustomizeErrorPageRequest(AbstractModel):
4760
+ """CreateCustomizeErrorPage请求参数结构体
4761
+
4762
+ """
4763
+
4764
+ def __init__(self):
4765
+ r"""
4766
+ :param _ZoneId: 站点 ID。
4767
+ :type ZoneId: str
4768
+ :param _Name: 自定义错误页名称,名称为 2-30 个字符。
4769
+ :type Name: str
4770
+ :param _ContentType: 自定义错误页面类型,取值有:<li>text/html; </li><li>application/json;</li><li>text/plain;</li><li>text/xml。</li>
4771
+ :type ContentType: str
4772
+ :param _Description: 自定义错误页面描述,描述不超过 60 个字符。
4773
+ :type Description: str
4774
+ :param _Content: 自定义错误页面内容,内容不超过 2KB。
4775
+ :type Content: str
4776
+ """
4777
+ self._ZoneId = None
4778
+ self._Name = None
4779
+ self._ContentType = None
4780
+ self._Description = None
4781
+ self._Content = None
4782
+
4783
+ @property
4784
+ def ZoneId(self):
4785
+ return self._ZoneId
4786
+
4787
+ @ZoneId.setter
4788
+ def ZoneId(self, ZoneId):
4789
+ self._ZoneId = ZoneId
4790
+
4791
+ @property
4792
+ def Name(self):
4793
+ return self._Name
4794
+
4795
+ @Name.setter
4796
+ def Name(self, Name):
4797
+ self._Name = Name
4798
+
4799
+ @property
4800
+ def ContentType(self):
4801
+ return self._ContentType
4802
+
4803
+ @ContentType.setter
4804
+ def ContentType(self, ContentType):
4805
+ self._ContentType = ContentType
4806
+
4807
+ @property
4808
+ def Description(self):
4809
+ return self._Description
4810
+
4811
+ @Description.setter
4812
+ def Description(self, Description):
4813
+ self._Description = Description
4814
+
4815
+ @property
4816
+ def Content(self):
4817
+ return self._Content
4818
+
4819
+ @Content.setter
4820
+ def Content(self, Content):
4821
+ self._Content = Content
4822
+
4823
+
4824
+ def _deserialize(self, params):
4825
+ self._ZoneId = params.get("ZoneId")
4826
+ self._Name = params.get("Name")
4827
+ self._ContentType = params.get("ContentType")
4828
+ self._Description = params.get("Description")
4829
+ self._Content = params.get("Content")
4830
+ memeber_set = set(params.keys())
4831
+ for name, value in vars(self).items():
4832
+ property_name = name[1:]
4833
+ if property_name in memeber_set:
4834
+ memeber_set.remove(property_name)
4835
+ if len(memeber_set) > 0:
4836
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
4837
+
4838
+
4839
+
4840
+ class CreateCustomizeErrorPageResponse(AbstractModel):
4841
+ """CreateCustomizeErrorPage返回参数结构体
4842
+
4843
+ """
4844
+
4845
+ def __init__(self):
4846
+ r"""
4847
+ :param _PageId: 页面 ID。
4848
+ :type PageId: str
4849
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4850
+ :type RequestId: str
4851
+ """
4852
+ self._PageId = None
4853
+ self._RequestId = None
4854
+
4855
+ @property
4856
+ def PageId(self):
4857
+ return self._PageId
4858
+
4859
+ @PageId.setter
4860
+ def PageId(self, PageId):
4861
+ self._PageId = PageId
4862
+
4863
+ @property
4864
+ def RequestId(self):
4865
+ return self._RequestId
4866
+
4867
+ @RequestId.setter
4868
+ def RequestId(self, RequestId):
4869
+ self._RequestId = RequestId
4870
+
4871
+
4872
+ def _deserialize(self, params):
4873
+ self._PageId = params.get("PageId")
4874
+ self._RequestId = params.get("RequestId")
4875
+
4876
+
4759
4877
  class CreateL4ProxyRequest(AbstractModel):
4760
4878
  """CreateL4Proxy请求参数结构体
4761
4879
 
@@ -6510,6 +6628,116 @@ class CustomEndpoint(AbstractModel):
6510
6628
 
6511
6629
 
6512
6630
 
6631
+ class CustomErrorPage(AbstractModel):
6632
+ """自定义错误码页面结构体。
6633
+
6634
+ """
6635
+
6636
+ def __init__(self):
6637
+ r"""
6638
+ :param _PageId: 自定义错误页面 ID。
6639
+ :type PageId: str
6640
+ :param _ZoneId: 站点 ID。
6641
+ :type ZoneId: str
6642
+ :param _Name: 自定义错误页面名称。
6643
+ :type Name: str
6644
+ :param _ContentType: 自定义错误页面类型。
6645
+ :type ContentType: str
6646
+ :param _Description: 自定义错误页面描述。
6647
+ :type Description: str
6648
+ :param _Content: 自定义错误页面内容。
6649
+ :type Content: str
6650
+ :param _References: 自定义错误页面引用。
6651
+ :type References: list of ErrorPageReference
6652
+ """
6653
+ self._PageId = None
6654
+ self._ZoneId = None
6655
+ self._Name = None
6656
+ self._ContentType = None
6657
+ self._Description = None
6658
+ self._Content = None
6659
+ self._References = None
6660
+
6661
+ @property
6662
+ def PageId(self):
6663
+ return self._PageId
6664
+
6665
+ @PageId.setter
6666
+ def PageId(self, PageId):
6667
+ self._PageId = PageId
6668
+
6669
+ @property
6670
+ def ZoneId(self):
6671
+ return self._ZoneId
6672
+
6673
+ @ZoneId.setter
6674
+ def ZoneId(self, ZoneId):
6675
+ self._ZoneId = ZoneId
6676
+
6677
+ @property
6678
+ def Name(self):
6679
+ return self._Name
6680
+
6681
+ @Name.setter
6682
+ def Name(self, Name):
6683
+ self._Name = Name
6684
+
6685
+ @property
6686
+ def ContentType(self):
6687
+ return self._ContentType
6688
+
6689
+ @ContentType.setter
6690
+ def ContentType(self, ContentType):
6691
+ self._ContentType = ContentType
6692
+
6693
+ @property
6694
+ def Description(self):
6695
+ return self._Description
6696
+
6697
+ @Description.setter
6698
+ def Description(self, Description):
6699
+ self._Description = Description
6700
+
6701
+ @property
6702
+ def Content(self):
6703
+ return self._Content
6704
+
6705
+ @Content.setter
6706
+ def Content(self, Content):
6707
+ self._Content = Content
6708
+
6709
+ @property
6710
+ def References(self):
6711
+ return self._References
6712
+
6713
+ @References.setter
6714
+ def References(self, References):
6715
+ self._References = References
6716
+
6717
+
6718
+ def _deserialize(self, params):
6719
+ self._PageId = params.get("PageId")
6720
+ self._ZoneId = params.get("ZoneId")
6721
+ self._Name = params.get("Name")
6722
+ self._ContentType = params.get("ContentType")
6723
+ self._Description = params.get("Description")
6724
+ self._Content = params.get("Content")
6725
+ if params.get("References") is not None:
6726
+ self._References = []
6727
+ for item in params.get("References"):
6728
+ obj = ErrorPageReference()
6729
+ obj._deserialize(item)
6730
+ self._References.append(obj)
6731
+ memeber_set = set(params.keys())
6732
+ for name, value in vars(self).items():
6733
+ property_name = name[1:]
6734
+ if property_name in memeber_set:
6735
+ memeber_set.remove(property_name)
6736
+ if len(memeber_set) > 0:
6737
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
6738
+
6739
+
6740
+
6513
6741
  class CustomField(AbstractModel):
6514
6742
  """实时日志投递任务中的自定义日志字段。
6515
6743
 
@@ -7359,6 +7587,76 @@ class DeleteApplicationProxyRuleResponse(AbstractModel):
7359
7587
  self._RequestId = params.get("RequestId")
7360
7588
 
7361
7589
 
7590
+ class DeleteCustomErrorPageRequest(AbstractModel):
7591
+ """DeleteCustomErrorPage请求参数结构体
7592
+
7593
+ """
7594
+
7595
+ def __init__(self):
7596
+ r"""
7597
+ :param _ZoneId: 站点 ID。
7598
+ :type ZoneId: str
7599
+ :param _PageId: 自定义页面 ID。
7600
+ :type PageId: str
7601
+ """
7602
+ self._ZoneId = None
7603
+ self._PageId = None
7604
+
7605
+ @property
7606
+ def ZoneId(self):
7607
+ return self._ZoneId
7608
+
7609
+ @ZoneId.setter
7610
+ def ZoneId(self, ZoneId):
7611
+ self._ZoneId = ZoneId
7612
+
7613
+ @property
7614
+ def PageId(self):
7615
+ return self._PageId
7616
+
7617
+ @PageId.setter
7618
+ def PageId(self, PageId):
7619
+ self._PageId = PageId
7620
+
7621
+
7622
+ def _deserialize(self, params):
7623
+ self._ZoneId = params.get("ZoneId")
7624
+ self._PageId = params.get("PageId")
7625
+ memeber_set = set(params.keys())
7626
+ for name, value in vars(self).items():
7627
+ property_name = name[1:]
7628
+ if property_name in memeber_set:
7629
+ memeber_set.remove(property_name)
7630
+ if len(memeber_set) > 0:
7631
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
7632
+
7633
+
7634
+
7635
+ class DeleteCustomErrorPageResponse(AbstractModel):
7636
+ """DeleteCustomErrorPage返回参数结构体
7637
+
7638
+ """
7639
+
7640
+ def __init__(self):
7641
+ r"""
7642
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7643
+ :type RequestId: str
7644
+ """
7645
+ self._RequestId = None
7646
+
7647
+ @property
7648
+ def RequestId(self):
7649
+ return self._RequestId
7650
+
7651
+ @RequestId.setter
7652
+ def RequestId(self, RequestId):
7653
+ self._RequestId = RequestId
7654
+
7655
+
7656
+ def _deserialize(self, params):
7657
+ self._RequestId = params.get("RequestId")
7658
+
7659
+
7362
7660
  class DeleteL4ProxyRequest(AbstractModel):
7363
7661
  """DeleteL4Proxy请求参数结构体
7364
7662
 
@@ -9050,18 +9348,112 @@ class DescribeConfigGroupVersionsResponse(AbstractModel):
9050
9348
 
9051
9349
 
9052
9350
  def _deserialize(self, params):
9053
- self._TotalCount = params.get("TotalCount")
9054
- if params.get("ConfigGroupVersionInfos") is not None:
9055
- self._ConfigGroupVersionInfos = []
9056
- for item in params.get("ConfigGroupVersionInfos"):
9057
- obj = ConfigGroupVersionInfo()
9351
+ self._TotalCount = params.get("TotalCount")
9352
+ if params.get("ConfigGroupVersionInfos") is not None:
9353
+ self._ConfigGroupVersionInfos = []
9354
+ for item in params.get("ConfigGroupVersionInfos"):
9355
+ obj = ConfigGroupVersionInfo()
9356
+ obj._deserialize(item)
9357
+ self._ConfigGroupVersionInfos.append(obj)
9358
+ self._RequestId = params.get("RequestId")
9359
+
9360
+
9361
+ class DescribeContentQuotaRequest(AbstractModel):
9362
+ """DescribeContentQuota请求参数结构体
9363
+
9364
+ """
9365
+
9366
+ def __init__(self):
9367
+ r"""
9368
+ :param _ZoneId: 站点 ID。
9369
+ :type ZoneId: str
9370
+ """
9371
+ self._ZoneId = None
9372
+
9373
+ @property
9374
+ def ZoneId(self):
9375
+ return self._ZoneId
9376
+
9377
+ @ZoneId.setter
9378
+ def ZoneId(self, ZoneId):
9379
+ self._ZoneId = ZoneId
9380
+
9381
+
9382
+ def _deserialize(self, params):
9383
+ self._ZoneId = params.get("ZoneId")
9384
+ memeber_set = set(params.keys())
9385
+ for name, value in vars(self).items():
9386
+ property_name = name[1:]
9387
+ if property_name in memeber_set:
9388
+ memeber_set.remove(property_name)
9389
+ if len(memeber_set) > 0:
9390
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
9391
+
9392
+
9393
+
9394
+ class DescribeContentQuotaResponse(AbstractModel):
9395
+ """DescribeContentQuota返回参数结构体
9396
+
9397
+ """
9398
+
9399
+ def __init__(self):
9400
+ r"""
9401
+ :param _PurgeQuota: 刷新相关配额。
9402
+ 注意:此字段可能返回 null,表示取不到有效值。
9403
+ :type PurgeQuota: list of Quota
9404
+ :param _PrefetchQuota: 预热相关配额。
9405
+ 注意:此字段可能返回 null,表示取不到有效值。
9406
+ :type PrefetchQuota: list of Quota
9407
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9408
+ :type RequestId: str
9409
+ """
9410
+ self._PurgeQuota = None
9411
+ self._PrefetchQuota = None
9412
+ self._RequestId = None
9413
+
9414
+ @property
9415
+ def PurgeQuota(self):
9416
+ return self._PurgeQuota
9417
+
9418
+ @PurgeQuota.setter
9419
+ def PurgeQuota(self, PurgeQuota):
9420
+ self._PurgeQuota = PurgeQuota
9421
+
9422
+ @property
9423
+ def PrefetchQuota(self):
9424
+ return self._PrefetchQuota
9425
+
9426
+ @PrefetchQuota.setter
9427
+ def PrefetchQuota(self, PrefetchQuota):
9428
+ self._PrefetchQuota = PrefetchQuota
9429
+
9430
+ @property
9431
+ def RequestId(self):
9432
+ return self._RequestId
9433
+
9434
+ @RequestId.setter
9435
+ def RequestId(self, RequestId):
9436
+ self._RequestId = RequestId
9437
+
9438
+
9439
+ def _deserialize(self, params):
9440
+ if params.get("PurgeQuota") is not None:
9441
+ self._PurgeQuota = []
9442
+ for item in params.get("PurgeQuota"):
9443
+ obj = Quota()
9058
9444
  obj._deserialize(item)
9059
- self._ConfigGroupVersionInfos.append(obj)
9445
+ self._PurgeQuota.append(obj)
9446
+ if params.get("PrefetchQuota") is not None:
9447
+ self._PrefetchQuota = []
9448
+ for item in params.get("PrefetchQuota"):
9449
+ obj = Quota()
9450
+ obj._deserialize(item)
9451
+ self._PrefetchQuota.append(obj)
9060
9452
  self._RequestId = params.get("RequestId")
9061
9453
 
9062
9454
 
9063
- class DescribeContentQuotaRequest(AbstractModel):
9064
- """DescribeContentQuota请求参数结构体
9455
+ class DescribeCustomErrorPagesRequest(AbstractModel):
9456
+ """DescribeCustomErrorPages请求参数结构体
9065
9457
 
9066
9458
  """
9067
9459
 
@@ -9069,8 +9461,21 @@ class DescribeContentQuotaRequest(AbstractModel):
9069
9461
  r"""
9070
9462
  :param _ZoneId: 站点 ID。
9071
9463
  :type ZoneId: str
9464
+ :param _Filters: 过滤条件,Filters.Values 的上限为20,详细的过滤条件Name值如下:
9465
+ <li>page-id: 按照页面 ID 进行过滤;</li>
9466
+ <li>name: 按照页面名称进行过滤;</li>
9467
+ <li>description:按照页面描述过滤;</li>
9468
+ <li>content-type:按照页面类型过滤。</li>
9469
+ :type Filters: list of AdvancedFilter
9470
+ :param _Offset: 分页查询偏移量。默认值:0。
9471
+ :type Offset: int
9472
+ :param _Limit: 分页查询限制数目。默认值:20,最大值:1000。
9473
+ :type Limit: int
9072
9474
  """
9073
9475
  self._ZoneId = None
9476
+ self._Filters = None
9477
+ self._Offset = None
9478
+ self._Limit = None
9074
9479
 
9075
9480
  @property
9076
9481
  def ZoneId(self):
@@ -9080,9 +9485,41 @@ class DescribeContentQuotaRequest(AbstractModel):
9080
9485
  def ZoneId(self, ZoneId):
9081
9486
  self._ZoneId = ZoneId
9082
9487
 
9488
+ @property
9489
+ def Filters(self):
9490
+ return self._Filters
9491
+
9492
+ @Filters.setter
9493
+ def Filters(self, Filters):
9494
+ self._Filters = Filters
9495
+
9496
+ @property
9497
+ def Offset(self):
9498
+ return self._Offset
9499
+
9500
+ @Offset.setter
9501
+ def Offset(self, Offset):
9502
+ self._Offset = Offset
9503
+
9504
+ @property
9505
+ def Limit(self):
9506
+ return self._Limit
9507
+
9508
+ @Limit.setter
9509
+ def Limit(self, Limit):
9510
+ self._Limit = Limit
9511
+
9083
9512
 
9084
9513
  def _deserialize(self, params):
9085
9514
  self._ZoneId = params.get("ZoneId")
9515
+ if params.get("Filters") is not None:
9516
+ self._Filters = []
9517
+ for item in params.get("Filters"):
9518
+ obj = AdvancedFilter()
9519
+ obj._deserialize(item)
9520
+ self._Filters.append(obj)
9521
+ self._Offset = params.get("Offset")
9522
+ self._Limit = params.get("Limit")
9086
9523
  memeber_set = set(params.keys())
9087
9524
  for name, value in vars(self).items():
9088
9525
  property_name = name[1:]
@@ -9093,41 +9530,39 @@ class DescribeContentQuotaRequest(AbstractModel):
9093
9530
 
9094
9531
 
9095
9532
 
9096
- class DescribeContentQuotaResponse(AbstractModel):
9097
- """DescribeContentQuota返回参数结构体
9533
+ class DescribeCustomErrorPagesResponse(AbstractModel):
9534
+ """DescribeCustomErrorPages返回参数结构体
9098
9535
 
9099
9536
  """
9100
9537
 
9101
9538
  def __init__(self):
9102
9539
  r"""
9103
- :param _PurgeQuota: 刷新相关配额。
9104
- 注意:此字段可能返回 null,表示取不到有效值。
9105
- :type PurgeQuota: list of Quota
9106
- :param _PrefetchQuota: 预热相关配额。
9107
- 注意:此字段可能返回 null,表示取不到有效值。
9108
- :type PrefetchQuota: list of Quota
9540
+ :param _TotalCount: 自定义错误页面总数。
9541
+ :type TotalCount: int
9542
+ :param _ErrorPages: 自定义错误页面数据列表。
9543
+ :type ErrorPages: list of CustomErrorPage
9109
9544
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9110
9545
  :type RequestId: str
9111
9546
  """
9112
- self._PurgeQuota = None
9113
- self._PrefetchQuota = None
9547
+ self._TotalCount = None
9548
+ self._ErrorPages = None
9114
9549
  self._RequestId = None
9115
9550
 
9116
9551
  @property
9117
- def PurgeQuota(self):
9118
- return self._PurgeQuota
9552
+ def TotalCount(self):
9553
+ return self._TotalCount
9119
9554
 
9120
- @PurgeQuota.setter
9121
- def PurgeQuota(self, PurgeQuota):
9122
- self._PurgeQuota = PurgeQuota
9555
+ @TotalCount.setter
9556
+ def TotalCount(self, TotalCount):
9557
+ self._TotalCount = TotalCount
9123
9558
 
9124
9559
  @property
9125
- def PrefetchQuota(self):
9126
- return self._PrefetchQuota
9560
+ def ErrorPages(self):
9561
+ return self._ErrorPages
9127
9562
 
9128
- @PrefetchQuota.setter
9129
- def PrefetchQuota(self, PrefetchQuota):
9130
- self._PrefetchQuota = PrefetchQuota
9563
+ @ErrorPages.setter
9564
+ def ErrorPages(self, ErrorPages):
9565
+ self._ErrorPages = ErrorPages
9131
9566
 
9132
9567
  @property
9133
9568
  def RequestId(self):
@@ -9139,18 +9574,13 @@ class DescribeContentQuotaResponse(AbstractModel):
9139
9574
 
9140
9575
 
9141
9576
  def _deserialize(self, params):
9142
- if params.get("PurgeQuota") is not None:
9143
- self._PurgeQuota = []
9144
- for item in params.get("PurgeQuota"):
9145
- obj = Quota()
9146
- obj._deserialize(item)
9147
- self._PurgeQuota.append(obj)
9148
- if params.get("PrefetchQuota") is not None:
9149
- self._PrefetchQuota = []
9150
- for item in params.get("PrefetchQuota"):
9151
- obj = Quota()
9577
+ self._TotalCount = params.get("TotalCount")
9578
+ if params.get("ErrorPages") is not None:
9579
+ self._ErrorPages = []
9580
+ for item in params.get("ErrorPages"):
9581
+ obj = CustomErrorPage()
9152
9582
  obj._deserialize(item)
9153
- self._PrefetchQuota.append(obj)
9583
+ self._ErrorPages.append(obj)
9154
9584
  self._RequestId = params.get("RequestId")
9155
9585
 
9156
9586
 
@@ -14370,6 +14800,39 @@ class EnvInfo(AbstractModel):
14370
14800
 
14371
14801
 
14372
14802
 
14803
+ class ErrorPageReference(AbstractModel):
14804
+ """自定义错误页面被引用的来源
14805
+
14806
+ """
14807
+
14808
+ def __init__(self):
14809
+ r"""
14810
+ :param _BusinessId: 引用的业务 ID,如自定义拦截规则 ID。
14811
+ :type BusinessId: str
14812
+ """
14813
+ self._BusinessId = None
14814
+
14815
+ @property
14816
+ def BusinessId(self):
14817
+ return self._BusinessId
14818
+
14819
+ @BusinessId.setter
14820
+ def BusinessId(self, BusinessId):
14821
+ self._BusinessId = BusinessId
14822
+
14823
+
14824
+ def _deserialize(self, params):
14825
+ self._BusinessId = params.get("BusinessId")
14826
+ memeber_set = set(params.keys())
14827
+ for name, value in vars(self).items():
14828
+ property_name = name[1:]
14829
+ if property_name in memeber_set:
14830
+ memeber_set.remove(property_name)
14831
+ if len(memeber_set) > 0:
14832
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
14833
+
14834
+
14835
+
14373
14836
  class ExceptConfig(AbstractModel):
14374
14837
  """例外规则,用于配置需要跳过特定场景的规则
14375
14838
 
@@ -17940,6 +18403,124 @@ class ModifyApplicationProxyStatusResponse(AbstractModel):
17940
18403
  self._RequestId = params.get("RequestId")
17941
18404
 
17942
18405
 
18406
+ class ModifyCustomErrorPageRequest(AbstractModel):
18407
+ """ModifyCustomErrorPage请求参数结构体
18408
+
18409
+ """
18410
+
18411
+ def __init__(self):
18412
+ r"""
18413
+ :param _PageId: 自定义错误页面 ID。
18414
+ :type PageId: str
18415
+ :param _ZoneId: 站点 ID。
18416
+ :type ZoneId: str
18417
+ :param _Name: 自定义错误页名称,名称为2 - 60个字符。
18418
+ :type Name: str
18419
+ :param _Description: 自定义错误页描述,描述内容不超过60个字符。
18420
+ :type Description: str
18421
+ :param _ContentType: 自定义错误页面类型,取值有:<li>text/html。 </li><li>application/json。</li><li>plain/text。</li><li>text/xml。</li>
18422
+ :type ContentType: str
18423
+ :param _Content: 自定义错误页面内容。内容不超过 2KB。
18424
+ :type Content: str
18425
+ """
18426
+ self._PageId = None
18427
+ self._ZoneId = None
18428
+ self._Name = None
18429
+ self._Description = None
18430
+ self._ContentType = None
18431
+ self._Content = None
18432
+
18433
+ @property
18434
+ def PageId(self):
18435
+ return self._PageId
18436
+
18437
+ @PageId.setter
18438
+ def PageId(self, PageId):
18439
+ self._PageId = PageId
18440
+
18441
+ @property
18442
+ def ZoneId(self):
18443
+ return self._ZoneId
18444
+
18445
+ @ZoneId.setter
18446
+ def ZoneId(self, ZoneId):
18447
+ self._ZoneId = ZoneId
18448
+
18449
+ @property
18450
+ def Name(self):
18451
+ return self._Name
18452
+
18453
+ @Name.setter
18454
+ def Name(self, Name):
18455
+ self._Name = Name
18456
+
18457
+ @property
18458
+ def Description(self):
18459
+ return self._Description
18460
+
18461
+ @Description.setter
18462
+ def Description(self, Description):
18463
+ self._Description = Description
18464
+
18465
+ @property
18466
+ def ContentType(self):
18467
+ return self._ContentType
18468
+
18469
+ @ContentType.setter
18470
+ def ContentType(self, ContentType):
18471
+ self._ContentType = ContentType
18472
+
18473
+ @property
18474
+ def Content(self):
18475
+ return self._Content
18476
+
18477
+ @Content.setter
18478
+ def Content(self, Content):
18479
+ self._Content = Content
18480
+
18481
+
18482
+ def _deserialize(self, params):
18483
+ self._PageId = params.get("PageId")
18484
+ self._ZoneId = params.get("ZoneId")
18485
+ self._Name = params.get("Name")
18486
+ self._Description = params.get("Description")
18487
+ self._ContentType = params.get("ContentType")
18488
+ self._Content = params.get("Content")
18489
+ memeber_set = set(params.keys())
18490
+ for name, value in vars(self).items():
18491
+ property_name = name[1:]
18492
+ if property_name in memeber_set:
18493
+ memeber_set.remove(property_name)
18494
+ if len(memeber_set) > 0:
18495
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
18496
+
18497
+
18498
+
18499
+ class ModifyCustomErrorPageResponse(AbstractModel):
18500
+ """ModifyCustomErrorPage返回参数结构体
18501
+
18502
+ """
18503
+
18504
+ def __init__(self):
18505
+ r"""
18506
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
18507
+ :type RequestId: str
18508
+ """
18509
+ self._RequestId = None
18510
+
18511
+ @property
18512
+ def RequestId(self):
18513
+ return self._RequestId
18514
+
18515
+ @RequestId.setter
18516
+ def RequestId(self, RequestId):
18517
+ self._RequestId = RequestId
18518
+
18519
+
18520
+ def _deserialize(self, params):
18521
+ self._RequestId = params.get("RequestId")
18522
+
18523
+
17943
18524
  class ModifyHostsCertificateRequest(AbstractModel):
17944
18525
  """ModifyHostsCertificate请求参数结构体
17945
18526
 
@@ -18655,6 +19236,7 @@ class ModifyRealtimeLogDeliveryTaskRequest(AbstractModel):
18655
19236
  :param _Sample: 采样比例,采用千分制,取值范围为1-1000,例如:填写 605 表示采样比例为 60.5%。不填保持原有配置。
18656
19237
  :type Sample: int
18657
19238
  :param _LogFormat: 日志投递的输出格式。不填保持原有配置。
19239
+ 特别地,当 TaskType 取值为 cls 时,LogFormat.FormatType 的值只能为 json,且 LogFormat 中其他参数将被忽略,建议不传 LogFormat。
18658
19240
  :type LogFormat: :class:`tencentcloud.teo.v20220901.models.LogFormat`
18659
19241
  :param _CustomEndpoint: 自定义 HTTP 服务的配置信息,不填保持原有配置。
18660
19242
  :type CustomEndpoint: :class:`tencentcloud.teo.v20220901.models.CustomEndpoint`
@@ -19959,6 +20541,7 @@ class OriginDetail(AbstractModel):
19959
20541
  <li>AWS_S3:AWS S3 对象存储源站;</li>
19960
20542
  <li>ORIGIN_GROUP:源站组类型源站;</li>
19961
20543
  <li>VODEO:云点播-混合云版;</li>
20544
+ <li>VOD:云点播;</li>
19962
20545
  <li>SPACE:源站卸载,当前仅白名单开放;</li>
19963
20546
  <li>LB:负载均衡,当前仅白名单开放。</li>
19964
20547
  :type OriginType: str
@@ -19967,6 +20550,7 @@ class OriginDetail(AbstractModel):
19967
20550
  <li>当 OriginType = COS 时,该参数为 COS 桶的访问域名;</li>
19968
20551
  <li>当 OriginType = AWS_S3,该参数为 S3 桶的访问域名;</li>
19969
20552
  <li>当 OriginType = ORIGIN_GROUP 时,该参数为源站组 ID;</li>
20553
+ <li>当 OriginType = VOD 时,该参数请填写云点播应用 ID ;</li>
19970
20554
  <li>当 OriginType = VODEO 时,如果 VodeoDistributionRange = ALL,则该参数为 "all-buckets-in-vodeo-application";如果 VodeoDistributionRange = Bucket,则该参数为对应存储桶域名。</li>
19971
20555
  :type Origin: str
19972
20556
  :param _BackupOrigin: 备用源站组 ID,该参数仅在 OriginType = ORIGIN_GROUP 且配置了备源站组时会生效。
@@ -20311,7 +20895,7 @@ class OriginInfo(AbstractModel):
20311
20895
  <li>COS:腾讯云 COS 对象存储源站;</li>
20312
20896
  <li>AWS_S3:AWS S3 对象存储源站;</li>
20313
20897
  <li>ORIGIN_GROUP:源站组类型源站;</li>
20314
- <li>VODEO:云点播-混合云版;</li>
20898
+ <li>VOD:云点播;</li>
20315
20899
  <li>SPACE:源站卸载,当前仅白名单开放;</li>
20316
20900
  <li>LB:负载均衡,当前仅白名单开放。</li>
20317
20901
  :type OriginType: str
@@ -20320,7 +20904,7 @@ class OriginInfo(AbstractModel):
20320
20904
  <li>当 OriginType = COS 时,该参数请填写 COS 桶的访问域名;</li>
20321
20905
  <li>当 OriginType = AWS_S3,该参数请填写 S3 桶的访问域名;</li>
20322
20906
  <li>当 OriginType = ORIGIN_GROUP 时,该参数请填写源站组 ID;</li>
20323
- <li>当 OriginType = VODEO 时,如果 VodeoDistributionRange = ALL,则该参数填写 "all-buckets-in-vodeo-application";如果 VodeoDistributionRange = Bucket,则该参数请填写对应存储桶域名;</li>
20907
+ <li>当 OriginType = VOD 时,该参数请填写云点播应用 ID ;</li>
20324
20908
  <li>当 OriginType = LB 时,该参数请填写负载均衡实例 ID,该功能当前仅白名单开放;</li>
20325
20909
  <li>当 OriginType = SPACE 时,该参数请填写源站卸载空间 ID,该功能当前仅白名单开放。</li>
20326
20910
  :type Origin: str
@@ -20337,7 +20921,7 @@ class OriginInfo(AbstractModel):
20337
20921
  :type VodeoSubAppId: int
20338
20922
  :param _VodeoDistributionRange: VODEO 分发范围,该参数当 OriginType = VODEO 时必填。取值有:
20339
20923
  <li>All:当前应用下所有存储桶;</li>
20340
- <li>Bucket:指定的某一个存储桶。</li>
20924
+ <li>Bucket:指定的某一个存储桶。</li>
20341
20925
  :type VodeoDistributionRange: str
20342
20926
  :param _VodeoBucketId: VODEO 存储桶 ID,该参数当 OriginType = VODEO 且 VodeoDistributionRange = Bucket 时必填。
20343
20927
  :type VodeoBucketId: str
@@ -22518,26 +23102,18 @@ class Rule(AbstractModel):
22518
23102
 
22519
23103
  def __init__(self):
22520
23104
  r"""
22521
- :param _Actions: 执行的功能。
22522
- :type Actions: list of Action
22523
23105
  :param _Conditions: 执行功能判断条件。
22524
23106
  注意:满足该数组内任意一项条件,功能即可执行。
22525
23107
  :type Conditions: list of RuleAndConditions
22526
- :param _SubRules: 嵌套规则。
23108
+ :param _Actions: 执行的功能。注意:Actions 和 SubRules 不可都为空
23109
+ :type Actions: list of Action
23110
+ :param _SubRules: 嵌套规则。注意:SubRules 和 Actions 不可都为空
22527
23111
  :type SubRules: list of SubRuleItem
22528
23112
  """
22529
- self._Actions = None
22530
23113
  self._Conditions = None
23114
+ self._Actions = None
22531
23115
  self._SubRules = None
22532
23116
 
22533
- @property
22534
- def Actions(self):
22535
- return self._Actions
22536
-
22537
- @Actions.setter
22538
- def Actions(self, Actions):
22539
- self._Actions = Actions
22540
-
22541
23117
  @property
22542
23118
  def Conditions(self):
22543
23119
  return self._Conditions
@@ -22546,6 +23122,14 @@ class Rule(AbstractModel):
22546
23122
  def Conditions(self, Conditions):
22547
23123
  self._Conditions = Conditions
22548
23124
 
23125
+ @property
23126
+ def Actions(self):
23127
+ return self._Actions
23128
+
23129
+ @Actions.setter
23130
+ def Actions(self, Actions):
23131
+ self._Actions = Actions
23132
+
22549
23133
  @property
22550
23134
  def SubRules(self):
22551
23135
  return self._SubRules
@@ -22556,18 +23140,18 @@ class Rule(AbstractModel):
22556
23140
 
22557
23141
 
22558
23142
  def _deserialize(self, params):
22559
- if params.get("Actions") is not None:
22560
- self._Actions = []
22561
- for item in params.get("Actions"):
22562
- obj = Action()
22563
- obj._deserialize(item)
22564
- self._Actions.append(obj)
22565
23143
  if params.get("Conditions") is not None:
22566
23144
  self._Conditions = []
22567
23145
  for item in params.get("Conditions"):
22568
23146
  obj = RuleAndConditions()
22569
23147
  obj._deserialize(item)
22570
23148
  self._Conditions.append(obj)
23149
+ if params.get("Actions") is not None:
23150
+ self._Actions = []
23151
+ for item in params.get("Actions"):
23152
+ obj = Action()
23153
+ obj._deserialize(item)
23154
+ self._Actions.append(obj)
22571
23155
  if params.get("SubRules") is not None:
22572
23156
  self._SubRules = []
22573
23157
  for item in params.get("SubRules"):
@@ -259,6 +259,29 @@ class TeoClient(AbstractClient):
259
259
  raise TencentCloudSDKException(type(e).__name__, str(e))
260
260
 
261
261
 
262
+ def CreateCustomizeErrorPage(self, request):
263
+ """创建自定义错误页面。
264
+
265
+ :param request: Request instance for CreateCustomizeErrorPage.
266
+ :type request: :class:`tencentcloud.teo.v20220901.models.CreateCustomizeErrorPageRequest`
267
+ :rtype: :class:`tencentcloud.teo.v20220901.models.CreateCustomizeErrorPageResponse`
268
+
269
+ """
270
+ try:
271
+ params = request._serialize()
272
+ headers = request.headers
273
+ body = self.call("CreateCustomizeErrorPage", params, headers=headers)
274
+ response = json.loads(body)
275
+ model = models.CreateCustomizeErrorPageResponse()
276
+ model._deserialize(response["Response"])
277
+ return model
278
+ except Exception as e:
279
+ if isinstance(e, TencentCloudSDKException):
280
+ raise
281
+ else:
282
+ raise TencentCloudSDKException(type(e).__name__, str(e))
283
+
284
+
262
285
  def CreateL4Proxy(self, request):
263
286
  """用于创建四层代理实例。
264
287
 
@@ -634,6 +657,29 @@ class TeoClient(AbstractClient):
634
657
  raise TencentCloudSDKException(type(e).__name__, str(e))
635
658
 
636
659
 
660
+ def DeleteCustomErrorPage(self, request):
661
+ """删除自定义错误页面。
662
+
663
+ :param request: Request instance for DeleteCustomErrorPage.
664
+ :type request: :class:`tencentcloud.teo.v20220901.models.DeleteCustomErrorPageRequest`
665
+ :rtype: :class:`tencentcloud.teo.v20220901.models.DeleteCustomErrorPageResponse`
666
+
667
+ """
668
+ try:
669
+ params = request._serialize()
670
+ headers = request.headers
671
+ body = self.call("DeleteCustomErrorPage", params, headers=headers)
672
+ response = json.loads(body)
673
+ model = models.DeleteCustomErrorPageResponse()
674
+ model._deserialize(response["Response"])
675
+ return model
676
+ except Exception as e:
677
+ if isinstance(e, TencentCloudSDKException):
678
+ raise
679
+ else:
680
+ raise TencentCloudSDKException(type(e).__name__, str(e))
681
+
682
+
637
683
  def DeleteL4Proxy(self, request):
638
684
  """用于删除四层代理实例。
639
685
 
@@ -1025,6 +1071,29 @@ class TeoClient(AbstractClient):
1025
1071
  raise TencentCloudSDKException(type(e).__name__, str(e))
1026
1072
 
1027
1073
 
1074
+ def DescribeCustomErrorPages(self, request):
1075
+ """查询自定义错误页列表。
1076
+
1077
+ :param request: Request instance for DescribeCustomErrorPages.
1078
+ :type request: :class:`tencentcloud.teo.v20220901.models.DescribeCustomErrorPagesRequest`
1079
+ :rtype: :class:`tencentcloud.teo.v20220901.models.DescribeCustomErrorPagesResponse`
1080
+
1081
+ """
1082
+ try:
1083
+ params = request._serialize()
1084
+ headers = request.headers
1085
+ body = self.call("DescribeCustomErrorPages", params, headers=headers)
1086
+ response = json.loads(body)
1087
+ model = models.DescribeCustomErrorPagesResponse()
1088
+ model._deserialize(response["Response"])
1089
+ return model
1090
+ except Exception as e:
1091
+ if isinstance(e, TencentCloudSDKException):
1092
+ raise
1093
+ else:
1094
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1095
+
1096
+
1028
1097
  def DescribeDDoSAttackData(self, request):
1029
1098
  """本接口(DescribeDDoSAttackData)用于查询DDoS攻击时序数据。
1030
1099
 
@@ -2005,6 +2074,29 @@ class TeoClient(AbstractClient):
2005
2074
  raise TencentCloudSDKException(type(e).__name__, str(e))
2006
2075
 
2007
2076
 
2077
+ def ModifyCustomErrorPage(self, request):
2078
+ """修改自定义错误页面。
2079
+
2080
+ :param request: Request instance for ModifyCustomErrorPage.
2081
+ :type request: :class:`tencentcloud.teo.v20220901.models.ModifyCustomErrorPageRequest`
2082
+ :rtype: :class:`tencentcloud.teo.v20220901.models.ModifyCustomErrorPageResponse`
2083
+
2084
+ """
2085
+ try:
2086
+ params = request._serialize()
2087
+ headers = request.headers
2088
+ body = self.call("ModifyCustomErrorPage", params, headers=headers)
2089
+ response = json.loads(body)
2090
+ model = models.ModifyCustomErrorPageResponse()
2091
+ model._deserialize(response["Response"])
2092
+ return model
2093
+ except Exception as e:
2094
+ if isinstance(e, TencentCloudSDKException):
2095
+ raise
2096
+ else:
2097
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2098
+
2099
+
2008
2100
  def ModifyHostsCertificate(self, request):
2009
2101
  """完成域名创建之后,您可以为域名配置自有证书,也可以使用 EdgeOne 为您提供的 [免费证书](https://cloud.tencent.com/document/product/1552/90437)。
2010
2102
  如果您需要配置自有证书,请先将证书上传至 [SSL证书控制台](https://console.cloud.tencent.com/certoverview),然后在本接口中传入对应的证书 ID。详情参考 [部署自有证书至 EdgeOne 域名
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-teo
3
- Version: 3.0.1155
3
+ Version: 3.0.1176
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
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common==3.0.1176
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1155