tencentcloud-sdk-python 3.0.1256__py2.py3-none-any.whl → 3.0.1258__py2.py3-none-any.whl

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 (109) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/apm/v20210622/models.py +26 -0
  3. tencentcloud/asr/v20190614/models.py +3 -2
  4. tencentcloud/autoscaling/v20180419/autoscaling_client.py +7 -1
  5. tencentcloud/autoscaling/v20180419/errorcodes.py +3 -0
  6. tencentcloud/autoscaling/v20180419/models.py +18 -2
  7. tencentcloud/bi/v20220105/models.py +44 -4
  8. tencentcloud/billing/v20180709/billing_client.py +23 -0
  9. tencentcloud/billing/v20180709/errorcodes.py +6 -0
  10. tencentcloud/billing/v20180709/models.py +424 -0
  11. tencentcloud/bsca/v20210811/models.py +306 -1
  12. tencentcloud/ccc/v20200210/ccc_client.py +23 -0
  13. tencentcloud/ccc/v20200210/errorcodes.py +6 -0
  14. tencentcloud/ccc/v20200210/models.py +249 -136
  15. tencentcloud/cdb/v20170320/cdb_client.py +1 -1
  16. tencentcloud/cdb/v20170320/models.py +25 -1
  17. tencentcloud/cdn/v20180606/models.py +1 -1
  18. tencentcloud/cdwdoris/v20211228/models.py +29 -2
  19. tencentcloud/cfw/v20190904/cfw_client.py +6 -30
  20. tencentcloud/cfw/v20190904/models.py +267 -479
  21. tencentcloud/ciam/v20220331/models.py +13 -0
  22. tencentcloud/ckafka/v20190819/models.py +5 -5
  23. tencentcloud/clb/v20180317/models.py +1 -1
  24. tencentcloud/cloudaudit/v20190319/cloudaudit_client.py +30 -34
  25. tencentcloud/cloudaudit/v20190319/errorcodes.py +0 -39
  26. tencentcloud/cloudaudit/v20190319/models.py +328 -254
  27. tencentcloud/cls/v20201016/cls_client.py +8 -1
  28. tencentcloud/cls/v20201016/models.py +551 -109
  29. tencentcloud/csip/v20221121/models.py +225 -12
  30. tencentcloud/cvm/v20170312/errorcodes.py +6 -0
  31. tencentcloud/cvm/v20170312/models.py +78 -0
  32. tencentcloud/cwp/v20180228/cwp_client.py +3 -1
  33. tencentcloud/cwp/v20180228/models.py +206 -52
  34. tencentcloud/cynosdb/v20190107/cynosdb_client.py +27 -27
  35. tencentcloud/cynosdb/v20190107/models.py +78 -0
  36. tencentcloud/dasb/v20191018/models.py +155 -0
  37. tencentcloud/dlc/v20210125/models.py +13 -0
  38. tencentcloud/domain/v20180808/errorcodes.py +45 -0
  39. tencentcloud/eb/v20210416/models.py +19 -19
  40. tencentcloud/emr/v20190103/models.py +12 -0
  41. tencentcloud/es/v20180416/errorcodes.py +4 -1
  42. tencentcloud/es/v20180416/es_client.py +92 -0
  43. tencentcloud/es/v20180416/models.py +770 -12
  44. tencentcloud/ess/v20201111/ess_client.py +71 -4
  45. tencentcloud/ess/v20201111/models.py +260 -10
  46. tencentcloud/essbasic/v20210526/essbasic_client.py +135 -51
  47. tencentcloud/essbasic/v20210526/models.py +390 -21
  48. tencentcloud/gaap/v20180529/models.py +40 -3
  49. tencentcloud/hunyuan/v20230901/models.py +12 -0
  50. tencentcloud/ioa/v20220601/errorcodes.py +15 -0
  51. tencentcloud/ioa/v20220601/ioa_client.py +26 -2
  52. tencentcloud/ioa/v20220601/models.py +516 -46
  53. tencentcloud/iotexplorer/v20190423/models.py +52 -0
  54. tencentcloud/iotvideo/v20191126/iotvideo_client.py +46 -0
  55. tencentcloud/iotvideo/v20191126/models.py +379 -0
  56. tencentcloud/iss/v20230517/models.py +25 -0
  57. tencentcloud/lighthouse/v20200324/errorcodes.py +1 -1
  58. tencentcloud/live/v20180801/models.py +51 -0
  59. tencentcloud/mongodb/v20190725/models.py +3 -7
  60. tencentcloud/mqtt/v20240516/models.py +4 -4
  61. tencentcloud/ocr/v20181119/models.py +7 -16
  62. tencentcloud/ocr/v20181119/ocr_client.py +1 -0
  63. tencentcloud/organization/v20210331/errorcodes.py +31 -1
  64. tencentcloud/organization/v20210331/models.py +674 -0
  65. tencentcloud/organization/v20210331/organization_client.py +138 -0
  66. tencentcloud/partners/v20180321/models.py +71 -0
  67. tencentcloud/partners/v20180321/partners_client.py +23 -0
  68. tencentcloud/privatedns/v20201028/errorcodes.py +12 -0
  69. tencentcloud/privatedns/v20201028/models.py +858 -4
  70. tencentcloud/privatedns/v20201028/privatedns_client.py +92 -0
  71. tencentcloud/region/v20220627/models.py +0 -1
  72. tencentcloud/scf/v20180416/models.py +889 -8
  73. tencentcloud/scf/v20180416/scf_client.py +115 -0
  74. tencentcloud/smop/v20201203/models.py +17 -17
  75. tencentcloud/ssl/v20191205/models.py +44 -3
  76. tencentcloud/ssm/v20190923/models.py +84 -0
  77. tencentcloud/tat/v20201028/models.py +1 -29
  78. tencentcloud/tcss/v20201101/models.py +815 -33
  79. tencentcloud/tcss/v20201101/tcss_client.py +1 -1
  80. tencentcloud/tdmq/v20200217/models.py +7 -7
  81. tencentcloud/tem/v20210701/models.py +202 -198
  82. tencentcloud/teo/v20220901/errorcodes.py +51 -0
  83. tencentcloud/teo/v20220901/models.py +1470 -97
  84. tencentcloud/teo/v20220901/teo_client.py +115 -0
  85. tencentcloud/tke/v20180525/models.py +70 -0
  86. tencentcloud/tke/v20180525/tke_client.py +23 -0
  87. tencentcloud/tms/v20201229/models.py +0 -558
  88. tencentcloud/tms/v20201229/tms_client.py +0 -23
  89. tencentcloud/trp/v20210515/models.py +6 -6
  90. tencentcloud/trtc/v20190722/models.py +353 -4
  91. tencentcloud/tse/v20201207/models.py +94 -0
  92. tencentcloud/tse/v20201207/tse_client.py +23 -0
  93. tencentcloud/vclm/v20240523/models.py +166 -0
  94. tencentcloud/vpc/v20170312/models.py +137 -6
  95. tencentcloud/vpc/v20170312/vpc_client.py +23 -0
  96. tencentcloud/waf/v20180125/models.py +99 -0
  97. tencentcloud/waf/v20180125/waf_client.py +23 -0
  98. tencentcloud/wedata/v20210820/models.py +991 -0
  99. tencentcloud/wedata/v20210820/wedata_client.py +46 -0
  100. {tencentcloud_sdk_python-3.0.1256.dist-info → tencentcloud_sdk_python-3.0.1258.dist-info}/METADATA +1 -1
  101. {tencentcloud_sdk_python-3.0.1256.dist-info → tencentcloud_sdk_python-3.0.1258.dist-info}/RECORD +104 -109
  102. tencentcloud/cr/__init__.py +0 -0
  103. tencentcloud/cr/v20180321/__init__.py +0 -0
  104. tencentcloud/cr/v20180321/cr_client.py +0 -672
  105. tencentcloud/cr/v20180321/errorcodes.py +0 -114
  106. tencentcloud/cr/v20180321/models.py +0 -4966
  107. {tencentcloud_sdk_python-3.0.1256.dist-info → tencentcloud_sdk_python-3.0.1258.dist-info}/LICENSE +0 -0
  108. {tencentcloud_sdk_python-3.0.1256.dist-info → tencentcloud_sdk_python-3.0.1258.dist-info}/WHEEL +0 -0
  109. {tencentcloud_sdk_python-3.0.1256.dist-info → tencentcloud_sdk_python-3.0.1258.dist-info}/top_level.txt +0 -0
@@ -362,6 +362,40 @@ class AsyncTriggerConfig(AbstractModel):
362
362
 
363
363
 
364
364
 
365
+ class CertConf(AbstractModel):
366
+ """证书配置
367
+
368
+ """
369
+
370
+ def __init__(self):
371
+ r"""
372
+ :param _CertificateId: ssl证书ID
373
+ 注意:此字段可能返回 null,表示取不到有效值。
374
+ :type CertificateId: str
375
+ """
376
+ self._CertificateId = None
377
+
378
+ @property
379
+ def CertificateId(self):
380
+ return self._CertificateId
381
+
382
+ @CertificateId.setter
383
+ def CertificateId(self, CertificateId):
384
+ self._CertificateId = CertificateId
385
+
386
+
387
+ def _deserialize(self, params):
388
+ self._CertificateId = params.get("CertificateId")
389
+ memeber_set = set(params.keys())
390
+ for name, value in vars(self).items():
391
+ property_name = name[1:]
392
+ if property_name in memeber_set:
393
+ memeber_set.remove(property_name)
394
+ if len(memeber_set) > 0:
395
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
396
+
397
+
398
+
365
399
  class CfsConfig(AbstractModel):
366
400
  """文件系统(cfs)配置描述
367
401
 
@@ -1005,6 +1039,121 @@ class CreateAliasResponse(AbstractModel):
1005
1039
  self._RequestId = params.get("RequestId")
1006
1040
 
1007
1041
 
1042
+ class CreateCustomDomainRequest(AbstractModel):
1043
+ """CreateCustomDomain请求参数结构体
1044
+
1045
+ """
1046
+
1047
+ def __init__(self):
1048
+ r"""
1049
+ :param _Domain: 域名,不支持泛域名
1050
+ :type Domain: str
1051
+ :param _Protocol: 协议,取值范围:HTTP, HTTPS, HTTP&HTTPS
1052
+ :type Protocol: str
1053
+ :param _EndpointsConfig: 路由配置
1054
+ :type EndpointsConfig: list of EndpointsConf
1055
+ :param _CertConfig: 证书配置信息,HTTPS协议必穿
1056
+ :type CertConfig: :class:`tencentcloud.scf.v20180416.models.CertConf`
1057
+ :param _WafConfig: web 应用防火墙配置
1058
+ :type WafConfig: :class:`tencentcloud.scf.v20180416.models.WafConf`
1059
+ """
1060
+ self._Domain = None
1061
+ self._Protocol = None
1062
+ self._EndpointsConfig = None
1063
+ self._CertConfig = None
1064
+ self._WafConfig = None
1065
+
1066
+ @property
1067
+ def Domain(self):
1068
+ return self._Domain
1069
+
1070
+ @Domain.setter
1071
+ def Domain(self, Domain):
1072
+ self._Domain = Domain
1073
+
1074
+ @property
1075
+ def Protocol(self):
1076
+ return self._Protocol
1077
+
1078
+ @Protocol.setter
1079
+ def Protocol(self, Protocol):
1080
+ self._Protocol = Protocol
1081
+
1082
+ @property
1083
+ def EndpointsConfig(self):
1084
+ return self._EndpointsConfig
1085
+
1086
+ @EndpointsConfig.setter
1087
+ def EndpointsConfig(self, EndpointsConfig):
1088
+ self._EndpointsConfig = EndpointsConfig
1089
+
1090
+ @property
1091
+ def CertConfig(self):
1092
+ return self._CertConfig
1093
+
1094
+ @CertConfig.setter
1095
+ def CertConfig(self, CertConfig):
1096
+ self._CertConfig = CertConfig
1097
+
1098
+ @property
1099
+ def WafConfig(self):
1100
+ return self._WafConfig
1101
+
1102
+ @WafConfig.setter
1103
+ def WafConfig(self, WafConfig):
1104
+ self._WafConfig = WafConfig
1105
+
1106
+
1107
+ def _deserialize(self, params):
1108
+ self._Domain = params.get("Domain")
1109
+ self._Protocol = params.get("Protocol")
1110
+ if params.get("EndpointsConfig") is not None:
1111
+ self._EndpointsConfig = []
1112
+ for item in params.get("EndpointsConfig"):
1113
+ obj = EndpointsConf()
1114
+ obj._deserialize(item)
1115
+ self._EndpointsConfig.append(obj)
1116
+ if params.get("CertConfig") is not None:
1117
+ self._CertConfig = CertConf()
1118
+ self._CertConfig._deserialize(params.get("CertConfig"))
1119
+ if params.get("WafConfig") is not None:
1120
+ self._WafConfig = WafConf()
1121
+ self._WafConfig._deserialize(params.get("WafConfig"))
1122
+ memeber_set = set(params.keys())
1123
+ for name, value in vars(self).items():
1124
+ property_name = name[1:]
1125
+ if property_name in memeber_set:
1126
+ memeber_set.remove(property_name)
1127
+ if len(memeber_set) > 0:
1128
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1129
+
1130
+
1131
+
1132
+ class CreateCustomDomainResponse(AbstractModel):
1133
+ """CreateCustomDomain返回参数结构体
1134
+
1135
+ """
1136
+
1137
+ def __init__(self):
1138
+ r"""
1139
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1140
+ :type RequestId: str
1141
+ """
1142
+ self._RequestId = None
1143
+
1144
+ @property
1145
+ def RequestId(self):
1146
+ return self._RequestId
1147
+
1148
+ @RequestId.setter
1149
+ def RequestId(self, RequestId):
1150
+ self._RequestId = RequestId
1151
+
1152
+
1153
+ def _deserialize(self, params):
1154
+ self._RequestId = params.get("RequestId")
1155
+
1156
+
1008
1157
  class CreateFunctionRequest(AbstractModel):
1009
1158
  """CreateFunction请求参数结构体
1010
1159
 
@@ -1842,6 +1991,64 @@ class DeleteAliasResponse(AbstractModel):
1842
1991
  self._RequestId = params.get("RequestId")
1843
1992
 
1844
1993
 
1994
+ class DeleteCustomDomainRequest(AbstractModel):
1995
+ """DeleteCustomDomain请求参数结构体
1996
+
1997
+ """
1998
+
1999
+ def __init__(self):
2000
+ r"""
2001
+ :param _Domain: 域名
2002
+ :type Domain: str
2003
+ """
2004
+ self._Domain = None
2005
+
2006
+ @property
2007
+ def Domain(self):
2008
+ return self._Domain
2009
+
2010
+ @Domain.setter
2011
+ def Domain(self, Domain):
2012
+ self._Domain = Domain
2013
+
2014
+
2015
+ def _deserialize(self, params):
2016
+ self._Domain = params.get("Domain")
2017
+ memeber_set = set(params.keys())
2018
+ for name, value in vars(self).items():
2019
+ property_name = name[1:]
2020
+ if property_name in memeber_set:
2021
+ memeber_set.remove(property_name)
2022
+ if len(memeber_set) > 0:
2023
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2024
+
2025
+
2026
+
2027
+ class DeleteCustomDomainResponse(AbstractModel):
2028
+ """DeleteCustomDomain返回参数结构体
2029
+
2030
+ """
2031
+
2032
+ def __init__(self):
2033
+ r"""
2034
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2035
+ :type RequestId: str
2036
+ """
2037
+ self._RequestId = None
2038
+
2039
+ @property
2040
+ def RequestId(self):
2041
+ return self._RequestId
2042
+
2043
+ @RequestId.setter
2044
+ def RequestId(self, RequestId):
2045
+ self._RequestId = RequestId
2046
+
2047
+
2048
+ def _deserialize(self, params):
2049
+ self._RequestId = params.get("RequestId")
2050
+
2051
+
1845
2052
  class DeleteFunctionRequest(AbstractModel):
1846
2053
  """DeleteFunction请求参数结构体
1847
2054
 
@@ -2322,6 +2529,99 @@ class DeleteTriggerResponse(AbstractModel):
2322
2529
  self._RequestId = params.get("RequestId")
2323
2530
 
2324
2531
 
2532
+ class DomainInfo(AbstractModel):
2533
+ """云函数自定义域名详情
2534
+
2535
+ """
2536
+
2537
+ def __init__(self):
2538
+ r"""
2539
+ :param _Domain: 域名,不支持泛域名
2540
+ :type Domain: str
2541
+ :param _Protocol: 协议,取值范围:HTTP, HTTPS, HTTP&HTTPS
2542
+ :type Protocol: str
2543
+ :param _EndpointsConfig: 路由配置信息
2544
+ 注意:此字段可能返回 null,表示取不到有效值。
2545
+ :type EndpointsConfig: list of EndpointsConf
2546
+ :param _CertConfig: 证书配置信息,HTTPS协议必传路由配置
2547
+ 注意:此字段可能返回 null,表示取不到有效值。
2548
+ :type CertConfig: :class:`tencentcloud.scf.v20180416.models.CertConf`
2549
+ :param _WafConfig: web 应用防火墙配置
2550
+ 注意:此字段可能返回 null,表示取不到有效值。
2551
+ :type WafConfig: :class:`tencentcloud.scf.v20180416.models.WafConf`
2552
+ """
2553
+ self._Domain = None
2554
+ self._Protocol = None
2555
+ self._EndpointsConfig = None
2556
+ self._CertConfig = None
2557
+ self._WafConfig = None
2558
+
2559
+ @property
2560
+ def Domain(self):
2561
+ return self._Domain
2562
+
2563
+ @Domain.setter
2564
+ def Domain(self, Domain):
2565
+ self._Domain = Domain
2566
+
2567
+ @property
2568
+ def Protocol(self):
2569
+ return self._Protocol
2570
+
2571
+ @Protocol.setter
2572
+ def Protocol(self, Protocol):
2573
+ self._Protocol = Protocol
2574
+
2575
+ @property
2576
+ def EndpointsConfig(self):
2577
+ return self._EndpointsConfig
2578
+
2579
+ @EndpointsConfig.setter
2580
+ def EndpointsConfig(self, EndpointsConfig):
2581
+ self._EndpointsConfig = EndpointsConfig
2582
+
2583
+ @property
2584
+ def CertConfig(self):
2585
+ return self._CertConfig
2586
+
2587
+ @CertConfig.setter
2588
+ def CertConfig(self, CertConfig):
2589
+ self._CertConfig = CertConfig
2590
+
2591
+ @property
2592
+ def WafConfig(self):
2593
+ return self._WafConfig
2594
+
2595
+ @WafConfig.setter
2596
+ def WafConfig(self, WafConfig):
2597
+ self._WafConfig = WafConfig
2598
+
2599
+
2600
+ def _deserialize(self, params):
2601
+ self._Domain = params.get("Domain")
2602
+ self._Protocol = params.get("Protocol")
2603
+ if params.get("EndpointsConfig") is not None:
2604
+ self._EndpointsConfig = []
2605
+ for item in params.get("EndpointsConfig"):
2606
+ obj = EndpointsConf()
2607
+ obj._deserialize(item)
2608
+ self._EndpointsConfig.append(obj)
2609
+ if params.get("CertConfig") is not None:
2610
+ self._CertConfig = CertConf()
2611
+ self._CertConfig._deserialize(params.get("CertConfig"))
2612
+ if params.get("WafConfig") is not None:
2613
+ self._WafConfig = WafConf()
2614
+ self._WafConfig._deserialize(params.get("WafConfig"))
2615
+ memeber_set = set(params.keys())
2616
+ for name, value in vars(self).items():
2617
+ property_name = name[1:]
2618
+ if property_name in memeber_set:
2619
+ memeber_set.remove(property_name)
2620
+ if len(memeber_set) > 0:
2621
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2622
+
2623
+
2624
+
2325
2625
  class EipConfigIn(AbstractModel):
2326
2626
  """公网访问固定ip配置
2327
2627
 
@@ -2446,6 +2746,97 @@ class EipOutConfig(AbstractModel):
2446
2746
 
2447
2747
 
2448
2748
 
2749
+ class EndpointsConf(AbstractModel):
2750
+ """后端路由配置信息
2751
+
2752
+ """
2753
+
2754
+ def __init__(self):
2755
+ r"""
2756
+ :param _Namespace: 函数命名空间
2757
+ 注意:此字段可能返回 null,表示取不到有效值。
2758
+ :type Namespace: str
2759
+ :param _FunctionName: 函数名
2760
+ 注意:此字段可能返回 null,表示取不到有效值。
2761
+ :type FunctionName: str
2762
+ :param _Qualifier: 函数别名或版本
2763
+ 注意:此字段可能返回 null,表示取不到有效值。
2764
+ :type Qualifier: str
2765
+ :param _PathMatch: 路径,取值规范:/,/*,/xxx,/xxx/a,/xxx/*"
2766
+ 注意:此字段可能返回 null,表示取不到有效值。
2767
+ :type PathMatch: str
2768
+ :param _PathRewrite: 路径重写策略
2769
+ 注意:此字段可能返回 null,表示取不到有效值。
2770
+ :type PathRewrite: list of PathRewriteRule
2771
+ """
2772
+ self._Namespace = None
2773
+ self._FunctionName = None
2774
+ self._Qualifier = None
2775
+ self._PathMatch = None
2776
+ self._PathRewrite = None
2777
+
2778
+ @property
2779
+ def Namespace(self):
2780
+ return self._Namespace
2781
+
2782
+ @Namespace.setter
2783
+ def Namespace(self, Namespace):
2784
+ self._Namespace = Namespace
2785
+
2786
+ @property
2787
+ def FunctionName(self):
2788
+ return self._FunctionName
2789
+
2790
+ @FunctionName.setter
2791
+ def FunctionName(self, FunctionName):
2792
+ self._FunctionName = FunctionName
2793
+
2794
+ @property
2795
+ def Qualifier(self):
2796
+ return self._Qualifier
2797
+
2798
+ @Qualifier.setter
2799
+ def Qualifier(self, Qualifier):
2800
+ self._Qualifier = Qualifier
2801
+
2802
+ @property
2803
+ def PathMatch(self):
2804
+ return self._PathMatch
2805
+
2806
+ @PathMatch.setter
2807
+ def PathMatch(self, PathMatch):
2808
+ self._PathMatch = PathMatch
2809
+
2810
+ @property
2811
+ def PathRewrite(self):
2812
+ return self._PathRewrite
2813
+
2814
+ @PathRewrite.setter
2815
+ def PathRewrite(self, PathRewrite):
2816
+ self._PathRewrite = PathRewrite
2817
+
2818
+
2819
+ def _deserialize(self, params):
2820
+ self._Namespace = params.get("Namespace")
2821
+ self._FunctionName = params.get("FunctionName")
2822
+ self._Qualifier = params.get("Qualifier")
2823
+ self._PathMatch = params.get("PathMatch")
2824
+ if params.get("PathRewrite") is not None:
2825
+ self._PathRewrite = []
2826
+ for item in params.get("PathRewrite"):
2827
+ obj = PathRewriteRule()
2828
+ obj._deserialize(item)
2829
+ self._PathRewrite.append(obj)
2830
+ memeber_set = set(params.keys())
2831
+ for name, value in vars(self).items():
2832
+ property_name = name[1:]
2833
+ if property_name in memeber_set:
2834
+ memeber_set.remove(property_name)
2835
+ if len(memeber_set) > 0:
2836
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2837
+
2838
+
2839
+
2449
2840
  class Environment(AbstractModel):
2450
2841
  """函数的环境变量参数
2451
2842
 
@@ -3289,12 +3680,128 @@ class GetAsyncEventStatusResponse(AbstractModel):
3289
3680
  self._RequestId = None
3290
3681
 
3291
3682
  @property
3292
- def Result(self):
3293
- return self._Result
3683
+ def Result(self):
3684
+ return self._Result
3685
+
3686
+ @Result.setter
3687
+ def Result(self, Result):
3688
+ self._Result = Result
3689
+
3690
+ @property
3691
+ def RequestId(self):
3692
+ return self._RequestId
3693
+
3694
+ @RequestId.setter
3695
+ def RequestId(self, RequestId):
3696
+ self._RequestId = RequestId
3697
+
3698
+
3699
+ def _deserialize(self, params):
3700
+ if params.get("Result") is not None:
3701
+ self._Result = AsyncEventStatus()
3702
+ self._Result._deserialize(params.get("Result"))
3703
+ self._RequestId = params.get("RequestId")
3704
+
3705
+
3706
+ class GetCustomDomainRequest(AbstractModel):
3707
+ """GetCustomDomain请求参数结构体
3708
+
3709
+ """
3710
+
3711
+ def __init__(self):
3712
+ r"""
3713
+ :param _Domain: 域名
3714
+ :type Domain: str
3715
+ """
3716
+ self._Domain = None
3717
+
3718
+ @property
3719
+ def Domain(self):
3720
+ return self._Domain
3721
+
3722
+ @Domain.setter
3723
+ def Domain(self, Domain):
3724
+ self._Domain = Domain
3725
+
3726
+
3727
+ def _deserialize(self, params):
3728
+ self._Domain = params.get("Domain")
3729
+ memeber_set = set(params.keys())
3730
+ for name, value in vars(self).items():
3731
+ property_name = name[1:]
3732
+ if property_name in memeber_set:
3733
+ memeber_set.remove(property_name)
3734
+ if len(memeber_set) > 0:
3735
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
3736
+
3737
+
3738
+
3739
+ class GetCustomDomainResponse(AbstractModel):
3740
+ """GetCustomDomain返回参数结构体
3741
+
3742
+ """
3743
+
3744
+ def __init__(self):
3745
+ r"""
3746
+ :param _Domain: 域名
3747
+ :type Domain: str
3748
+ :param _Protocol: 协议
3749
+ :type Protocol: str
3750
+ :param _EndpointsConfig: 路由配置
3751
+ :type EndpointsConfig: list of EndpointsConf
3752
+ :param _CertConfig: 证书配置信息
3753
+ :type CertConfig: :class:`tencentcloud.scf.v20180416.models.CertConf`
3754
+ :param _WafConfig: web 应用防火墙配置
3755
+ :type WafConfig: :class:`tencentcloud.scf.v20180416.models.WafConf`
3756
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3757
+ :type RequestId: str
3758
+ """
3759
+ self._Domain = None
3760
+ self._Protocol = None
3761
+ self._EndpointsConfig = None
3762
+ self._CertConfig = None
3763
+ self._WafConfig = None
3764
+ self._RequestId = None
3765
+
3766
+ @property
3767
+ def Domain(self):
3768
+ return self._Domain
3769
+
3770
+ @Domain.setter
3771
+ def Domain(self, Domain):
3772
+ self._Domain = Domain
3773
+
3774
+ @property
3775
+ def Protocol(self):
3776
+ return self._Protocol
3777
+
3778
+ @Protocol.setter
3779
+ def Protocol(self, Protocol):
3780
+ self._Protocol = Protocol
3781
+
3782
+ @property
3783
+ def EndpointsConfig(self):
3784
+ return self._EndpointsConfig
3785
+
3786
+ @EndpointsConfig.setter
3787
+ def EndpointsConfig(self, EndpointsConfig):
3788
+ self._EndpointsConfig = EndpointsConfig
3789
+
3790
+ @property
3791
+ def CertConfig(self):
3792
+ return self._CertConfig
3294
3793
 
3295
- @Result.setter
3296
- def Result(self, Result):
3297
- self._Result = Result
3794
+ @CertConfig.setter
3795
+ def CertConfig(self, CertConfig):
3796
+ self._CertConfig = CertConfig
3797
+
3798
+ @property
3799
+ def WafConfig(self):
3800
+ return self._WafConfig
3801
+
3802
+ @WafConfig.setter
3803
+ def WafConfig(self, WafConfig):
3804
+ self._WafConfig = WafConfig
3298
3805
 
3299
3806
  @property
3300
3807
  def RequestId(self):
@@ -3306,9 +3813,20 @@ class GetAsyncEventStatusResponse(AbstractModel):
3306
3813
 
3307
3814
 
3308
3815
  def _deserialize(self, params):
3309
- if params.get("Result") is not None:
3310
- self._Result = AsyncEventStatus()
3311
- self._Result._deserialize(params.get("Result"))
3816
+ self._Domain = params.get("Domain")
3817
+ self._Protocol = params.get("Protocol")
3818
+ if params.get("EndpointsConfig") is not None:
3819
+ self._EndpointsConfig = []
3820
+ for item in params.get("EndpointsConfig"):
3821
+ obj = EndpointsConf()
3822
+ obj._deserialize(item)
3823
+ self._EndpointsConfig.append(obj)
3824
+ if params.get("CertConfig") is not None:
3825
+ self._CertConfig = CertConf()
3826
+ self._CertConfig._deserialize(params.get("CertConfig"))
3827
+ if params.get("WafConfig") is not None:
3828
+ self._WafConfig = WafConf()
3829
+ self._WafConfig._deserialize(params.get("WafConfig"))
3312
3830
  self._RequestId = params.get("RequestId")
3313
3831
 
3314
3832
 
@@ -6235,6 +6753,147 @@ class ListAsyncEventsResponse(AbstractModel):
6235
6753
  self._RequestId = params.get("RequestId")
6236
6754
 
6237
6755
 
6756
+ class ListCustomDomainsRequest(AbstractModel):
6757
+ """ListCustomDomains请求参数结构体
6758
+
6759
+ """
6760
+
6761
+ def __init__(self):
6762
+ r"""
6763
+ :param _Offset: 偏移量,默认0
6764
+ :type Offset: int
6765
+ :param _Limit: 容量,默认20
6766
+ :type Limit: int
6767
+ :param _OrderBy: 取值范围:AddTime,ModTime, 默认AddTime
6768
+ :type OrderBy: str
6769
+ :param _Order: 取值范围:DESC, ASC 默认DESC
6770
+ :type Order: str
6771
+ :param _Filters: 过滤条件
6772
+ :type Filters: list of Filter
6773
+ """
6774
+ self._Offset = None
6775
+ self._Limit = None
6776
+ self._OrderBy = None
6777
+ self._Order = None
6778
+ self._Filters = None
6779
+
6780
+ @property
6781
+ def Offset(self):
6782
+ return self._Offset
6783
+
6784
+ @Offset.setter
6785
+ def Offset(self, Offset):
6786
+ self._Offset = Offset
6787
+
6788
+ @property
6789
+ def Limit(self):
6790
+ return self._Limit
6791
+
6792
+ @Limit.setter
6793
+ def Limit(self, Limit):
6794
+ self._Limit = Limit
6795
+
6796
+ @property
6797
+ def OrderBy(self):
6798
+ return self._OrderBy
6799
+
6800
+ @OrderBy.setter
6801
+ def OrderBy(self, OrderBy):
6802
+ self._OrderBy = OrderBy
6803
+
6804
+ @property
6805
+ def Order(self):
6806
+ return self._Order
6807
+
6808
+ @Order.setter
6809
+ def Order(self, Order):
6810
+ self._Order = Order
6811
+
6812
+ @property
6813
+ def Filters(self):
6814
+ return self._Filters
6815
+
6816
+ @Filters.setter
6817
+ def Filters(self, Filters):
6818
+ self._Filters = Filters
6819
+
6820
+
6821
+ def _deserialize(self, params):
6822
+ self._Offset = params.get("Offset")
6823
+ self._Limit = params.get("Limit")
6824
+ self._OrderBy = params.get("OrderBy")
6825
+ self._Order = params.get("Order")
6826
+ if params.get("Filters") is not None:
6827
+ self._Filters = []
6828
+ for item in params.get("Filters"):
6829
+ obj = Filter()
6830
+ obj._deserialize(item)
6831
+ self._Filters.append(obj)
6832
+ memeber_set = set(params.keys())
6833
+ for name, value in vars(self).items():
6834
+ property_name = name[1:]
6835
+ if property_name in memeber_set:
6836
+ memeber_set.remove(property_name)
6837
+ if len(memeber_set) > 0:
6838
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
6839
+
6840
+
6841
+
6842
+ class ListCustomDomainsResponse(AbstractModel):
6843
+ """ListCustomDomains返回参数结构体
6844
+
6845
+ """
6846
+
6847
+ def __init__(self):
6848
+ r"""
6849
+ :param _Total: 总数
6850
+ :type Total: int
6851
+ :param _Domains: 域名列表信息
6852
+ 注意:此字段可能返回 null,表示取不到有效值。
6853
+ :type Domains: list of DomainInfo
6854
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6855
+ :type RequestId: str
6856
+ """
6857
+ self._Total = None
6858
+ self._Domains = None
6859
+ self._RequestId = None
6860
+
6861
+ @property
6862
+ def Total(self):
6863
+ return self._Total
6864
+
6865
+ @Total.setter
6866
+ def Total(self, Total):
6867
+ self._Total = Total
6868
+
6869
+ @property
6870
+ def Domains(self):
6871
+ return self._Domains
6872
+
6873
+ @Domains.setter
6874
+ def Domains(self, Domains):
6875
+ self._Domains = Domains
6876
+
6877
+ @property
6878
+ def RequestId(self):
6879
+ return self._RequestId
6880
+
6881
+ @RequestId.setter
6882
+ def RequestId(self, RequestId):
6883
+ self._RequestId = RequestId
6884
+
6885
+
6886
+ def _deserialize(self, params):
6887
+ self._Total = params.get("Total")
6888
+ if params.get("Domains") is not None:
6889
+ self._Domains = []
6890
+ for item in params.get("Domains"):
6891
+ obj = DomainInfo()
6892
+ obj._deserialize(item)
6893
+ self._Domains.append(obj)
6894
+ self._RequestId = params.get("RequestId")
6895
+
6896
+
6238
6897
  class ListFunctionsRequest(AbstractModel):
6239
6898
  """ListFunctions请求参数结构体
6240
6899
 
@@ -7691,6 +8350,66 @@ class NamespaceUsage(AbstractModel):
7691
8350
 
7692
8351
 
7693
8352
 
8353
+ class PathRewriteRule(AbstractModel):
8354
+ """路径路由重写规则
8355
+
8356
+ """
8357
+
8358
+ def __init__(self):
8359
+ r"""
8360
+ :param _Path: 需要重路由的路径,取值规范:/,/*,/xxx,/xxx/a,/xxx/*
8361
+ 注意:此字段可能返回 null,表示取不到有效值。
8362
+ :type Path: str
8363
+ :param _Type: 匹配规,取值范围: WildcardRules 通配符匹配, ExactRules 精确匹配
8364
+ 注意:此字段可能返回 null,表示取不到有效值。
8365
+ :type Type: str
8366
+ :param _Rewrite: 替换值:比如/, /$
8367
+ 注意:此字段可能返回 null,表示取不到有效值。
8368
+ :type Rewrite: str
8369
+ """
8370
+ self._Path = None
8371
+ self._Type = None
8372
+ self._Rewrite = None
8373
+
8374
+ @property
8375
+ def Path(self):
8376
+ return self._Path
8377
+
8378
+ @Path.setter
8379
+ def Path(self, Path):
8380
+ self._Path = Path
8381
+
8382
+ @property
8383
+ def Type(self):
8384
+ return self._Type
8385
+
8386
+ @Type.setter
8387
+ def Type(self, Type):
8388
+ self._Type = Type
8389
+
8390
+ @property
8391
+ def Rewrite(self):
8392
+ return self._Rewrite
8393
+
8394
+ @Rewrite.setter
8395
+ def Rewrite(self, Rewrite):
8396
+ self._Rewrite = Rewrite
8397
+
8398
+
8399
+ def _deserialize(self, params):
8400
+ self._Path = params.get("Path")
8401
+ self._Type = params.get("Type")
8402
+ self._Rewrite = params.get("Rewrite")
8403
+ memeber_set = set(params.keys())
8404
+ for name, value in vars(self).items():
8405
+ property_name = name[1:]
8406
+ if property_name in memeber_set:
8407
+ memeber_set.remove(property_name)
8408
+ if len(memeber_set) > 0:
8409
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
8410
+
8411
+
8412
+
7694
8413
  class ProtocolParams(AbstractModel):
7695
8414
  """HTTP函数支持其他访问协议的参数
7696
8415
 
@@ -9789,6 +10508,121 @@ class UpdateAliasResponse(AbstractModel):
9789
10508
  self._RequestId = params.get("RequestId")
9790
10509
 
9791
10510
 
10511
+ class UpdateCustomDomainRequest(AbstractModel):
10512
+ """UpdateCustomDomain请求参数结构体
10513
+
10514
+ """
10515
+
10516
+ def __init__(self):
10517
+ r"""
10518
+ :param _Domain: 自定义域名
10519
+ :type Domain: str
10520
+ :param _Protocol: 协议,取值范围:HTTP, HTTPS, HTTP&HTTPS
10521
+ :type Protocol: str
10522
+ :param _CertConfig: 证书配置信息,HTTPS协议必穿
10523
+ :type CertConfig: :class:`tencentcloud.scf.v20180416.models.CertConf`
10524
+ :param _WafConfig: web 应用防火墙配置
10525
+ :type WafConfig: :class:`tencentcloud.scf.v20180416.models.WafConf`
10526
+ :param _EndpointsConfig: 路由配置
10527
+ :type EndpointsConfig: list of EndpointsConf
10528
+ """
10529
+ self._Domain = None
10530
+ self._Protocol = None
10531
+ self._CertConfig = None
10532
+ self._WafConfig = None
10533
+ self._EndpointsConfig = None
10534
+
10535
+ @property
10536
+ def Domain(self):
10537
+ return self._Domain
10538
+
10539
+ @Domain.setter
10540
+ def Domain(self, Domain):
10541
+ self._Domain = Domain
10542
+
10543
+ @property
10544
+ def Protocol(self):
10545
+ return self._Protocol
10546
+
10547
+ @Protocol.setter
10548
+ def Protocol(self, Protocol):
10549
+ self._Protocol = Protocol
10550
+
10551
+ @property
10552
+ def CertConfig(self):
10553
+ return self._CertConfig
10554
+
10555
+ @CertConfig.setter
10556
+ def CertConfig(self, CertConfig):
10557
+ self._CertConfig = CertConfig
10558
+
10559
+ @property
10560
+ def WafConfig(self):
10561
+ return self._WafConfig
10562
+
10563
+ @WafConfig.setter
10564
+ def WafConfig(self, WafConfig):
10565
+ self._WafConfig = WafConfig
10566
+
10567
+ @property
10568
+ def EndpointsConfig(self):
10569
+ return self._EndpointsConfig
10570
+
10571
+ @EndpointsConfig.setter
10572
+ def EndpointsConfig(self, EndpointsConfig):
10573
+ self._EndpointsConfig = EndpointsConfig
10574
+
10575
+
10576
+ def _deserialize(self, params):
10577
+ self._Domain = params.get("Domain")
10578
+ self._Protocol = params.get("Protocol")
10579
+ if params.get("CertConfig") is not None:
10580
+ self._CertConfig = CertConf()
10581
+ self._CertConfig._deserialize(params.get("CertConfig"))
10582
+ if params.get("WafConfig") is not None:
10583
+ self._WafConfig = WafConf()
10584
+ self._WafConfig._deserialize(params.get("WafConfig"))
10585
+ if params.get("EndpointsConfig") is not None:
10586
+ self._EndpointsConfig = []
10587
+ for item in params.get("EndpointsConfig"):
10588
+ obj = EndpointsConf()
10589
+ obj._deserialize(item)
10590
+ self._EndpointsConfig.append(obj)
10591
+ memeber_set = set(params.keys())
10592
+ for name, value in vars(self).items():
10593
+ property_name = name[1:]
10594
+ if property_name in memeber_set:
10595
+ memeber_set.remove(property_name)
10596
+ if len(memeber_set) > 0:
10597
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
10598
+
10599
+
10600
+
10601
+ class UpdateCustomDomainResponse(AbstractModel):
10602
+ """UpdateCustomDomain返回参数结构体
10603
+
10604
+ """
10605
+
10606
+ def __init__(self):
10607
+ r"""
10608
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10609
+ :type RequestId: str
10610
+ """
10611
+ self._RequestId = None
10612
+
10613
+ @property
10614
+ def RequestId(self):
10615
+ return self._RequestId
10616
+
10617
+ @RequestId.setter
10618
+ def RequestId(self, RequestId):
10619
+ self._RequestId = RequestId
10620
+
10621
+
10622
+ def _deserialize(self, params):
10623
+ self._RequestId = params.get("RequestId")
10624
+
10625
+
9792
10626
  class UpdateFunctionCodeRequest(AbstractModel):
9793
10627
  """UpdateFunctionCode请求参数结构体
9794
10628
 
@@ -11202,4 +12036,51 @@ class WSParams(AbstractModel):
11202
12036
  memeber_set.remove(property_name)
11203
12037
  if len(memeber_set) > 0:
11204
12038
  warnings.warn("%s fileds are useless." % ",".join(memeber_set))
12039
+
12040
+
12041
+
12042
+ class WafConf(AbstractModel):
12043
+ """web应用防火墙配置信息
12044
+
12045
+ """
12046
+
12047
+ def __init__(self):
12048
+ r"""
12049
+ :param _WafOpen: web应用防火墙是否打开, 取值范围:OPEN, CLOSE
12050
+ 注意:此字段可能返回 null,表示取不到有效值。
12051
+ :type WafOpen: str
12052
+ :param _WafInstanceId: web应用防火墙实例ID
12053
+ 注意:此字段可能返回 null,表示取不到有效值。
12054
+ :type WafInstanceId: str
12055
+ """
12056
+ self._WafOpen = None
12057
+ self._WafInstanceId = None
12058
+
12059
+ @property
12060
+ def WafOpen(self):
12061
+ return self._WafOpen
12062
+
12063
+ @WafOpen.setter
12064
+ def WafOpen(self, WafOpen):
12065
+ self._WafOpen = WafOpen
12066
+
12067
+ @property
12068
+ def WafInstanceId(self):
12069
+ return self._WafInstanceId
12070
+
12071
+ @WafInstanceId.setter
12072
+ def WafInstanceId(self, WafInstanceId):
12073
+ self._WafInstanceId = WafInstanceId
12074
+
12075
+
12076
+ def _deserialize(self, params):
12077
+ self._WafOpen = params.get("WafOpen")
12078
+ self._WafInstanceId = params.get("WafInstanceId")
12079
+ memeber_set = set(params.keys())
12080
+ for name, value in vars(self).items():
12081
+ property_name = name[1:]
12082
+ if property_name in memeber_set:
12083
+ memeber_set.remove(property_name)
12084
+ if len(memeber_set) > 0:
12085
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
11205
12086